typedef int (*http_handler_t)(struct netconn *client, const char *name, char *revc_buf, size_t revc_len);
typedef int (*http_handler_t)(struct netconn *client, const char *name, char *revc_buf, size_t revc_len);
#define CGI_MATCH_NAME 1 ///< Select item in table only if string match
#define CGI_MATCH_EXT 2 ///< Select item in table if the extention match
#define CGI_MATCH_NAME 1 ///< Select item in table only if string match
#define CGI_MATCH_EXT 2 ///< Select item in table if the extention match
void http_sendOk(struct netconn *client);
void http_sendFileNotFound(struct netconn *client);
void http_sendInternalErr(struct netconn *client);
void http_sendOk(struct netconn *client);
void http_sendFileNotFound(struct netconn *client);
void http_sendInternalErr(struct netconn *client);
void http_poll(struct netconn *server);
void http_init(http_handler_t default_callback, struct HttpCGI *table);
void http_poll(struct netconn *server);
void http_init(http_handler_t default_callback, struct HttpCGI *table);