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

Baseboard and module information parsing and decoding. More...

Data Structures

struct  lazybiosType2_t
 Parsed SMBIOS Type 2 Baseboard Information. More...
struct  lazybiosType2Array_t
 A parsed set of SMBIOS Type 2 structures. More...

Functions

void lazybiosFreeType2 (lazybiosType2Array_t *Type2)
 Releases a parsed set of SMBIOS Type 2 structures.
LAZYBIOS_WARN_UNUSED lazybiosType2Array_tlazybiosGetType2 (const lazybiosDMI_t *DMIData)
 Parses all SMBIOS Type 2 structures.

Detailed Description

Baseboard and module information parsing and decoding.

Function Documentation

◆ lazybiosFreeType2()

void lazybiosFreeType2 ( lazybiosType2Array_t * Type2)

#include <type2.h>

Releases a parsed set of SMBIOS Type 2 structures.

Parameters
Type2Set to release; may be NULL.

References lazybiosFreeType2().

Referenced by lazybiosFreeType2().

◆ lazybiosGetType2()

LAZYBIOS_WARN_UNUSED lazybiosType2Array_t * lazybiosGetType2 ( const lazybiosDMI_t * DMIData)

#include <type2.h>

Parses all SMBIOS Type 2 structures.

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

References LAZYBIOS_WARN_UNUSED, and lazybiosGetType2().

Referenced by lazybiosGetType2().