diff options
Diffstat (limited to 'include/X11/extensions/XResproto.h')
-rw-r--r-- | include/X11/extensions/XResproto.h | 136 |
1 files changed, 68 insertions, 68 deletions
diff --git a/include/X11/extensions/XResproto.h b/include/X11/extensions/XResproto.h index 13b5cdb..74cc876 100644 --- a/include/X11/extensions/XResproto.h +++ b/include/X11/extensions/XResproto.h @@ -41,25 +41,25 @@ typedef struct { typedef struct _XResQueryVersion { CARD8 reqType; CARD8 XResReqType; - CARD16 length B16; + CARD16 length; CARD8 client_major; CARD8 client_minor; - CARD16 unused B16; + CARD16 unused; } xXResQueryVersionReq; #define sz_xXResQueryVersionReq 8 typedef struct { CARD8 type; CARD8 pad1; - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD16 server_major B16; - CARD16 server_minor B16; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; + CARD16 sequenceNumber; + CARD32 length; + CARD16 server_major; + CARD16 server_minor; + CARD32 pad2; + CARD32 pad3; + CARD32 pad4; + CARD32 pad5; + CARD32 pad6; } xXResQueryVersionReply; #define sz_xXResQueryVersionReply 32 @@ -68,21 +68,21 @@ typedef struct { typedef struct _XResQueryClients { CARD8 reqType; CARD8 XResReqType; - CARD16 length B16; + CARD16 length; } xXResQueryClientsReq; #define sz_xXResQueryClientsReq 4 typedef struct { CARD8 type; CARD8 pad1; - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 num_clients B32; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; + CARD16 sequenceNumber; + CARD32 length; + CARD32 num_clients; + CARD32 pad2; + CARD32 pad3; + CARD32 pad4; + CARD32 pad5; + CARD32 pad6; } xXResQueryClientsReply; #define sz_xXResQueryClientsReply 32 @@ -91,22 +91,22 @@ typedef struct { typedef struct _XResQueryClientResources { CARD8 reqType; CARD8 XResReqType; - CARD16 length B16; - CARD32 xid B32; + CARD16 length; + CARD32 xid; } xXResQueryClientResourcesReq; #define sz_xXResQueryClientResourcesReq 8 typedef struct { CARD8 type; CARD8 pad1; - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 num_types B32; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; + CARD16 sequenceNumber; + CARD32 length; + CARD32 num_types; + CARD32 pad2; + CARD32 pad3; + CARD32 pad4; + CARD32 pad5; + CARD32 pad6; } xXResQueryClientResourcesReply; #define sz_xXResQueryClientResourcesReply 32 @@ -115,22 +115,22 @@ typedef struct { typedef struct _XResQueryClientPixmapBytes { CARD8 reqType; CARD8 XResReqType; - CARD16 length B16; - CARD32 xid B32; + CARD16 length; + CARD32 xid; } xXResQueryClientPixmapBytesReq; #define sz_xXResQueryClientPixmapBytesReq 8 typedef struct { CARD8 type; CARD8 pad1; - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 bytes B32; - CARD32 bytes_overflow B32; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; + CARD16 sequenceNumber; + CARD32 length; + CARD32 bytes; + CARD32 bytes_overflow; + CARD32 pad2; + CARD32 pad3; + CARD32 pad4; + CARD32 pad5; } xXResQueryClientPixmapBytesReply; #define sz_xXResQueryClientPixmapBytesReply 32 @@ -140,14 +140,14 @@ typedef struct { #define X_XResLocalClientPIDMask 0x02 typedef struct _XResClientIdSpec { - CARD32 client B32; - CARD32 mask B32; + CARD32 client; + CARD32 mask; } xXResClientIdSpec; #define sz_xXResClientIdSpec 8 typedef struct _XResClientIdValue { xXResClientIdSpec spec; - CARD32 length B32; + CARD32 length; // followed by length CARD32s } xXResClientIdValue; #define sz_xResClientIdValue (sz_xXResClientIdSpec + 4) @@ -155,8 +155,8 @@ typedef struct _XResClientIdValue { typedef struct _XResQueryClientIds { CARD8 reqType; CARD8 XResReqType; - CARD16 length B16; - CARD32 numSpecs B32; + CARD16 length; + CARD32 numSpecs; // followed by numSpecs times XResClientIdSpec } xXResQueryClientIdsReq; #define sz_xXResQueryClientIdsReq 8 @@ -164,14 +164,14 @@ typedef struct _XResQueryClientIds { typedef struct { CARD8 type; CARD8 pad1; - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 numIds B32; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; + CARD16 sequenceNumber; + CARD32 length; + CARD32 numIds; + CARD32 pad2; + CARD32 pad3; + CARD32 pad4; + CARD32 pad5; + CARD32 pad6; // followed by numIds times XResClientIdValue } xXResQueryClientIdsReply; #define sz_xXResQueryClientIdsReply 32 @@ -187,24 +187,24 @@ typedef struct _XResResourceIdSpec { typedef struct _XResQueryResourceBytes { CARD8 reqType; CARD8 XResReqType; - CARD16 length B16; - CARD32 client B32; - CARD32 numSpecs B32; + CARD16 length; + CARD32 client; + CARD32 numSpecs; // followed by numSpecs times XResResourceIdSpec } xXResQueryResourceBytesReq; #define sz_xXResQueryResourceBytesReq 12 typedef struct _XResResourceSizeSpec { xXResResourceIdSpec spec; - CARD32 bytes B32; - CARD32 refCount B32; - CARD32 useCount B32; + CARD32 bytes; + CARD32 refCount; + CARD32 useCount; } xXResResourceSizeSpec; #define sz_xXResResourceSizeSpec (sz_xXResResourceIdSpec + 12) typedef struct _XResResourceSizeValue { xXResResourceSizeSpec size; - CARD32 numCrossReferences B32; + CARD32 numCrossReferences; // followed by numCrossReferences times XResResourceSizeSpec } xXResResourceSizeValue; #define sz_xXResResourceSizeValue (sz_xXResResourceSizeSpec + 4) @@ -212,14 +212,14 @@ typedef struct _XResResourceSizeValue { typedef struct { CARD8 type; CARD8 pad1; - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 numSizes B32; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; - CARD32 pad6 B32; + CARD16 sequenceNumber; + CARD32 length; + CARD32 numSizes; + CARD32 pad2; + CARD32 pad3; + CARD32 pad4; + CARD32 pad5; + CARD32 pad6; // followed by numSizes times XResResourceSizeValue } xXResQueryResourceBytesReply; #define sz_xXResQueryResourceBytesReply 32 |