summaryrefslogtreecommitdiff
path: root/gconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'gconfig.h')
-rw-r--r--gconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gconfig.h b/gconfig.h
index 409b1ba..af44dac 100644
--- a/gconfig.h
+++ b/gconfig.h
@@ -1,13 +1,16 @@
#define CONF_STR 1
#define CONF_CBK 2
#define CONF_MSTR 3
+#define CONF_BLN 4
struct gconffile {
char *path;
FILE *file;
};
+void getconfigline(struct gconffile **cf, char *block, char **opt, char **val, int *conftype);
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);
+struct gconffile *openconfigfile(const char *file);