diff options
author | Nima Talebi <nima@autonomy.net.au> | 2009-06-05 01:42:07 +1000 |
---|---|---|
committer | Nima Talebi <nima@autonomy.net.au> | 2009-06-05 01:42:07 +1000 |
commit | 2cf4f28f6fc671478003b31c03b93e070eee9942 (patch) | |
tree | b9d956cc1241852d88b03c3af54ae6cd99733b76 /src/dmidecode.h | |
parent | adc4191973b177f557d9a851d558d09cde841efe (diff) | |
download | python-dmidecode-2cf4f28f6fc671478003b31c03b93e070eee9942.tar.gz python-dmidecode-2cf4f28f6fc671478003b31c03b93e070eee9942.tar.xz python-dmidecode-2cf4f28f6fc671478003b31c03b93e070eee9942.zip |
Further removal of deprecated functions
Removed the `dmi_table_string' function, and `const struct
string_keyword *string' from the `options' struct. Also modified
the function calls that are now free of this, namely, `legacy_decode'
and `smbios_decode'.
Diffstat (limited to 'src/dmidecode.h')
-rw-r--r-- | src/dmidecode.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dmidecode.h b/src/dmidecode.h index 571c381..cd6b8a6 100644 --- a/src/dmidecode.h +++ b/src/dmidecode.h @@ -33,10 +33,11 @@ void dmi_dump(xmlNode *node, struct dmi_header * h); xmlNode *dmi_decode(xmlNode *parent_n, struct dmi_header * h, u16 ver); int address_from_efi(size_t * address); void to_dmi_header(struct dmi_header *h, u8 * data); + xmlNode *smbios_decode_get_version(u8 * buf, const char *devmem); -int smbios_decode(u8 *type, const struct string_keyword *opt_string, u8 *buf, const char *devmem, xmlNode *xmlnode); xmlNode *legacy_decode_get_version(u8 * buf, const char *devmem); -int legacy_decode(u8 *type, const struct string_keyword *opt_string, u8 *buf, const char *devmem, xmlNode *xmlnode); +int smbios_decode(u8 *type, u8 *buf, const char *devmem, xmlNode *xmlnode); +int legacy_decode(u8 *type, u8 *buf, const char *devmem, xmlNode *xmlnode); const char *dmi_string(const struct dmi_header *dm, u8 s); void dmi_system_uuid(xmlNode *node, const u8 * p, u16 ver); |