diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2013-11-28 15:15:26 +0100 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2013-11-28 18:02:27 +0200 |
commit | d4199a012d8823ae6093b980f02bc1b002daa6a5 (patch) | |
tree | b5567fdb04a51078618a011837f188df47184205 /android/ipc.c | |
parent | daf1186c381dc6dc1923169ba948f646bda2e9c2 (diff) | |
download | bluez-d4199a012d8823ae6093b980f02bc1b002daa6a5.tar.gz |
android: Add ipc_send_rsp_full IPC helper
This will be used to send non-empty reply using command socket.
Diffstat (limited to 'android/ipc.c')
-rw-r--r-- | android/ipc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/android/ipc.c b/android/ipc.c index d1a59d751..83c22212f 100644 --- a/android/ipc.c +++ b/android/ipc.c @@ -110,6 +110,12 @@ void ipc_send_rsp(uint8_t service_id, uint8_t opcode, uint8_t status) ipc_send(cmd_sk, service_id, HAL_OP_STATUS, sizeof(s), &s, -1); } +void ipc_send_rsp_full(uint8_t service_id, uint8_t opcode, uint16_t len, + void *param, int fd) +{ + ipc_send(cmd_sk, service_id, opcode, len, param, fd); +} + void ipc_send_notif(uint8_t service_id, uint8_t opcode, uint16_t len, void *param) { |