Method

FwupdPluginSmbiosget_data

Declaration [src]

GBytes*
fu_smbios_get_data (
  FuSmbios* self,
  guint8 type,
  GError** error
)

Description [src]

Reads a SMBIOS data blob, which includes the SMBIOS section header.

Available since:1.0.0

Parameters

type guint8
 

A structure type, e.g. FU_SMBIOS_STRUCTURE_TYPE_BIOS.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GBytes
 

A GBytes, or NULL if invalid or not found.

 The caller of the method takes ownership of the data, and is responsible for freeing it.