X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=gconfig.h;h=463ebdfddca8867804527e55bea1ef5abb6ff8fd;hb=7758dd38282d58dff85422e7e5e165d360f6531b;hp=3d11cbcd38a949baa1a49ed7426c6ff4eea15405;hpb=405ae6c9f97d0e481c0e7f2792e7f7be6abe1b26;p=libradsec.git diff --git a/gconfig.h b/gconfig.h index 3d11cbc..463ebdf 100644 --- a/gconfig.h +++ b/gconfig.h @@ -2,6 +2,9 @@ #define CONF_CBK 2 #define CONF_MSTR 3 #define CONF_BLN 4 +#define CONF_LINT 5 + +#include struct gconffile { char *path; @@ -13,8 +16,14 @@ 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 freegconfmstr(char **mstr); void freegconf(struct gconffile **cf); struct gconffile *openconfigfile(const char *file); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */