summaryrefslogtreecommitdiffstats
path: root/src/dmixml.h
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-04-29 18:29:50 +0200
committerDavid Sommerseth <davids@redhat.com>2009-04-29 18:29:50 +0200
commitd64ab66e4fbf8d6dfceed628aef21f01063c3d66 (patch)
tree1011afe6d3346508617694db7862adb9e8ae9243 /src/dmixml.h
parenta3047723df9b66b6a56bcc72a469a129bbaf4d54 (diff)
downloadpython-dmidecode-d64ab66e4fbf8d6dfceed628aef21f01063c3d66.tar.gz
python-dmidecode-d64ab66e4fbf8d6dfceed628aef21f01063c3d66.tar.xz
python-dmidecode-d64ab66e4fbf8d6dfceed628aef21f01063c3d66.zip
Added function for retrieving values from XPath objects
Reverted commit 75aaf67d43cf4a28fe8d3e07111dab75a0c4396d in addition
Diffstat (limited to 'src/dmixml.h')
-rw-r--r--src/dmixml.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dmixml.h b/src/dmixml.h
index 4683bc9..7176483 100644
--- a/src/dmixml.h
+++ b/src/dmixml.h
@@ -28,6 +28,7 @@
#include <stdarg.h>
#include <libxml/tree.h>
+#include <libxml/xpath.h>
xmlAttr *dmixml_AddAttribute(xmlNode *node, const char *atrname, const char *fmt, ...);
xmlNode *dmixml_AddTextChild(xmlNode *node, const char *tagname, const char *fmt, ...);
@@ -37,5 +38,6 @@ char *dmixml_GetAttrValue(xmlNode *node, const char *key);
xmlNode *dmixml_FindNode(xmlNode *, const char *key);
inline char *dmixml_GetContent(xmlNode *node);
inline char *dmixml_GetNodeContent(xmlNode *node, const char *key);
+char *dmixml_GetXPathContent(xmlXPathObject *xpo, int idx);
#endif