Method

FwupdClientbuild_report_security

Declaration [src]

gchar*
fwupd_client_build_report_security (
  FwupdClient* self,
  GPtrArray* attrs,
  GHashTable* metadata,
  GError** error
)

Description [src]

Builds a JSON security report.

You must have called fwupd_client_connect_async() on self before using this method.

Available since:2.0.0

Parameters

attrs An array of None
 

Attributes.

 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.

Return value

Returns: gchar*
 

A string, or NULL on error.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.