Sletter packaging fra branches, blir så mye søl
[libradsec.git] / gconfig.h
1 #define CONF_STR 1
2 #define CONF_CBK 2
3 #define CONF_MSTR 3
4 #define CONF_BLN 4
5 #define CONF_LINT 5
6
7 struct gconffile {
8     char *path;
9     FILE *file;
10 };
11
12 void getconfigline(struct gconffile **cf, char *block, char **opt, char **val, int *conftype);
13 void getgenericconfig(struct gconffile **cf, char *block, ...);
14 FILE *pushgconffile(struct gconffile **cf, const char *path);
15 FILE *pushgconffiles(struct gconffile **cf, const char *path);
16 FILE *popgconffile(struct gconffile **cf);
17 struct gconffile *openconfigfile(const char *file);