Function

FwupdReportfrom_variant

Declaration [src]

FwupdReport*
fwupd_report_from_variant (
  GVariant* value
)

Description [src]

Creates a new report using serialized data.

Available since:1.8.8

Parameters

value GVariant*
 

The serialized data.

 The data is owned by the caller of the function.

Return value

Returns: FwupdReport
 

A new FwupdReport, or NULL if value was invalid.

 The caller of the function takes ownership of the data, and is responsible for freeing it.