X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fconfig.h;h=eb61711cc44339b857addc0dbafabeab54f200bf;hb=88c52d18e496b38205b30eff94c14eef59558f51;hp=5804b9ae9b3791eee9b5fcb317214999d73d17aa;hpb=83875cf99a93ec708989894477f3880cf4579630;p=citadel.git diff --git a/citadel/config.h b/citadel/config.h index 5804b9ae9..eb61711cc 100644 --- a/citadel/config.h +++ b/citadel/config.h @@ -1,10 +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);