summaryrefslogtreecommitdiffstats
path: root/src/dmixml.h
Commit message (Collapse)AuthorAgeFilesLines
* Rebase against upstream dmidecode v2.11David Sommerseth2013-07-081-0/+2
| | | | | | This includes an update against the SMBIOS reference specification v2.7.0 Signed-off-by: David Sommerseth <davids@redhat.com>
* Implemented dmixml_AddDMIstring()David Sommerseth2011-01-061-0/+1
| | | | | | | | | This function can be used instead of dmi_string() and dmixml_AddTextChild(). In those cases where dmi_string() returns NULL, this situation is handled more gracefully. In addition of also handling "not specified" situations better as well. Signed-off-by: David Sommerseth <davids@redhat.com>
* Ported fprintf() -> log_append() on XML functionsDavid Sommerseth2010-01-081-1/+1
|
* Added new function: dmixml_FindNodeByAttr_NoCase(...)David Sommerseth2009-06-151-1/+34
| | | | | | | | | | This function will ignore the case of the string of the value to be found. This improves the behaviour mentioned in commit 20030e42b4d3f7283f6143641cb009a8dbf1da24. At the moment, the immediate advantage is that the pymap.xml is not strictly bound to if the type IDs in hex are in upper and/or lower case. Both cases and mixed cases will now work.
* Rewrote dmixml_FindNodeByAttr(...) function to also use TagNameDavid Sommerseth2009-06-021-1/+1
| | | | The previous version did not consider the tag name when searching for nodes.
* Added a simple helper macro to simplify xmlNode traversingDavid Sommerseth2009-05-291-0/+2
|
* Completed preliminary reimplementation of type()Nima Talebi2009-05-241-0/+1
| | | | | | | Updated test unit to match. Throw an exception instead of returning None/False in some functions.
* Rewritten dmixml_GetXPathContent(...) and _get_key_value(...)David Sommerseth2009-04-301-1/+1
| | | | | This rewrite was to handle XPATH_NUMBER more correctly. Now these functions needs an preallocated memory buffer for the result.
* Added function for retrieving values from XPath objectsDavid Sommerseth2009-04-291-0/+2
| | | | Reverted commit 75aaf67d43cf4a28fe8d3e07111dab75a0c4396d in addition
* Added more XML functionsDavid Sommerseth2009-04-291-0/+5
|
* Added missing copyright detailsDavid Sommerseth2009-04-291-1/+4
|
* Fixed wrong xmlAttrNode type to xmlAttrDavid Sommerseth2009-04-291-1/+2
|
* Added dmixml.[ch] - helper function for generating XML nodesDavid Sommerseth2009-04-291-0/+32