summaryrefslogtreecommitdiff
path: root/rest/rest-private.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-private.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-private.h')
-rw-r--r--rest/rest-private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/rest/rest-private.h b/rest/rest-private.h
index be05f45..1ee8cd7 100644
--- a/rest/rest-private.h
+++ b/rest/rest-private.h
@@ -28,6 +28,7 @@ gboolean _rest_proxy_get_binding_required (RestProxy *proxy);
const gchar *_rest_proxy_get_bound_url (RestProxy *proxy);
void _rest_proxy_queue_message (RestProxy *proxy,
SoupMessage *message);
-
+void _rest_proxy_cancel_message (RestProxy *proxy,
+ SoupMessage *message);
G_END_DECLS
#endif /* _REST_PRIVATE */