summaryrefslogtreecommitdiff
path: root/src/utils/xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/xml.h')
-rw-r--r--src/utils/xml.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/xml.h b/src/utils/xml.h
index a4ff7eb2e..c5f217c78 100644
--- a/src/utils/xml.h
+++ b/src/utils/xml.h
@@ -32,6 +32,7 @@
#define XmlNodePtr xmlNodePtr
#define xmlNameEqual(node, str) xmlStrEqual((node)->name, BAD_CAST (str))
#define XmlTextWriterPtr xmlTextWriterPtr
+#define xmlTypeEqual(node, typ) ((node)->type == (typ))
/**
* XML helper functions.