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

System identity and wake-up information parsing and decoding. More...

Data Structures

struct  lazybiosType1_t
 Parsed SMBIOS Type 1 System Information. More...
struct  lazybiosType1Array_t
 A parsed set of SMBIOS Type 1 structures. More...

Functions

void lazybiosFreeType1 (lazybiosType1Array_t *Type1)
 Releases a parsed set of SMBIOS Type 1 structures.
LAZYBIOS_WARN_UNUSED lazybiosType1Array_tlazybiosGetType1 (const lazybiosDMI_t *DMIData)
 Parses all SMBIOS Type 1 structures.

Detailed Description

System identity and wake-up information parsing and decoding.

Function Documentation

◆ lazybiosFreeType1()

void lazybiosFreeType1 ( lazybiosType1Array_t * Type1)

#include <type1.h>

Releases a parsed set of SMBIOS Type 1 structures.

Parameters
Type1Set to release; may be NULL.

References lazybiosFreeType1().

Referenced by lazybiosFreeType1().

◆ lazybiosGetType1()

LAZYBIOS_WARN_UNUSED lazybiosType1Array_t * lazybiosGetType1 ( const lazybiosDMI_t * DMIData)

#include <type1.h>

Parses all SMBIOS Type 1 structures.

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

References LAZYBIOS_WARN_UNUSED, and lazybiosGetType1().

Referenced by lazybiosGetType1().