Add more plausability checks during startup so the admin knows if something is fishy.
[citadel.git] / citadel / config.h
index 0a99f5b52a89966e602b0f88ab2bfec6f80d03e8..eb61711cc44339b857addc0dbafabeab54f200bf 100644 (file)
@@ -1,5 +1,22 @@
+/*
+ * Copyright (c) 1987-2012 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.
+ */
+
+#include "serv_extensions.h"
+#include "citadel_dirs.h"
+
+
 void get_config(void);
 void put_config(void);
-extern struct config config;
-extern char bbs_home_directory[PATH_MAX];
-extern int home_specified;
+
+char *CtdlGetSysConfig(char *sysconfname);
+void CtdlPutSysConfig(char *sysconfname, char *sysconfdata);
+void validate_config(void);