unix-fd: introduce basic protocol definitions
authorLennart Poettering <lennart@poettering.net>
Wed, 22 Apr 2009 01:32:35 +0000 (03:32 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 19 May 2009 23:36:37 +0000 (01:36 +0200)
commitfaac66e3ea52644a5efa2f69ea2f6825a15b31a6
treecd6c3b43cf6b86e3eee0a7689c5dfdf8b6372f6d
parent4c4db7f9da1aa29c264a9f9d7d9fb1d774e28ee1
unix-fd: introduce basic protocol definitions

We introduce a new type code for the unix fds. The data stored in unix
fd fields will be an integer index into the array of fds that are
attached to a specific message. We also introduce a new header field
that stores how many fds belong to the message. And finally we introduce
a new error for messages where the payload and the meta data (i.e. unix
fds read for it) don't match up.
dbus/dbus-protocol.h