1 #ifndef _ASH_HTPARSER_H
2 #define _ASH_HTPARSER_H
5 int (*initreq)(struct conn *, struct hthead *);
14 void serve(struct bufio *in, int infd, struct conn *conn);
16 int listensock4(int port);
17 int listensock6(int port);
18 char *formathaddress(struct sockaddr *name, socklen_t namelen);
19 void handleplain(int argc, char **argp, char **argv);
21 void handlegnussl(int argc, char **argp, char **argv);
24 void handleossl(int argc, char **argp, char **argv);
27 extern struct mtbuf listeners;