Method

AppStreamReleaseListload_from_bytes

Declaration [src]

gboolean
as_release_list_load_from_bytes (
  AsReleaseList* rels,
  AsContext* context,
  GBytes* bytes,
  GError** error
)

Description [src]

Load release information from XML bytes.

Available since:0.16.0

Parameters

context AsContext
 

The attached AsContext or NULL to use the current context.

 The argument can be NULL.
 The data is owned by the caller of the function.
bytes GBytes
 

The release XML data as GBytes.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE on success.