Top |
PkClientHelperPkClientHelper — helper object to run a helper session process for the lifetime of a transaction |
PkClientHelper * | pk_client_helper_new () |
gboolean | pk_client_helper_stop () |
gboolean | pk_client_helper_start () |
This GObject can be used to run a session helper program out of band with the normal PackageKit transaction. This allows an external program such as debconf to be used that needs direct console access.
client ----> packagekit-glib ---> dbus ---> packagekitd ---> apt .------------^ ^ debconf ___________________ (SetHints) | | ___| PkClientHelper __.____.____.______/_.____.____.__/ ^-----|___________________/ (socket in tmp) (stdin & stdout )
------------.------------------/ ------------.---------/ | | user session system context
gboolean pk_client_helper_stop (PkClientHelper *client_helper
,GError **error
);
Stops the helper process, by killing the helper process and deleting the socket.
Since: 0.6.10