1706f2543Smrg/************************************************************
2706f2543Smrg
3706f2543SmrgCopyright 1996 by Thomas E. Dickey <dickey@clark.net>
4706f2543Smrg
5706f2543Smrg                        All Rights Reserved
6706f2543Smrg
7706f2543SmrgPermission to use, copy, modify, and distribute this software and its
8706f2543Smrgdocumentation for any purpose and without fee is hereby granted,
9706f2543Smrgprovided that the above copyright notice appear in all copies and that
10706f2543Smrgboth that copyright notice and this permission notice appear in
11706f2543Smrgsupporting documentation, and that the name of the above listed
12706f2543Smrgcopyright holder(s) not be used in advertising or publicity pertaining
13706f2543Smrgto distribution of the software without specific, written prior
14706f2543Smrgpermission.
15706f2543Smrg
16706f2543SmrgTHE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
17706f2543SmrgTO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
18706f2543SmrgAND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
19706f2543SmrgLIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20706f2543SmrgWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
21706f2543SmrgACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
22706f2543SmrgOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23706f2543Smrg
24706f2543Smrg********************************************************/
25706f2543Smrg
26706f2543Smrg#ifndef SWAPREQ_H
27706f2543Smrg#define SWAPREQ_H 1
28706f2543Smrg
29706f2543Smrgextern _X_EXPORT void SwapColorItem(
30706f2543Smrg    xColorItem	* /* pItem */);
31706f2543Smrg
32706f2543Smrgextern _X_EXPORT void SwapConnClientPrefix(
33706f2543Smrg    xConnClientPrefix * /* pCCP */);
34706f2543Smrg
35706f2543Smrg#undef SWAPREQ_PROC
36706f2543Smrg
37706f2543Smrg#define SWAPREQ_PROC(func) extern _X_EXPORT int func(ClientPtr /* client */)
38706f2543Smrg
39706f2543SmrgSWAPREQ_PROC(SProcAllocColor);
40706f2543SmrgSWAPREQ_PROC(SProcAllocColorCells);
41706f2543SmrgSWAPREQ_PROC(SProcAllocColorPlanes);
42706f2543SmrgSWAPREQ_PROC(SProcAllocNamedColor);
43706f2543SmrgSWAPREQ_PROC(SProcChangeActivePointerGrab);
44706f2543SmrgSWAPREQ_PROC(SProcChangeGC);
45706f2543SmrgSWAPREQ_PROC(SProcChangeHosts);
46706f2543SmrgSWAPREQ_PROC(SProcChangeKeyboardControl);
47706f2543SmrgSWAPREQ_PROC(SProcChangeKeyboardMapping);
48706f2543SmrgSWAPREQ_PROC(SProcChangePointerControl);
49706f2543SmrgSWAPREQ_PROC(SProcChangeProperty);
50706f2543SmrgSWAPREQ_PROC(SProcChangeWindowAttributes);
51706f2543SmrgSWAPREQ_PROC(SProcClearToBackground);
52706f2543SmrgSWAPREQ_PROC(SProcConfigureWindow);
53706f2543SmrgSWAPREQ_PROC(SProcConvertSelection);
54706f2543SmrgSWAPREQ_PROC(SProcCopyArea);
55706f2543SmrgSWAPREQ_PROC(SProcCopyColormapAndFree);
56706f2543SmrgSWAPREQ_PROC(SProcCopyGC);
57706f2543SmrgSWAPREQ_PROC(SProcCopyPlane);
58706f2543SmrgSWAPREQ_PROC(SProcCreateColormap);
59706f2543SmrgSWAPREQ_PROC(SProcCreateCursor);
60706f2543SmrgSWAPREQ_PROC(SProcCreateGC);
61706f2543SmrgSWAPREQ_PROC(SProcCreateGlyphCursor);
62706f2543SmrgSWAPREQ_PROC(SProcCreatePixmap);
63706f2543SmrgSWAPREQ_PROC(SProcCreateWindow);
64706f2543SmrgSWAPREQ_PROC(SProcDeleteProperty);
65706f2543SmrgSWAPREQ_PROC(SProcFillPoly);
66706f2543SmrgSWAPREQ_PROC(SProcFreeColors);
67706f2543SmrgSWAPREQ_PROC(SProcGetImage);
68706f2543SmrgSWAPREQ_PROC(SProcGetMotionEvents);
69706f2543SmrgSWAPREQ_PROC(SProcGetProperty);
70706f2543SmrgSWAPREQ_PROC(SProcGrabButton);
71706f2543SmrgSWAPREQ_PROC(SProcGrabKey);
72706f2543SmrgSWAPREQ_PROC(SProcGrabKeyboard);
73706f2543SmrgSWAPREQ_PROC(SProcGrabPointer);
74706f2543SmrgSWAPREQ_PROC(SProcImageText);
75706f2543SmrgSWAPREQ_PROC(SProcInternAtom);
76706f2543SmrgSWAPREQ_PROC(SProcListFonts);
77706f2543SmrgSWAPREQ_PROC(SProcListFontsWithInfo);
78706f2543SmrgSWAPREQ_PROC(SProcLookupColor);
79706f2543SmrgSWAPREQ_PROC(SProcNoOperation);
80706f2543SmrgSWAPREQ_PROC(SProcOpenFont);
81706f2543SmrgSWAPREQ_PROC(SProcPoly);
82706f2543SmrgSWAPREQ_PROC(SProcPolyText);
83706f2543SmrgSWAPREQ_PROC(SProcPutImage);
84706f2543SmrgSWAPREQ_PROC(SProcQueryBestSize);
85706f2543SmrgSWAPREQ_PROC(SProcQueryColors);
86706f2543SmrgSWAPREQ_PROC(SProcQueryExtension);
87706f2543SmrgSWAPREQ_PROC(SProcRecolorCursor);
88706f2543SmrgSWAPREQ_PROC(SProcReparentWindow);
89706f2543SmrgSWAPREQ_PROC(SProcResourceReq);
90706f2543SmrgSWAPREQ_PROC(SProcRotateProperties);
91706f2543SmrgSWAPREQ_PROC(SProcSendEvent);
92706f2543SmrgSWAPREQ_PROC(SProcSetClipRectangles);
93706f2543SmrgSWAPREQ_PROC(SProcSetDashes);
94706f2543SmrgSWAPREQ_PROC(SProcSetFontPath);
95706f2543SmrgSWAPREQ_PROC(SProcSetInputFocus);
96706f2543SmrgSWAPREQ_PROC(SProcSetScreenSaver);
97706f2543SmrgSWAPREQ_PROC(SProcSetSelectionOwner);
98706f2543SmrgSWAPREQ_PROC(SProcSimpleReq);
99706f2543SmrgSWAPREQ_PROC(SProcStoreColors);
100706f2543SmrgSWAPREQ_PROC(SProcStoreNamedColor);
101706f2543SmrgSWAPREQ_PROC(SProcTranslateCoords);
102706f2543SmrgSWAPREQ_PROC(SProcUngrabButton);
103706f2543SmrgSWAPREQ_PROC(SProcUngrabKey);
104706f2543SmrgSWAPREQ_PROC(SProcWarpPointer);
105706f2543Smrg
106706f2543Smrg#undef SWAPREQ_PROC
107706f2543Smrg
108706f2543Smrg#endif /* SWAPREQ_H */
109