Method

AppStreamValidatoradd_release_bytes

Declaration [src]

gboolean
as_validator_add_release_bytes (
  AsValidator* validator,
  const gchar* release_fname,
  GBytes* release_metadata,
  GError** error
)

Description [src]

Add release metadata explicitly from bytes.

Available since:0.16.0

Parameters

release_fname const gchar*
 

File basename of the release metadata file to add.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
release_metadata GBytes
 

Data of the release metadata file.

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

Return value

Returns: gboolean
  No description available.