return r;
}
+gboolean obt_parse_save_file(ObtParseInst *inst,
+ const gchar *path,
+ gboolean pretty)
+{
+ return xmlSaveFormatFile(path, inst->doc, pretty) != -1;
+}
+
void obt_parse_close(ObtParseInst *i)
{
if (i && i->doc) {
gboolean obt_parse_load_mem(ObtParseInst *inst,
gpointer data, guint len, const gchar *root_node);
+gboolean obt_parse_save_file(ObtParseInst *inst,
+ const gchar *path,
+ gboolean pretty);
+
xmlDocPtr obt_parse_doc(ObtParseInst *inst);
xmlNodePtr obt_parse_root(ObtParseInst *inst);