X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fopenbox;a=blobdiff_plain;f=obt%2Fxml.h;fp=obt%2Fxml.h;h=f6b5dc23b87748ff4a9365547930fa8019f8210a;hp=831aba63714a5cf5e5f69d8a77c599ae30ae5793;hb=4e6c0086a657399d989f2e4849f7b397d7d4efbc;hpb=a5eb363f48b75b6eae0a1dc4a6c8e079c9831f92 diff --git a/obt/xml.h b/obt/xml.h index 831aba63..f6b5dc23 100644 --- a/obt/xml.h +++ b/obt/xml.h @@ -51,6 +51,12 @@ gboolean obt_xml_load_theme_file(ObtXmlInst *inst, gboolean obt_xml_load_mem(ObtXmlInst *inst, gpointer data, guint len, const gchar *root_node); +/* Returns true if an error is present. */ +gboolean obt_xml_last_error(ObtXmlInst *inst); +gchar* obt_xml_last_error_file(ObtXmlInst *inst); +gint obt_xml_last_error_line(ObtXmlInst *inst); +gchar* obt_xml_last_error_message(ObtXmlInst *inst); + gboolean obt_xml_save_file(ObtXmlInst *inst, const gchar *path, gboolean pretty);