diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-02 14:47:12 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-02 14:47:12 +0100 |
commit | 76f5d84671a258274b0b647d234431ad70b4553e (patch) | |
tree | 353f16cc576f23bd559a2390dd505eb0b4eba6a5 /uhttpd.h | |
parent | d0aab7b1fc7c94c3d6d41990e7615be85b58e640 (diff) |
add auth support
Diffstat (limited to 'uhttpd.h')
-rw-r--r-- | uhttpd.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -103,6 +103,7 @@ struct path_info { const char *name; const char *info; const char *query; + const char *auth; bool redirected; struct stat stat; const struct interpreter *ip; @@ -213,6 +214,7 @@ uh_client_error(struct client *cl, int code, const char *summary, const char *fm void uh_handle_request(struct client *cl); void uh_auth_add(const char *path, const char *user, const char *pass); +bool uh_auth_check(struct client *cl, struct path_info *pi); void uh_close_listen_fds(void); void uh_close_fds(void); |