mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 12:37:01 +03:00
Full OTA refactor and other stability improvement
This commit is contained in:
@@ -67,13 +67,13 @@ extern "C" {
|
||||
* @brief RTOS task for the HTTP server. Do not start manually.
|
||||
* @see void http_server_start()
|
||||
*/
|
||||
void http_server(void *pvParameters);
|
||||
void CODE_RAM_LOCATION http_server(void *pvParameters);
|
||||
|
||||
/* @brief helper function that processes one HTTP request at a time */
|
||||
void http_server_netconn_serve(struct netconn *conn);
|
||||
void CODE_RAM_LOCATION http_server_netconn_serve(struct netconn *conn);
|
||||
|
||||
/* @brief create the task for the http server */
|
||||
void http_server_start();
|
||||
void CODE_RAM_LOCATION http_server_start();
|
||||
|
||||
/**
|
||||
* @brief gets a char* pointer to the first occurence of header_name withing the complete http request request.
|
||||
@@ -86,9 +86,9 @@ void http_server_start();
|
||||
* @param len the size of the header value if found.
|
||||
* @return pointer to the beginning of the header value.
|
||||
*/
|
||||
char* http_server_get_header(char *request, char *header_name, int *len);
|
||||
char* CODE_RAM_LOCATION http_server_get_header(char *request, char *header_name, int *len);
|
||||
|
||||
void strreplace(char *src, char *str, char *rep);
|
||||
void CODE_RAM_LOCATION strreplace(char *src, char *str, char *rep);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user