// ========================= // evse_link_config_api.h // ========================= #ifndef EVSE_LINK_CONFIG_API_H #define EVSE_LINK_CONFIG_API_H #include "esp_err.h" #include "esp_http_server.h" #ifdef __cplusplus extern "C" { #endif /** * @brief Registra os manipuladores HTTP para configuração do EVSE-Link. * * Isso adiciona endpoints GET e POST em /api/v1/config/link * para inspecionar e atualizar as configurações de link * (habilitado, modo, self ID). * * @param server Handle do servidor HTTP * @param ctx Contexto do usuário passado aos handlers */ void register_link_config_handlers(httpd_handle_t server, void *ctx); #ifdef __cplusplus } #endif #endif // EVSE_LINK_CONFIG_API_H