X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fhtparser.h;h=946ed5145ef5f0351da10364d0f64e34706b8551;hb=HEAD;hp=91652e63ed421db387b6a336bd99608b47095f2b;hpb=fc253e2fa06742656bd018981ec000799c956391;p=ashd.git diff --git a/src/htparser.h b/src/htparser.h index 91652e6..946ed51 100644 --- a/src/htparser.h +++ b/src/htparser.h @@ -11,7 +11,7 @@ struct mtbuf { size_t s, d; }; -void serve(struct bufio *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;