Top | ![]() |
![]() |
![]() |
![]() |
GQuark
pk_offline_error_quark (void
);
An error quark for PkOfflineError.
Since: 0.9.6
const gchar *
pk_offline_action_to_string (PkOfflineAction action
);
Converts the enumerated value to a string.
Since: 0.9.6
PkOfflineAction
pk_offline_action_from_string (const gchar *action
);
Converts the string to the enumerated value.
Since: 0.9.6
PkOfflineAction
pk_offline_get_action (GError **error
);
Gets the action that will be taken after the offline action has completed.
An error is set if the the value PK_OFFLINE_ACTION_UNKNOWN
is returned.
Since: 0.9.6
gchar **
pk_offline_get_prepared_ids (GError **error
);
Gets the package-ids in the prepared transaction.
Since: 0.9.6
gchar *
pk_offline_get_prepared_upgrade_name (GError **error
);
Gets the name of the prepared system upgrade in the prepared transaction.
Since: 1.1.2
gchar *
pk_offline_get_prepared_upgrade_version
(GError **error
);
Gets the version of the prepared system upgrade in the prepared transaction.
Since: 1.0.12
PkPackageSack *
pk_offline_get_prepared_sack (GError **error
);
Gets a package sack of the packages in the prepared transaction.
Since: 0.9.6
GFileMonitor * pk_offline_get_prepared_monitor (GCancellable *cancellable
,GError **error
);
Gets a file monitor for the prepared transaction.
Since: 0.9.6
GFileMonitor * pk_offline_get_prepared_upgrade_monitor (GCancellable *cancellable
,GError **error
);
Gets a file monitor for the prepared system upgrade transaction.
Since: 1.0.12
GFileMonitor * pk_offline_get_action_monitor (GCancellable *cancellable
,GError **error
);
Gets a file monitor for the trigger.
Since: 0.9.6
PkResults *
pk_offline_get_results (GError **error
);
Gets the last result of the offline transaction.
Since: 0.9.6
guint64
pk_offline_get_results_mtime (GError **error
);
Gets the modification time of the prepared transaction.
Since: 0.9.6
gboolean pk_offline_cancel (GCancellable *cancellable
,GError **error
);
Cancels the offline operation that has been scheduled. If there is no scheduled offline operation then this method returns with success.
Since: 0.9.6
gboolean pk_offline_clear_results (GCancellable *cancellable
,GError **error
);
Crears the last offline operation report, which may be success or failure. If the report does not exist then this method returns success.
Since: 0.9.6
gboolean pk_offline_trigger (PkOfflineAction action
,GCancellable *cancellable
,GError **error
);
Triggers the offline update so that the next reboot will perform the pending transaction.
Since: 0.9.6
gboolean pk_offline_trigger_upgrade (PkOfflineAction action
,GCancellable *cancellable
,GError **error
);
Triggers the offline system upgrade so that the next reboot will perform the pending transaction.
Since: 1.0.12