progress.*: cosmetix
[k8lowj.git] / src / conf_xml.h
blob8c36074e62cce432e5e444b95cabe8b4f03e9483
1 /* logjam - a GTK client for LiveJournal.
2 * Copyright (C) 2000-2003 Evan Martin <evan@livejournal.com>
3 */
4 #ifndef __LOGJAM_CONF_XML_H__
5 #define __LOGJAM_CONF_XML_H__
7 #include "conf.h"
10 extern int conf_read (Configuration *c, char *path);
11 extern int conf_write (Configuration *c, char *path);
13 typedef void *(*conf_parsedirxml_fn) (xmlDocPtr, xmlNodePtr, void *);
14 typedef void *(*conf_parsedirlist_fn) (const char *, void *);
16 extern void *conf_parsedirxml (const char *dirname, conf_parsedirxml_fn fn, void *data);
17 extern GSList *conf_parsedirlist (const char *base, conf_parsedirlist_fn fn, void *data);
20 #endif /* CONF_XML_H */