]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-varlink: add helper VARLINK_STATE_WANTS_REPLY()
authorLennart Poettering <lennart@poettering.net>
Wed, 30 Oct 2024 14:30:16 +0000 (15:30 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 31 Oct 2024 00:50:50 +0000 (09:50 +0900)
commit76a3af06308480600f354f8ea6dcd62587555a0c
tree040e7ab27e52ec1f22f94113ec8a41320f92db81
parentaa5e67ae6f4fad5e23ae7c074d4dc43f9ad2020c
sd-varlink: add helper VARLINK_STATE_WANTS_REPLY()

Let's add a helper that detects whether we still need to reply to a
state. This should make the logic easier to follow.
src/libsystemd/sd-varlink/sd-varlink.c
src/libsystemd/sd-varlink/varlink-internal.h