diff options
| author | Drew DeVault <sir@cmpwn.com> | 2020-09-26 15:51:28 -0400 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2020-09-26 15:51:28 -0400 |
| commit | 6bc9c4deb90e8daa228d792b23a3e61b7bebdb78 (patch) | |
| tree | e81beb74f44b1809ead547cbb5aad39d6594e65e /include/config.h | |
| parent | 165e3c02fc9c9834b320c3a333c942ee87ffed1b (diff) | |
| download | gmnisrv-6bc9c4deb90e8daa228d792b23a3e61b7bebdb78.tar.gz gmnisrv-6bc9c4deb90e8daa228d792b23a3e61b7bebdb78.tar.xz gmnisrv-6bc9c4deb90e8daa228d792b23a3e61b7bebdb78.zip | |
Implement autoindex option
Diffstat (limited to 'include/config.h')
| -rw-r--r-- | include/config.h | 5 |
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; }; |
