Method

FwupdRemoteload_from_filename

Declaration [src]

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

Description [src]

Loads metadata about the remote from a keyfile. This can be called zero or multiple times for each remote.

Available since:0.9.3

Parameters

filename const gchar*
 

A filename.

 The data is owned by the caller of the function.
 The string 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.