summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dmidecodemodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dmidecodemodule.c b/src/dmidecodemodule.c
index 3bc54d0..7cdbd26 100644
--- a/src/dmidecodemodule.c
+++ b/src/dmidecodemodule.c
@@ -655,6 +655,10 @@ static PyMethodDef DMIDataMethods[] = {
{(char *)"type", dmidecode_get_type, METH_VARARGS, (char *)"By Type"},
+ {(char *)"QueryTypeId", dmidecode_get_type, METH_VARARGS,
+ (char *) "Queries the DMI data structure for a specific DMI type."
+ },
+
{(char *)"pythonmap", dmidecode_set_pythonxmlmap, METH_O,
(char *) "Use another python dict map definition. The default file is " PYTHON_XML_MAP},