summaryrefslogtreecommitdiffstats
path: root/src/setup.py
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-06-02 15:40:57 +0200
committerDavid Sommerseth <davids@redhat.com>2009-06-02 15:55:06 +0200
commit3149fdcec94191102fd801c7967a5e3cb5b330a7 (patch)
treec90a35c18071c21203c20d14f0c80fb5d44d85b1 /src/setup.py
parent7e1ef7e718976c6a0ab92c01990a130203860ff5 (diff)
downloadpython-dmidecode-3149fdcec94191102fd801c7967a5e3cb5b330a7.tar.gz
python-dmidecode-3149fdcec94191102fd801c7967a5e3cb5b330a7.tar.xz
python-dmidecode-3149fdcec94191102fd801c7967a5e3cb5b330a7.zip
Rewrote the dmiMAP_ParseMappingXML(...) function and split it up
Removed the automagic in the dmiMAP_ParseMappingXML(...) function from automatically decide what to parse (TypeMapping or GroupMapping). Introduced two new functions instead: - dmiMAP_ParseMappingXML_GroupName(xmlDoc *xmlmap, const char *name) Parses the XML mapping document, using the GroupMapping tags and building up a proper ptzMAP structure for all TypeMap defined in that group. - dmiMAP_ParseMappingXML_TypeID(xmlDoc *xmlmap, const char *typeid) Parses the XML mapping document, using only the TypeMapping section in th mapping document. Rewrote a lot of internal parts to reuse as much of the existing code as possible.
Diffstat (limited to 'src/setup.py')
0 files changed, 0 insertions, 0 deletions