moving file descriptor passing into a header

Colin Walters walters at verbum.org
Wed Apr 14 03:26:20 PDT 2010


On Wed, Apr 14, 2010 at 5:38 AM, Luiz Augusto von Dentz
<luiz.dentz at gmail.com> wrote:

> So if I understand it correctly this won't work anymore and we will
> have to deal with it separately, by doing:
>
> if DBUS_TYPE_UNIX_FD
>        dbus_message_append_args(msg, DBUS_TYPE_UNIX_FD, &fd,
>                                        DBUS_TYPE_INVALID);
> else
>        dbus_message_append_unix_file_descriptor(msg, fd);
>
> Is that right?

That's the proposal, correct.


More information about the dbus mailing list