bus: add API calls for connecting to starter bus

System Internals / systemd - Lennart Poettering [poettering.net] - 27 January 2014 14:34 UTC

Add new calls sd_bus_open() and sd_bus_default() for connecting to the starter bus a service was invoked for, or -- if the process is not a bus-activated service -- the appropriate bus for the scope the process has been started in.

af08d2f bus: add API calls for connecting to starter bus
src/bus-driverd/bus-driverd.c | 6 +--
src/libsystemd/libsystemd.sym | 2 +
src/libsystemd/sd-bus/sd-bus.c | 92 ++++++++++++++++++++++++++++++++++++++++
src/shared/cgroup-util.c | 18 ++++----
src/systemd/sd-bus.h | 2 +
5 files changed, 107 insertions(+), 13 deletions(-)

Upstream: github.com


  • Share