X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/blobdiff_plain/812e4bf21dbd3754acf9cec3ea8065054f684c8e..052f73aca830ab11ab0ab5411d8f177a4d54f977:/httpd.h diff --git a/httpd.h b/httpd.h index c2ffda8..1683ebb 100644 --- a/httpd.h +++ b/httpd.h @@ -7,4 +7,11 @@ #define HTTPD_AUTH_BASIC 2 #define HTTPD_AUTH_NONE 4 -void run_httpd(const void *t, int authmask); +struct httpd_config { + const char *address; + int port; + const char *basicauthdata; +}; + +void run_httpd(const void *t, int authmask, const struct httpd_config *dcfg, + const struct html_config *pcfg);