| 1 | /************************************************************ |
| 2 | |
| 3 | Copyright 1996 by Thomas E. Dickey <dickey@clark.net> |
| 4 | |
| 5 | All Rights Reserved |
| 6 | |
| 7 | Permission to use, copy, modify, and distribute this software and its |
| 8 | documentation for any purpose and without fee is hereby granted, |
| 9 | provided that the above copyright notice appear in all copies and that |
| 10 | both that copyright notice and this permission notice appear in |
| 11 | supporting documentation, and that the name of the above listed |
| 12 | copyright holder(s) not be used in advertising or publicity pertaining |
| 13 | to distribution of the software without specific, written prior |
| 14 | permission. |
| 15 | |
| 16 | THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD |
| 17 | TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY |
| 18 | AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE |
| 19 | LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 20 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 21 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 22 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 23 | |
| 24 | ********************************************************/ |
| 25 | |
| 26 | #ifndef SWAPREQ_H |
| 27 | #define SWAPREQ_H 1 |
| 28 | |
| 29 | extern _X_EXPORT void SwapColorItem(xColorItem * /* pItem */ ); |
| 30 | |
| 31 | extern _X_EXPORT void SwapConnClientPrefix(xConnClientPrefix * /* pCCP */ ); |
| 32 | |
| 33 | #undef SWAPREQ_PROC |
| 34 | |
| 35 | #define SWAPREQ_PROC(func) extern _X_EXPORT int func(ClientPtr /* client */) |
| 36 | |
| 37 | SWAPREQ_PROC(SProcAllocColor); |
| 38 | SWAPREQ_PROC(SProcAllocColorCells); |
| 39 | SWAPREQ_PROC(SProcAllocColorPlanes); |
| 40 | SWAPREQ_PROC(SProcAllocNamedColor); |
| 41 | SWAPREQ_PROC(SProcChangeActivePointerGrab); |
| 42 | SWAPREQ_PROC(SProcChangeGC); |
| 43 | SWAPREQ_PROC(SProcChangeHosts); |
| 44 | SWAPREQ_PROC(SProcChangeKeyboardControl); |
| 45 | SWAPREQ_PROC(SProcChangeKeyboardMapping); |
| 46 | SWAPREQ_PROC(SProcChangePointerControl); |
| 47 | SWAPREQ_PROC(SProcChangeProperty); |
| 48 | SWAPREQ_PROC(SProcChangeWindowAttributes); |
| 49 | SWAPREQ_PROC(SProcClearToBackground); |
| 50 | SWAPREQ_PROC(SProcConfigureWindow); |
| 51 | SWAPREQ_PROC(SProcConvertSelection); |
| 52 | SWAPREQ_PROC(SProcCopyArea); |
| 53 | SWAPREQ_PROC(SProcCopyColormapAndFree); |
| 54 | SWAPREQ_PROC(SProcCopyGC); |
| 55 | SWAPREQ_PROC(SProcCopyPlane); |
| 56 | SWAPREQ_PROC(SProcCreateColormap); |
| 57 | SWAPREQ_PROC(SProcCreateCursor); |
| 58 | SWAPREQ_PROC(SProcCreateGC); |
| 59 | SWAPREQ_PROC(SProcCreateGlyphCursor); |
| 60 | SWAPREQ_PROC(SProcCreatePixmap); |
| 61 | SWAPREQ_PROC(SProcCreateWindow); |
| 62 | SWAPREQ_PROC(SProcDeleteProperty); |
| 63 | SWAPREQ_PROC(SProcFillPoly); |
| 64 | SWAPREQ_PROC(SProcFreeColors); |
| 65 | SWAPREQ_PROC(SProcGetImage); |
| 66 | SWAPREQ_PROC(SProcGetMotionEvents); |
| 67 | SWAPREQ_PROC(SProcGetProperty); |
| 68 | SWAPREQ_PROC(SProcGrabButton); |
| 69 | SWAPREQ_PROC(SProcGrabKey); |
| 70 | SWAPREQ_PROC(SProcGrabKeyboard); |
| 71 | SWAPREQ_PROC(SProcGrabPointer); |
| 72 | SWAPREQ_PROC(SProcImageText); |
| 73 | SWAPREQ_PROC(SProcInternAtom); |
| 74 | SWAPREQ_PROC(SProcListFonts); |
| 75 | SWAPREQ_PROC(SProcListFontsWithInfo); |
| 76 | SWAPREQ_PROC(SProcLookupColor); |
| 77 | SWAPREQ_PROC(SProcNoOperation); |
| 78 | SWAPREQ_PROC(SProcOpenFont); |
| 79 | SWAPREQ_PROC(SProcPoly); |
| 80 | SWAPREQ_PROC(SProcPolyText); |
| 81 | SWAPREQ_PROC(SProcPutImage); |
| 82 | SWAPREQ_PROC(SProcQueryBestSize); |
| 83 | SWAPREQ_PROC(SProcQueryColors); |
| 84 | SWAPREQ_PROC(SProcQueryExtension); |
| 85 | SWAPREQ_PROC(SProcRecolorCursor); |
| 86 | SWAPREQ_PROC(SProcReparentWindow); |
| 87 | SWAPREQ_PROC(SProcResourceReq); |
| 88 | SWAPREQ_PROC(SProcRotateProperties); |
| 89 | SWAPREQ_PROC(SProcSendEvent); |
| 90 | SWAPREQ_PROC(SProcSetClipRectangles); |
| 91 | SWAPREQ_PROC(SProcSetDashes); |
| 92 | SWAPREQ_PROC(SProcSetFontPath); |
| 93 | SWAPREQ_PROC(SProcSetInputFocus); |
| 94 | SWAPREQ_PROC(SProcSetScreenSaver); |
| 95 | SWAPREQ_PROC(SProcSetSelectionOwner); |
| 96 | SWAPREQ_PROC(SProcSimpleReq); |
| 97 | SWAPREQ_PROC(SProcStoreColors); |
| 98 | SWAPREQ_PROC(SProcStoreNamedColor); |
| 99 | SWAPREQ_PROC(SProcTranslateCoords); |
| 100 | SWAPREQ_PROC(SProcUngrabButton); |
| 101 | SWAPREQ_PROC(SProcUngrabKey); |
| 102 | SWAPREQ_PROC(SProcWarpPointer); |
| 103 | |
| 104 | #undef SWAPREQ_PROC |
| 105 | |
| 106 | #endif /* SWAPREQ_H */ |