[Xcb] Encoding a certain protocol request

Eamon Walsh ewalsh at tycho.nsa.gov
Mon Mar 3 21:07:50 PST 2008

I am trying to encode a reply that consists of a list of foo, where each 
foo is the following structure:

  <struct name="ListItem">
    <field type="ATOM" name="name" />
    <field type="CARD32" name="object_context_len" />
    <field type="CARD32" name="data_context_len" />
    <list type="char" name="object_context">
    <list type="char" name="data_context">

This is evidently not supported by the stylesheet.  Is there a better 
way to encode this?

The CARD32 length for the strings is not a requirement, but the STR8 
type (256 char max) will not suffice.

Eamon Walsh <ewalsh at tycho.nsa.gov>
National Security Agency

More information about the Xcb mailing list