diff options
author | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-12-20 01:44:55 +0000 |
---|---|---|
committer | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-12-20 01:44:55 +0000 |
commit | 8626bbd2cfcb10109cfa85b8d7ef99898e6f7771 (patch) | |
tree | f50b216d694e92505b051a4d2af635bcd3da913b /src/dmidecode.h | |
parent | f5397d936f5dc85813d1d6d50cf5f7d6ba9716c8 (diff) | |
download | python-dmidecode-8626bbd2cfcb10109cfa85b8d7ef99898e6f7771.tar.gz python-dmidecode-8626bbd2cfcb10109cfa85b8d7ef99898e6f7771.tar.xz python-dmidecode-8626bbd2cfcb10109cfa85b8d7ef99898e6f7771.zip |
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
Diffstat (limited to 'src/dmidecode.h')
-rw-r--r-- | src/dmidecode.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |