diff options
| author | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-08-08 07:27:36 +0000 |
|---|---|---|
| committer | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-08-08 07:27:36 +0000 |
| commit | bea781c97b383c90df7e201d27709017f680374b (patch) | |
| tree | c5fbbbdb43a5f068ef3035ef27a606e1e4194034 /dmidecodemodule.h | |
| parent | e5ac5d6d7ca49e1280fe498c373d95843412419d (diff) | |
| download | python-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 'dmidecodemodule.h')
| -rw-r--r-- | dmidecodemodule.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dmidecodemodule.h b/dmidecodemodule.h index f499d7c..6143379 100644 --- a/dmidecodemodule.h +++ b/dmidecodemodule.h @@ -20,7 +20,8 @@ #include "catsprintf.h" extern const char *dmi_dump(struct dmi_header *h, char *_); -extern void dmi_decode(struct dmi_header *h, u16 ver, PyObject* pydata); +//extern void dmi_decode(struct dmi_header *h, u16 ver, PyObject* pydata); +extern PyObject* dmi_decode(struct dmi_header *h, u16 ver); extern int address_from_efi(size_t *address, char *_); extern void to_dmi_header(struct dmi_header *h, u8 *data); extern void dmi_table(u32 base, u16 len, u16 num, u16 ver, const char *devmem); |
