]> code.citadel.org Git - citadel.git/blobdiff - webcit/webserver.h
indent -kr -i8 -brf -bbb -fnc -l132 -nce on all of webcit-classic
[citadel.git] / webcit / webserver.h
index dadee85cb1b6364341cc96a3a8d23c38b3f062fa..f8e966bd7852cf390a982a9e14391ab0a0429b65 100644 (file)
@@ -1,21 +1,25 @@
 
-extern char *static_dirs[PATH_MAX];          /**< Web representation */
+/*
+ * 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];
 
-struct redirector {
-       char urlpart[256];
-       char redirect_to[256];
-};
-       
-extern struct redirector *redir;
-extern int num_redir;
 extern char *default_landing_page;
 
-int ClientGetLine(ParsedHttpHdrs *Hdr, StrBuf *Target);
-int client_read_to(ParsedHttpHdrs *Hdr, StrBuf *Target, int bytes, int timeout);
-void wc_backtrace(void);
+int ClientGetLine(ParsedHttpHdrs * Hdr, StrBuf * Target);
+int client_read_to(ParsedHttpHdrs * Hdr, StrBuf * Target, int bytes, int timeout);
+void wc_backtrace(long LogLevel);
 void ShutDownWebcit(void);
 void shutdown_ssl(void);
-
-