File: http.h

package info (click to toggle)
darkstat 3.0.708-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 708 kB
  • ctags: 592
  • sloc: ansic: 5,326; sh: 322; makefile: 131
file content (17 lines) | stat: -rw-r--r-- 470 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* darkstat 3
 * copyright (c) 2001-2006 Emil Mikulic.
 *
 * http.h: embedded webserver.
 */

#include <sys/time.h>
#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_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);

/* vim:set ts=3 sw=3 tw=78 expandtab: */