From 1bf1da9fa4ad24148fe18c1c5baa9a4ec931402c Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Thu, 30 Apr 2009 19:38:25 +0200 Subject: Improved setting of pythonmap.xml The default file is now set to /usr/share/python-dmidecode/pythonmap.xml (defined in config.h) and can be overridden with the dmidecode.pythonmap() function in Python. --- src/dmihelper.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dmihelper.h') diff --git a/src/dmihelper.h b/src/dmihelper.h index 50cb185..33da699 100644 --- a/src/dmihelper.h +++ b/src/dmihelper.h @@ -115,6 +115,7 @@ typedef struct _options { xmlDoc *mappingxml; xmlNode *dmiversion_n; PyObject *dumpfile; + char *python_xml_map; } options; extern options opt; -- cgit