summaryrefslogtreecommitdiff
path: root/gconfig.h
diff options
context:
space:
mode:
authorvenaas <venaas>2007-11-26 12:14:30 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-11-26 12:14:30 +0000
commitcbd283e0022dd394799786c6504c85df7fd40b5b (patch)
treed73cf8ba9ad7f30fa5ec939c47d5d8e604cdb657 /gconfig.h
parentddddde8f5202c6ae5da26b19e2c6a84709b8ea4d (diff)
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
Diffstat (limited to 'gconfig.h')
-rw-r--r--gconfig.h7
1 files changed, 7 insertions, 0 deletions
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);