X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fhtparser.h;h=d9f014dbbf2e9763cc8149b7d76fd22e7d04a5ba;hb=HEAD;hp=7bd60a0648ab4df0d0205c1088a5a3b8a5b86e06;hpb=cac13158ac4fdd8b7682f16f879796e9c4e339ff;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;