]> git.sesse.net Git - rdpsrv/blob - Xserver/programs/Xserver/cfb/cfbmap.h
Support RDP5 logon packets.
[rdpsrv] / Xserver / programs / Xserver / cfb / cfbmap.h
1 /*
2  * $XConsortium: cfbmap.h,v 1.11 95/06/08 23:20:39 gildea Exp $
3  * $XFree86: xc/programs/Xserver/cfb/cfbmap.h,v 3.3 1996/06/29 09:05:40 dawes Exp $
4  *
5 Copyright (c) 1991  X Consortium
6
7 Permission is hereby granted, free of charge, to any person obtaining a copy
8 of this software and associated documentation files (the "Software"), to deal
9 in the Software without restriction, including without limitation the rights
10 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 copies of the Software, and to permit persons to whom the Software is
12 furnished to do so, subject to the following conditions:
13
14 The above copyright notice and this permission notice shall be included in
15 all copies or substantial portions of the Software.
16
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
20 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
21 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
24 Except as contained in this notice, the name of the X Consortium shall not be
25 used in advertising or otherwise to promote the sale, use or other dealings
26 in this Software without prior written authorization from the X Consortium.
27  *
28  * Author:  Keith Packard, MIT X Consortium
29  */
30
31 /*
32  * Map names around so that multiple depths can be supported simultaneously
33  */
34
35 /* a losing vendor cpp dumps core if we define NAME in terms of CATNAME */
36
37 #if PSZ != 8
38 #if PSZ == 32
39 #if (defined(__STDC__) && !defined(UNIXCPP)) || defined(ANSICPP)
40 #define NAME(subname) cfb32##subname
41 #else
42 #define NAME(subname) cfb32/**/subname
43 #endif
44 #endif
45
46 #if PSZ == 24
47 #if (defined(__STDC__) && !defined(UNIXCPP)) || defined(ANSICPP)
48 #define NAME(subname) cfb24##subname
49 #else
50 #define NAME(subname) cfb24/**/subname
51 #endif
52 #endif
53
54 #if PSZ == 16
55 #if (defined(__STDC__) && !defined(UNIXCPP)) || defined(ANSICPP)
56 #define NAME(subname) cfb16##subname
57 #else
58 #define NAME(subname) cfb16/**/subname
59 #endif
60 #endif
61
62 #if PSZ == 4
63 #if (defined(__STDC__) && !defined(UNIXCPP)) || defined(ANSICPP)
64 #define NAME(subname) cfb4##subname
65 #else
66 #define NAME(subname) cfb4/**/subname
67 #endif
68 #endif
69
70 #ifndef NAME
71 cfb can not hack PSZ yet
72 #endif
73
74 #if (defined(__STDC__) && !defined(UNIXCPP)) || defined(ANSICPP)
75 #define CATNAME(prefix,subname) prefix##subname
76 #else
77 #define CATNAME(prefix,subname) prefix/**/subname
78 #endif
79
80 #define cfbScreenPrivateIndex NAME(ScreenPrivateIndex)
81 #define QuartetBitsTable NAME(QuartetBitsTable)
82 #define QuartetPixelMaskTable NAME(QuartetPixelMaskTable)
83 #define cfbAllocatePrivates NAME(AllocatePrivates)
84 #define cfbBSFuncRec NAME(BSFuncRec)
85 #define cfbBitBlt NAME(BitBlt)
86 #define cfbBresD NAME(BresD)
87 #define cfbBresS NAME(BresS)
88 #define cfbChangeWindowAttributes NAME(ChangeWindowAttributes)
89 #define cfbCloseScreen NAME(CloseScreen)
90 #define cfbCopyArea NAME(CopyArea)
91 #define cfbCopyImagePlane NAME(CopyImagePlane)
92 #define cfbCopyPixmap NAME(CopyPixmap)
93 #define cfbCopyPlane NAME(CopyPlane)
94 #define cfbCopyRotatePixmap NAME(CopyRotatePixmap)
95 #define cfbCopyWindow NAME(CopyWindow)
96 #define cfbCreateGC NAME(CreateGC)
97 #define cfbCreatePixmap NAME(CreatePixmap)
98 #define cfbCreateWindow NAME(CreateWindow)
99 #define cfbCreateScreenResources NAME(CreateScreenResources)
100 #define cfbDestroyPixmap NAME(DestroyPixmap)
101 #define cfbDestroyWindow NAME(DestroyWindow)
102 #define cfbDoBitblt NAME(DoBitblt)
103 #define cfbDoBitbltCopy NAME(DoBitbltCopy)
104 #define cfbDoBitbltGeneral NAME(DoBitbltGeneral)
105 #define cfbDoBitbltOr NAME(DoBitbltOr)
106 #define cfbDoBitbltXor NAME(DoBitbltXor)
107 #define cfbFillBoxSolid NAME(FillBoxSolid)
108 #define cfbFillBoxTile32 NAME(FillBoxTile32)
109 #define cfbFillBoxTile32sCopy NAME(FillBoxTile32sCopy)
110 #define cfbFillBoxTile32sGeneral NAME(FillBoxTile32sGeneral)
111 #define cfbFillBoxTileOdd NAME(FillBoxTileOdd)
112 #define cfbFillBoxTileOddCopy NAME(FillBoxTileOddCopy)
113 #define cfbFillBoxTileOddGeneral NAME(FillBoxTileOddGeneral)
114 #define cfbFillPoly1RectCopy NAME(FillPoly1RectCopy)
115 #define cfbFillPoly1RectGeneral NAME(FillPoly1RectGeneral)
116 #define cfbFillRectSolidCopy NAME(FillRectSolidCopy)
117 #define cfbFillRectSolidGeneral NAME(FillRectSolidGeneral)
118 #define cfbFillRectSolidXor NAME(FillRectSolidXor)
119 #define cfbFillRectTile32Copy NAME(FillRectTile32Copy)
120 #define cfbFillRectTile32General NAME(FillRectTile32General)
121 #define cfbFillRectTileOdd NAME(FillRectTileOdd)
122 #define cfbFillSpanTile32sCopy NAME(FillSpanTile32sCopy)
123 #define cfbFillSpanTile32sGeneral NAME(FillSpanTile32sGeneral)
124 #define cfbFillSpanTileOddCopy NAME(FillSpanTileOddCopy)
125 #define cfbFillSpanTileOddGeneral NAME(FillSpanTileOddGeneral)
126 #define cfbFinishScreenInit NAME(FinishScreenInit)
127 #define cfbGCFuncs NAME(GCFuncs)
128 #define cfbGetImage NAME(GetImage)
129 #define cfbGetSpans NAME(GetSpans)
130 #define cfbHorzS NAME(HorzS)
131 #define cfbImageGlyphBlt8 NAME(ImageGlyphBlt8)
132 #define cfbLineSD NAME(LineSD)
133 #define cfbLineSS NAME(LineSS)
134 #define cfbMapWindow NAME(MapWindow)
135 #define cfbMatchCommon NAME(MatchCommon)
136 #define cfbNonTEOps NAME(NonTEOps)
137 #define cfbNonTEOps1Rect NAME(NonTEOps1Rect)
138 #define cfbPadPixmap NAME(PadPixmap)
139 #define cfbPaintWindow NAME(PaintWindow)
140 #define cfbPolyGlyphBlt8 NAME(PolyGlyphBlt8)
141 #define cfbPolyGlyphRop8 NAME(PolyGlyphRop8)
142 #define cfbPolyFillArcSolidCopy NAME(PolyFillArcSolidCopy)
143 #define cfbPolyFillArcSolidGeneral NAME(PolyFillArcSolidGeneral)
144 #define cfbPolyFillRect NAME(PolyFillRect)
145 #define cfbPolyPoint NAME(PolyPoint)
146 #define cfbPositionWindow NAME(PositionWindow)
147 #define cfbPutImage NAME(PutImage)
148 #define cfbReduceRasterOp NAME(ReduceRasterOp)
149 #define cfbRestoreAreas NAME(RestoreAreas)
150 #define cfbSaveAreas NAME(SaveAreas)
151 #define cfbScreenInit NAME(ScreenInit)
152 #define cfbSegmentSD NAME(SegmentSD)
153 #define cfbSegmentSS NAME(SegmentSS)
154 #define cfbSetScanline NAME(SetScanline)
155 #define cfbSetSpans NAME(SetSpans)
156 #define cfbSetupScreen NAME(SetupScreen)
157 #define cfbSolidSpansCopy NAME(SolidSpansCopy)
158 #define cfbSolidSpansGeneral NAME(SolidSpansGeneral)
159 #define cfbSolidSpansXor NAME(SolidSpansXor)
160 #define cfbStippleStack NAME(StippleStack)
161 #define cfbStippleStackTE NAME(StippleStackTE)
162 #define cfbTEGlyphBlt NAME(TEGlyphBlt)
163 #define cfbTEOps NAME(TEOps)
164 #define cfbTEOps1Rect NAME(TEOps1Rect)
165 #define cfbTile32FSCopy NAME(Tile32FSCopy)
166 #define cfbTile32FSGeneral NAME(Tile32FSGeneral)
167 #define cfbUnmapWindow NAME(UnmapWindow)
168 #define cfbUnnaturalStippleFS NAME(UnnaturalStippleFS)
169 #define cfbUnnaturalTileFS NAME(UnnaturalTileFS)
170 #define cfbValidateGC NAME(ValidateGC)
171 #define cfbVertS NAME(VertS)
172 #define cfbXRotatePixmap NAME(XRotatePixmap)
173 #define cfbYRotatePixmap NAME(YRotatePixmap)
174 #define cfbendpartial NAME(endpartial)
175 #define cfbendtab NAME(endtab)
176 #define cfbmask NAME(mask)
177 #define cfbrmask NAME(rmask)
178 #define cfbstartpartial NAME(startpartial)
179 #define cfbstarttab NAME(starttab)
180 #define cfb8LineSS1Rect NAME(LineSS1Rect)
181 #define cfb8SegmentSS1Rect NAME(SegmentSS1Rect)
182 #define cfb8ClippedLineCopy NAME(ClippedLineCopy)
183 #define cfb8ClippedLineXor NAME(ClippedLineXor)
184 #define cfb8ClippedLineGeneral  NAME(ClippedLineGeneral )
185 #define cfb8SegmentSS1RectCopy NAME(SegmentSS1RectCopy)
186 #define cfb8SegmentSS1RectXor NAME(SegmentSS1RectXor)
187 #define cfb8SegmentSS1RectGeneral  NAME(SegmentSS1RectGeneral )
188 #define cfb8SegmentSS1RectShiftCopy NAME(SegmentSS1RectShiftCopy)
189 #define cfb8LineSS1RectCopy NAME(LineSS1RectCopy)
190 #define cfb8LineSS1RectXor NAME(LineSS1RectXor)
191 #define cfb8LineSS1RectGeneral  NAME(LineSS1RectGeneral )
192 #define cfb8LineSS1RectPreviousCopy NAME(LineSS1RectPreviousCopy)
193 #define cfbZeroPolyArcSS8Copy NAME(ZeroPolyArcSSCopy)
194 #define cfbZeroPolyArcSS8Xor NAME(ZeroPolyArcSSXor)
195 #define cfbZeroPolyArcSS8General NAME(ZeroPolyArcSSGeneral)
196
197 #endif /* PSZ != 8 */