From cbd283e0022dd394799786c6504c85df7fd40b5b Mon Sep 17 00:00:00 2001 From: venaas Date: Mon, 26 Nov 2007 12:14:30 +0000 Subject: implemented config file stack; to be used for include support git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@198 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- gconfig.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gconfig.h') diff --git a/gconfig.h b/gconfig.h index d546b08..f580169 100644 --- a/gconfig.h +++ b/gconfig.h @@ -2,4 +2,11 @@ #define CONF_CBK 2 #define CONF_MSTR 3 +struct gconffile { + char *path; + FILE *file; +}; + void getgenericconfig(FILE *f, char *block, ...); +FILE *pushgconffile(struct gconffile **cf, const char *path); +FILE *popgconffile(struct gconffile **cf); -- cgit v1.1