From 4b4afad325b8e11800f622fad2f6eacb22e3f2bb Mon Sep 17 00:00:00 2001 From: nima Date: Fri, 31 Oct 2008 13:19:50 +0000 Subject: Dump-to-file is almost working, there seems to be a 4-byte misalignment in the produced file though for now - needs to be fixed. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@100 abc39116-655e-4be6-ad55-d661dc543056 --- dmidecode.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dmidecode.h') diff --git a/dmidecode.h b/dmidecode.h index c8206cc..46f822f 100644 --- a/dmidecode.h +++ b/dmidecode.h @@ -38,3 +38,6 @@ const char *dmi_system_uuid(u8 *p); PyObject *dmi_system_uuid_py(const u8 *p, u16 ver); const char *dmi_chassis_type(u8 code); int dmi_processor_frequency(const u8 *p); + +int dump(const char *dumpfile); +int dumpling(u8 *buf, const char *devmem, u8 mode); -- cgit