Method
FwupdClientget_releases
Declaration [src]
GPtrArray*
fwupd_client_get_releases (
FwupdClient* self,
const gchar* device_id,
GCancellable* cancellable,
GError** error
)
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 |
|
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 FwupdRelease |
Results. |
|
The caller of the method takes ownership of the data container, but not the data inside it. |