diff options
author | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-10-31 13:19:50 +0000 |
---|---|---|
committer | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-10-31 13:19:50 +0000 |
commit | 4b4afad325b8e11800f622fad2f6eacb22e3f2bb (patch) | |
tree | 9739710a114a0bab2dc040be1b7f97fe74b2ff9d /dmidecode.h | |
parent | 56069e096f18a9538a8c0e86c96959b2fbef3dcf (diff) | |
download | python-dmidecode-4b4afad325b8e11800f622fad2f6eacb22e3f2bb.tar.gz python-dmidecode-4b4afad325b8e11800f622fad2f6eacb22e3f2bb.tar.xz python-dmidecode-4b4afad325b8e11800f622fad2f6eacb22e3f2bb.zip |
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
Diffstat (limited to 'dmidecode.h')
-rw-r--r-- | dmidecode.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |