lazybios 3.0.0
Lightweight SMBIOS/DMI parsing library
Loading...
Searching...
No Matches
Type 3: Chassis Information

System enclosure and chassis information parsing and decoding. More...

Data Structures

struct  lazybiosType3_t
 Parsed SMBIOS Type 3 System Enclosure or Chassis Information. More...
struct  lazybiosType3Array_t
 A parsed set of SMBIOS Type 3 structures. More...

Functions

void lazybiosFreeType3 (lazybiosType3Array_t *Type3)
 Releases a parsed set of SMBIOS Type 3 structures.
LAZYBIOS_WARN_UNUSED lazybiosType3Array_tlazybiosGetType3 (const lazybiosDMI_t *DMIData)
 Parses all SMBIOS Type 3 Chassis Information structures.

Detailed Description

System enclosure and chassis information parsing and decoding.

Function Documentation

◆ lazybiosFreeType3()

void lazybiosFreeType3 ( lazybiosType3Array_t * Type3)

#include <type3.h>

Releases a parsed set of SMBIOS Type 3 structures.

Parameters
Type3Set to release; may be NULL.

References lazybiosFreeType3().

Referenced by lazybiosFreeType3().

◆ lazybiosGetType3()

LAZYBIOS_WARN_UNUSED lazybiosType3Array_t * lazybiosGetType3 ( const lazybiosDMI_t * DMIData)

#include <type3.h>

Parses all SMBIOS Type 3 Chassis Information structures.

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

References LAZYBIOS_WARN_UNUSED, and lazybiosGetType3().

Referenced by lazybiosGetType3().