summaryrefslogtreecommitdiff
path: root/rest/rest-proxy-call.h
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2008-11-20 15:54:50 +0000
committerRob Bradford <rob@linux.intel.com>2008-11-20 15:54:50 +0000
commit5ac031c2f85e7b9f99e398376c0e230de0c88408 (patch)
treefd037dc14779d833d0dd1dbcf38e021f8c369d27 /rest/rest-proxy-call.h
parent39d746c84942b264204f409752257ecff7134836 (diff)
downloadlibrest-5ac031c2f85e7b9f99e398376c0e230de0c88408.tar.gz
Add a rest_proxy_call_cancel function to cancel an issued call.
This function is now used by the weak notify handler to cancel the call when the weakly referenced object goes away.
Diffstat (limited to 'rest/rest-proxy-call.h')
-rw-r--r--rest/rest-proxy-call.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rest/rest-proxy-call.h b/rest/rest-proxy-call.h
index 09f1086..55cda80 100644
--- a/rest/rest-proxy-call.h
+++ b/rest/rest-proxy-call.h
@@ -108,6 +108,9 @@ gboolean rest_proxy_call_async (RestProxyCall *call,
gpointer userdata,
GError **error);
+gboolean rest_proxy_call_cancel (RestProxyCall *call,
+ GError **error);
+
/* Functions for dealing with responses */
const gchar *rest_proxy_call_lookup_response_header (RestProxyCall *call,