X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=obt%2Fparse.h;h=400acf94eedd4d0d78896f63f1330aeba4cc8dcd;hb=04dc598a1fb195065403055fbb95589dd3511daa;hp=8e5acd726508f4d6e8edaec101d561297c1a0bde;hpb=e1b4b9eb17b3ea145dbdce28dbf278437e349be1;p=chaz%2Fopenbox diff --git a/obt/parse.h b/obt/parse.h index 8e5acd72..400acf94 100644 --- a/obt/parse.h +++ b/obt/parse.h @@ -28,7 +28,7 @@ typedef struct _ObtParseInst ObtParseInst; typedef void (*ObtParseCallback)(xmlNodePtr node, gpointer data); -ObtParseInst* obt_parse_instance_new(); +ObtParseInst* obt_parse_instance_new(void); void obt_parse_instance_ref(ObtParseInst *inst); void obt_parse_instance_unref(ObtParseInst *inst); @@ -51,6 +51,10 @@ gboolean obt_parse_load_theme_file(ObtParseInst *inst, 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);