home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / elvis22g.zip / lib / xlibstub.c < prev    next >
Text File  |  2002-04-10  |  90KB  |  3,773 lines

  1. /* This file contains stubs of most xlib library functions.
  2.  * This is intended to serve as a reference; there's no point in compiling it.
  3.  * The idea is that you put this file in an accessible but out-of-the-way
  4.  * location, and run ctags on it.  Then you set the TAGPATH environment
  5.  * variable to include this file's directory.  From that point on, you can
  6.  * use the normal tag searching functions to see the declaration for any
  7.  * of these functions.  In particular, the "ref" program distributed with
  8.  * elvis is handy for this.
  9.  *
  10.  * This file is derived from the X11R6 header files.  See the copyright
  11.  * notice at the end of this file.
  12.  */
  13.  
  14. /* <X11/Xlib.h> */
  15. #define BitmapBitOrder(dpy) 
  16.  
  17. /* <X11/Xlib.h> */
  18. #define BitmapPad(dpy) 
  19.  
  20. /* <X11/Xlib.h> */
  21. #define BitmapUnit(dpy) 
  22.  
  23. /* <X11/Xlib.h> */
  24. #define BlackPixel(dpy, scr) 
  25.  
  26. /* <X11/Xlib.h> */
  27. #define BlackPixelOfScreen(scr)
  28.  
  29. /* <X11/Xlib.h> */
  30. #define CellsOfScreen(scr)
  31.  
  32. /* <X11/Xlib.h> */
  33. #define ConnectionNumber(dpy) 
  34.  
  35. /* <X11/Xlib.h> */
  36. #define DefaultColormap(dpy, scr)
  37.  
  38. /* <X11/Xlib.h> */
  39. #define DefaultColormapOfScreen(scr)
  40.  
  41. /* <X11/Xlib.h> */
  42. #define DefaultDepth(dpy, scr) 
  43.  
  44. /* <X11/Xlib.h> */
  45. #define DefaultDepthOfScreen(scr)
  46.  
  47. /* <X11/Xlib.h> */
  48. #define DefaultGC(dpy, scr) 
  49.  
  50. /* <X11/Xlib.h> */
  51. #define DefaultGCOfScreen(scr)
  52.  
  53. /* <X11/Xlib.h> */
  54. #define DefaultRootWindow(dpy) 
  55.  
  56. /* <X11/Xlib.h> */
  57. #define DefaultScreen(dpy) 
  58.  
  59. /* <X11/Xlib.h> */
  60. #define DefaultScreenOfDisplay(dpy)
  61.  
  62. /* <X11/Xlib.h> */
  63. #define DefaultVisual(dpy, scr)
  64.  
  65. /* <X11/Xlib.h> */
  66. #define DefaultVisualOfScreen(scr)
  67.  
  68. /* <X11/Xlib.h> */
  69. #define DisplayCells(dpy, scr) 
  70.  
  71. /* <X11/Xlib.h> */
  72. #define DisplayHeight(dpy, scr)
  73.  
  74. /* <X11/Xlib.h> */
  75. #define DisplayHeightMM(dpy, scr)
  76.  
  77. /* <X11/Xlib.h> */
  78. #define DisplayOfScreen(scr)
  79.  
  80. /* <X11/Xlib.h> */
  81. #define DisplayPlanes(dpy, scr)
  82.  
  83. /* <X11/Xlib.h> */
  84. #define DisplayString(dpy) 
  85.  
  86. /* <X11/Xlib.h> */
  87. #define DisplayWidth(dpy, scr) 
  88.  
  89. /* <X11/Xlib.h> */
  90. #define DisplayWidthMM(dpy, scr)
  91.  
  92. /* <X11/Xlib.h> */
  93. #define DoesBackingStore(scr)
  94.  
  95. /* <X11/Xlib.h> */
  96. #define DoesSaveUnders(scr)
  97.  
  98. /* <X11/Xlib.h> */
  99. #define EventMaskOfScreen(scr)
  100.  
  101. /* <X11/Xlib.h> */
  102. #define HeightMMOfScreen(scr)
  103.  
  104. /* <X11/Xlib.h> */
  105. #define HeightOfScreen(scr)
  106.  
  107. /* <X11/Xlib.h> */
  108. #define ImageByteOrder(dpy) 
  109.  
  110. /* <X11/Xlib.h> */
  111. #define LastKnownRequestProcessed(dpy)
  112.  
  113. /* <X11/Xlib.h> */
  114. #define MaxCmapsOfScreen(scr)
  115.  
  116. /* <X11/Xlib.h> */
  117. #define MinCmapsOfScreen(scr)
  118.  
  119. /* <X11/Xlib.h> */
  120. #define NextRequest(dpy)
  121.  
  122. /* <X11/Xlib.h> */
  123. #define PlanesOfScreen(scr)
  124.  
  125. /* <X11/Xlib.h> */
  126. #define ProtocolRevision(dpy) 
  127.  
  128. /* <X11/Xlib.h> */
  129. #define ProtocolVersion(dpy) 
  130.  
  131. /* <X11/Xlib.h> */
  132. #define QLength(dpy) 
  133.  
  134. /* <X11/Xlib.h> */
  135. #define RootWindow(dpy, scr) 
  136.  
  137. /* <X11/Xlib.h> */
  138. #define RootWindowOfScreen(scr)
  139.  
  140. /* <X11/Xlib.h> */
  141. #define ScreenCount(dpy) 
  142.  
  143. /* <X11/Xlib.h> */
  144. #define ScreenOfDisplay(dpy, scr)
  145.  
  146. /* <X11/Xlib.h> */
  147. #define ServerVendor(dpy) 
  148.  
  149. /* <X11/Xlib.h> */
  150. #define VendorRelease(dpy) 
  151.  
  152. /* <X11/Xlib.h> */
  153. #define WhitePixel(dpy, scr) 
  154.  
  155. /* <X11/Xlib.h> */
  156. #define WhitePixelOfScreen(scr)
  157.  
  158. /* <X11/Xlib.h> */
  159. #define WidthMMOfScreen(scr)
  160.  
  161. /* <X11/Xlib.h> */
  162. #define WidthOfScreen(scr)
  163.  
  164. /* <X11/Xlib.h> */
  165. #define XAllocID(dpy)
  166.  
  167. /* <X11/Xutil.h> */
  168. #define XDestroyImage(ximage)
  169.  
  170. /* <X11/Xutil.h> */
  171. #define XGetPixel(ximage, x, y)
  172.  
  173. /* <X11/Xutil.h> */
  174. #define XPutPixel(ximage, x, y, pixel)
  175.  
  176. /* <X11/Xutil.h> */
  177. #define XSubImage(ximage, x, y, width, height)
  178.  
  179. /* <X11/Xutil.h> */
  180. #define XAddPixel(ximage, value)
  181.  
  182. /* <X11/Xutil.h> */
  183. #define IsKeypadKey(keysym)
  184.  
  185. /* <X11/Xutil.h> */
  186. #define IsPrivateKeypadKey(keysym)
  187.  
  188. /* <X11/Xutil.h> */
  189. #define IsCursorKey(keysym)
  190.  
  191. /* <X11/Xutil.h> */
  192. #define IsPFKey(keysym)
  193.  
  194. /* <X11/Xutil.h> */
  195. #define IsFunctionKey(keysym)
  196.  
  197. /* <X11/Xutil.h> */
  198. #define IsMiscFunctionKey(keysym)
  199.  
  200. /* <X11/Xutil.h> */
  201. #define IsModifierKey(keysym)
  202.  
  203. /* <X11/Xutil.h> */
  204. #define XUniqueContext()
  205.  
  206. /* <X11/Xutil.h> */
  207. #define XStringToContext(string)
  208.  
  209.  
  210. typedef CARD32 XID;<X11/X.h>
  211. typedef CARD32 Mask;<X11/X.h>
  212. typedef CARD32 Atom;<X11/X.h>
  213. typedef CARD32 VisualID;<X11/X.h>
  214. typedef CARD32 Time;<X11/X.h>
  215. typedef XID Window;<X11/X.h>
  216. typedef XID Drawable;<X11/X.h>
  217. typedef XID Font;<X11/X.h>
  218. typedef XID Pixmap;<X11/X.h>
  219. typedef XID Cursor;<X11/X.h>
  220. typedef XID Colormap;<X11/X.h>
  221. typedef XID GContext;<X11/X.h>
  222. typedef XID KeySym;<X11/X.h>
  223. typedef unsigned char KeyCode;<X11/X.h>
  224.  
  225. typedef int Bool;<X11/Xlib.h>
  226. typedef int Status;<X11/Xlib.h>
  227.  
  228. /* <X11/Xlib.h> */
  229. typedef struct _XExtData {
  230.     int number;        /* number returned by XRegisterExtension */
  231.     struct _XExtData *next;    /* next item on list of data for structure */
  232.     int (*free_private)(struct _XExtData *extension);
  233.                 /* called to free private storage */
  234.     XPointer private_data;    /* data private to this extension. */
  235. } XExtData;
  236.  
  237. /* <X11/Xlib.h> */
  238. typedef struct {        /* public to extension, cannot be changed */
  239.     int extension;        /* extension number */
  240.     int major_opcode;    /* major op-code assigned by server */
  241.     int first_event;    /* first event number for the extension */
  242.     int first_error;    /* first error number for the extension */
  243. } XExtCodes;
  244.  
  245. /* <X11/Xlib.h> */
  246. typedef struct {
  247.     int depth;
  248.     int bits_per_pixel;
  249.     int scanline_pad;
  250. } XPixmapFormatValues;
  251.  
  252. /* <X11/Xlib.h> */
  253. typedef struct {
  254.     int function;        /* logical operation */
  255.     unsigned long plane_mask;/* plane mask */
  256.     unsigned long foreground;/* foreground pixel */
  257.     unsigned long background;/* background pixel */
  258.     int line_width;        /* line width */
  259.     int line_style;         /* LineSolid, LineOnOffDash, LineDoubleDash */
  260.     int cap_style;          /* CapNotLast, CapButt, 
  261.                    CapRound, CapProjecting */
  262.     int join_style;         /* JoinMiter, JoinRound, JoinBevel */
  263.     int fill_style;         /* FillSolid, FillTiled, 
  264.                    FillStippled, FillOpaeueStippled */
  265.     int fill_rule;          /* EvenOddRule, WindingRule */
  266.     int arc_mode;        /* ArcChord, ArcPieSlice */
  267.     Pixmap tile;        /* tile pixmap for tiling operations */
  268.     Pixmap stipple;        /* stipple 1 plane pixmap for stipping */
  269.     int ts_x_origin;    /* offset for tile or stipple operations */
  270.     int ts_y_origin;
  271.         Font font;            /* default text font for text operations */
  272.     int subwindow_mode;     /* ClipByChildren, IncludeInferiors */
  273.     Bool graphics_exposures;/* boolean, should exposures be generated */
  274.     int clip_x_origin;    /* origin for clipping */
  275.     int clip_y_origin;
  276.     Pixmap clip_mask;    /* bitmap clipping; other calls for rects */
  277.     int dash_offset;    /* patterned/dashed line information */
  278.     char dashes;
  279. } XGCValues;
  280.  
  281. /* <X11/Xlib.h> */
  282. typedef struct _XGC
  283. {
  284.     /* Private */
  285. } *GC;
  286.  
  287. /* <X11/Xlib.h> */
  288. typedef struct {
  289.     XExtData *ext_data;    /* hook for extension to hang data */
  290.     VisualID visualid;    /* visual id of this visual */
  291.     int class;        /* class of screen (monochrome, etc.) */
  292.     unsigned long red_mask, green_mask, blue_mask;    /* mask values */
  293.     int bits_per_rgb;    /* log base 2 of distinct color values */
  294.     int map_entries;    /* color map entries */
  295. } Visual;
  296.  
  297. /* <X11/Xlib.h> */
  298. typedef struct {
  299.     int depth;        /* this depth (Z) of the depth */
  300.     int nvisuals;        /* number of Visual types at this depth */
  301.     Visual *visuals;    /* list of visuals possible at this depth */
  302. } Depth;
  303.  
  304. /* <X11/Xlib.h> */
  305. typedef struct {
  306.     XExtData *ext_data;    /* hook for extension to hang data */
  307.     struct _XDisplay *display;/* back pointer to display structure */
  308.     Window root;        /* Root window id. */
  309.     int width, height;    /* width and height of screen */
  310.     int mwidth, mheight;    /* width and height of  in millimeters */
  311.     int ndepths;        /* number of depths possible */
  312.     Depth *depths;        /* list of allowable depths on the screen */
  313.     int root_depth;        /* bits per pixel */
  314.     Visual *root_visual;    /* root visual */
  315.     GC default_gc;        /* GC for the root root visual */
  316.     Colormap cmap;        /* default color map */
  317.     unsigned long white_pixel;
  318.     unsigned long black_pixel;    /* White and Black pixel values */
  319.     int max_maps, min_maps;    /* max and min color maps */
  320.     int backing_store;    /* Never, WhenMapped, Always */
  321.     Bool save_unders;    
  322.     long root_input_mask;    /* initial root input mask */
  323. } Screen;
  324.  
  325. /* <X11/Xlib.h> */
  326. typedef struct {
  327.     XExtData *ext_data;    /* hook for extension to hang data */
  328.     int depth;        /* depth of this image format */
  329.     int bits_per_pixel;    /* bits/pixel at this depth */
  330.     int scanline_pad;    /* scanline must padded to this multiple */
  331. } ScreenFormat;
  332.  
  333. /* <X11/Xlib.h> */
  334. typedef struct {
  335.     Pixmap background_pixmap;    /* background or None or ParentRelative */
  336.     unsigned long background_pixel;    /* background pixel */
  337.     Pixmap border_pixmap;    /* border of the window */
  338.     unsigned long border_pixel;    /* border pixel value */
  339.     int bit_gravity;        /* one of bit gravity values */
  340.     int win_gravity;        /* one of the window gravity values */
  341.     int backing_store;        /* NotUseful, WhenMapped, Always */
  342.     unsigned long backing_planes;/* planes to be preseved if possible */
  343.     unsigned long backing_pixel;/* value to use in restoring planes */
  344.     Bool save_under;        /* should bits under be saved? (popups) */
  345.     long event_mask;        /* set of events that should be saved */
  346.     long do_not_propagate_mask;    /* set of events that should not propagate */
  347.     Bool override_redirect;    /* boolean value for override-redirect */
  348.     Colormap colormap;        /* color map to be associated with window */
  349.     Cursor cursor;        /* cursor to be displayed (or None) */
  350. } XSetWindowAttributes;
  351.  
  352. /* <X11/Xlib.h> */
  353. typedef struct {
  354.     int x, y;            /* location of window */
  355.     int width, height;        /* width and height of window */
  356.     int border_width;        /* border width of window */
  357.     int depth;              /* depth of window */
  358.     Visual *visual;        /* the associated visual structure */
  359.     Window root;            /* root of screen containing window */
  360.     int class;            /* InputOutput, InputOnly*/
  361.     int bit_gravity;        /* one of bit gravity values */
  362.     int win_gravity;        /* one of the window gravity values */
  363.     int backing_store;        /* NotUseful, WhenMapped, Always */
  364.     unsigned long backing_planes;/* planes to be preserved if possible */
  365.     unsigned long backing_pixel;/* value to be used when restoring planes */
  366.     Bool save_under;        /* boolean, should bits under be saved? */
  367.     Colormap colormap;        /* color map to be associated with window */
  368.     Bool map_installed;        /* boolean, is color map currently installed*/
  369.     int map_state;        /* IsUnmapped, IsUnviewable, IsViewable */
  370.     long all_event_masks;    /* set of events all people have interest in*/
  371.     long your_event_mask;    /* my event mask */
  372.     long do_not_propagate_mask; /* set of events that should not propagate */
  373.     Bool override_redirect;    /* boolean value for override-redirect */
  374.     Screen *screen;        /* back pointer to correct screen */
  375. } XWindowAttributes;
  376.  
  377. /* <X11/Xlib.h> */
  378. typedef struct {
  379.     int family;        /* for example FamilyInternet */
  380.     int length;        /* length of address, in bytes */
  381.     char *address;        /* pointer to where to find the bytes */
  382. } XHostAddress;
  383.  
  384. /* <X11/Xlib.h> */
  385. typedef struct _XImage {
  386.     int width, height;        /* size of image */
  387.     int xoffset;        /* number of pixels offset in X direction */
  388.     int format;            /* XYBitmap, XYPixmap, ZPixmap */
  389.     char *data;            /* pointer to image data */
  390.     int byte_order;        /* data byte order, LSBFirst, MSBFirst */
  391.     int bitmap_unit;        /* quant. of scanline 8, 16, 32 */
  392.     int bitmap_bit_order;    /* LSBFirst, MSBFirst */
  393.     int bitmap_pad;        /* 8, 16, 32 either XY or ZPixmap */
  394.     int depth;            /* depth of image */
  395.     int bytes_per_line;        /* accelarator to next line */
  396.     int bits_per_pixel;        /* bits per pixel (ZPixmap) */
  397.     unsigned long red_mask;    /* bits in z arrangment */
  398.     unsigned long green_mask;
  399.     unsigned long blue_mask;
  400.     XPointer obdata;        /* hook for the object routines to hang on */
  401.     struct funcs {        /* image manipulation routines */
  402.     struct _XImage *(*create_image)(struct _XDisplay*, Visual*, unsigned int, int, int, char*, unsigned int, unsigned int, int, int);
  403.     int (*destroy_image)        (struct _XImage *);
  404.     unsigned long (*get_pixel)  (struct _XImage *, int, int);
  405.     int (*put_pixel)            (struct _XImage *, int, int, unsigned long);
  406.     struct _XImage *(*sub_image)(struct _XImage *, int, int, unsigned int, unsigned int);
  407.     int (*add_pixel)            (struct _XImage *, long);
  408.     } f;
  409. } XImage;
  410.  
  411. /* <X11/Xlib.h> */
  412. typedef struct {
  413.     int x, y;
  414.     int width, height;
  415.     int border_width;
  416.     Window sibling;
  417.     int stack_mode;
  418. } XWindowChanges;
  419.  
  420. /* <X11/Xlib.h> */
  421. typedef struct {
  422.     unsigned long pixel;
  423.     unsigned short red, green, blue;
  424.     char flags;  /* do_red, do_green, do_blue */
  425.     char pad;
  426. } XColor;
  427.  
  428. /* <X11/Xlib.h> */
  429. typedef struct {
  430.     short x1, y1, x2, y2;
  431. } XSegment;
  432.  
  433. /* <X11/Xlib.h> */
  434. typedef struct {
  435.     short x, y;
  436. } XPoint;
  437.     
  438. /* <X11/Xlib.h> */
  439. typedef struct {
  440.     short x, y;
  441.     unsigned short width, height;
  442. } XRectangle;
  443.     
  444. /* <X11/Xlib.h> */
  445. typedef struct {
  446.     short x, y;
  447.     unsigned short width, height;
  448.     short angle1, angle2;
  449. } XArc;
  450.  
  451. /* <X11/Xlib.h> */
  452. typedef struct {
  453.         int key_click_percent;
  454.         int bell_percent;
  455.         int bell_pitch;
  456.         int bell_duration;
  457.         int led;
  458.         int led_mode;
  459.         int key;
  460.         int auto_repeat_mode;   /* On, Off, Default */
  461. } XKeyboardControl;
  462.  
  463. /* <X11/Xlib.h> */
  464. typedef struct {
  465.         int key_click_percent;
  466.     int bell_percent;
  467.     unsigned int bell_pitch, bell_duration;
  468.     unsigned long led_mask;
  469.     int global_auto_repeat;
  470.     char auto_repeats[32];
  471. } XKeyboardState;
  472.  
  473. /* <X11/Xlib.h> */
  474. typedef struct {
  475.         Time time;
  476.     short x, y;
  477. } XTimeCoord;
  478.  
  479. /* <X11/Xlib.h> */
  480. typedef struct {
  481.      int max_keypermod;    /* The server's max # of keys per modifier */
  482.      KeyCode *modifiermap;    /* An 8 by max_keypermod array of modifiers */
  483. } XModifierKeymap;
  484.  
  485.  
  486. /* <X11/Xlib.h> */
  487. typedef struct {
  488.     /* Private */
  489. } Display;
  490.  
  491. /* <X11/Xlib.h> */
  492. typedef struct {
  493.     int type;        /* of event */
  494.     unsigned long serial;    /* # of last request processed by server */
  495.     Bool send_event;    /* true if this came from a SendEvent request */
  496.     Display *display;    /* Display the event was read from */
  497.     Window window;            /* "event" window it is reported relative to */
  498.     Window root;            /* root window that the event occurred on */
  499.     Window subwindow;    /* child window */
  500.     Time time; milliseconds
  501.     int x, y;        /* pointer x, y coordinates in event window */
  502.     int x_root, y_root;    /* coordinates relative to root */
  503.     unsigned int state;    /* key or button mask */
  504.     unsigned int keycode; detail
  505.     Bool same_screen;    /* same screen flag */
  506. } XKeyEvent;
  507.  
  508. /* <X11/Xlib.h> */
  509. typedef XKeyEvent XKeyPressedEvent;
  510.  
  511. /* <X11/Xlib.h> */
  512. typedef XKeyEvent XKeyReleasedEvent;
  513.  
  514. /* <X11/Xlib.h> */
  515. typedef struct {
  516.     int type;        /* of event */
  517.     unsigned long serial;    /* # of last request processed by server */
  518.     Bool send_event;    /* true if this came from a SendEvent request */
  519.     Display *display;    /* Display the event was read from */
  520.     Window window;            /* "event" window it is reported relative to */
  521.     Window root;            /* root window that the event occurred on */
  522.     Window subwindow;    /* child window */
  523.     Time time; milliseconds
  524.     int x, y;        /* pointer x, y coordinates in event window */
  525.     int x_root, y_root;    /* coordinates relative to root */
  526.     unsigned int state;    /* key or button mask */
  527.     unsigned int button; detail
  528.     Bool same_screen;    /* same screen flag */
  529. } XButtonEvent;
  530.  
  531. /* <X11/Xlib.h> */
  532. typedef XButtonEvent XButtonPressedEvent;
  533.  
  534. /* <X11/Xlib.h> */
  535. typedef XButtonEvent XButtonReleasedEvent;
  536.  
  537. /* <X11/Xlib.h> */
  538. typedef struct {
  539.     int type;        /* of event */
  540.     unsigned long serial;    /* # of last request processed by server */
  541.     Bool send_event;    /* true if this came from a SendEvent request */
  542.     Display *display;    /* Display the event was read from */
  543.     Window window;            /* "event" window reported relative to */
  544.     Window root;            /* root window that the event occurred on */
  545.     Window subwindow;    /* child window */
  546.     Time time; milliseconds
  547.     int x, y;        /* pointer x, y coordinates in event window */
  548.     int x_root, y_root;    /* coordinates relative to root */
  549.     unsigned int state;    /* key or button mask */
  550.     char is_hint; detail
  551.     Bool same_screen;    /* same screen flag */
  552. } XMotionEvent;
  553.  
  554. /* <X11/Xlib.h> */
  555. typedef XMotionEvent XPointerMovedEvent;
  556.  
  557. /* <X11/Xlib.h> */
  558. typedef struct {
  559.     int type;        /* of event */
  560.     unsigned long serial;    /* # of last request processed by server */
  561.     Bool send_event;    /* true if this came from a SendEvent request */
  562.     Display *display;    /* Display the event was read from */
  563.     Window window;            /* "event" window reported relative to */
  564.     Window root;            /* root window that the event occurred on */
  565.     Window subwindow;    /* child window */
  566.     Time time;         /* milliseconds */
  567.     int x, y;        /* pointer x, y coordinates in event window */
  568.     int x_root, y_root;    /* coordinates relative to root */
  569.     int mode;        /* NotifyNormal, NotifyGrab, NotifyUngrab */
  570.     int detail;        /* NotifyAncestor, NotifyVirtual,
  571.                  * NotifyInferior, NotifyNonlinear,
  572.                  * NotifyNonlinearVirtual */
  573.     Bool same_screen;    /* same screen flag */
  574.     Bool focus;        /* boolean focus */
  575.     unsigned int state;    /* key or button mask */
  576. } XCrossingEvent;
  577.  
  578. /* <X11/Xlib.h> */
  579. typedef XCrossingEvent XEnterWindowEvent;
  580.  
  581. /* <X11/Xlib.h> */
  582. typedef XCrossingEvent XLeaveWindowEvent;
  583.  
  584. /* <X11/Xlib.h> */
  585. typedef struct {
  586.     int type;        /* FocusIn or FocusOut */
  587.     unsigned long serial;    /* # of last request processed by server */
  588.     Bool send_event;    /* true if this came from a SendEvent request */
  589.     Display *display;    /* Display the event was read from */
  590.     Window window;        /* window of event */
  591.     int mode;        /* NotifyNormal, NotifyGrab, NotifyUngrab */
  592.     int detail;        /* NotifyAncestor, NotifyVirtual,
  593.                  * NotifyInferior, NotifyNonlinear,
  594.                  * NotifyNonlinearVirtual, NotifyPointer,
  595.                  * NotifyPointerRoot, NotifyDetailNone */
  596. } XFocusChangeEvent;
  597.  
  598. /* <X11/Xlib.h> */
  599. typedef XFocusChangeEvent XFocusInEvent;
  600.  
  601. /* <X11/Xlib.h> */
  602. typedef XFocusChangeEvent XFocusOutEvent;
  603.  
  604. /* <X11/Xlib.h> */
  605. typedef struct {
  606.     int type;
  607.     unsigned long serial;    /* # of last request processed by server */
  608.     Bool send_event;    /* true if this came from a SendEvent request */
  609.     Display *display;    /* Display the event was read from */
  610.     Window window;
  611.     char key_vector[32];
  612. } XKeymapEvent;    
  613.  
  614. /* <X11/Xlib.h> */
  615. typedef struct {
  616.     int type;
  617.     unsigned long serial;    /* # of last request processed by server */
  618.     Bool send_event;    /* true if this came from a SendEvent request */
  619.     Display *display;    /* Display the event was read from */
  620.     Window window;
  621.     int x, y;
  622.     int width, height;
  623.     int count;        /* if non-zero, at least this many more */
  624. } XExposeEvent;
  625.  
  626. /* <X11/Xlib.h> */
  627. typedef struct {
  628.     int type;
  629.     unsigned long serial;    /* # of last request processed by server */
  630.     Bool send_event;    /* true if this came from a SendEvent request */
  631.     Display *display;    /* Display the event was read from */
  632.     Drawable drawable;
  633.     int x, y;
  634.     int width, height;
  635.     int count;        /* if non-zero, at least this many more */
  636.     int major_code;        /* core is CopyArea or CopyPlane */
  637.     int minor_code;        /* not defined in the core */
  638. } XGraphicsExposeEvent;
  639.  
  640. /* <X11/Xlib.h> */
  641. typedef struct {
  642.     int type;
  643.     unsigned long serial;    /* # of last request processed by server */
  644.     Bool send_event;    /* true if this came from a SendEvent request */
  645.     Display *display;    /* Display the event was read from */
  646.     Drawable drawable;
  647.     int major_code;        /* core is CopyArea or CopyPlane */
  648.     int minor_code;        /* not defined in the core */
  649. } XNoExposeEvent;
  650.  
  651. /* <X11/Xlib.h> */
  652. typedef struct {
  653.     int type;
  654.     unsigned long serial;    /* # of last request processed by server */
  655.     Bool send_event;    /* true if this came from a SendEvent request */
  656.     Display *display;    /* Display the event was read from */
  657.     Window window;
  658.     int state;        /* Visibility state */
  659. } XVisibilityEvent;
  660.  
  661. /* <X11/Xlib.h> */
  662. typedef struct {
  663.     int type;
  664.     unsigned long serial;    /* # of last request processed by server */
  665.     Bool send_event;    /* true if this came from a SendEvent request */
  666.     Display *display;    /* Display the event was read from */
  667.     Window parent;        /* parent of the window */
  668.     Window window;        /* window id of window created */
  669.     int x, y;        /* window location */
  670.     int width, height;    /* size of window */
  671.     int border_width;    /* border width */
  672.     Bool override_redirect;    /* creation should be overridden */
  673. } XCreateWindowEvent;
  674.  
  675. /* <X11/Xlib.h> */
  676. typedef struct {
  677.     int type;
  678.     unsigned long serial;    /* # of last request processed by server */
  679.     Bool send_event;    /* true if this came from a SendEvent request */
  680.     Display *display;    /* Display the event was read from */
  681.     Window event;
  682.     Window window;
  683. } XDestroyWindowEvent;
  684.  
  685. /* <X11/Xlib.h> */
  686. typedef struct {
  687.     int type;
  688.     unsigned long serial;    /* # of last request processed by server */
  689.     Bool send_event;    /* true if this came from a SendEvent request */
  690.     Display *display;    /* Display the event was read from */
  691.     Window event;
  692.     Window window;
  693.     Bool from_configure;
  694. } XUnmapEvent;
  695.  
  696. /* <X11/Xlib.h> */
  697. typedef struct {
  698.     int type;
  699.     unsigned long serial;    /* # of last request processed by server */
  700.     Bool send_event;    /* true if this came from a SendEvent request */
  701.     Display *display;    /* Display the event was read from */
  702.     Window event;
  703.     Window window;
  704.     Bool override_redirect;    /* boolean, is override set... */
  705. } XMapEvent;
  706.  
  707. /* <X11/Xlib.h> */
  708. typedef struct {
  709.     int type;
  710.     unsigned long serial;    /* # of last request processed by server */
  711.     Bool send_event;    /* true if this came from a SendEvent request */
  712.     Display *display;    /* Display the event was read from */
  713.     Window parent;
  714.     Window window;
  715. } XMapRequestEvent;
  716.  
  717. /* <X11/Xlib.h> */
  718. typedef struct {
  719.     int type;
  720.     unsigned long serial;    /* # of last request processed by server */
  721.     Bool send_event;    /* true if this came from a SendEvent request */
  722.     Display *display;    /* Display the event was read from */
  723.     Window event;
  724.     Window window;
  725.     Window parent;
  726.     int x, y;
  727.     Bool override_redirect;
  728. } XReparentEvent;
  729.  
  730. /* <X11/Xlib.h> */
  731. typedef struct {
  732.     int type;
  733.     unsigned long serial;    /* # of last request processed by server */
  734.     Bool send_event;    /* true if this came from a SendEvent request */
  735.     Display *display;    /* Display the event was read from */
  736.     Window event;
  737.     Window window;
  738.     int x, y;
  739.     int width, height;
  740.     int border_width;
  741.     Window above;
  742.     Bool override_redirect;
  743. } XConfigureEvent;
  744.  
  745. /* <X11/Xlib.h> */
  746. typedef struct {
  747.     int type;
  748.     unsigned long serial;    /* # of last request processed by server */
  749.     Bool send_event;    /* true if this came from a SendEvent request */
  750.     Display *display;    /* Display the event was read from */
  751.     Window event;
  752.     Window window;
  753.     int x, y;
  754. } XGravityEvent;
  755.  
  756. /* <X11/Xlib.h> */
  757. typedef struct {
  758.     int type;
  759.     unsigned long serial;    /* # of last request processed by server */
  760.     Bool send_event;    /* true if this came from a SendEvent request */
  761.     Display *display;    /* Display the event was read from */
  762.     Window window;
  763.     int width, height;
  764. } XResizeRequestEvent;
  765.  
  766. /* <X11/Xlib.h> */
  767. typedef struct {
  768.     int type;
  769.     unsigned long serial;    /* # of last request processed by server */
  770.     Bool send_event;    /* true if this came from a SendEvent request */
  771.     Display *display;    /* Display the event was read from */
  772.     Window parent;
  773.     Window window;
  774.     int x, y;
  775.     int width, height;
  776.     int border_width;
  777.     Window above;
  778.     int detail;        /* Above, Below, TopIf, BottomIf, Opposite */
  779.     unsigned long value_mask;
  780. } XConfigureRequestEvent;
  781.  
  782. /* <X11/Xlib.h> */
  783. typedef struct {
  784.     int type;
  785.     unsigned long serial;    /* # of last request processed by server */
  786.     Bool send_event;    /* true if this came from a SendEvent request */
  787.     Display *display;    /* Display the event was read from */
  788.     Window event;
  789.     Window window;
  790.     int place;        /* PlaceOnTop, PlaceOnBottom */
  791. } XCirculateEvent;
  792.  
  793. /* <X11/Xlib.h> */
  794. typedef struct {
  795.     int type;
  796.     unsigned long serial;    /* # of last request processed by server */
  797.     Bool send_event;    /* true if this came from a SendEvent request */
  798.     Display *display;    /* Display the event was read from */
  799.     Window parent;
  800.     Window window;
  801.     int place;        /* PlaceOnTop, PlaceOnBottom */
  802. } XCirculateRequestEvent;
  803.  
  804. /* <X11/Xlib.h> */
  805. typedef struct {
  806.     int type;
  807.     unsigned long serial;    /* # of last request processed by server */
  808.     Bool send_event;    /* true if this came from a SendEvent request */
  809.     Display *display;    /* Display the event was read from */
  810.     Window window;
  811.     Atom atom;
  812.     Time time;
  813.     int state;        /* NewValue, Deleted */
  814. } XPropertyEvent;
  815.  
  816. /* <X11/Xlib.h> */
  817. typedef struct {
  818.     int type;
  819.     unsigned long serial;    /* # of last request processed by server */
  820.     Bool send_event;    /* true if this came from a SendEvent request */
  821.     Display *display;    /* Display the event was read from */
  822.     Window window;
  823.     Atom selection;
  824.     Time time;
  825. } XSelectionClearEvent;
  826.  
  827. /* <X11/Xlib.h> */
  828. typedef struct {
  829.     int type;
  830.     unsigned long serial;    /* # of last request processed by server */
  831.     Bool send_event;    /* true if this came from a SendEvent request */
  832.     Display *display;    /* Display the event was read from */
  833.     Window owner;
  834.     Window requestor;
  835.     Atom selection;
  836.     Atom target;
  837.     Atom property;
  838.     Time time;
  839. } XSelectionRequestEvent;
  840.  
  841. /* <X11/Xlib.h> */
  842. typedef struct {
  843.     int type;
  844.     unsigned long serial;    /* # of last request processed by server */
  845.     Bool send_event;    /* true if this came from a SendEvent request */
  846.     Display *display;    /* Display the event was read from */
  847.     Window requestor;
  848.     Atom selection;
  849.     Atom target;
  850.     Atom property;        /* ATOM or None */
  851.     Time time;
  852. } XSelectionEvent;
  853.  
  854. /* <X11/Xlib.h> */
  855. typedef struct {
  856.     int type;
  857.     unsigned long serial;    /* # of last request processed by server */
  858.     Bool send_event;    /* true if this came from a SendEvent request */
  859.     Display *display;    /* Display the event was read from */
  860.     Window window;
  861.     Colormap colormap;    /* COLORMAP or None */
  862.     Bool new;
  863.     int state;        /* ColormapInstalled, ColormapUninstalled */
  864. } XColormapEvent;
  865.  
  866. /* <X11/Xlib.h> */
  867. typedef struct {
  868.     int type;
  869.     unsigned long serial;    /* # of last request processed by server */
  870.     Bool send_event;    /* true if this came from a SendEvent request */
  871.     Display *display;    /* Display the event was read from */
  872.     Window window;
  873.     Atom message_type;
  874.     int format;
  875.     union {
  876.         char b[20];
  877.         short s[10];
  878.         long l[5];
  879.         } data;
  880. } XClientMessageEvent;
  881.  
  882. /* <X11/Xlib.h> */
  883. typedef struct {
  884.     int type;
  885.     unsigned long serial;    /* # of last request processed by server */
  886.     Bool send_event;    /* true if this came from a SendEvent request */
  887.     Display *display;    /* Display the event was read from */
  888.     Window window; unused
  889.     int request;        /* one of MappingModifier, MappingKeyboard,
  890.                    MappingPointer */
  891.     int first_keycode;    /* first keycode */
  892.     int count;        /* defines range of change w. first_keycode*/
  893. } XMappingEvent;
  894.  
  895. /* <X11/Xlib.h> */
  896. typedef struct {
  897.     int type;
  898.     Display *display;    /* Display the event was read from */
  899.     XID resourceid;        /* resource id */
  900.     unsigned long serial;    /* serial number of failed request */
  901.     unsigned char error_code;    /* error code of failed request */
  902.     unsigned char request_code;    /* Major op-code of failed request */
  903.     unsigned char minor_code;    /* Minor op-code of failed request */
  904. } XErrorEvent;
  905.  
  906. /* <X11/Xlib.h> */
  907. typedef struct {
  908.     int type;
  909.     unsigned long serial;    /* # of last request processed by server */
  910.     Bool send_event;    /* true if this came from a SendEvent request */
  911.     Display *display;/* Display the event was read from */
  912.     Window window;    /* window on which event was requested in event mask */
  913. } XAnyEvent;
  914.  
  915. /*
  916.  * this union is defined so Xlib can always use the same sized
  917.  * event structure internally, to avoid memory fragmentation.
  918.  */
  919. /* <X11/Xlib.h> */
  920. typedef union _XEvent {
  921.         int type;        /* All events begin with a "type" field */
  922.     XAnyEvent xany;
  923.     XKeyEvent xkey;
  924.     XButtonEvent xbutton;
  925.     XMotionEvent xmotion;
  926.     XCrossingEvent xcrossing;
  927.     XFocusChangeEvent xfocus;
  928.     XExposeEvent xexpose;
  929.     XGraphicsExposeEvent xgraphicsexpose;
  930.     XNoExposeEvent xnoexpose;
  931.     XVisibilityEvent xvisibility;
  932.     XCreateWindowEvent xcreatewindow;
  933.     XDestroyWindowEvent xdestroywindow;
  934.     XUnmapEvent xunmap;
  935.     XMapEvent xmap;
  936.     XMapRequestEvent xmaprequest;
  937.     XReparentEvent xreparent;
  938.     XConfigureEvent xconfigure;
  939.     XGravityEvent xgravity;
  940.     XResizeRequestEvent xresizerequest;
  941.     XConfigureRequestEvent xconfigurerequest;
  942.     XCirculateEvent xcirculate;
  943.     XCirculateRequestEvent xcirculaterequest;
  944.     XPropertyEvent xproperty;
  945.     XSelectionClearEvent xselectionclear;
  946.     XSelectionRequestEvent xselectionrequest;
  947.     XSelectionEvent xselection;
  948.     XColormapEvent xcolormap;
  949.     XClientMessageEvent xclient;
  950.     XMappingEvent xmapping;
  951.     XErrorEvent xerror;
  952.     XKeymapEvent xkeymap;
  953.     long pad[24];
  954. } XEvent;
  955.  
  956.  
  957. /* <X11/Xlib.h> */
  958. typedef struct {
  959.     short        lbearing;    /* origin to left edge of raster */
  960.     short        rbearing;    /* origin to right edge of raster */
  961.     short        width;        /* advance to next char's origin */
  962.     short        ascent;        /* baseline to top edge of raster */
  963.     short        descent;    /* baseline to bottom edge of raster */
  964.     unsigned short    attributes;    /* per char flags (not predefined) */
  965. } XCharStruct;
  966.  
  967. /* <X11/Xlib.h> */
  968. typedef struct {
  969.     Atom name;
  970.     unsigned long card32;
  971. } XFontProp;
  972.  
  973. /* <X11/Xlib.h> */
  974. typedef struct {
  975.     XExtData    *ext_data;    /* hook for extension to hang data */
  976.     Font        fid;            /* Font id for this font */
  977.     unsigned    direction;    /* hint about direction the font is painted */
  978.     unsigned    min_char_or_byte2;/* first character */
  979.     unsigned    max_char_or_byte2;/* last character */
  980.     unsigned    min_byte1;    /* first row that exists */
  981.     unsigned    max_byte1;    /* last row that exists */
  982.     Bool        all_chars_exist;/* flag if all characters have non-zero size*/
  983.     unsigned    default_char;    /* char to print for undefined character */
  984.     int        n_properties;   /* how many properties there are */
  985.     XFontProp    *properties;    /* pointer to array of additional properties*/
  986.     XCharStruct    min_bounds;    /* minimum bounds over all existing char*/
  987.     XCharStruct    max_bounds;    /* maximum bounds over all existing char*/
  988.     XCharStruct    *per_char;    /* first_char to last_char information */
  989.     int        ascent;        /* log. extent above baseline for spacing */
  990.     int        descent;    /* log. descent below baseline for spacing */
  991. } XFontStruct;
  992.  
  993. /* <X11/Xlib.h> */
  994. typedef struct {
  995.     char *chars;        /* pointer to string */
  996.     int nchars;            /* number of characters */
  997.     int delta;            /* delta between strings */
  998.     Font font;            /* font to print it in, None don't change */
  999. } XTextItem;
  1000.  
  1001. /* <X11/Xlib.h> */
  1002. typedef struct {        /* normal 16 bit characters are two bytes */
  1003.     unsigned char byte1;
  1004.     unsigned char byte2;
  1005. } XChar2b;
  1006.  
  1007. /* <X11/Xlib.h> */
  1008. typedef struct {
  1009.     XChar2b *chars;        /* two byte characters */
  1010.     int nchars;            /* number of characters */
  1011.     int delta;            /* delta between strings */
  1012.     Font font;            /* font to print it in, None don't change */
  1013. } XTextItem16;
  1014.  
  1015.  
  1016. /* <X11/Xlib.h> */
  1017. typedef union {
  1018.     Display *display;
  1019.     GC gc;
  1020.     Visual *visual;
  1021.     Screen *screen;
  1022.     ScreenFormat *pixmap_format;
  1023.     XFontStruct *font;
  1024. } XEDataObject;
  1025.  
  1026. /* <X11/Xlib.h> */
  1027. typedef struct {
  1028.     XRectangle      max_ink_extent;
  1029.     XRectangle      max_logical_extent;
  1030. } XFontSetExtents;
  1031.  
  1032. /* <X11/Xlib.h> */
  1033. typedef struct {
  1034.     char           *chars;
  1035.     int             nchars;
  1036.     int             delta;
  1037.     XFontSet        font_set;
  1038. } XmbTextItem;
  1039.  
  1040. /* <X11/Xlib.h> */
  1041. typedef struct {
  1042.     wchar_t        *chars;
  1043.     int             nchars;
  1044.     int             delta;
  1045.     XFontSet        font_set;
  1046. } XwcTextItem;
  1047.  
  1048. /* <X11/Xlib.h> */
  1049. typedef struct {
  1050.     int charset_count;
  1051.     char **charset_list;
  1052. } XOMCharSetList;
  1053.  
  1054. /* <X11/Xlib.h> */
  1055. typedef enum {
  1056.     XOMOrientation_LTR_TTB,
  1057.     XOMOrientation_RTL_TTB,
  1058.     XOMOrientation_TTB_LTR,
  1059.     XOMOrientation_TTB_RTL,
  1060.     XOMOrientation_Context
  1061. } XOrientation;
  1062.  
  1063. /* <X11/Xlib.h> */
  1064. typedef struct {
  1065.     int num_orientation;
  1066.     XOrientation *orientation;    /* Input Text description */
  1067.     } XOMOrientation;
  1068.  
  1069. /* <X11/Xlib.h> */
  1070. typedef struct {
  1071.     int num_font;
  1072.     XFontStruct **font_struct_list;
  1073.     char **font_name_list;
  1074. } XOMFontInfo;
  1075.  
  1076. /* <X11/Xlib.h> */
  1077. typedef struct _XIM *XIM;
  1078. /* <X11/Xlib.h> */
  1079. typedef struct _XIC *XIC;
  1080.  
  1081. /* <X11/Xlib.h> */
  1082. typedef void (*XIMProc)(XIM, XPointer, XPointer);
  1083.  
  1084. /* <X11/Xlib.h> */
  1085. typedef Bool (*XICProc)(XIC, XPointer, XPointer);
  1086.  
  1087. /* <X11/Xlib.h> */
  1088. typedef void (*XIDProc)(Display*, XPointer, XPointer);
  1089.  
  1090. /* <X11/Xlib.h> */
  1091. typedef unsigned long XIMStyle;
  1092.  
  1093. /* <X11/Xlib.h> */
  1094. typedef struct {
  1095.     unsigned short count_styles;
  1096.     XIMStyle *supported_styles;
  1097. } XIMStyles;
  1098.  
  1099. /* <X11/Xlib.h> */
  1100. typedef void *XVaNestedList;
  1101.  
  1102. /* <X11/Xlib.h> */
  1103. typedef struct {
  1104.     XPointer client_data;
  1105.     XIMProc callback;
  1106. } XIMCallback;
  1107.  
  1108. /* <X11/Xlib.h> */
  1109. typedef struct {
  1110.     XPointer client_data;
  1111.     XICProc callback;
  1112. } XICCallback;
  1113.  
  1114. /* <X11/Xlib.h> */
  1115. typedef unsigned long XIMFeedback;
  1116.  
  1117. /* <X11/Xlib.h> */
  1118. typedef struct _XIMText {
  1119.     unsigned short length;
  1120.     XIMFeedback *feedback;
  1121.     Bool encoding_is_wchar; 
  1122.     union {
  1123.         char *multi_byte;
  1124.         wchar_t *wide_char;
  1125.     } string; 
  1126. } XIMText;
  1127.  
  1128. /* <X11/Xlib.h> */
  1129. typedef    unsigned long     XIMPreeditState;
  1130.  
  1131. /* <X11/Xlib.h> */
  1132. typedef    struct    _XIMPreeditStateNotifyCallbackStruct {
  1133.     XIMPreeditState state;
  1134. } XIMPreeditStateNotifyCallbackStruct;
  1135.  
  1136. /* <X11/Xlib.h> */
  1137. typedef    unsigned long     XIMResetState;
  1138.  
  1139. /* <X11/Xlib.h> */
  1140. typedef unsigned long XIMStringConversionFeedback;
  1141.  
  1142. /* <X11/Xlib.h> */
  1143. typedef struct _XIMStringConversionText {
  1144.     unsigned short length;
  1145.     XIMStringConversionFeedback *feedback;
  1146.     Bool encoding_is_wchar; 
  1147.     union {
  1148.         char *mbs;
  1149.         wchar_t *wcs;
  1150.     } string; 
  1151. } XIMStringConversionText;
  1152.  
  1153. /* <X11/Xlib.h> */
  1154. typedef    unsigned short    XIMStringConversionPosition;
  1155.  
  1156. /* <X11/Xlib.h> */
  1157. typedef    unsigned short    XIMStringConversionType;
  1158.  
  1159. /* <X11/Xlib.h> */
  1160. typedef    unsigned short    XIMStringConversionOperation;
  1161.  
  1162. /* <X11/Xlib.h> */
  1163. typedef enum {
  1164.     XIMForwardChar, XIMBackwardChar, XIMForwardWord, XIMBackwardWord,
  1165.     XIMCaretUp, XIMCaretDown, XIMNextLine, XIMPreviousLine,
  1166.     XIMLineStart, XIMLineEnd, XIMAbsolutePosition, XIMDontChange
  1167. } XIMCaretDirection;
  1168.  
  1169. /* <X11/Xlib.h> */
  1170. typedef struct _XIMStringConversionCallbackStruct {
  1171.     XIMStringConversionPosition    position;
  1172.     XIMCaretDirection        direction;
  1173.     XIMStringConversionOperation    operation;
  1174.     unsigned short            factor;
  1175.     XIMStringConversionText        *text;
  1176. } XIMStringConversionCallbackStruct;
  1177.  
  1178. /* <X11/Xlib.h> */
  1179. typedef struct _XIMPreeditDrawCallbackStruct {
  1180.     int caret;    /* Cursor offset within pre-edit string */
  1181.     int chg_first;    /* Starting change position */
  1182.     int chg_length;    /* Length of the change in character count */
  1183.     XIMText *text;
  1184. } XIMPreeditDrawCallbackStruct;
  1185.  
  1186. /* <X11/Xlib.h> */
  1187. typedef enum {
  1188.     XIMIsInvisible,    /* Disable caret feedback */ 
  1189.     XIMIsPrimary,    /* UI defined caret feedback */
  1190.     XIMIsSecondary    /* UI defined caret feedback */
  1191. } XIMCaretStyle;
  1192.  
  1193. /* <X11/Xlib.h> */
  1194. typedef struct _XIMPreeditCaretCallbackStruct {
  1195.     int position;            /* Caret offset within pre-edit string*/
  1196.     XIMCaretDirection direction;    /* Caret moves direction */
  1197.     XIMCaretStyle style;        /* Feedback of the caret */
  1198. } XIMPreeditCaretCallbackStruct;
  1199.  
  1200. /* <X11/Xlib.h> */
  1201. typedef enum {
  1202.     XIMTextType, XIMBitmapType
  1203. } XIMStatusDataType;
  1204.     
  1205. /* <X11/Xlib.h> */
  1206. typedef struct _XIMStatusDrawCallbackStruct {
  1207.     XIMStatusDataType type;
  1208.     union {
  1209.         XIMText *text;
  1210.         Pixmap  bitmap;
  1211.     } data;
  1212. } XIMStatusDrawCallbackStruct;
  1213.  
  1214. /* <X11/Xlib.h> */
  1215. typedef struct _XIMHotKeyTrigger {
  1216.     KeySym     keysym;
  1217.     int     modifier;
  1218.     int     modifier_mask;
  1219. } XIMHotKeyTrigger;
  1220.  
  1221. /* <X11/Xlib.h> */
  1222. typedef struct _XIMHotKeyTriggers {
  1223.     int            num_hot_key;
  1224.     XIMHotKeyTrigger    *key;
  1225. } XIMHotKeyTriggers;
  1226.  
  1227. /* <X11/Xlib.h> */
  1228. typedef    unsigned long     XIMHotKeyState;
  1229.  
  1230. /* <X11/Xlib.h> */
  1231. typedef struct {
  1232.     unsigned short count_values;
  1233.     char **supported_values;
  1234. } XIMValuesList;
  1235.  
  1236. /* <X11/Xlib.h> */
  1237. typedef void (*XConnectionWatchProc)(Display* dpy, XPointer client_data, int fd, Bool opening, XPointer* watch_data);
  1238.  
  1239. /* <X11/Xutil.h> */
  1240. typedef struct {
  1241.         long flags;    /* marks which fields in this structure are defined */
  1242.     int x, y;        /* obsolete for new window mgrs, but clients */
  1243.     int width, height;    /* should set so old wm's don't mess up */
  1244.     int min_width, min_height;
  1245.     int max_width, max_height;
  1246.         int width_inc, height_inc;
  1247.     struct {
  1248.         int x;        /* numerator */
  1249.         int y;        /* denominator */
  1250.     } min_aspect, max_aspect;
  1251.     int base_width, base_height;        /* added by ICCCM version 1 */
  1252.     int win_gravity;            /* added by ICCCM version 1 */
  1253. } XSizeHints;
  1254.  
  1255. /* <X11/Xutil.h> */
  1256. typedef struct {
  1257.     long flags;    /* marks which fields in this structure are defined */
  1258.     Bool input;    /* does this application rely on the window manager
  1259.              * to get keyboard input? */
  1260.     int initial_state;    /* see below */
  1261.     Pixmap icon_pixmap;    /* pixmap to be used as icon */
  1262.     Window icon_window;     /* window to be used as icon */
  1263.     int icon_x, icon_y;     /* initial position of icon */
  1264.     Pixmap icon_mask;    /* icon mask bitmap */
  1265.     XID window_group;    /* id of related window group */
  1266. } XWMHints;
  1267.  
  1268. /* <X11/Xutil.h> */
  1269. typedef struct {
  1270.     unsigned char *value;        /* same as Property routines */
  1271.     Atom encoding;            /* prop type */
  1272.     int format;                /* prop data format: 8, 16, or 32 */
  1273.     unsigned long nitems;        /* number of data items in value */
  1274. } XTextProperty;
  1275.  
  1276. /* <X11/Xutil.h> */
  1277. typedef enum {
  1278.     XStringStyle, STRING
  1279.     XCompoundTextStyle, COMPOUND_TEXT
  1280.     XTextStyle,            /* text in owner's encoding (current locale)*/
  1281.     XStdICCTextStyle        /* STRING, else COMPOUND_TEXT */
  1282. } XICCEncodingStyle;
  1283.  
  1284. /* <X11/Xutil.h> */
  1285. typedef struct {
  1286.     int min_width, min_height;
  1287.     int max_width, max_height;
  1288.     int width_inc, height_inc;
  1289. } XIconSize;
  1290.  
  1291. /* <X11/Xutil.h> */
  1292. typedef struct {
  1293.     char *res_name;
  1294.     char *res_class;
  1295. } XClassHint;
  1296.  
  1297. /* <X11/Xutil.h> */
  1298. typedef struct _XComposeStatus {
  1299.     XPointer compose_ptr;    /* state table pointer */
  1300.     int chars_matched;        /* match state */
  1301. } XComposeStatus;
  1302.  
  1303. /* <X11/Xutil.h> */
  1304. typedef struct {
  1305.     Visual        *visual;
  1306.     VisualID    visualid;
  1307.     int        screen;
  1308.     int        depth;
  1309.     int        class;
  1310.     unsigned long    red_mask;
  1311.     unsigned long    green_mask;
  1312.     unsigned long    blue_mask;
  1313.     int        colormap_size;
  1314.     int        bits_per_rgb;
  1315. } XVisualInfo;
  1316.  
  1317. /* <X11/Xutil.h> */
  1318. typedef struct {
  1319.     Colormap colormap;
  1320.     unsigned long red_max;
  1321.     unsigned long red_mult;
  1322.     unsigned long green_max;
  1323.     unsigned long green_mult;
  1324.     unsigned long blue_max;
  1325.     unsigned long blue_mult;
  1326.     unsigned long base_pixel;
  1327.     VisualID visualid;        /* added by ICCCM version 1 */
  1328.     XID killid;            /* added by ICCCM version 1 */
  1329. } XStandardColormap;
  1330.  
  1331. /* <X11/Xutil.h> */
  1332. typedef int XContext;
  1333.  
  1334. /* <X11/Xlib.h> Set protocol error handler, where XErrorHandler is a pointer
  1335.  * to function which accepts a Display* and an XErrorEvent* as arguments, and
  1336.  * returns an int: typedef int (XErrorHandler)(Display*, XErrorEvent*);
  1337.  */
  1338. XErrorHandler XSetErrorHandler (XErrorHandler handler)
  1339. {
  1340. }
  1341.  
  1342. /* <X11/Xlib.h> Set I/O error handler, where XIOErrorHandler is a pointer to
  1343.  * a function which accepts a Display* as its argument, and returns an int:
  1344.  * typedef int (XIOErrorHandler)(Display*);
  1345.  */
  1346. XIOErrorHandler XSetIOErrorHandler (XIOErrorHandler handler)
  1347. {
  1348. }
  1349.  
  1350.  
  1351. /* <X11/auth.h> */
  1352. char *XauFileName(void)
  1353. {
  1354. }
  1355.  
  1356. /* <X11/auth.h> */
  1357. Xauth *XauReadAuth(FILE* auth_file)
  1358. {
  1359. }
  1360.  
  1361. /* <X11/auth.h> */
  1362. int XauLockAuth(const char* file_name, int retries, int timeout, long dead)
  1363. {
  1364. }
  1365.  
  1366. /* <X11/auth.h> */
  1367. int XauUnlockAuth(const char* file_name)
  1368. {
  1369. }
  1370.  
  1371. /* <X11/auth.h> */
  1372. int XauWriteAuth(FILE* auth_file, Xauth* auth)
  1373. {
  1374. }
  1375.  
  1376. /* <X11/auth.h> */
  1377. Xauth *XauGetAuthByName(const char* display_name)
  1378. {
  1379. }
  1380.  
  1381. /* <X11/xauth.h> */
  1382. Xauth *XauGetAuthByAddr(unsigned short family, unsigned short address_length, const char* address, unsigned short number_length, const char* number, unsigned short name_length, const char* name)
  1383. {
  1384. }
  1385.  
  1386. /* <X11/xauth.h> */
  1387. Xauth *XauGetBestAuthByAddr(unsigned short family, unsigned short address_length, const char* address, unsigned short number_length, const char* number, int types_length, char** type_names, const int* type_lengths)
  1388. {
  1389. }
  1390.  
  1391. /* <X11/xauth.h> */
  1392. void XauDisposeAuth(Xauth* auth)
  1393. {
  1394. }
  1395.  
  1396. /* <X11/xauth.h> */
  1397. int XauKrb5Encode(krb5_principal princ, krb5_data *outbuf)
  1398. {
  1399. }
  1400.  
  1401. /* <X11/xauth.h> */
  1402. int XauKrb5Decode(krb5_data inbuf, krb5_principal *princ)
  1403. {
  1404. }
  1405.  
  1406. /* <X11/Xlib.h> */
  1407. XFontStruct *XLoadQueryFont(Display *display, const char *name)
  1408. {
  1409. }
  1410.  
  1411. /* <X11/Xlib.h> */
  1412. XFontStruct *XQueryFont(Display *display, XID font_ID)
  1413. {
  1414. }
  1415.  
  1416. /* <X11/Xlib.h> */
  1417. XTimeCoord *XGetMotionEvents(Display *display, Window w, Time start, Time stop, int *nevents_return)
  1418. {
  1419. }
  1420.  
  1421. /* <X11/Xlib.h> */
  1422. XModifierKeymap *XDeleteModifiermapEntry(XModifierKeymap *modmap, KeyCode keycode_entry, int modifier)
  1423. {
  1424. }
  1425.  
  1426. /* <X11/Xlib.h> */
  1427. XModifierKeymap *XGetModifierMapping(Display *display)
  1428. {
  1429. }
  1430.  
  1431. /* <X11/Xlib.h> */
  1432. XModifierKeymap    *XInsertModifiermapEntry(XModifierKeymap *modmap, KeyCode keycode_entry, int modifier)
  1433. {
  1434. }
  1435.  
  1436. /* <X11/Xlib.h> */
  1437. XModifierKeymap *XNewModifiermap(int max_keys_per_mod)
  1438. {
  1439. }
  1440.  
  1441. /* <X11/Xlib.h> */
  1442. XImage *XCreateImage(Display *display, Visual *visual, unsigned int depth, int format, int offset, char *data, unsigned int width, unsigned int height, int bitmap_pad, int bytes_per_line)
  1443. {
  1444. }
  1445.  
  1446. /* <X11/Xlib.h> */
  1447. Status XInitImage(XImage *image)
  1448. {
  1449. }
  1450.  
  1451. /* <X11/Xlib.h> */
  1452. XImage *XGetImage(Display *display, Drawable d, int x, int y, unsigned int width, unsigned int height, unsigned long plane_mask, int format)
  1453. {
  1454. }
  1455.  
  1456. /* <X11/Xlib.h> */
  1457. XImage *XGetSubImage(Display *display, Drawable d, int x, int y, unsigned int width, unsigned int height, unsigned long plane_mask, int format, XImage *dest_image, int dest_x, int dest_y)
  1458. {
  1459. }
  1460.  
  1461. /* <X11/Xlib.h> */
  1462. Display *XOpenDisplay(const char *display_name)
  1463. {
  1464. }
  1465.  
  1466. /* <X11/Xlib.h> */
  1467. void XrmInitialize(void)
  1468. {
  1469. }
  1470.  
  1471. /* <X11/Xlib.h> */
  1472. char *XFetchBytes(Display *display, int *nbytes_return)
  1473. {
  1474. }
  1475.  
  1476. /* <X11/Xlib.h> */
  1477. char *XFetchBuffer(Display *display, int *nbytes_return, int buffer)
  1478. {
  1479. }
  1480.  
  1481. /* <X11/Xlib.h> */
  1482. char *XGetAtomName(Display *display, Atom atom)
  1483. {
  1484. }
  1485.  
  1486. /* <X11/Xlib.h> */
  1487. Status XGetAtomNames(Display *dpy, Atom *atoms, int count, char **names_return)
  1488. {
  1489. }
  1490.  
  1491. /* <X11/Xlib.h> */
  1492. char *XGetDefault(Display *display, const char *program, const char *option)
  1493. {
  1494. }
  1495.  
  1496. /* <X11/Xlib.h> */
  1497. char *XDisplayName(const char *string)
  1498. {
  1499. }
  1500.  
  1501. /* <X11/Xlib.h> */
  1502. char *XKeysymToString(KeySym keysym)
  1503. {
  1504. }
  1505.  
  1506. /* <X11/Xlib.h> */
  1507. int (*XSynchronize(Display *display, Bool onoff))(Display *display)
  1508. {
  1509. }
  1510.  
  1511. /* <X11/Xlib.h> */
  1512. int (*XSetAfterFunction(Display *display, int (*) (Display *display) procedure))(Display *display)
  1513. {
  1514. }
  1515.  
  1516. /* <X11/Xlib.h> */
  1517. Atom XInternAtom(Display *display, const char *atom_name, Bool only_if_exists)
  1518. {
  1519. }
  1520.  
  1521. /* <X11/Xlib.h> */
  1522. Status XInternAtoms(Display *dpy, char **names, int count, Bool onlyIfExists, Atom *atoms_return)
  1523. {
  1524. }
  1525.  
  1526. /* <X11/Xlib.h> */
  1527. Colormap XCopyColormapAndFree(Display *display, Colormap colormap)
  1528. {
  1529. }
  1530.  
  1531. /* <X11/Xlib.h> */
  1532. Colormap XCreateColormap(Display *display, Window w, Visual *visual, int    alloc)
  1533. {
  1534. }
  1535.  
  1536. /* <X11/Xlib.h> */
  1537. Cursor XCreatePixmapCursor(Display *display, Pixmap source, Pixmap mask, XColor *foreground_color, XColor *background_color, unsigned int x, unsigned int y)
  1538. {
  1539. }
  1540.  
  1541. /* <X11/Xlib.h> */
  1542. Cursor XCreateGlyphCursor(Display *display, Font source_font, Font mask_font, unsigned int source_char, unsigned int mask_char, XColor *foreground_color, XColor *background_color)
  1543. {
  1544. }
  1545.  
  1546. /* <X11/Xlib.h> */
  1547. Cursor XCreateFontCursor(Display *display, unsigned int shape)
  1548. {
  1549. }
  1550.  
  1551. /* <X11/Xlib.h> */
  1552. Font XLoadFont(Display *display, const char *name)
  1553. {
  1554. }
  1555.  
  1556. /* <X11/Xlib.h> */
  1557. GC XCreateGC(Display *display, Drawable d, unsigned long valuemask, XGCValues *values)
  1558. {
  1559. }
  1560.  
  1561. /* <X11/Xlib.h> */
  1562. GContext XGContextFromGC(GC gc)
  1563. {
  1564. }
  1565.  
  1566. /* <X11/Xlib.h> */
  1567. void XFlushGC(Display *display, GC gc)
  1568. {
  1569. }
  1570.  
  1571. /* <X11/Xlib.h> */
  1572. Pixmap XCreatePixmap(Display *display, Drawable d, unsigned int width, unsigned int height, unsigned int depth)
  1573. {
  1574. }
  1575.  
  1576. /* <X11/Xlib.h> */
  1577. Pixmap XCreateBitmapFromData(Display *display, Drawable d, const char *data, unsigned int width, unsigned int height)
  1578. {
  1579. }
  1580.  
  1581. /* <X11/Xlib.h> */
  1582. Pixmap XCreatePixmapFromBitmapData(Display *display, Drawable d, char *data, unsigned int width, unsigned int height, unsigned long fg, unsigned long bg, unsigned int depth)
  1583. {
  1584. }
  1585.  
  1586. /* <X11/Xlib.h> */
  1587. Window XCreateSimpleWindow(Display *display, Window parent, int x, int y, unsigned int width, unsigned int height, unsigned int border_width, unsigned long border, unsigned long background)
  1588. {
  1589. }
  1590.  
  1591. /* <X11/Xlib.h> */
  1592. Window XGetSelectionOwner(Display *display, Atom selection)
  1593. {
  1594. }
  1595.  
  1596. /* <X11/Xlib.h> */
  1597. Window XCreateWindow(Display *display, Window parent, int x, int y, unsigned int width, unsigned int height, unsigned int border_width, int depth, unsigned int class, Visual *visual, unsigned long valuemask, XSetWindowAttributes *attributes)
  1598. {
  1599. }
  1600.  
  1601. /* <X11/Xlib.h> */
  1602. Colormap *XListInstalledColormaps(Display *display, Window w, int *num_return)
  1603. {
  1604. }
  1605.  
  1606. /* <X11/Xlib.h> */
  1607. char **XListFonts(Display *display, const char *pattern, int maxnames, int *actual_count_return)
  1608. {
  1609. }
  1610.  
  1611. /* <X11/Xlib.h> */
  1612. char **XListFontsWithInfo(Display *display, const char *pattern, int maxnames, int *count_return, XFontStruct **info_return)
  1613. {
  1614. }
  1615.  
  1616. /* <X11/Xlib.h> */
  1617. char **XGetFontPath(Display *display, int *npaths_return)
  1618. {
  1619. }
  1620.  
  1621. /* <X11/Xlib.h> */
  1622. char **XListExtensions(Display *display, int *nextensions_return)
  1623. {
  1624. }
  1625.  
  1626. /* <X11/Xlib.h> */
  1627. Atom *XListProperties(Display *display, Window w, int *num_prop_return)
  1628. {
  1629. }
  1630.  
  1631. /* <X11/Xlib.h> */
  1632. XHostAddress *XListHosts(Display *display, int *nhosts_return, Bool *state_return)
  1633. {
  1634. }
  1635.  
  1636. /* <X11/Xlib.h> */
  1637. KeySym XKeycodeToKeysym(Display *display, KeyCode keycode, int index)
  1638. {
  1639. }
  1640.  
  1641. /* <X11/Xlib.h> */
  1642. KeySym XLookupKeysym(XKeyEvent *key_event, int index)
  1643. {
  1644. }
  1645.  
  1646. /* <X11/Xlib.h> */
  1647. KeySym *XGetKeyboardMapping(Display *display, KeyCode first_keycode, int keycode_count, int *keysyms_per_keycode_return)
  1648. {
  1649. }
  1650.  
  1651. /* <X11/Xlib.h> */
  1652. KeySym XStringToKeysym(const char *string)
  1653. {
  1654. }
  1655.  
  1656. /* <X11/Xlib.h> */
  1657. long XMaxRequestSize(Display *display)
  1658. {
  1659. }
  1660.  
  1661. /* <X11/Xlib.h> */
  1662. long XExtendedMaxRequestSize(Display *display)
  1663. {
  1664. }
  1665.  
  1666. /* <X11/Xlib.h> */
  1667. char *XResourceManagerString(Display *display)
  1668. {
  1669. }
  1670.  
  1671. /* <X11/Xlib.h> */
  1672. char *XScreenResourceString(Screen *screen)
  1673. {
  1674. }
  1675.  
  1676. /* <X11/Xlib.h> */
  1677. unsigned long XDisplayMotionBufferSize(Display *display)
  1678. {
  1679. }
  1680.  
  1681. /* <X11/Xlib.h> */
  1682. VisualID XVisualIDFromVisual(Visual *visual)
  1683. {
  1684. }
  1685.  
  1686. /* <X11/Xlib.h> */
  1687. Status XInitThreads(void)
  1688. {
  1689. }
  1690.  
  1691. /* <X11/Xlib.h> */
  1692. void XLockDisplay(Display *display)
  1693. {
  1694. }
  1695.  
  1696. /* <X11/Xlib.h> */
  1697. void XUnlockDisplay(Display *display)
  1698. {
  1699. }
  1700.  
  1701. /* <X11/Xlib.h> */
  1702. XExtCodes *XInitExtension(Display *display, const char *name)
  1703. {
  1704. }
  1705.  
  1706. /* <X11/Xlib.h> */
  1707. XExtCodes *XAddExtension(Display *display)
  1708. {
  1709. }
  1710.  
  1711. /* <X11/Xlib.h> */
  1712. XExtData *XFindOnExtensionList(XExtData **structure, int number)
  1713. {
  1714. }
  1715.  
  1716. /* <X11/Xlib.h> */
  1717. XExtData **XEHeadOfExtensionList(XEDataObject object)
  1718. {
  1719. }
  1720.  
  1721. /* <X11/Xlib.h> */
  1722. Window XRootWindow(Display *display, int screen_number)
  1723. {
  1724. }
  1725.  
  1726. /* <X11/Xlib.h> */
  1727. Window XDefaultRootWindow(Display *display)
  1728. {
  1729. }
  1730.  
  1731. /* <X11/Xlib.h> */
  1732. Window XRootWindowOfScreen(Screen *screen)
  1733. {
  1734. }
  1735.  
  1736. /* <X11/Xlib.h> */
  1737. Visual *XDefaultVisual(Display *display, int screen_number)
  1738. {
  1739. }
  1740.  
  1741. /* <X11/Xlib.h> */
  1742. Visual *XDefaultVisualOfScreen(Screen *screen)
  1743. {
  1744. }
  1745.  
  1746. /* <X11/Xlib.h> */
  1747. GC XDefaultGC(Display *display, int screen_number)
  1748. {
  1749. }
  1750.  
  1751. /* <X11/Xlib.h> */
  1752. GC XDefaultGCOfScreen(Screen *screen)
  1753. {
  1754. }
  1755.  
  1756. /* <X11/Xlib.h> */
  1757. unsigned long XBlackPixel(Display *display, int screen_number)
  1758. {
  1759. }
  1760.  
  1761. /* <X11/Xlib.h> */
  1762. unsigned long XWhitePixel(Display *display, int screen_number)
  1763. {
  1764. }
  1765.  
  1766. /* <X11/Xlib.h> */
  1767. unsigned long XAllPlanes(void)
  1768. {
  1769. }
  1770.  
  1771. /* <X11/Xlib.h> */
  1772. unsigned long XBlackPixelOfScreen(Screen *screen)
  1773. {
  1774. }
  1775.  
  1776. /* <X11/Xlib.h> */
  1777. unsigned long XWhitePixelOfScreen(Screen *screen)
  1778. {
  1779. }
  1780.  
  1781. /* <X11/Xlib.h> */
  1782. unsigned long XNextRequest(Display *display)
  1783. {
  1784. }
  1785.  
  1786. /* <X11/Xlib.h> */
  1787. unsigned long XLastKnownRequestProcessed(Display *display)
  1788. {
  1789. }
  1790.  
  1791. /* <X11/Xlib.h> */
  1792. char *XServerVendor(Display *display)
  1793. {
  1794. }
  1795.  
  1796. /* <X11/Xlib.h> */
  1797. char *XDisplayString(Display *display)
  1798. {
  1799. }
  1800.  
  1801. /* <X11/Xlib.h> */
  1802. Colormap XDefaultColormap(Display *display, int screen_number)
  1803. {
  1804. }
  1805.  
  1806. /* <X11/Xlib.h> */
  1807. Colormap XDefaultColormapOfScreen(Screen *screen)
  1808. {
  1809. }
  1810.  
  1811. /* <X11/Xlib.h> */
  1812. Display *XDisplayOfScreen(Screen *screen)
  1813. {
  1814. }
  1815.  
  1816. /* <X11/Xlib.h> */
  1817. Screen *XScreenOfDisplay(Display *display, int screen_number)
  1818. {
  1819. }
  1820.  
  1821. /* <X11/Xlib.h> */
  1822. Screen *XDefaultScreenOfDisplay(Display *display)
  1823. {
  1824. }
  1825.  
  1826. /* <X11/Xlib.h> */
  1827. long XEventMaskOfScreen(Screen *screen)
  1828. {
  1829. }
  1830.  
  1831. /* <X11/Xlib.h> */
  1832. int XScreenNumberOfScreen(Screen *screen)
  1833. {
  1834. }
  1835.  
  1836. /* <X11/Xlib.h> */
  1837. XPixmapFormatValues *XListPixmapFormats(Display *display, int *count_return)
  1838. {
  1839. }
  1840.  
  1841. /* <X11/Xlib.h> */
  1842. int *XListDepths(Display *display, int screen_number, int *count_return)
  1843. {
  1844. }
  1845.  
  1846. /* <X11/Xlib.h> */
  1847. Status XReconfigureWMWindow(Display *display, Window w, int screen_number, unsigned int mask, XWindowChanges *changes)
  1848. {
  1849. }
  1850.  
  1851. /* <X11/Xlib.h> */
  1852. Status XGetWMProtocols(Display *display, Window w, Atom **protocols_return, int *count_return)
  1853. {
  1854. }
  1855.  
  1856. /* <X11/Xlib.h> */
  1857. Status XSetWMProtocols(Display *display, Window w, Atom *protocols, int count)
  1858. {
  1859. }
  1860.  
  1861. /* <X11/Xlib.h> */
  1862. Status XIconifyWindow(Display *display, Window w, int screen_number)
  1863. {
  1864. }
  1865.  
  1866. /* <X11/Xlib.h> */
  1867. Status XWithdrawWindow(Display *display, Window w, int screen_number)
  1868. {
  1869. }
  1870.  
  1871. /* <X11/Xlib.h> */
  1872. Status XGetCommand(Display *display, Window w, char ***argv_return, int *argc_return)
  1873. {
  1874. }
  1875.  
  1876. /* <X11/Xlib.h> */
  1877. Status XGetWMColormapWindows(Display *display, Window w, Window **windows_return, int *count_return)
  1878. {
  1879. }
  1880.  
  1881. /* <X11/Xlib.h> */
  1882. Status XSetWMColormapWindows(Display *display, Window w, Window *colormap_windows, int count)
  1883. {
  1884. }
  1885.  
  1886. /* <X11/Xlib.h> */
  1887. void XFreeStringList(char **list)
  1888. {
  1889. }
  1890.  
  1891. /* <X11/Xlib.h> */
  1892. int XSetTransientForHint(Display *display, Window w, Window prop_window)
  1893. {
  1894. }
  1895.  
  1896. /* <X11/Xlib.h> */
  1897. int XActivateScreenSaver(Display *display)
  1898. {
  1899. }
  1900.  
  1901. /* <X11/Xlib.h> */
  1902. int XAddHost(Display *display, XHostAddress *host)
  1903. {
  1904. }
  1905.  
  1906. /* <X11/Xlib.h> */
  1907. int XAddHosts(Display *display, XHostAddress *hosts, int    num_hosts)
  1908. {
  1909. }
  1910.  
  1911. /* <X11/Xlib.h> */
  1912. int XAddToExtensionList(struct _XExtData **structure, XExtData *ext_data)
  1913. {
  1914. }
  1915.  
  1916. /* <X11/Xlib.h> */
  1917. int XAddToSaveSet(Display *display, Window w)
  1918. {
  1919. }
  1920.  
  1921. /* <X11/Xlib.h> */
  1922. Status XAllocColor(Display *display, Colormap colormap, XColor *screen_in_out)
  1923. {
  1924. }
  1925.  
  1926. /* <X11/Xlib.h> */
  1927. Status XAllocColorCells(Display *display, Colormap colormap, Bool contig, unsigned long *plane_masks_return, unsigned int nplanes, unsigned long *pixels_return, unsigned int  npixels)
  1928. {
  1929. }
  1930.  
  1931. /* <X11/Xlib.h> */
  1932. Status XAllocColorPlanes(Display *display, Colormap colormap, Bool contig, unsigned long *pixels_return, int ncolors, int nreds, int ngreens, int nblues, unsigned long *rmask_return, unsigned long *gmask_return, unsigned long *bmask_return)
  1933. {
  1934. }
  1935.  
  1936. /* <X11/Xlib.h> */
  1937. Status XAllocNamedColor(Display *display, Colormap colormap, const char *color_name, XColor *screen_def_return, XColor *exact_def_return)
  1938. {
  1939. }
  1940.  
  1941. /* <X11/Xlib.h> */
  1942. int XAllowEvents(Display *display, int event_mode, Time time)
  1943. {
  1944. }
  1945.  
  1946. /* <X11/Xlib.h> */
  1947. int XAutoRepeatOff(Display *display)
  1948. {
  1949. }
  1950.  
  1951. /* <X11/Xlib.h> */
  1952. int XAutoRepeatOn(Display *display)
  1953. {
  1954. }
  1955.  
  1956. /* <X11/Xlib.h> */
  1957. int XBell(Display *display, int percent)
  1958. {
  1959. }
  1960.  
  1961. /* <X11/Xlib.h> */
  1962. int XBitmapBitOrder(Display *display)
  1963. {
  1964. }
  1965.  
  1966. /* <X11/Xlib.h> */
  1967. int XBitmapPad(Display *display)
  1968. {
  1969. }
  1970.  
  1971. /* <X11/Xlib.h> */
  1972. int XBitmapUnit(Display *display)
  1973. {
  1974. }
  1975.  
  1976. /* <X11/Xlib.h> */
  1977. int XCellsOfScreen(Screen *screen)
  1978. {
  1979. }
  1980.  
  1981. /* <X11/Xlib.h> */
  1982. int XChangeActivePointerGrab(Display *display, unsigned int event_mask, Cursor cursor, Time time)
  1983. {
  1984. }
  1985.  
  1986. /* <X11/Xlib.h> */
  1987. int XChangeGC(Display *display, GC gc, unsigned long valuemask, XGCValues *values)
  1988. {
  1989. }
  1990.  
  1991. /* <X11/Xlib.h> */
  1992. int XChangeKeyboardControl(Display *display, unsigned long value_mask, XKeyboardControl *values)
  1993. {
  1994. }
  1995.  
  1996. /* <X11/Xlib.h> */
  1997. int XChangeKeyboardMapping(Display *display, int first_keycode, int keysyms_per_keycode, KeySym *keysyms, int num_codes)
  1998. {
  1999. }
  2000.  
  2001. /* <X11/Xlib.h> */
  2002. int XChangePointerControl(Display *display, Bool do_accel, Bool do_threshold, int accel_numerator, int accel_denominator, int threshold)
  2003. {
  2004. }
  2005.  
  2006. /* <X11/Xlib.h> */
  2007. int XChangeProperty(Display *display, Window w, Atom property, Atom type, int format, int mode, const unsigned char *data, int nelements)
  2008. {
  2009. }
  2010.  
  2011. /* <X11/Xlib.h> */
  2012. int XChangeSaveSet(Display *display, Window w, int change_mode)
  2013. {
  2014. }
  2015.  
  2016. /* <X11/Xlib.h> */
  2017. int XChangeWindowAttributes(Display *display, Window w, unsigned long valuemask, XSetWindowAttributes *attributes)
  2018. {
  2019. }
  2020.  
  2021. /* <X11/Xlib.h> */
  2022. Bool XCheckIfEvent(Display *display, XEvent *event_return, Bool (*)(Display *display, XEvent *event, XPointer arg) predicate, XPointer arg)
  2023. {
  2024. }
  2025.  
  2026. /* <X11/Xlib.h> */
  2027. Bool XCheckMaskEvent(Display *display, long event_mask, XEvent *event_return)
  2028. {
  2029. }
  2030.  
  2031. /* <X11/Xlib.h> */
  2032. Bool XCheckTypedEvent(Display *display, int event_type, XEvent *event_return)
  2033. {
  2034. }
  2035.  
  2036. /* <X11/Xlib.h> */
  2037. Bool XCheckTypedWindowEvent(Display *display, Window w, int event_type, XEvent *event_return)
  2038. {
  2039. }
  2040.  
  2041. /* <X11/Xlib.h> */
  2042. Bool XCheckWindowEvent(Display *display, Window w, long event_mask, XEvent *event_return)
  2043. {
  2044. }
  2045.  
  2046. /* <X11/Xlib.h> */
  2047. int XCirculateSubwindows(Display *display, Window w, int direction)
  2048. {
  2049. }
  2050.  
  2051. /* <X11/Xlib.h> */
  2052. int XCirculateSubwindowsDown(Display *display, Window w)
  2053. {
  2054. }
  2055.  
  2056. /* <X11/Xlib.h> */
  2057. int XCirculateSubwindowsUp(Display *display, Window w)
  2058. {
  2059. }
  2060.  
  2061. /* <X11/Xlib.h> */
  2062. int XClearArea(Display *display, Window w, int x, int y, unsigned int width, unsigned int height, Bool exposures)
  2063. {
  2064. }
  2065.  
  2066. /* <X11/Xlib.h> */
  2067. int XClearWindow(Display *display, Window w)
  2068. {
  2069. }
  2070.  
  2071. /* <X11/Xlib.h> */
  2072. int XCloseDisplay(Display *display)
  2073. {
  2074. }
  2075.  
  2076. /* <X11/Xlib.h> */
  2077. int XConfigureWindow(Display *display, Window w, unsigned int value_mask, XWindowChanges *values)
  2078. {
  2079. }
  2080.  
  2081. /* <X11/Xlib.h> */
  2082. int XConnectionNumber(Display *display)
  2083. {
  2084. }
  2085.  
  2086. /* <X11/Xlib.h> */
  2087. int XConvertSelection(Display *display, Atom selection, Atom  target, Atom property, Window requestor, Time time)
  2088. {
  2089. }
  2090.  
  2091. /* <X11/Xlib.h> */
  2092. int XCopyArea(Display *display, Drawable src, Drawable dest, GC gc, int src_x, int src_y, unsigned int width, unsigned int height, int dest_x, int dest_y)
  2093. {
  2094. }
  2095.  
  2096. /* <X11/Xlib.h> */
  2097. int XCopyGC(Display *display, GC src, unsigned long valuemask, GC dest)
  2098. {
  2099. }
  2100.  
  2101. /* <X11/Xlib.h> */
  2102. int XCopyPlane(Display *display, Drawable src, Drawable dest, GC gc, int src_x, int src_y, unsigned int width, unsigned int height, int dest_x, int dest_y, unsigned long plane)
  2103. {
  2104. }
  2105.  
  2106. /* <X11/Xlib.h> */
  2107. int XDefaultDepth(Display *display, int screen_number)
  2108. {
  2109. }
  2110.  
  2111. /* <X11/Xlib.h> */
  2112. int XDefaultDepthOfScreen(Screen *screen)
  2113. {
  2114. }
  2115.  
  2116. /* <X11/Xlib.h> */
  2117. int XDefaultScreen(Display *display)
  2118. {
  2119. }
  2120.  
  2121. /* <X11/Xlib.h> */
  2122. int XDefineCursor(Display *display, Window w, Cursor cursor)
  2123. {
  2124. }
  2125.  
  2126. /* <X11/Xlib.h> */
  2127. int XDeleteProperty(Display *display, Window w, Atom property)
  2128. {
  2129. }
  2130.  
  2131. /* <X11/Xlib.h> */
  2132. int XDestroyWindow(Display *display, Window w)
  2133. {
  2134. }
  2135.  
  2136. /* <X11/Xlib.h> */
  2137. int XDestroySubwindows(Display *display, Window w)
  2138. {
  2139. }
  2140.  
  2141. /* <X11/Xlib.h> */
  2142. int XDoesBackingStore(Screen *screen)
  2143. {
  2144. }
  2145.  
  2146. /* <X11/Xlib.h> */
  2147. Bool XDoesSaveUnders(Screen *screen)
  2148. {
  2149. }
  2150.  
  2151. /* <X11/Xlib.h> */
  2152. int XDisableAccessControl(Display *display)
  2153. {
  2154. }
  2155.  
  2156. /* <X11/Xlib.h> */
  2157. int XDisplayCells(Display *display, int screen_number)
  2158. {
  2159. }
  2160.  
  2161. /* <X11/Xlib.h> */
  2162. int XDisplayHeight(Display *display, int screen_number)
  2163. {
  2164. }
  2165.  
  2166. /* <X11/Xlib.h> */
  2167. int XDisplayHeightMM(Display *display, int screen_number)
  2168. {
  2169. }
  2170.  
  2171. /* <X11/Xlib.h> */
  2172. int XDisplayKeycodes(Display *display, int *min_keycodes_return, int *max_keycodes_return)
  2173. {
  2174. }
  2175.  
  2176. /* <X11/Xlib.h> */
  2177. int XDisplayPlanes(Display *display, int screen_number)
  2178. {
  2179. }
  2180.  
  2181. /* <X11/Xlib.h> */
  2182. int XDisplayWidth(Display *display, int screen_number)
  2183. {
  2184. }
  2185.  
  2186. /* <X11/Xlib.h> */
  2187. int XDisplayWidthMM(Display *display, int screen_number)
  2188. {
  2189. }
  2190.  
  2191. /* <X11/Xlib.h> */
  2192. int XDrawArc(Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height, int angle1, int angle2)
  2193. {
  2194. }
  2195.  
  2196. /* <X11/Xlib.h> */
  2197. int XDrawArcs(Display *display, Drawable d, GC gc, XArc *arcs, int narcs)
  2198. {
  2199. }
  2200.  
  2201. /* <X11/Xlib.h> */
  2202. int XDrawImageString(Display *display, Drawable d, GC gc, int x, int y, const char *string, int length)
  2203. {
  2204. }
  2205.  
  2206. /* <X11/Xlib.h> */
  2207. int XDrawImageString16(Display *display, Drawable d, GC gc, int x, int y, const XChar2b *string, int length)
  2208. {
  2209. }
  2210.  
  2211. /* <X11/Xlib.h> */
  2212. int XDrawLine(Display *display, Drawable d, GC gc, int x1, int x2, int y1, int y2)
  2213. {
  2214. }
  2215.  
  2216. /* <X11/Xlib.h> */
  2217. int XDrawLines(Display *display, Drawable d, GC gc, XPoint *points, int npoints, int mode)
  2218. {
  2219. }
  2220.  
  2221. /* <X11/Xlib.h> */
  2222. int XDrawPoint(Display *display, Drawable d, GC gc, int x, int y)
  2223. {
  2224. }
  2225.  
  2226. /* <X11/Xlib.h> */
  2227. int XDrawPoints(Display *display, Drawable d, GC gc, XPoint *points, int npoints, int mode)
  2228. {
  2229. }
  2230.  
  2231. /* <X11/Xlib.h> */
  2232. int XDrawRectangle(Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)
  2233. {
  2234. }
  2235.  
  2236. /* <X11/Xlib.h> */
  2237. int XDrawRectangles(Display *display, Drawable d, GC gc, XRectangle *rectangles, int nrectangles)
  2238. {
  2239. }
  2240.  
  2241. /* <X11/Xlib.h> */
  2242. int XDrawSegments(Display *display, Drawable d, GC gc, XSegment *segments, int nsegments)
  2243. {
  2244. }
  2245.  
  2246. /* <X11/Xlib.h> */
  2247. int XDrawString(Display *display, Drawable d, GC gc, int x, int y, const char *string, int length)
  2248. {
  2249. }
  2250.  
  2251. /* <X11/Xlib.h> */
  2252. int XDrawString16(Display *display, Drawable d, GC gc, int x, int y, const XChar2b *string, int length)
  2253. {
  2254. }
  2255.  
  2256. /* <X11/Xlib.h> */
  2257. int XDrawText(Display *display, Drawable d, GC gc, int x, int y, XTextItem *items, int nitems)
  2258. {
  2259. }
  2260.  
  2261. /* <X11/Xlib.h> */
  2262. int XDrawText16(Display *display, Drawable d, GC gc, int x, int y, XTextItem16 *items, int nitems)
  2263. {
  2264. }
  2265.  
  2266. /* <X11/Xlib.h> */
  2267. int XEnableAccessControl(Display *display)
  2268. {
  2269. }
  2270.  
  2271. /* <X11/Xlib.h> */
  2272. int XEventsQueued(Display *display, int mode)
  2273. {
  2274. }
  2275.  
  2276. /* <X11/Xlib.h> */
  2277. Status XFetchName(Display *display, Window w, char **window_name_return)
  2278. {
  2279. }
  2280.  
  2281. /* <X11/Xlib.h> */
  2282. int XFillArc(Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height, int angle1, int angle2)
  2283. {
  2284. }
  2285.  
  2286. /* <X11/Xlib.h> */
  2287. int XFillArcs(Display *display, Drawable d, GC gc, XArc *arcs, int narcs)
  2288. {
  2289. }
  2290.  
  2291. /* <X11/Xlib.h> */
  2292. int XFillPolygon(Display *display, Drawable d, GC gc, XPoint *points, int npoints, int shape, int mode)
  2293. {
  2294. }
  2295.  
  2296. /* <X11/Xlib.h> */
  2297. int XFillRectangle(Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)
  2298. {
  2299. }
  2300.  
  2301. /* <X11/Xlib.h> */
  2302. int XFillRectangles(Display *display, Drawable d, GC gc, XRectangle *rectangles, int nrectangles)
  2303. {
  2304. }
  2305.  
  2306. /* <X11/Xlib.h> */
  2307. int XFlush(Display *display)
  2308. {
  2309. }
  2310.  
  2311. /* <X11/Xlib.h> */
  2312. int XForceScreenSaver(Display *display, int mode)
  2313. {
  2314. }
  2315.  
  2316. /* <X11/Xlib.h> */
  2317. int XFree(void *data)
  2318. {
  2319. }
  2320.  
  2321. /* <X11/Xlib.h> */
  2322. int XFreeColormap(Display *display, Colormap colormap)
  2323. {
  2324. }
  2325.  
  2326. /* <X11/Xlib.h> */
  2327. int XFreeColors(Display *display, Colormap colormap, unsigned long *pixels, int npixels, unsigned long planes)
  2328. {
  2329. }
  2330.  
  2331. /* <X11/Xlib.h> */
  2332. int XFreeCursor(Display *display, Cursor cursor)
  2333. {
  2334. }
  2335.  
  2336. /* <X11/Xlib.h> */
  2337. int XFreeExtensionList(char **list)
  2338. {
  2339. }
  2340.  
  2341. /* <X11/Xlib.h> */
  2342. int XFreeFont(Display *display, XFontStruct *font_struct)
  2343. {
  2344. }
  2345.  
  2346. /* <X11/Xlib.h> */
  2347. int XFreeFontInfo(char **names, XFontStruct *free_info, int actual_count)
  2348. {
  2349. }
  2350.  
  2351. /* <X11/Xlib.h> */
  2352. int XFreeFontNames(char **list)
  2353. {
  2354. }
  2355.  
  2356. /* <X11/Xlib.h> */
  2357. int XFreeFontPath(char **list)
  2358. {
  2359. }
  2360.  
  2361. /* <X11/Xlib.h> */
  2362. int XFreeGC(Display *display, GC gc)
  2363. {
  2364. }
  2365.  
  2366. /* <X11/Xlib.h> */
  2367. int XFreeModifiermap(XModifierKeymap *modmap)
  2368. {
  2369. }
  2370.  
  2371. /* <X11/Xlib.h> */
  2372. int XFreePixmap(Display *display, Pixmap pixmap)
  2373. {
  2374. }
  2375.  
  2376. /* <X11/Xlib.h> */
  2377. int XGeometry(Display *display, int screen, const char *position, const char *default_position, unsigned int bwidth, unsigned int fwidth, unsigned int fheight, int xadder, int yadder, int *x_return, int *y_return, int *width_return, int *height_return)
  2378. {
  2379. }
  2380.  
  2381. /* <X11/Xlib.h> */
  2382. int XGetErrorDatabaseText(Display *display, const char *name, const char *message, const char *default_string, char *buffer_return, int length)
  2383. {
  2384. }
  2385.  
  2386. /* <X11/Xlib.h> */
  2387. int XGetErrorText(Display *display, int code, char *buffer_return, int length)
  2388. {
  2389. }
  2390.  
  2391. /* <X11/Xlib.h> */
  2392. Bool XGetFontProperty(XFontStruct *font_struct, Atom atom, unsigned long *value_return)
  2393. {
  2394. }
  2395.  
  2396. /* <X11/Xlib.h> */
  2397. Status XGetGCValues(Display *display, GC gc, unsigned long valuemask, XGCValues *values_return)
  2398. {
  2399. }
  2400.  
  2401. /* <X11/Xlib.h> */
  2402. Status XGetGeometry(Display *display, Drawable d, Window *root_return, int *x_return, int *y_return, unsigned int *width_return, unsigned int *height_return, unsigned int *border_width_return, unsigned int *depth_return)
  2403. {
  2404. }
  2405.  
  2406. /* <X11/Xlib.h> */
  2407. Status XGetIconName(Display *display, Window w, char **icon_name_return)
  2408. {
  2409. }
  2410.  
  2411. /* <X11/Xlib.h> */
  2412. int XGetInputFocus(Display *display, Window *focus_return, int *revert_to_return)
  2413. {
  2414. }
  2415.  
  2416. /* <X11/Xlib.h> */
  2417. int XGetKeyboardControl(Display *display, XKeyboardState *values_return)
  2418. {
  2419. }
  2420.  
  2421. /* <X11/Xlib.h> */
  2422. int XGetPointerControl(Display *display, int *accel_numerator_return, int *accel_denominator_return, int *threshold_return)
  2423. {
  2424. }
  2425.  
  2426. /* <X11/Xlib.h> */
  2427. int XGetPointerMapping(Display *display, unsigned char *map_return, int nmap)
  2428. {
  2429. }
  2430.  
  2431. /* <X11/Xlib.h> */
  2432. int XGetScreenSaver(Display *display, int *timeout_return, int *interval_return, int *prefer_blanking_return, int *allow_exposures_return)
  2433. {
  2434. }
  2435.  
  2436. /* <X11/Xlib.h> */
  2437. Status XGetTransientForHint(Display *display, Window w, Window *prop_window_return)
  2438. {
  2439. }
  2440.  
  2441. /* <X11/Xlib.h> */
  2442. int XGetWindowProperty(Display *display, Window w, Atom property, long long_offset, long long_length, Bool delete, Atom req_type, Atom *actual_type_return, int *actual_format_return, unsigned long *nitems_return, unsigned long *bytes_after_return, unsigned char **prop_return)
  2443. {
  2444. }
  2445.  
  2446. /* <X11/Xlib.h> */
  2447. Status XGetWindowAttributes(Display *display, Window w, XWindowAttributes *window_attributes_return)
  2448. {
  2449. }
  2450.  
  2451. /* <X11/Xlib.h> */
  2452. int XGrabButton(Display *display, unsigned int button, unsigned int modifiers, Window grab_window, Bool owner_events, unsigned int event_mask, int pointer_mode, int keyboard_mode, Window confine_to, Cursor cursor)
  2453. {
  2454. }
  2455.  
  2456. /* <X11/Xlib.h> */
  2457. int XGrabKey(Display *display, int keycode, unsigned int modifiers, Window grab_window, Bool owner_events, int pointer_mode, int keyboard_mode)
  2458. {
  2459. }
  2460.  
  2461. /* <X11/Xlib.h> */
  2462. int XGrabKeyboard(Display *display, Window grab_window, Bool owner_events, int pointer_mode, int keyboard_mode, Time time)
  2463. {
  2464. }
  2465.  
  2466. /* <X11/Xlib.h> */
  2467. int XGrabPointer(Display *display, Window grab_window, Bool owner_events, unsigned int event_mask, int pointer_mode, int keyboard_mode, Window confine_to, Cursor cursor, Time time)
  2468. {
  2469. }
  2470.  
  2471. /* <X11/Xlib.h> */
  2472. int XGrabServer(Display *display)
  2473. {
  2474. }
  2475.  
  2476. /* <X11/Xlib.h> */
  2477. int XHeightMMOfScreen(Screen *screen)
  2478. {
  2479. }
  2480.  
  2481. /* <X11/Xlib.h> */
  2482. int XHeightOfScreen(Screen *screen)
  2483. {
  2484. }
  2485.  
  2486. /* <X11/Xlib.h> */
  2487. int XIfEvent(Display *display, XEvent *event_return, Bool (*)(Display *display, XEvent *event, XPointer arg ) predicate, XPointer arg)
  2488. {
  2489. }
  2490.  
  2491. /* <X11/Xlib.h> */
  2492. int XImageByteOrder(Display *display)
  2493. {
  2494. }
  2495.  
  2496. /* <X11/Xlib.h> */
  2497. int XInstallColormap(Display *display, Colormap colormap)
  2498. {
  2499. }
  2500.  
  2501. /* <X11/Xlib.h> */
  2502. KeyCode XKeysymToKeycode(Display *display, KeySym keysym)
  2503. {
  2504. }
  2505.  
  2506. /* <X11/Xlib.h> */
  2507. int XKillClient(Display *display, XID resource)
  2508. {
  2509. }
  2510.  
  2511. /* <X11/Xlib.h> */
  2512. Status XLookupColor(Display *display, Colormap colormap, const char *color_name, XColor *exact_def_return, XColor *screen_def_return)
  2513. {
  2514. }
  2515.  
  2516. /* <X11/Xlib.h> */
  2517. int XLowerWindow(Display *display, Window w)
  2518. {
  2519. }
  2520.  
  2521. /* <X11/Xlib.h> */
  2522. int XMapRaised(Display *display, Window w)
  2523. {
  2524. }
  2525.  
  2526. /* <X11/Xlib.h> */
  2527. int XMapSubwindows(Display *display, Window w)
  2528. {
  2529. }
  2530.  
  2531. /* <X11/Xlib.h> */
  2532. int XMapWindow(Display *display, Window w)
  2533. {
  2534. }
  2535.  
  2536. /* <X11/Xlib.h> */
  2537. int XMaskEvent(Display *display, long event_mask, XEvent *event_return)
  2538. {
  2539. }
  2540.  
  2541. /* <X11/Xlib.h> */
  2542. int XMaxCmapsOfScreen(Screen *screen)
  2543. {
  2544. }
  2545.  
  2546. /* <X11/Xlib.h> */
  2547. int XMinCmapsOfScreen(Screen *screen)
  2548. {
  2549. }
  2550.  
  2551. /* <X11/Xlib.h> */
  2552. int XMoveResizeWindow(Display *display, Window w, int x, int y, unsigned int width, unsigned int height)
  2553. {
  2554. }
  2555.  
  2556. /* <X11/Xlib.h> */
  2557. int XMoveWindow(Display *display, Window w, int x, int y)
  2558. {
  2559. }
  2560.  
  2561. /* <X11/Xlib.h> */
  2562. int XNextEvent(Display *display, XEvent *event_return)
  2563. {
  2564. }
  2565.  
  2566. /* <X11/Xlib.h> */
  2567. int XNoOp(Display *display)
  2568. {
  2569. }
  2570.  
  2571. /* <X11/Xlib.h> */
  2572. Status XParseColor(Display *display, Colormap colormap, const char *spec, XColor *exact_def_return)
  2573. {
  2574. }
  2575.  
  2576. /* <X11/Xlib.h> */
  2577. int XParseGeometry(const char *parsestring, int *x_return, int *y_return, unsigned int *width_return, unsigned int *height_return)
  2578. {
  2579. }
  2580.  
  2581. /* <X11/Xlib.h> */
  2582. int XPeekEvent(Display *display, XEvent *event_return)
  2583. {
  2584. }
  2585.  
  2586. /* <X11/Xlib.h> */
  2587. int XPeekIfEvent(Display *display, XEvent *event_return, Bool (*)(Display *display, XEvent *event, XPointer arg ) predicate, XPointer arg)
  2588. {
  2589. }
  2590.  
  2591. /* <X11/Xlib.h> */
  2592. int XPending(Display *display)
  2593. {
  2594. }
  2595.  
  2596. /* <X11/Xlib.h> */
  2597. int XPlanesOfScreen(Screen *screen )
  2598. {
  2599. }
  2600.  
  2601. /* <X11/Xlib.h> */
  2602. int XProtocolRevision(Display *display)
  2603. {
  2604. }
  2605.  
  2606. /* <X11/Xlib.h> */
  2607. int XProtocolVersion(Display *display)
  2608. {
  2609. }
  2610.  
  2611. /* <X11/Xlib.h> */
  2612. int XPutBackEvent(Display *display, XEvent *event)
  2613. {
  2614. }
  2615.  
  2616. /* <X11/Xlib.h> */
  2617. int XPutImage(Display *display, Drawable d, GC gc, XImage *image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height)
  2618. {
  2619. }
  2620.  
  2621. /* <X11/Xlib.h> */
  2622. int XQLength(Display *display)
  2623. {
  2624. }
  2625.  
  2626. /* <X11/Xlib.h> */
  2627. Status XQueryBestCursor(Display *display, Drawable d, unsigned int width, unsigned int height, unsigned int *width_return, unsigned int *height_return)
  2628. {
  2629. }
  2630.  
  2631. /* <X11/Xlib.h> */
  2632. Status XQueryBestSize(Display *display, int class, Drawable which_screen, unsigned int width, unsigned int height, unsigned int *width_return, unsigned int *height_return)
  2633. {
  2634. }
  2635.  
  2636. /* <X11/Xlib.h> */
  2637. Status XQueryBestStipple(Display *display, Drawable which_screen, unsigned int width, unsigned int height, unsigned int *width_return, unsigned int *height_return)
  2638. {
  2639. }
  2640.  
  2641. /* <X11/Xlib.h> */
  2642. Status XQueryBestTile(Display *display, Drawable which_screen, unsigned int width, unsigned int height, unsigned int *width_return, unsigned int *height_return)
  2643. {
  2644. }
  2645.  
  2646. /* <X11/Xlib.h> */
  2647. int XQueryColor(Display *display, Colormap colormap, XColor *def_in_out)
  2648. {
  2649. }
  2650.  
  2651. /* <X11/Xlib.h> */
  2652. int XQueryColors(Display *display, Colormap colormap, XColor *defs_in_out, int ncolors)
  2653. {
  2654. }
  2655.  
  2656. /* <X11/Xlib.h> */
  2657. Bool XQueryExtension(Display *display, const char *name, int *major_opcode_return, int *first_event_return, int *first_error_return)
  2658. {
  2659. }
  2660.  
  2661. /* <X11/Xlib.h> */
  2662. int XQueryKeymap(Display *display, char [32] keys_return)
  2663. {
  2664. }
  2665.  
  2666. /* <X11/Xlib.h> */
  2667. Bool XQueryPointer(Display *display, Window w, Window *root_return, Window *child_return, int *root_x_return, int *root_y_return, int *win_x_return, int *win_y_return, unsigned int *mask_return)
  2668. {
  2669. }
  2670.  
  2671. /* <X11/Xlib.h> */
  2672. int XQueryTextExtents(Display *display, XID font_ID, const char *string, int nchars, int *direction_return, int *font_ascent_return, int *font_descent_return, XCharStruct *overall_return)
  2673. {
  2674. }
  2675.  
  2676. /* <X11/Xlib.h> */
  2677. int XQueryTextExtents16(Display *display, XID font_ID, const XChar2b *string, int nchars, int *direction_return, int *font_ascent_return, int *font_descent_return, XCharStruct *overall_return)
  2678. {
  2679. }
  2680.  
  2681. /* <X11/Xlib.h> */
  2682. Status XQueryTree(Display *display, Window w, Window *root_return, Window *parent_return, Window **children_return, unsigned int *nchildren_return)
  2683. {
  2684. }
  2685.  
  2686. /* <X11/Xlib.h> */
  2687. int XRaiseWindow(Display *display, Window w)
  2688. {
  2689. }
  2690.  
  2691. /* <X11/Xlib.h> */
  2692. int XReadBitmapFile(Display *display, Drawable  d, const char *filename, unsigned int *width_return, unsigned int *height_return, Pixmap *bitmap_return, int *x_hot_return, int *y_hot_return)
  2693. {
  2694. }
  2695.  
  2696. /* <X11/Xlib.h> */
  2697. int XReadBitmapFileData(const char *filename, unsigned int *width_return, unsigned int *height_return, unsigned char **data_return, int *x_hot_return, int *y_hot_return)
  2698. {
  2699. }
  2700.  
  2701. /* <X11/Xlib.h> */
  2702. int XRebindKeysym(Display *display, KeySym keysym, KeySym *list, int mod_count, const unsigned char *string, int bytes_string)
  2703. {
  2704. }
  2705.  
  2706. /* <X11/Xlib.h> */
  2707. int XRecolorCursor(Display *display, Cursor cursor, XColor *foreground_color, XColor *background_color)
  2708. {
  2709. }
  2710.  
  2711. /* <X11/Xlib.h> */
  2712. int XRefreshKeyboardMapping(XMappingEvent *event_map)
  2713. {
  2714. }
  2715.  
  2716. /* <X11/Xlib.h> */
  2717. int XRemoveFromSaveSet(Display *display, Window w)
  2718. {
  2719. }
  2720.  
  2721. /* <X11/Xlib.h> */
  2722. int XRemoveHost(Display *display, XHostAddress *host)
  2723. {
  2724. }
  2725.  
  2726. /* <X11/Xlib.h> */
  2727. int XRemoveHosts(Display *display, XHostAddress *hosts, int num_hosts)
  2728. {
  2729. }
  2730.  
  2731. /* <X11/Xlib.h> */
  2732. int XReparentWindow(Display *display, Window w, Window parent, int x, int y)
  2733. {
  2734. }
  2735.  
  2736. /* <X11/Xlib.h> */
  2737. int XResetScreenSaver(Display *display)
  2738. {
  2739. }
  2740.  
  2741. /* <X11/Xlib.h> */
  2742. int XResizeWindow(Display *display, Window w, unsigned int width, unsigned int height)
  2743. {
  2744. }
  2745.  
  2746. /* <X11/Xlib.h> */
  2747. int XRestackWindows(Display *display, Window *windows, int nwindows)
  2748. {
  2749. }
  2750.  
  2751. /* <X11/Xlib.h> */
  2752. int XRotateBuffers(Display *display, int rotate)
  2753. {
  2754. }
  2755.  
  2756. /* <X11/Xlib.h> */
  2757. int XRotateWindowProperties(Display *display, Window w, Atom *properties, int num_prop, int npositions)
  2758. {
  2759. }
  2760.  
  2761. /* <X11/Xlib.h> */
  2762. int XScreenCount(Display *display)
  2763. {
  2764. }
  2765.  
  2766. /* <X11/Xlib.h> */
  2767. int XSelectInput(Display *display, Window w, long event_mask)
  2768. {
  2769. }
  2770.  
  2771. /* <X11/Xlib.h> */
  2772. Status XSendEvent(Display *display, Window w, Bool propagate, long event_mask, XEvent *event_send)
  2773. {
  2774. }
  2775.  
  2776. /* <X11/Xlib.h> */
  2777. int XSetAccessControl(Display *display, int mode)
  2778. {
  2779. }
  2780.  
  2781. /* <X11/Xlib.h> */
  2782. int XSetArcMode(Display *display, GC gc, int arc_mode)
  2783. {
  2784. }
  2785.  
  2786. /* <X11/Xlib.h> */
  2787. int XSetBackground(Display *display, GC gc, unsigned long background)
  2788. {
  2789. }
  2790.  
  2791. /* <X11/Xlib.h> */
  2792. int XSetClipMask(Display *display, GC gc, Pixmap pixmap)
  2793. {
  2794. }
  2795.  
  2796. /* <X11/Xlib.h> */
  2797. int XSetClipOrigin(Display *display, GC gc, int clip_x_origin, int clip_y_origin)
  2798. {
  2799. }
  2800.  
  2801. /* <X11/Xlib.h> */
  2802. int XSetClipRectangles(Display *display, GC gc, int clip_x_origin, int clip_y_origin, XRectangle *rectangles, int n, int ordering)
  2803. {
  2804. }
  2805.  
  2806. /* <X11/Xlib.h> */
  2807. int XSetCloseDownMode(Display *display, int close_mode)
  2808. {
  2809. }
  2810.  
  2811. /* <X11/Xlib.h> */
  2812. int XSetCommand(Display *display, Window w, char **argv, int argc)
  2813. {
  2814. }
  2815.  
  2816. /* <X11/Xlib.h> */
  2817. int XSetDashes(Display *display, GC gc, int dash_offset, const char *dash_list, int n)
  2818. {
  2819. }
  2820.  
  2821. /* <X11/Xlib.h> */
  2822. int XSetFillRule(Display *display, GC gc, int fill_rule)
  2823. {
  2824. }
  2825.  
  2826. /* <X11/Xlib.h> */
  2827. int XSetFillStyle(Display *display, GC gc, int fill_style)
  2828. {
  2829. }
  2830.  
  2831. /* <X11/Xlib.h> */
  2832. int XSetFont(Display *display, GC gc, Font font)
  2833. {
  2834. }
  2835.  
  2836. /* <X11/Xlib.h> */
  2837. int XSetFontPath(Display *display, char **directories, int    ndirs)
  2838. {
  2839. }
  2840.  
  2841. /* <X11/Xlib.h> */
  2842. int XSetForeground(Display *display, GC gc, unsigned long foreground)
  2843. {
  2844. }
  2845.  
  2846. /* <X11/Xlib.h> */
  2847. int XSetFunction(Display *display, GC gc, int function)
  2848. {
  2849. }
  2850.  
  2851. /* <X11/Xlib.h> */
  2852. int XSetGraphicsExposures(Display *display, GC gc, Bool graphics_exposures)
  2853. {
  2854. }
  2855.  
  2856. /* <X11/Xlib.h> */
  2857. int XSetIconName(Display *display, Window w, const char *icon_name)
  2858. {
  2859. }
  2860.  
  2861. /* <X11/Xlib.h> */
  2862. int XSetInputFocus(Display *display, Window focus, int revert_to, Time time)
  2863. {
  2864. }
  2865.  
  2866. /* <X11/Xlib.h> */
  2867. int XSetLineAttributes(Display *display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style)
  2868. {
  2869. }
  2870.  
  2871. /* <X11/Xlib.h> */
  2872. int XSetModifierMapping(Display *display, XModifierKeymap *modmap)
  2873. {
  2874. }
  2875.  
  2876. /* <X11/Xlib.h> */
  2877. int XSetPlaneMask(Display *display, GC gc, unsigned long plane_mask)
  2878. {
  2879. }
  2880.  
  2881. /* <X11/Xlib.h> */
  2882. int XSetPointerMapping(Display *display, const unsigned char *map, int nmap)
  2883. {
  2884. }
  2885.  
  2886. /* <X11/Xlib.h> */
  2887. int XSetScreenSaver(Display *display, int timeout, int interval, int prefer_blanking, int allow_exposures)
  2888. {
  2889. }
  2890.  
  2891. /* <X11/Xlib.h> */
  2892. int XSetSelectionOwner(Display *display, Atom selection, Window owner, Time time)
  2893. {
  2894. }
  2895.  
  2896. /* <X11/Xlib.h> */
  2897. int XSetState(Display *display, GC gc, unsigned long  foreground, unsigned long background, int function, unsigned long plane_mask)
  2898. {
  2899. }
  2900.  
  2901. /* <X11/Xlib.h> */
  2902. int XSetStipple(Display *display, GC gc, Pixmap stipple)
  2903. {
  2904. }
  2905.  
  2906. /* <X11/Xlib.h> */
  2907. int XSetSubwindowMode(Display *display, GC gc, int subwindow_mode)
  2908. {
  2909. }
  2910.  
  2911. /* <X11/Xlib.h> */
  2912. int XSetTSOrigin(Display *display, GC gc, int ts_x_origin, int ts_y_origin)
  2913. {
  2914. }
  2915.  
  2916. /* <X11/Xlib.h> */
  2917. int XSetTile(Display *display, GC gc, Pixmap tile)
  2918. {
  2919. }
  2920.  
  2921. /* <X11/Xlib.h> */
  2922. int XSetWindowBackground(Display *display, Window w, unsigned long background_pixel)
  2923. {
  2924. }
  2925.  
  2926. /* <X11/Xlib.h> */
  2927. int XSetWindowBackgroundPixmap(Display *display, Window w, Pixmap background_pixmap)
  2928. {
  2929. }
  2930.  
  2931. /* <X11/Xlib.h> */
  2932. int XSetWindowBorder(Display *display, Window w, unsigned long border_pixel)
  2933. {
  2934. }
  2935.  
  2936. /* <X11/Xlib.h> */
  2937. int XSetWindowBorderPixmap(Display *display, Window w, Pixmap border_pixmap)
  2938. {
  2939. }
  2940.  
  2941. /* <X11/Xlib.h> */
  2942. int XSetWindowBorderWidth(Display *display, Window w, unsigned int width)
  2943. {
  2944. }
  2945.  
  2946. /* <X11/Xlib.h> */
  2947. int XSetWindowColormap(Display *display, Window w, Colormap colormap)
  2948. {
  2949. }
  2950.  
  2951. /* <X11/Xlib.h> */
  2952. int XStoreBuffer(Display *display, const char *bytes, int nbytes, int buffer)
  2953. {
  2954. }
  2955.  
  2956. /* <X11/Xlib.h> */
  2957. int XStoreBytes(Display *display, const char *bytes, int nbytes)
  2958. {
  2959. }
  2960.  
  2961. /* <X11/Xlib.h> */
  2962. int XStoreColor(Display *display, Colormap colormap, XColor *color)
  2963. {
  2964. }
  2965.  
  2966. /* <X11/Xlib.h> */
  2967. int XStoreColors(Display *display, Colormap colormap, XColor *color, int ncolors)
  2968. {
  2969. }
  2970.  
  2971. /* <X11/Xlib.h> */
  2972. int XStoreName(Display *display, Window w, const char *window_name)
  2973. {
  2974. }
  2975.  
  2976. /* <X11/Xlib.h> */
  2977. int XStoreNamedColor(Display *display, Colormap colormap, const char *color, unsigned long pixel, int flags)
  2978. {
  2979. }
  2980.  
  2981. /* <X11/Xlib.h> */
  2982. int XSync(Display *display, Bool discard)
  2983. {
  2984. }
  2985.  
  2986. /* <X11/Xlib.h> */
  2987. int XTextExtents(XFontStruct *font_struct, const char *string, int nchars, int *direction_return, int *font_ascent_return, int *font_descent_return, XCharStruct *overall_return)
  2988. {
  2989. }
  2990.  
  2991. /* <X11/Xlib.h> */
  2992. int XTextExtents16(XFontStruct *font_struct, const XChar2b *string, int nchars, int *direction_return, int *font_ascent_return, int *font_descent_return, XCharStruct *overall_return)
  2993. {
  2994. }
  2995.  
  2996. /* <X11/Xlib.h> */
  2997. int XTextWidth(XFontStruct *font_struct, const char *string, int count)
  2998. {
  2999. }
  3000.  
  3001. /* <X11/Xlib.h> */
  3002. int XTextWidth16(XFontStruct *font_struct, const XChar2b *string, int count)
  3003. {
  3004. }
  3005.  
  3006. /* <X11/Xlib.h> */
  3007. Bool XTranslateCoordinates(Display *display, Window src_w, Window dest_w, int src_x, int src_y, int *dest_x_return, int *dest_y_return, Window *child_return)
  3008. {
  3009. }
  3010.  
  3011. /* <X11/Xlib.h> */
  3012. int XUndefineCursor(Display *display, Window w)
  3013. {
  3014. }
  3015.  
  3016. /* <X11/Xlib.h> */
  3017. int XUngrabButton(Display *display, unsigned int button, unsigned int modifiers, Window grab_window)
  3018. {
  3019. }
  3020.  
  3021. /* <X11/Xlib.h> */
  3022. int XUngrabKey(Display *display, int keycode, unsigned int modifiers, Window grab_window)
  3023. {
  3024. }
  3025.  
  3026. /* <X11/Xlib.h> */
  3027. int XUngrabKeyboard(Display *display, Time time)
  3028. {
  3029. }
  3030.  
  3031. /* <X11/Xlib.h> */
  3032. int XUngrabPointer(Display *display, Time time)
  3033. {
  3034. }
  3035.  
  3036. /* <X11/Xlib.h> */
  3037. int XUngrabServer(Display *display)
  3038. {
  3039. }
  3040.  
  3041. /* <X11/Xlib.h> */
  3042. int XUninstallColormap(Display *display, Colormap colormap)
  3043. {
  3044. }
  3045.  
  3046. /* <X11/Xlib.h> */
  3047. int XUnloadFont(Display *display, Font font)
  3048. {
  3049. }
  3050.  
  3051. /* <X11/Xlib.h> */
  3052. int XUnmapSubwindows(Display *display, Window w)
  3053. {
  3054. }
  3055.  
  3056. /* <X11/Xlib.h> */
  3057. int XUnmapWindow(Display *display, Window w)
  3058. {
  3059. }
  3060.  
  3061. /* <X11/Xlib.h> */
  3062. int XVendorRelease(Display *display)
  3063. {
  3064. }
  3065.  
  3066. /* <X11/Xlib.h> */
  3067. int XWarpPointer(Display *display, Window src_w, Window dest_w, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int            / *dest_y */         )
  3068. {
  3069. }
  3070.  
  3071. /* <X11/Xlib.h> */
  3072. int XWidthMMOfScreen(Screen *screen)
  3073. {
  3074. }
  3075.  
  3076. /* <X11/Xlib.h> */
  3077. int XWidthOfScreen(Screen *screen)
  3078. {
  3079. }
  3080.  
  3081. /* <X11/Xlib.h> */
  3082. int XWindowEvent(Display *display, Window w, long event_mask, XEvent *event_return)
  3083. {
  3084. }
  3085.  
  3086. /* <X11/Xlib.h> */
  3087. int XWriteBitmapFile(Display *display, const char *filename, Pixmap bitmap, unsigned int width, unsigned int height, int x_hot, int    y_hot)
  3088. {
  3089. }
  3090.  
  3091. /* <X11/Xlib.h> */
  3092. Bool XSupportsLocale(void)
  3093. {
  3094. }
  3095.  
  3096. /* <X11/Xlib.h> */
  3097. char *XSetLocaleModifiers(const char *modifier_list)
  3098. {
  3099. }
  3100.  
  3101. /* <X11/Xlib.h> */
  3102. XOM XOpenOM(Display *display, struct _XrmHashBucketRec *rdb, const char *res_name, const char *res_class)
  3103. {
  3104. }
  3105.  
  3106. /* <X11/Xlib.h> */
  3107. Status XCloseOM(XOM om)
  3108. {
  3109. }
  3110.  
  3111. /* <X11/Xlib.h> */
  3112. char *XSetOMValues(XOM om, ...)
  3113. {
  3114. }
  3115.  
  3116. /* <X11/Xlib.h> */
  3117. char *XGetOMValues(XOM om, ...)
  3118. {
  3119. }
  3120.  
  3121. /* <X11/Xlib.h> */
  3122. Display *XDisplayOfOM(XOM om)
  3123. {
  3124. }
  3125.  
  3126. /* <X11/Xlib.h> */
  3127. char *XLocaleOfOM(XOM om)
  3128. {
  3129. }
  3130.  
  3131. /* <X11/Xlib.h> */
  3132. XOC XCreateOC(XOM om, ...)
  3133. {
  3134. }
  3135.  
  3136. /* <X11/Xlib.h> */
  3137. void XDestroyOC(XOC oc)
  3138. {
  3139. }
  3140.  
  3141. /* <X11/Xlib.h> */
  3142. XOM XOMOfOC(XOC oc)
  3143. {
  3144. }
  3145.  
  3146. /* <X11/Xlib.h> */
  3147. char *XSetOCValues(XOC oc, ...)
  3148. {
  3149. }
  3150.  
  3151. /* <X11/Xlib.h> */
  3152. char *XGetOCValues(XOC oc, ...)
  3153. {
  3154. }
  3155.  
  3156. /* <X11/Xlib.h> */
  3157. XFontSet XCreateFontSet(Display *display, const char *base_font_name_list, char ***missing_charset_list, int *missing_charset_count, char **def_string)
  3158. {
  3159. }
  3160.  
  3161. /* <X11/Xlib.h> */
  3162. void XFreeFontSet(Display *display, XFontSet font_set)
  3163. {
  3164. }
  3165.  
  3166. /* <X11/Xlib.h> */
  3167. int XFontsOfFontSet(XFontSet font_set, XFontStruct ***font_struct_list, char ***font_name_list)
  3168. {
  3169. }
  3170.  
  3171. /* <X11/Xlib.h> */
  3172. char *XBaseFontNameListOfFontSet(XFontSet font_set)
  3173. {
  3174. }
  3175.  
  3176. /* <X11/Xlib.h> */
  3177. char *XLocaleOfFontSet(XFontSet font_set)
  3178. {
  3179. }
  3180.  
  3181. /* <X11/Xlib.h> */
  3182. Bool XContextDependentDrawing(XFontSet font_set)
  3183. {
  3184. }
  3185.  
  3186. /* <X11/Xlib.h> */
  3187. Bool XDirectionalDependentDrawing(XFontSet font_set)
  3188. {
  3189. }
  3190.  
  3191. /* <X11/Xlib.h> */
  3192. Bool XContextualDrawing(XFontSet font_set)
  3193. {
  3194. }
  3195.  
  3196. /* <X11/Xlib.h> */
  3197. XFontSetExtents *XExtentsOfFontSet(XFontSet font_set)
  3198. {
  3199. }
  3200.  
  3201. /* <X11/Xlib.h> */
  3202. int XmbTextEscapement(XFontSet font_set, const char *text, int bytes_text)
  3203. {
  3204. }
  3205.  
  3206. /* <X11/Xlib.h> */
  3207. int XwcTextEscapement(XFontSet font_set, const wchar_t *text, int num_wchars)
  3208. {
  3209. }
  3210.  
  3211. /* <X11/Xlib.h> */
  3212. int XmbTextExtents(XFontSet font_set, const char *text, int bytes_text, XRectangle *overall_ink_return, XRectangle *overall_logical_return)
  3213. {
  3214. }
  3215.  
  3216. /* <X11/Xlib.h> */
  3217. int XwcTextExtents(XFontSet font_set, const wchar_t *text, int num_wchars, XRectangle *overall_ink_return, XRectangle *overall_logical_return)
  3218. {
  3219. }
  3220.  
  3221. /* <X11/Xlib.h> */
  3222. Status XmbTextPerCharExtents(XFontSet font_set, const char *text, int bytes_text, XRectangle *ink_extents_buffer, XRectangle *logical_extents_buffer, int buffer_size, int *num_chars, XRectangle *overall_ink_return, XRectangle *overall_logical_return)
  3223. {
  3224. }
  3225.  
  3226. /* <X11/Xlib.h> */
  3227. Status XwcTextPerCharExtents(XFontSet font_set, const wchar_t *text, int num_wchars, XRectangle *ink_extents_buffer, XRectangle *logical_extents_buffer, int buffer_size, int *num_chars, XRectangle *overall_ink_return, XRectangle *overall_logical_return)
  3228. {
  3229. }
  3230.  
  3231. /* <X11/Xlib.h> */
  3232. void XmbDrawText(Display *display, Drawable d, GC gc, int x, int y, XmbTextItem *text_items, int nitems)
  3233. {
  3234. }
  3235.  
  3236. /* <X11/Xlib.h> */
  3237. void XwcDrawText(Display *display, Drawable d, GC gc, int x, int y, XwcTextItem *text_items, int nitems)
  3238. {
  3239. }
  3240.  
  3241. /* <X11/Xlib.h> */
  3242. void XmbDrawString(Display *display, Drawable d, XFontSet font_set, GC gc, int x, int y, const char *text, int bytes_text)
  3243. {
  3244. }
  3245.  
  3246. /* <X11/Xlib.h> */
  3247. void XwcDrawString(Display *display, Drawable d, XFontSet font_set, GC gc, int x, int y, const wchar_t *text, int num_wchars)
  3248. {
  3249. }
  3250.  
  3251. /* <X11/Xlib.h> */
  3252. void XmbDrawImageString(Display *display, Drawable d, XFontSet font_set, GC gc, int x, int y, const char *text, int bytes_text)
  3253. {
  3254. }
  3255.  
  3256. /* <X11/Xlib.h> */
  3257. void XwcDrawImageString(Display *display, Drawable d, XFontSet font_set, GC gc, int x, int y, const wchar_t *text, int num_wchars)
  3258. {
  3259. }
  3260.  
  3261. /* <X11/Xlib.h> */
  3262. XIM XOpenIM(Display *dpy, struct _XrmHashBucketRec *rdb, char *res_name, char *res_class)
  3263. {
  3264. }
  3265.  
  3266. /* <X11/Xlib.h> */
  3267. Status XCloseIM(XIM im)
  3268. {
  3269. }
  3270.  
  3271. /* <X11/Xlib.h> */
  3272. char *XGetIMValues(XIM im, ...)
  3273. {
  3274. }
  3275.  
  3276. /* <X11/Xlib.h> */
  3277. char *XSetIMValues(XIM im, ...)
  3278. {
  3279. }
  3280.  
  3281. /* <X11/Xlib.h> */
  3282. Display *XDisplayOfIM(XIM im)
  3283. {
  3284. }
  3285.  
  3286. /* <X11/Xlib.h> */
  3287. char *XLocaleOfIM(XIM im)
  3288. {
  3289. }
  3290.  
  3291. /* <X11/Xlib.h> */
  3292. XIC XCreateIC(XIM im, ...)
  3293. {
  3294. }
  3295.  
  3296. /* <X11/Xlib.h> */
  3297. void XDestroyIC(XIC ic)
  3298. {
  3299. }
  3300.  
  3301. /* <X11/Xlib.h> */
  3302. void XSetICFocus(XIC ic)
  3303. {
  3304. }
  3305.  
  3306. /* <X11/Xlib.h> */
  3307. void XUnsetICFocus(XIC ic)
  3308. {
  3309. }
  3310.  
  3311. /* <X11/Xlib.h> */
  3312. wchar_t *XwcResetIC(XIC ic)
  3313. {
  3314. }
  3315.  
  3316. /* <X11/Xlib.h> */
  3317. char *XmbResetIC(XIC ic)
  3318. {
  3319. }
  3320.  
  3321. /* <X11/Xlib.h> */
  3322. char *XSetICValues(XIC ic, ...)
  3323. {
  3324. }
  3325.  
  3326. /* <X11/Xlib.h> */
  3327. char *XGetICValues(XIC ic, ...)
  3328. {
  3329. }
  3330.  
  3331. /* <X11/Xlib.h> */
  3332. XIM XIMOfIC(XIC ic)
  3333. {
  3334. }
  3335.  
  3336. /* <X11/Xlib.h> */
  3337. Bool XFilterEvent(XEvent *event, Window window)
  3338. {
  3339. }
  3340.  
  3341. /* <X11/Xlib.h> */
  3342. int XmbLookupString(XIC ic, XKeyPressedEvent *event, char *buffer_return, int bytes_buffer, KeySym *keysym_return, Status *status_return)
  3343. {
  3344. }
  3345.  
  3346. /* <X11/Xlib.h> */
  3347. int XwcLookupString(XIC ic, XKeyPressedEvent *event, wchar_t *buffer_return, int wchars_buffer, KeySym *keysym_return, Status *status_return)
  3348. {
  3349. }
  3350.  
  3351. /* <X11/Xlib.h> */
  3352. XVaNestedList XVaCreateNestedList(int dummy, ...)
  3353. {
  3354. }
  3355.  
  3356. /* <X11/Xlib.h> */
  3357. Bool XRegisterIMInstantiateCallback(Display *dpy, struct _XrmHashBucketRec *rdb, char *res_name, char *res_class, XIDProc callback, XPointer client_data)
  3358. {
  3359. }
  3360.  
  3361. /* <X11/Xlib.h> */
  3362. Bool XUnregisterIMInstantiateCallback(Display *dpy, struct _XrmHashBucketRec *rdb, char *res_name, char *res_class, XIDProc callback, XPointer client_data)
  3363. {
  3364. }
  3365.  
  3366. /* <X11/Xlib.h> */
  3367. Status XInternalConnectionNumbers(Display *dpy, int **fd_return, int *count_return)
  3368. {
  3369. }
  3370.  
  3371. /* <X11/Xlib.h> */
  3372. void XProcessInternalConnection(Display *dpy, int fd)
  3373. {
  3374. }
  3375.  
  3376. /* <X11/Xlib.h> */
  3377. Status XAddConnectionWatch(Display *dpy, XConnectionWatchProc callback, XPointer client_data)
  3378. {
  3379. }
  3380.  
  3381. /* <X11/Xlib.h> */
  3382. void XRemoveConnectionWatch(Display *dpy, XConnectionWatchProc callback, XPointer client_data)
  3383. {
  3384. }
  3385.  
  3386. /* <X11/Xutil.h> */
  3387. XClassHint *XAllocClassHint (void)
  3388. {
  3389. }
  3390.  
  3391. /* <X11/Xutil.h> */
  3392. XIconSize *XAllocIconSize (void)
  3393. {
  3394. }
  3395.  
  3396. /* <X11/Xutil.h> */
  3397. XSizeHints *XAllocSizeHints (void)
  3398. {
  3399. }
  3400.  
  3401. /* <X11/Xutil.h> */
  3402. XStandardColormap *XAllocStandardColormap (void)
  3403. {
  3404. }
  3405.  
  3406. /* <X11/Xutil.h> */
  3407. XWMHints *XAllocWMHints (void)
  3408. {
  3409. }
  3410.  
  3411. /* <X11/Xutil.h> */
  3412. int XClipBox(Region r, XRectangle* rect_return)
  3413. {
  3414. }
  3415.  
  3416. /* <X11/Xutil.h> */
  3417. Region XCreateRegion(void)
  3418. {
  3419. }
  3420.  
  3421. /* <X11/Xutil.h> */
  3422. char *XDefaultString(void)
  3423. {
  3424. }
  3425.  
  3426. /* <X11/Xutil.h> */
  3427. int XDeleteContext(Display* display, XID rid, XContext context)
  3428. {
  3429. }
  3430.  
  3431. /* <X11/Xutil.h> */
  3432. int XDestroyRegion(Region r)
  3433. {
  3434. }
  3435.  
  3436. /* <X11/Xutil.h> */
  3437. int XEmptyRegion(Region r)
  3438. {
  3439. }
  3440.  
  3441. /* <X11/Xutil.h> */
  3442. int XEqualRegion(Region r1, Region r2)
  3443. {
  3444. }
  3445.  
  3446. /* <X11/Xutil.h> */
  3447. int XFindContext(Display* display, XID rid, XContext context, XPointer* data_return)
  3448. {
  3449. }
  3450.  
  3451. /* <X11/Xutil.h> */
  3452. Status XGetClassHint(Display* display, Window w, XClassHint* class_hints_return)
  3453. {
  3454. }
  3455.  
  3456. /* <X11/Xutil.h> */
  3457. Status XGetIconSizes(Display* display, Window w, XIconSize** size_list_return, int* count_return)
  3458. {
  3459. }
  3460.  
  3461. /* <X11/Xutil.h> */
  3462. Status XGetNormalHints(Display* display, Window w, XSizeHints* hints_return)
  3463. {
  3464. }
  3465.  
  3466. /* <X11/Xutil.h> */
  3467. Status XGetRGBColormaps(Display* display, Window w, XStandardColormap** stdcmap_return, int* count_return, Atom property)
  3468. {
  3469. }
  3470.  
  3471. /* <X11/Xutil.h> */
  3472. Status XGetSizeHints(Display* display, Window w, XSizeHints* hints_return, Atom property)
  3473. {
  3474. }
  3475.  
  3476. /* <X11/Xutil.h> */
  3477. Status XGetStandardColormap(Display* display, Window w, XStandardColormap* colormap_return, Atom        /* property */                )
  3478. {
  3479. }
  3480.  
  3481. /* <X11/Xutil.h> */
  3482. Status XGetTextProperty(Display* display, Window window, XTextProperty* text_prop_return, Atom property)
  3483. {
  3484. }
  3485.  
  3486. /* <X11/Xutil.h> */
  3487. XVisualInfo *XGetVisualInfo(Display* display, long vinfo_mask, XVisualInfo* vinfo_template, int* nitems_return)
  3488. {
  3489. }
  3490.  
  3491. /* <X11/Xutil.h> */
  3492. Status XGetWMClientMachine(Display* display, Window w, XTextProperty* text_prop_return)
  3493. {
  3494. }
  3495.  
  3496. /* <X11/Xutil.h> */
  3497. XWMHints *XGetWMHints(Display* display, Window w)
  3498. {
  3499. }
  3500.  
  3501. /* <X11/Xutil.h> */
  3502. Status XGetWMIconName(Display* display, Window w, XTextProperty* text_prop_return)
  3503. {
  3504. }
  3505.  
  3506. /* <X11/Xutil.h> */
  3507. Status XGetWMName(Display* display, Window w, XTextProperty* text_prop_return)
  3508. {
  3509. }
  3510.  
  3511. /* <X11/Xutil.h> */
  3512. Status XGetWMNormalHints(Display* display, Window w, XSizeHints* hints_return, long* supplied_return)
  3513. {
  3514. }
  3515.  
  3516. /* <X11/Xutil.h> */
  3517. Status XGetWMSizeHints(Display* display, Window w, XSizeHints* hints_return, long* supplied_return, Atom property)
  3518. {
  3519. }
  3520.  
  3521. /* <X11/Xutil.h> */
  3522. Status XGetZoomHints(Display* display, Window w, XSizeHints* zhints_return)
  3523. {
  3524. }
  3525.  
  3526. /* <X11/Xutil.h> */
  3527. int XIntersectRegion(Region sra, Region srb, Region dr_return)
  3528. {
  3529. }
  3530.  
  3531. /* <X11/Xutil.h> */
  3532. void XConvertCase(KeySym sym, KeySym* lower, KeySym* upper)
  3533. {
  3534. }
  3535.  
  3536. /* <X11/Xutil.h> */
  3537. int XLookupString(XKeyEvent* event_struct, char* buffer_return, int bytes_buffer, KeySym* keysym_return, XComposeStatus* status_in_out)
  3538. {
  3539. }
  3540.  
  3541. /* <X11/Xutil.h> */
  3542. Status XMatchVisualInfo(Display* display, int screen, int depth, int class, XVisualInfo* vinfo_return)
  3543. {
  3544. }
  3545.  
  3546. /* <X11/Xutil.h> */
  3547. int XOffsetRegion(Region r, int dx, int dy)
  3548. {
  3549. }
  3550.  
  3551. /* <X11/Xutil.h> */
  3552. Bool XPointInRegion(Region r, int x, int y)
  3553. {
  3554. }
  3555.  
  3556. /* <X11/Xutil.h> */
  3557. Region XPolygonRegion(XPoint* points, int n, int fill_rule)
  3558. {
  3559. }
  3560.  
  3561. /* <X11/Xutil.h> */
  3562. int XRectInRegion(Region r, int x, int y, unsigned int width, unsigned int height)
  3563. {
  3564. }
  3565.  
  3566. /* <X11/Xutil.h> */
  3567. int XSaveContext(Display* display, XID rid, XContext context, const char* data)
  3568. {
  3569. }
  3570.  
  3571. /* <X11/Xutil.h> */
  3572. int XSetClassHint(Display* display, Window w, XClassHint* class_hints)
  3573. {
  3574. }
  3575.  
  3576. /* <X11/Xutil.h> */
  3577. int XSetIconSizes(Display* display, Window w, XIconSize* size_list, int    count)
  3578. {
  3579. }
  3580.  
  3581. /* <X11/Xutil.h> */
  3582. int XSetNormalHints(Display* display, Window w, XSizeHints* hints)
  3583. {
  3584. }
  3585.  
  3586. /* <X11/Xutil.h> */
  3587. void XSetRGBColormaps(Display* display, Window w, XStandardColormap* stdcmaps, int count, Atom property)
  3588. {
  3589. }
  3590.  
  3591. /* <X11/Xutil.h> */
  3592. int XSetSizeHints(Display* display, Window w, XSizeHints* hints, Atom property)
  3593. {
  3594. }
  3595.  
  3596. /* <X11/Xutil.h> */
  3597. int XSetStandardProperties(Display* display, Window w, const char* window_name, const char* icon_name, Pixmap icon_pixmap, char** argv, int argc, XSizeHints* hints)
  3598. {
  3599. }
  3600.  
  3601. /* <X11/Xutil.h> */
  3602. void XSetTextProperty(Display* display, Window w, XTextProperty* text_prop, Atom property)
  3603. {
  3604. }
  3605.  
  3606. /* <X11/Xutil.h> */
  3607. void XSetWMClientMachine(Display* display, Window w, XTextProperty* text_prop)
  3608. {
  3609. }
  3610.  
  3611. /* <X11/Xutil.h> */
  3612. int XSetWMHints(Display* display, Window w, XWMHints* wm_hints)
  3613. {
  3614. }
  3615.  
  3616. /* <X11/Xutil.h> */
  3617. void XSetWMIconName(Display* display, Window w, XTextProperty* text_prop)
  3618. {
  3619. }
  3620.  
  3621. /* <X11/Xutil.h> */
  3622. void XSetWMName(Display* display, Window w, XTextProperty* text_prop)
  3623. {
  3624. }
  3625.  
  3626. /* <X11/Xutil.h> */
  3627. void XSetWMNormalHints(Display* display, Window w, XSizeHints* hints)
  3628. {
  3629. }
  3630.  
  3631. /* <X11/Xutil.h> */
  3632. void XSetWMProperties(Display* display, Window w, XTextProperty* window_name, XTextProperty* icon_name, char** argv, int argc, XSizeHints* normal_hints, XWMHints* wm_hints, XClassHint* class_hints)
  3633. {
  3634. }
  3635.  
  3636. /* <X11/Xutil.h> */
  3637. void XmbSetWMProperties(Display* display, Window w, const char* window_name, const char* icon_name, char** argv, int argc, XSizeHints* normal_hints, XWMHints* wm_hints, XClassHint* class_hints)
  3638. {
  3639. }
  3640.  
  3641. /* <X11/Xutil.h> */
  3642. void XSetWMSizeHints(Display* display, Window w, XSizeHints* hints, Atom property)
  3643. {
  3644. }
  3645.  
  3646. /* <X11/Xutil.h> */
  3647. int XSetRegion(Display* display, GC gc, Region r)
  3648. {
  3649. }
  3650.  
  3651. /* <X11/Xutil.h> */
  3652. void XSetStandardColormap(Display* display, Window w, XStandardColormap* colormap, Atom property)
  3653. {
  3654. }
  3655.  
  3656. /* <X11/Xutil.h> */
  3657. int XSetZoomHints(Display* display, Window w, XSizeHints* zhints)
  3658. {
  3659. }
  3660.  
  3661. /* <X11/Xutil.h> */
  3662. int XShrinkRegion(Region r, int dx, int dy)
  3663. {
  3664. }
  3665.  
  3666. /* <X11/Xutil.h> */
  3667. Status XStringListToTextProperty(char** list, int count, XTextProperty* text_prop_return)
  3668. {
  3669. }
  3670.  
  3671. /* <X11/Xutil.h> */
  3672. int XSubtractRegion(Region sra, Region srb, Region dr_return)
  3673. {
  3674. }
  3675.  
  3676. /* <X11/Xutil.h> */
  3677. int XmbTextListToTextProperty(Display* display, char** list, int count, XICCEncodingStyle style, XTextProperty* text_prop_return)
  3678. {
  3679. }
  3680.  
  3681. /* <X11/Xutil.h> */
  3682. int XwcTextListToTextProperty(Display* display, wchar_t** list, int count, XICCEncodingStyle style, XTextProperty* text_prop_return)
  3683. {
  3684. }
  3685.  
  3686. /* <X11/Xutil.h> */
  3687. void XwcFreeStringList(wchar_t** list)
  3688. {
  3689. }
  3690.  
  3691. /* <X11/Xutil.h> */
  3692. Status XTextPropertyToStringList(XTextProperty* text_prop, char*** list_return, int* count_return)
  3693. {
  3694. }
  3695.  
  3696. /* <X11/Xutil.h> */
  3697. int XmbTextPropertyToTextList(Display* display, XTextProperty* text_prop, char*** list_return, int* count_return)
  3698. {
  3699. }
  3700.  
  3701. /* <X11/Xutil.h> */
  3702. int XwcTextPropertyToTextList(Display* display, XTextProperty* text_prop, wchar_t*** list_return, int* count_return)
  3703. {
  3704. }
  3705.  
  3706. /* <X11/Xutil.h> */
  3707. int XUnionRectWithRegion(XRectangle* rectangle, Region src_region, Region dest_region_return)
  3708. {
  3709. }
  3710.  
  3711. /* <X11/Xutil.h> */
  3712. int XUnionRegion(Region sra, Region srb, Region dr_return)
  3713. {
  3714. }
  3715.  
  3716. /* <X11/Xutil.h> */
  3717. int XWMGeometry(Display* display, int screen_number, const char* user_geometry, const char* default_geometry, unsigned int border_width, XSizeHints* hints, int* x_return, int* y_return, int* width_return, int* height_return, int* gravity_return)
  3718. {
  3719. }
  3720.  
  3721. /* <X11/Xutil.h> */
  3722. int XXorRegion(Region sra, Region srb, Region dr_return)
  3723. {
  3724. }
  3725.  
  3726. /***********************************************************
  3727.  
  3728. Copyright (c) 1987  X Consortium
  3729.  
  3730. Permission is hereby granted, free of charge, to any person obtaining a copy
  3731. of this software and associated documentation files (the "Software"), to deal
  3732. in the Software without restriction, including without limitation the rights
  3733. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  3734. copies of the Software, and to permit persons to whom the Software is
  3735. furnished to do so, subject to the following conditions:
  3736.  
  3737. The above copyright notice and this permission notice shall be included in
  3738. all copies or substantial portions of the Software.
  3739.  
  3740. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  3741. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  3742. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  3743. X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  3744. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  3745. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  3746.  
  3747. Except as contained in this notice, the name of the X Consortium shall not be
  3748. used in advertising or otherwise to promote the sale, use or other dealings
  3749. in this Software without prior written authorization from the X Consortium.
  3750.  
  3751.  
  3752. Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
  3753.  
  3754.                         All Rights Reserved
  3755.  
  3756. Permission to use, copy, modify, and distribute this software and its 
  3757. documentation for any purpose and without fee is hereby granted, 
  3758. provided that the above copyright notice appear in all copies and that
  3759. both that copyright notice and this permission notice appear in 
  3760. supporting documentation, and that the name of Digital not be
  3761. used in advertising or publicity pertaining to distribution of the
  3762. software without specific, written prior permission.  
  3763.  
  3764. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  3765. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  3766. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  3767. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  3768. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  3769. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  3770. SOFTWARE.
  3771.  
  3772. ******************************************************************/
  3773.