summaryrefslogtreecommitdiff
path: root/gconfig.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-05-30 12:52:40 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-05-30 12:52:40 +0000
commitc62df2e2a4797482cb2247400d6ae4830df25a3d (patch)
treed9b8c0580531b36244f913a7407ed49e49a669ff /gconfig.h
parent405ae6c9f97d0e481c0e7f2792e7f7be6abe1b26 (diff)
some gconfig improvements, made proxy accept server config from external program
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@266 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'gconfig.h')
-rw-r--r--gconfig.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gconfig.h b/gconfig.h
index 3d11cbc..0f8b7d8 100644
--- a/gconfig.h
+++ b/gconfig.h
@@ -13,8 +13,9 @@ struct gconffile {
int getconfigline(struct gconffile **cf, char *block, char **opt, char **val, int *conftype);
int getgenericconfig(struct gconffile **cf, char *block, ...);
int pushgconfdata(struct gconffile **cf, const char *data);
-FILE *pushgconffile(struct gconffile **cf, const char *path);
-FILE *pushgconffiles(struct gconffile **cf, const char *path);
+FILE *pushgconfpath(struct gconffile **cf, const char *path);
+FILE *pushgconffile(struct gconffile **cf, FILE *file, const char *description);
+FILE *pushgconfpaths(struct gconffile **cf, const char *path);
int popgconf(struct gconffile **cf);
void freegconf(struct gconffile **cf);
struct gconffile *openconfigfile(const char *file);