diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2014-06-11 15:53:06 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-06-12 13:04:31 +0200 |
commit | 7b78c20b7eaa5a3d254e710644d0394cd28b45fc (patch) | |
tree | e3173615f11cb7a1202284d39a9992b6bd849f72 /android/hal-hidhost.c | |
parent | 02dc1cdd6041c34899f4fd047997ba0f54e036aa (diff) | |
download | bluez-7b78c20b7eaa5a3d254e710644d0394cd28b45fc.tar.gz |
android/hal-ipc: Pass FD to notification handlers
Diffstat (limited to 'android/hal-hidhost.c')
-rw-r--r-- | android/hal-hidhost.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/android/hal-hidhost.c b/android/hal-hidhost.c index ce93af8ce..949e2a015 100644 --- a/android/hal-hidhost.c +++ b/android/hal-hidhost.c @@ -33,7 +33,7 @@ static bool interface_ready(void) return cbacks != NULL; } -static void handle_conn_state(void *buf, uint16_t len) +static void handle_conn_state(void *buf, uint16_t len, int fd) { struct hal_ev_hidhost_conn_state *ev = buf; @@ -42,7 +42,7 @@ static void handle_conn_state(void *buf, uint16_t len) ev->state); } -static void handle_info(void *buf, uint16_t len) +static void handle_info(void *buf, uint16_t len, int fd) { struct hal_ev_hidhost_info *ev = buf; bthh_hid_info_t info; @@ -61,7 +61,7 @@ static void handle_info(void *buf, uint16_t len) cbacks->hid_info_cb((bt_bdaddr_t *) ev->bdaddr, info); } -static void handle_proto_mode(void *buf, uint16_t len) +static void handle_proto_mode(void *buf, uint16_t len, int fd) { struct hal_ev_hidhost_proto_mode *ev = buf; @@ -70,7 +70,7 @@ static void handle_proto_mode(void *buf, uint16_t len) ev->status, ev->mode); } -static void handle_idle_time(void *buf, uint16_t len) +static void handle_idle_time(void *buf, uint16_t len, int fd) { struct hal_ev_hidhost_idle_time *ev = buf; @@ -79,7 +79,7 @@ static void handle_idle_time(void *buf, uint16_t len) ev->idle_rate); } -static void handle_get_report(void *buf, uint16_t len) +static void handle_get_report(void *buf, uint16_t len, int fd) { struct hal_ev_hidhost_get_report *ev = buf; @@ -93,7 +93,7 @@ static void handle_get_report(void *buf, uint16_t len) ev->data, ev->len); } -static void handle_virtual_unplug(void *buf, uint16_t len) +static void handle_virtual_unplug(void *buf, uint16_t len, int fd) { struct hal_ev_hidhost_virtual_unplug *ev = buf; |