summaryrefslogtreecommitdiffstats
path: root/dmidecode.h
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-07-26 09:15:53 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-07-26 09:15:53 +0000
commit65cca18ecfb4c72faf0cf77872f3db494aa80c35 (patch)
tree91c78395e1bf516986279700607ba37724a72abd /dmidecode.h
parent8671ea0ba8caa35428afeee68efa53671c839815 (diff)
downloadpython-dmidecode-65cca18ecfb4c72faf0cf77872f3db494aa80c35.tar.gz
python-dmidecode-65cca18ecfb4c72faf0cf77872f3db494aa80c35.tar.xz
python-dmidecode-65cca18ecfb4c72faf0cf77872f3db494aa80c35.zip
Completed cases 1, 4, and 13. Also altered the main PyDict object such that
each case has a value of a list to which items are appended. Without this, each object of the same type would overwrite the previous, for example, 8 processors would result in one single cpu with data pertaining to the last cpu (7). git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@25 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'dmidecode.h')
-rw-r--r--dmidecode.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/dmidecode.h b/dmidecode.h
index 2479728..b4053f1 100644
--- a/dmidecode.h
+++ b/dmidecode.h
@@ -34,13 +34,10 @@ int smbios_decode(u8 *buf, const char *devmem, PyObject* pydata);
int legacy_decode(u8 *buf, const char *devmem, PyObject* pydata);
const char *dmi_string(struct dmi_header *dm, u8 s);
+
const char *dmi_system_uuid(u8 *p, char *_);
-PyObject *dmi_chassis_height(u8 code);
-PyObject *dmi_string_py(struct dmi_header *dm, u8 s);
-PyObject *dmi_chassis_state(u8 code);
+PyObject *dmi_system_uuid_py(u8 *p);
const char *dmi_chassis_type(u8 code);
-PyObject *dmi_chassis_type_py(u8 code);
-PyObject *dmi_chassis_power_cords(u8 code);
const char *dmi_processor_family(u8 code);
const char *dmi_processor_frequency(u8 *p, char *_);