]> git.sesse.net Git - rdpsrv/blob - Xserver/programs/Xserver/dix/swapreq.h
Support RDP5 logon packets.
[rdpsrv] / Xserver / programs / Xserver / dix / swapreq.h
1 /* $XFree86: xc/programs/Xserver/dix/swapreq.h,v 3.0 1996/04/15 11:20:01 dawes Exp $ */
2 /************************************************************
3
4 Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
5
6                         All Rights Reserved
7
8 Permission to use, copy, modify, and distribute this software and its
9 documentation for any purpose and without fee is hereby granted,
10 provided that the above copyright notice appear in all copies and that
11 both that copyright notice and this permission notice appear in
12 supporting documentation, and that the name of the above listed
13 copyright holder(s) not be used in advertising or publicity pertaining
14 to distribution of the software without specific, written prior
15 permission.
16
17 THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
18 TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19 AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
20 LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
21 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
22 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
23 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24
25 ********************************************************/
26
27 #ifndef SWAPREQ_H
28 #define SWAPREQ_H 1
29
30 void
31 SwapLongs (
32 #if NeedFunctionPrototypes
33     CARD32 * /* list */,
34     unsigned long /* count */
35 #endif
36 );
37
38 void
39 SwapShorts (
40 #if NeedFunctionPrototypes
41     short * /* list */,
42     unsigned long  /* count */
43 #endif
44 );
45
46 void
47 SwapColorItem(
48 #if NeedFunctionPrototypes
49     xColorItem  * /* pItem */
50 #endif
51 );
52
53 void
54 SwapConnClientPrefix(
55 #if NeedFunctionPrototypes
56     xConnClientPrefix * /* pCCP */
57 #endif
58 );
59
60 #undef SWAPREQ_PROC
61
62 #if NeedFunctionPrototypes
63 #define SWAPREQ_PROC(func) int func(ClientPtr /* client */)
64 #else
65 #define SWAPREQ_PROC(func) int func(/* ClientPtr client */)
66 #endif
67
68 SWAPREQ_PROC(SProcAllocColor);
69 SWAPREQ_PROC(SProcAllocColorCells);
70 SWAPREQ_PROC(SProcAllocColorPlanes);
71 SWAPREQ_PROC(SProcAllocNamedColor);
72 SWAPREQ_PROC(SProcChangeActivePointerGrab);
73 SWAPREQ_PROC(SProcChangeGC);
74 SWAPREQ_PROC(SProcChangeHosts);
75 SWAPREQ_PROC(SProcChangeKeyboardControl);
76 SWAPREQ_PROC(SProcChangeKeyboardMapping);
77 SWAPREQ_PROC(SProcChangePointerControl);
78 SWAPREQ_PROC(SProcChangeProperty);
79 SWAPREQ_PROC(SProcChangeWindowAttributes);
80 SWAPREQ_PROC(SProcClearToBackground);
81 SWAPREQ_PROC(SProcConfigureWindow);
82 SWAPREQ_PROC(SProcConvertSelection);
83 SWAPREQ_PROC(SProcCopyArea);
84 SWAPREQ_PROC(SProcCopyColormapAndFree);
85 SWAPREQ_PROC(SProcCopyGC);
86 SWAPREQ_PROC(SProcCopyPlane);
87 SWAPREQ_PROC(SProcCreateColormap);
88 SWAPREQ_PROC(SProcCreateCursor);
89 SWAPREQ_PROC(SProcCreateGC);
90 SWAPREQ_PROC(SProcCreateGlyphCursor);
91 SWAPREQ_PROC(SProcCreatePixmap);
92 SWAPREQ_PROC(SProcCreateWindow);
93 SWAPREQ_PROC(SProcDeleteProperty);
94 SWAPREQ_PROC(SProcFillPoly);
95 SWAPREQ_PROC(SProcFreeColors);
96 SWAPREQ_PROC(SProcGetImage);
97 SWAPREQ_PROC(SProcGetMotionEvents);
98 SWAPREQ_PROC(SProcGetProperty);
99 SWAPREQ_PROC(SProcGrabButton);
100 SWAPREQ_PROC(SProcGrabKey);
101 SWAPREQ_PROC(SProcGrabKeyboard);
102 SWAPREQ_PROC(SProcGrabPointer);
103 SWAPREQ_PROC(SProcImageText);
104 SWAPREQ_PROC(SProcInternAtom);
105 SWAPREQ_PROC(SProcListFonts);
106 SWAPREQ_PROC(SProcListFontsWithInfo);
107 SWAPREQ_PROC(SProcLookupColor);
108 SWAPREQ_PROC(SProcNoOperation);
109 SWAPREQ_PROC(SProcOpenFont);
110 SWAPREQ_PROC(SProcPoly);
111 SWAPREQ_PROC(SProcPolyText);
112 SWAPREQ_PROC(SProcPutImage);
113 SWAPREQ_PROC(SProcQueryBestSize);
114 SWAPREQ_PROC(SProcQueryColors);
115 SWAPREQ_PROC(SProcQueryExtension);
116 SWAPREQ_PROC(SProcRecolorCursor);
117 SWAPREQ_PROC(SProcReparentWindow);
118 SWAPREQ_PROC(SProcResourceReq);
119 SWAPREQ_PROC(SProcRotateProperties);
120 SWAPREQ_PROC(SProcSendEvent);
121 SWAPREQ_PROC(SProcSetClipRectangles);
122 SWAPREQ_PROC(SProcSetDashes);
123 SWAPREQ_PROC(SProcSetFontPath);
124 SWAPREQ_PROC(SProcSetInputFocus);
125 SWAPREQ_PROC(SProcSetScreenSaver);
126 SWAPREQ_PROC(SProcSetSelectionOwner);
127 SWAPREQ_PROC(SProcSimpleReq);
128 SWAPREQ_PROC(SProcStoreColors);
129 SWAPREQ_PROC(SProcStoreNamedColor);
130 SWAPREQ_PROC(SProcTranslateCoords);
131 SWAPREQ_PROC(SProcUngrabButton);
132 SWAPREQ_PROC(SProcUngrabKey);
133 SWAPREQ_PROC(SProcWarpPointer);
134
135 #undef SWAPREQ_PROC
136
137 #endif /* SWAPREQ_H */