summaryrefslogtreecommitdiff
path: root/android/ipc.h
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2013-11-07 10:10:34 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2013-11-07 17:05:07 +0200
commit32f29761bf0bcd5cab85a7998286ce89bac0567f (patch)
tree08855648f391a9ad4770b9cf85cfe394bd0f5d82 /android/ipc.h
parent718032446ae38fc0698c287ea9d87740f8aed863 (diff)
downloadbluez-32f29761bf0bcd5cab85a7998286ce89bac0567f.tar.gz
android: Make IPC helpers accept file descriptor
There is no need to pass GIOChannel as writes are done immediately.
Diffstat (limited to 'android/ipc.h')
-rw-r--r--android/ipc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/ipc.h b/android/ipc.h
index 093c84ca1..cf0f3d672 100644
--- a/android/ipc.h
+++ b/android/ipc.h
@@ -21,6 +21,6 @@
*
*/
-void ipc_send(GIOChannel *io, uint8_t service_id, uint8_t opcode, uint16_t len,
+void ipc_send(int sk, uint8_t service_id, uint8_t opcode, uint16_t len,
void *param, int fd);
-void ipc_send_rsp(GIOChannel *io, uint8_t service_id, uint8_t status);
+void ipc_send_rsp(int sk, uint8_t service_id, uint8_t status);