gtk-all.h, util-gtk.h: cosmetix (ignore this headers if built without GTK)
[k8lowj.git] / src / conf_xml.h
blobd0505e2c48c8a68a471283908d637d9641dacbe0
1 /* logjam - a GTK client for LiveJournal.
2 * Copyright (C) 2000-2003 Evan Martin <evan@livejournal.com>
4 * vim: tabstop=4 shiftwidth=4 noexpandtab :
5 */
7 #ifndef CONF_XML_H
8 #define CONF_XML_H
10 #include "conf.h"
12 int conf_read(Configuration *c, char *path);
13 int conf_write(Configuration *c, char *path);
15 typedef void* (*conf_parsedirxml_fn)(xmlDocPtr, xmlNodePtr, void*);
16 typedef void* (*conf_parsedirlist_fn)(const char*, void*);
17 void* conf_parsedirxml(const char *dirname, conf_parsedirxml_fn fn, void *data);
18 GSList* conf_parsedirlist(const char *base, conf_parsedirlist_fn fn, void *data);
20 #endif /* CONF_XML_H */