From 4299f29ac941292054b4e004aac51e1b143a386a Mon Sep 17 00:00:00 2001 From: Emanuele Aina Date: Tue, 26 Mar 2013 13:00:17 +0100 Subject: utils: Add empathy_xml_validate_from_resource() Validate against dtd stored in a GResource. https://bugzilla.gnome.org/show_bug.cgi?id=696974 --- libempathy/empathy-utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libempathy/empathy-utils.h') diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h index 5fe79e9ee..7077d835e 100644 --- a/libempathy/empathy-utils.h +++ b/libempathy/empathy-utils.h @@ -44,6 +44,8 @@ G_BEGIN_DECLS void empathy_init (void); /* XML */ +gboolean empathy_xml_validate_from_resource (xmlDoc *doc, + const gchar *dtd_resourcename); gboolean empathy_xml_validate (xmlDoc *doc, const gchar *dtd_filename); xmlNodePtr empathy_xml_node_get_child (xmlNodePtr node, -- cgit v1.2.3