25#ifndef LAZYBIOS_TYPE42_H
26#define LAZYBIOS_TYPE42_H
28#ifndef LAZYBIOS_SHARED_API_H
29#define LAZYBIOS_TYPE_HEADER_ONLY
31#undef LAZYBIOS_TYPE_HEADER_ONLY
LAZYBIOS_WARN_UNUSED lazybiosType42Array_t * lazybiosGetType42(const lazybiosDMI_t *DMIData)
Parses all SMBIOS Type 42 structures.
void lazybiosFreeType42(lazybiosType42Array_t *Type42)
Releases a parsed set of SMBIOS Type 42 structures.
Public API for lazybios. Include this and nothing else.
uint8_t lazybiosFieldStatus_t
Storage for one field's availability.
#define LAZYBIOS_WARN_UNUSED
Expands to nothing on compilers without a return-value check.
Owns raw DMI table data and its parsed SMBIOS entry point.
A parsed set of SMBIOS Type 42 structures.
lazybiosType42_t * entries
Decoded forms of the Type 42 encoded fields.
const char * interface_type
Availability metadata for SMBIOS Type 42 fields.
lazybiosFieldStatus_t protocol_records
lazybiosFieldStatus_t interface_type
lazybiosFieldStatus_t interface_type_specific_data_length
lazybiosFieldStatus_t interface_type_specific_data
lazybiosFieldStatus_t number_of_protocol_records
Decoded forms of the encoded fields in one record.
const char * protocol_type
Availability metadata for an SMBIOS Type 42 protocol record.
lazybiosFieldStatus_t protocol_type_specific_data_length
lazybiosFieldStatus_t protocol_type_specific_data
lazybiosFieldStatus_t protocol_type
Parsed protocol record from an SMBIOS Type 42 structure.
lazybiosType42ProtocolRecordFieldStatus_t field_status
lazybiosType42ProtocolRecordDecoded_t decoded
uint8_t * protocol_type_specific_data
uint8_t protocol_type_specific_data_length
Parsed SMBIOS Type 42 Management Controller Host Interface.
lazybiosType42Decoded_t decoded
uint8_t * interface_type_specific_data
size_t interface_type_specific_data_size
lazybiosType42FieldStatus_t field_status
uint8_t number_of_protocol_records
lazybiosType42ProtocolRecord_t * protocol_records
uint8_t interface_type_specific_data_length