summaryrefslogtreecommitdiff
path: root/src/agent.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-12-04 15:14:13 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-12-04 15:14:35 +0200
commit916791b0348534a72b25fd59a8e0917d0a65eeb5 (patch)
tree542fb2e5bf41210d95be8d94730c98a26d7ceef8 /src/agent.h
parent36ac32c5e8efbf0a141b431fe46d7263914ef38b (diff)
downloadbluez-916791b0348534a72b25fd59a8e0917d0a65eeb5.tar.gz
core: Add SSP just-works acceptor mapping to Agent.RequestAuthorization
Diffstat (limited to 'src/agent.h')
-rw-r--r--src/agent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/agent.h b/src/agent.h
index 3b817d466..2b011b7a9 100644
--- a/src/agent.h
+++ b/src/agent.h
@@ -61,6 +61,10 @@ int agent_request_confirmation(struct agent *agent, struct btd_device *device,
uint32_t passkey, agent_cb cb,
void *user_data, GDestroyNotify destroy);
+int agent_request_authorization(struct agent *agent, struct btd_device *device,
+ agent_cb cb, void *user_data,
+ GDestroyNotify destroy);
+
int agent_display_passkey(struct agent *agent, struct btd_device *device,
uint32_t passkey, uint16_t entered);