diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-06-29 14:33:04 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-04 22:21:57 +0100 |
commit | 0f10ac2b8c79f9e5eb49e9f8db023e30cdba93b4 (patch) | |
tree | 8dee58694cb0609c4bcee19b05ddef8b78f31baf /gobex/gobex.h | |
parent | d76690df91d6dd7d82590b55d740e2afe4dbcde1 (diff) | |
download | bluez-0f10ac2b8c79f9e5eb49e9f8db023e30cdba93b4.tar.gz |
gobex: Add proper error returns to packet sending functions
Diffstat (limited to 'gobex/gobex.h')
-rw-r--r-- | gobex/gobex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gobex/gobex.h b/gobex/gobex.h index 01a871c58..918a60342 100644 --- a/gobex/gobex.h +++ b/gobex/gobex.h @@ -39,10 +39,10 @@ typedef void (*GObexResponseFunc) (GObex *obex, GError *err, GObexPacket *rsp, gpointer user_data); typedef void (*GObexDisconnectFunc) (GObex *obex, gpointer user_data); -gboolean g_obex_send(GObex *obex, GObexPacket *pkt); +gboolean g_obex_send(GObex *obex, GObexPacket *pkt, GError **err); guint g_obex_send_req(GObex *obex, GObexPacket *req, GObexResponseFunc func, - gpointer user_data); + 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, |