25#ifndef LAZYBIOS_TYPE39_H
26#define LAZYBIOS_TYPE39_H
28#ifndef LAZYBIOS_SHARED_API_H
29#define LAZYBIOS_TYPE_HEADER_ONLY
31#undef LAZYBIOS_TYPE_HEADER_ONLY
LAZYBIOS_WARN_UNUSED lazybiosType39Array_t * lazybiosGetType39(const lazybiosDMI_t *DMIData)
Parses all SMBIOS Type 39 structures.
void lazybiosFreeType39(lazybiosType39Array_t *Type39)
Releases a parsed set of SMBIOS Type 39 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 39 structures.
lazybiosType39_t * entries
Decoded forms of the Type 39 encoded fields.
char * power_supply_characteristics
const char * power_supply_type
const char * input_voltage_range_switching
Availability metadata for SMBIOS Type 39 fields.
lazybiosFieldStatus_t device_name
lazybiosFieldStatus_t manufacturer
lazybiosFieldStatus_t model_part_number
lazybiosFieldStatus_t power_supply_characteristics
lazybiosFieldStatus_t input_voltage_probe_handle
lazybiosFieldStatus_t cooling_device_handle
lazybiosFieldStatus_t input_current_probe_handle
lazybiosFieldStatus_t power_unit_group
lazybiosFieldStatus_t max_power_capacity
lazybiosFieldStatus_t asset_tag_number
lazybiosFieldStatus_t location
lazybiosFieldStatus_t revision_level
lazybiosFieldStatus_t serial_number
Parsed SMBIOS Type 39 System Power Supply information.
const char * model_part_number
const char * asset_tag_number
uint16_t power_supply_characteristics
uint16_t input_voltage_probe_handle
lazybiosType39FieldStatus_t field_status
uint16_t input_current_probe_handle
uint16_t cooling_device_handle
const char * revision_level
const char * manufacturer
lazybiosType39Decoded_t decoded
uint16_t max_power_capacity
const char * serial_number