Method

FwupdPluginBackendload

Declaration [src]

gboolean
fu_backend_load (
  FuBackend* self,
  JsonObject* json_object,
  const gchar* tag,
  FuBackendLoadFlags flags,
  GError** error
)

Description [src]

Loads the backend from a JSON object.

Available since:1.8.5

Parameters

json_object JsonObject*
 

A JsonObject.

 The data is owned by the caller of the function.
tag const gchar*
 

A string backend tag, or NULL.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
flags FuBackendLoadFlags
 

%FuBackendLoadFlags, typically FU_BACKEND_LOAD_FLAG_NONE

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

Return value

Returns: gboolean
 

TRUE for success.