Function

FwupdReleasearray_filter_flags

Declaration [src]

GPtrArray*
fwupd_release_array_filter_flags (
  GPtrArray* rels,
  FwupdReleaseFlags include,
  FwupdReleaseFlags exclude,
  GError** error
)

Description [src]

Creates an array of new releases that match using fwupd_release_match_flags().

Available since:1.9.3

Parameters

rels An array of None
 

Releases.

 The data is owned by the caller of the function.
include FwupdReleaseFlags
 

FwupdReleaseFlags, or FWUPD_RELEASE_FLAG_NONE.

exclude FwupdReleaseFlags
 

FwupdReleaseFlags, or FWUPD_RELEASE_FLAG_NONE.

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

Return value

Returns: An array of None
 

Releases.

 The caller of the function takes ownership of the data container, but not the data inside it.