diff options
author | Jean Delvare <jdelvare@suse.de> | 2020-03-23 16:47:44 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2020-03-23 16:47:44 +0100 |
commit | 26a66d708c6caef09912245c93371ec96c1e0cbd (patch) | |
tree | 631291bd001c2087f5ea2361d93e4d9038f7f928 /dmioutput.c | |
parent | 30121a064378b2c0174659cd52449c70aa2c271f (diff) | |
download | dmidecode-git-26a66d708c6caef09912245c93371ec96c1e0cbd.tar.gz |
dmidecode: Refactor ASCII filtering of DMI strings
Split dmi_string into 3 functions to make it more modular. ASCII
filtering is an explicit option now to give the caller more control.
Use the new functions in dmi_dump to avoid reimplementing the ASCII
filtering and printing characters one by one.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'dmioutput.c')
0 files changed, 0 insertions, 0 deletions