summaryrefslogtreecommitdiff
path: root/dmiopt.h
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2005-09-14 19:44:28 +0000
committerJean Delvare <jdelvare@suse.de>2005-09-14 19:44:28 +0000
commit02b421ee8cddcff5f233970b68c644a7d352cb98 (patch)
tree4d36657942920547973d100e037dd64a971ad839 /dmiopt.h
parent1a7eb2fd7578a5120d6bf2ded45a534df8240cbb (diff)
downloaddmidecode-git-02b421ee8cddcff5f233970b68c644a7d352cb98.tar.gz
Make it possible for --string to print decoded binary data rather than
only DMI strings. Add four such string keywords.
Diffstat (limited to 'dmiopt.h')
-rw-r--r--dmiopt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dmiopt.h b/dmiopt.h
index 9a7ca43..d55b73d 100644
--- a/dmiopt.h
+++ b/dmiopt.h
@@ -26,6 +26,8 @@ struct opt
u8 *type;
u8 string_type;
u8 string_offset;
+ const char *(*string_lookup)(u8);
+ void (*string_print)(u8 *);
};
extern struct opt opt;