Top | ![]() |
![]() |
![]() |
![]() |
FuSmbios * | fu_smbios_new () |
gchar * | fu_smbios_to_string () |
const gchar * | fu_smbios_get_string () |
guint | fu_smbios_get_integer () |
GBytes * | fu_smbios_get_data () |
#define | FU_TYPE_SMBIOS |
#define | FU_SMBIOS_STRUCTURE_TYPE_BIOS |
#define | FU_SMBIOS_STRUCTURE_TYPE_SYSTEM |
#define | FU_SMBIOS_STRUCTURE_TYPE_BASEBOARD |
#define | FU_SMBIOS_STRUCTURE_TYPE_CHASSIS |
#define | FU_SMBIOS_STRUCTURE_TYPE_LAST |
enum | FuSmbiosChassisKind |
FuSmbios |
FuSmbios *
fu_smbios_new (void
);
Creates a new object to parse SMBIOS data.
Since: 1.0.0
gchar *
fu_smbios_to_string (FuSmbios *self
);
Dumps the parsed SMBIOS data to a string.
Since: 1.0.0
const gchar * fu_smbios_get_string (FuSmbios *self
,guint8 type
,guint8 offset
,GError **error
);
Reads a string from the SMBIOS string table of a specific structure.
The type
and offset
can be referenced from the DMTF SMBIOS specification:
https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.1.1.pdf
self |
A FuSmbios |
|
type |
A structure type, e.g. |
|
offset |
A structure offset |
|
error |
A GError or |
Since: 1.0.0
guint fu_smbios_get_integer (FuSmbios *self
,guint8 type
,guint8 offset
,GError **error
);
Reads an integer value from the SMBIOS string table of a specific structure.
The type
and offset
can be referenced from the DMTF SMBIOS specification:
https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.1.1.pdf
self |
A FuSmbios |
|
type |
A structure type, e.g. |
|
offset |
A structure offset |
|
error |
A GError or |
Since: 1.5.0
GBytes * fu_smbios_get_data (FuSmbios *self
,guint8 type
,GError **error
);
Reads a SMBIOS data blob, which includes the SMBIOS section header.
self |
A FuSmbios |
|
type |
A structure type, e.g. |
|
error |
A GError or |
Since: 1.0.0