Method

FwupdRemotesave_to_filename

Declaration [src]

gboolean
fwupd_remote_save_to_filename (
  FwupdRemote* self,
  const gchar* filename,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Saves metadata about the remote to a keyfile.

Available since:1.8.13

Parameters

filename const gchar*
 

A filename.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
cancellable GCancellable
 

Optional GCancellable.

 The argument can be NULL.
 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.