diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-06-06 11:28:57 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-06-06 11:28:57 +0000 |
commit | 833b95efc8bda83851624b203991db196282335c (patch) | |
tree | 91a36d9f9ab649b504685a018e88bc73ae0d4502 /hcid/adapter.h | |
parent | 30877999b61e655ff7f4e804240098c4cd31831e (diff) |
Further cleanup of authentication logic
Diffstat (limited to 'hcid/adapter.h')
-rw-r--r-- | hcid/adapter.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/hcid/adapter.h b/hcid/adapter.h index 7808609a..ec2c3f81 100644 --- a/hcid/adapter.h +++ b/hcid/adapter.h @@ -46,6 +46,12 @@ typedef enum { NAME_SENT /* D-Bus signal RemoteNameUpdated sent */ } name_status_t; +typedef enum { + AUTH_TYPE_PINCODE, + AUTH_TYPE_PASSKEY, + AUTH_TYPE_CONFIRM, +} auth_type_t; + struct remote_dev_info { bdaddr_t bdaddr; int8_t rssi; @@ -65,7 +71,8 @@ struct bonding_request_info { int auth_active; }; -struct pending_pin_info { +struct pending_auth_info { + auth_type_t type; bdaddr_t bdaddr; int replied; /* If we've already replied to the request */ }; |