summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dmixml.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dmixml.h b/src/dmixml.h
index b1ca6d9..f394137 100644
--- a/src/dmixml.h
+++ b/src/dmixml.h
@@ -30,6 +30,8 @@
#include <libxml/tree.h>
#include <libxml/xpath.h>
+#define foreach_xmlnode(n, itn) for( itn = n; itn != NULL; itn = itn->next )
+
xmlAttr *dmixml_AddAttribute(xmlNode *node, const char *atrname, const char *fmt, ...);
xmlNode *dmixml_AddTextChild(xmlNode *node, const char *tagname, const char *fmt, ...);
xmlNode *dmixml_AddTextContent(xmlNode *node, const char *fmt, ...);