| Top |
gboolean pk_control_get_properties (PkControl *control,GCancellable *cancellable,GError **error);
Gets the properties the daemon supports. Warning: this function is synchronous, and may block. Do not use it in GUI applications.
Since: 0.5.3
gchar ** pk_control_get_transaction_list (PkControl *control,GCancellable *cancellable,GError **error);
Gets the transaction list in progress. Warning: this function is synchronous, and may block. Do not use it in GUI applications.
Since: 0.5.3
gboolean pk_control_suggest_daemon_quit (PkControl *control,GCancellable *cancellable,GError **error);
Suggests to the daemon that it should quit as soon as possible. Warning: this function is synchronous, and may block. Do not use it in GUI applications.
Since: 0.6.2
gboolean pk_control_set_proxy (PkControl *control,const gchar *proxy_http,const gchar *proxy_ftp,GCancellable *cancellable,GError **error);
Sets the network proxy to use in the daemon. Warning: this function is synchronous, and may block. Do not use it in GUI applications.
control |
a valid PkControl instance |
|
proxy_http |
the HTTP proxy server |
|
proxy_ftp |
the FTP proxy server |
|
cancellable |
a GCancellable or |
|
error |
TRUE if the proxy was set correctly
NOTE: This is just provided for backwards compatibility.
Clients should really be using pk_control_set_proxy2().
Since: 0.6.3
gboolean pk_control_set_proxy2 (PkControl *control,const gchar *proxy_http,const gchar *proxy_https,const gchar *proxy_ftp,const gchar *proxy_socks,const gchar *no_proxy,const gchar *pac,GCancellable *cancellable,GError **error);
Sets the network proxy to use in the daemon. Warning: this function is synchronous, and may block. Do not use it in GUI applications.
control |
a valid PkControl instance |
|
proxy_http |
the HTTP proxy server |
|
proxy_ftp |
the FTP proxy server |
|
cancellable |
a GCancellable or |
|
error |
Since: 0.6.13