25#ifndef LAZYBIOS_TYPE36_H
26#define LAZYBIOS_TYPE36_H
28#ifndef LAZYBIOS_SHARED_API_H
29#define LAZYBIOS_TYPE_HEADER_ONLY
31#undef LAZYBIOS_TYPE_HEADER_ONLY
LAZYBIOS_WARN_UNUSED lazybiosType36Array_t * lazybiosGetType36(const lazybiosDMI_t *DMIData)
Parses all SMBIOS Type 36 structures.
void lazybiosFreeType36(lazybiosType36Array_t *Type36)
Releases a parsed set of SMBIOS Type 36 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 36 structures.
lazybiosType36_t * entries
Availability metadata for SMBIOS Type 36 fields.
lazybiosFieldStatus_t lower_threshold_non_recoverable
lazybiosFieldStatus_t lower_threshold_critical
lazybiosFieldStatus_t upper_threshold_non_recoverable
lazybiosFieldStatus_t lower_threshold_non_critical
lazybiosFieldStatus_t upper_threshold_non_critical
lazybiosFieldStatus_t upper_threshold_critical
Parsed SMBIOS Type 36 Management Device Threshold Data.
uint16_t upper_threshold_non_critical
uint16_t upper_threshold_non_recoverable
uint16_t upper_threshold_critical
uint16_t lower_threshold_non_critical
uint16_t lower_threshold_critical
uint16_t lower_threshold_non_recoverable
lazybiosType36FieldStatus_t field_status