Imported Upstream version 3.0.715
[darkstat-debian] / http.h
1 /* darkstat 3
2 * copyright (c) 2001-2011 Emil Mikulic.
3 *
4 * http.h: embedded webserver.
5 */
6
7 #include <sys/time.h>
8 #include <sys/select.h>
9 #include <netinet/in.h>
10
11 void http_add_bindaddr(const char *bindaddr);
12 void http_listen(const unsigned short bindport);
13 void http_fd_set(fd_set *recv_set, fd_set *send_set, int *max_fd,
14 struct timeval *timeout, int *need_timeout);
15 void http_poll(fd_set *read_set, fd_set *write_set);
16 void http_stop(void);
17
18 /* vim:set ts=3 sw=3 tw=78 expandtab: */