X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fhtparser.h;h=946ed5145ef5f0351da10364d0f64e34706b8551;hb=HEAD;hp=7bd60a0648ab4df0d0205c1088a5a3b8a5b86e06;hpb=1fb1c61484cfd92fb9d11cf0b68e98e7d0e6a75f;p=ashd.git diff --git a/src/htparser.h b/src/htparser.h index 7bd60a0..946ed51 100644 --- a/src/htparser.h +++ b/src/htparser.h @@ -11,7 +11,7 @@ struct mtbuf { size_t s, d; }; -void serve(FILE *in, struct conn *conn); +void serve(struct bufio *in, int infd, struct conn *conn); int listensock4(int port); int listensock6(int port); @@ -20,6 +20,9 @@ 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;