moving file descriptor passing into a header

David Zeuthen zeuthen at gmail.com
Tue Apr 13 14:48:42 PDT 2010


On Tue, Apr 13, 2010 at 5:36 PM, Lennart Poettering <mzqohf at 0pointer.de> wrote:
> what is this about?

The problem is that 'h' breaks an extremely nice property about the
body of a D-Bus message: that it can be serialized to and from stable
storage. It doesn't make much sense to do this if the body contains
instances of the 'h' type - you will get useless ints back that you
can't use anywhere.

Presumably you can still use the 'i' type to convey the index into the
file descriptor table of the message.

Since there was never a stable release of D-Bus with the 'h' type
it should be fine to make this change.

      David


More information about the dbus mailing list