mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 12:36:52 +03:00
compatibitly mit esp-idf pure
This commit is contained in:
10
code/components/jomjol_fileserver_ota/server_help.h
Normal file
10
code/components/jomjol_fileserver_ota/server_help.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <string>
|
||||
//#include <sys/param.h>
|
||||
#include "esp_http_server.h"
|
||||
|
||||
|
||||
const char* get_path_from_uri(char *dest, const char *base_path, const char *uri, size_t destsize);
|
||||
|
||||
esp_err_t send_file(httpd_req_t *req, std::string filename, struct stat * file_stat);
|
||||
|
||||
esp_err_t set_content_type_from_file(httpd_req_t *req, const char *filename);
|
||||
Reference in New Issue
Block a user