Export cfg structure
This commit is contained in:
parent
e6e4e00df7
commit
8e4b2db99e
|
@ -69,7 +69,7 @@ static cfg_opt_t toplvl_cfg[] =
|
|||
CFG_END()
|
||||
};
|
||||
|
||||
static cfg_t *cfg;
|
||||
cfg_t *cfg;
|
||||
|
||||
|
||||
static int
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
#ifndef __CONFFILE_H__
|
||||
#define __CONFFILE_H__
|
||||
|
||||
#include <confuse.h>
|
||||
|
||||
extern cfg_t *cfg;
|
||||
|
||||
int
|
||||
conffile_load(char *file);
|
||||
|
|
Loading…
Reference in New Issue