1 /* $XConsortium: xcmiscstr.h,v 1.4 94/04/17 20:11:28 dpw Exp $ */
4 Copyright (c) 1993, 1994 X Consortium
6 Permission is hereby granted, free of charge, to any person obtaining a copy
7 of this software and associated documentation files (the "Software"), to deal
8 in the Software without restriction, including without limitation the rights
9 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 copies of the Software, and to permit persons to whom the Software is
11 furnished to do so, subject to the following conditions:
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 Except as contained in this notice, the name of the X Consortium shall not be
24 used in advertising or otherwise to promote the sale, use or other dealings
25 in this Software without prior written authorization from the X Consortium.
29 #define X_XCMiscGetVersion 0
30 #define X_XCMiscGetXIDRange 1
31 #define X_XCMiscGetXIDList 2
33 #define XCMiscNumberEvents 0
35 #define XCMiscNumberErrors 0
37 #define XCMiscMajorVersion 1
38 #define XCMiscMinorVersion 1
40 #define XCMiscExtensionName "XC-MISC"
43 CARD8 reqType; /* always XCMiscCode */
44 CARD8 miscReqType; /* always X_XCMiscGetVersion */
46 CARD16 majorVersion B16;
47 CARD16 minorVersion B16;
48 } xXCMiscGetVersionReq;
49 #define sz_xXCMiscGetVersionReq 8
52 BYTE type; /* X_Reply */
54 CARD16 sequenceNumber B16;
56 CARD16 majorVersion B16;
57 CARD16 minorVersion B16;
63 } xXCMiscGetVersionReply;
64 #define sz_xXCMiscGetVersionReply 32
67 CARD8 reqType; /* always XCMiscCode */
68 CARD8 miscReqType; /* always X_XCMiscGetXIDRange */
70 } xXCMiscGetXIDRangeReq;
71 #define sz_xXCMiscGetXIDRangeReq 4
74 BYTE type; /* X_Reply */
76 CARD16 sequenceNumber B16;
84 } xXCMiscGetXIDRangeReply;
85 #define sz_xXCMiscGetXIDRangeReply 32
88 CARD8 reqType; /* always XCMiscCode */
89 CARD8 miscReqType; /* always X_XCMiscGetXIDList */
91 CARD32 count B32; /* number of IDs requested */
92 } xXCMiscGetXIDListReq;
93 #define sz_xXCMiscGetXIDListReq 8
96 BYTE type; /* X_Reply */
98 CARD16 sequenceNumber B16;
100 CARD32 count B32; /* number of IDs requested */
106 } xXCMiscGetXIDListReply;
107 #define sz_xXCMiscGetXIDListReply 32