1 /* $XFree86: xc/programs/Xserver/include/swaprep.h,v 3.0 1996/04/15 11:34:34 dawes Exp $ */
2 /************************************************************
4 Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
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
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.
25 ********************************************************/
32 #if NeedFunctionPrototypes
33 ClientPtr /* pClient */,
41 #if NeedFunctionPrototypes
42 ClientPtr /* pClient */,
50 #if NeedFunctionPrototypes
51 ClientPtr /* pClient */,
59 #if NeedFunctionPrototypes
60 ClientPtr /* pClient */,
62 xGenericReply * /* pRep */
67 SGetWindowAttributesReply(
68 #if NeedFunctionPrototypes
69 ClientPtr /* pClient */,
71 xGetWindowAttributesReply * /* pRep */
77 #if NeedFunctionPrototypes
78 ClientPtr /* pClient */,
80 xGetGeometryReply * /* pRep */
86 #if NeedFunctionPrototypes
87 ClientPtr /* pClient */,
89 xQueryTreeReply * /* pRep */
95 #if NeedFunctionPrototypes
96 ClientPtr /* pClient */,
98 xInternAtomReply * /* pRep */
104 #if NeedFunctionPrototypes
105 ClientPtr /* pClient */,
107 xGetAtomNameReply * /* pRep */
113 #if NeedFunctionPrototypes
114 ClientPtr /* pClient */,
116 xGetPropertyReply * /* pRep */
121 SListPropertiesReply(
122 #if NeedFunctionPrototypes
123 ClientPtr /* pClient */,
125 xListPropertiesReply * /* pRep */
130 SGetSelectionOwnerReply(
131 #if NeedFunctionPrototypes
132 ClientPtr /* pClient */,
134 xGetSelectionOwnerReply * /* pRep */
140 #if NeedFunctionPrototypes
141 ClientPtr /* pClient */,
143 xQueryPointerReply * /* pRep */
149 #if NeedFunctionPrototypes
150 xTimecoord * /* pCoord */
156 #if NeedFunctionPrototypes
157 ClientPtr /* pClient */,
159 xTimecoord * /* pRep */
164 SGetMotionEventsReply(
165 #if NeedFunctionPrototypes
166 ClientPtr /* pClient */,
168 xGetMotionEventsReply * /* pRep */
173 STranslateCoordsReply(
174 #if NeedFunctionPrototypes
175 ClientPtr /* pClient */,
177 xTranslateCoordsReply * /* pRep */
183 #if NeedFunctionPrototypes
184 ClientPtr /* pClient */,
186 xGetInputFocusReply * /* pRep */
192 #if NeedFunctionPrototypes
193 ClientPtr /* pClient */,
195 xQueryKeymapReply * /* pRep */
202 #if NeedFunctionPrototypes
203 xCharInfo * /* pInfo */
211 #if NeedFunctionPrototypes
212 xQueryFontReply * /* pr */,
220 #if NeedFunctionPrototypes
221 ClientPtr /* pClient */,
223 xQueryFontReply * /* pRep */
228 SQueryTextExtentsReply(
229 #if NeedFunctionPrototypes
230 ClientPtr /* pClient */,
232 xQueryTextExtentsReply * /* pRep */
238 #if NeedFunctionPrototypes
239 ClientPtr /* pClient */,
241 xListFontsReply * /* pRep */
246 SListFontsWithInfoReply(
247 #if NeedFunctionPrototypes
248 ClientPtr /* pClient */,
250 xListFontsWithInfoReply * /* pRep */
256 #if NeedFunctionPrototypes
257 ClientPtr /* pClient */,
259 xGetFontPathReply * /* pRep */
265 #if NeedFunctionPrototypes
266 ClientPtr /* pClient */,
268 xGetImageReply * /* pRep */
273 SListInstalledColormapsReply(
274 #if NeedFunctionPrototypes
275 ClientPtr /* pClient */,
277 xListInstalledColormapsReply * /* pRep */
283 #if NeedFunctionPrototypes
284 ClientPtr /* pClient */,
286 xAllocColorReply * /* pRep */
291 SAllocNamedColorReply(
292 #if NeedFunctionPrototypes
293 ClientPtr /* pClient */,
295 xAllocNamedColorReply * /* pRep */
300 SAllocColorCellsReply(
301 #if NeedFunctionPrototypes
302 ClientPtr /* pClient */,
304 xAllocColorCellsReply * /* pRep */
309 SAllocColorPlanesReply(
310 #if NeedFunctionPrototypes
311 ClientPtr /* pClient */,
313 xAllocColorPlanesReply * /* pRep */
319 #if NeedFunctionPrototypes
326 #if NeedFunctionPrototypes
327 ClientPtr /* pClient */,
335 #if NeedFunctionPrototypes
336 ClientPtr /* pClient */,
338 xQueryColorsReply * /* pRep */
344 #if NeedFunctionPrototypes
345 ClientPtr /* pClient */,
347 xLookupColorReply * /* pRep */
353 #if NeedFunctionPrototypes
354 ClientPtr /* pClient */,
356 xQueryBestSizeReply * /* pRep */
361 SListExtensionsReply(
362 #if NeedFunctionPrototypes
363 ClientPtr /* pClient */,
365 xListExtensionsReply * /* pRep */
370 SGetKeyboardMappingReply(
371 #if NeedFunctionPrototypes
372 ClientPtr /* pClient */,
374 xGetKeyboardMappingReply * /* pRep */
379 SGetPointerMappingReply(
380 #if NeedFunctionPrototypes
381 ClientPtr /* pClient */,
383 xGetPointerMappingReply * /* pRep */
388 SGetModifierMappingReply(
389 #if NeedFunctionPrototypes
390 ClientPtr /* pClient */,
392 xGetModifierMappingReply * /* pRep */
397 SGetKeyboardControlReply(
398 #if NeedFunctionPrototypes
399 ClientPtr /* pClient */,
401 xGetKeyboardControlReply * /* pRep */
406 SGetPointerControlReply(
407 #if NeedFunctionPrototypes
408 ClientPtr /* pClient */,
410 xGetPointerControlReply * /* pRep */
415 SGetScreenSaverReply(
416 #if NeedFunctionPrototypes
417 ClientPtr /* pClient */,
419 xGetScreenSaverReply * /* pRep */
425 #if NeedFunctionPrototypes
426 ClientPtr /* pClient */,
434 #if NeedFunctionPrototypes
435 ClientPtr /* pClient */,
437 xListHostsReply * /* pRep */
443 #if NeedFunctionPrototypes
451 #if NeedFunctionPrototypes
453 char * /* pInfoTBase */
458 WriteSConnectionInfo(
459 #if NeedFunctionPrototypes
460 ClientPtr /* pClient */,
461 unsigned long /* size */,
468 #if NeedFunctionPrototypes
469 xConnSetup * /* pConnSetup */,
470 xConnSetup * /* pConnSetupT */
476 #if NeedFunctionPrototypes
477 xWindowRoot * /* pRoot */,
478 xWindowRoot * /* pRootT */
484 #if NeedFunctionPrototypes
485 xVisualType * /* pVis */,
486 xVisualType * /* pVisT */
492 #if NeedFunctionPrototypes
493 xConnSetupPrefix * /* pcspFrom */,
494 xConnSetupPrefix * /* pcspTo */
499 WriteSConnSetupPrefix(
500 #if NeedFunctionPrototypes
501 ClientPtr /* pClient */,
502 xConnSetupPrefix * /* pcsp */
507 #if NeedFunctionPrototypes
508 #define SWAPREP_PROC(func) void func(xEvent * /* from */, xEvent * /* to */)
510 #define SWAPREP_PROC(func) void func(/* xEvent * from, xEvent * to */)
513 SWAPREP_PROC(SCirculateEvent);
514 SWAPREP_PROC(SClientMessageEvent);
515 SWAPREP_PROC(SColormapEvent);
516 SWAPREP_PROC(SConfigureNotifyEvent);
517 SWAPREP_PROC(SConfigureRequestEvent);
518 SWAPREP_PROC(SCreateNotifyEvent);
519 SWAPREP_PROC(SDestroyNotifyEvent);
520 SWAPREP_PROC(SEnterLeaveEvent);
521 SWAPREP_PROC(SExposeEvent);
522 SWAPREP_PROC(SFocusEvent);
523 SWAPREP_PROC(SGraphicsExposureEvent);
524 SWAPREP_PROC(SGravityEvent);
525 SWAPREP_PROC(SKeyButtonPtrEvent);
526 SWAPREP_PROC(SKeymapNotifyEvent);
527 SWAPREP_PROC(SMapNotifyEvent);
528 SWAPREP_PROC(SMapRequestEvent);
529 SWAPREP_PROC(SMappingEvent);
530 SWAPREP_PROC(SNoExposureEvent);
531 SWAPREP_PROC(SPropertyEvent);
532 SWAPREP_PROC(SReparentEvent);
533 SWAPREP_PROC(SResizeRequestEvent);
534 SWAPREP_PROC(SSelectionClearEvent);
535 SWAPREP_PROC(SSelectionNotifyEvent);
536 SWAPREP_PROC(SSelectionRequestEvent);
537 SWAPREP_PROC(SUnmapNotifyEvent);
538 SWAPREP_PROC(SVisibilityEvent);
542 #endif /* SWAPREP_H */