implemented config file stack; to be used for include support
[radsecproxy.git] / gconfig.h
index d546b08..f580169 100644 (file)
--- 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);