Whole-table parsing and SMBIOS version reporting. More...
Enumerations | |
| enum | lazybiosFieldStatusValue_t { LAZYBIOS_FIELD_ABSENT = 0 , LAZYBIOS_FIELD_PRESENT , LAZYBIOS_FIELD_UNREACHABLE } |
| Describes whether a parsed SMBIOS field was available and valid. More... | |
Functions | |
| LAZYBIOS_WARN_UNUSED int | lazybiosParseAll (lazybiosCTX_t *ctx) |
| Parses every implemented structure type into the context. | |
Whole-table parsing and SMBIOS version reporting.
#include <lazybios.h>
Describes whether a parsed SMBIOS field was available and valid.
Definition at line 101 of file lazybios.h.
| LAZYBIOS_WARN_UNUSED int lazybiosParseAll | ( | lazybiosCTX_t * | ctx | ) |
#include <lazybios.h>
Parses every implemented structure type into the context.
Types already present in ctx are left untouched, so calling this more than once does not strand an earlier result set. A type the table does not contain still yields a valid empty set; a type whose parse fails is left NULL, so check each member before use as usual.
| ctx | Context holding loaded SMBIOS data. |
References LAZYBIOS_WARN_UNUSED, and lazybiosParseAll().
Referenced by lazybiosParseAll().