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 /*
27  * This prototypes the dispatch.c module (except for functions declared in
28  * global headers), plus related dispatch procedures from devices.c, events.c,
29  * extension.c, property.c.
30  */
31 
32 #ifdef HAVE_DIX_CONFIG_H
33 #include <dix-config.h>
34 #endif
35 
36 #ifndef DISPATCH_H
37 #define DISPATCH_H 1
38 
39 int ProcAllocColor(ClientPtr /* client */ );
40 int ProcAllocColorCells(ClientPtr /* client */ );
41 int ProcAllocColorPlanes(ClientPtr /* client */ );
42 int ProcAllocNamedColor(ClientPtr /* client */ );
43 int ProcBell(ClientPtr /* client */ );
44 int ProcChangeAccessControl(ClientPtr /* client */ );
45 int ProcChangeCloseDownMode(ClientPtr /* client */ );
46 int ProcChangeGC(ClientPtr /* client */ );
47 int ProcChangeHosts(ClientPtr /* client */ );
48 int ProcChangeKeyboardControl(ClientPtr /* client */ );
49 int ProcChangeKeyboardMapping(ClientPtr /* client */ );
50 int ProcChangePointerControl(ClientPtr /* client */ );
51 int ProcChangeProperty(ClientPtr /* client */ );
52 int ProcChangeSaveSet(ClientPtr /* client */ );
53 int ProcChangeWindowAttributes(ClientPtr /* client */ );
54 int ProcCirculateWindow(ClientPtr /* client */ );
55 int ProcClearToBackground(ClientPtr /* client */ );
56 int ProcCloseFont(ClientPtr /* client */ );
57 int ProcConfigureWindow(ClientPtr /* client */ );
58 int ProcConvertSelection(ClientPtr /* client */ );
59 int ProcCopyArea(ClientPtr /* client */ );
60 int ProcCopyColormapAndFree(ClientPtr /* client */ );
61 int ProcCopyGC(ClientPtr /* client */ );
62 int ProcCopyPlane(ClientPtr /* client */ );
63 int ProcCreateColormap(ClientPtr /* client */ );
64 int ProcCreateCursor(ClientPtr /* client */ );
65 int ProcCreateGC(ClientPtr /* client */ );
66 int ProcCreateGlyphCursor(ClientPtr /* client */ );
67 int ProcCreatePixmap(ClientPtr /* client */ );
68 int ProcCreateWindow(ClientPtr /* client */ );
69 int ProcDeleteProperty(ClientPtr /* client */ );
70 int ProcDestroySubwindows(ClientPtr /* client */ );
71 int ProcDestroyWindow(ClientPtr /* client */ );
72 int ProcEstablishConnection(ClientPtr /* client */ );
73 int ProcFillPoly(ClientPtr /* client */ );
74 int ProcForceScreenSaver(ClientPtr /* client */ );
75 int ProcFreeColormap(ClientPtr /* client */ );
76 int ProcFreeColors(ClientPtr /* client */ );
77 int ProcFreeCursor(ClientPtr /* client */ );
78 int ProcFreeGC(ClientPtr /* client */ );
79 int ProcFreePixmap(ClientPtr /* client */ );
80 int ProcGetAtomName(ClientPtr /* client */ );
81 int ProcGetFontPath(ClientPtr /* client */ );
82 int ProcGetGeometry(ClientPtr /* client */ );
83 int ProcGetImage(ClientPtr /* client */ );
84 int ProcGetKeyboardControl(ClientPtr /* client */ );
85 int ProcGetKeyboardMapping(ClientPtr /* client */ );
86 int ProcGetModifierMapping(ClientPtr /* client */ );
87 int ProcGetMotionEvents(ClientPtr /* client */ );
88 int ProcGetPointerControl(ClientPtr /* client */ );
89 int ProcGetPointerMapping(ClientPtr /* client */ );
90 int ProcGetProperty(ClientPtr /* client */ );
91 int ProcGetScreenSaver(ClientPtr /* client */ );
92 int ProcGetSelectionOwner(ClientPtr /* client */ );
93 int ProcGetWindowAttributes(ClientPtr /* client */ );
94 int ProcGrabServer(ClientPtr /* client */ );
95 int ProcImageText16(ClientPtr /* client */ );
96 int ProcImageText8(ClientPtr /* client */ );
97 int ProcInitialConnection(ClientPtr /* client */ );
98 int ProcInstallColormap(ClientPtr /* client */ );
99 int ProcInternAtom(ClientPtr /* client */ );
100 int ProcKillClient(ClientPtr /* client */ );
101 int ProcListExtensions(ClientPtr /* client */ );
102 int ProcListFonts(ClientPtr /* client */ );
103 int ProcListFontsWithInfo(ClientPtr /* client */ );
104 int ProcListHosts(ClientPtr /* client */ );
105 int ProcListInstalledColormaps(ClientPtr /* client */ );
106 int ProcListProperties(ClientPtr /* client */ );
107 int ProcLookupColor(ClientPtr /* client */ );
108 int ProcMapSubwindows(ClientPtr /* client */ );
109 int ProcMapWindow(ClientPtr /* client */ );
110 int ProcNoOperation(ClientPtr /* client */ );
111 int ProcOpenFont(ClientPtr /* client */ );
112 int ProcPolyArc(ClientPtr /* client */ );
113 int ProcPolyFillArc(ClientPtr /* client */ );
114 int ProcPolyFillRectangle(ClientPtr /* client */ );
115 int ProcPolyLine(ClientPtr /* client */ );
116 int ProcPolyPoint(ClientPtr /* client */ );
117 int ProcPolyRectangle(ClientPtr /* client */ );
118 int ProcPolySegment(ClientPtr /* client */ );
119 int ProcPolyText(ClientPtr /* client */ );
120 int ProcPutImage(ClientPtr /* client */ );
121 int ProcQueryBestSize(ClientPtr /* client */ );
122 int ProcQueryColors(ClientPtr /* client */ );
123 int ProcQueryExtension(ClientPtr /* client */ );
124 int ProcQueryFont(ClientPtr /* client */ );
125 int ProcQueryKeymap(ClientPtr /* client */ );
126 int ProcQueryTextExtents(ClientPtr /* client */ );
127 int ProcQueryTree(ClientPtr /* client */ );
128 int ProcReparentWindow(ClientPtr /* client */ );
129 int ProcRotateProperties(ClientPtr /* client */ );
130 int ProcSetClipRectangles(ClientPtr /* client */ );
131 int ProcSetDashes(ClientPtr /* client */ );
132 int ProcSetFontPath(ClientPtr /* client */ );
133 int ProcSetModifierMapping(ClientPtr /* client */ );
134 int ProcSetPointerMapping(ClientPtr /* client */ );
135 int ProcSetScreenSaver(ClientPtr /* client */ );
136 int ProcSetSelectionOwner(ClientPtr /* client */ );
137 int ProcStoreColors(ClientPtr /* client */ );
138 int ProcStoreNamedColor(ClientPtr /* client */ );
139 int ProcTranslateCoords(ClientPtr /* client */ );
140 int ProcUngrabServer(ClientPtr /* client */ );
141 int ProcUninstallColormap(ClientPtr /* client */ );
142 int ProcUnmapSubwindows(ClientPtr /* client */ );
143 int ProcUnmapWindow(ClientPtr /* client */ );
144 
145 #endif                          /* DISPATCH_H */
146