chiark / gitweb /
sd-bus: add new sd_bus_slot_set_floating() call
authorLennart Poettering <lennart@poettering.net>
Wed, 30 May 2018 14:29:33 +0000 (16:29 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commit5e6f361df2ee37bf2ce8f71177d7aef175f11113
tree274d35d578eaa4d81b11c35687b040502d5f33a9
parenta34becc09a6ec529c2067cd578ec01810b915052
sd-bus: add new sd_bus_slot_set_floating() call

This new call allows explicit control of the "floating" state of a bus
slot object. This is useful for creating a bus slot object first,
retaining a reference to it, using it for making changes to the slot
object (for example, set a description) and then handing it over to
sd-bus for lifecycle management.

It's also useful to fix #8551.
src/libelogind/libelogind.sym
src/libelogind/sd-bus/bus-internal.h
src/libelogind/sd-bus/bus-slot.c
src/systemd/sd-bus.h