Don't leak base_url memory.
[darkstat] / http.h
1 /* darkstat 3
2 * copyright (c) 2001-2006 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 extern char *base_url;
12
13 void http_init(const char *base, const char * bindaddr,
14 const unsigned short bindport, const int max_conn);
15 void http_fd_set(fd_set *recv_set, fd_set *send_set, int *max_fd,
16 struct timeval *timeout, int *need_timeout);
17 void http_poll(fd_set *read_set, fd_set *write_set);
18 void http_stop(void);
19
20 /* vim:set ts=3 sw=3 tw=78 expandtab: */