1 /* darkstat 3 2 * copyright (c) 2001-2016 Emil Mikulic. 3 * 4 * http.h: embedded webserver. 5 */ 6 7 #include <sys/time.h> 8 #include <sys/select.h> 9 10 void http_init_base(const char *url); 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: */