chiark / gitweb /
sd-bus: add API to optionally set a sender field on all outgoing messages
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Dec 2017 18:41:06 +0000 (19:41 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:50:01 +0000 (07:50 +0200)
commit347cacc53bc4b8c04fd6b03c2e455c33f047f011
tree4ec8c6413560dba82f5837a77bd6a5d1d9076aac
parentc69b8d901ccd747ff9a2db02416653c9874df8a3
sd-bus: add API to optionally set a sender field on all outgoing messages

This is useful on direct connections to generate messages with valid
sender fields.

This is particularly useful for services that are accessible both
through direct connections and the broker, as it allows clients to
install matches on the sender service name, and they work the same in
both cases.
src/libelogind/libelogind.sym
src/libelogind/sd-bus/bus-internal.h
src/libelogind/sd-bus/bus-message.c
src/libelogind/sd-bus/sd-bus.c
src/systemd/sd-bus.h