Method
AppStreamRelationis_satisfied
Declaration [src]
AsRelationCheckResult*
as_relation_is_satisfied (
AsRelation* relation,
AsSystemInfo* system_info,
AsPool* pool,
GError** error
)
Description [src]
Test if this relation is satisfied on the current system or with the
provided AsPool
. If no AsSystemInfo
is found, a temporary one will be
created. If no AsPool
is provided, any component relationships can not
be validated and an error will be thrown.
Parameters
system_info |
AsSystemInfo |
An |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
pool |
AsPool |
An |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | AsRelationCheckResult |
An |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL . |