diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2013-11-07 10:10:35 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-11-07 17:05:47 +0200 |
commit | 052e481adcce7a6af8a3d1b761b7ada7b1e2f4ca (patch) | |
tree | 0b400064ebedcbec2941421a2d12117b3b521de9 /android/socket.h | |
parent | 32f29761bf0bcd5cab85a7998286ce89bac0567f (diff) | |
download | bluez-052e481adcce7a6af8a3d1b761b7ada7b1e2f4ca.tar.gz |
android: Pass notification socket fd to service handlers
IPC helpers were converted to accept socket, not GIOChannel so there
is no need of passing former to handlers.
Diffstat (limited to 'android/socket.h')
-rw-r--r-- | android/socket.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/android/socket.h b/android/socket.h index 2b3b940c2..7aa55746c 100644 --- a/android/socket.h +++ b/android/socket.h @@ -21,8 +21,7 @@ * */ -void bt_sock_handle_cmd(GIOChannel *io, uint8_t opcode, void *buf, - uint16_t len); +void bt_sock_handle_cmd(int sk, uint8_t opcode, void *buf, uint16_t len); -bool bt_socket_register(GIOChannel *io, const bdaddr_t *addr); +bool bt_socket_register(int sk, const bdaddr_t *addr); void bt_socket_unregister(void); |