webcit_before_automake is now the trunk
[citadel.git] / webcit / webserver.h
1 /* $Id$ */
2
3 extern char *static_dirs[PATH_MAX];          /**< Web representation */
4 extern char *static_content_dirs[PATH_MAX];  /**< Disk representation */
5 extern int ndirs;
6 extern char socket_dir[PATH_MAX];
7
8 int client_getln(int sock, char *buf, int bufsiz);
9 int client_read(int sock, char *buf, int bytes);
10 int client_read_to(int sock, char *buf, int bytes, int timeout);
11 ssize_t client_write(const void *buf, size_t count);
12 int lprintf(int loglevel, const char *format, ...);