From 65cca18ecfb4c72faf0cf77872f3db494aa80c35 Mon Sep 17 00:00:00 2001 From: nima Date: Sat, 26 Jul 2008 09:15:53 +0000 Subject: 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 --- dmidecode.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'dmidecode.h') 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 *_); -- cgit