spice-protocol-pxvdi/python_modules
Marc-Andre Lureau 267391c8fd protocol: learn to describe fd passing in messages
Add a new type, "unix_fd", used to describe file descriptor sharing via
socket ancillary data (these messages are local only).

The marshaller/demarshaller can't serialize this in memory (consume_fd
implementation is empty), so it is the responsability of the marshaller
user to handle sending and receiving the handles, which are appended at
the end of the message with an extra stream byte (because some Unix
requires sending at least a byte with ancillary data).

Even if there is no fd to send (or if the fd is invalid etc), the
receiver side expects an extra byte anyway.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2016-01-14 11:46:16 +00:00
..
__init__.py Initial import of spice protocol description and demarshall generator 2012-03-20 15:25:43 +01:00
codegen.py codegen: Allow to specify C type for index variable 2015-07-23 11:22:11 +02:00
demarshal.py protocol: learn to describe fd passing in messages 2016-01-14 11:46:16 +00:00
Makefile.am build-sys: Use $datadir for .proto files/codegen scripts 2015-10-02 12:51:51 +02:00
marshal.py codegen: Simplify if/else blocks 2015-07-23 11:11:03 +02:00
ptypes.py protocol: learn to describe fd passing in messages 2016-01-14 11:46:16 +00:00
spice_parser.py protocol: learn to describe fd passing in messages 2016-01-14 11:46:16 +00:00