diff options
author | Jean Delvare <jdelvare@suse.de> | 2023-02-20 14:53:21 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2023-02-20 14:53:21 +0100 |
commit | 39b2dd7b6ab719b920e96ed832cfb4bdd664e808 (patch) | |
tree | d7709a1fa7ed09492fd9632af959511aebcc06fc /util.c | |
parent | 11b168f206efe5b3ebe2f1e587fb3d816d6c4a6f (diff) | |
download | dmidecode-git-39b2dd7b6ab719b920e96ed832cfb4bdd664e808.tar.gz |
dmidecode: Split table fetching from decoding
Clean up function dmi_table so that it does only one thing:
* dmi_table() is renamed to dmi_table_get(). It now retrieves the
DMI table, but does not process it any longer.
* Decoding or dumping the table is now done in smbios3_decode(),
smbios_decode() and legacy_decode().
No functional change.
A side effect of this change is that writing the header and body of
dump files is now done in a single location. This is required to
further consolidate the writing of dump files.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Jerry Hoemann <jerry.hoemann@hpe.com>
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions