X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fconfig.h;h=eb61711cc44339b857addc0dbafabeab54f200bf;hb=88c52d18e496b38205b30eff94c14eef59558f51;hp=ce092c28bcd1a327bbf9f5aba6cca40b829ca9f5;hpb=6f47ceb64389509e94cd5ea4c668dfa34238d23f;p=citadel.git diff --git a/citadel/config.h b/citadel/config.h index ce092c28b..eb61711cc 100644 --- a/citadel/config.h +++ b/citadel/config.h @@ -1,6 +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 bbs_home_directory[PATH_MAX]; -extern int home_specified; + +char *CtdlGetSysConfig(char *sysconfname); +void CtdlPutSysConfig(char *sysconfname, char *sysconfdata); +void validate_config(void);