2 * Copyright (c) 1987-2015 by the citadel.org team
4 * This program is open source software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 3.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
13 #include "serv_extensions.h"
14 #include "citadel_dirs.h"
16 #define CtdlGetConfigInt(x) atoi(CtdlGetConfigStr(x))
17 #define CtdlGetConfigLong(x) atol(CtdlGetConfigStr(x))
19 void initialize_config_system(void);
20 void shutdown_config_system(void);
21 void put_config(void);
22 void CtdlSetConfigStr(char *, char *);
23 char *CtdlGetConfigStr(char *);
24 void CtdlSetConfigInt(char *key, int value);
25 void CtdlSetConfigLong(char *key, long value);
27 char *CtdlGetSysConfig(char *sysconfname);
28 void CtdlPutSysConfig(char *sysconfname, char *sysconfdata);
29 void validate_config(void);