Parent: dc923848f4b84c884072b6f38cd23199e2ba31bc
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-09-21 13:53:28
Tree: 98ea5b3f5caed93efb9086d6adef837f0b9a3a80
network: Simplify DBusConnection object handling This patch removes redundant references and function parameters for 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
| M | profiles/network/connection.c | | | 64 | +++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | profiles/network/connection.h | | | 2 | - - |
| M | profiles/network/main.c | | | 15 | +- - - - - - - - - - - - - - |
| M | profiles/network/manager.c | | | 16 | ++- - - - - - - - - - - - - - |
| M | profiles/network/manager.h | | | 2 | +- |
| M | profiles/network/server.c | | | 13 | +++++- - - - - - - - |
| M | profiles/network/server.h | | | 2 | +- |
7 files changed, 35 insertions(+), 79 deletions(-)