diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2014-04-15 15:08:35 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2014-04-25 15:05:23 +0300 |
commit | 35cbfa938700049e909d8df9f4f55e4f33d09831 (patch) | |
tree | 2c350bc891be779841f8af2eddec5cf2e50d4a06 /android/avctp.h | |
parent | 87dc59894d8ea1396200a5bc66a4d2a5f7666f41 (diff) | |
download | bluez-35cbfa938700049e909d8df9f4f55e4f33d09831.tar.gz |
android/avctp: Make browsing handler return ssize_t
This makes possible to return errors such as -EAGAIN to indicate the
request would block and a response will be sent asynchronously.
Diffstat (limited to 'android/avctp.h')
-rw-r--r-- | android/avctp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/avctp.h b/android/avctp.h index 6bfc4cbcd..b3951885c 100644 --- a/android/avctp.h +++ b/android/avctp.h @@ -128,7 +128,7 @@ typedef gboolean (*avctp_rsp_cb) (struct avctp *session, uint8_t code, typedef gboolean (*avctp_browsing_rsp_cb) (struct avctp *session, uint8_t *operands, size_t operand_count, void *user_data); -typedef size_t (*avctp_browsing_pdu_cb) (struct avctp *session, +typedef ssize_t (*avctp_browsing_pdu_cb) (struct avctp *session, uint8_t transaction, uint8_t *operands, size_t operand_count, void *user_data); |