diff options
author | venaas <venaas> | 2008-05-30 12:52:40 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2008-05-30 12:52:40 +0000 |
commit | c62df2e2a4797482cb2247400d6ae4830df25a3d (patch) | |
tree | d9b8c0580531b36244f913a7407ed49e49a669ff /gconfig.h | |
parent | 405ae6c9f97d0e481c0e7f2792e7f7be6abe1b26 (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.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |