diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-08-02 00:00:15 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-08-02 15:49:45 +0200 |
commit | e7015301fbdd737f667ba7dabcf201d218c5cf6e (patch) | |
tree | e5b0ee0bc0b5db799bfcccd81961e57dffbcca4c /man/sd_bus_slot_ref.xml | |
parent | man: add sd_bus_slot_set_description(3) (diff) | |
download | systemd-e7015301fbdd737f667ba7dabcf201d218c5cf6e.tar.xz systemd-e7015301fbdd737f667ba7dabcf201d218c5cf6e.zip |
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.xml | 11 |
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" /> |