| 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 |
optional return location for an error. |
[nullable] |
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 |
optional return location for an error. |
[nullable] |
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 |
optional return location for an error. |
[nullable] |
Since: 1.0.0
#define FU_SMBIOS_STRUCTURE_TYPE_BIOS 0x00
The SMBIOS structure type for the BIOS.
Since: 1.5.5
#define FU_SMBIOS_STRUCTURE_TYPE_SYSTEM 0x01
The SMBIOS structure type for the system as a whole.
Since: 1.5.5
#define FU_SMBIOS_STRUCTURE_TYPE_BASEBOARD 0x02
The SMBIOS structure type for the baseboard (motherboard).
Since: 1.5.5
#define FU_SMBIOS_STRUCTURE_TYPE_CHASSIS 0x03
The SMBIOS structure type for the chassis.
Since: 1.5.5
#define FU_SMBIOS_STRUCTURE_TYPE_LAST 0x04
The last possible SMBIOS structure type.
Since: 1.5.5