diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-09-18 10:10:56 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-09-18 10:10:56 +0300 |
commit | 6b7560c085edc760535f91c75aa63af8ecda9641 (patch) | |
tree | dd91b0fd4bf9784bd68c38a8c0d47ac7391e1635 /emulator/bthost.h | |
parent | 3d51328b6c8bbf9ef687a962c8bc1127a5873138 (diff) | |
download | bluez-6b7560c085edc760535f91c75aa63af8ecda9641.tar.gz |
emulator/bthost: Add getter functions needed by SMP
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 042d35f86..45ea7b555 100644 --- a/emulator/bthost.h +++ b/emulator/bthost.h @@ -92,8 +92,11 @@ void bthost_add_l2cap_server(struct bthost *bthost, uint16_t psm, void bthost_set_pin_code(struct bthost *bthost, const uint8_t *pin, uint8_t pin_len); void bthost_set_io_capability(struct bthost *bthost, uint8_t io_capability); +uint8_t bthost_get_io_capability(struct bthost *bthost); void bthost_set_auth_req(struct bthost *bthost, uint8_t auth_req); +uint8_t bthost_get_auth_req(struct bthost *bthost); void bthost_set_reject_user_confirm(struct bthost *bthost, bool reject); +bool bthost_get_reject_user_confirm(struct bthost *bthost); typedef void (*bthost_rfcomm_connect_cb) (uint16_t handle, uint16_t cid, void *user_data, bool status); |