diff options
| author | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-12-20 15:32:30 +0000 |
|---|---|---|
| committer | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-12-20 15:32:30 +0000 |
| commit | 0e2598266442b8f1015c75833034ac0f26857820 (patch) | |
| tree | f4fb3cb9a3ad6e0fb9f61cd437a0933623ac820b /src/dmidecode.h | |
| parent | 6d5ebf5d39e419e2f83960223bf840275426dc87 (diff) | |
| download | python-dmidecode-0e2598266442b8f1015c75833034ac0f26857820.tar.gz python-dmidecode-0e2598266442b8f1015c75833034ac0f26857820.tar.xz python-dmidecode-0e2598266442b8f1015c75833034ac0f26857820.zip | |
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
Diffstat (limited to 'src/dmidecode.h')
| -rw-r--r-- | src/dmidecode.h | 6 |
1 files changed, 4 insertions, 2 deletions
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); |
