lazybios 3.0.0
Lightweight SMBIOS/DMI parsing library
Loading...
Searching...
No Matches
Type 17: Memory Device Information

Memory device identity, capacity, technology, and status parsing and decoding. More...

Data Structures

struct  lazybiosType17_t
 Parsed SMBIOS Type 17 Memory Device Information. More...
struct  lazybiosType17Array_t
 A parsed set of SMBIOS Type 17 structures. More...

Functions

void lazybiosFreeType17 (lazybiosType17Array_t *Type17)
 Releases a parsed set of SMBIOS Type 17 structures.
LAZYBIOS_WARN_UNUSED lazybiosType17Array_tlazybiosGetType17 (const lazybiosDMI_t *DMIData)
 Parses all SMBIOS Type 17 structures.

Detailed Description

Memory device identity, capacity, technology, and status parsing and decoding.

Function Documentation

◆ lazybiosFreeType17()

void lazybiosFreeType17 ( lazybiosType17Array_t * Type17)

#include <type17.h>

Releases a parsed set of SMBIOS Type 17 structures.

Parameters
Type17Set to release; may be NULL.

References lazybiosFreeType17().

Referenced by lazybiosFreeType17().

◆ lazybiosGetType17()

LAZYBIOS_WARN_UNUSED lazybiosType17Array_t * lazybiosGetType17 ( const lazybiosDMI_t * DMIData)

#include <type17.h>

Parses all SMBIOS Type 17 structures.

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

References LAZYBIOS_WARN_UNUSED, and lazybiosGetType17().

Referenced by lazybiosGetType17().