19 lines
404 B
C
19 lines
404 B
C
|
#ifndef WEBSERVER_H
|
||
|
#define WEBSERVER_H
|
||
|
|
||
|
#include "esp_system.h"
|
||
|
#include "esp_event.h"
|
||
|
#include "esp_http_server.h"
|
||
|
#include "esp_log.h"
|
||
|
#include "cJSON.h"
|
||
|
#include "stdlib.h"
|
||
|
|
||
|
#include "../common/theGPIO.h"
|
||
|
#include "theFirewall.h"
|
||
|
|
||
|
void custom_json_response(httpd_req_t *req, char *message, char *type);
|
||
|
void custom_request_middleware(httpd_req_t *req);
|
||
|
void setup_web_server(char *serverIp);
|
||
|
|
||
|
#endif
|