25#ifndef LAZYBIOS_TYPE2_H
26#define LAZYBIOS_TYPE2_H
28#ifndef LAZYBIOS_SHARED_API_H
29#define LAZYBIOS_TYPE_HEADER_ONLY
31#undef LAZYBIOS_TYPE_HEADER_ONLY
LAZYBIOS_WARN_UNUSED lazybiosType2Array_t * lazybiosGetType2(const lazybiosDMI_t *DMIData)
Parses all SMBIOS Type 2 structures.
void lazybiosFreeType2(lazybiosType2Array_t *Type2)
Releases a parsed set of SMBIOS Type 2 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 2 structures.
lazybiosType2_t * entries
Decoded forms of the Type 2 encoded fields.
Availability metadata for SMBIOS Type 2 fields.
lazybiosFieldStatus_t feature_flags
lazybiosFieldStatus_t chassis_handle
lazybiosFieldStatus_t version
lazybiosFieldStatus_t number_of_contained_object_handles
lazybiosFieldStatus_t location_in_chassis
lazybiosFieldStatus_t manufacturer
lazybiosFieldStatus_t contained_object_handles
lazybiosFieldStatus_t product
lazybiosFieldStatus_t asset_tag
lazybiosFieldStatus_t board_type
lazybiosFieldStatus_t serial_number
Parsed SMBIOS Type 2 Baseboard Information.
lazybiosType2FieldStatus_t field_status
lazybiosType2Decoded_t decoded
const char * manufacturer
uint16_t * contained_object_handles
const char * serial_number
const char * location_in_chassis
uint8_t number_of_contained_object_handles