summaryrefslogtreecommitdiff
path: root/uhttpd.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-10-15 20:09:55 +0300
committerJo-Philipp Wich <jow@openwrt.org>2012-10-15 20:09:55 +0300
commit76d15b63c7f1a29fa994b2f056387101e1126e0a (patch)
tree58fed08d435a14f79d95b9659e487849479ef994 /uhttpd.h
parentfa43d1a62864f912e4450affb9c86f3accbe026a (diff)
downloaduhttpd-76d15b63c7f1a29fa994b2f056387101e1126e0a.tar.gz
support multiple index files in the configuration and the command line args
Diffstat (limited to 'uhttpd.h')
-rw-r--r--uhttpd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/uhttpd.h b/uhttpd.h
index d3ce591..1877cd4 100644
--- a/uhttpd.h
+++ b/uhttpd.h
@@ -79,7 +79,6 @@ struct config {
char docroot[PATH_MAX];
char *realm;
char *file;
- char *index_file;
char *error_handler;
int no_symlinks;
int no_dirlists;
@@ -206,6 +205,11 @@ struct auth_realm {
struct auth_realm *next;
};
+struct index_file {
+ const char *name;
+ struct index_file *next;
+};
+
#ifdef HAVE_CGI
struct interpreter {
char path[PATH_MAX];