Hi,
v3:
- reworked the unit test
v2:
- moved the code to dbus.c
- reworked the logic in the caller of the watcher so no need to
remove l_dbus_register() and l_dbus_unregister()
this set allows user to monitor the disconnect status
of a service.
Cheers,
Jukka
Jukka Rissanen (4):
dbus: Add AddMatch and RemoveMatch support
gvariant: dbus.h need to be included before private header
dbus: Add disconnect watch support
unit: dbus: Add test for disconnect watch API
Makefile.am | 3 +
ell/dbus-private.h | 35 ++++++++
ell/dbus.c | 221 +++++++++++++++++++++++++++++++++++++++++++++++++
ell/dbus.h | 9 ++
ell/gvariant-util.c | 2 +-
unit/test-dbus-watch.c | 153 ++++++++++++++++++++++++++++++++++
6 files changed, 422 insertions(+), 1 deletion(-)
create mode 100644 unit/test-dbus-watch.c
--
2.1.0