X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=src%2Fhtparser.h;h=7bd60a0648ab4df0d0205c1088a5a3b8a5b86e06;hp=88bfb6e512361fc999b3868e05af379d171539c9;hb=cac13158ac4fdd8b7682f16f879796e9c4e339ff;hpb=9d32586e59d7053a53e54860cbcfbb9c23f59e8a diff --git a/src/htparser.h b/src/htparser.h index 88bfb6e..7bd60a0 100644 --- a/src/htparser.h +++ b/src/htparser.h @@ -6,6 +6,11 @@ struct conn { void *pdata; }; +struct mtbuf { + struct muth **b; + size_t s, d; +}; + void serve(FILE *in, struct conn *conn); int listensock4(int port); @@ -16,4 +21,6 @@ void handleplain(int argc, char **argp, char **argv); void handlegnussl(int argc, char **argp, char **argv); #endif +extern struct mtbuf listeners; + #endif