summaryrefslogtreecommitdiffstats
path: root/hcid/agent.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-03-14 21:31:09 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2008-03-14 21:31:09 +0000
commit7e1704ca98da47479511618067a4c9fd77d52eff (patch)
tree9f75913fd37f30ce31befb6c76e52e7c012c1b59 /hcid/agent.h
parent7d29f6fde931eb6492004dd720728fd81c4edc2b (diff)
Agent cleanup
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 ff4dc678..55e45a0f 100644
--- a/hcid/agent.h
+++ b/hcid/agent.h
@@ -38,13 +38,13 @@ struct agent *agent_create(const char *name, const char *path,
int agent_destroy(struct agent *agent, gboolean exited);
-int agent_authorize(struct agent *agent, const char *device, const char *uuid,
- agent_cb cb, void *user_data);
+int agent_authorize(struct agent *agent, struct device *device,
+ const char *uuid, agent_cb cb, void *user_data);
-int agent_request_passkey(struct agent *agent, const char *device,
+int agent_request_passkey(struct agent *agent, struct device *device,
agent_passkey_cb cb, void *user_data);
-int agent_confirm(struct agent *agent, const char *device, const char *pin,
+int agent_confirm(struct agent *agent, struct device *device, const char *pin,
agent_cb cb, void *user_data);
int agent_confirm_mode_change(struct agent *agent, const char *new_mode,