api.h 476 B

1234567891011121314
  1. /*
  2. * SPDX-FileCopyrightText: 2022 Helmut Pozimski <helmut@pozimski.eu>
  3. *
  4. * SPDX-License-Identifier: GPL-2.0-only
  5. */
  6. #include <stdint.h>
  7. #include <esp_http_server.h>
  8. #include <esp_event.h>
  9. httpd_handle_t start_webserver();
  10. esp_err_t stop_webserver(httpd_handle_t server);
  11. void disconnect_handler(void* arg, esp_event_base_t event_base, int32_t event_id, void* event_data);
  12. void connect_handler(void* arg, esp_event_base_t event_base, int32_t event_id, void* event_data);