]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/systemd/sd-bus.h
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)
committerLennart Poettering <lennart@poettering.net>
Wed, 30 May 2018 15:13:51 +0000 (17:13 +0200)
commit303acb7f2db3240491abb3cd8bdba90ecfc9306d
treeeed3852a957a7fdd09f061bcf9a46fa6e0aa47ae
parentd7828e117abbdad68a52af80d2eeefc35191d90a
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/libsystemd/libsystemd.sym
src/libsystemd/sd-bus/bus-internal.h
src/libsystemd/sd-bus/bus-slot.c
src/systemd/sd-bus.h