unit xproto;
{$mode delphi}
interface
uses x, xmd;
const
  sz_xSegment = 8;
  sz_xPoint = 4;
  sz_xRectangle = 8;
  sz_xArc = 12;
  sz_xConnClientPrefix = 12;
  sz_xConnSetupPrefix = 8;
  sz_xConnSetup = 32;
  sz_xPixmapFormat = 8;
  sz_xDepth = 8;
  sz_xVisualType = 24;
  sz_xWindowRoot = 40;
  sz_xTimecoord = 8;
  sz_xHostEntry = 4;
  sz_xCharInfo = 12;
  sz_xFontProp = 8;
  sz_xTextElt = 2;
  sz_xColorItem = 12;
  sz_xrgb = 8;
  sz_xGenericReply = 32;
  sz_xGetWindowAttributesReply = 44;
  sz_xGetGeometryReply = 32;
  sz_xQueryTreeReply = 32;
  sz_xInternAtomReply = 32;
  sz_xGetAtomNameReply = 32;
  sz_xGetPropertyReply = 32;
  sz_xListPropertiesReply = 32;
  sz_xGetSelectionOwnerReply = 32;
  sz_xGrabPointerReply = 32;
  sz_xQueryPointerReply = 32;
  sz_xGetMotionEventsReply = 32;
  sz_xTranslateCoordsReply = 32;
  sz_xGetInputFocusReply = 32;
  sz_xQueryKeymapReply = 40;
  sz_xQueryFontReply = 60;
  sz_xQueryTextExtentsReply = 32;
  sz_xListFontsReply = 32;
  sz_xGetFontPathReply = 32;
  sz_xGetImageReply = 32;
  sz_xListInstalledColormapsReply = 32;
  sz_xAllocColorReply = 32;
  sz_xAllocNamedColorReply = 32;
  sz_xAllocColorCellsReply = 32;
  sz_xAllocColorPlanesReply = 32;
  sz_xQueryColorsReply = 32;
  sz_xLookupColorReply = 32;
  sz_xQueryBestSizeReply = 32;
  sz_xQueryExtensionReply = 32;
  sz_xListExtensionsReply = 32;
  sz_xSetMappingReply = 32;
  sz_xGetKeyboardControlReply = 52;
  sz_xGetPointerControlReply = 32;
  sz_xGetScreenSaverReply = 32;
  sz_xListHostsReply = 32;
  sz_xSetModifierMappingReply = 32;
  sz_xError = 32;
  sz_xEvent = 32;
  sz_xKeymapEvent = 32;
  sz_xReq = 4;
  sz_xResourceReq = 8;
  sz_xCreateWindowReq = 32;
  sz_xChangeWindowAttributesReq = 12;
  sz_xChangeSaveSetReq = 8;
  sz_xReparentWindowReq = 16;
  sz_xConfigureWindowReq = 12;
  sz_xCirculateWindowReq = 8;
  sz_xInternAtomReq = 8;
  sz_xChangePropertyReq = 24;
  sz_xDeletePropertyReq = 12;
  sz_xGetPropertyReq = 24;
  sz_xSetSelectionOwnerReq = 16;
  sz_xConvertSelectionReq = 24;
  sz_xSendEventReq = 44;
  sz_xGrabPointerReq = 24;
  sz_xGrabButtonReq = 24;
  sz_xUngrabButtonReq = 12;
  sz_xChangeActivePointerGrabReq = 16;
  sz_xGrabKeyboardReq = 16;
  sz_xGrabKeyReq = 16;
  sz_xUngrabKeyReq = 12;
  sz_xAllowEventsReq = 8;
  sz_xGetMotionEventsReq = 16;
  sz_xTranslateCoordsReq = 16;
  sz_xWarpPointerReq = 24;
  sz_xSetInputFocusReq = 12;
  sz_xOpenFontReq = 12;
  sz_xQueryTextExtentsReq = 8;
  sz_xListFontsReq = 8;
  sz_xSetFontPathReq = 8;
  sz_xCreatePixmapReq = 16;
  sz_xCreateGCReq = 16;
  sz_xChangeGCReq = 12;
  sz_xCopyGCReq = 16;
  sz_xSetDashesReq = 12;
  sz_xSetClipRectanglesReq = 12;
  sz_xCopyAreaReq = 28;
  sz_xCopyPlaneReq = 32;
  sz_xPolyPointReq = 12;
  sz_xPolySegmentReq = 12;
  sz_xFillPolyReq = 16;
  sz_xPutImageReq = 24;
  sz_xGetImageReq = 20;
  sz_xPolyTextReq = 16;
  sz_xImageTextReq = 16;
  sz_xCreateColormapReq = 16;
  sz_xCopyColormapAndFreeReq = 12;
  sz_xAllocColorReq = 16;
  sz_xAllocNamedColorReq = 12;
  sz_xAllocColorCellsReq = 12;
  sz_xAllocColorPlanesReq = 16;
  sz_xFreeColorsReq = 12;
  sz_xStoreColorsReq = 8;
  sz_xStoreNamedColorReq = 16;
  sz_xQueryColorsReq = 8;
  sz_xLookupColorReq = 12;
  sz_xCreateCursorReq = 32;
  sz_xCreateGlyphCursorReq = 32;
  sz_xRecolorCursorReq = 20;
  sz_xQueryBestSizeReq = 12;
  sz_xQueryExtensionReq = 8;
  sz_xChangeKeyboardControlReq = 8;
  sz_xBellReq = 4;
  sz_xChangePointerControlReq = 12;
  sz_xSetScreenSaverReq = 12;
  sz_xChangeHostsReq = 8;
  sz_xListHostsReq = 4;
  sz_xChangeModeReq = 4;
  sz_xRotatePropertiesReq = 12;
  sz_xReply = 32;
  sz_xGrabKeyboardReply = 32;
  sz_xListFontsWithInfoReply = 60;
  sz_xSetPointerMappingReply = 32;
  sz_xGetKeyboardMappingReply = 32;
  sz_xGetPointerMappingReply = 32;
  sz_xGetModifierMappingReply = 32;
  sz_xListFontsWithInfoReq = 8;
  sz_xPolyLineReq = 12;
  sz_xPolyArcReq = 12;
  sz_xPolyRectangleReq = 12;
  sz_xPolyFillRectangleReq = 12;
  sz_xPolyFillArcReq = 12;
  sz_xPolyText8Req = 16;
  sz_xPolyText16Req = 16;
  sz_xImageText8Req = 16;
  sz_xImageText16Req = 16;
  sz_xSetPointerMappingReq = 4;
  sz_xForceScreenSaverReq = 4;
  sz_xSetCloseDownModeReq = 4;
  sz_xClearAreaReq = 16;
  sz_xSetAccessControlReq = 4;
  sz_xGetKeyboardMappingReq = 8;
  sz_xSetModifierMappingReq = 4;
  sz_xPropIconSize = 24;
  sz_xChangeKeyboardMappingReq = 8;
  xTrue        = 1;
  xFalse       = 0;
  X_Reply		= 1;		
  X_Error		= 0;		
  X_CreateWindow               =   1;
  X_ChangeWindowAttributes     =   2;
  X_GetWindowAttributes        =   3;
  X_DestroyWindow              =   4;
  X_DestroySubwindows          =   5;
  X_ChangeSaveSet              =   6;
  X_ReparentWindow             =   7;
  X_MapWindow                  =   8;
  X_MapSubwindows              =   9;
  X_UnmapWindow                =  10;
  X_UnmapSubwindows            =  11;
  X_ConfigureWindow            =  12;
  X_CirculateWindow            =  13;
  X_GetGeometry                =  14;
  X_QueryTree                  =  15;
  X_InternAtom                 =  16;
  X_GetAtomName                =  17;
  X_ChangeProperty             =  18;
  X_DeleteProperty             =  19;
  X_GetProperty                =  20;
  X_ListProperties             =  21;
  X_SetSelectionOwner          =  22;
  X_GetSelectionOwner          =  23;
  X_ConvertSelection           =  24;
  X_SendEvent                  =  25;
  X_GrabPointer                =  26;
  X_UngrabPointer              =  27;
  X_GrabButton                 =  28;
  X_UngrabButton               =  29;
  X_ChangeActivePointerGrab    =  30;
  X_GrabKeyboard               =  31;
  X_UngrabKeyboard             =  32;
  X_GrabKey                    =  33;
  X_UngrabKey                  =  34;
  X_AllowEvents                =  35;
  X_GrabServer                 =  36;
  X_UngrabServer               =  37;
  X_QueryPointer               =  38;
  X_GetMotionEvents            =  39;
  X_TranslateCoords            =  40;
  X_WarpPointer                =  41;
  X_SetInputFocus              =  42;
  X_GetInputFocus              =  43;
  X_QueryKeymap                =  44;
  X_OpenFont                   =  45;
  X_CloseFont                  =  46;
  X_QueryFont                  =  47;
  X_QueryTextExtents           =  48;
  X_ListFonts                  =  49;
  X_ListFontsWithInfo          =  50;
  X_SetFontPath                =  51;
  X_GetFontPath                =  52;
  X_CreatePixmap               =  53;
  X_FreePixmap                 =  54;
  X_CreateGC                   =  55;
  X_ChangeGC                   =  56;
  X_CopyGC                     =  57;
  X_SetDashes                  =  58;
  X_SetClipRectangles          =  59;
  X_FreeGC                     =  60;
  X_ClearArea                  =  61;
  X_CopyArea                   =  62;
  X_CopyPlane                  =  63;
  X_PolyPoint                  =  64;
  X_PolyLine                   =  65;
  X_PolySegment                =  66;
  X_PolyRectangle              =  67;
  X_PolyArc                    =  68;
  X_FillPoly                   =  69;
  X_PolyFillRectangle          =  70;
  X_PolyFillArc                =  71;
  X_PutImage                   =  72;
  X_GetImage                   =  73;
  X_PolyText8                  =  74;
  X_PolyText16                 =  75;
  X_ImageText8                 =  76;
  X_ImageText16                =  77;
  X_CreateColormap             =  78;
  X_FreeColormap               =  79;
  X_CopyColormapAndFree        =  80;
  X_InstallColormap            =  81;
  X_UninstallColormap          =  82;
  X_ListInstalledColormaps     =  83;
  X_AllocColor                 =  84;
  X_AllocNamedColor            =  85;
  X_AllocColorCells            =  86;
  X_AllocColorPlanes           =  87;
  X_FreeColors                 =  88;
  X_StoreColors                =  89;
  X_StoreNamedColor            =  90;
  X_QueryColors                =  91;
  X_LookupColor                =  92;
  X_CreateCursor               =  93;
  X_CreateGlyphCursor          =  94;
  X_FreeCursor                 =  95;
  X_RecolorCursor              =  96;
  X_QueryBestSize              =  97;
  X_QueryExtension             =  98;
  X_ListExtensions             =  99;
  X_ChangeKeyboardMapping      = 100;
  X_GetKeyboardMapping         = 101;
  X_ChangeKeyboardControl      = 102;
  X_GetKeyboardControl         = 103;
  X_Bell                       = 104;
  X_ChangePointerControl       = 105;
  X_GetPointerControl          = 106;
  X_SetScreenSaver             = 107;
  X_GetScreenSaver             = 108;
  X_ChangeHosts                = 109;
  X_ListHosts                  = 110;
  X_SetAccessControl           = 111;
  X_SetCloseDownMode           = 112;
  X_KillClient                 = 113;
  X_RotateProperties	       = 114;
  X_ForceScreenSaver	       = 115;
  X_SetPointerMapping          = 116;
  X_GetPointerMapping          = 117;
  X_SetModifierMapping	       = 118;
  X_GetModifierMapping	       = 119;
  X_NoOperation                = 127;
implementation
end.
