tinywebd
view src/tinyweb.h @ 8:121b991ccc1d
fixed the SIGPIPE bug
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 17 Apr 2015 12:02:59 +0300 |
parents | |
children |
line source
1 #ifndef TINYWEB_H_
2 #define TINYWEB_H_
4 void tw_set_port(int port);
5 int tw_set_root(const char *path);
6 int tw_set_logfile(const char *fname);
8 int tw_start(void);
9 int tw_stop(void);
11 int tw_get_sockets(int *socks);
12 int tw_get_maxfd(void);
13 int tw_handle_socket(int s);
16 #endif /* TINYWEB_H_ */