[Xcb] Question about XCB-XML

Vincent Torri vtorri at univ-evry.fr
Wed May 26 01:52:17 PDT 2010

On Wed, 26 May 2010, Marcos Roriz wrote:

> Hello Guys,
>    One of the thing that I didn't understand is why does XCB/Xlib needs to
> generate Xml for the protocol

no xml file is *generated*. The protocol is described (that is, written 
by people, see proto/ in the git repo of XCB) as several XML files, and, 
from those XML files, C files are generated (with a python) and then 

Vincent Torri

> isn't the protocol fixed (at least at core),
> i.e., "imutable", ins't better/easier to just create a implementation or
> does it really needs the power of dynamic generation the C bindings? One
> explanation is that it makes it easier to do a domain language (for example
> xml-xcb) to describe the protocol, other than that is that like any
> advantage???
> Thanks in advance,
> Marcos Roriz
> -- 
> Marcos Roriz
> Bacharelando em Ciência da Computação
> Universidade Federal de Goiás
> E-mail: marcosrorizinf at gmail.com
> Home Page:http://marcosroriz.wordpress.com

More information about the Xcb mailing list