summaryrefslogtreecommitdiff
path: root/emulator/btdev.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-09-17 15:49:44 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2014-09-18 08:04:21 +0300
commita7b600b45b369961d53e33455ea30628f6ee0bea (patch)
treee4a04d862fefb219bd5fdf125f5e66a9d64dff10 /emulator/btdev.h
parent077abfe1e19ee574632b4d93da5685c0788c93e7 (diff)
downloadbluez-a7b600b45b369961d53e33455ea30628f6ee0bea.tar.gz
emulator/btdev: Add iovec support
This convert btdev_set_send_handler to take struct iovec for doing scatter io.
Diffstat (limited to 'emulator/btdev.h')
-rw-r--r--emulator/btdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/emulator/btdev.h b/emulator/btdev.h
index 1e623f490..32c708f78 100644
--- a/emulator/btdev.h
+++ b/emulator/btdev.h
@@ -51,7 +51,7 @@ typedef void (*btdev_command_func) (uint16_t opcode,
const void *data, uint8_t len,
btdev_callback callback, void *user_data);
-typedef void (*btdev_send_func) (const void *data, uint16_t len,
+typedef void (*btdev_send_func) (const struct iovec *iov, int iovlen,
void *user_data);
typedef bool (*btdev_hook_func) (const void *data, uint16_t len,