]> git.sesse.net Git - rdpsrv/blob - Xserver/include/extensions/xcmiscstr.h
Support RDP5 logon packets.
[rdpsrv] / Xserver / include / extensions / xcmiscstr.h
1 /* $XConsortium: xcmiscstr.h,v 1.4 94/04/17 20:11:28 dpw Exp $ */
2 /*
3
4 Copyright (c) 1993, 1994  X Consortium
5
6 Permission is hereby granted, free of charge, to any person obtaining a copy
7 of this software and associated documentation files (the "Software"), to deal
8 in the Software without restriction, including without limitation the rights
9 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 copies of the Software, and to permit persons to whom the Software is
11 furnished to do so, subject to the following conditions:
12
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
15
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
19 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
23 Except as contained in this notice, the name of the X Consortium shall not be
24 used in advertising or otherwise to promote the sale, use or other dealings
25 in this Software without prior written authorization from the X Consortium.
26
27 */
28
29 #define X_XCMiscGetVersion      0
30 #define X_XCMiscGetXIDRange     1
31 #define X_XCMiscGetXIDList      2
32
33 #define XCMiscNumberEvents      0
34
35 #define XCMiscNumberErrors      0
36
37 #define XCMiscMajorVersion      1
38 #define XCMiscMinorVersion      1
39
40 #define XCMiscExtensionName     "XC-MISC"
41
42 typedef struct {
43     CARD8       reqType;        /* always XCMiscCode */
44     CARD8       miscReqType;    /* always X_XCMiscGetVersion */
45     CARD16      length B16;
46     CARD16      majorVersion B16;
47     CARD16      minorVersion B16;
48 } xXCMiscGetVersionReq;
49 #define sz_xXCMiscGetVersionReq 8
50
51 typedef struct {
52     BYTE        type;                   /* X_Reply */
53     CARD8       pad0;
54     CARD16      sequenceNumber B16;
55     CARD32      length B32;
56     CARD16      majorVersion B16;
57     CARD16      minorVersion B16;
58     CARD32      pad1 B32;
59     CARD32      pad2 B32;
60     CARD32      pad3 B32;
61     CARD32      pad4 B32;
62     CARD32      pad5 B32;
63 } xXCMiscGetVersionReply;
64 #define sz_xXCMiscGetVersionReply 32
65
66 typedef struct {
67     CARD8       reqType;        /* always XCMiscCode */
68     CARD8       miscReqType;    /* always X_XCMiscGetXIDRange */
69     CARD16      length B16;
70 } xXCMiscGetXIDRangeReq;
71 #define sz_xXCMiscGetXIDRangeReq 4
72
73 typedef struct {
74     BYTE        type;                   /* X_Reply */
75     CARD8       pad0;
76     CARD16      sequenceNumber B16;
77     CARD32      length B32;
78     CARD32      start_id B32;
79     CARD32      count B32;
80     CARD32      pad1 B32;
81     CARD32      pad2 B32;
82     CARD32      pad3 B32;
83     CARD32      pad4 B32;
84 } xXCMiscGetXIDRangeReply;
85 #define sz_xXCMiscGetXIDRangeReply 32
86
87 typedef struct {
88     CARD8       reqType;        /* always XCMiscCode */
89     CARD8       miscReqType;    /* always X_XCMiscGetXIDList */
90     CARD16      length B16;
91     CARD32      count B32;      /* number of IDs requested */
92 } xXCMiscGetXIDListReq;
93 #define sz_xXCMiscGetXIDListReq 8
94
95 typedef struct {
96     BYTE        type;                   /* X_Reply */
97     CARD8       pad0;
98     CARD16      sequenceNumber B16;
99     CARD32      length B32;
100     CARD32      count B32;      /* number of IDs requested */
101     CARD32      pad1 B32;
102     CARD32      pad2 B32;
103     CARD32      pad3 B32;
104     CARD32      pad4 B32;
105     CARD32      pad5 B32;
106 } xXCMiscGetXIDListReply;
107 #define sz_xXCMiscGetXIDListReply 32
108