General question on D-Bus design considerations

David Zeuthen zeuthen at
Mon Aug 23 11:24:40 PDT 2010


On Mon, Aug 23, 2010 at 1:22 PM, Lennart Poettering <mzqohf at> wrote:
> Uh? That's not really true. There is proper nego implemented for the
> unix fd stuff.

Indeed - the feature negotiation part of the authentication protocol
works just fine - in GDBus the negotiated capabilities are expressed
like this

and I expect to add things like G_DBUS_CAPABILITY_FLAGS_MAYBE_TYPES
and G_DBUS_CAPABILITY_FLAGS_FLOAT_TYPES once those bit hits the D-Bus

The way it is typically used is like this

e.g. you have an ifdef for if you are on UNIX in the first place, and
then a run-time check if you are connected to a message bus supporting
that capability.


More information about the dbus mailing list