Systemd/src/libsystemd
Lennart Poettering 8f8f05a919 bus: add sd_bus_track object for tracking peers, and port core over to it
This is primarily useful for services that need to track clients which
reference certain objects they maintain, or which explicitly want to
subscribe to certain events. Something like this is done in a large
number of services, and not trivial to do. Hence, let's unify this at
one place.

This also ports over PID 1 to use this to ensure that subscriptions to
job and manager events are correctly tracked. As a side-effect this
makes sure we properly serialize and restore the track list across
daemon reexec/reload, which didn't work correctly before.

This also simplifies how we distribute messages to broadcast to the
direct busses: we only track subscriptions for the API bus and
implicitly assume that all direct busses are subscribed. This should be
a pretty OK simplification since clients connected via direct bus
connections are shortlived anyway.
2014-03-03 02:34:13 +01:00
..
sd-bus bus: add sd_bus_track object for tracking peers, and port core over to it 2014-03-03 02:34:13 +01:00
sd-daemon build-sys: merge libsystemd-daemon into libsystemd 2014-02-19 01:09:19 +01:00
sd-event Remove dead lines in various places 2014-02-24 19:24:14 -05:00
sd-id128 sd-id128: use new dev_urandom() call 2014-02-19 17:53:50 +01:00
sd-resolve api: in constructor function calls, always put the returned object pointer first (or second) 2014-02-20 00:03:10 +01:00
sd-rtnl nspawn: add new switch --network-macvlan= to add a macvlan device to the container 2014-02-25 02:37:59 +01:00
sd-utf8 libsystemd: split up into subdirs 2014-01-21 14:41:35 +01:00
.gitignore build-sys: export experimental symbols only with --enable-kdbus 2014-02-19 20:53:18 +01:00
libsystemd.pc.in build-sys: update .pc.in files 2014-01-25 18:55:58 -05:00
libsystemd.sym.m4 bus: add sd_bus_track object for tracking peers, and port core over to it 2014-03-03 02:34:13 +01:00
Makefile libsystemd-bus: rename to libsystemd 2014-01-13 18:54:19 +01:00