summaryrefslogtreecommitdiffstats
path: root/man/sd_bus_add_match.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-05-30 16:33:12 +0200
committerLennart Poettering <lennart@poettering.net>2018-05-30 17:34:34 +0200
commit1004b2c7bc5adb8dba23e209c88f74a02ac5f709 (patch)
treed9110c324dfafc187265464309da9767b5d7859b /man/sd_bus_add_match.xml
parentsd-bus: add new sd_bus_slot_set_floating() call (diff)
downloadsystemd-1004b2c7bc5adb8dba23e209c88f74a02ac5f709.tar.xz
systemd-1004b2c7bc5adb8dba23e209c88f74a02ac5f709.zip
man: document the new sd_bus_slot_set_floating() call
Also extend the memory management description of sd-bus highlighting the effect of "floating" slot objects a bit.
Diffstat (limited to 'man/sd_bus_add_match.xml')
-rw-r--r--man/sd_bus_add_match.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/man/sd_bus_add_match.xml b/man/sd_bus_add_match.xml
index 07a7b0ea17..13f2b06af0 100644
--- a/man/sd_bus_add_match.xml
+++ b/man/sd_bus_add_match.xml
@@ -132,7 +132,9 @@
at a later time with
<citerefentry><refentrytitle>sd_bus_slot_unref</refentrytitle><manvolnum>3</manvolnum></citerefentry>. If specified
as <constant>NULL</constant> the lifetime of the match is bound to the lifetime of the bus object itself, and the
- match cannot be removed independently.</para>
+ match is generally not removed independently. See
+ <citerefentry><refentrytitle>sd_bus_slot_set_floating</refentrytitle><manvolnum>3</manvolnum></citerefentry> for
+ details.</para>
<para>The message <parameter>m</parameter> passed to the callback is only borrowed, that is, the callback should
not call <citerefentry><refentrytitle>sd_bus_message_unref</refentrytitle><manvolnum>3</manvolnum></citerefentry>
@@ -175,7 +177,8 @@
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_bus_slot_unref</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_bus_message_ref</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd_bus_set_bus_client</refentrytitle><manvolnum>3</manvolnum></citerefentry>
+ <citerefentry><refentrytitle>sd_bus_set_bus_client</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd_bus_slot_set_floating</refentrytitle><manvolnum>3</manvolnum></citerefentry>
</para>
</refsect1>