Method

AppStreamPoolget_components_by_provided_item

Declaration [src]

AsComponentBox*
as_pool_get_components_by_provided_item (
  AsPool* pool,
  AsProvidedKind kind,
  const gchar* item
)

Description [src]

Find components in the AppStream data pool which provide a certain item.

Parameters

kind AsProvidedKind
 

An AsProvidesKind.

item const gchar*
 

The value of the provided item.

 The data is owned by the caller of the function.
 The value 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.