summaryrefslogtreecommitdiffstats
path: root/dmidecodemodule.h
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-07-24 10:48:01 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-07-24 10:48:01 +0000
commit4289505932068a0c071c7c9fb4655678394cb469 (patch)
tree91d9489e8b589964976c0145b16ae06bed50e772 /dmidecodemodule.h
parent2a92460699aa8a18bc0602d48afed1ebb408c16a (diff)
downloadpython-dmidecode-4289505932068a0c071c7c9fb4655678394cb469.tar.gz
python-dmidecode-4289505932068a0c071c7c9fb4655678394cb469.tar.xz
python-dmidecode-4289505932068a0c071c7c9fb4655678394cb469.zip
Now that code has been converted, work has started on "bios", and at the point
of proof-of-concept. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@12 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'dmidecodemodule.h')
-rw-r--r--dmidecodemodule.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/dmidecodemodule.h b/dmidecodemodule.h
index 4274f94..f499d7c 100644
--- a/dmidecodemodule.h
+++ b/dmidecodemodule.h
@@ -20,11 +20,11 @@
#include "catsprintf.h"
extern const char *dmi_dump(struct dmi_header *h, char *_);
-extern void dmi_decode(struct dmi_header *h, u16 ver);
-extern int address_from_efi(size_t *address);
+extern void dmi_decode(struct dmi_header *h, u16 ver, PyObject* pydata);
+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);
-extern int smbios_decode(u8 *buf, const char *devmem, char *_);
-extern int legacy_decode(u8 *buf, const char *devmem, char *_);
+extern int smbios_decode(u8 *buf, const char *devmem, PyObject* pydata);
+extern int legacy_decode(u8 *buf, const char *devmem, PyObject* pydata);
extern void *mem_chunk(size_t base, size_t len, const char *devmem);
extern u8 *parse_opt_type(u8 *p, const char *arg);