diff options
author | David Sommerseth <davids@redhat.com> | 2009-06-03 11:56:23 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2009-06-03 11:56:23 +0200 |
commit | 788272fc9a0c027ecfec16ed3e746558cf988c92 (patch) | |
tree | 8f4bbae84da32378b7e867789a78d05d6d989e70 /src/dmidecode.h | |
parent | eb33e79cb5eae7da473347a4f79dc07d4e91ceff (diff) | |
download | python-dmidecode-788272fc9a0c027ecfec16ed3e746558cf988c92.tar.gz python-dmidecode-788272fc9a0c027ecfec16ed3e746558cf988c92.tar.xz python-dmidecode-788272fc9a0c027ecfec16ed3e746558cf988c92.zip |
Renamed *_set_version() functions to a more proper *_get_version() function names
Also changed dmiMAP_ParseMappingXML(...) to dmiMAP_ParseMappingXML_GroupName(...). In the
dmidecode_get(...) function. This is just a quick fix for making it compile. It's also
needed to implement usage of dmiMAP_ParseMappingXML_TypeID(...) as well.
Diffstat (limited to 'src/dmidecode.h')
-rw-r--r-- | src/dmidecode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dmidecode.h b/src/dmidecode.h index 04d8f04..135c264 100644 --- a/src/dmidecode.h +++ b/src/dmidecode.h @@ -32,9 +32,9 @@ 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_set_version(u8 * buf, const char *devmem); +xmlNode *smbios_decode_get_version(u8 * buf, const char *devmem); int smbios_decode(u8 * buf, const char *devmem, xmlNode *xmlnode); -xmlNode *legacy_decode_set_version(u8 * buf, const char *devmem); +xmlNode *legacy_decode_get_version(u8 * buf, const char *devmem); int legacy_decode(u8 * buf, const char *devmem, xmlNode *xmlnode); const char *dmi_string(const struct dmi_header *dm, u8 s); |