update_packages


Description:

[ Version ( since = "0.8.1" ) ]
public Results update_packages (Bitfield transaction_flags, string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error

Update specific packages to the newest available versions.

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

Parameters:

this

a valid Client instance

transaction_flags

a transaction type bitfield

package_ids

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

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




2022 vala-language.org