uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
httpd.h File Reference
#include "lwip/opt.h"
#include "lwip/err.h"
#include "lwip/pbuf.h"

Go to the source code of this file.

Classes

struct  tCGI
 

Macros

#define LWIP_HTTPD_CGI   1
 
#define LWIP_HTTPD_SSI   0
 
#define LWIP_HTTPD_SUPPORT_POST   0
 
#define LWIP_HTTPD_MAX_CGI_PARAMETERS   16
 

Typedefs

typedef const char *(* tCGIHandler )(int iIndex, int iNumParams, char *pcParam[], char *pcValue[])
 

Functions

void http_set_cgi_handlers (const tCGI *pCGIs, int iNumHandlers)
 
void httpd_init (const u8_t *romfs)
 

Macro Definition Documentation

#define LWIP_HTTPD_CGI   1

Set this to 1 to support CGI

Definition at line 46 of file httpd.h.

#define LWIP_HTTPD_MAX_CGI_PARAMETERS   16

Definition at line 109 of file httpd.h.

#define LWIP_HTTPD_SSI   0

Set this to 1 to support SSI (Server-Side-Includes)

Definition at line 51 of file httpd.h.

#define LWIP_HTTPD_SUPPORT_POST   0

Set this to 1 to support HTTP POST

Definition at line 56 of file httpd.h.

Typedef Documentation

typedef const char*(* tCGIHandler)(int iIndex, int iNumParams, char *pcParam[], char *pcValue[])

Definition at line 91 of file httpd.h.

Function Documentation

void http_set_cgi_handlers ( const tCGI pCGIs,
int  iNumHandlers 
)
void httpd_init ( const u8_t romfs)