Method

AppStreamPoolget_components_by_categories

Declaration [src]

AsComponentBox*
as_pool_get_components_by_categories (
  AsPool* pool,
  gchar** categories
)

Description [src]

Return a list of components which are in all of the categories.

Parameters

categories An array of gchar*
 

An array of XDG categories to include.

 The array must be NULL-terminated.
 The data is owned by the caller of the function.
 Each element is a NUL terminated UTF-8 string.

Return value

Returns: AsComponentBox
 

An AsComponentBox of found components.

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