VirtualBox

source: vbox/trunk/src/VBox/Additions/linux/x11include/7.0/X11/extensions/xcmiscstr.h@ 1

Last change on this file since 1 was 1, checked in by vboxsync, 55 years ago

import

File size: 3.2 KB
Line 
1/* $Xorg: xcmiscstr.h,v 1.4 2001/02/09 02:03:24 xorgcvs Exp $ */
2/*
3
4Copyright 1993, 1994, 1998 The Open Group
5
6Permission to use, copy, modify, distribute, and sell this software and its
7documentation for any purpose is hereby granted without fee, provided that
8the above copyright notice appear in all copies and that both that
9copyright notice and this permission notice appear in supporting
10documentation.
11
12The above copyright notice and this permission notice shall be included in
13all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22Except as contained in this notice, the name of The Open Group shall not be
23used in advertising or otherwise to promote the sale, use or other dealings
24in this Software without prior written authorization from The Open Group.
25
26*/
27/* $XFree86$ */
28
29#ifndef _XCMISCSTR_H_
30#define _XCMISCSTR_H_
31
32#define X_XCMiscGetVersion 0
33#define X_XCMiscGetXIDRange 1
34#define X_XCMiscGetXIDList 2
35
36#define XCMiscNumberEvents 0
37
38#define XCMiscNumberErrors 0
39
40#define XCMiscMajorVersion 1
41#define XCMiscMinorVersion 1
42
43#define XCMiscExtensionName "XC-MISC"
44
45typedef struct {
46 CARD8 reqType; /* always XCMiscCode */
47 CARD8 miscReqType; /* always X_XCMiscGetVersion */
48 CARD16 length B16;
49 CARD16 majorVersion B16;
50 CARD16 minorVersion B16;
51} xXCMiscGetVersionReq;
52#define sz_xXCMiscGetVersionReq 8
53
54typedef struct {
55 BYTE type; /* X_Reply */
56 CARD8 pad0;
57 CARD16 sequenceNumber B16;
58 CARD32 length B32;
59 CARD16 majorVersion B16;
60 CARD16 minorVersion B16;
61 CARD32 pad1 B32;
62 CARD32 pad2 B32;
63 CARD32 pad3 B32;
64 CARD32 pad4 B32;
65 CARD32 pad5 B32;
66} xXCMiscGetVersionReply;
67#define sz_xXCMiscGetVersionReply 32
68
69typedef struct {
70 CARD8 reqType; /* always XCMiscCode */
71 CARD8 miscReqType; /* always X_XCMiscGetXIDRange */
72 CARD16 length B16;
73} xXCMiscGetXIDRangeReq;
74#define sz_xXCMiscGetXIDRangeReq 4
75
76typedef struct {
77 BYTE type; /* X_Reply */
78 CARD8 pad0;
79 CARD16 sequenceNumber B16;
80 CARD32 length B32;
81 CARD32 start_id B32;
82 CARD32 count B32;
83 CARD32 pad1 B32;
84 CARD32 pad2 B32;
85 CARD32 pad3 B32;
86 CARD32 pad4 B32;
87} xXCMiscGetXIDRangeReply;
88#define sz_xXCMiscGetXIDRangeReply 32
89
90typedef struct {
91 CARD8 reqType; /* always XCMiscCode */
92 CARD8 miscReqType; /* always X_XCMiscGetXIDList */
93 CARD16 length B16;
94 CARD32 count B32; /* number of IDs requested */
95} xXCMiscGetXIDListReq;
96#define sz_xXCMiscGetXIDListReq 8
97
98typedef struct {
99 BYTE type; /* X_Reply */
100 CARD8 pad0;
101 CARD16 sequenceNumber B16;
102 CARD32 length B32;
103 CARD32 count B32; /* number of IDs requested */
104 CARD32 pad1 B32;
105 CARD32 pad2 B32;
106 CARD32 pad3 B32;
107 CARD32 pad4 B32;
108 CARD32 pad5 B32;
109} xXCMiscGetXIDListReply;
110#define sz_xXCMiscGetXIDListReply 32
111
112#endif /* _XCMISCSTR_H_ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette