diff options
author | Jo-Philipp Wich <jo@mein.io> | 2017-07-02 16:19:16 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-07-02 16:19:16 +0200 |
commit | ad93be7632963da1bd5b67d71021d1d63ecfd909 (patch) | |
tree | ab35e6e73dbf619c8cb683a95b080db37fb8ef13 /uhttpd.h | |
parent | fa51d7fbc67aa27b423c50c77b817514de6def09 (diff) |
auth: store parsed username and password
Store the parsed username and password information as HTTP headers in the
clients header blob buffer for later use by proc.c
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'uhttpd.h')
-rw-r--r-- | uhttpd.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -300,7 +300,8 @@ void uh_client_read_cb(struct client *cl); void uh_client_notify_state(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); +bool uh_auth_check(struct client *cl, const char *path, const char *auth, + char **uptr, char **pptr); void uh_close_listen_fds(void); void uh_close_fds(void); |