diff options
| author | David Sommerseth <davids@redhat.com> | 2009-04-09 15:13:23 +0200 |
|---|---|---|
| committer | David Sommerseth <davids@redhat.com> | 2009-04-29 11:22:11 +0200 |
| commit | 46988f9abcec9eb072be5f5d52fc594de89478e8 (patch) | |
| tree | 239800724c90846c07dc1922c5577f5bc8bdeb6e /src/dmixml.h | |
| parent | 8b2fe610dc309579f07787696f0814c359aa4de1 (diff) | |
| download | python-dmidecode-46988f9abcec9eb072be5f5d52fc594de89478e8.tar.gz python-dmidecode-46988f9abcec9eb072be5f5d52fc594de89478e8.tar.xz python-dmidecode-46988f9abcec9eb072be5f5d52fc594de89478e8.zip | |
Added more XML functions
Diffstat (limited to 'src/dmixml.h')
| -rw-r--r-- | src/dmixml.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dmixml.h b/src/dmixml.h index e3b99a9..4683bc9 100644 --- a/src/dmixml.h +++ b/src/dmixml.h @@ -33,4 +33,9 @@ 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, ...); +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); + #endif |
