diff options
author | Günther Wagner <info@gunibert.de> | 2022-02-03 07:59:02 +0100 |
---|---|---|
committer | Günther Wagner <info@gunibert.de> | 2022-02-03 07:59:02 +0100 |
commit | 45da5ddd543f7f129ed4c42003f3ff159e2acea5 (patch) | |
tree | ec99399671915e01b923c94db090768e1f11567b | |
parent | a7f9ee09f4b5ff483916eae8356b3961bf045730 (diff) | |
download | librest-45da5ddd543f7f129ed4c42003f3ff159e2acea5.tar.gz |
auth: document auth as deprecated
-rw-r--r-- | rest/rest-proxy-auth.c | 6 | ||||
-rw-r--r-- | rest/rest-proxy-auth.h | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/rest/rest-proxy-auth.c b/rest/rest-proxy-auth.c index 0b2ec9f..59bfb29 100644 --- a/rest/rest-proxy-auth.c +++ b/rest/rest-proxy-auth.c @@ -102,6 +102,8 @@ rest_proxy_auth_new (RestProxy *proxy, * * If @auth is already paused, this function does not * do anything. + * + * Deprecated: 0.9: This object get removed from [class@Rest.Proxy] */ void rest_proxy_auth_pause (RestProxyAuth *auth) @@ -122,6 +124,8 @@ rest_proxy_auth_pause (RestProxyAuth *auth) * @auth: a paused #RestProxyAuth * * Unpauses a paused #RestProxyAuth instance. + * + * Deprecated: 0.9: This object get removed from [class@Rest.Proxy] */ void rest_proxy_auth_unpause (RestProxyAuth *auth) @@ -152,6 +156,8 @@ rest_proxy_auth_unpause (RestProxyAuth *auth) * by cancelling the associated #SoupMessage. * It results in returning #GError REST_PROXY_ERROR_CANCELLED * to the function that requested the authentication. + * + * Deprecated: 0.9: This object get removed from [class@Rest.Proxy] */ void rest_proxy_auth_cancel (RestProxyAuth *auth) diff --git a/rest/rest-proxy-auth.h b/rest/rest-proxy-auth.h index 816aaa9..3ec487f 100644 --- a/rest/rest-proxy-auth.h +++ b/rest/rest-proxy-auth.h @@ -64,8 +64,11 @@ typedef struct { GType rest_proxy_auth_get_type (void); +G_DEPRECATED void rest_proxy_auth_pause (RestProxyAuth *auth); +G_DEPRECATED void rest_proxy_auth_unpause (RestProxyAuth *auth); +G_DEPRECATED void rest_proxy_auth_cancel (RestProxyAuth *auth); G_END_DECLS |