#include <sys/select.h>
#include <netinet/in.h>
-void http_init(const in_addr_t bindaddr, const unsigned short bindport,
- const int max_conn);
+void http_add_bindaddr(const char *bindaddr);
+void http_listen(const unsigned short bindport);
void http_fd_set(fd_set *recv_set, fd_set *send_set, int *max_fd,
struct timeval *timeout, int *need_timeout);
void http_poll(fd_set *read_set, fd_set *write_set);
+void http_stop(void);
/* vim:set ts=3 sw=3 tw=78 expandtab: */