diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-03-20 14:31:05 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-03-20 14:31:05 +0000 |
commit | 074690aa549db034b9d1599b9fa38dfd577db868 (patch) | |
tree | 5e5565364aea7181ddde3c3c0a0a4ad99b3eb4de /contrib/package/uhttpd/src/uhttpd-utils.h | |
parent | 35e6a59ef269829e4838aa748dfd93c5441083c2 (diff) |
uhttpd: rename struct uh_path_info to path_info, drop wdir member
Diffstat (limited to 'contrib/package/uhttpd/src/uhttpd-utils.h')
-rw-r--r-- | contrib/package/uhttpd/src/uhttpd-utils.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/package/uhttpd/src/uhttpd-utils.h b/contrib/package/uhttpd/src/uhttpd-utils.h index eac737b991..7d4bcf6f80 100644 --- a/contrib/package/uhttpd/src/uhttpd-utils.h +++ b/contrib/package/uhttpd/src/uhttpd-utils.h @@ -31,9 +31,8 @@ #define foreach_header(i, h) \ for( i = 0; (i + 1) < (sizeof(h) / sizeof(h[0])) && h[i]; i += 2 ) -struct uh_path_info { +struct path_info { char *root; - char *wdir; char *phys; char *name; char *info; @@ -74,7 +73,7 @@ int uh_urldecode(char *buf, int blen, const char *src, int slen); int uh_urlencode(char *buf, int blen, const char *src, int slen); int uh_path_normalize(char *buf, int blen, const char *src, int slen); -struct uh_path_info * uh_path_lookup(struct client *cl, const char *url); +struct path_info * uh_path_lookup(struct client *cl, const char *url); struct listener * uh_listener_add(int sock, struct config *conf); struct listener * uh_listener_lookup(int sock); |