Method

FwupdReleasehas_category

Declaration [src]

gboolean
fwupd_release_has_category (
  FwupdRelease* self,
  const gchar* category
)

Description [src]

Finds out if the release has the update category.

Available since:1.2.7

Parameters

category const gchar*
 

The update category, e.g. X-EmbeddedController

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

Return value

Returns: gboolean
 

TRUE if the release matches.