1 | /* $XFree86$ */
|
---|
2 | /************************************************************
|
---|
3 |
|
---|
4 | Copyright 1989, 1998 The Open Group
|
---|
5 |
|
---|
6 | Permission to use, copy, modify, distribute, and sell this software and its
|
---|
7 | documentation for any purpose is hereby granted without fee, provided that
|
---|
8 | the above copyright notice appear in all copies and that both that
|
---|
9 | copyright notice and this permission notice appear in supporting
|
---|
10 | documentation.
|
---|
11 |
|
---|
12 | The above copyright notice and this permission notice shall be included in
|
---|
13 | all copies or substantial portions of the Software.
|
---|
14 |
|
---|
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
---|
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
---|
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
---|
18 | OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
---|
19 | AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
---|
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
---|
21 |
|
---|
22 | Except as contained in this notice, the name of The Open Group shall not be
|
---|
23 | used in advertising or otherwise to promote the sale, use or other dealings
|
---|
24 | in this Software without prior written authorization from The Open Group.
|
---|
25 |
|
---|
26 | ********************************************************/
|
---|
27 |
|
---|
28 | /* RANDOM CRUFT! THIS HAS NO OFFICIAL X CONSORTIUM OR X PROJECT TEAM BLESSING */
|
---|
29 |
|
---|
30 | /* $Xorg: mitmiscstr.h,v 1.4 2001/02/09 02:03:24 xorgcvs Exp $ */
|
---|
31 |
|
---|
32 | #ifndef _MITMISCSTR_H_
|
---|
33 | #define _MITMISCSTR_H_
|
---|
34 |
|
---|
35 | #include "MITMisc.h"
|
---|
36 |
|
---|
37 | #define MITMISCNAME "MIT-SUNDRY-NONSTANDARD"
|
---|
38 |
|
---|
39 | typedef struct _SetBugMode {
|
---|
40 | CARD8 reqType; /* always MITReqCode */
|
---|
41 | CARD8 mitReqType; /* always X_MITSetBugMode */
|
---|
42 | CARD16 length B16;
|
---|
43 | BOOL onOff;
|
---|
44 | BYTE pad0;
|
---|
45 | CARD16 pad1;
|
---|
46 | } xMITSetBugModeReq;
|
---|
47 | #define sz_xMITSetBugModeReq 8
|
---|
48 |
|
---|
49 | typedef struct _GetBugMode {
|
---|
50 | CARD8 reqType; /* always MITReqCode */
|
---|
51 | CARD8 mitReqType; /* always X_MITGetBugMode */
|
---|
52 | CARD16 length B16;
|
---|
53 | } xMITGetBugModeReq;
|
---|
54 | #define sz_xMITGetBugModeReq 4
|
---|
55 |
|
---|
56 | typedef struct {
|
---|
57 | BYTE type; /* X_Reply */
|
---|
58 | BOOL onOff;
|
---|
59 | CARD16 sequenceNumber B16;
|
---|
60 | CARD32 length B32;
|
---|
61 | CARD32 pad0 B32;
|
---|
62 | CARD32 pad1 B32;
|
---|
63 | CARD32 pad2 B32;
|
---|
64 | CARD32 pad3 B32;
|
---|
65 | CARD32 pad4 B32;
|
---|
66 | CARD32 pad5 B32;
|
---|
67 | } xMITGetBugModeReply;
|
---|
68 | #define sz_xMITGetBugModeReply 32
|
---|
69 |
|
---|
70 | #endif /* _MITMISCSTR_H_ */
|
---|