![]() |
![]() |
![]() |
PackageKit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
gboolean pk_control_get_properties (PkControl *control
,,
GCancellable *cancellable);
GError **errorgchar ** pk_control_get_transaction_list (PkControl *control
,,
GCancellable *cancellable);
GError **errorgboolean pk_control_set_proxy (PkControl *control
,const
,gchar *proxy_httpconst
,gchar *proxy_ftp,
GCancellable *cancellable);
GError **errorgboolean pk_control_set_proxy2 (PkControl *control
,const
,gchar *proxy_httpconst
,gchar *proxy_httpsconst
,gchar *proxy_ftpconst
,gchar *proxy_socksconst
,gchar *no_proxyconst
,gchar *pac,
GCancellable *cancellable);
GError **errorgboolean pk_control_set_root (PkControl *control
,const
,gchar *root,
GCancellable *cancellable);
GError **errorgboolean pk_control_suggest_daemon_quit (PkControl *control
,,
GCancellable *cancellable);
GError **error
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.
|
a valid PkControl instance |
|
a NULL |
|
A NULL |
Returns : |
TRUE |
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.
|
a valid PkControl instance |
|
a NULL |
|
A NULL |
Returns : |
The list of transaction id's, or NULL g_strfreev() |
Since 0.5.3
gboolean pk_control_set_proxy (PkControl *control
,const
,gchar *proxy_httpconst
,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.
|
a valid PkControl instance |
|
the HTTP proxy server |
|
the FTP proxy server |
|
a NULL |
|
A NULL |
Returns : |
TRUE pk_control_set_proxy2() . |
Since 0.6.3
gboolean pk_control_set_proxy2 (PkControl *control
,const
,gchar *proxy_httpconst
,gchar *proxy_httpsconst
,gchar *proxy_ftpconst
,gchar *proxy_socksconst
,gchar *no_proxyconst
,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.
|
a valid PkControl instance |
|
the HTTP proxy server |
|
the FTP proxy server |
|
a NULL |
|
A NULL |
Returns : |
TRUE |
Since 0.6.13
gboolean pk_control_set_root (PkControl *control
,const
,gchar *root,
GCancellable *cancellable);
GError **error
Sets the install root to use in the daemon. Warning: this function is synchronous, and may block. Do not use it in GUI applications.
|
a valid PkControl instance |
|
the install root, e.g. '/' |
|
a NULL |
|
A NULL |
Returns : |
TRUE |
Since 0.6.4
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.
|
a valid PkControl instance |
|
a NULL |
|
A NULL |
Returns : |
TRUE |
Since 0.6.2