Method
FwupdClientupload_report
Declaration [src]
gchar*
fwupd_client_upload_report (
FwupdClient* self,
const gchar* url,
const gchar* payload,
const gchar* signature,
FwupdClientUploadFlags flags,
GCancellable* cancellable,
GError** error
)
Description [src]
Uploads a report to a remote server. The fwupd_client_set_user_agent()
function
should be called before this method is used.
Available since: | 1.9.20 |
Parameters
url |
const gchar* |
The remote URL. |
|
The data is owned by the caller of the function. | |
The string is a NUL terminated UTF-8 string. | |
payload |
const gchar* |
Payload string. |
|
The data is owned by the caller of the function. | |
The string is a NUL terminated UTF-8 string. | |
signature |
const gchar* |
Signature string. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The string is a NUL terminated UTF-8 string. | |
flags |
FwupdClientUploadFlags |
Download flags, e.g. |
|
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 . |