chiark / gitweb /
sd-bus: add APIs to request/release names asynchronously
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Dec 2017 19:10:13 +0000 (20:10 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:49:57 +0000 (07:49 +0200)
commit206dd5fa4a9b73e8a3de2e456ff43fb85bade918
tree9525f85a9fec47c1765860b5f2684623297fa427
parentd4a1ee667569829a03d2862fbd697e1f1e9afcdf
sd-bus: add APIs to request/release names asynchronously

They do the same thing as their synchronous counterparts, but only
enqueue the operation, thus removing synchronization points during
service initialization.

If the callback function is passed as NULL we'll fallback to generic
implementations of the reply handlers, that terminate the connection if
the requested name cannot be acquired, under the assumption that not
being able to acquire the name is a technical problem.
src/libelogind/libelogind.sym
src/libelogind/sd-bus/bus-control.c
src/libelogind/sd-bus/bus-internal.h
src/libelogind/sd-bus/sd-bus.c
src/systemd/sd-bus.h