python: Changed wmain calling convention.
[ashd.git] / src / htparser.h
CommitLineData
8774c31b
FT
1#ifndef _ASH_HTPARSER_H
2#define _ASH_HTPARSER_H
3
4struct conn {
5 int (*initreq)(struct conn *, struct hthead *);
6 void *pdata;
7};
8
9void serve(FILE *in, struct conn *conn);
10
6ca53b2e
FT
11int listensock4(int port);
12int listensock6(int port);
7595e3a4 13char *formathaddress(struct sockaddr *name, socklen_t namelen);
8774c31b 14void handleplain(int argc, char **argp, char **argv);
6ca53b2e
FT
15#ifdef HAVE_GNUTLS
16void handlegnussl(int argc, char **argp, char **argv);
17#endif
8774c31b
FT
18
19#endif