25#ifndef LAZYBIOS_TYPE37_H
26#define LAZYBIOS_TYPE37_H
28#ifndef LAZYBIOS_SHARED_API_H
29#define LAZYBIOS_TYPE_HEADER_ONLY
31#undef LAZYBIOS_TYPE_HEADER_ONLY
LAZYBIOS_WARN_UNUSED lazybiosType37Array_t * lazybiosGetType37(const lazybiosDMI_t *DMIData)
Parses all SMBIOS Type 37 structures.
void lazybiosFreeType37(lazybiosType37Array_t *Type37)
Releases a parsed set of SMBIOS Type 37 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 37 structures.
lazybiosType37_t * entries
Decoded forms of the Type 37 encoded fields.
const char * channel_type
Availability metadata for SMBIOS Type 37 fields.
lazybiosFieldStatus_t channel_type
lazybiosFieldStatus_t memory_devices
lazybiosFieldStatus_t maximum_channel_load
lazybiosFieldStatus_t memory_device_count
Availability metadata for a Type 37 memory-device entry.
lazybiosFieldStatus_t handle
lazybiosFieldStatus_t load
Parsed memory-device association in an SMBIOS Type 37 channel.
lazybiosType37MemoryDeviceFieldStatus_t field_status
Parsed SMBIOS Type 37 Memory Channel information.
uint8_t maximum_channel_load
lazybiosType37FieldStatus_t field_status
uint8_t memory_device_count
lazybiosType37Decoded_t decoded
lazybiosType37MemoryDevice_t * memory_devices