diff options
author | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-07-03 15:59:08 +0000 |
---|---|---|
committer | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-07-03 15:59:08 +0000 |
commit | 60eb9d480daa352d7af19ad67e410f384f0e9f74 (patch) | |
tree | 7816a737b025fedbeb1866362d166d2fc16ebb84 /dmidecodebin.c | |
parent | 831e6bd3e28b85a87f68917bb928b1f3ce7601ce (diff) | |
download | python-dmidecode-60eb9d480daa352d7af19ad67e410f384f0e9f74.tar.gz python-dmidecode-60eb9d480daa352d7af19ad67e410f384f0e9f74.tar.xz python-dmidecode-60eb9d480daa352d7af19ad67e410f384f0e9f74.zip |
Major changes have been implemented, alas, untested, in hope to move towards
a new version of dmi decode where rather than having data just printed to
screen in functions, data is passed around, and some data structure is
constructed, which is then used to construct the Python list/dicitonary
objects.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@10 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'dmidecodebin.c')
-rw-r--r-- | dmidecodebin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dmidecodebin.c b/dmidecodebin.c index 3046298..01408c3 100644 --- a/dmidecodebin.c +++ b/dmidecodebin.c @@ -21,13 +21,13 @@ #include "global.h" #include "catsprintf.h" -extern void dmi_dump(struct dmi_header *h, const char *prefix); +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 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); -extern int legacy_decode(u8 *buf, 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 submain(int argc, char * const argv[]); int main(int argc, char * const argv[]) { |