Go to the documentation of this file.
19 #ifndef C_OBJ_SMBIOS_H
20 #define C_OBJ_SMBIOS_H
31 #define SMBIOS_DEFAULTS 0x0000
32 #define SMBIOS_GET_SINGLETON 0x0001
33 #define SMBIOS_GET_NEW 0x0002
34 #define SMBIOS_UNIT_TEST_MODE 0x0004
35 #define SMBIOS_NO_FIXUPS 0x0008
36 #define SMBIOS_NO_ERR_CLEAR 0x0010
58 #define smbios_table_for_each_struct(table_name, struct_name) \
60 const struct smbios_struct *struct_name = smbios_table_get_next_struct(table_name, 0);\
62 struct_name = smbios_table_get_next_struct(table_name, struct_name)\
65 #define smbios_table_for_each_struct_type(table_name, struct_name, struct_type) \
67 const struct smbios_struct *struct_name = smbios_table_get_next_struct_by_type(table_name, 0, struct_type);\
69 struct_name = smbios_table_get_next_struct_by_type(table_name, struct_name, struct_type)\