aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.h
diff options
context:
space:
mode:
authorEmanuele Aina <emanuele.aina@collabora.com>2013-03-26 20:00:17 +0800
committerEmanuele Aina <emanuele.aina@collabora.com>2013-04-01 17:50:28 +0800
commit4299f29ac941292054b4e004aac51e1b143a386a (patch)
tree4fe15b853e51cdf37c06989ead96343c71208e21 /libempathy/empathy-utils.h
parenta169a5c76e983532b4a0699bfc39cd510768a923 (diff)
downloadgsoc2013-empathy-4299f29ac941292054b4e004aac51e1b143a386a.tar
gsoc2013-empathy-4299f29ac941292054b4e004aac51e1b143a386a.tar.gz
gsoc2013-empathy-4299f29ac941292054b4e004aac51e1b143a386a.tar.bz2
gsoc2013-empathy-4299f29ac941292054b4e004aac51e1b143a386a.tar.lz
gsoc2013-empathy-4299f29ac941292054b4e004aac51e1b143a386a.tar.xz
gsoc2013-empathy-4299f29ac941292054b4e004aac51e1b143a386a.tar.zst
gsoc2013-empathy-4299f29ac941292054b4e004aac51e1b143a386a.zip
utils: Add empathy_xml_validate_from_resource()
Validate against dtd stored in a GResource. https://bugzilla.gnome.org/show_bug.cgi?id=696974
Diffstat (limited to 'libempathy/empathy-utils.h')
-rw-r--r--libempathy/empathy-utils.h2
1 files changed, 2 insertions, 0 deletions
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,