ddb3fb797f16774d75689a88474269a4788ea3f0
[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 ClientGetLine(int *sock, StrBuf *Target, StrBuf *CLineBuf, const char **Pos);
9 int client_getln(int *sock, char *buf, int bufsiz);
10 int client_read_to(int *sock, StrBuf *Target, StrBuf *Buf, const char **Pos, int bytes, int timeout);
11 int lprintf(int loglevel, const char *format, ...);
12 void wc_backtrace(void);
13 void ShutDownWebcit(void);
14 void shutdown_ssl(void);