From: James Prestwood <james.prestwood@linux.intel.com>
To: ell@lists.01.org
Subject: Re: l_dbus_message_set_arguments
Date: Wed, 15 May 2019 11:23:35 -0700 [thread overview]
Message-ID: <670f48d6254aaf413856ca144edc96d1869a8630.camel@linux.intel.com> (raw)
In-Reply-To: <1557944201.32584.9.camel@intel.com>
[-- Attachment #1: Type: text/plain, Size: 780 bytes --]
Hi Brian,
On Wed, 2019-05-15 at 18:16 +0000, Gix, Brian wrote:
> 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)
I don't think you have to set the arguments if there isn't any. We do
it both ways in IWD, but it doesn't seem to be required.
Thanks,
James
> _______________________________________________
> ell mailing list
> ell(a)lists.01.org
> https://lists.01.org/mailman/listinfo/ell
prev parent reply other threads:[~2019-05-15 18:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` James Prestwood [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=670f48d6254aaf413856ca144edc96d1869a8630.camel@linux.intel.com \
--to=james.prestwood@linux.intel.com \
--cc=ell@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.