home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / server / dix / tables.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-02-15  |  18.7 KB  |  580 lines

  1. /***********************************************************
  2. Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
  3. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  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 names of Digital or MIT not be
  12. used in advertising or publicity pertaining to distribution of the
  13. software without specific, written prior permission.  
  14.  
  15. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  16. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  17. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  18. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  19. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  20. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  21. SOFTWARE.
  22.  
  23. ******************************************************************/
  24. /* $XConsortium: tables.c,v 1.21 89/02/16 11:58:08 rws Exp $ */
  25.  
  26. extern int    ProcInitialConnection(), ProcEstablishConnection();
  27.  
  28. extern int    ProcBadRequest(), ProcCreateWindow(),
  29.     ProcChangeWindowAttributes(), ProcGetWindowAttributes(),
  30.     ProcDestroyWindow(), ProcDestroySubwindows(), ProcChangeSaveSet(),
  31.     ProcReparentWindow(), ProcMapWindow(), ProcMapSubwindows(),
  32.     ProcUnmapWindow(), ProcUnmapSubwindows(), ProcConfigureWindow(),
  33.     ProcCirculateWindow(), ProcGetGeometry(), ProcQueryTree(),
  34.     ProcInternAtom(), ProcGetAtomName(), ProcChangeProperty(),
  35.     ProcDeleteProperty(), ProcGetProperty(), ProcListProperties(),
  36.     ProcSetSelectionOwner(), ProcGetSelectionOwner(), ProcConvertSelection(),
  37.     ProcSendEvent(), ProcGrabPointer(), ProcUngrabPointer(),
  38.     ProcGrabButton(), ProcUngrabButton(), ProcChangeActivePointerGrab(),
  39.     ProcGrabKeyboard(), ProcUngrabKeyboard(), ProcGrabKey(),
  40.     ProcUngrabKey(), ProcAllowEvents(), ProcGrabServer(),
  41.     ProcUngrabServer(), ProcQueryPointer(), ProcGetMotionEvents(),
  42.     ProcTranslateCoords(), ProcWarpPointer(), ProcSetInputFocus(),
  43.     ProcGetInputFocus(), ProcQueryKeymap(), ProcOpenFont(),
  44.     ProcCloseFont(), ProcQueryFont(), ProcQueryTextExtents(),
  45.     ProcListFonts(), ProcListFontsWithInfo(), ProcSetFontPath(),
  46.     ProcGetFontPath(), ProcCreatePixmap(), ProcFreePixmap(),
  47.     ProcCreateGC(), ProcChangeGC(), ProcCopyGC(),
  48.     ProcSetDashes(), ProcSetClipRectangles(), ProcFreeGC(),
  49.     ProcClearToBackground(), ProcCopyArea(), ProcCopyPlane(),
  50.     ProcPolyPoint(), ProcPolyLine(), ProcPolySegment(),
  51.     ProcPolyRectangle(), ProcPolyArc(), ProcFillPoly(),
  52.     ProcPolyFillRectangle(), ProcPolyFillArc(), ProcPutImage(),
  53.     ProcGetImage(), ProcPolyText(),
  54.     ProcImageText8(), ProcImageText16(), ProcCreateColormap(),
  55.     ProcFreeColormap(), ProcCopyColormapAndFree(), ProcInstallColormap(),
  56.     ProcUninstallColormap(), ProcListInstalledColormaps(), ProcAllocColor(),
  57.     ProcAllocNamedColor(), ProcAllocColorCells(), ProcAllocColorPlanes(),
  58.     ProcFreeColors(), ProcStoreColors(), ProcStoreNamedColor(),
  59.     ProcQueryColors(), ProcLookupColor(), ProcCreateCursor(),
  60.     ProcCreateGlyphCursor(), ProcFreeCursor(), ProcRecolorCursor(),
  61.     ProcQueryBestSize(), ProcQueryExtension(), ProcListExtensions(),
  62.     ProcChangeKeyboardMapping(), ProcSetPointerMapping(),
  63.     ProcGetKeyboardMapping(), ProcGetPointerMapping(),
  64.     ProcChangeKeyboardControl(),
  65.     ProcGetKeyboardControl(), ProcBell(), ProcChangePointerControl(),
  66.     ProcGetPointerControl(), ProcSetScreenSaver(), ProcGetScreenSaver(),
  67.     ProcChangeHosts(), ProcListHosts(), ProcChangeAccessControl(),
  68.     ProcChangeCloseDownMode(), ProcKillClient(),
  69.     ProcRotateProperties(), ProcForceScreenSaver(),
  70.     ProcSetModifierMapping(), ProcGetModifierMapping(),
  71.     ProcNoOperation();
  72.  
  73. extern int    SProcSProcBadRequest(), SProcCreateWindow(),
  74.     SProcChangeWindowAttributes(), 
  75.     SProcReparentWindow(), SProcConfigureWindow(),
  76.     SProcInternAtom(), SProcChangeProperty(),
  77.     SProcDeleteProperty(), SProcGetProperty(),
  78.     SProcSetSelectionOwner(),
  79.     SProcConvertSelection(),
  80.     SProcSendEvent(), SProcGrabPointer(),
  81.     SProcGrabButton(), SProcUngrabButton(), SProcChangeActivePointerGrab(),
  82.     SProcGrabKeyboard(), SProcGrabKey(),
  83.     SProcUngrabKey(), SProcGetMotionEvents(),
  84.     SProcTranslateCoords(), SProcWarpPointer(), SProcSetInputFocus(),
  85.     SProcOpenFont(),
  86.     SProcListFonts(), SProcListFontsWithInfo(), SProcSetFontPath(),
  87.     SProcCreatePixmap(),
  88.     SProcCreateGC(), SProcChangeGC(), SProcCopyGC(),
  89.     SProcSetDashes(), SProcSetClipRectangles(),
  90.     SProcClearToBackground(), SProcCopyArea(), SProcCopyPlane(),
  91.     SProcPoly(), SProcFillPoly(), SProcPutImage(),
  92.     SProcGetImage(), SProcPolyText(), 
  93.     SProcImageText(), SProcCreateColormap(),
  94.     SProcCopyColormapAndFree(), SProcAllocColor(),
  95.     SProcAllocNamedColor(), SProcAllocColorCells(), SProcAllocColorPlanes(),
  96.     SProcFreeColors(), SProcStoreColors(), SProcStoreNamedColor(),
  97.     SProcQueryColors(), SProcLookupColor(), SProcCreateCursor(),
  98.     SProcCreateGlyphCursor(), SProcRecolorCursor(),
  99.     SProcQueryBestSize(), SProcQueryExtension(),
  100.     SProcChangeKeyboardMapping(), SProcChangeKeyboardControl(),
  101.     SProcChangePointerControl(),
  102.     SProcSetScreenSaver(),
  103.     SProcChangeHosts(),
  104.     SProcRotateProperties(), 
  105.     SProcNoOperation(), SProcResourceReq(), SProcSimpleReq();
  106.  
  107. extern void 
  108.     SErrorEvent(), NotImplemented(), SKeyButtonPtrEvent(), SKeyButtonPtrEvent(),
  109.     SKeyButtonPtrEvent(), SKeyButtonPtrEvent(), SKeyButtonPtrEvent(),
  110.     SEnterLeaveEvent(), SEnterLeaveEvent(), SFocusEvent(),
  111.     SFocusEvent(), SKeymapNotifyEvent(), SExposeEvent(),
  112.     SGraphicsExposureEvent(), SNoExposureEvent(), SVisibilityEvent(),
  113.     SCreateNotifyEvent(), SDestroyNotifyEvent(), SUnmapNotifyEvent(),
  114.     SMapNotifyEvent(), SMapRequestEvent(), SReparentEvent(),
  115.     SConfigureNotifyEvent(), SConfigureRequestEvent(), SGravityEvent(),
  116.     SResizeRequestEvent(), SCirculateEvent(), SCirculateEvent(),
  117.     SPropertyEvent(), SSelectionClearEvent(), SSelectionRequestEvent(),
  118.     SSelectionNotifyEvent(), SColormapEvent(), SClientMessageEvent(), SMappingEvent();
  119.  
  120. extern void
  121.     SGetWindowAttributesReply(), SGetGeometryReply(), SQueryTreeReply(),
  122.     SInternAtomReply(), SGetAtomNameReply(), SGetPropertyReply(),
  123.     SListPropertiesReply(), 
  124.     SGetSelectionOwnerReply(),
  125.     SQueryPointerReply(), SGetMotionEventsReply(), STranslateCoordsReply(),
  126.     SGetInputFocusReply(), SQueryKeymapReply(), SQueryFontReply(),
  127.     SQueryTextExtentsReply(), SListFontsReply(), SListFontsWithInfoReply(),
  128.     SGetFontPathReply(), SGetImageReply(), SListInstalledColormapsReply(),
  129.     SAllocColorReply(), SAllocNamedColorReply(), SAllocColorCellsReply(),
  130.     SAllocColorPlanesReply(), SQueryColorsReply(), SLookupColorReply(),
  131.     SQueryBestSizeReply(), SListExtensionsReply(),
  132.     SGetKeyboardMappingReply(), SGetKeyboardControlReply(), 
  133.     SGetPointerControlReply(), SGetScreenSaverReply(), 
  134.     SListHostsReply(), SGetPointerMappingReply(),
  135.     SGetModifierMappingReply(), SGenericReply();
  136.  
  137. int (* InitialVector[3]) () =
  138. {
  139.     0,
  140.     ProcInitialConnection,
  141.     ProcEstablishConnection
  142. };
  143.  
  144. int (* ProcVector[256]) () =
  145. {
  146.     ProcBadRequest,
  147.     ProcCreateWindow,
  148.     ProcChangeWindowAttributes,
  149.     ProcGetWindowAttributes,
  150.     ProcDestroyWindow,
  151.     ProcDestroySubwindows,        /* 5 */
  152.     ProcChangeSaveSet,
  153.     ProcReparentWindow,
  154.     ProcMapWindow,
  155.     ProcMapSubwindows,
  156.     ProcUnmapWindow,            /* 10 */
  157.     ProcUnmapSubwindows,
  158.     ProcConfigureWindow,
  159.     ProcCirculateWindow,
  160.     ProcGetGeometry,
  161.     ProcQueryTree,            /* 15 */
  162.     ProcInternAtom,
  163.     ProcGetAtomName,
  164.     ProcChangeProperty,
  165.     ProcDeleteProperty,
  166.     ProcGetProperty,            /* 20 */
  167.     ProcListProperties,
  168.     ProcSetSelectionOwner,
  169.     ProcGetSelectionOwner,
  170.     ProcConvertSelection,
  171.     ProcSendEvent,            /* 25 */
  172.     ProcGrabPointer,
  173.     ProcUngrabPointer,
  174.     ProcGrabButton,
  175.     ProcUngrabButton,
  176.     ProcChangeActivePointerGrab,    /* 30 */
  177.     ProcGrabKeyboard,
  178.     ProcUngrabKeyboard,
  179.     ProcGrabKey,
  180.     ProcUngrabKey,
  181.     ProcAllowEvents,            /* 35 */
  182.     ProcGrabServer,
  183.     ProcUngrabServer,
  184.     ProcQueryPointer,
  185.     ProcGetMotionEvents,
  186.     ProcTranslateCoords,        /* 40 */
  187.     ProcWarpPointer,
  188.     ProcSetInputFocus,
  189.     ProcGetInputFocus,
  190.     ProcQueryKeymap,
  191.     ProcOpenFont,            /* 45 */
  192.     ProcCloseFont,
  193.     ProcQueryFont,
  194.     ProcQueryTextExtents,
  195.     ProcListFonts,
  196.     ProcListFontsWithInfo,        /* 50 */
  197.     ProcSetFontPath,
  198.     ProcGetFontPath,
  199.     ProcCreatePixmap,
  200.     ProcFreePixmap,
  201.     ProcCreateGC,            /* 55 */
  202.     ProcChangeGC,
  203.     ProcCopyGC,
  204.     ProcSetDashes,
  205.     ProcSetClipRectangles,
  206.     ProcFreeGC,                /* 60 */
  207.     ProcClearToBackground,
  208.     ProcCopyArea,
  209.     ProcCopyPlane,
  210.     ProcPolyPoint,
  211.     ProcPolyLine,            /* 65 */
  212.     ProcPolySegment,
  213.     ProcPolyRectangle,
  214.     ProcPolyArc,
  215.     ProcFillPoly,
  216.     ProcPolyFillRectangle,        /* 70 */
  217.     ProcPolyFillArc,
  218.     ProcPutImage,
  219.     ProcGetImage,
  220.     ProcPolyText,
  221.     ProcPolyText,            /* 75 */
  222.     ProcImageText8,
  223.     ProcImageText16,
  224.     ProcCreateColormap,
  225.     ProcFreeColormap,
  226.     ProcCopyColormapAndFree,        /* 80 */
  227.     ProcInstallColormap,
  228.     ProcUninstallColormap,
  229.     ProcListInstalledColormaps,
  230.     ProcAllocColor,
  231.     ProcAllocNamedColor,        /* 85 */
  232.     ProcAllocColorCells,
  233.     ProcAllocColorPlanes,
  234.     ProcFreeColors,
  235.     ProcStoreColors,
  236.     ProcStoreNamedColor,        /* 90 */
  237.     ProcQueryColors,
  238.     ProcLookupColor,
  239.     ProcCreateCursor,
  240.     ProcCreateGlyphCursor,
  241.     ProcFreeCursor,            /* 95 */
  242.     ProcRecolorCursor,
  243.     ProcQueryBestSize,
  244.     ProcQueryExtension,
  245.     ProcListExtensions,
  246.     ProcChangeKeyboardMapping,        /* 100 */
  247.     ProcGetKeyboardMapping,
  248.     ProcChangeKeyboardControl,
  249.     ProcGetKeyboardControl,
  250.     ProcBell,
  251.     ProcChangePointerControl,        /* 105 */
  252.     ProcGetPointerControl,
  253.     ProcSetScreenSaver,
  254.     ProcGetScreenSaver,
  255.     ProcChangeHosts,
  256.     ProcListHosts,            /* 110 */
  257.     ProcChangeAccessControl,
  258.     ProcChangeCloseDownMode,
  259.     ProcKillClient,
  260.     ProcRotateProperties,
  261.     ProcForceScreenSaver,        /* 115 */
  262.     ProcSetPointerMapping,
  263.     ProcGetPointerMapping,
  264.     ProcSetModifierMapping,
  265.     ProcGetModifierMapping,
  266.     0,                    /* 120 */
  267.     0,
  268.     0,
  269.     0,
  270.     0,
  271.     0,                    /* 125 */
  272.     0,
  273.     ProcNoOperation    
  274. };
  275.  
  276. int (* SwappedProcVector[256]) () =
  277. {
  278.     ProcBadRequest,
  279.     SProcCreateWindow,
  280.     SProcChangeWindowAttributes,
  281.     SProcResourceReq,            /* GetWindowAttributes */
  282.     SProcResourceReq,            /* DestroyWindow */
  283.     SProcResourceReq,            /* 5 DestroySubwindows */
  284.     SProcResourceReq,            /* SProcChangeSaveSet, */
  285.     SProcReparentWindow,
  286.     SProcResourceReq,            /* MapWindow */
  287.     SProcResourceReq,            /* MapSubwindows */
  288.     SProcResourceReq,            /* 10 UnmapWindow */
  289.     SProcResourceReq,            /* UnmapSubwindows */
  290.     SProcConfigureWindow,
  291.     SProcResourceReq,            /* SProcCirculateWindow, */
  292.     SProcResourceReq,            /* GetGeometry */
  293.     SProcResourceReq,            /* 15 QueryTree */
  294.     SProcInternAtom,
  295.     SProcResourceReq,            /* SProcGetAtomName, */
  296.     SProcChangeProperty,
  297.     SProcDeleteProperty,
  298.     SProcGetProperty,            /* 20 */
  299.     SProcResourceReq,            /* SProcListProperties, */
  300.     SProcSetSelectionOwner,
  301.     SProcResourceReq,             /* SProcGetSelectionOwner, */
  302.     SProcConvertSelection,
  303.     SProcSendEvent,            /* 25 */
  304.     SProcGrabPointer,
  305.     SProcResourceReq,             /* SProcUngrabPointer, */
  306.     SProcGrabButton,
  307.     SProcUngrabButton,
  308.     SProcChangeActivePointerGrab,    /* 30 */
  309.     SProcGrabKeyboard,
  310.     SProcResourceReq,            /* SProcUngrabKeyboard, */
  311.     SProcGrabKey,
  312.     SProcUngrabKey,
  313.     SProcResourceReq,            /* 35 SProcAllowEvents, */
  314.     SProcSimpleReq,            /* SProcGrabServer, */
  315.     SProcSimpleReq,            /* SProcUngrabServer, */
  316.     SProcResourceReq,            /* SProcQueryPointer, */
  317.     SProcGetMotionEvents,
  318.     SProcTranslateCoords,        /*40 */
  319.     SProcWarpPointer,
  320.     SProcSetInputFocus,
  321.     SProcSimpleReq,            /* SProcGetInputFocus, */
  322.     SProcSimpleReq,            /* QueryKeymap, */
  323.     SProcOpenFont,            /* 45 */
  324.     SProcResourceReq,            /* SProcCloseFont, */
  325.     SProcResourceReq,             /* SProcQueryFont, */
  326.     SProcResourceReq,            /* SProcQueryTextExtents,  */
  327.     SProcListFonts,
  328.     SProcListFontsWithInfo,        /* 50 */
  329.     SProcSetFontPath,
  330.     SProcSimpleReq,            /* GetFontPath, */
  331.     SProcCreatePixmap,
  332.     SProcResourceReq,            /* SProcFreePixmap, */
  333.     SProcCreateGC,            /* 55 */
  334.     SProcChangeGC,
  335.     SProcCopyGC,
  336.     SProcSetDashes,
  337.     SProcSetClipRectangles,
  338.     SProcResourceReq,            /* 60 SProcFreeGC, */
  339.     SProcClearToBackground,
  340.     SProcCopyArea,
  341.     SProcCopyPlane,
  342.     SProcPoly,                /* PolyPoint, */
  343.     SProcPoly,                /* 65 PolyLine */
  344.     SProcPoly,                /* PolySegment, */
  345.     SProcPoly,                /* PolyRectangle, */
  346.     SProcPoly,                /* PolyArc, */
  347.     SProcFillPoly,
  348.     SProcPoly,                /* 70 PolyFillRectangle */
  349.     SProcPoly,                /* PolyFillArc, */
  350.     SProcPutImage,
  351.     SProcGetImage,
  352.     SProcPolyText,
  353.     SProcPolyText,            /* 75 */
  354.     SProcImageText,
  355.     SProcImageText,
  356.     SProcCreateColormap,
  357.     SProcResourceReq,            /* SProcFreeColormap, */
  358.     SProcCopyColormapAndFree,        /* 80 */
  359.     SProcResourceReq,            /* SProcInstallColormap, */
  360.     SProcResourceReq,            /* SProcUninstallColormap, */
  361.     SProcResourceReq,             /* SProcListInstalledColormaps, */
  362.     SProcAllocColor,
  363.     SProcAllocNamedColor,        /* 85 */
  364.     SProcAllocColorCells,
  365.     SProcAllocColorPlanes,
  366.     SProcFreeColors,
  367.     SProcStoreColors,
  368.     SProcStoreNamedColor,        /* 90 */
  369.     SProcQueryColors,
  370.     SProcLookupColor,
  371.     SProcCreateCursor,
  372.     SProcCreateGlyphCursor,
  373.     SProcResourceReq,            /* 95 SProcFreeCursor, */
  374.     SProcRecolorCursor,
  375.     SProcQueryBestSize,
  376.     SProcQueryExtension,
  377.     SProcSimpleReq,            /* ListExtensions, */
  378.     SProcChangeKeyboardMapping,        /* 100 */
  379.     SProcSimpleReq,            /* GetKeyboardMapping, */
  380.     SProcChangeKeyboardControl,
  381.     SProcSimpleReq,            /* GetKeyboardControl, */
  382.     SProcSimpleReq,            /* Bell, */
  383.     SProcChangePointerControl,        /* 105 */
  384.     SProcSimpleReq,            /* GetPointerControl, */
  385.     SProcSetScreenSaver,
  386.     SProcSimpleReq,            /* GetScreenSaver, */
  387.     SProcChangeHosts,
  388.     SProcSimpleReq,            /* 110 ListHosts, */
  389.     SProcSimpleReq,            /* SProcChangeAccessControl, */
  390.     SProcSimpleReq,            /* SProcChangeCloseDownMode, */
  391.     SProcResourceReq,            /* SProcKillClient, */
  392.     SProcRotateProperties,
  393.     SProcSimpleReq,            /* 115 ForceScreenSaver */
  394.     SProcSimpleReq,            /* SetPointerMapping, */
  395.     SProcSimpleReq,            /* GetPointerMapping, */
  396.     SProcSimpleReq,            /* SetModifierMapping, */
  397.     SProcSimpleReq,            /* GetModifierMapping, */
  398.     0,                    /* 120 */
  399.     0,
  400.     0,
  401.     0,
  402.     0,
  403.     0,                    /* 125 */
  404.     0,
  405.     SProcNoOperation
  406. };
  407.  
  408. void (* EventSwapVector[128]) () =
  409. {
  410.     SErrorEvent,
  411.     NotImplemented,
  412.     SKeyButtonPtrEvent,
  413.     SKeyButtonPtrEvent,
  414.     SKeyButtonPtrEvent,
  415.     SKeyButtonPtrEvent,            /* 5 */
  416.     SKeyButtonPtrEvent,
  417.     SEnterLeaveEvent,
  418.     SEnterLeaveEvent,
  419.     SFocusEvent,
  420.     SFocusEvent,            /* 10 */
  421.     SKeymapNotifyEvent,
  422.     SExposeEvent,
  423.     SGraphicsExposureEvent,
  424.     SNoExposureEvent,
  425.     SVisibilityEvent,            /* 15 */
  426.     SCreateNotifyEvent,
  427.     SDestroyNotifyEvent,
  428.     SUnmapNotifyEvent,
  429.     SMapNotifyEvent,
  430.     SMapRequestEvent,            /* 20 */
  431.     SReparentEvent,
  432.     SConfigureNotifyEvent,
  433.     SConfigureRequestEvent,
  434.     SGravityEvent,
  435.     SResizeRequestEvent,        /* 25 */
  436.     SCirculateEvent,
  437.     SCirculateEvent,
  438.     SPropertyEvent,
  439.     SSelectionClearEvent,
  440.     SSelectionRequestEvent,        /* 30 */
  441.     SSelectionNotifyEvent,
  442.     SColormapEvent,
  443.     SClientMessageEvent,
  444.     SMappingEvent,
  445. };
  446.  
  447.  
  448. void (* ReplySwapVector[256]) () =
  449. {
  450.     NotImplemented,
  451.     NotImplemented,
  452.     NotImplemented,
  453.     SGetWindowAttributesReply,
  454.     NotImplemented,
  455.     NotImplemented,            /* 5 */
  456.     NotImplemented,
  457.     NotImplemented,
  458.     NotImplemented,
  459.     NotImplemented,
  460.     NotImplemented,            /* 10 */
  461.     NotImplemented,
  462.     NotImplemented,
  463.     NotImplemented,
  464.     SGetGeometryReply,
  465.     SQueryTreeReply,            /* 15 */
  466.     SInternAtomReply,
  467.     SGetAtomNameReply,
  468.     NotImplemented,
  469.     NotImplemented,
  470.     SGetPropertyReply,            /* 20 */
  471.     SListPropertiesReply,
  472.     NotImplemented,
  473.     SGetSelectionOwnerReply,
  474.     NotImplemented,
  475.     NotImplemented,            /* 25 */
  476.     SGenericReply,            /* SGrabPointerReply, */
  477.     NotImplemented,
  478.     NotImplemented,
  479.     NotImplemented,
  480.     NotImplemented,            /* 30 */
  481.     SGenericReply,            /* SGrabKeyboardReply, */
  482.     NotImplemented,
  483.     NotImplemented,
  484.     NotImplemented,
  485.     NotImplemented,            /* 35 */
  486.     NotImplemented,
  487.     NotImplemented,
  488.     SQueryPointerReply,
  489.     SGetMotionEventsReply,
  490.     STranslateCoordsReply,        /* 40 */
  491.     NotImplemented,
  492.     NotImplemented,
  493.     SGetInputFocusReply,
  494.     SQueryKeymapReply,
  495.     NotImplemented,            /* 45 */
  496.     NotImplemented,
  497.     SQueryFontReply,
  498.     SQueryTextExtentsReply,
  499.     SListFontsReply,
  500.     SListFontsWithInfoReply,        /* 50 */
  501.     NotImplemented,
  502.     SGetFontPathReply,
  503.     NotImplemented,
  504.     NotImplemented,
  505.     NotImplemented,            /* 55 */
  506.     NotImplemented,
  507.     NotImplemented,
  508.     NotImplemented,
  509.     NotImplemented,
  510.     NotImplemented,            /* 60 */
  511.     NotImplemented,
  512.     NotImplemented,
  513.     NotImplemented,
  514.     NotImplemented,
  515.     NotImplemented,            /* 65 */
  516.     NotImplemented,
  517.     NotImplemented,
  518.     NotImplemented,
  519.     NotImplemented,
  520.     NotImplemented,            /* 70 */
  521.     NotImplemented,
  522.     NotImplemented,
  523.     SGetImageReply,
  524.     NotImplemented,
  525.     NotImplemented,            /* 75 */
  526.     NotImplemented,
  527.     NotImplemented,
  528.     NotImplemented,
  529.     NotImplemented,
  530.     NotImplemented,            /* 80 */
  531.     NotImplemented,
  532.     NotImplemented,
  533.     SListInstalledColormapsReply,
  534.     SAllocColorReply,
  535.     SAllocNamedColorReply,        /* 85 */
  536.     SAllocColorCellsReply,
  537.     SAllocColorPlanesReply,
  538.     NotImplemented,
  539.     NotImplemented,
  540.     NotImplemented,            /* 90 */
  541.     SQueryColorsReply,
  542.     SLookupColorReply,
  543.     NotImplemented,
  544.     NotImplemented,
  545.     NotImplemented,            /* 95 */
  546.     NotImplemented,
  547.     SQueryBestSizeReply,
  548.     SGenericReply,            /* SQueryExtensionReply, */
  549.     SListExtensionsReply,
  550.     NotImplemented,            /* 100 */
  551.     SGetKeyboardMappingReply,
  552.     NotImplemented,
  553.     SGetKeyboardControlReply,
  554.     NotImplemented,
  555.     NotImplemented,            /* 105 */
  556.     SGetPointerControlReply,
  557.     NotImplemented,
  558.     SGetScreenSaverReply,
  559.     NotImplemented,
  560.     SListHostsReply,            /* 110 */
  561.     NotImplemented,
  562.     NotImplemented,
  563.     NotImplemented,
  564.     NotImplemented,
  565.     NotImplemented,            /* 115 */
  566.     SGenericReply,            /* SetPointerMapping */
  567.     SGetPointerMappingReply,
  568.     SGenericReply,            /* SetModifierMapping */
  569.     SGetModifierMappingReply,        /* 119 */
  570.     NotImplemented,            /* 120 */
  571.     NotImplemented,            /* 121 */
  572.     NotImplemented,            /* 122 */
  573.     NotImplemented,            /* 123 */
  574.     NotImplemented,            /* 124 */
  575.     NotImplemented,            /* 125 */
  576.     NotImplemented,            /* 126 */
  577.     NotImplemented,            /* NoOperation */
  578.     NotImplemented
  579. };
  580.