VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/swaprep.h@ 81043

Last change on this file since 81043 was 51223, checked in by vboxsync, 11 years ago

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • Property svn:eol-style set to native
File size: 8.2 KB
Line 
1/* $XFree86: xc/programs/Xserver/include/swaprep.h,v 3.0 1996/04/15 11:34:34 dawes Exp $ */
2/************************************************************
3
4Copyright 1996 by Thomas E. Dickey <[email protected]>
5
6 All Rights Reserved
7
8Permission to use, copy, modify, and distribute this software and its
9documentation for any purpose and without fee is hereby granted,
10provided that the above copyright notice appear in all copies and that
11both that copyright notice and this permission notice appear in
12supporting documentation, and that the name of the above listed
13copyright holder(s) not be used in advertising or publicity pertaining
14to distribution of the software without specific, written prior
15permission.
16
17THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
18TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
20LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
21WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
22ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
23OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24
25********************************************************/
26
27#ifndef SWAPREP_H
28#define SWAPREP_H 1
29
30extern void Swap32Write(
31 ClientPtr /* pClient */,
32 int /* size */,
33 CARD32 * /* pbuf */);
34
35extern void CopySwap32Write(
36 ClientPtr /* pClient */,
37 int /* size */,
38 CARD32 * /* pbuf */);
39
40extern void CopySwap16Write(
41 ClientPtr /* pClient */,
42 int /* size */,
43 short * /* pbuf */);
44
45extern void SGenericReply(
46 ClientPtr /* pClient */,
47 int /* size */,
48 xGenericReply * /* pRep */);
49
50extern void SGetWindowAttributesReply(
51 ClientPtr /* pClient */,
52 int /* size */,
53 xGetWindowAttributesReply * /* pRep */);
54
55extern void SGetGeometryReply(
56 ClientPtr /* pClient */,
57 int /* size */,
58 xGetGeometryReply * /* pRep */);
59
60extern void SQueryTreeReply(
61 ClientPtr /* pClient */,
62 int /* size */,
63 xQueryTreeReply * /* pRep */);
64
65extern void SInternAtomReply(
66 ClientPtr /* pClient */,
67 int /* size */,
68 xInternAtomReply * /* pRep */);
69
70extern void SGetAtomNameReply(
71 ClientPtr /* pClient */,
72 int /* size */,
73 xGetAtomNameReply * /* pRep */);
74
75extern void SGetPropertyReply(
76 ClientPtr /* pClient */,
77 int /* size */,
78 xGetPropertyReply * /* pRep */);
79
80extern void SListPropertiesReply(
81 ClientPtr /* pClient */,
82 int /* size */,
83 xListPropertiesReply * /* pRep */);
84
85extern void SGetSelectionOwnerReply(
86 ClientPtr /* pClient */,
87 int /* size */,
88 xGetSelectionOwnerReply * /* pRep */);
89
90extern void SQueryPointerReply(
91 ClientPtr /* pClient */,
92 int /* size */,
93 xQueryPointerReply * /* pRep */);
94
95extern void SwapTimecoord(
96 xTimecoord * /* pCoord */);
97
98extern void SwapTimeCoordWrite(
99 ClientPtr /* pClient */,
100 int /* size */,
101 xTimecoord * /* pRep */);
102
103extern void SGetMotionEventsReply(
104 ClientPtr /* pClient */,
105 int /* size */,
106 xGetMotionEventsReply * /* pRep */);
107
108extern void STranslateCoordsReply(
109 ClientPtr /* pClient */,
110 int /* size */,
111 xTranslateCoordsReply * /* pRep */);
112
113extern void SGetInputFocusReply(
114 ClientPtr /* pClient */,
115 int /* size */,
116 xGetInputFocusReply * /* pRep */);
117
118extern void SQueryKeymapReply(
119 ClientPtr /* pClient */,
120 int /* size */,
121 xQueryKeymapReply * /* pRep */);
122
123#ifdef LBX
124extern void SwapCharInfo(
125 xCharInfo * /* pInfo */);
126#endif
127
128#ifdef LBX
129extern void SwapFont(
130 xQueryFontReply * /* pr */,
131 Bool /* hasGlyphs */);
132#endif
133
134extern void SQueryFontReply(
135 ClientPtr /* pClient */,
136 int /* size */,
137 xQueryFontReply * /* pRep */);
138
139extern void SQueryTextExtentsReply(
140 ClientPtr /* pClient */,
141 int /* size */,
142 xQueryTextExtentsReply * /* pRep */);
143
144extern void SListFontsReply(
145 ClientPtr /* pClient */,
146 int /* size */,
147 xListFontsReply * /* pRep */);
148
149extern void SListFontsWithInfoReply(
150 ClientPtr /* pClient */,
151 int /* size */,
152 xListFontsWithInfoReply * /* pRep */);
153
154extern void SGetFontPathReply(
155 ClientPtr /* pClient */,
156 int /* size */,
157 xGetFontPathReply * /* pRep */);
158
159extern void SGetImageReply(
160 ClientPtr /* pClient */,
161 int /* size */,
162 xGetImageReply * /* pRep */);
163
164extern void SListInstalledColormapsReply(
165 ClientPtr /* pClient */,
166 int /* size */,
167 xListInstalledColormapsReply * /* pRep */);
168
169extern void SAllocColorReply(
170 ClientPtr /* pClient */,
171 int /* size */,
172 xAllocColorReply * /* pRep */);
173
174extern void SAllocNamedColorReply(
175 ClientPtr /* pClient */,
176 int /* size */,
177 xAllocNamedColorReply * /* pRep */);
178
179extern void SAllocColorCellsReply(
180 ClientPtr /* pClient */,
181 int /* size */,
182 xAllocColorCellsReply * /* pRep */);
183
184extern void SAllocColorPlanesReply(
185 ClientPtr /* pClient */,
186 int /* size */,
187 xAllocColorPlanesReply * /* pRep */);
188
189extern void SwapRGB(
190 xrgb * /* prgb */);
191
192extern void SQColorsExtend(
193 ClientPtr /* pClient */,
194 int /* size */,
195 xrgb * /* prgb */);
196
197extern void SQueryColorsReply(
198 ClientPtr /* pClient */,
199 int /* size */,
200 xQueryColorsReply * /* pRep */);
201
202extern void SLookupColorReply(
203 ClientPtr /* pClient */,
204 int /* size */,
205 xLookupColorReply * /* pRep */);
206
207extern void SQueryBestSizeReply(
208 ClientPtr /* pClient */,
209 int /* size */,
210 xQueryBestSizeReply * /* pRep */);
211
212extern void SListExtensionsReply(
213 ClientPtr /* pClient */,
214 int /* size */,
215 xListExtensionsReply * /* pRep */);
216
217extern void SGetKeyboardMappingReply(
218 ClientPtr /* pClient */,
219 int /* size */,
220 xGetKeyboardMappingReply * /* pRep */);
221
222extern void SGetPointerMappingReply(
223 ClientPtr /* pClient */,
224 int /* size */,
225 xGetPointerMappingReply * /* pRep */);
226
227extern void SGetModifierMappingReply(
228 ClientPtr /* pClient */,
229 int /* size */,
230 xGetModifierMappingReply * /* pRep */);
231
232extern void SGetKeyboardControlReply(
233 ClientPtr /* pClient */,
234 int /* size */,
235 xGetKeyboardControlReply * /* pRep */);
236
237extern void SGetPointerControlReply(
238 ClientPtr /* pClient */,
239 int /* size */,
240 xGetPointerControlReply * /* pRep */);
241
242extern void SGetScreenSaverReply(
243 ClientPtr /* pClient */,
244 int /* size */,
245 xGetScreenSaverReply * /* pRep */);
246
247extern void SLHostsExtend(
248 ClientPtr /* pClient */,
249 int /* size */,
250 char * /* buf */);
251
252extern void SListHostsReply(
253 ClientPtr /* pClient */,
254 int /* size */,
255 xListHostsReply * /* pRep */);
256
257extern void SErrorEvent(
258 xError * /* from */,
259 xError * /* to */);
260
261extern void SwapConnSetupInfo(
262 char * /* pInfo */,
263 char * /* pInfoTBase */);
264
265extern void WriteSConnectionInfo(
266 ClientPtr /* pClient */,
267 unsigned long /* size */,
268 char * /* pInfo */);
269
270extern void SwapConnSetup(
271 xConnSetup * /* pConnSetup */,
272 xConnSetup * /* pConnSetupT */);
273
274extern void SwapWinRoot(
275 xWindowRoot * /* pRoot */,
276 xWindowRoot * /* pRootT */);
277
278extern void SwapVisual(
279 xVisualType * /* pVis */,
280 xVisualType * /* pVisT */);
281
282extern void SwapConnSetupPrefix(
283 xConnSetupPrefix * /* pcspFrom */,
284 xConnSetupPrefix * /* pcspTo */);
285
286extern void WriteSConnSetupPrefix(
287 ClientPtr /* pClient */,
288 xConnSetupPrefix * /* pcsp */);
289
290#undef SWAPREP_PROC
291#define SWAPREP_PROC(func) void func(xEvent * /* from */, xEvent * /* to */)
292
293SWAPREP_PROC(SCirculateEvent);
294SWAPREP_PROC(SClientMessageEvent);
295SWAPREP_PROC(SColormapEvent);
296SWAPREP_PROC(SConfigureNotifyEvent);
297SWAPREP_PROC(SConfigureRequestEvent);
298SWAPREP_PROC(SCreateNotifyEvent);
299SWAPREP_PROC(SDestroyNotifyEvent);
300SWAPREP_PROC(SEnterLeaveEvent);
301SWAPREP_PROC(SExposeEvent);
302SWAPREP_PROC(SFocusEvent);
303SWAPREP_PROC(SGraphicsExposureEvent);
304SWAPREP_PROC(SGravityEvent);
305SWAPREP_PROC(SKeyButtonPtrEvent);
306SWAPREP_PROC(SKeymapNotifyEvent);
307SWAPREP_PROC(SMapNotifyEvent);
308SWAPREP_PROC(SMapRequestEvent);
309SWAPREP_PROC(SMappingEvent);
310SWAPREP_PROC(SNoExposureEvent);
311SWAPREP_PROC(SPropertyEvent);
312SWAPREP_PROC(SReparentEvent);
313SWAPREP_PROC(SResizeRequestEvent);
314SWAPREP_PROC(SSelectionClearEvent);
315SWAPREP_PROC(SSelectionNotifyEvent);
316SWAPREP_PROC(SSelectionRequestEvent);
317SWAPREP_PROC(SUnmapNotifyEvent);
318SWAPREP_PROC(SVisibilityEvent);
319
320#undef SWAPREP_PROC
321
322#endif /* SWAPREP_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette