From af27ba4dd2ffdef8e4ee3abf187475c1b3303f71 Mon Sep 17 00:00:00 2001 From: Nima Talebi Date: Sun, 24 May 2009 00:26:23 +1000 Subject: Completed preliminary reimplementation of type() Updated test unit to match. Throw an exception instead of returning None/False in some functions. --- src/dmixml.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dmixml.h') diff --git a/src/dmixml.h b/src/dmixml.h index b1d86c6..b1ca6d9 100644 --- a/src/dmixml.h +++ b/src/dmixml.h @@ -35,6 +35,7 @@ xmlNode *dmixml_AddTextChild(xmlNode *node, const char *tagname, const char *fmt xmlNode *dmixml_AddTextContent(xmlNode *node, const char *fmt, ...); char *dmixml_GetAttrValue(xmlNode *node, const char *key); +xmlNode *dmixml_FindNodeByAttr(xmlNode *node, const char *key, const char *val); xmlNode *dmixml_FindNode(xmlNode *, const char *key); inline char *dmixml_GetContent(xmlNode *node); inline char *dmixml_GetNodeContent(xmlNode *node, const char *key); -- cgit