summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/uhttpd/src/uhttpd.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-21 01:15:36 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-21 01:15:36 +0000
commitcee885295be70eb77323d0f12dc35252efc24d29 (patch)
tree7d0ca12790d091ab03d39e096e395cca1e8b66bc /contrib/package/uhttpd/src/uhttpd.h
parent95b9bb0f69fa4ed2bc2c414a614d1723b1e59e21 (diff)
uhttpd: finish basic auth support, read realms from /etc/httpd.conf
Diffstat (limited to 'contrib/package/uhttpd/src/uhttpd.h')
-rw-r--r--contrib/package/uhttpd/src/uhttpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/package/uhttpd/src/uhttpd.h b/contrib/package/uhttpd/src/uhttpd.h
index c6212109b..eca3580b8 100644
--- a/contrib/package/uhttpd/src/uhttpd.h
+++ b/contrib/package/uhttpd/src/uhttpd.h
@@ -51,6 +51,8 @@
struct config {
char docroot[PATH_MAX];
+ char *realm;
+ char *file;
#ifdef HAVE_CGI
char *cgi_prefix;
#endif
@@ -88,7 +90,6 @@ struct client {
struct auth_realm {
char path[PATH_MAX];
- char realm[128];
char user[32];
char pass[128];
};