]> git.sesse.net Git - rdpsrv/blob - Xserver/include/extensions/mitmiscstr.h
Support RDP5 logon packets.
[rdpsrv] / Xserver / include / extensions / mitmiscstr.h
1 /************************************************************
2
3 Copyright (c) 1989  X Consortium
4
5 Permission is hereby granted, free of charge, to any person obtaining a copy
6 of this software and associated documentation files (the "Software"), to deal
7 in the Software without restriction, including without limitation the rights
8 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 copies of the Software, and to permit persons to whom the Software is
10 furnished to do so, subject to the following conditions:
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 X CONSORTIUM 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 X Consortium 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 X Consortium.
25
26 ********************************************************/
27
28 /* RANDOM CRUFT! THIS HAS NO OFFICIAL X CONSORTIUM BLESSING */
29
30 /* $XConsortium: mitmiscstr.h,v 1.4 94/04/17 20:11:20 keith Exp $ */
31
32 #include "MITMisc.h"
33
34 #define MITMISCNAME "MIT-SUNDRY-NONSTANDARD"
35
36 typedef struct _SetBugMode {
37     CARD8       reqType;        /* always MITReqCode */
38     CARD8       mitReqType;     /* always X_MITSetBugMode */
39     CARD16      length B16;
40     BOOL        onOff;
41     BYTE        pad0;
42     CARD16      pad1;
43 } xMITSetBugModeReq;
44 #define sz_xMITSetBugModeReq    8
45
46 typedef struct _GetBugMode {
47     CARD8       reqType;        /* always MITReqCode */
48     CARD8       mitReqType;     /* always X_MITGetBugMode */
49     CARD16      length B16;
50 } xMITGetBugModeReq;
51 #define sz_xMITGetBugModeReq    4
52
53 typedef struct {
54     BYTE        type;                   /* X_Reply */
55     BOOL        onOff;
56     CARD16      sequenceNumber B16;
57     CARD32      length B32;
58     CARD32      pad0 B32;
59     CARD32      pad1 B32;
60     CARD32      pad2 B32;
61     CARD32      pad3 B32;
62     CARD32      pad4 B32;
63     CARD32      pad5 B32;
64 } xMITGetBugModeReply;
65 #define sz_xMITGetBugModeReply  32
66