diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-02-19 00:20:10 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-02-20 13:44:02 +0900 |
commit | 6c41cf445912c12e14b1e94414a0fce1fa060ac2 (patch) | |
tree | 59411b2c84b2b8ee2036f94e3538c07d2f8f453d /man/sd_bus_send.xml | |
parent | fa98c99ea7f7c5bec3962fa52f4d3496a9777024 (diff) | |
download | systemd-6c41cf445912c12e14b1e94414a0fce1fa060ac2.tar.gz |
sd-bus: simplify sd_bus_reply()
there's no point in having two arguments, if one does as well.
Diffstat (limited to 'man/sd_bus_send.xml')
-rw-r--r-- | man/sd_bus_send.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/man/sd_bus_send.xml b/man/sd_bus_send.xml index c4c623a1e8..02ba3b8104 100644 --- a/man/sd_bus_send.xml +++ b/man/sd_bus_send.xml @@ -19,6 +19,7 @@ <refnamediv> <refname>sd_bus_send</refname> <refname>sd_bus_send_to</refname> + <refname>sd_bus_message_send</refname> <refpurpose>Queue a D-Bus message for transfer</refpurpose> </refnamediv> @@ -41,6 +42,11 @@ <paramdef>const char *<parameter>destination</parameter></paramdef> <paramdef>uint64_t *<parameter>cookie</parameter></paramdef> </funcprototype> + + <funcprototype> + <funcdef>int sd_bus_message_send</funcdef> + <paramdef>sd_bus_message *<parameter>m</parameter></paramdef> + </funcprototype> </funcsynopsis> </refsynopsisdiv> @@ -76,6 +82,10 @@ call fails. <citerefentry><refentrytitle>sd_bus_process</refentrytitle><manvolnum>3</manvolnum></citerefentry> should be invoked to write out any queued message data to the transport.</para> + + <para><function>sd_bus_message_send()</function> is the same as <function>sd_bus_send()</function> but + without the first and last argument. It's equivalent to + <function>sd_bus_message_send(sd_bus_message_get_bus(m), m, NULL)</function>.</para> </refsect1> <refsect1> |