diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-10-15 20:09:55 +0300 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-10-15 20:09:55 +0300 |
commit | 76d15b63c7f1a29fa994b2f056387101e1126e0a (patch) | |
tree | 58fed08d435a14f79d95b9659e487849479ef994 /uhttpd.h | |
parent | fa43d1a62864f912e4450affb9c86f3accbe026a (diff) | |
download | uhttpd-76d15b63c7f1a29fa994b2f056387101e1126e0a.tar.gz |
support multiple index files in the configuration and the command line args
Diffstat (limited to 'uhttpd.h')
-rw-r--r-- | uhttpd.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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]; |