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)
committerLennart Poettering <lennart@poettering.net>
Fri, 5 Jan 2018 12:58:33 +0000 (13:58 +0100)
commit48ef41a33592bbcf4dac441f13ce4555257a3e7b
tree3e61cb1afcb62111f335280a064de988897fea34
parentc944ca8e82f7e60fed852d4854cdfa18ea609141
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/libsystemd/libsystemd.sym
src/libsystemd/sd-bus/bus-internal.h
src/libsystemd/sd-bus/bus-message.c
src/libsystemd/sd-bus/sd-bus.c
src/systemd/sd-bus.h