summaryrefslogtreecommitdiff
path: root/src/agent.h
diff options
context:
space:
mode:
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>2011-06-02 15:37:41 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2011-06-08 10:04:23 +0900
commit90ec29300d038984a6246f90779c13ee49340e1f (patch)
tree41690599c60843b98c121073852622969a409742 /src/agent.h
parent4b609b812fdcd042dc99cd201aeb18d598baa7b8 (diff)
downloadbluez-90ec29300d038984a6246f90779c13ee49340e1f.tar.gz
Add support of secure pin code in mgmt code
Use secure pin code parameter received from the kernel in MGMT_EV_PIN_CODE_REQUEST event and propagate this to agent code. Secure flag is specific for the pin code request only.
Diffstat (limited to 'src/agent.h')
-rw-r--r--src/agent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/agent.h b/src/agent.h
index e1842505e..f62bf3b68 100644
--- a/src/agent.h
+++ b/src/agent.h
@@ -46,8 +46,8 @@ int agent_authorize(struct agent *agent, const char *path,
GDestroyNotify destroy);
int agent_request_pincode(struct agent *agent, struct btd_device *device,
- agent_pincode_cb cb, void *user_data,
- GDestroyNotify destroy);
+ agent_pincode_cb cb, gboolean secure,
+ void *user_data, GDestroyNotify destroy);
int agent_confirm_mode_change(struct agent *agent, const char *new_mode,
agent_cb cb, void *user_data,