-The C bindings for the core protocol and all the currently supported
-extensions are built as part of the xcb build system. However, for the
-purposes of creating and debugging new protocol descriptions, it can be useful
-to generate the bindings directly by invoking c-client.xsl to the XML protocol
-description.
-
-You must provide several parameters to c-client.xsl:
-
-mode: header or source; specifies which part of the C bindings to generate.
-base-path: path to the core X protocol descriptions.
-extension-path: path to the extension descriptions.
-
-For example, using xsltproc, you can generate the header for a protocol
-description "protocol.xml" with the command:
-
-xsltproc --stringparam base-path /path/to/xcb-proto/src \
- --stringparam extension-path /path/to/xcb-proto/src/extensions \
- --stringparam mode header /path/to/xcb/src/c-client.xsl protocol.xml