swapreq.h revision 05b261ec
105b261ecSmrg/************************************************************
205b261ecSmrg
305b261ecSmrgCopyright 1996 by Thomas E. Dickey <dickey@clark.net>
405b261ecSmrg
505b261ecSmrg                        All Rights Reserved
605b261ecSmrg
705b261ecSmrgPermission to use, copy, modify, and distribute this software and its
805b261ecSmrgdocumentation for any purpose and without fee is hereby granted,
905b261ecSmrgprovided that the above copyright notice appear in all copies and that
1005b261ecSmrgboth that copyright notice and this permission notice appear in
1105b261ecSmrgsupporting documentation, and that the name of the above listed
1205b261ecSmrgcopyright holder(s) not be used in advertising or publicity pertaining
1305b261ecSmrgto distribution of the software without specific, written prior
1405b261ecSmrgpermission.
1505b261ecSmrg
1605b261ecSmrgTHE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
1705b261ecSmrgTO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1805b261ecSmrgAND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
1905b261ecSmrgLIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
2005b261ecSmrgWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
2105b261ecSmrgACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
2205b261ecSmrgOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2305b261ecSmrg
2405b261ecSmrg********************************************************/
2505b261ecSmrg
2605b261ecSmrg#ifndef SWAPREQ_H
2705b261ecSmrg#define SWAPREQ_H 1
2805b261ecSmrg
2905b261ecSmrg/* The first two are in misc.h */
3005b261ecSmrg#if 0
3105b261ecSmrgextern void SwapLongs (
3205b261ecSmrg    CARD32 * /* list */,
3305b261ecSmrg    unsigned long /* count */);
3405b261ecSmrg
3505b261ecSmrgextern void SwapShorts (
3605b261ecSmrg    short * /* list */,
3705b261ecSmrg    unsigned long  /* count */);
3805b261ecSmrg#endif
3905b261ecSmrg
4005b261ecSmrgextern void SwapColorItem(
4105b261ecSmrg    xColorItem	* /* pItem */);
4205b261ecSmrg
4305b261ecSmrgextern void SwapConnClientPrefix(
4405b261ecSmrg    xConnClientPrefix * /* pCCP */);
4505b261ecSmrg
4605b261ecSmrg#undef SWAPREQ_PROC
4705b261ecSmrg
4805b261ecSmrg#define SWAPREQ_PROC(func) int func(ClientPtr /* client */)
4905b261ecSmrg
5005b261ecSmrgSWAPREQ_PROC(SProcAllocColor);
5105b261ecSmrgSWAPREQ_PROC(SProcAllocColorCells);
5205b261ecSmrgSWAPREQ_PROC(SProcAllocColorPlanes);
5305b261ecSmrgSWAPREQ_PROC(SProcAllocNamedColor);
5405b261ecSmrgSWAPREQ_PROC(SProcChangeActivePointerGrab);
5505b261ecSmrgSWAPREQ_PROC(SProcChangeGC);
5605b261ecSmrgSWAPREQ_PROC(SProcChangeHosts);
5705b261ecSmrgSWAPREQ_PROC(SProcChangeKeyboardControl);
5805b261ecSmrgSWAPREQ_PROC(SProcChangeKeyboardMapping);
5905b261ecSmrgSWAPREQ_PROC(SProcChangePointerControl);
6005b261ecSmrgSWAPREQ_PROC(SProcChangeProperty);
6105b261ecSmrgSWAPREQ_PROC(SProcChangeWindowAttributes);
6205b261ecSmrgSWAPREQ_PROC(SProcClearToBackground);
6305b261ecSmrgSWAPREQ_PROC(SProcConfigureWindow);
6405b261ecSmrgSWAPREQ_PROC(SProcConvertSelection);
6505b261ecSmrgSWAPREQ_PROC(SProcCopyArea);
6605b261ecSmrgSWAPREQ_PROC(SProcCopyColormapAndFree);
6705b261ecSmrgSWAPREQ_PROC(SProcCopyGC);
6805b261ecSmrgSWAPREQ_PROC(SProcCopyPlane);
6905b261ecSmrgSWAPREQ_PROC(SProcCreateColormap);
7005b261ecSmrgSWAPREQ_PROC(SProcCreateCursor);
7105b261ecSmrgSWAPREQ_PROC(SProcCreateGC);
7205b261ecSmrgSWAPREQ_PROC(SProcCreateGlyphCursor);
7305b261ecSmrgSWAPREQ_PROC(SProcCreatePixmap);
7405b261ecSmrgSWAPREQ_PROC(SProcCreateWindow);
7505b261ecSmrgSWAPREQ_PROC(SProcDeleteProperty);
7605b261ecSmrgSWAPREQ_PROC(SProcFillPoly);
7705b261ecSmrgSWAPREQ_PROC(SProcFreeColors);
7805b261ecSmrgSWAPREQ_PROC(SProcGetImage);
7905b261ecSmrgSWAPREQ_PROC(SProcGetMotionEvents);
8005b261ecSmrgSWAPREQ_PROC(SProcGetProperty);
8105b261ecSmrgSWAPREQ_PROC(SProcGrabButton);
8205b261ecSmrgSWAPREQ_PROC(SProcGrabKey);
8305b261ecSmrgSWAPREQ_PROC(SProcGrabKeyboard);
8405b261ecSmrgSWAPREQ_PROC(SProcGrabPointer);
8505b261ecSmrgSWAPREQ_PROC(SProcImageText);
8605b261ecSmrgSWAPREQ_PROC(SProcInternAtom);
8705b261ecSmrgSWAPREQ_PROC(SProcListFonts);
8805b261ecSmrgSWAPREQ_PROC(SProcListFontsWithInfo);
8905b261ecSmrgSWAPREQ_PROC(SProcLookupColor);
9005b261ecSmrgSWAPREQ_PROC(SProcNoOperation);
9105b261ecSmrgSWAPREQ_PROC(SProcOpenFont);
9205b261ecSmrgSWAPREQ_PROC(SProcPoly);
9305b261ecSmrgSWAPREQ_PROC(SProcPolyText);
9405b261ecSmrgSWAPREQ_PROC(SProcPutImage);
9505b261ecSmrgSWAPREQ_PROC(SProcQueryBestSize);
9605b261ecSmrgSWAPREQ_PROC(SProcQueryColors);
9705b261ecSmrgSWAPREQ_PROC(SProcQueryExtension);
9805b261ecSmrgSWAPREQ_PROC(SProcRecolorCursor);
9905b261ecSmrgSWAPREQ_PROC(SProcReparentWindow);
10005b261ecSmrgSWAPREQ_PROC(SProcResourceReq);
10105b261ecSmrgSWAPREQ_PROC(SProcRotateProperties);
10205b261ecSmrgSWAPREQ_PROC(SProcSendEvent);
10305b261ecSmrgSWAPREQ_PROC(SProcSetClipRectangles);
10405b261ecSmrgSWAPREQ_PROC(SProcSetDashes);
10505b261ecSmrgSWAPREQ_PROC(SProcSetFontPath);
10605b261ecSmrgSWAPREQ_PROC(SProcSetInputFocus);
10705b261ecSmrgSWAPREQ_PROC(SProcSetScreenSaver);
10805b261ecSmrgSWAPREQ_PROC(SProcSetSelectionOwner);
10905b261ecSmrgSWAPREQ_PROC(SProcSimpleReq);
11005b261ecSmrgSWAPREQ_PROC(SProcStoreColors);
11105b261ecSmrgSWAPREQ_PROC(SProcStoreNamedColor);
11205b261ecSmrgSWAPREQ_PROC(SProcTranslateCoords);
11305b261ecSmrgSWAPREQ_PROC(SProcUngrabButton);
11405b261ecSmrgSWAPREQ_PROC(SProcUngrabKey);
11505b261ecSmrgSWAPREQ_PROC(SProcWarpPointer);
11605b261ecSmrg
11705b261ecSmrg#undef SWAPREQ_PROC
11805b261ecSmrg
11905b261ecSmrg#endif /* SWAPREQ_H */
120