diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-06-29 18:30:18 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-04 22:21:57 +0100 |
commit | 9292a83d92ab0d7b0788aa7bc2a85a7bb8829be7 (patch) | |
tree | 4df6de3729b22c80b44f1e2e24ba3f3f216aed43 /gobex/gobex.h | |
parent | 966b77d0c007cf213b1125848c5e3bab8df5c720 (diff) | |
download | bluez-9292a83d92ab0d7b0788aa7bc2a85a7bb8829be7.tar.gz |
gobex: Add per-request timeouts
Diffstat (limited to 'gobex/gobex.h')
-rw-r--r-- | gobex/gobex.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gobex/gobex.h b/gobex/gobex.h index 918a60342..d074698f2 100644 --- a/gobex/gobex.h +++ b/gobex/gobex.h @@ -41,8 +41,9 @@ typedef void (*GObexDisconnectFunc) (GObex *obex, gpointer user_data); gboolean g_obex_send(GObex *obex, GObexPacket *pkt, GError **err); -guint g_obex_send_req(GObex *obex, GObexPacket *req, GObexResponseFunc func, - gpointer user_data, GError **err); +guint g_obex_send_req(GObex *obex, GObexPacket *req, gint timeout, + GObexResponseFunc func, gpointer user_data, + GError **err); gboolean g_obex_cancel_req(GObex *obex, guint req_id); void g_obex_set_request_function(GObex *obex, GObexRequestFunc func, |