1 /* $XFree86: xc/programs/Xserver/dix/dispatch.h,v 3.1 1996/05/06 05:56:15 dawes Exp $ */ 2 /************************************************************ 3 4 Copyright 1996 by Thomas E. Dickey <dickey@clark.net> 5 6 All Rights Reserved 7 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 15 permission. 16 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. 24 25 ********************************************************/ 26 27 /* 28 * This prototypes the dispatch.c module (except for functions declared in 29 * global headers), plus related dispatch procedures from devices.c, events.c, 30 * extension.c, property.c. 31 */ 32 33 #ifndef DISPATCH_H 34 #define DISPATCH_H 1 35 36 #ifdef LBX 37 void IncrementClientCount( 38 #if NeedFunctionPrototypes 39 void 40 #endif 41 ); 42 #endif 43 44 void CloseDownClient( 45 #if NeedFunctionPrototypes 46 ClientPtr client 47 #endif 48 ); 49 50 void Dispatch( 51 #if NeedFunctionPrototypes 52 void 53 #endif 54 ); 55 56 void InitProcVectors( 57 #if NeedFunctionPrototypes 58 void 59 #endif 60 ); 61 62 ClientPtr NextAvailableClient( 63 #if NeedFunctionPrototypes 64 pointer ospriv 65 #endif 66 ); 67 68 int SendConnSetup( 69 #if NeedFunctionPrototypes 70 ClientPtr /* client */, 71 char * /* reason */ 72 #endif 73 ); 74 75 void SetInputCheck( 76 #if NeedFunctionPrototypes 77 HWEventQueuePtr /* c0 */, 78 HWEventQueuePtr /* c1 */ 79 #endif 80 ); 81 82 DISPATCH_PROC(InitClientPrivates); 83 DISPATCH_PROC(ProcAllocColor); 84 DISPATCH_PROC(ProcAllocColorCells); 85 DISPATCH_PROC(ProcAllocColorPlanes); 86 DISPATCH_PROC(ProcAllocNamedColor); 87 DISPATCH_PROC(ProcAllowEvents); 88 DISPATCH_PROC(ProcBadRequest); 89 DISPATCH_PROC(ProcBell); 90 DISPATCH_PROC(ProcChangeAccessControl); 91 DISPATCH_PROC(ProcChangeActivePointerGrab); 92 DISPATCH_PROC(ProcChangeCloseDownMode); 93 DISPATCH_PROC(ProcChangeGC); 94 DISPATCH_PROC(ProcChangeHosts); 95 DISPATCH_PROC(ProcChangeKeyboardControl); 96 DISPATCH_PROC(ProcChangeKeyboardMapping); 97 DISPATCH_PROC(ProcChangePointerControl); 98 DISPATCH_PROC(ProcChangeProperty); 99 DISPATCH_PROC(ProcChangeSaveSet); 100 DISPATCH_PROC(ProcChangeWindowAttributes); 101 DISPATCH_PROC(ProcCirculateWindow); 102 DISPATCH_PROC(ProcClearToBackground); 103 DISPATCH_PROC(ProcCloseFont); 104 DISPATCH_PROC(ProcConfigureWindow); 105 DISPATCH_PROC(ProcConvertSelection); 106 DISPATCH_PROC(ProcCopyArea); 107 DISPATCH_PROC(ProcCopyColormapAndFree); 108 DISPATCH_PROC(ProcCopyGC); 109 DISPATCH_PROC(ProcCopyPlane); 110 DISPATCH_PROC(ProcCreateColormap); 111 DISPATCH_PROC(ProcCreateCursor); 112 DISPATCH_PROC(ProcCreateGC); 113 DISPATCH_PROC(ProcCreateGlyphCursor); 114 DISPATCH_PROC(ProcCreatePixmap); 115 DISPATCH_PROC(ProcCreateWindow); 116 DISPATCH_PROC(ProcDeleteProperty); 117 DISPATCH_PROC(ProcDestroySubwindows); 118 DISPATCH_PROC(ProcDestroyWindow); 119 DISPATCH_PROC(ProcEstablishConnection); 120 DISPATCH_PROC(ProcFillPoly); 121 DISPATCH_PROC(ProcForceScreenSaver); 122 DISPATCH_PROC(ProcFreeColormap); 123 DISPATCH_PROC(ProcFreeColors); 124 DISPATCH_PROC(ProcFreeCursor); 125 DISPATCH_PROC(ProcFreeGC); 126 DISPATCH_PROC(ProcFreePixmap); 127 DISPATCH_PROC(ProcGetAtomName); 128 DISPATCH_PROC(ProcGetFontPath); 129 DISPATCH_PROC(ProcGetGeometry); 130 DISPATCH_PROC(ProcGetImage); 131 DISPATCH_PROC(ProcGetInputFocus); 132 DISPATCH_PROC(ProcGetKeyboardControl); 133 DISPATCH_PROC(ProcGetKeyboardMapping); 134 DISPATCH_PROC(ProcGetModifierMapping); 135 DISPATCH_PROC(ProcGetMotionEvents); 136 DISPATCH_PROC(ProcGetPointerControl); 137 DISPATCH_PROC(ProcGetPointerMapping); 138 DISPATCH_PROC(ProcGetProperty); 139 DISPATCH_PROC(ProcGetScreenSaver); 140 DISPATCH_PROC(ProcGetSelectionOwner); 141 DISPATCH_PROC(ProcGetWindowAttributes); 142 DISPATCH_PROC(ProcGrabButton); 143 DISPATCH_PROC(ProcGrabKey); 144 DISPATCH_PROC(ProcGrabKeyboard); 145 DISPATCH_PROC(ProcGrabPointer); 146 DISPATCH_PROC(ProcGrabServer); 147 DISPATCH_PROC(ProcImageText16); 148 DISPATCH_PROC(ProcImageText8); 149 DISPATCH_PROC(ProcInitialConnection); 150 DISPATCH_PROC(ProcInstallColormap); 151 DISPATCH_PROC(ProcInternAtom); 152 DISPATCH_PROC(ProcKillClient); 153 DISPATCH_PROC(ProcListExtensions); 154 DISPATCH_PROC(ProcListFonts); 155 DISPATCH_PROC(ProcListFontsWithInfo); 156 DISPATCH_PROC(ProcListHosts); 157 DISPATCH_PROC(ProcListInstalledColormaps); 158 DISPATCH_PROC(ProcListProperties); 159 DISPATCH_PROC(ProcLookupColor); 160 DISPATCH_PROC(ProcMapSubwindows); 161 DISPATCH_PROC(ProcMapWindow); 162 DISPATCH_PROC(ProcNoOperation); 163 DISPATCH_PROC(ProcOpenFont); 164 DISPATCH_PROC(ProcPolyArc); 165 DISPATCH_PROC(ProcPolyFillArc); 166 DISPATCH_PROC(ProcPolyFillRectangle); 167 DISPATCH_PROC(ProcPolyLine); 168 DISPATCH_PROC(ProcPolyPoint); 169 DISPATCH_PROC(ProcPolyRectangle); 170 DISPATCH_PROC(ProcPolySegment); 171 DISPATCH_PROC(ProcPolyText); 172 DISPATCH_PROC(ProcPutImage); 173 DISPATCH_PROC(ProcQueryBestSize); 174 DISPATCH_PROC(ProcQueryColors); 175 DISPATCH_PROC(ProcQueryExtension); 176 DISPATCH_PROC(ProcQueryFont); 177 DISPATCH_PROC(ProcQueryKeymap); 178 DISPATCH_PROC(ProcQueryPointer); 179 DISPATCH_PROC(ProcQueryTextExtents); 180 DISPATCH_PROC(ProcQueryTree); 181 DISPATCH_PROC(ProcRecolorCursor); 182 DISPATCH_PROC(ProcReparentWindow); 183 DISPATCH_PROC(ProcRotateProperties); 184 DISPATCH_PROC(ProcSendEvent); 185 DISPATCH_PROC(ProcSetClipRectangles); 186 DISPATCH_PROC(ProcSetDashes); 187 DISPATCH_PROC(ProcSetFontPath); 188 DISPATCH_PROC(ProcSetInputFocus); 189 DISPATCH_PROC(ProcSetModifierMapping); 190 DISPATCH_PROC(ProcSetPointerMapping); 191 DISPATCH_PROC(ProcSetScreenSaver); 192 DISPATCH_PROC(ProcSetSelectionOwner); 193 DISPATCH_PROC(ProcStoreColors); 194 DISPATCH_PROC(ProcStoreNamedColor); 195 DISPATCH_PROC(ProcTranslateCoords); 196 DISPATCH_PROC(ProcUngrabButton); 197 DISPATCH_PROC(ProcUngrabKey); 198 DISPATCH_PROC(ProcUngrabKeyboard); 199 DISPATCH_PROC(ProcUngrabPointer); 200 DISPATCH_PROC(ProcUngrabServer); 201 DISPATCH_PROC(ProcUninstallColormap); 202 DISPATCH_PROC(ProcUnmapSubwindows); 203 DISPATCH_PROC(ProcUnmapWindow); 204 DISPATCH_PROC(ProcWarpPointer); 205 206 #endif /* DISPATCH_H */ 207