summaryrefslogtreecommitdiffstats
path: root/dmidecode.h
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-08-08 07:27:36 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-08-08 07:27:36 +0000
commitbea781c97b383c90df7e201d27709017f680374b (patch)
treec5fbbbdb43a5f068ef3035ef27a606e1e4194034 /dmidecode.h
parente5ac5d6d7ca49e1280fe498c373d95843412419d (diff)
downloadpython-dmidecode-bea781c97b383c90df7e201d27709017f680374b.tar.gz
python-dmidecode-bea781c97b383c90df7e201d27709017f680374b.tar.xz
python-dmidecode-bea781c97b383c90df7e201d27709017f680374b.zip
Fixed many major bugs (all of which were expected based on the way we mass
converted all the `case' blocks. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@64 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'dmidecode.h')
-rw-r--r--dmidecode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dmidecode.h b/dmidecode.h
index b4053f1..ab4f820 100644
--- a/dmidecode.h
+++ b/dmidecode.h
@@ -27,7 +27,8 @@ struct dmi_header {
};
const char *dmi_dump(struct dmi_header *h, char *_);
-void dmi_decode(struct dmi_header *h, u16 ver, PyObject *pydata);
+//void dmi_decode(struct dmi_header *h, u16 ver, PyObject *pydata);
+PyObject* dmi_decode(struct dmi_header *h, u16 ver);
int address_from_efi(size_t *address, char *_);
void to_dmi_header(struct dmi_header *h, u8 *data);
int smbios_decode(u8 *buf, const char *devmem, PyObject* pydata);