diff 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
line wrap: on
line diff
--- a/pui-backend.h	Sun Jun 17 17:05:16 2018 +0200
+++ b/pui-backend.h	Tue Jun 19 15:44:36 2018 +0200
@@ -43,6 +43,8 @@
 void		pui_backend_new_async(GCancellable *, GAsyncReadyCallback,
     gpointer);
 PuiBackend *	pui_backend_new_finish(GAsyncResult *, GError **);
+void		pui_backend_set_proxy(PuiBackend *, const gchar *,
+    const gchar *, const gchar *, const gchar *, const gchar *, const gchar *);
 
 G_END_DECLS