Files
systemd/man/rules
Lennart Poettering a93bf3cf86 sd-varlink: add sd_varlink_invoke_and_upgrade()
Add the asynchronous counterpart of sd_varlink_call_and_upgrade(): the
method call is enqueued with the upgrade request, the reply is delivered
to the reply callback as usual, and if the server accepted the upgrade
the connection's file descriptors are handed to the callback installed
with sd_varlink_bind_upgrade(), mirroring how the server side works. If
the server replied with an error the connection stays usable.

A new client state VARLINK_AWAITING_REPLY_UPGRADE tracks the pending
request; no other calls may be pipelined behind it.
2026-10-17 18:02:40 +02:00
..