Export cfg structure

This commit is contained in:
Julien BLACHE 2009-04-18 17:18:37 +02:00
parent e6e4e00df7
commit 8e4b2db99e
2 changed files with 3 additions and 1 deletions

View File

@ -69,7 +69,7 @@ static cfg_opt_t toplvl_cfg[] =
CFG_END()
};
static cfg_t *cfg;
cfg_t *cfg;
static int

View File

@ -2,7 +2,9 @@
#ifndef __CONFFILE_H__
#define __CONFFILE_H__
#include <confuse.h>
extern cfg_t *cfg;
int
conffile_load(char *file);