diff options
author | David Sommerseth <davids@redhat.com> | 2009-06-09 17:14:29 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2009-06-09 17:14:29 +0200 |
commit | f9589f45af460c82fac3712b0560de0e1dc6171d (patch) | |
tree | 1bd413720324cf87aa1055b913c96b56c4fec9fc /src/xmlpythonizer.h | |
parent | bfbac44bd8c0fcddcdcfade6a15313560c9cc6eb (diff) | |
download | python-dmidecode-f9589f45af460c82fac3712b0560de0e1dc6171d.tar.gz python-dmidecode-f9589f45af460c82fac3712b0560de0e1dc6171d.tar.xz python-dmidecode-f9589f45af460c82fac3712b0560de0e1dc6171d.zip |
Pass typeid as int internally to the dmiMAP_ParseMappingXML_TypeID(...)
This function will then convert the value to proper hex value for further
processing.
Diffstat (limited to 'src/xmlpythonizer.h')
-rw-r--r-- | src/xmlpythonizer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpythonizer.h b/src/xmlpythonizer.h index f37bfa5..df60140 100644 --- a/src/xmlpythonizer.h +++ b/src/xmlpythonizer.h @@ -49,7 +49,7 @@ typedef struct ptzMAP_s { } ptzMAP; xmlNode *dmiMAP_GetRootElement(xmlDoc *mapdoc); -ptzMAP *dmiMAP_ParseMappingXML_TypeID(xmlDoc *xmlmap, const char *mapname); +ptzMAP *dmiMAP_ParseMappingXML_TypeID(xmlDoc *xmlmap, int typeid); ptzMAP *dmiMAP_ParseMappingXML_GroupName(xmlDoc *xmlmap, const char *mapname); #define ptzmap_Free(ptr) { ptzmap_Free_func(ptr); ptr = NULL; } void ptzmap_Free_func(ptzMAP *ptr); |