diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2014-04-11 10:31:58 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2014-04-15 11:13:38 +0300 |
commit | 87f8d3fd62d625d03301f9d3c56f966cc55ad118 (patch) | |
tree | 540ab2af7a36486852fd3c5ae081851c9f76964e /android/avctp.h | |
parent | 8679e400513e504c5b52cd9eac8c159ada64fd19 (diff) | |
download | bluez-87f8d3fd62d625d03301f9d3c56f966cc55ad118.tar.gz |
android/avctp: Make avctp_send_vendor to take struct iovec
This makes it possible to pass data without copying.
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 1b15398e7..6bfc4cbcd 100644 --- a/android/avctp.h +++ b/android/avctp.h @@ -168,7 +168,7 @@ int avctp_send_passthrough(struct avctp *session, uint8_t op, uint8_t *params, size_t params_len); int avctp_send_vendor(struct avctp *session, uint8_t transaction, uint8_t code, uint8_t subunit, - uint8_t *operands, size_t operand_count); + const struct iovec *iov, int iov_cnt); int avctp_send_vendor_req(struct avctp *session, uint8_t code, uint8_t subunit, const struct iovec *iov, int iov_cnt, avctp_rsp_cb func, void *user_data); |