[Xcb] [PATCH proto] Add <fd> to xml-xcb.txt
Daniel Martin
consume.noise at gmail.com
Sun Dec 1 02:36:57 PST 2013
On Thu, Nov 28, 2013 at 01:52:13AM +0200, Ran Benita wrote:
> Signed-off-by: Ran Benita <ran234 at gmail.com>
> ---
> doc/xml-xcb.txt | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/doc/xml-xcb.txt b/doc/xml-xcb.txt
> index 7311911..97ce5bf 100644
> --- a/doc/xml-xcb.txt
> +++ b/doc/xml-xcb.txt
> @@ -201,6 +201,14 @@ enum; the value is restricted to one of the constants named in the enum.
> declares the data type of the field, and the name attribute gives the name
> of the field.
>
> +<fd name="identifier" />
> +
> + This element represents a file descriptor field passed with the request. The
> + name attribute gives the name of the field.
> +
> + While ordinary fields are encoded as part of the request, file descriptor
> + fields are generally passed via an out-of-band mechanism.
> +
> <list type="identifier" name="identifier">expression</list>
>
> This element represents an array or list of fields in a data structure. The
Thanks Ran, for doing it. I've totally forgotten xml-xcb.txt.
Could you add a note about the file descriptor field in replies too?
There it marks a reply as having (possibly a list of) file descriptors
"attached".
More information about the Xcb
mailing list