File indexing completed on 2025-01-18 10:14:17
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027 #ifndef _XCUPPROTO_H_
0028 #define _XCUPPROTO_H_
0029
0030 #include <X11/extensions/cup.h>
0031
0032 #define X_XcupQueryVersion 0
0033 #define X_XcupGetReservedColormapEntries 1
0034 #define X_XcupStoreColors 2
0035
0036 typedef struct _XcupQueryVersion {
0037 CARD8 reqType;
0038 CARD8 xcupReqType;
0039 CARD16 length B16;
0040 CARD16 client_major_version B16;
0041 CARD16 client_minor_version B16;
0042 } xXcupQueryVersionReq;
0043 #define sz_xXcupQueryVersionReq 8
0044
0045 typedef struct {
0046 BYTE type;
0047 BOOL pad1;
0048 CARD16 sequence_number B16;
0049 CARD32 length B32;
0050 CARD16 server_major_version B16;
0051 CARD16 server_minor_version B16;
0052 CARD32 pad2 B32;
0053 CARD32 pad3 B32;
0054 CARD32 pad4 B32;
0055 CARD32 pad5 B32;
0056 CARD32 pad6 B32;
0057 } xXcupQueryVersionReply;
0058 #define sz_xXcupQueryVersionReply 32
0059
0060 typedef struct _XcupGetReservedColormapEntries {
0061 CARD8 reqType;
0062 CARD8 xcupReqType;
0063 CARD16 length B16;
0064 CARD32 screen B32;
0065 } xXcupGetReservedColormapEntriesReq;
0066 #define sz_xXcupGetReservedColormapEntriesReq 8
0067
0068 typedef struct {
0069 BYTE type;
0070 BOOL pad1;
0071 CARD16 sequence_number B16;
0072 CARD32 length B32;
0073 CARD32 pad2 B32;
0074 CARD32 pad3 B32;
0075 CARD32 pad4 B32;
0076 CARD32 pad5 B32;
0077 CARD32 pad6 B32;
0078 CARD32 pad7 B32;
0079 } xXcupGetReservedColormapEntriesReply;
0080 #define sz_xXcupGetReservedColormapEntriesReply 32
0081
0082 typedef struct _XcupStoreColors {
0083 CARD8 reqType;
0084 CARD8 xcupReqType;
0085 CARD16 length B16;
0086 CARD32 cmap B32;
0087 } xXcupStoreColorsReq;
0088 #define sz_xXcupStoreColorsReq 8
0089
0090 typedef struct {
0091 BYTE type;
0092 BOOL pad1;
0093 CARD16 sequence_number B16;
0094 CARD32 length B32;
0095 CARD32 pad2 B32;
0096 CARD32 pad3 B32;
0097 CARD32 pad4 B32;
0098 CARD32 pad5 B32;
0099 CARD32 pad6 B32;
0100 CARD32 pad7 B32;
0101 } xXcupStoreColorsReply;
0102 #define sz_xXcupStoreColorsReply 32
0103
0104 #endif
0105