diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2014-09-02 16:23:32 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-09-03 10:22:23 +0200 |
commit | 55f8e9626a50d81fb893508698205057668bf792 (patch) | |
tree | dd48d37dd9a0e06cf281145f749084f17f188295 /rest/rest-proxy-call-private.h | |
parent | 1d71e83ac3ff7baaee43e0e66daaeeecb4ba96b4 (diff) | |
download | librest-55f8e9626a50d81fb893508698205057668bf792.tar.gz |
oauth: Make sure RestProxyCall::url is set before using it
The oauth "prepare" step needs RestProxyCall::url to be set, but since
commit c66b6d this is only set after the "prepare" and
"serialize_headers" methods have been called. As it's
better if OAuthProxyCall do not directly access RestProxyCall private
data, this commit adds a getter to RestProxyCall which will be used
to make sure RestProxyCall::url is set when OAuthProxyCall::prepare
needs it.
https://bugzilla.gnome.org/show_bug.cgi?id=708359
Diffstat (limited to 'rest/rest-proxy-call-private.h')
-rw-r--r-- | rest/rest-proxy-call-private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rest/rest-proxy-call-private.h b/rest/rest-proxy-call-private.h index c915691..573794e 100644 --- a/rest/rest-proxy-call-private.h +++ b/rest/rest-proxy-call-private.h @@ -55,6 +55,8 @@ struct _RestProxyCallPrivate { RestProxyCallAsyncClosure *cur_call_closure; }; +const char *rest_proxy_call_get_url (RestProxyCall *call); + G_END_DECLS #endif /* _REST_PROXY_CALL_PRIVATE */ |