summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Wagner <info@gunibert.de>2022-02-03 07:59:02 +0100
committerGünther Wagner <info@gunibert.de>2022-02-03 07:59:02 +0100
commit45da5ddd543f7f129ed4c42003f3ff159e2acea5 (patch)
treeec99399671915e01b923c94db090768e1f11567b
parenta7f9ee09f4b5ff483916eae8356b3961bf045730 (diff)
downloadlibrest-45da5ddd543f7f129ed4c42003f3ff159e2acea5.tar.gz
auth: document auth as deprecated
-rw-r--r--rest/rest-proxy-auth.c6
-rw-r--r--rest/rest-proxy-auth.h3
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