| 1 | /* |
| 2 | * httpd.h: a minimal custom HTTP server designed to serve the |
| 3 | * pages generated by html.h. |
| 4 | */ |
| 5 | |
| 6 | #define HTTPD_AUTH_MAGIC 1 |
| 7 | #define HTTPD_AUTH_BASIC 2 |
| 8 | #define HTTPD_AUTH_NONE 4 |
| 9 | |
| 10 | void run_httpd(const void *t, int authmask, const struct html_config *cfg); |