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;
98void http_set_cgi_handlers(
const tCGI *pCGIs,
int iNumHandlers);
102#if LWIP_HTTPD_CGI || LWIP_HTTPD_CGI_SSI
104#if LWIP_HTTPD_CGI_SSI
114extern void httpd_cgi_handler(
struct fs_file *file,
const char* uri,
int iNumParams,
115 char **pcParam,
char **pcValue
117 ,
void *connection_state
156typedef u16_t (*tSSIHandler)(
157#if LWIP_HTTPD_SSI_RAW
158 const char* ssi_tag_name,
162 char *pcInsert,
int iInsertLen
163#if LWIP_HTTPD_SSI_MULTIPART
164 , u16_t current_tag_part, u16_t *next_tag_part
166#if defined(LWIP_HTTPD_FILE_STATE) && LWIP_HTTPD_FILE_STATE
167 ,
void *connection_state
174void http_set_ssi_handler(tSSIHandler pfnSSIHandler,
175 const char **ppcTags,
int iNumTags);
181#define HTTPD_SSI_TAG_UNKNOWN 0xFFFF
185#if LWIP_HTTPD_SUPPORT_POST
209err_t httpd_post_begin(
void *connection,
const char *uri,
const char *http_request,
210 u16_t http_request_len,
int content_len,
char *response_uri,
211 u16_t response_uri_len, u8_t *post_auto_wnd);
223err_t httpd_post_receive_data(
void *connection,
struct pbuf *p);
236void httpd_post_finished(
void *connection,
char *response_uri, u16_t response_uri_len);
238#if LWIP_HTTPD_POST_MANUAL_WND
239void httpd_post_data_recved(
void *connection, u16_t recved_len);
244void httpd_init(
void);
246#if HTTPD_ENABLE_HTTPS
247struct altcp_tls_config;
248void httpd_inits(
struct altcp_tls_config *conf);
#define LWIP_HTTPD_FILE_STATE
Definition: httpd_opts.h:365
s8_t err_t
Definition: err.h:96