depends_on


Description:

[ Version ( since = "0.5.3" ) ]
public Results depends_on (Bitfield filters, string[] package_ids, bool recursive, Cancellable? cancellable, ProgressCallback progress_callback) throws Error

Get the packages that depend this one, i.e. child.

parent.

Warning: this function is synchronous, and may block. Do not use it in GUI applications.

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 depends

cancellable

a Cancellable or null

progress_callback

the function to run when the progress changes

progress_user_data

data to pass to progress_callback

Returns:

a Results object, or null for error