[proto] Add <fd> to xml-xcb.txt

Submitted by Ran Benita on Nov. 27, 2013, 11:52 p.m.

Details

Message ID 1385596333-30385-1-git-send-email-ran234@gmail.com
State Accepted
Headers show

Not browsing as part of any series.

Commit Message

Ran Benita Nov. 27, 2013, 11:52 p.m.
Signed-off-by: Ran Benita <ran234@gmail.com>
---
 doc/xml-xcb.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

Patch hide | download patch | download mbox

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

Comments

On Thu, Nov 28, 2013 at 01:52:13AM +0200, Ran Benita wrote:
> Signed-off-by: Ran Benita <ran234@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".
On Thu, Nov 28, 2013 at 01:52:13AM +0200, Ran Benita wrote:
> Signed-off-by: Ran Benita <ran234@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
> -- 
> 1.8.4.2

Reviewed-by and queued.