Method

FwupdClientget_releases

Declaration [src]

GPtrArray*
fwupd_client_get_releases (
  FwupdClient* self,
  const gchar* device_id,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Gets all the releases for a specific device.

Available since:0.9.3

Parameters

device_id const gchar*
 

The device ID.

 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: An array of None
 

Results.

 The caller of the method takes ownership of the data container, but not the data inside it.