1
/* $XFree86: xc/programs/Xserver/include/swapreq.h,v 1.3 2003/04/27 21:31:05 herrb 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
********************************************************/
30
/* The first two are in misc.h */
32
extern void SwapLongs (
34
unsigned long /* count */);
36
extern void SwapShorts (
38
unsigned long /* count */);
41
extern void SwapColorItem(
42
xColorItem * /* pItem */);
44
extern void SwapConnClientPrefix(
45
xConnClientPrefix * /* pCCP */);
49
#define SWAPREQ_PROC(func) int func(ClientPtr /* client */)
51
SWAPREQ_PROC(SProcAllocColor);
52
SWAPREQ_PROC(SProcAllocColorCells);
53
SWAPREQ_PROC(SProcAllocColorPlanes);
54
SWAPREQ_PROC(SProcAllocNamedColor);
55
SWAPREQ_PROC(SProcChangeActivePointerGrab);
56
SWAPREQ_PROC(SProcChangeGC);
57
SWAPREQ_PROC(SProcChangeHosts);
58
SWAPREQ_PROC(SProcChangeKeyboardControl);
59
SWAPREQ_PROC(SProcChangeKeyboardMapping);
60
SWAPREQ_PROC(SProcChangePointerControl);
61
SWAPREQ_PROC(SProcChangeProperty);
62
SWAPREQ_PROC(SProcChangeWindowAttributes);
63
SWAPREQ_PROC(SProcClearToBackground);
64
SWAPREQ_PROC(SProcConfigureWindow);
65
SWAPREQ_PROC(SProcConvertSelection);
66
SWAPREQ_PROC(SProcCopyArea);
67
SWAPREQ_PROC(SProcCopyColormapAndFree);
68
SWAPREQ_PROC(SProcCopyGC);
69
SWAPREQ_PROC(SProcCopyPlane);
70
SWAPREQ_PROC(SProcCreateColormap);
71
SWAPREQ_PROC(SProcCreateCursor);
72
SWAPREQ_PROC(SProcCreateGC);
73
SWAPREQ_PROC(SProcCreateGlyphCursor);
74
SWAPREQ_PROC(SProcCreatePixmap);
75
SWAPREQ_PROC(SProcCreateWindow);
76
SWAPREQ_PROC(SProcDeleteProperty);
77
SWAPREQ_PROC(SProcFillPoly);
78
SWAPREQ_PROC(SProcFreeColors);
79
SWAPREQ_PROC(SProcGetImage);
80
SWAPREQ_PROC(SProcGetMotionEvents);
81
SWAPREQ_PROC(SProcGetProperty);
82
SWAPREQ_PROC(SProcGrabButton);
83
SWAPREQ_PROC(SProcGrabKey);
84
SWAPREQ_PROC(SProcGrabKeyboard);
85
SWAPREQ_PROC(SProcGrabPointer);
86
SWAPREQ_PROC(SProcImageText);
87
SWAPREQ_PROC(SProcInternAtom);
88
SWAPREQ_PROC(SProcListFonts);
89
SWAPREQ_PROC(SProcListFontsWithInfo);
90
SWAPREQ_PROC(SProcLookupColor);
91
SWAPREQ_PROC(SProcNoOperation);
92
SWAPREQ_PROC(SProcOpenFont);
93
SWAPREQ_PROC(SProcPoly);
94
SWAPREQ_PROC(SProcPolyText);
95
SWAPREQ_PROC(SProcPutImage);
96
SWAPREQ_PROC(SProcQueryBestSize);
97
SWAPREQ_PROC(SProcQueryColors);
98
SWAPREQ_PROC(SProcQueryExtension);
99
SWAPREQ_PROC(SProcRecolorCursor);
100
SWAPREQ_PROC(SProcReparentWindow);
101
SWAPREQ_PROC(SProcResourceReq);
102
SWAPREQ_PROC(SProcRotateProperties);
103
SWAPREQ_PROC(SProcSendEvent);
104
SWAPREQ_PROC(SProcSetClipRectangles);
105
SWAPREQ_PROC(SProcSetDashes);
106
SWAPREQ_PROC(SProcSetFontPath);
107
SWAPREQ_PROC(SProcSetInputFocus);
108
SWAPREQ_PROC(SProcSetScreenSaver);
109
SWAPREQ_PROC(SProcSetSelectionOwner);
110
SWAPREQ_PROC(SProcSimpleReq);
111
SWAPREQ_PROC(SProcStoreColors);
112
SWAPREQ_PROC(SProcStoreNamedColor);
113
SWAPREQ_PROC(SProcTranslateCoords);
114
SWAPREQ_PROC(SProcUngrabButton);
115
SWAPREQ_PROC(SProcUngrabKey);
116
SWAPREQ_PROC(SProcWarpPointer);
120
#endif /* SWAPREQ_H */