~mdw
/
sgt
/
agedu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce something more like an actual framework for httpd
[sgt/agedu]
/
httpd.h
diff --git
a/httpd.h
b/httpd.h
index
fb3b1a5
..
c2ffda8
100644
(file)
--- a/
httpd.h
+++ b/
httpd.h
@@
-3,4
+3,8
@@
* pages generated by html.h.
*/
-void run_httpd(const void *t);
+#define HTTPD_AUTH_MAGIC 1
+#define HTTPD_AUTH_BASIC 2
+#define HTTPD_AUTH_NONE 4
+
+void run_httpd(const void *t, int authmask);