3 Copyright 1993, 1994, 1998 The Open Group
5 Permission to use, copy, modify, distribute, and sell this software and its
6 documentation for any purpose is hereby granted without fee, provided that
7 the above copyright notice appear in all copies and that both that
8 copyright notice and this permission notice appear in supporting
11 The above copyright notice and this permission notice shall be included in
12 all copies or substantial portions of the Software.
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 Except as contained in this notice, the name of The Open Group shall not be
22 used in advertising or otherwise to promote the sale, use or other dealings
23 in this Software without prior written authorization from The Open Group.
27 #ifndef _XCMISCPROTO_H_
28 #define _XCMISCPROTO_H_
30 #define X_XCMiscGetVersion 0
31 #define X_XCMiscGetXIDRange 1
32 #define X_XCMiscGetXIDList 2
34 #define XCMiscNumberEvents 0
36 #define XCMiscNumberErrors 0
38 #define XCMiscMajorVersion 1
39 #define XCMiscMinorVersion 1
41 #define XCMiscExtensionName "XC-MISC"
44 CARD8 reqType; /* always XCMiscCode */
45 CARD8 miscReqType; /* always X_XCMiscGetVersion */
47 CARD16 majorVersion B16;
48 CARD16 minorVersion B16;
49 } xXCMiscGetVersionReq;
50 #define sz_xXCMiscGetVersionReq 8
53 BYTE type; /* X_Reply */
55 CARD16 sequenceNumber B16;
57 CARD16 majorVersion B16;
58 CARD16 minorVersion B16;
64 } xXCMiscGetVersionReply;
65 #define sz_xXCMiscGetVersionReply 32
68 CARD8 reqType; /* always XCMiscCode */
69 CARD8 miscReqType; /* always X_XCMiscGetXIDRange */
71 } xXCMiscGetXIDRangeReq;
72 #define sz_xXCMiscGetXIDRangeReq 4
75 BYTE type; /* X_Reply */
77 CARD16 sequenceNumber B16;
85 } xXCMiscGetXIDRangeReply;
86 #define sz_xXCMiscGetXIDRangeReply 32
89 CARD8 reqType; /* always XCMiscCode */
90 CARD8 miscReqType; /* always X_XCMiscGetXIDList */
92 CARD32 count B32; /* number of IDs requested */
93 } xXCMiscGetXIDListReq;
94 #define sz_xXCMiscGetXIDListReq 8
97 BYTE type; /* X_Reply */
99 CARD16 sequenceNumber B16;
101 CARD32 count B32; /* number of IDs requested */
107 } xXCMiscGetXIDListReply;
108 #define sz_xXCMiscGetXIDListReply 32
110 #endif /* _XCMISCPROTO_H_ */