summaryrefslogtreecommitdiff
path: root/gconfig.h
blob: 409b1ba51608dde4f8435a2c48e6227a231c1a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#define CONF_STR 1
#define CONF_CBK 2
#define CONF_MSTR 3

struct gconffile {
    char *path;
    FILE *file;
};

void 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);