nuclear@7: #ifndef TINYWEB_H_ nuclear@7: #define TINYWEB_H_ nuclear@7: nuclear@7: void tw_set_port(int port); nuclear@7: int tw_set_root(const char *path); nuclear@7: int tw_set_logfile(const char *fname); nuclear@7: nuclear@7: int tw_start(void); nuclear@7: int tw_stop(void); nuclear@7: nuclear@7: int tw_get_sockets(int *socks); nuclear@7: int tw_get_maxfd(void); nuclear@7: int tw_handle_socket(int s); nuclear@7: nuclear@7: nuclear@7: #endif /* TINYWEB_H_ */