summaryrefslogtreecommitdiffstats
path: root/hcid/agent.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-05-30 15:39:07 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2008-05-30 15:39:07 +0000
commit08e3720b8860a0aef687e841533bd30ee22cc534 (patch)
tree4dcab3ba69d8f5082524dd6741b02be50aae80b5 /hcid/agent.h
parent1658d5b4b6e0678453084efed18eeed5e63e8b69 (diff)
Rename RequestPasskey to RequestPinCode
Diffstat (limited to 'hcid/agent.h')
-rw-r--r--hcid/agent.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/hcid/agent.h b/hcid/agent.h
index 9d2ac377..31a95428 100644
--- a/hcid/agent.h
+++ b/hcid/agent.h
@@ -27,8 +27,8 @@ struct agent;
typedef void (*agent_cb) (struct agent *agent, DBusError *err,
void *user_data);
-typedef void (*agent_passkey_cb) (struct agent *agent, DBusError *err,
- const char *passkey, void *user_data);
+typedef void (*agent_pincode_cb) (struct agent *agent, DBusError *err,
+ const char *pincode, void *user_data);
typedef void (*agent_remove_cb) (struct agent *agent, void *user_data);
@@ -41,8 +41,8 @@ int agent_destroy(struct agent *agent, gboolean exited);
int agent_authorize(struct agent *agent, const char *path,
const char *uuid, agent_cb cb, void *user_data);
-int agent_request_passkey(struct agent *agent, struct device *device,
- agent_passkey_cb cb, void *user_data);
+int agent_request_pincode(struct agent *agent, struct device *device,
+ agent_pincode_cb cb, void *user_data);
int agent_confirm_mode_change(struct agent *agent, const char *new_mode,
agent_cb cb, void *user_data);