r1996: Cope slightly better with invalid filenames in various places (reported by
[rox-filer.git] / ROX-Filer / src / xml.h
blob2ac011ef770c455e1c9ae771430884b4ee12cb22
1 /*
2 * $Id$
5 * ROX-Filer, filer for the ROX desktop project
6 * By Thomas Leonard, <tal197@users.sourceforge.net>.
7 */
9 #ifndef __XML_H__
10 #define __XML_H__
12 #include <glib-object.h>
14 typedef struct _XMLwrapperClass XMLwrapperClass;
16 struct _XMLwrapperClass {
17 GObjectClass parent;
20 struct _XMLwrapper {
21 GObject object;
22 xmlDocPtr doc;
25 XMLwrapper *xml_new(const char *pathname);
26 xmlNode *xml_get_section(XMLwrapper *xml, const gchar *ns, const gchar *name);
27 xmlNode *get_subnode(xmlNode *node, const char *namespaceURI, const char *name);
29 #endif /* __XML_H__ */