Method
AppStreamPoolget_components_by_launchable
Declaration [src]
AsComponentBox*
as_pool_get_components_by_launchable (
AsPool* pool,
AsLaunchableKind kind,
const gchar* id
)
Description [src]
Find components in the AppStream data pool which provide a specific launchable.
See AsLaunchable
for details on launchables, or refer to the AppStream specification.
Available since: | 0.11.4 |
Parameters
kind |
AsLaunchableKind |
An |
|
id |
const gchar* |
The ID of the launchable. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |
Return value
Returns: | AsComponentBox |
An |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. |