server_main.h 513 B

12345678910111213141516171819202122232425262728
  1. #ifndef SERVER_MAIN_H
  2. #define SERVER_MAIN_H
  3. #include <esp_wifi.h>
  4. #include <esp_event.h>
  5. #include <esp_log.h>
  6. #include <esp_system.h>
  7. #include <nvs_flash.h>
  8. #include <sys/param.h>
  9. #include "nvs_flash.h"
  10. #include "tcpip_adapter.h"
  11. #include "esp_eth.h"
  12. #include <esp_http_server.h>
  13. static const char *TAG = "server-main";
  14. extern httpd_handle_t server;
  15. httpd_handle_t start_webserver(void);
  16. void register_server_main_uri(httpd_handle_t server, const char *base_path);
  17. extern bool debug_detail_heap;
  18. #endif