Method

FwupdPluginPluginrunner_write_firmware

Declaration [src]

gboolean
fu_plugin_runner_write_firmware (
  FuPlugin* self,
  FuDevice* device,
  GBytes* blob_fw,
  FuProgress* progress,
  FwupdInstallFlags flags,
  GError** error
)

Description [src]

Call into the plugin’s write firmware routine.

Available since:1.7.0

Parameters

device FuDevice
 

A device.

 The data is owned by the caller of the function.
blob_fw GBytes
 

A data blob.

 The data is owned by the caller of the function.
progress FuProgress
 

A FuProgress.

 The data is owned by the caller of the function.
flags FwupdInstallFlags
 

Install flags.

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

Return value

Returns: gboolean
 

TRUE for success, FALSE for failure.