1 
2 /*
3  *	Server dispatcher function replacements
4  */
5 
6 extern int PanoramiXCreateWindow(ClientPtr client);
7 extern int PanoramiXChangeWindowAttributes(ClientPtr client);
8 extern int PanoramiXDestroyWindow(ClientPtr client);
9 extern int PanoramiXDestroySubwindows(ClientPtr client);
10 extern int PanoramiXChangeSaveSet(ClientPtr client);
11 extern int PanoramiXReparentWindow(ClientPtr client);
12 extern int PanoramiXMapWindow(ClientPtr client);
13 extern int PanoramiXMapSubwindows(ClientPtr client);
14 extern int PanoramiXUnmapWindow(ClientPtr client);
15 extern int PanoramiXUnmapSubwindows(ClientPtr client);
16 extern int PanoramiXConfigureWindow(ClientPtr client);
17 extern int PanoramiXCirculateWindow(ClientPtr client);
18 extern int PanoramiXGetGeometry(ClientPtr client);
19 extern int PanoramiXTranslateCoords(ClientPtr client);
20 extern int PanoramiXCreatePixmap(ClientPtr client);
21 extern int PanoramiXFreePixmap(ClientPtr client);
22 extern int PanoramiXChangeGC(ClientPtr client);
23 extern int PanoramiXCopyGC(ClientPtr client);
24 extern int PanoramiXCopyColormapAndFree(ClientPtr client);
25 extern int PanoramiXCreateGC(ClientPtr client);
26 extern int PanoramiXSetDashes(ClientPtr client);
27 extern int PanoramiXSetClipRectangles(ClientPtr client);
28 extern int PanoramiXFreeGC(ClientPtr client);
29 extern int PanoramiXClearToBackground(ClientPtr client);
30 extern int PanoramiXCopyArea(ClientPtr client);
31 extern int PanoramiXCopyPlane(ClientPtr client);
32 extern int PanoramiXPolyPoint(ClientPtr client);
33 extern int PanoramiXPolyLine(ClientPtr client);
34 extern int PanoramiXPolySegment(ClientPtr client);
35 extern int PanoramiXPolyRectangle(ClientPtr client);
36 extern int PanoramiXPolyArc(ClientPtr client);
37 extern int PanoramiXFillPoly(ClientPtr client);
38 extern int PanoramiXPolyFillArc(ClientPtr client);
39 extern int PanoramiXPolyFillRectangle(ClientPtr client);
40 extern int PanoramiXPutImage(ClientPtr client);
41 extern int PanoramiXGetImage(ClientPtr client);
42 extern int PanoramiXPolyText8(ClientPtr client);
43 extern int PanoramiXPolyText16(ClientPtr client);
44 extern int PanoramiXImageText8(ClientPtr client);
45 extern int PanoramiXImageText16(ClientPtr client);
46 extern int PanoramiXCreateColormap(ClientPtr client);
47 extern int PanoramiXFreeColormap(ClientPtr client);
48 extern int PanoramiXInstallColormap(ClientPtr client);
49 extern int PanoramiXUninstallColormap(ClientPtr client);
50 extern int PanoramiXAllocColor(ClientPtr client);
51 extern int PanoramiXAllocNamedColor(ClientPtr client);
52 extern int PanoramiXAllocColorCells(ClientPtr client);
53 extern int PanoramiXStoreNamedColor(ClientPtr client);
54 extern int PanoramiXFreeColors(ClientPtr client);
55 extern int PanoramiXStoreColors(ClientPtr client);
56 extern int PanoramiXAllocColorPlanes(ClientPtr client);
57 
58 #define PROC_EXTERN(pfunc)      extern int pfunc(ClientPtr)
59 
60 PROC_EXTERN(ProcPanoramiXQueryVersion);
61 PROC_EXTERN(ProcPanoramiXGetState);
62 PROC_EXTERN(ProcPanoramiXGetScreenCount);
63 PROC_EXTERN(ProcPanoramiXGetScreenSize);
64 
65 PROC_EXTERN(ProcXineramaQueryScreens);
66 PROC_EXTERN(ProcXineramaIsActive);
67 
68 extern int SProcPanoramiXDispatch(ClientPtr client);
69 
70 extern int connBlockScreenStart;
71 extern xConnSetupPrefix connSetupPrefix;
72 
73 extern int (*SavedProcVector[256]) (ClientPtr client);
74