From d5dd4c0246576a171b1067ae098bb751c4f261c6 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 20 Mar 2008 19:52:55 +0000 Subject: Add adapter to agent_create. --- hcid/agent.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hcid/agent.h') diff --git a/hcid/agent.h b/hcid/agent.h index e17e513e..9a4fed70 100644 --- a/hcid/agent.h +++ b/hcid/agent.h @@ -32,8 +32,8 @@ typedef void (*agent_passkey_cb) (struct agent *agent, DBusError *err, typedef void (*agent_remove_cb) (struct agent *agent, void *user_data); -struct agent *agent_create(const char *name, const char *path, - const char *address, +struct agent *agent_create(struct adapter *adapter, const char *name, + const char *path, const char *address, agent_remove_cb cb, void *remove_cb_data); int agent_destroy(struct agent *agent, gboolean exited); -- cgit