Commit: a870ebe310e4e0c01055bb19f0440068ee0c84f7
Parent: b5c339804950551cba3bc07051dc339ad0a1db2c
Author: Mikel Astiz <mikel.astiz@bmw-carit.de>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-04-26 10:25:17
Tree: 1d78edbd13dca66e8487288ca703d3caddae1747

device: Use btd_service to represent profiles Maintain a list of btd_service pointers instead of btd_profile pointers, for services that have been probed for this device. This list will not only reference count the btd_service instances but also "own" them, in the sense of destroying them (make them completely unavailable) when the service is removed from the list. This is needed because the btd_service does not reference count the btd_device instance.

Diffstat

M src/device.c | 77 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 54 insertions(+), 23 deletions(-)

View Full Diff | Patch