Add more plausability checks during startup so the admin knows if something is fishy.
[citadel.git] / citadel / config.h
index 7b19059461b0c43115e32494323179816a608df8..eb61711cc44339b857addc0dbafabeab54f200bf 100644 (file)
@@ -1,12 +1,22 @@
 /*
- * $Id$
+ * 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 ctdl_home_directory[PATH_MAX];
-extern int home_specified;
+
+char *CtdlGetSysConfig(char *sysconfname);
+void CtdlPutSysConfig(char *sysconfname, char *sysconfdata);
+void validate_config(void);