Method

FwupdPluginEfivarsget_boot_data

Declaration [src]

GBytes*
fu_efivars_get_boot_data (
  FuEfivars* self,
  guint16 idx,
  GError** error
)

Description [src]

Gets the raw data of the BootXXXX variable.

Available since:2.0.0

Parameters

idx guint16
 

Boot index, typically 0x0001

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

Return value

Returns: GBytes
 

Boot data.

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