indent -kr -i8 -brf -bbb -fnc -l132 -nce on all of webcit-classic
[citadel.git] / webcit / webserver.h
1
2 /*
3  * Copyright (c) 1996-2013 by the citadel.org team
4  *
5  * This program is open source software.  You can redistribute it and/or
6  * modify it under the terms of the GNU General Public License, version 3.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  */
13
14
15 extern char *static_dirs[PATH_MAX];          /**< Web representation */
16 extern int ndirs;
17 extern char socket_dir[PATH_MAX];
18
19 extern char *default_landing_page;
20
21 int ClientGetLine(ParsedHttpHdrs * Hdr, StrBuf * Target);
22 int client_read_to(ParsedHttpHdrs * Hdr, StrBuf * Target, int bytes, int timeout);
23 void wc_backtrace(long LogLevel);
24 void ShutDownWebcit(void);
25 void shutdown_ssl(void);