[PATCH v3 0/4] Implement ServicesAdded and ServicesRemoved

patrik.flykt at linux.intel.com patrik.flykt at linux.intel.com
Mon Feb 20 01:43:40 PST 2012


From: Patrik Flykt <patrik.flykt at linux.intel.com>

	Hi,

As described earlier, this patch set implements ServicesAdded and
ServicesRemoved signals in Manager API.

The second version does a proper cleanup on service shutdown and makes calls
to __connman_connection_update_gateway().

This third version factors out common code for creating object path,
dictionary arrays by prepending two new patches to the set.

Patch 01 adds a helper function for creating a proper signature and patch 02
uses the helper function in manager.c. The remaining two patches add the
feature as before. A check for service path being NULL is added to patch 03
(old patch 01).

I'll start investigating why the path can be NULL when the service is removed.


Cheers,

	Patrik



Patrik Flykt (4):
  dbus: Function for adding array of object paths and dictionaries
  manager: Use helper function for adding arrays of objpath, dict
  service: Implement ServicesAdded and ServicesRemoved signals
  service: Remove 'Services' property from Manager D-Bus API

 src/connman.h |    3 +-
 src/dbus.c    |   26 +++++++
 src/manager.c |   51 ++++---------
 src/service.c |  220 ++++++++++++++++++++++++++++++++++++++++-----------------
 4 files changed, 199 insertions(+), 101 deletions(-)

-- 
1.7.9




More information about the connman mailing list