From 0e2598266442b8f1015c75833034ac0f26857820 Mon Sep 17 00:00:00 2001 From: nima Date: Sat, 20 Dec 2008 15:32:30 +0000 Subject: Version information now set once during init(). Bettered test cases. Case 127 magically fixed. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@135 abc39116-655e-4be6-ad55-d661dc543056 --- src/dmidecode.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/dmidecode.h') diff --git a/src/dmidecode.h b/src/dmidecode.h index 1673394..7e99faa 100644 --- a/src/dmidecode.h +++ b/src/dmidecode.h @@ -30,8 +30,10 @@ 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, PyObject* pydata_ver); -int legacy_decode(u8 *buf, const char *devmem, PyObject* pydata, PyObject* pydata_ver); +int smbios_decode_set_version(u8 *buf, const char *devmem, PyObject** pydata); +int smbios_decode(u8 *buf, const char *devmem, PyObject* pydata); +int legacy_decode_set_version(u8 *buf, const char *devmem, PyObject** pydata); +int legacy_decode(u8 *buf, const char *devmem, PyObject* pydata); const char *dmi_string(const struct dmi_header *dm, u8 s); const char *dmi_system_uuid(u8 *p); -- cgit