X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=inline;f=bertos%2Fnet%2Fhttp.h;h=fe368c0b25a8050fbf72449c16ee5eee7003984d;hb=5d2d76fdbe1cc37166a48a609272287f1b8bbdf0;hp=4395f1eef6286e99ac69a20dde94e9f8fddc8a95;hpb=470f5cb37d5adce8fa5efd0092b2885528d7fb32;p=bertos.git diff --git a/bertos/net/http.h b/bertos/net/http.h index 4395f1ee..fe368c0b 100644 --- a/bertos/net/http.h +++ b/bertos/net/http.h @@ -44,6 +44,7 @@ #define NET_HTTP_H #include +#include typedef int (*http_handler_t)(struct netconn *client, const char *name, char *revc_buf, size_t revc_len); @@ -59,8 +60,6 @@ typedef struct HttpCGI #define CGI_MATCH_EXT 2 ///< Select item in table if the extention match #define CGI_MATCH_NAME 3 ///< Select item in table if the string is content -#define HTTP_MAX_GET_TOKENS 5 - int http_getValue(char *tolenized_buf, size_t tolenized_buf_len, const char *key, char *value, size_t len); int http_tokenizeGetRequest(char *raw_buf, size_t raw_len); void http_getPageName(const char *recv_buf, size_t recv_len, char *page_name, size_t len);