etc: Add environment option to run init.d/ashd silently.
[ashd.git] / src / htparser.h
index 88bfb6e..946ed51 100644 (file)
@@ -6,7 +6,12 @@ struct conn {
     void *pdata;
 };
 
-void serve(FILE *in, struct conn *conn);
+struct mtbuf {
+    struct muth **b;
+    size_t s, d;
+};
+
+void serve(struct bufio *in, int infd, struct conn *conn);
 
 int listensock4(int port);
 int listensock6(int port);
@@ -15,5 +20,10 @@ void handleplain(int argc, char **argp, char **argv);
 #ifdef HAVE_GNUTLS
 void handlegnussl(int argc, char **argp, char **argv);
 #endif
+#ifdef HAVE_OPENSSL
+void handleossl(int argc, char **argp, char **argv);
+#endif
+
+extern struct mtbuf listeners;
 
 #endif