Systemd/src/libsystemd
Lennart Poettering b38cc8d563 sd-bus: add new sd_bus_set_connected_signal() API
With this new API sd-bus can synthesize a local "Connected" signal when
the connection is fully established. It mirrors the local "Disconnected"
signal that is already generated when the connection is terminated. This
is useful to be notified when connection setup is done, in order to
start method calls then, in particular when using "slow" connection
methods (for example slow TCP, or most importantly the "watch_bind"
inotify logic).

Note that one could also use hook into the initial NameAcquired signal
received from the bus broker, but that scheme works only if we actually
connect to a bus. The benefit of "Connected" OTOH is that it works with
any kind of connection.

Ideally, we'd just generate this message unconditionally, but in order
not to break clients that do not expect this message it is opt-in.
2018-01-05 13:58:32 +01:00
..
sd-bus sd-bus: add new sd_bus_set_connected_signal() API 2018-01-05 13:58:32 +01:00
sd-daemon sd-daemon: use sockaddr_port() helper 2017-12-26 13:36:07 +01:00
sd-device tree-wide: make use of new STRLEN() macro everywhere (#7639) 2017-12-14 19:02:29 +01:00
sd-event tree-wide: use EXIT_SUCCESS/EXIT_FAILURE in exit() where we can 2017-12-25 11:48:21 +01:00
sd-hwdb Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-id128 tree-wide: adjust fall through comments so that gcc is happy 2017-11-20 13:06:25 -08:00
sd-login io-util: make flush_fd() return how many bytes where flushed 2018-01-05 13:55:08 +01:00
sd-netlink networkd: allow to configure default/initial send/recv congestion window and store persistentl (#7750) 2017-12-29 23:18:05 +09:00
sd-network tree-wide: make use of new STRLEN() macro everywhere (#7639) 2017-12-14 19:02:29 +01:00
sd-path Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-resolve tree-wide: in all threads we fork off in library code, block all signals 2018-01-04 13:27:27 +01:00
sd-utf8 Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
libsystemd.pc.in Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
libsystemd.sym sd-bus: add new sd_bus_set_connected_signal() API 2018-01-05 13:58:32 +01:00
meson.build meson: link libsystemd_static in libshared instead of recompiling 2018-01-03 12:09:46 +01:00