diff options
author | Sebastian Heinlein <devel@glatzor.de> | 2011-12-09 09:20:32 +0100 |
---|---|---|
committer | Sebastian Heinlein <devel@glatzor.de> | 2011-12-09 11:14:53 +0100 |
commit | af5596aec207414915f3780ba535f5c7f8e2c827 (patch) | |
tree | beecf77fab86164c542f71b9c373c24af0e3ccfd /lib/packagekit-glib2/pk-client.h | |
parent | d157648c084dbc7883411b63ad915b03ef025619 (diff) |
Add new roles SimulateRepairSystem and RepairSystem
This allows to recover from a broken package management system,
e.g. if a package with unsatisfied dependencies has been forced to
install using a low level tool like rpm or dpkg or if the system
was shut down during an installation.
Diffstat (limited to 'lib/packagekit-glib2/pk-client.h')
-rw-r--r-- | lib/packagekit-glib2/pk-client.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/packagekit-glib2/pk-client.h b/lib/packagekit-glib2/pk-client.h index 11c2badcb..a4d24541a 100644 --- a/lib/packagekit-glib2/pk-client.h +++ b/lib/packagekit-glib2/pk-client.h @@ -402,6 +402,22 @@ void pk_client_upgrade_system_async (PkClient *client, GAsyncReadyCallback callback_ready, gpointer user_data); +void pk_client_repair_system_async (PkClient *client, + gboolean only_trusted, + GCancellable *cancellable, + PkProgressCallback progress_callback, + gpointer progress_user_data, + GAsyncReadyCallback callback_ready, + gpointer user_data); + + +void pk_client_simulate_repair_system_async (PkClient *client, + GCancellable *cancellable, + PkProgressCallback progress_callback, + gpointer progress_user_data, + GAsyncReadyCallback callback_ready, + gpointer user_data); + void pk_client_adopt_async (PkClient *client, const gchar *transaction_id, GCancellable *cancellable, |