summaryrefslogtreecommitdiff
path: root/rest/rest-proxy-auth-private.h
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-06-12 21:45:03 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2012-06-28 12:33:48 +0200
commit5e22174503a61a04f0335c691e526ac5770d22ab (patch)
tree53f41b5d46c1c7a101c759de1187e71dd37401ca /rest/rest-proxy-auth-private.h
parent948e5d908e1a9cf25375668d9167da7051021ce6 (diff)
downloadlibrest-5e22174503a61a04f0335c691e526ac5770d22ab.tar.gz
Add rest_proxy_auth_[un]pause
They can be used in RestProxy::authenticate signals to suspend the current authentication attempt. This allows to get back to the mainloop to get the credentials, and to then rerun the call with the correct credentials. https://bugzilla.gnome.org/show_bug.cgi?id=658937
Diffstat (limited to 'rest/rest-proxy-auth-private.h')
-rw-r--r--rest/rest-proxy-auth-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rest/rest-proxy-auth-private.h b/rest/rest-proxy-auth-private.h
index 056174e..3b92782 100644
--- a/rest/rest-proxy-auth-private.h
+++ b/rest/rest-proxy-auth-private.h
@@ -32,6 +32,7 @@ RestProxyAuth* rest_proxy_auth_new (RestProxy *proxy,
SoupSession *session,
SoupMessage *message,
SoupAuth *auth);
+gboolean rest_proxy_auth_is_paused (RestProxyAuth *auth);
G_END_DECLS