summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-06-04 10:09:39 +0200
committerDavid Sommerseth <davids@redhat.com>2009-06-04 10:09:39 +0200
commit97ba1cbc0842897f5459a75ef1cd2ecbb3cab136 (patch)
tree7b3720e2862534670646565c0b7bbffa1db755c9 /src
parent63e6c57e448d9dcc795cb14e89de6eb51f1033f6 (diff)
downloadpython-dmidecode-97ba1cbc0842897f5459a75ef1cd2ecbb3cab136.tar.gz
python-dmidecode-97ba1cbc0842897f5459a75ef1cd2ecbb3cab136.tar.xz
python-dmidecode-97ba1cbc0842897f5459a75ef1cd2ecbb3cab136.zip
Resurrected struct _dmi_codes_major
This got removed in commit 63e6c57e448d9dcc795cb14e89de6eb51f1033f6, but is needed for the following struct in dmihelper.h, and in dmidecode.c::dmi_decode():3694
Diffstat (limited to 'src')
-rw-r--r--src/dmihelper.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dmihelper.h b/src/dmihelper.h
index 70f35ad..e888639 100644
--- a/src/dmihelper.h
+++ b/src/dmihelper.h
@@ -15,6 +15,13 @@
#define MAXVAL 1024
+typedef struct _dmi_codes_major {
+ const unsigned short code;
+ const char *id;
+ const char *desc;
+ const char *tagname;
+} dmi_codes_major;
+
static const dmi_codes_major dmiCodesMajor[] = {
{0, "3.3.1", "BIOS Information", "BIOSinfo"},
{1, "3.3.2", "System Information", "SystemInfo"},