From: Zbigniew Jędrzejewski-Szmek Date: Fri, 27 Jul 2018 12:07:02 +0000 (+0200) Subject: man: document sd_bus_message_new_method_return X-Git-Tag: v240~868^2~10 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fsystemd.git;a=commitdiff_plain;h=7ddee2171627d6ce059a6a66b46b0b4367b77bd5 man: document sd_bus_message_new_method_return --- diff --git a/man/rules/meson.build b/man/rules/meson.build index 8a69d046bf6..7ddd415c58f 100644 --- a/man/rules/meson.build +++ b/man/rules/meson.build @@ -223,7 +223,10 @@ manpages = [ 'sd_bus_message_unref', 'sd_bus_message_unrefp'], ''], - ['sd_bus_message_new_method_call', '3', [], ''], + ['sd_bus_message_new_method_call', + '3', + ['sd_bus_message_new_method_return'], + ''], ['sd_bus_message_new_method_error', '3', ['sd_bus_message_new_method_errno', diff --git a/man/sd_bus_message_new_method_call.xml b/man/sd_bus_message_new_method_call.xml index 1226f1050c2..c643177ba47 100644 --- a/man/sd_bus_message_new_method_call.xml +++ b/man/sd_bus_message_new_method_call.xml @@ -18,6 +18,7 @@ sd_bus_message_new_method_call + sd_bus_message_new_method_return Create a method call message @@ -35,6 +36,12 @@ const char *interface const char *member + + + int sd_bus_message_new_method_return + sd_bus_message *call + sd_bus_message **m + @@ -62,6 +69,12 @@ interface parameter may be NULL, if the destination has only a single member with the given name and there is no ambiguity if the interface name is omitted. + + The sd_bus_message_new_method_call() function creates a new bus + message object that is a reply to the method call call and returns it in + the m output parameter. The call parameter must be + a method call message. The sender of call is used as the destination. + @@ -88,7 +101,10 @@ parameter is not a valid D-Bus path (/an/object/path), the interface parameter is non-null and is not a valid D-Bus interface name (an.interface.name), or the member parameter - is not a valid D-Bus member (Name). + is not a valid D-Bus member (Name). + + The call parameter is not a method call object. + @@ -103,6 +119,22 @@ Memory allocation failed. + + + -EPERM + + + The call parameter is not sealed. + + + + + -EOPNOTSUPP + + + The call message does not have a cookie. + +