Commit | Line | Data |
---|---|---|
8774c31b FT |
1 | #ifndef _ASH_HTPARSER_H |
2 | #define _ASH_HTPARSER_H | |
3 | ||
4 | struct conn { | |
5 | int (*initreq)(struct conn *, struct hthead *); | |
6 | void *pdata; | |
7 | }; | |
8 | ||
9 | void serve(FILE *in, struct conn *conn); | |
10 | ||
6ca53b2e FT |
11 | int listensock4(int port); |
12 | int listensock6(int port); | |
8774c31b | 13 | void handleplain(int argc, char **argp, char **argv); |
6ca53b2e FT |
14 | #ifdef HAVE_GNUTLS |
15 | void handlegnussl(int argc, char **argp, char **argv); | |
16 | #endif | |
8774c31b FT |
17 | |
18 | #endif |