From 8e4b2db99ec5420a45cf7b792e0790dec698df4b Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sat, 18 Apr 2009 17:18:37 +0200 Subject: [PATCH] Export cfg structure --- src/conffile.c | 2 +- src/conffile.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/conffile.c b/src/conffile.c index ef79773b..7a5f7472 100644 --- a/src/conffile.c +++ b/src/conffile.c @@ -69,7 +69,7 @@ static cfg_opt_t toplvl_cfg[] = CFG_END() }; -static cfg_t *cfg; +cfg_t *cfg; static int diff --git a/src/conffile.h b/src/conffile.h index 596cfcf5..6b6d9121 100644 --- a/src/conffile.h +++ b/src/conffile.h @@ -2,7 +2,9 @@ #ifndef __CONFFILE_H__ #define __CONFFILE_H__ +#include +extern cfg_t *cfg; int conffile_load(char *file);