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=d67b818ae90c5574166d08422d3e9a68d8d65e16;hpb=9325c92056ff4268db2263cdf8c07bb529e158aa 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);