VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/XFree86-4.3/Xserver/swaprep.h@ 78293

Last change on this file since 78293 was 69098, checked in by vboxsync, 7 years ago

Clean up XFree86 driver header files.
bugref:3810: X11 Guest Additions maintenance
Over the years we have cleaned up the layout in the tree of the X.Org
header files we use to build drivers. The XFree86 ones were still in their
original, rather sub-optimal layout. This change fixes that.

  • Property svn:eol-style set to native
File size: 9.8 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
30void
31Swap32Write(
32#if NeedFunctionPrototypes
33 ClientPtr /* pClient */,
34 int /* size */,
35 CARD32 * /* pbuf */
36#endif
37);
38
39void
40CopySwap32Write(
41#if NeedFunctionPrototypes
42 ClientPtr /* pClient */,
43 int /* size */,
44 CARD32 * /* pbuf */
45#endif
46);
47
48void
49CopySwap16Write(
50#if NeedFunctionPrototypes
51 ClientPtr /* pClient */,
52 int /* size */,
53 short * /* pbuf */
54#endif
55);
56
57void
58SGenericReply(
59#if NeedFunctionPrototypes
60 ClientPtr /* pClient */,
61 int /* size */,
62 xGenericReply * /* pRep */
63#endif
64);
65
66void
67SGetWindowAttributesReply(
68#if NeedFunctionPrototypes
69 ClientPtr /* pClient */,
70 int /* size */,
71 xGetWindowAttributesReply * /* pRep */
72#endif
73);
74
75void
76SGetGeometryReply(
77#if NeedFunctionPrototypes
78 ClientPtr /* pClient */,
79 int /* size */,
80 xGetGeometryReply * /* pRep */
81#endif
82);
83
84void
85SQueryTreeReply(
86#if NeedFunctionPrototypes
87 ClientPtr /* pClient */,
88 int /* size */,
89 xQueryTreeReply * /* pRep */
90#endif
91);
92
93void
94SInternAtomReply(
95#if NeedFunctionPrototypes
96 ClientPtr /* pClient */,
97 int /* size */,
98 xInternAtomReply * /* pRep */
99#endif
100);
101
102void
103SGetAtomNameReply(
104#if NeedFunctionPrototypes
105 ClientPtr /* pClient */,
106 int /* size */,
107 xGetAtomNameReply * /* pRep */
108#endif
109);
110
111void
112SGetPropertyReply(
113#if NeedFunctionPrototypes
114 ClientPtr /* pClient */,
115 int /* size */,
116 xGetPropertyReply * /* pRep */
117#endif
118);
119
120void
121SListPropertiesReply(
122#if NeedFunctionPrototypes
123 ClientPtr /* pClient */,
124 int /* size */,
125 xListPropertiesReply * /* pRep */
126#endif
127);
128
129void
130SGetSelectionOwnerReply(
131#if NeedFunctionPrototypes
132 ClientPtr /* pClient */,
133 int /* size */,
134 xGetSelectionOwnerReply * /* pRep */
135#endif
136);
137
138void
139SQueryPointerReply(
140#if NeedFunctionPrototypes
141 ClientPtr /* pClient */,
142 int /* size */,
143 xQueryPointerReply * /* pRep */
144#endif
145);
146
147void
148SwapTimecoord(
149#if NeedFunctionPrototypes
150 xTimecoord * /* pCoord */
151#endif
152);
153
154void
155SwapTimeCoordWrite(
156#if NeedFunctionPrototypes
157 ClientPtr /* pClient */,
158 int /* size */,
159 xTimecoord * /* pRep */
160#endif
161);
162
163void
164SGetMotionEventsReply(
165#if NeedFunctionPrototypes
166 ClientPtr /* pClient */,
167 int /* size */,
168 xGetMotionEventsReply * /* pRep */
169#endif
170);
171
172void
173STranslateCoordsReply(
174#if NeedFunctionPrototypes
175 ClientPtr /* pClient */,
176 int /* size */,
177 xTranslateCoordsReply * /* pRep */
178#endif
179);
180
181void
182SGetInputFocusReply(
183#if NeedFunctionPrototypes
184 ClientPtr /* pClient */,
185 int /* size */,
186 xGetInputFocusReply * /* pRep */
187#endif
188);
189
190void
191SQueryKeymapReply(
192#if NeedFunctionPrototypes
193 ClientPtr /* pClient */,
194 int /* size */,
195 xQueryKeymapReply * /* pRep */
196#endif
197);
198
199#ifdef LBX
200void
201SwapCharInfo(
202#if NeedFunctionPrototypes
203 xCharInfo * /* pInfo */
204#endif
205);
206#endif
207
208#ifdef LBX
209void
210SwapFont(
211#if NeedFunctionPrototypes
212 xQueryFontReply * /* pr */,
213 Bool /* hasGlyphs */
214#endif
215);
216#endif
217
218void
219SQueryFontReply(
220#if NeedFunctionPrototypes
221 ClientPtr /* pClient */,
222 int /* size */,
223 xQueryFontReply * /* pRep */
224#endif
225);
226
227void
228SQueryTextExtentsReply(
229#if NeedFunctionPrototypes
230 ClientPtr /* pClient */,
231 int /* size */,
232 xQueryTextExtentsReply * /* pRep */
233#endif
234);
235
236void
237SListFontsReply(
238#if NeedFunctionPrototypes
239 ClientPtr /* pClient */,
240 int /* size */,
241 xListFontsReply * /* pRep */
242#endif
243);
244
245void
246SListFontsWithInfoReply(
247#if NeedFunctionPrototypes
248 ClientPtr /* pClient */,
249 int /* size */,
250 xListFontsWithInfoReply * /* pRep */
251#endif
252);
253
254void
255SGetFontPathReply(
256#if NeedFunctionPrototypes
257 ClientPtr /* pClient */,
258 int /* size */,
259 xGetFontPathReply * /* pRep */
260#endif
261);
262
263void
264SGetImageReply(
265#if NeedFunctionPrototypes
266 ClientPtr /* pClient */,
267 int /* size */,
268 xGetImageReply * /* pRep */
269#endif
270);
271
272void
273SListInstalledColormapsReply(
274#if NeedFunctionPrototypes
275 ClientPtr /* pClient */,
276 int /* size */,
277 xListInstalledColormapsReply * /* pRep */
278#endif
279);
280
281void
282SAllocColorReply(
283#if NeedFunctionPrototypes
284 ClientPtr /* pClient */,
285 int /* size */,
286 xAllocColorReply * /* pRep */
287#endif
288);
289
290void
291SAllocNamedColorReply(
292#if NeedFunctionPrototypes
293 ClientPtr /* pClient */,
294 int /* size */,
295 xAllocNamedColorReply * /* pRep */
296#endif
297);
298
299void
300SAllocColorCellsReply(
301#if NeedFunctionPrototypes
302 ClientPtr /* pClient */,
303 int /* size */,
304 xAllocColorCellsReply * /* pRep */
305#endif
306);
307
308void
309SAllocColorPlanesReply(
310#if NeedFunctionPrototypes
311 ClientPtr /* pClient */,
312 int /* size */,
313 xAllocColorPlanesReply * /* pRep */
314#endif
315);
316
317void
318SwapRGB(
319#if NeedFunctionPrototypes
320 xrgb * /* prgb */
321#endif
322);
323
324void
325SQColorsExtend(
326#if NeedFunctionPrototypes
327 ClientPtr /* pClient */,
328 int /* size */,
329 xrgb * /* prgb */
330#endif
331);
332
333void
334SQueryColorsReply(
335#if NeedFunctionPrototypes
336 ClientPtr /* pClient */,
337 int /* size */,
338 xQueryColorsReply * /* pRep */
339#endif
340);
341
342void
343SLookupColorReply(
344#if NeedFunctionPrototypes
345 ClientPtr /* pClient */,
346 int /* size */,
347 xLookupColorReply * /* pRep */
348#endif
349);
350
351void
352SQueryBestSizeReply(
353#if NeedFunctionPrototypes
354 ClientPtr /* pClient */,
355 int /* size */,
356 xQueryBestSizeReply * /* pRep */
357#endif
358);
359
360void
361SListExtensionsReply(
362#if NeedFunctionPrototypes
363 ClientPtr /* pClient */,
364 int /* size */,
365 xListExtensionsReply * /* pRep */
366#endif
367);
368
369void
370SGetKeyboardMappingReply(
371#if NeedFunctionPrototypes
372 ClientPtr /* pClient */,
373 int /* size */,
374 xGetKeyboardMappingReply * /* pRep */
375#endif
376);
377
378void
379SGetPointerMappingReply(
380#if NeedFunctionPrototypes
381 ClientPtr /* pClient */,
382 int /* size */,
383 xGetPointerMappingReply * /* pRep */
384#endif
385);
386
387void
388SGetModifierMappingReply(
389#if NeedFunctionPrototypes
390 ClientPtr /* pClient */,
391 int /* size */,
392 xGetModifierMappingReply * /* pRep */
393#endif
394);
395
396void
397SGetKeyboardControlReply(
398#if NeedFunctionPrototypes
399 ClientPtr /* pClient */,
400 int /* size */,
401 xGetKeyboardControlReply * /* pRep */
402#endif
403);
404
405void
406SGetPointerControlReply(
407#if NeedFunctionPrototypes
408 ClientPtr /* pClient */,
409 int /* size */,
410 xGetPointerControlReply * /* pRep */
411#endif
412);
413
414void
415SGetScreenSaverReply(
416#if NeedFunctionPrototypes
417 ClientPtr /* pClient */,
418 int /* size */,
419 xGetScreenSaverReply * /* pRep */
420#endif
421);
422
423void
424SLHostsExtend(
425#if NeedFunctionPrototypes
426 ClientPtr /* pClient */,
427 int /* size */,
428 char * /* buf */
429#endif
430);
431
432void
433SListHostsReply(
434#if NeedFunctionPrototypes
435 ClientPtr /* pClient */,
436 int /* size */,
437 xListHostsReply * /* pRep */
438#endif
439);
440
441void
442SErrorEvent(
443#if NeedFunctionPrototypes
444 xError * /* from */,
445 xError * /* to */
446#endif
447);
448
449void
450SwapConnSetupInfo(
451#if NeedFunctionPrototypes
452 char * /* pInfo */,
453 char * /* pInfoTBase */
454#endif
455);
456
457void
458WriteSConnectionInfo(
459#if NeedFunctionPrototypes
460 ClientPtr /* pClient */,
461 unsigned long /* size */,
462 char * /* pInfo */
463#endif
464);
465
466void
467SwapConnSetup(
468#if NeedFunctionPrototypes
469 xConnSetup * /* pConnSetup */,
470 xConnSetup * /* pConnSetupT */
471#endif
472);
473
474void
475SwapWinRoot(
476#if NeedFunctionPrototypes
477 xWindowRoot * /* pRoot */,
478 xWindowRoot * /* pRootT */
479#endif
480);
481
482void
483SwapVisual(
484#if NeedFunctionPrototypes
485 xVisualType * /* pVis */,
486 xVisualType * /* pVisT */
487#endif
488);
489
490void
491SwapConnSetupPrefix(
492#if NeedFunctionPrototypes
493 xConnSetupPrefix * /* pcspFrom */,
494 xConnSetupPrefix * /* pcspTo */
495#endif
496);
497
498void
499WriteSConnSetupPrefix(
500#if NeedFunctionPrototypes
501 ClientPtr /* pClient */,
502 xConnSetupPrefix * /* pcsp */
503#endif
504);
505
506#undef SWAPREP_PROC
507#if NeedFunctionPrototypes
508#define SWAPREP_PROC(func) void func(xEvent * /* from */, xEvent * /* to */)
509#else
510#define SWAPREP_PROC(func) void func(/* xEvent * from, xEvent * to */)
511#endif
512
513SWAPREP_PROC(SCirculateEvent);
514SWAPREP_PROC(SClientMessageEvent);
515SWAPREP_PROC(SColormapEvent);
516SWAPREP_PROC(SConfigureNotifyEvent);
517SWAPREP_PROC(SConfigureRequestEvent);
518SWAPREP_PROC(SCreateNotifyEvent);
519SWAPREP_PROC(SDestroyNotifyEvent);
520SWAPREP_PROC(SEnterLeaveEvent);
521SWAPREP_PROC(SExposeEvent);
522SWAPREP_PROC(SFocusEvent);
523SWAPREP_PROC(SGraphicsExposureEvent);
524SWAPREP_PROC(SGravityEvent);
525SWAPREP_PROC(SKeyButtonPtrEvent);
526SWAPREP_PROC(SKeymapNotifyEvent);
527SWAPREP_PROC(SMapNotifyEvent);
528SWAPREP_PROC(SMapRequestEvent);
529SWAPREP_PROC(SMappingEvent);
530SWAPREP_PROC(SNoExposureEvent);
531SWAPREP_PROC(SPropertyEvent);
532SWAPREP_PROC(SReparentEvent);
533SWAPREP_PROC(SResizeRequestEvent);
534SWAPREP_PROC(SSelectionClearEvent);
535SWAPREP_PROC(SSelectionNotifyEvent);
536SWAPREP_PROC(SSelectionRequestEvent);
537SWAPREP_PROC(SUnmapNotifyEvent);
538SWAPREP_PROC(SVisibilityEvent);
539
540#undef SWAPREP_PROC
541
542#endif /* SWAPREP_H */
Note: See TracBrowser for help on using the repository browser.

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