required_by_async


Description:

[ CCode ( finish_name = "pk_client_generic_finish" ) ]
[ Version ( since = "0.5.2" ) ]
public async Results required_by_async (Bitfield filters, string[] package_ids, bool recursive, Cancellable? cancellable, ProgressCallback progress_callback) throws Error

Get the packages that require this one, i.e. parent->child.

Parameters:

this

a valid Client instance

filters

a Bitfield such as GUI | FREE or NONE

package_ids

a null terminated array of package_id structures such as "hal;0.0.1;i386;fedora"

recursive

If we should search recursively for requires

cancellable

a Cancellable or null

progress_callback

the function to run when the progress changes

callback_ready

the function to run on completion

progress_user_data

data to pass to progress_callback

user_data

the data to pass to callback_ready




2022 vala-language.org