jackburton79 / ocs-agent

Lite inventory agent (compatibile with ocsinventory-ng and glpi)
GNU General Public License v3.0
15 stars 6 forks source link

Rewrite GetLSHWData() for XML output #28

Closed jackburton79 closed 6 years ago

jackburton79 commented 6 years ago

GetLSHWData() currently parses the "default" output of the lshw command (where available). It should insead parse the XML output of lshw -xml, since it's more structured and should be simpler to parse (with tinyxml2).

jackburton79 commented 6 years ago

Done in commits since 02b2e3e8d9ec13927093b3fb9f810be99c8a2e83 to 9cfb1148f2509185292885fe44be30ff08201648.