summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/libsystemd.sym
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-12-19 15:47:09 +0100
committerLennart Poettering <lennart@poettering.net>2018-01-05 13:58:32 +0100
commitbdbc866914e54189d6f9924349005fa8fa6bf71b (patch)
tree6402a7a8be208d7cffb3aea29be1169e8143a5bb /src/libsystemd/libsystemd.sym
parentsd-bus: modernize how we generate the match string in sd-bus-track (diff)
downloadsystemd-bdbc866914e54189d6f9924349005fa8fa6bf71b.tar.xz
systemd-bdbc866914e54189d6f9924349005fa8fa6bf71b.zip
sd-bus: add new sd_bus_is_ready() API
This new call is much light sd_bus_is_open(), but returns true only if the connection is fully set up, i.e. after we finished with the authentication and Hello() phase. This API is useful for clients in particular when using the "watch_bind" feature, as that way it can be determined in advance whether it makes sense to sync on some operation.
Diffstat (limited to 'src/libsystemd/libsystemd.sym')
-rw-r--r--src/libsystemd/libsystemd.sym1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd/libsystemd.sym b/src/libsystemd/libsystemd.sym
index 05c3b99bd6..af4226c73a 100644
--- a/src/libsystemd/libsystemd.sym
+++ b/src/libsystemd/libsystemd.sym
@@ -540,4 +540,5 @@ global:
sd_bus_add_match_async;
sd_bus_match_signal;
sd_bus_match_signal_async;
+ sd_bus_is_ready;
} LIBSYSTEMD_236;