summaryrefslogtreecommitdiff
path: root/rest/rest-proxy.h
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2008-09-15 17:44:47 +0100
committerRob Bradford <rob@linux.intel.com>2008-09-15 17:44:47 +0100
commitce9498f07d8cd381047ce4d4fa13364b78c49f4a (patch)
treee2b3cb632b5ac90c7d85f9e59cc2bb3b69be9355 /rest/rest-proxy.h
parentb070d27496a080da0d2d38154c13b8aeb9b86716 (diff)
downloadlibrest-ce9498f07d8cd381047ce4d4fa13364b78c49f4a.tar.gz
Reformat source and header files
Diffstat (limited to 'rest/rest-proxy.h')
-rw-r--r--rest/rest-proxy.h82
1 files changed, 42 insertions, 40 deletions
diff --git a/rest/rest-proxy.h b/rest/rest-proxy.h
index 5ce59c9..0aefaa3 100644
--- a/rest/rest-proxy.h
+++ b/rest/rest-proxy.h
@@ -35,57 +35,59 @@ typedef struct {
goffset *len, GError **error, va_list params);
} RestProxyClass;
-typedef void (*RestProxyCallRawCallback)(RestProxy *proxy,
- guint status_code,
- const gchar *response_message,
- GHashTable *headers,
- const gchar *payload,
- goffset len,
- GObject *weak_object,
- gpointer userdata);
+typedef void (*RestProxyCallRawCallback)(RestProxy *proxy,
+ guint status_code,
+ const gchar *response_message,
+ GHashTable *headers,
+ const gchar *payload,
+ goffset len,
+ GObject *weak_object,
+ gpointer userdata);
GType rest_proxy_get_type (void);
RestProxy *rest_proxy_new (const gchar *url_format,
- gboolean binding_required);
+ gboolean binding_required);
+
+gboolean rest_proxy_bind (RestProxy *proxy,
+ ...);
-gboolean rest_proxy_bind (RestProxy *proxy, ...);
gboolean rest_proxy_bind_valist (RestProxy *proxy,
- va_list params);
+ va_list params);
G_GNUC_DEPRECATED
-gboolean rest_proxy_call_raw_async (RestProxy *proxy,
- const gchar *function,
- const gchar *method,
- RestProxyCallRawCallback callback,
- GObject *weak_object,
- gpointer userdata,
- GError **error,
- const gchar *first_field_name,
- ...);
+gboolean rest_proxy_call_raw_async (RestProxy *proxy,
+ const gchar *function,
+ const gchar *method,
+ RestProxyCallRawCallback callback,
+ GObject *weak_object,
+ gpointer userdata,
+ GError **error,
+ const gchar *first_field_name,
+ ...);
G_GNUC_DEPRECATED
-gboolean rest_proxy_call_raw_async_valist (RestProxy *proxy,
- const gchar *function,
- const gchar *method,
- RestProxyCallRawCallback callback,
- GObject *weak_object,
- gpointer userdata,
- GError **error,
- const gchar *first_field_name,
- va_list params);
+gboolean rest_proxy_call_raw_async_valist (RestProxy *proxy,
+ const gchar *function,
+ const gchar *method,
+ RestProxyCallRawCallback callback,
+ GObject *weak_object,
+ gpointer userdata,
+ GError **error,
+ const gchar *first_field_name,
+ va_list params);
G_GNUC_DEPRECATED
-gboolean rest_proxy_run_raw (RestProxy *proxy,
- const gchar *function,
- const gchar *method,
- guint *status_code,
- gchar **response_message,
- GHashTable **headers,
- gchar **payload,
- goffset *len,
- GError **error,
- const gchar *first_field_name,
- ...);
+gboolean rest_proxy_run_raw (RestProxy *proxy,
+ const gchar *function,
+ const gchar *method,
+ guint *status_code,
+ gchar **response_message,
+ GHashTable **headers,
+ gchar **payload,
+ goffset *len,
+ GError **error,
+ const gchar *first_field_name,
+ ...);
RestProxyCall *rest_proxy_new_call (RestProxy *proxy);