All of lore.kernel.org
 help / color / mirror / Atom feed
* l_dbus_message_set_arguments
@ 2019-05-15 18:16 Gix, Brian
  2019-05-15 18:18 ` l_dbus_message_set_arguments Denis Kenzior
  2019-05-15 18:23 ` l_dbus_message_set_arguments James Prestwood
  0 siblings, 2 replies; 3+ messages in thread
From: Gix, Brian @ 2019-05-15 18:16 UTC (permalink / raw)
  To: ell

[-- Attachment #1: Type: text/plain, Size: 390 bytes --]


When creating a response to a D-Bus message with 

reply = l_dbus_message_new_method_return(msg);

where the original method has an empty (void) return list, is it neccessary to set the arguments:

l_dbus_message_set_arguments(reply, "");

or can I just:

return l_dbus_message_new_method_return(msg);

from within the message handler? (without setting non-existant arguments)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-15 18:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-15 18:16 l_dbus_message_set_arguments Gix, Brian
2019-05-15 18:18 ` l_dbus_message_set_arguments Denis Kenzior
2019-05-15 18:23 ` l_dbus_message_set_arguments James Prestwood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.