diff options
author | Timm Bäder <mail@baedert.org> | 2016-07-26 15:32:02 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2017-02-21 17:21:19 +0100 |
commit | 3c875cbd77e9c0bbf21af1d0f42e12594f67924b (patch) | |
tree | 7e082eec1d06495cfac9d5b5fd0f883898880a6a | |
parent | 0249f3c3e2b7c1b461abb04c62adb6766b996ffc (diff) | |
download | librest-3c875cbd77e9c0bbf21af1d0f42e12594f67924b.tar.gz |
RestProxyCall: Stop exporting AsyncCallback
-rw-r--r-- | rest/rest-proxy-call.c | 5 | ||||
-rw-r--r-- | rest/rest-proxy-call.h | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c index 87e9c21..e89484a 100644 --- a/rest/rest-proxy-call.c +++ b/rest/rest-proxy-call.c @@ -28,6 +28,9 @@ #include "rest-private.h" #include "rest-proxy-call-private.h" +typedef void (*RestProxyCallAsyncCallback)(RestProxyCall *call, + const GError *error, + gpointer userdata); struct _RestProxyCallAsyncClosure { RestProxyCall *call; @@ -54,8 +57,6 @@ struct _RestProxyCallUploadClosure { }; typedef struct _RestProxyCallUploadClosure RestProxyCallUploadClosure; - - #define GET_PRIVATE(o) ((RestProxyCallPrivate*)(rest_proxy_call_get_instance_private (REST_PROXY_CALL(o)))) struct _RestProxyCallPrivate { diff --git a/rest/rest-proxy-call.h b/rest/rest-proxy-call.h index c227a5f..624aef7 100644 --- a/rest/rest-proxy-call.h +++ b/rest/rest-proxy-call.h @@ -148,10 +148,6 @@ void rest_proxy_call_remove_param (RestProxyCall *call, RestParams *rest_proxy_call_get_params (RestProxyCall *call); -typedef void (*RestProxyCallAsyncCallback)(RestProxyCall *call, - const GError *error, - gpointer userdata); - void rest_proxy_call_invoke_async (RestProxyCall *call, GCancellable *cancellable, GAsyncReadyCallback callback, |