diff options
author | David Sommerseth <davids@redhat.com> | 2009-06-04 15:21:21 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2009-06-04 15:21:21 +0200 |
commit | adc4191973b177f557d9a851d558d09cde841efe (patch) | |
tree | 5e31e51dd1a87b65fb4eb6dac97b3682cf6cb5ac /src/dmidecode.h | |
parent | 5cd0472e1bc6a74f5011976e4b9fe31a0b84d938 (diff) | |
download | python-dmidecode-adc4191973b177f557d9a851d558d09cde841efe.tar.gz python-dmidecode-adc4191973b177f557d9a851d558d09cde841efe.tar.xz python-dmidecode-adc4191973b177f557d9a851d558d09cde841efe.zip |
Avoid passing the option struct to dmidecode.c functions
Diffstat (limited to 'src/dmidecode.h')
-rw-r--r-- | src/dmidecode.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dmidecode.h b/src/dmidecode.h index c199b7a..571c381 100644 --- a/src/dmidecode.h +++ b/src/dmidecode.h @@ -29,14 +29,14 @@ struct dmi_header { u8 *data; }; -void dmi_dump(options *, xmlNode *node, struct dmi_header * h); -xmlNode *dmi_decode(options *, xmlNode *parent_n, struct dmi_header * h, u16 ver); +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(options *, u8 * buf, const char *devmem, xmlNode *xmlnode); +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(options *, u8 * buf, const char *devmem, xmlNode *xmlnode); +int legacy_decode(u8 *type, const struct string_keyword *opt_string, 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); |