summaryrefslogtreecommitdiffstats
path: root/include/config.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-09-26 15:51:28 -0400
committerDrew DeVault <sir@cmpwn.com>2020-09-26 15:51:28 -0400
commit6bc9c4deb90e8daa228d792b23a3e61b7bebdb78 (patch)
treee81beb74f44b1809ead547cbb5aad39d6594e65e /include/config.h
parent165e3c02fc9c9834b320c3a333c942ee87ffed1b (diff)
downloadgmnisrv-6bc9c4deb90e8daa228d792b23a3e61b7bebdb78.tar.gz
gmnisrv-6bc9c4deb90e8daa228d792b23a3e61b7bebdb78.tar.xz
gmnisrv-6bc9c4deb90e8daa228d792b23a3e61b7bebdb78.zip
Implement autoindex option
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 83253f7..1a0b17c 100644
--- a/include/config.h
+++ b/include/config.h
@@ -2,6 +2,7 @@
#define GMNISRV_CONFIG
#include <arpa/inet.h>
#include <openssl/x509.h>
+#include <stdbool.h>
struct gmnisrv_tls {
char *store;
@@ -13,8 +14,12 @@ struct gmnisrv_tls {
struct gmnisrv_host {
char *hostname;
char *root;
+ char *index;
+ bool autoindex;
+
X509 *x509;
EVP_PKEY *pkey;
+
struct gmnisrv_host *next;
};