summaryrefslogtreecommitdiff
path: root/src/agent.h
diff options
context:
space:
mode:
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>2012-09-19 12:22:08 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-09-21 13:50:48 +0300
commit2f3db9831df665fbf8aba6dddde1cb28934c9953 (patch)
treef378d1368889f19a390c322feb279ac8bf7d0c67 /src/agent.h
parent0c6bdf6049d8ea04a75b23841b92548efce11e1d (diff)
downloadbluez-2f3db9831df665fbf8aba6dddde1cb28934c9953.tar.gz
agent: Simplify DBusConnection object handling
This patch removes local reference to DBusConnection object and uses btd_get_dbus_connection() call wherever such object is needed instead. Pointer returned by this call is guaranteed to be valid for entire bluetoothd lifetime and thus do not need to be refcounted.
Diffstat (limited to 'src/agent.h')
-rw-r--r--src/agent.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/agent.h b/src/agent.h
index a7296333a..8fb475825 100644
--- a/src/agent.h
+++ b/src/agent.h
@@ -75,6 +75,3 @@ gboolean agent_is_busy(struct agent *agent, void *user_data);
uint8_t agent_get_io_capability(struct agent *agent);
gboolean agent_matches(struct agent *agent, const char *name, const char *path);
-
-void agent_init(void);
-void agent_exit(void);