summaryrefslogtreecommitdiffstats
path: root/hcid/agent.h
diff options
context:
space:
mode:
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,