Merge branch 'master' of git+ssh://git.citadel.org/appl/gitroot/citadel
[citadel.git] / citadel / config.h
index 7e3801679a7dc5c5f7c672f4f307b4dd24f3e8fa..d1529c5a00cfb79dca8e8404643359db4acbe6e7 100644 (file)
@@ -1,12 +1,21 @@
 /*
- * $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 DLEXP struct config config;
-extern DLEXP char bbs_home_directory[PATH_MAX];
-extern DLEXP int home_specified;
+
+char *CtdlGetSysConfig(char *sysconfname);
+void CtdlPutSysConfig(char *sysconfname, char *sysconfdata);