Use the host compiler for build tool c-ify.
[darkstat-debian] / http.h
1 /* darkstat 3
2 * copyright (c) 2001-2014 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_init_base(const char *url);
12 void http_add_bindaddr(const char *bindaddr);
13 void http_listen(const unsigned short bindport);
14 void http_fd_set(fd_set *recv_set, fd_set *send_set, int *max_fd,
15 struct timeval *timeout, int *need_timeout);
16 void http_poll(fd_set *read_set, fd_set *write_set);
17 void http_stop(void);
18
19 /* vim:set ts=3 sw=3 tw=78 expandtab: */