summaryrefslogtreecommitdiff
path: root/gconfig.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-05-29 11:02:26 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-05-29 11:02:26 +0000
commit34b3d8a4025bc1c8ace4b1035597970ddf9d8a8d (patch)
treefcdf1d7e2b353bbc6f81b4246c128697a9941645 /gconfig.h
parente6793f425cac9a78f56f31cbe25f62c6b8fd350b (diff)
rewritten gconfig to not exit on errors
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@263 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'gconfig.h')
-rw-r--r--gconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gconfig.h b/gconfig.h
index af44dac..55e8efe 100644
--- a/gconfig.h
+++ b/gconfig.h
@@ -8,8 +8,8 @@ struct gconffile {
FILE *file;
};
-void getconfigline(struct gconffile **cf, char *block, char **opt, char **val, int *conftype);
-void getgenericconfig(struct gconffile **cf, char *block, ...);
+int getconfigline(struct gconffile **cf, char *block, char **opt, char **val, int *conftype);
+int getgenericconfig(struct gconffile **cf, char *block, ...);
FILE *pushgconffile(struct gconffile **cf, const char *path);
FILE *pushgconffiles(struct gconffile **cf, const char *path);
FILE *popgconffile(struct gconffile **cf);