summaryrefslogtreecommitdiff
path: root/man/sd_bus_slot_ref.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-08-02 00:00:15 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-08-02 15:49:45 +0200
commite7015301fbdd737f667ba7dabcf201d218c5cf6e (patch)
treee5b0ee0bc0b5db799bfcccd81961e57dffbcca4c /man/sd_bus_slot_ref.xml
parentdee0fccca3a54c88a13129de83edf28ffe9c61d7 (diff)
downloadsystemd-e7015301fbdd737f667ba7dabcf201d218c5cf6e.tar.gz
man: document sd_bus_slot_get_bus in sd_bus_slot_ref(3)
Similar reasoning as for sd_bus_message_get_bus().
Diffstat (limited to 'man/sd_bus_slot_ref.xml')
-rw-r--r--man/sd_bus_slot_ref.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/man/sd_bus_slot_ref.xml b/man/sd_bus_slot_ref.xml
index 3e3322003e..c5f050635d 100644
--- a/man/sd_bus_slot_ref.xml
+++ b/man/sd_bus_slot_ref.xml
@@ -18,6 +18,7 @@
<refname>sd_bus_slot_ref</refname>
<refname>sd_bus_slot_unref</refname>
<refname>sd_bus_slot_unrefp</refname>
+ <refname>sd_bus_slot_get_bus</refname>
<refpurpose>Create and destroy references to a bus slot object</refpurpose>
</refnamediv>
@@ -40,6 +41,11 @@
<funcdef>void <function>sd_bus_slot_unrefp</function></funcdef>
<paramdef>sd_bus_slot **<parameter>slotp</parameter></paramdef>
</funcprototype>
+
+ <funcprototype>
+ <funcdef>sd_bus *<function>sd_bus_slot_get_bus</function></funcdef>
+ <paramdef>sd_bus_slot *<parameter>m</parameter></paramdef>
+ </funcprototype>
</funcsynopsis>
</refsynopsisdiv>
@@ -68,6 +74,9 @@
its argument, which must not be <constant>NULL</constant>, and will execute no operation if
<emphasis>that</emphasis> is <constant>NULL</constant>.
</para>
+
+ <para><function>sd_bus_slot_get_bus()</function> returns the bus object that message
+ <parameter>slot</parameter> is attached to.</para>
</refsect1>
<refsect1>
@@ -76,6 +85,8 @@
<para><function>sd_bus_slot_ref()</function> always returns the argument.</para>
<para><function>sd_bus_slot_unref()</function> always returns <constant>NULL</constant>.</para>
+
+ <para><function>sd_bus_slot_get_bus()</function> always returns the bus object.</para>
</refsect1>
<xi:include href="libsystemd-pkgconfig.xml" />