X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fnet%2Fhttp.h;fp=bertos%2Fnet%2Fhttp.h;h=2b49c7f0b7dd7abbb084711842187df394f943ae;hb=78635481e7180925345b59273ee7428a35c6dddc;hp=665e97aa711b8e4aa14b0f4b163aa61a8e1e37a5;hpb=d603ad8d35758a54f6cb08a7f8c16f6327ea86e0;p=bertos.git diff --git a/bertos/net/http.h b/bertos/net/http.h index 665e97aa..2b49c7f0 100644 --- a/bertos/net/http.h +++ b/bertos/net/http.h @@ -56,8 +56,9 @@ typedef struct HttpCGI #define CGI_MATCH_NONE 0 -#define CGI_MATCH_NAME 1 ///< Select item in table only if string match +#define CGI_MATCH_WORD 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 3 ///< Select item in table if the string is content void http_getPageName(const char *revc_buf, size_t recv_len, char *page_name, size_t len);