Virtual Method

FwupdPluginBackendsetup

Declaration [src]

gboolean
setup (
  FuBackend* self,
  FuProgress* progress,
  GError** error
)

Description [src]

Sets up the backend ready for use, which typically calls the subclassed setup function. No devices should be added or removed at this point.

Available since:1.6.1

Parameters

progress FuProgress
 

A FuProgress.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE for success.