summaryrefslogtreecommitdiff
path: root/emulator/bthost.h
diff options
context:
space:
mode:
authorMarcin Kraglak <marcin.kraglak@tieto.com>2014-08-22 14:40:47 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-08-25 10:57:42 +0200
commit66e5db602123dbc185fafddcb6d9a9633388fe07 (patch)
tree76960ea205bf5ca1fb6a6079eb7337948d16a247 /emulator/bthost.h
parent2515c432f30538500b0ea54faddf86538029c05d (diff)
downloadbluez-66e5db602123dbc185fafddcb6d9a9633388fe07.tar.gz
emulator/bthost: Add hci disconnect
Diffstat (limited to 'emulator/bthost.h')
-rw-r--r--emulator/bthost.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/emulator/bthost.h b/emulator/bthost.h
index 4a7e2bd5a..d7d3d8a73 100644
--- a/emulator/bthost.h
+++ b/emulator/bthost.h
@@ -52,6 +52,9 @@ void bthost_set_connect_cb(struct bthost *bthost, bthost_new_conn_cb cb,
void bthost_hci_connect(struct bthost *bthost, const uint8_t *bdaddr,
uint8_t addr_type);
+void bthost_hci_disconnect(struct bthost *bthost, uint16_t handle,
+ uint8_t reason);
+
typedef void (*bthost_cid_hook_func_t)(const void *data, uint16_t len,
void *user_data);