12 #ifndef __HTTPUTIL_H__
13 #define __HTTPUTIL_H__
18 #define MAX_CGI_CALLBACK 10
19 typedef void (*cgi_func)(
char *buf, uint16 *len);
26 void WebServer(uint8 s);
27 void HTTPProcessor(uint8 s,
char * buf);
28 void RESTProcessor(st_http_request *http_request);
29 void CGIProcessor(st_http_request *http_request,
char* buf);
30 void cgi_callback_add(
char *tokken, cgi_func get_func, cgi_func set_func);