comparison pui-backend.h @ 6:2477a6151087

Make PackagKit use the user's network proxies Pick up network proxies from the user's environment and make PackagKit use them. Setting network proxies is a privileged operation, so it is only attempted if the user is allowed to use the polkit action org.freedesktop.packagekit.system-network-proxy-configure without authentication.
author Guido Berhoerster <guido+pui@berhoerster.name>
date Tue, 19 Jun 2018 15:44:36 +0200
parents 6884bb8130ca
children adba37525ee5
comparison
equal deleted inserted replaced
5:a4020e99e550 6:2477a6151087
41 41
42 GQuark pui_backend_error_quark(void); 42 GQuark pui_backend_error_quark(void);
43 void pui_backend_new_async(GCancellable *, GAsyncReadyCallback, 43 void pui_backend_new_async(GCancellable *, GAsyncReadyCallback,
44 gpointer); 44 gpointer);
45 PuiBackend * pui_backend_new_finish(GAsyncResult *, GError **); 45 PuiBackend * pui_backend_new_finish(GAsyncResult *, GError **);
46 void pui_backend_set_proxy(PuiBackend *, const gchar *,
47 const gchar *, const gchar *, const gchar *, const gchar *, const gchar *);
46 48
47 G_END_DECLS 49 G_END_DECLS
48 50
49 #endif /* !PUI_BACKEND_H */ 51 #endif /* !PUI_BACKEND_H */