Method

FwupdPluginBackendsave

Declaration [src]

gboolean
fu_backend_save (
  FuBackend* self,
  JsonBuilder* json_builder,
  const gchar* tag,
  FuBackendSaveFlags flags,
  GError** error
)

Description [src]

Saves the backend to a JSON builder.

Available since:1.8.5

Parameters

json_builder JsonBuilder*
 

A JsonBuilder.

 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 FuBackendSaveFlags
 

%FuBackendSaveFlags, typically FU_BACKEND_SAVE_FLAG_NONE

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

Return value

Returns: gboolean
 

TRUE for success.