lazybios 3.0.0
Lightweight SMBIOS/DMI parsing library
Loading...
Searching...
No Matches
Type 39: System Power Supply

Power-supply identity, capacity, characteristics, and probe associations. More...

Data Structures

struct  lazybiosType39_t
 Parsed SMBIOS Type 39 System Power Supply information. More...
struct  lazybiosType39Array_t
 A parsed set of SMBIOS Type 39 structures. More...

Functions

void lazybiosFreeType39 (lazybiosType39Array_t *Type39)
 Releases a parsed set of SMBIOS Type 39 structures.
LAZYBIOS_WARN_UNUSED lazybiosType39Array_tlazybiosGetType39 (const lazybiosDMI_t *DMIData)
 Parses all SMBIOS Type 39 structures.

Detailed Description

Power-supply identity, capacity, characteristics, and probe associations.

Function Documentation

◆ lazybiosFreeType39()

void lazybiosFreeType39 ( lazybiosType39Array_t * Type39)

#include <type39.h>

Releases a parsed set of SMBIOS Type 39 structures.

Parameters
Type39Set to release; may be NULL.

References lazybiosFreeType39().

Referenced by lazybiosFreeType39().

◆ lazybiosGetType39()

LAZYBIOS_WARN_UNUSED lazybiosType39Array_t * lazybiosGetType39 ( const lazybiosDMI_t * DMIData)

#include <type39.h>

Parses all SMBIOS Type 39 structures.

Parameters
DMIDataRaw DMI table container to parse.
Returns
Newly allocated set, empty when the table holds no Type 39 structure, or NULL when the arguments are unusable or an allocation fails.

References LAZYBIOS_WARN_UNUSED, and lazybiosGetType39().

Referenced by lazybiosGetType39().