X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebserver.h;h=dc142d0d1a08e7a7887efbb0cbb078e7e8e570a1;hb=HEAD;hp=d91cd9a0a9a83047fd03387a0df3a8b0b20e3053;hpb=f5c1330914acc193f96892efc191a32ee537dfb5;p=citadel.git diff --git a/webcit/webserver.h b/webcit/webserver.h index d91cd9a0a..dc142d0d1 100644 --- a/webcit/webserver.h +++ b/webcit/webserver.h @@ -1,11 +1,26 @@ +/* + * Copyright (c) 1996-2013 by the citadel.org team + * + * This program is open source software. You can redistribute it and/or + * modify it under the terms of the GNU General Public License, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + extern char *static_dirs[PATH_MAX]; /**< Web representation */ extern int ndirs; extern char socket_dir[PATH_MAX]; +extern char *default_landing_page; + int ClientGetLine(ParsedHttpHdrs *Hdr, StrBuf *Target); int client_read_to(ParsedHttpHdrs *Hdr, StrBuf *Target, int bytes, int timeout); -int lprintf(int loglevel, const char *format, ...); -void wc_backtrace(void); +void wc_backtrace(long LogLevel); void ShutDownWebcit(void); void shutdown_ssl(void); + +