http.h (darkstat-3.0.719) | : | http.h (darkstat-3.0.721) | ||
---|---|---|---|---|
/* darkstat 3 | /* darkstat 3 | |||
* copyright (c) 2001-2014 Emil Mikulic. | * copyright (c) 2001-2016 Emil Mikulic. | |||
* | * | |||
* http.h: embedded webserver. | * http.h: embedded webserver. | |||
*/ | */ | |||
#include <sys/time.h> | #include <sys/time.h> | |||
#include <sys/select.h> | #include <sys/select.h> | |||
#include <netinet/in.h> | ||||
void http_init_base(const char *url); | void http_init_base(const char *url); | |||
void http_add_bindaddr(const char *bindaddr); | void http_add_bindaddr(const char *bindaddr); | |||
void http_listen(const unsigned short bindport); | void http_listen(const unsigned short bindport); | |||
void http_fd_set(fd_set *recv_set, fd_set *send_set, int *max_fd, | void http_fd_set(fd_set *recv_set, fd_set *send_set, int *max_fd, | |||
struct timeval *timeout, int *need_timeout); | struct timeval *timeout, int *need_timeout); | |||
void http_poll(fd_set *read_set, fd_set *write_set); | void http_poll(fd_set *read_set, fd_set *write_set); | |||
void http_stop(void); | void http_stop(void); | |||
/* vim:set ts=3 sw=3 tw=78 expandtab: */ | /* vim:set ts=3 sw=3 tw=78 expandtab: */ | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added |