X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fnet%2Fhttp.h;h=4cbdaac08443b3c499ec45fbd23f475300843eb9;hb=04145828dccb10843ca8fdc3b9d1951933362c92;hp=2b49c7f0b7dd7abbb084711842187df394f943ae;hpb=5acb892fda4e0c95b806231a9fa77d19d4c1d97a;p=bertos.git diff --git a/bertos/net/http.h b/bertos/net/http.h index 2b49c7f0..4cbdaac0 100644 --- a/bertos/net/http.h +++ b/bertos/net/http.h @@ -60,7 +60,8 @@ 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 -void http_getPageName(const char *revc_buf, size_t recv_len, char *page_name, size_t len); +void http_getPageName(const char *recv_buf, size_t recv_len, char *page_name, size_t len); +void http_decodeUri(const char *raw_buf, size_t raw_len, char *decodec_buf, size_t len); void http_sendOk(struct netconn *client); void http_sendFileNotFound(struct netconn *client);