diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-10-03 14:32:02 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-12-03 16:32:48 +0200 |
commit | fd61d4719ec19e9e4ea6cfbad613de811c071399 (patch) | |
tree | 9e074aec9112312bfd454525e03548a6e3adacd5 /emulator/bthost.h | |
parent | 4fe7df6972530285f4bd96fffb11ae0ecfd3cd38 (diff) | |
download | bluez-fd61d4719ec19e9e4ea6cfbad613de811c071399.tar.gz |
emulator/bthost: Add API to wait for bthost readiness
Diffstat (limited to 'emulator/bthost.h')
-rw-r--r-- | emulator/bthost.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emulator/bthost.h b/emulator/bthost.h index 6295c1380..8193cdf14 100644 --- a/emulator/bthost.h +++ b/emulator/bthost.h @@ -33,6 +33,9 @@ struct bthost; struct bthost *bthost_create(void); void bthost_destroy(struct bthost *bthost); +typedef void (*bthost_ready_cb) (void); +void bthost_notify_ready(struct bthost *bthost, bthost_ready_cb cb); + void bthost_set_send_handler(struct bthost *bthost, bthost_send_func handler, void *user_data); |