#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#include <X11/X.h>
#define NEED_EVENTS
#define NEED_REPLIES
#include <X11/Xproto.h>
#include "windowstr.h"
#include "extnsionst.h"
#include "dixstruct.h"
#include "dixevents.h"
#include "dispatch.h"
#include "swaprep.h"
#include "swapreq.h"
#ifdef K5AUTH
extern int
k5_stage1(), k5_stage2(), k5_stage3(), k5_bad();
#endif
int (* InitialVector[3]) (
ClientPtr
) =
{
0,
ProcInitialConnection,
ProcEstablishConnection
};
_X_EXPORT int (* ProcVector[256]) (
ClientPtr
) =
{
ProcBadRequest,
ProcCreateWindow,
ProcChangeWindowAttributes,
ProcGetWindowAttributes,
ProcDestroyWindow,
ProcDestroySubwindows,
ProcChangeSaveSet,
ProcReparentWindow,
ProcMapWindow,
ProcMapSubwindows,
ProcUnmapWindow,
ProcUnmapSubwindows,
ProcConfigureWindow,
ProcCirculateWindow,
ProcGetGeometry,
ProcQueryTree,
ProcInternAtom,
ProcGetAtomName,
ProcChangeProperty,
ProcDeleteProperty,
ProcGetProperty,
ProcListProperties,
ProcSetSelectionOwner,
ProcGetSelectionOwner,
ProcConvertSelection,
ProcSendEvent,
ProcGrabPointer,
ProcUngrabPointer,
ProcGrabButton,
ProcUngrabButton,
ProcChangeActivePointerGrab,
ProcGrabKeyboard,
ProcUngrabKeyboard,
ProcGrabKey,
ProcUngrabKey,
ProcAllowEvents,
ProcGrabServer,
ProcUngrabServer,
ProcQueryPointer,
ProcGetMotionEvents,
ProcTranslateCoords,
ProcWarpPointer,
ProcSetInputFocus,
ProcGetInputFocus,
ProcQueryKeymap,
ProcOpenFont,
ProcCloseFont,
ProcQueryFont,
ProcQueryTextExtents,
ProcListFonts,
ProcListFontsWithInfo,
ProcSetFontPath,
ProcGetFontPath,
ProcCreatePixmap,
ProcFreePixmap,
ProcCreateGC,
ProcChangeGC,
ProcCopyGC,
ProcSetDashes,
ProcSetClipRectangles,
ProcFreeGC,
ProcClearToBackground,
ProcCopyArea,
ProcCopyPlane,
ProcPolyPoint,
ProcPolyLine,
ProcPolySegment,
ProcPolyRectangle,
ProcPolyArc,
ProcFillPoly,
ProcPolyFillRectangle,
ProcPolyFillArc,
ProcPutImage,
ProcGetImage,
ProcPolyText,
ProcPolyText,
ProcImageText8,
ProcImageText16,
ProcCreateColormap,
ProcFreeColormap,
ProcCopyColormapAndFree,
ProcInstallColormap,
ProcUninstallColormap,
ProcListInstalledColormaps,
ProcAllocColor,
ProcAllocNamedColor,
ProcAllocColorCells,
ProcAllocColorPlanes,
ProcFreeColors,
ProcStoreColors,
ProcStoreNamedColor,
ProcQueryColors,
ProcLookupColor,
ProcCreateCursor,
ProcCreateGlyphCursor,
ProcFreeCursor,
ProcRecolorCursor,
ProcQueryBestSize,
ProcQueryExtension,
ProcListExtensions,
ProcChangeKeyboardMapping,
ProcGetKeyboardMapping,
ProcChangeKeyboardControl,
ProcGetKeyboardControl,
ProcBell,
ProcChangePointerControl,
ProcGetPointerControl,
ProcSetScreenSaver,
ProcGetScreenSaver,
ProcChangeHosts,
ProcListHosts,
ProcChangeAccessControl,
ProcChangeCloseDownMode,
ProcKillClient,
ProcRotateProperties,
ProcForceScreenSaver,
ProcSetPointerMapping,
ProcGetPointerMapping,
ProcSetModifierMapping,
ProcGetModifierMapping,
0,
0,
0,
0,
0,
0,
0,
ProcNoOperation
};
int (* SwappedProcVector[256]) (
ClientPtr
) =
{
ProcBadRequest,
SProcCreateWindow,
SProcChangeWindowAttributes,
SProcResourceReq,
SProcResourceReq,
SProcResourceReq,
SProcResourceReq,
SProcReparentWindow,
SProcResourceReq,
SProcResourceReq,
SProcResourceReq,
SProcResourceReq,
SProcConfigureWindow,
SProcResourceReq,
SProcResourceReq,
SProcResourceReq,
SProcInternAtom,
SProcResourceReq,
SProcChangeProperty,
SProcDeleteProperty,
SProcGetProperty,
SProcResourceReq,
SProcSetSelectionOwner,
SProcResourceReq,
SProcConvertSelection,
SProcSendEvent,
SProcGrabPointer,
SProcResourceReq,
SProcGrabButton,
SProcUngrabButton,
SProcChangeActivePointerGrab,
SProcGrabKeyboard,
SProcResourceReq,
SProcGrabKey,
SProcUngrabKey,
SProcResourceReq,
SProcSimpleReq,
SProcSimpleReq,
SProcResourceReq,
SProcGetMotionEvents,
SProcTranslateCoords,
SProcWarpPointer,
SProcSetInputFocus,
SProcSimpleReq,
SProcSimpleReq,
SProcOpenFont,
SProcResourceReq,
SProcResourceReq,
SProcResourceReq,
SProcListFonts,
SProcListFontsWithInfo,
SProcSetFontPath,
SProcSimpleReq,
SProcCreatePixmap,
SProcResourceReq,
SProcCreateGC,
SProcChangeGC,
SProcCopyGC,
SProcSetDashes,
SProcSetClipRectangles,
SProcResourceReq,
SProcClearToBackground,
SProcCopyArea,
SProcCopyPlane,
SProcPoly,
SProcPoly,
SProcPoly,
SProcPoly,
SProcPoly,
SProcFillPoly,
SProcPoly,
SProcPoly,
SProcPutImage,
SProcGetImage,
SProcPolyText,
SProcPolyText,
SProcImageText,
SProcImageText,
SProcCreateColormap,
SProcResourceReq,
SProcCopyColormapAndFree,
SProcResourceReq,
SProcResourceReq,
SProcResourceReq,
SProcAllocColor,
SProcAllocNamedColor,
SProcAllocColorCells,
SProcAllocColorPlanes,
SProcFreeColors,
SProcStoreColors,
SProcStoreNamedColor,
SProcQueryColors,
SProcLookupColor,
SProcCreateCursor,
SProcCreateGlyphCursor,
SProcResourceReq,
SProcRecolorCursor,
SProcQueryBestSize,
SProcQueryExtension,
SProcSimpleReq,
SProcChangeKeyboardMapping,
SProcSimpleReq,
SProcChangeKeyboardControl,
SProcSimpleReq,
SProcSimpleReq,
SProcChangePointerControl,
SProcSimpleReq,
SProcSetScreenSaver,
SProcSimpleReq,
SProcChangeHosts,
SProcSimpleReq,
SProcSimpleReq,
SProcSimpleReq,
SProcResourceReq,
SProcRotateProperties,
SProcSimpleReq,
SProcSimpleReq,
SProcSimpleReq,
SProcSimpleReq,
SProcSimpleReq,
0,
0,
0,
0,
0,
0,
0,
SProcNoOperation
};
_X_EXPORT EventSwapPtr EventSwapVector[128] =
{
(EventSwapPtr)SErrorEvent,
NotImplemented,
SKeyButtonPtrEvent,
SKeyButtonPtrEvent,
SKeyButtonPtrEvent,
SKeyButtonPtrEvent,
SKeyButtonPtrEvent,
SEnterLeaveEvent,
SEnterLeaveEvent,
SFocusEvent,
SFocusEvent,
SKeymapNotifyEvent,
SExposeEvent,
SGraphicsExposureEvent,
SNoExposureEvent,
SVisibilityEvent,
SCreateNotifyEvent,
SDestroyNotifyEvent,
SUnmapNotifyEvent,
SMapNotifyEvent,
SMapRequestEvent,
SReparentEvent,
SConfigureNotifyEvent,
SConfigureRequestEvent,
SGravityEvent,
SResizeRequestEvent,
SCirculateEvent,
SCirculateEvent,
SPropertyEvent,
SSelectionClearEvent,
SSelectionRequestEvent,
SSelectionNotifyEvent,
SColormapEvent,
SClientMessageEvent,
SMappingEvent,
};
_X_EXPORT ReplySwapPtr ReplySwapVector[256] =
{
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
(ReplySwapPtr)SGetWindowAttributesReply,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
(ReplySwapPtr)SGetGeometryReply,
(ReplySwapPtr)SQueryTreeReply,
(ReplySwapPtr)SInternAtomReply,
(ReplySwapPtr)SGetAtomNameReply,
ReplyNotSwappd,
ReplyNotSwappd,
(ReplySwapPtr)SGetPropertyReply,
(ReplySwapPtr)SListPropertiesReply,
ReplyNotSwappd,
(ReplySwapPtr)SGetSelectionOwnerReply,
ReplyNotSwappd,
ReplyNotSwappd,
(ReplySwapPtr)SGenericReply,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
(ReplySwapPtr)SGenericReply,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
(ReplySwapPtr)SQueryPointerReply,
(ReplySwapPtr)SGetMotionEventsReply,
(ReplySwapPtr)STranslateCoordsReply,
ReplyNotSwappd,
ReplyNotSwappd,
(ReplySwapPtr)SGetInputFocusReply,
(ReplySwapPtr)SQueryKeymapReply,
ReplyNotSwappd,
ReplyNotSwappd,
(ReplySwapPtr)SQueryFontReply,
(ReplySwapPtr)SQueryTextExtentsReply,
(ReplySwapPtr)SListFontsReply,
(ReplySwapPtr)SListFontsWithInfoReply,
ReplyNotSwappd,
(ReplySwapPtr)SGetFontPathReply,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
(ReplySwapPtr)SGetImageReply,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
(ReplySwapPtr)SListInstalledColormapsReply,
(ReplySwapPtr)SAllocColorReply,
(ReplySwapPtr)SAllocNamedColorReply,
(ReplySwapPtr)SAllocColorCellsReply,
(ReplySwapPtr)SAllocColorPlanesReply,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
(ReplySwapPtr)SQueryColorsReply,
(ReplySwapPtr)SLookupColorReply,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
(ReplySwapPtr)SQueryBestSizeReply,
(ReplySwapPtr)SGenericReply,
(ReplySwapPtr)SListExtensionsReply,
ReplyNotSwappd,
(ReplySwapPtr)SGetKeyboardMappingReply,
ReplyNotSwappd,
(ReplySwapPtr)SGetKeyboardControlReply,
ReplyNotSwappd,
ReplyNotSwappd,
(ReplySwapPtr)SGetPointerControlReply,
ReplyNotSwappd,
(ReplySwapPtr)SGetScreenSaverReply,
ReplyNotSwappd,
(ReplySwapPtr)SListHostsReply,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
(ReplySwapPtr)SGenericReply,
(ReplySwapPtr)SGetPointerMappingReply,
(ReplySwapPtr)SGenericReply,
(ReplySwapPtr)SGetModifierMappingReply,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd,
ReplyNotSwappd
};
#ifdef K5AUTH
int (*k5_Vector[256])() =
{
k5_bad,
k5_stage1,
k5_bad,
k5_stage3
};
#endif