summaryrefslogtreecommitdiff
path: root/rest/rest-proxy-call.h
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2008-11-20 14:11:14 +0000
committerRob Bradford <rob@linux.intel.com>2008-11-20 14:11:14 +0000
commit4a1e57fb5b0cc4f8b07d39eb43dbb29a215e9132 (patch)
tree9c70a55c1c041e0e60b9fa5a5446a9d04251a78a /rest/rest-proxy-call.h
parent95bf9dcb7565fba8eb89430f90f7391bf181c417 (diff)
downloadlibrest-4a1e57fb5b0cc4f8b07d39eb43dbb29a215e9132.tar.gz
Add GError infrastructure for RestProxyCall
Diffstat (limited to 'rest/rest-proxy-call.h')
-rw-r--r--rest/rest-proxy-call.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/rest/rest-proxy-call.h b/rest/rest-proxy-call.h
index 446775e..09f1086 100644
--- a/rest/rest-proxy-call.h
+++ b/rest/rest-proxy-call.h
@@ -45,6 +45,12 @@ typedef struct {
gboolean (*prepare)(RestProxyCall *call, GError **error);
} RestProxyCallClass;
+#define REST_PROXY_CALL_ERROR rest_proxy_call_error_quark ()
+
+typedef enum {
+ REST_PROXY_CALL_FAILED
+} RestProxyCallError;
+
GType rest_proxy_call_get_type (void);
/* Functions for dealing with request */