41#ifndef LWIP_HDR_APPS_HTTPD_H
42#define LWIP_HDR_APPS_HTTPD_H
84typedef const char *(*tCGIHandler)(
int iIndex,
int iNumParams,
char *pcParam[],
94 const char *pcCGIName;
95 tCGIHandler pfnCGIHandler;
99void http_set_cgi_handlers(
const tCGI *pCGIs,
int iNumHandlers);
103#if LWIP_HTTPD_CGI || LWIP_HTTPD_CGI_SSI
105#if LWIP_HTTPD_CGI_SSI
115extern void httpd_cgi_handler(
struct fs_file *
file,
const char*
uri,
int iNumParams,
116 char **pcParam,
char **pcValue
118 ,
void *connection_state
157typedef u16_t (*tSSIHandler)(
158#if LWIP_HTTPD_SSI_RAW
159 const char* ssi_tag_name,
163 char *pcInsert,
int iInsertLen
164#if LWIP_HTTPD_SSI_MULTIPART
165 ,
u16_t current_tag_part,
u16_t *next_tag_part
167#if defined(LWIP_HTTPD_FILE_STATE) && LWIP_HTTPD_FILE_STATE
168 ,
void *connection_state
175void http_set_ssi_handler(tSSIHandler pfnSSIHandler,
176 const char **ppcTags,
int iNumTags);
182#define HTTPD_SSI_TAG_UNKNOWN 0xFFFF
186#if LWIP_HTTPD_SUPPORT_POST
211 u16_t http_request_len,
int content_len,
char *response_uri,
212 u16_t response_uri_len,
u8_t *post_auto_wnd);
224err_t httpd_post_receive_data(
void *connection,
struct pbuf *
p);
237void httpd_post_finished(
void *connection,
char *response_uri,
u16_t response_uri_len);
239#if LWIP_HTTPD_POST_MANUAL_WND
240void httpd_post_data_recved(
void *connection,
u16_t recved_len);
247#if HTTPD_ENABLE_HTTPS
248struct altcp_tls_config;
249void httpd_inits(
struct altcp_tls_config *conf);
#define LWIP_HTTPD_FILE_STATE
static const char http_request[]