Function

FwupdPlugincommon_cab_build_silo

Declaration [src]

XbSilo*
fu_common_cab_build_silo (
  GBytes* blob,
  guint64 size_max,
  GError** error
)

Description [src]

Create an AppStream silo from a cabinet archive.

Available since:1.2.0

Parameters

blob GBytes*
 

A readable blob.

 The data is owned by the caller of the function.
size_max guint64
 

The maximum size of the archive.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: XbSilo*
 

A XbSilo, or NULL on error.

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