Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made htparser listening much more flexible.
[ashd.git]
/
src
/
htparser.h
diff --git a/src/htparser.h
b/src/htparser.h
new file mode 100644
(file)
index 0000000..
a84086c
--- /dev/null
+++ b/
src/htparser.h
@@ -0,0
+1,13
@@
+#ifndef _ASH_HTPARSER_H
+#define _ASH_HTPARSER_H
+
+struct conn {
+ int (*initreq)(struct conn *, struct hthead *);
+ void *pdata;
+};
+
+void serve(FILE *in, struct conn *conn);
+
+void handleplain(int argc, char **argp, char **argv);
+
+#endif