Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:14:18

0001 /************************************************************
0002 
0003 Copyright 1989, 1998  The Open Group
0004 
0005 Permission to use, copy, modify, distribute, and sell this software and its
0006 documentation for any purpose is hereby granted without fee, provided that
0007 the above copyright notice appear in all copies and that both that
0008 copyright notice and this permission notice appear in supporting
0009 documentation.
0010 
0011 The above copyright notice and this permission notice shall be included in
0012 all copies or substantial portions of the Software.
0013 
0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
0017 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
0018 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
0019 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0020 
0021 Except as contained in this notice, the name of The Open Group shall not be
0022 used in advertising or otherwise to promote the sale, use or other dealings
0023 in this Software without prior written authorization from The Open Group.
0024 
0025 ********************************************************/
0026 
0027 /* RANDOM CRUFT! THIS HAS NO OFFICIAL X CONSORTIUM OR X PROJECT TEAM BLESSING */
0028 
0029 #ifndef _MITMISCPROTO_H_
0030 #define _MITMISCPROTO_H_
0031 
0032 #include <X11/extensions/mitmiscconst.h>
0033 
0034 #define X_MITSetBugMode         0
0035 #define X_MITGetBugMode         1
0036 
0037 typedef struct _SetBugMode {
0038     CARD8   reqType;    /* always MITReqCode */
0039     CARD8   mitReqType; /* always X_MITSetBugMode */
0040     CARD16  length B16;
0041     BOOL    onOff;
0042     BYTE    pad0;
0043     CARD16  pad1;
0044 } xMITSetBugModeReq;
0045 #define sz_xMITSetBugModeReq    8
0046 
0047 typedef struct _GetBugMode {
0048     CARD8   reqType;    /* always MITReqCode */
0049     CARD8   mitReqType; /* always X_MITGetBugMode */
0050     CARD16  length B16;
0051 } xMITGetBugModeReq;
0052 #define sz_xMITGetBugModeReq    4
0053 
0054 typedef struct {
0055     BYTE    type;           /* X_Reply */
0056     BOOL    onOff;
0057     CARD16  sequenceNumber B16;
0058     CARD32  length B32;
0059     CARD32  pad0 B32;
0060     CARD32  pad1 B32;
0061     CARD32  pad2 B32;
0062     CARD32  pad3 B32;
0063     CARD32  pad4 B32;
0064     CARD32  pad5 B32;
0065 } xMITGetBugModeReply;
0066 #define sz_xMITGetBugModeReply  32
0067 
0068 #endif /* _MITMISCPROTO_H_ */