From 8626bbd2cfcb10109cfa85b8d7ef99898e6f7771 Mon Sep 17 00:00:00 2001 From: nima Date: Sat, 20 Dec 2008 01:44:55 +0000 Subject: Removed "detected" from appearing in every single function call. TODO: An ivar should be implemented to return this string, so further cleanup is still required; as it stands, there is no access to this information anymore! Updated test case. Further general cleanup. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@133 abc39116-655e-4be6-ad55-d661dc543056 --- src/dmidecode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dmidecode.h') diff --git a/src/dmidecode.h b/src/dmidecode.h index 46f822f..1673394 100644 --- a/src/dmidecode.h +++ b/src/dmidecode.h @@ -30,8 +30,8 @@ PyObject *dmi_dump(struct dmi_header *h); PyObject* dmi_decode(struct dmi_header *h, u16 ver); int address_from_efi(size_t *address); void to_dmi_header(struct dmi_header *h, u8 *data); -int smbios_decode(u8 *buf, const char *devmem, PyObject* pydata); -int legacy_decode(u8 *buf, const char *devmem, PyObject* pydata); +int smbios_decode(u8 *buf, const char *devmem, PyObject* pydata, PyObject* pydata_ver); +int legacy_decode(u8 *buf, const char *devmem, PyObject* pydata, PyObject* pydata_ver); const char *dmi_string(const struct dmi_header *dm, u8 s); const char *dmi_system_uuid(u8 *p); -- cgit