Method
FwupdClientbuild_report_history
Declaration [src]
gchar*
fwupd_client_build_report_history (
FwupdClient* self,
GPtrArray* devices,
FwupdRemote* remote,
GHashTable* metadata,
GError** error
)
Description [src]
Builds a JSON report for the list of devices.
This function should be called before asking the interactive user if they want to upload a report — as this function filters devices and may return an error if there is nothing to do.
You must have called fwupd_client_connect_async() on self before using
this method.
| Available since: | 2.0.0 |
Parameters
devices |
An array of None |
Devices. |
|
| The data is owned by the caller of the function. | |
remote |
FwupdRemote |
Optional |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
metadata |
GHashTable |
Attributes. |
|
| The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError*, or NULL. |