X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/232ec2e0d27cf2d28abffa7b4e71198a6b40f75e..9b5e9a5afbb63f073ed6b45b40c2b8258d41910d:/package/uhttpd/src/uhttpd-utils.h diff --git a/package/uhttpd/src/uhttpd-utils.h b/package/uhttpd/src/uhttpd-utils.h index 6a0a395a9..a2cac35ac 100644 --- a/package/uhttpd/src/uhttpd-utils.h +++ b/package/uhttpd/src/uhttpd-utils.h @@ -52,6 +52,7 @@ struct path_info { char *name; char *info; char *query; + int redirected; struct stat stat; }; @@ -66,8 +67,10 @@ char *strfind(char *haystack, int hslen, const char *needle, int ndlen); int select_intr(int n, fd_set *r, fd_set *w, fd_set *e, struct timeval *t); int uh_tcp_send(struct client *cl, const char *buf, int len); +int uh_tcp_send_lowlevel(struct client *cl, const char *buf, int len); int uh_tcp_peek(struct client *cl, char *buf, int len); int uh_tcp_recv(struct client *cl, char *buf, int len); +int uh_tcp_recv_lowlevel(struct client *cl, char *buf, int len); int uh_http_sendhf( struct client *cl, int code, const char *summary,