summaryrefslogtreecommitdiffstats
path: root/hcid/agent.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-03-20 19:52:55 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-03-20 19:52:55 +0000
commitd5dd4c0246576a171b1067ae098bb751c4f261c6 (patch)
tree8f6d70dca11b949785c90a25d67317272068ad4e /hcid/agent.h
parent9f18f0a1905bc091f37999bf4cb418cdbcfaedb7 (diff)
Add adapter to agent_create.
Diffstat (limited to 'hcid/agent.h')
-rw-r--r--hcid/agent.h4
1 files changed, 2 insertions, 2 deletions
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);