From 73984ab8bad002080885df1a12efd97b35ba7810 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 2 Sep 2014 16:27:50 +0200 Subject: Move RestProxyCallPrivate to rest-proxy-call.c It was in a separate rest-proxy-call.h header which allowed derived classes to access RestProxyCall private data without any control. Better to go through explicit methods to do that. https://bugzilla.gnome.org/show_bug.cgi?id=735919 --- rest/rest-proxy-call-private.h | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'rest/rest-proxy-call-private.h') diff --git a/rest/rest-proxy-call-private.h b/rest/rest-proxy-call-private.h index 573794e..f2d102b 100644 --- a/rest/rest-proxy-call-private.h +++ b/rest/rest-proxy-call-private.h @@ -29,32 +29,6 @@ G_BEGIN_DECLS -typedef struct _RestProxyCallAsyncClosure RestProxyCallAsyncClosure; -typedef struct _RestProxyCallContinuousClosure RestProxyCallContinuousClosure; -typedef struct _RestProxyCallUploadClosure RestProxyCallUploadClosure; - -struct _RestProxyCallPrivate { - gchar *method; - gchar *function; - GHashTable *headers; - RestParams *params; - /* The real URL we're about to invoke */ - gchar *url; - - GHashTable *response_headers; - goffset length; - gchar *payload; - guint status_code; - gchar *status_message; - - GCancellable *cancellable; - gulong cancel_sig; - - RestProxy *proxy; - - RestProxyCallAsyncClosure *cur_call_closure; -}; - const char *rest_proxy_call_get_url (RestProxyCall *call); G_END_DECLS -- cgit v1.2.1