| 1 | #ifdef _XLIB |
| 2 | #if (defined(__WIN32__) || defined(__PM__)) && !defined(DO_X_EXCLUDE) |
| 3 | # define DO_X_EXCLUDE |
| 4 | #endif |
| 5 | #ifndef DO_X_EXCLUDE |
| 6 | #ifndef XAllocClassHint |
| 7 | VFUNC(XClassHint *,XAllocClassHint,V_XAllocClassHint,_ANSI_ARGS_((void))) |
| 8 | #endif |
| 9 | #endif /* !DO_X_EXCLUDE */ |
| 10 | |
| 11 | #ifndef XAllocColor |
| 12 | VFUNC(int,XAllocColor,V_XAllocColor,_ANSI_ARGS_((Display *, Colormap, XColor *))) |
| 13 | #endif |
| 14 | |
| 15 | #ifndef DO_X_EXCLUDE |
| 16 | #ifndef XAllocNamedColor |
| 17 | VFUNC(int,XAllocNamedColor,V_XAllocNamedColor,_ANSI_ARGS_((Display *, Colormap, const char *, XColor *, XColor *))) |
| 18 | #endif |
| 19 | #endif /* !DO_X_EXCLUDE */ |
| 20 | |
| 21 | #ifndef DO_X_EXCLUDE |
| 22 | #ifndef XAllocSizeHints |
| 23 | VFUNC(XSizeHints *,XAllocSizeHints,V_XAllocSizeHints,_ANSI_ARGS_((void))) |
| 24 | #endif |
| 25 | #endif /* !DO_X_EXCLUDE */ |
| 26 | |
| 27 | #ifndef XBell |
| 28 | VFUNC(int,XBell,V_XBell,_ANSI_ARGS_((Display *, int))) |
| 29 | #endif |
| 30 | |
| 31 | #ifndef XChangeGC |
| 32 | VFUNC(int,XChangeGC,V_XChangeGC,_ANSI_ARGS_(( Display*, GC, unsigned long, XGCValues *))) |
| 33 | #endif |
| 34 | |
| 35 | #ifndef XChangeProperty |
| 36 | VFUNC(int,XChangeProperty,V_XChangeProperty,_ANSI_ARGS_((Display *, Window, Atom, Atom, int, int, const unsigned char *, int))) |
| 37 | #endif |
| 38 | |
| 39 | #ifndef XChangeWindowAttributes |
| 40 | VFUNC(int,XChangeWindowAttributes,V_XChangeWindowAttributes,_ANSI_ARGS_((Display *, Window, long unsigned int, XSetWindowAttributes *))) |
| 41 | #endif |
| 42 | |
| 43 | #ifndef DO_X_EXCLUDE |
| 44 | #ifndef XCheckIfEvent |
| 45 | VFUNC(int,XCheckIfEvent,V_XCheckIfEvent,_ANSI_ARGS_((Display *, XEvent *, int (*) (Display *, XEvent *, char *), char *))) |
| 46 | #endif |
| 47 | #endif /* !DO_X_EXCLUDE */ |
| 48 | |
| 49 | #ifndef DO_X_EXCLUDE |
| 50 | #ifndef XCheckWindowEvent |
| 51 | VFUNC(int,XCheckWindowEvent,V_XCheckWindowEvent,_ANSI_ARGS_((Display *, Window, long int, XEvent *))) |
| 52 | #endif |
| 53 | #endif /* !DO_X_EXCLUDE */ |
| 54 | |
| 55 | #ifndef XClearWindow |
| 56 | VFUNC(int,XClearWindow,V_XClearWindow,_ANSI_ARGS_((Display *, Window))) |
| 57 | #endif |
| 58 | |
| 59 | #ifndef DO_X_EXCLUDE |
| 60 | #ifndef XClipBox |
| 61 | VFUNC(int,XClipBox,V_XClipBox,_ANSI_ARGS_((Region, XRectangle *))) |
| 62 | #endif |
| 63 | #endif /* !DO_X_EXCLUDE */ |
| 64 | |
| 65 | #ifndef XConfigureWindow |
| 66 | VFUNC(int,XConfigureWindow,V_XConfigureWindow,_ANSI_ARGS_((Display *, Window, unsigned int, XWindowChanges *))) |
| 67 | #endif |
| 68 | |
| 69 | #ifndef DO_X_EXCLUDE |
| 70 | #ifndef XConvertSelection |
| 71 | VFUNC(int,XConvertSelection,V_XConvertSelection,_ANSI_ARGS_((Display *, Atom, Atom, Atom, Window, Time))) |
| 72 | #endif |
| 73 | #endif /* !DO_X_EXCLUDE */ |
| 74 | |
| 75 | #ifndef XCopyArea |
| 76 | VFUNC(int,XCopyArea,V_XCopyArea,_ANSI_ARGS_((Display *, Drawable, Drawable, GC, int, int, unsigned int, unsigned int, int, int))) |
| 77 | #endif |
| 78 | |
| 79 | #ifndef XCopyPlane |
| 80 | VFUNC(int,XCopyPlane,V_XCopyPlane,_ANSI_ARGS_((Display *, Drawable, Drawable, GC, int, int, unsigned int, unsigned int, int, int, long unsigned int))) |
| 81 | #endif |
| 82 | |
| 83 | #ifndef XCreateBitmapFromData |
| 84 | VFUNC(Pixmap,XCreateBitmapFromData,V_XCreateBitmapFromData,_ANSI_ARGS_((Display *, Drawable, const char *, unsigned int, unsigned int))) |
| 85 | #endif |
| 86 | |
| 87 | #ifndef XCreateColormap |
| 88 | VFUNC(Colormap,XCreateColormap,V_XCreateColormap,_ANSI_ARGS_((Display *, Window, Visual *, int))) |
| 89 | #endif |
| 90 | |
| 91 | #ifndef XCreateGC |
| 92 | VFUNC(GC,XCreateGC,V_XCreateGC,_ANSI_ARGS_((Display *, Drawable, long unsigned int, XGCValues *))) |
| 93 | #endif |
| 94 | |
| 95 | #ifndef XCreateGlyphCursor |
| 96 | VFUNC(Cursor,XCreateGlyphCursor,V_XCreateGlyphCursor,_ANSI_ARGS_((Display *, Font, Font, unsigned int, unsigned int, XColor const *, XColor const *))) |
| 97 | #endif |
| 98 | |
| 99 | #ifndef XCreateImage |
| 100 | VFUNC(XImage *,XCreateImage,V_XCreateImage,_ANSI_ARGS_((Display *, Visual *, unsigned int, int, int, char *, unsigned int, unsigned int, int, int))) |
| 101 | #endif |
| 102 | |
| 103 | #ifndef XCreatePixmapCursor |
| 104 | VFUNC(Cursor,XCreatePixmapCursor,V_XCreatePixmapCursor,_ANSI_ARGS_((Display *, Pixmap, Pixmap, XColor *, XColor *, unsigned int, unsigned int))) |
| 105 | #endif |
| 106 | |
| 107 | #ifndef DO_X_EXCLUDE |
| 108 | #ifndef XCreateRegion |
| 109 | VFUNC(Region,XCreateRegion,V_XCreateRegion,_ANSI_ARGS_((void))) |
| 110 | #endif |
| 111 | #endif /* !DO_X_EXCLUDE */ |
| 112 | |
| 113 | #ifndef DO_X_EXCLUDE |
| 114 | #ifndef XCreateWindow |
| 115 | VFUNC(Window,XCreateWindow,V_XCreateWindow,_ANSI_ARGS_((Display *, Window, int, int, unsigned int, unsigned int, unsigned int, int, unsigned int, Visual *, long unsigned int, XSetWindowAttributes *))) |
| 116 | #endif |
| 117 | #endif /* !DO_X_EXCLUDE */ |
| 118 | |
| 119 | #ifndef DO_X_EXCLUDE |
| 120 | #ifndef XDefaultColormap |
| 121 | VFUNC(Colormap,XDefaultColormap,V_XDefaultColormap,_ANSI_ARGS_((Display *, int))) |
| 122 | #endif |
| 123 | #endif /* !DO_X_EXCLUDE */ |
| 124 | |
| 125 | #ifndef DO_X_EXCLUDE |
| 126 | #ifndef XDefaultDepth |
| 127 | VFUNC(int,XDefaultDepth,V_XDefaultDepth,_ANSI_ARGS_((Display *, int))) |
| 128 | #endif |
| 129 | #endif /* !DO_X_EXCLUDE */ |
| 130 | |
| 131 | #ifndef DO_X_EXCLUDE |
| 132 | #ifndef XDefaultScreen |
| 133 | VFUNC(int,XDefaultScreen,V_XDefaultScreen,_ANSI_ARGS_((Display *))) |
| 134 | #endif |
| 135 | #endif /* !DO_X_EXCLUDE */ |
| 136 | |
| 137 | #ifndef DO_X_EXCLUDE |
| 138 | #ifndef XDefaultVisual |
| 139 | VFUNC(Visual *,XDefaultVisual,V_XDefaultVisual,_ANSI_ARGS_((Display *, int))) |
| 140 | #endif |
| 141 | #endif /* !DO_X_EXCLUDE */ |
| 142 | |
| 143 | #ifndef XDefineCursor |
| 144 | VFUNC(int,XDefineCursor,V_XDefineCursor,_ANSI_ARGS_((Display *, Window, Cursor))) |
| 145 | #endif |
| 146 | |
| 147 | #ifndef XDeleteProperty |
| 148 | VFUNC(int,XDeleteProperty,V_XDeleteProperty,_ANSI_ARGS_((Display *, Window, Atom))) |
| 149 | #endif |
| 150 | |
| 151 | #ifndef DO_X_EXCLUDE |
| 152 | #ifndef XDestroyRegion |
| 153 | VFUNC(int,XDestroyRegion,V_XDestroyRegion,_ANSI_ARGS_((Region))) |
| 154 | #endif |
| 155 | #endif /* !DO_X_EXCLUDE */ |
| 156 | |
| 157 | #ifndef XDestroyWindow |
| 158 | VFUNC(int,XDestroyWindow,V_XDestroyWindow,_ANSI_ARGS_((Display *, Window))) |
| 159 | #endif |
| 160 | |
| 161 | #ifndef XDrawArc |
| 162 | VFUNC(int,XDrawArc,V_XDrawArc,_ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int, int, int))) |
| 163 | #endif |
| 164 | |
| 165 | #ifndef DO_X_EXCLUDE |
| 166 | #ifndef XDrawImageString |
| 167 | VFUNC(int,XDrawImageString,V_XDrawImageString,_ANSI_ARGS_((Display *, Drawable, GC, int, int, const char *, int))) |
| 168 | #endif |
| 169 | #endif /* !DO_X_EXCLUDE */ |
| 170 | |
| 171 | #ifndef XDrawLine |
| 172 | VFUNC(int,XDrawLine,V_XDrawLine,_ANSI_ARGS_((Display *, Drawable, GC, int, int, int, int))) |
| 173 | #endif |
| 174 | |
| 175 | #ifndef XDrawLines |
| 176 | VFUNC(int,XDrawLines,V_XDrawLines,_ANSI_ARGS_((Display *, Drawable, GC, XPoint *, int, int))) |
| 177 | #endif |
| 178 | |
| 179 | #ifndef XDrawPoints |
| 180 | VFUNC(int,XDrawPoints,V_XDrawPoints,_ANSI_ARGS_(( Display*, Drawable, GC, XPoint*, int, int))) |
| 181 | #endif |
| 182 | |
| 183 | #ifndef XDrawRectangle |
| 184 | VFUNC(int,XDrawRectangle,V_XDrawRectangle,_ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int))) |
| 185 | #endif |
| 186 | |
| 187 | #ifndef DO_X_EXCLUDE |
| 188 | #ifndef XDrawString |
| 189 | VFUNC(int,XDrawString,V_XDrawString,_ANSI_ARGS_((Display *, Drawable, GC, int, int, const char *, int))) |
| 190 | #endif |
| 191 | #endif /* !DO_X_EXCLUDE */ |
| 192 | |
| 193 | #ifndef DO_X_EXCLUDE |
| 194 | #ifndef XEventsQueued |
| 195 | VFUNC(int,XEventsQueued,V_XEventsQueued,_ANSI_ARGS_((Display *, int))) |
| 196 | #endif |
| 197 | #endif /* !DO_X_EXCLUDE */ |
| 198 | |
| 199 | #ifndef XFillArc |
| 200 | VFUNC(int,XFillArc,V_XFillArc,_ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int, int, int))) |
| 201 | #endif |
| 202 | |
| 203 | #ifndef XFillPolygon |
| 204 | VFUNC(int,XFillPolygon,V_XFillPolygon,_ANSI_ARGS_((Display *, Drawable, GC, XPoint *, int, int, int))) |
| 205 | #endif |
| 206 | |
| 207 | #ifndef XFillRectangle |
| 208 | VFUNC(int,XFillRectangle,V_XFillRectangle,_ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int))) |
| 209 | #endif |
| 210 | |
| 211 | #ifndef XFillRectangles |
| 212 | VFUNC(int,XFillRectangles,V_XFillRectangles,_ANSI_ARGS_((Display *, Drawable, GC, XRectangle *, int))) |
| 213 | #endif |
| 214 | |
| 215 | #ifndef XFlush |
| 216 | VFUNC(int,XFlush,V_XFlush,_ANSI_ARGS_((Display *))) |
| 217 | #endif |
| 218 | |
| 219 | #ifndef XFree |
| 220 | VFUNC(int,XFree,V_XFree,_ANSI_ARGS_((XFree_arg_t *))) |
| 221 | #endif |
| 222 | |
| 223 | #ifndef XFreeColormap |
| 224 | VFUNC(int,XFreeColormap,V_XFreeColormap,_ANSI_ARGS_((Display *, Colormap))) |
| 225 | #endif |
| 226 | |
| 227 | #ifndef XFreeColors |
| 228 | VFUNC(int,XFreeColors,V_XFreeColors,_ANSI_ARGS_((Display *, Colormap, long unsigned int *, int, long unsigned int))) |
| 229 | #endif |
| 230 | |
| 231 | #ifndef XFreeCursor |
| 232 | VFUNC(int,XFreeCursor,V_XFreeCursor,_ANSI_ARGS_((Display *, Cursor))) |
| 233 | #endif |
| 234 | |
| 235 | #ifndef DO_X_EXCLUDE |
| 236 | #ifndef XFreeFont |
| 237 | VFUNC(int,XFreeFont,V_XFreeFont,_ANSI_ARGS_((Display *, XFontStruct *))) |
| 238 | #endif |
| 239 | #endif /* !DO_X_EXCLUDE */ |
| 240 | |
| 241 | #ifndef DO_X_EXCLUDE |
| 242 | #ifndef XFreeFontNames |
| 243 | VFUNC(int,XFreeFontNames,V_XFreeFontNames,_ANSI_ARGS_((char **))) |
| 244 | #endif |
| 245 | #endif /* !DO_X_EXCLUDE */ |
| 246 | |
| 247 | #ifndef XFreeGC |
| 248 | VFUNC(int,XFreeGC,V_XFreeGC,_ANSI_ARGS_((Display *, GC))) |
| 249 | #endif |
| 250 | |
| 251 | #ifndef XFreeModifiermap |
| 252 | VFUNC(int,XFreeModifiermap,V_XFreeModifiermap,_ANSI_ARGS_((XModifierKeymap *))) |
| 253 | #endif |
| 254 | |
| 255 | #ifndef XGContextFromGC |
| 256 | VFUNC(GContext,XGContextFromGC,V_XGContextFromGC,_ANSI_ARGS_((GC))) |
| 257 | #endif |
| 258 | |
| 259 | #ifndef XGetAtomName |
| 260 | VFUNC(char *,XGetAtomName,V_XGetAtomName,_ANSI_ARGS_((Display *, Atom))) |
| 261 | #endif |
| 262 | |
| 263 | #ifndef DO_X_EXCLUDE |
| 264 | #ifndef XGetFontProperty |
| 265 | VFUNC(int,XGetFontProperty,V_XGetFontProperty,_ANSI_ARGS_((XFontStruct *, Atom, long unsigned int *))) |
| 266 | #endif |
| 267 | #endif /* !DO_X_EXCLUDE */ |
| 268 | |
| 269 | #ifndef XGetGeometry |
| 270 | VFUNC(int,XGetGeometry,V_XGetGeometry,_ANSI_ARGS_((Display *, Drawable, Window *, int *, int *, unsigned int *, unsigned int *, unsigned int *, unsigned int *))) |
| 271 | #endif |
| 272 | |
| 273 | #ifndef XGetImage |
| 274 | VFUNC(XImage *,XGetImage,V_XGetImage,_ANSI_ARGS_((Display *, Drawable, int, int, unsigned int, unsigned int, long unsigned int, int))) |
| 275 | #endif |
| 276 | |
| 277 | #ifndef XGetInputFocus |
| 278 | VFUNC(int,XGetInputFocus,V_XGetInputFocus,_ANSI_ARGS_((Display *, Window *, int *))) |
| 279 | #endif |
| 280 | |
| 281 | #ifndef XGetModifierMapping |
| 282 | VFUNC(XModifierKeymap *,XGetModifierMapping,V_XGetModifierMapping,_ANSI_ARGS_((Display *))) |
| 283 | #endif |
| 284 | |
| 285 | #ifndef DO_X_EXCLUDE |
| 286 | #ifndef XGetSelectionOwner |
| 287 | VFUNC(Window,XGetSelectionOwner,V_XGetSelectionOwner,_ANSI_ARGS_((Display *, Atom))) |
| 288 | #endif |
| 289 | #endif /* !DO_X_EXCLUDE */ |
| 290 | |
| 291 | #ifndef XGetVisualInfo |
| 292 | VFUNC(XVisualInfo *,XGetVisualInfo,V_XGetVisualInfo,_ANSI_ARGS_((Display *, long int, XVisualInfo *, int *))) |
| 293 | #endif |
| 294 | |
| 295 | #ifndef XGetWMColormapWindows |
| 296 | VFUNC(int,XGetWMColormapWindows,V_XGetWMColormapWindows,_ANSI_ARGS_((Display *, Window, Window **, int *))) |
| 297 | #endif |
| 298 | |
| 299 | #ifndef XGetWindowAttributes |
| 300 | VFUNC(int,XGetWindowAttributes,V_XGetWindowAttributes,_ANSI_ARGS_((Display *, Window, XWindowAttributes *))) |
| 301 | #endif |
| 302 | |
| 303 | #ifndef XGetWindowProperty |
| 304 | VFUNC(int,XGetWindowProperty,V_XGetWindowProperty,_ANSI_ARGS_((Display *, Window, Atom, long int, long int, int, Atom, Atom *, int *, long unsigned int *, long unsigned int *, unsigned char **))) |
| 305 | #endif |
| 306 | |
| 307 | #ifndef XGrabKeyboard |
| 308 | VFUNC(int,XGrabKeyboard,V_XGrabKeyboard,_ANSI_ARGS_((Display *, Window, int, int, int, Time))) |
| 309 | #endif |
| 310 | |
| 311 | #ifndef XGrabPointer |
| 312 | VFUNC(int,XGrabPointer,V_XGrabPointer,_ANSI_ARGS_((Display *, Window, int, unsigned int, int, int, Window, Cursor, Time))) |
| 313 | #endif |
| 314 | |
| 315 | #ifndef XGrabServer |
| 316 | VFUNC(int,XGrabServer,V_XGrabServer,_ANSI_ARGS_((Display *))) |
| 317 | #endif |
| 318 | |
| 319 | #ifndef XIconifyWindow |
| 320 | VFUNC(int,XIconifyWindow,V_XIconifyWindow,_ANSI_ARGS_((Display *, Window, int))) |
| 321 | #endif |
| 322 | |
| 323 | #ifndef XInternAtom |
| 324 | VFUNC(Atom,XInternAtom,V_XInternAtom,_ANSI_ARGS_((Display *, const char *, int))) |
| 325 | #endif |
| 326 | |
| 327 | #ifndef DO_X_EXCLUDE |
| 328 | #ifndef XIntersectRegion |
| 329 | VFUNC(int,XIntersectRegion,V_XIntersectRegion,_ANSI_ARGS_((Region, Region, Region))) |
| 330 | #endif |
| 331 | #endif /* !DO_X_EXCLUDE */ |
| 332 | |
| 333 | #ifndef XKeycodeToKeysym |
| 334 | VFUNC(KeySym,XKeycodeToKeysym,V_XKeycodeToKeysym,_ANSI_ARGS_((Display *, unsigned int, int))) |
| 335 | #endif |
| 336 | |
| 337 | #ifndef XKeysymToString |
| 338 | VFUNC(char *,XKeysymToString,V_XKeysymToString,_ANSI_ARGS_((KeySym))) |
| 339 | #endif |
| 340 | |
| 341 | #ifndef DO_X_EXCLUDE |
| 342 | #ifndef XListFonts |
| 343 | VFUNC(char **,XListFonts,V_XListFonts,_ANSI_ARGS_(( Display*, const char *, int, int *))) |
| 344 | #endif |
| 345 | #endif /* !DO_X_EXCLUDE */ |
| 346 | |
| 347 | #ifndef XListHosts |
| 348 | VFUNC(XHostAddress *,XListHosts,V_XListHosts,_ANSI_ARGS_((Display *, int *, int *))) |
| 349 | #endif |
| 350 | |
| 351 | #ifndef DO_X_EXCLUDE |
| 352 | #ifndef XListProperties |
| 353 | VFUNC(Atom *,XListProperties,V_XListProperties,_ANSI_ARGS_((Display *, Window, int *))) |
| 354 | #endif |
| 355 | #endif /* !DO_X_EXCLUDE */ |
| 356 | |
| 357 | #ifndef DO_X_EXCLUDE |
| 358 | #ifndef XLoadFont |
| 359 | VFUNC(Font,XLoadFont,V_XLoadFont,_ANSI_ARGS_((Display *, const char *))) |
| 360 | #endif |
| 361 | #endif /* !DO_X_EXCLUDE */ |
| 362 | |
| 363 | #ifndef DO_X_EXCLUDE |
| 364 | #ifndef XLoadQueryFont |
| 365 | VFUNC(XFontStruct *,XLoadQueryFont,V_XLoadQueryFont,_ANSI_ARGS_((Display *, const char *))) |
| 366 | #endif |
| 367 | #endif /* !DO_X_EXCLUDE */ |
| 368 | |
| 369 | #ifndef XLookupColor |
| 370 | VFUNC(int,XLookupColor,V_XLookupColor,_ANSI_ARGS_((Display *, Colormap, const char *, XColor *, XColor *))) |
| 371 | #endif |
| 372 | |
| 373 | #ifndef XLookupString |
| 374 | VFUNC(int,XLookupString,V_XLookupString,_ANSI_ARGS_((XKeyEvent *, char *, int, KeySym *, XComposeStatus *))) |
| 375 | #endif |
| 376 | |
| 377 | #ifndef XLowerWindow |
| 378 | VFUNC(int,XLowerWindow,V_XLowerWindow,_ANSI_ARGS_((Display *, Window))) |
| 379 | #endif |
| 380 | |
| 381 | #ifndef XMapWindow |
| 382 | VFUNC(int,XMapWindow,V_XMapWindow,_ANSI_ARGS_((Display *, Window))) |
| 383 | #endif |
| 384 | |
| 385 | #ifndef XMoveResizeWindow |
| 386 | VFUNC(int,XMoveResizeWindow,V_XMoveResizeWindow,_ANSI_ARGS_((Display *, Window, int, int, unsigned int, unsigned int))) |
| 387 | #endif |
| 388 | |
| 389 | #ifndef XMoveWindow |
| 390 | VFUNC(int,XMoveWindow,V_XMoveWindow,_ANSI_ARGS_((Display *, Window, int, int))) |
| 391 | #endif |
| 392 | |
| 393 | #ifndef XNextEvent |
| 394 | VFUNC(int,XNextEvent,V_XNextEvent,_ANSI_ARGS_((Display *, XEvent *))) |
| 395 | #endif |
| 396 | |
| 397 | #ifndef XNoOp |
| 398 | VFUNC(int,XNoOp,V_XNoOp,_ANSI_ARGS_((Display *))) |
| 399 | #endif |
| 400 | |
| 401 | #ifndef DO_X_EXCLUDE |
| 402 | #ifndef XOpenDisplay |
| 403 | VFUNC(Display *,XOpenDisplay,V_XOpenDisplay,_ANSI_ARGS_((const char *))) |
| 404 | #endif |
| 405 | #endif /* !DO_X_EXCLUDE */ |
| 406 | |
| 407 | #ifndef XParseColor |
| 408 | VFUNC(int,XParseColor,V_XParseColor,_ANSI_ARGS_((Display *, Colormap, const char *, XColor *))) |
| 409 | #endif |
| 410 | |
| 411 | #ifndef XPutBackEvent |
| 412 | VFUNC(int,XPutBackEvent,V_XPutBackEvent,_ANSI_ARGS_((Display *, XEvent *))) |
| 413 | #endif |
| 414 | |
| 415 | #ifndef DO_X_EXCLUDE |
| 416 | #ifndef XPutImage |
| 417 | VFUNC(int,XPutImage,V_XPutImage,_ANSI_ARGS_((Display *, Drawable, GC, XImage *, int, int, int, int, unsigned int, unsigned int))) |
| 418 | #endif |
| 419 | #endif /* !DO_X_EXCLUDE */ |
| 420 | |
| 421 | #ifndef XQueryColors |
| 422 | VFUNC(int,XQueryColors,V_XQueryColors,_ANSI_ARGS_((Display *, Colormap, XColor *, int))) |
| 423 | #endif |
| 424 | |
| 425 | #ifndef XQueryPointer |
| 426 | VFUNC(int,XQueryPointer,V_XQueryPointer,_ANSI_ARGS_((Display *, Window, Window *, Window *, int *, int *, int *, int *, unsigned int *))) |
| 427 | #endif |
| 428 | |
| 429 | #ifndef XQueryTree |
| 430 | VFUNC(int,XQueryTree,V_XQueryTree,_ANSI_ARGS_((Display *, Window, Window *, Window *, Window **, unsigned int *))) |
| 431 | #endif |
| 432 | |
| 433 | #ifndef XRaiseWindow |
| 434 | VFUNC(int,XRaiseWindow,V_XRaiseWindow,_ANSI_ARGS_((Display *, Window))) |
| 435 | #endif |
| 436 | |
| 437 | #ifndef DO_X_EXCLUDE |
| 438 | #ifndef XReadBitmapFile |
| 439 | VFUNC(int,XReadBitmapFile,V_XReadBitmapFile,_ANSI_ARGS_((Display *, Drawable, const char *, unsigned int *, unsigned int *, Pixmap *, int *, int *))) |
| 440 | #endif |
| 441 | #endif /* !DO_X_EXCLUDE */ |
| 442 | |
| 443 | #ifndef XRectInRegion |
| 444 | VFUNC(int,XRectInRegion,V_XRectInRegion,_ANSI_ARGS_(( Region,int,int,unsigned,unsigned))) |
| 445 | #endif |
| 446 | |
| 447 | #ifndef XRefreshKeyboardMapping |
| 448 | VFUNC(int,XRefreshKeyboardMapping,V_XRefreshKeyboardMapping,_ANSI_ARGS_((XMappingEvent *))) |
| 449 | #endif |
| 450 | |
| 451 | #ifndef XResizeWindow |
| 452 | VFUNC(int,XResizeWindow,V_XResizeWindow,_ANSI_ARGS_((Display *, Window, unsigned int, unsigned int))) |
| 453 | #endif |
| 454 | |
| 455 | #ifndef XRootWindow |
| 456 | VFUNC(Window,XRootWindow,V_XRootWindow,_ANSI_ARGS_((Display *, int))) |
| 457 | #endif |
| 458 | |
| 459 | #ifndef XSelectInput |
| 460 | VFUNC(int,XSelectInput,V_XSelectInput,_ANSI_ARGS_((Display *, Window, long int))) |
| 461 | #endif |
| 462 | |
| 463 | #ifndef XSendEvent |
| 464 | VFUNC(int,XSendEvent,V_XSendEvent,_ANSI_ARGS_((Display *, Window, int, long int, XEvent *))) |
| 465 | #endif |
| 466 | |
| 467 | #ifndef XSetBackground |
| 468 | VFUNC(int,XSetBackground,V_XSetBackground,_ANSI_ARGS_((Display *, GC, unsigned long))) |
| 469 | #endif |
| 470 | |
| 471 | #ifndef DO_X_EXCLUDE |
| 472 | #ifndef XSetClassHint |
| 473 | VFUNC(int,XSetClassHint,V_XSetClassHint,_ANSI_ARGS_((Display *, Window, XClassHint *))) |
| 474 | #endif |
| 475 | #endif /* !DO_X_EXCLUDE */ |
| 476 | |
| 477 | #ifndef XSetClipMask |
| 478 | VFUNC(int,XSetClipMask,V_XSetClipMask,_ANSI_ARGS_((Display *, GC, Pixmap))) |
| 479 | #endif |
| 480 | |
| 481 | #ifndef XSetClipOrigin |
| 482 | VFUNC(int,XSetClipOrigin,V_XSetClipOrigin,_ANSI_ARGS_((Display *, GC, int, int))) |
| 483 | #endif |
| 484 | |
| 485 | #ifndef XSetCommand |
| 486 | VFUNC(int,XSetCommand,V_XSetCommand,_ANSI_ARGS_((Display *, Window, char **, int))) |
| 487 | #endif |
| 488 | |
| 489 | #ifndef XSetDashes |
| 490 | VFUNC(int,XSetDashes,V_XSetDashes,_ANSI_ARGS_((Display *, GC, int, const char *, int))) |
| 491 | #endif |
| 492 | |
| 493 | #ifndef XSetErrorHandler |
| 494 | VFUNC(XErrorHandler,XSetErrorHandler,V_XSetErrorHandler,_ANSI_ARGS_((XErrorHandler))) |
| 495 | #endif |
| 496 | |
| 497 | #ifndef XSetForeground |
| 498 | VFUNC(int,XSetForeground,V_XSetForeground,_ANSI_ARGS_((Display *, GC, long unsigned int))) |
| 499 | #endif |
| 500 | |
| 501 | #ifndef XSetIconName |
| 502 | VFUNC(int,XSetIconName,V_XSetIconName,_ANSI_ARGS_((Display *, Window, const char *))) |
| 503 | #endif |
| 504 | |
| 505 | #ifndef XSetInputFocus |
| 506 | VFUNC(int,XSetInputFocus,V_XSetInputFocus,_ANSI_ARGS_((Display *, Window, int, Time))) |
| 507 | #endif |
| 508 | |
| 509 | #ifndef DO_X_EXCLUDE |
| 510 | #ifndef XSetRegion |
| 511 | VFUNC(int,XSetRegion,V_XSetRegion,_ANSI_ARGS_((Display *, GC, Region))) |
| 512 | #endif |
| 513 | #endif /* !DO_X_EXCLUDE */ |
| 514 | |
| 515 | #ifndef XSetSelectionOwner |
| 516 | VFUNC(int,XSetSelectionOwner,V_XSetSelectionOwner,_ANSI_ARGS_((Display *, Atom, Window, Time))) |
| 517 | #endif |
| 518 | |
| 519 | #ifndef XSetTSOrigin |
| 520 | VFUNC(int,XSetTSOrigin,V_XSetTSOrigin,_ANSI_ARGS_((Display *, GC, int, int))) |
| 521 | #endif |
| 522 | |
| 523 | #ifndef DO_X_EXCLUDE |
| 524 | #ifndef XSetTransientForHint |
| 525 | VFUNC(int,XSetTransientForHint,V_XSetTransientForHint,_ANSI_ARGS_((Display *, Window, Window))) |
| 526 | #endif |
| 527 | #endif /* !DO_X_EXCLUDE */ |
| 528 | |
| 529 | #ifndef XSetWMClientMachine |
| 530 | VFUNC(void,XSetWMClientMachine,V_XSetWMClientMachine,_ANSI_ARGS_((Display *, Window, XTextProperty *))) |
| 531 | #endif |
| 532 | |
| 533 | #ifndef DO_X_EXCLUDE |
| 534 | #ifndef XSetWMColormapWindows |
| 535 | VFUNC(int,XSetWMColormapWindows,V_XSetWMColormapWindows,_ANSI_ARGS_((Display *, Window, Window *, int))) |
| 536 | #endif |
| 537 | #endif /* !DO_X_EXCLUDE */ |
| 538 | |
| 539 | #ifndef DO_X_EXCLUDE |
| 540 | #ifndef XSetWMHints |
| 541 | VFUNC(int,XSetWMHints,V_XSetWMHints,_ANSI_ARGS_((Display *, Window, XWMHints *))) |
| 542 | #endif |
| 543 | #endif /* !DO_X_EXCLUDE */ |
| 544 | |
| 545 | #ifndef DO_X_EXCLUDE |
| 546 | #ifndef XSetWMName |
| 547 | VFUNC(void,XSetWMName,V_XSetWMName,_ANSI_ARGS_((Display *, Window, XTextProperty *))) |
| 548 | #endif |
| 549 | #endif /* !DO_X_EXCLUDE */ |
| 550 | |
| 551 | #ifndef DO_X_EXCLUDE |
| 552 | #ifndef XSetWMNormalHints |
| 553 | VFUNC(void,XSetWMNormalHints,V_XSetWMNormalHints,_ANSI_ARGS_((Display *, Window, XSizeHints *))) |
| 554 | #endif |
| 555 | #endif /* !DO_X_EXCLUDE */ |
| 556 | |
| 557 | #ifndef XSetWindowBackground |
| 558 | VFUNC(int,XSetWindowBackground,V_XSetWindowBackground,_ANSI_ARGS_((Display *, Window, long unsigned int))) |
| 559 | #endif |
| 560 | |
| 561 | #ifndef XSetWindowBackgroundPixmap |
| 562 | VFUNC(int,XSetWindowBackgroundPixmap,V_XSetWindowBackgroundPixmap,_ANSI_ARGS_((Display *, Window, Pixmap))) |
| 563 | #endif |
| 564 | |
| 565 | #ifndef XSetWindowBorder |
| 566 | VFUNC(int,XSetWindowBorder,V_XSetWindowBorder,_ANSI_ARGS_((Display *, Window, long unsigned int))) |
| 567 | #endif |
| 568 | |
| 569 | #ifndef XSetWindowBorderPixmap |
| 570 | VFUNC(int,XSetWindowBorderPixmap,V_XSetWindowBorderPixmap,_ANSI_ARGS_((Display *, Window, Pixmap))) |
| 571 | #endif |
| 572 | |
| 573 | #ifndef XSetWindowBorderWidth |
| 574 | VFUNC(int,XSetWindowBorderWidth,V_XSetWindowBorderWidth,_ANSI_ARGS_((Display *, Window, unsigned int))) |
| 575 | #endif |
| 576 | |
| 577 | #ifndef XSetWindowColormap |
| 578 | VFUNC(int,XSetWindowColormap,V_XSetWindowColormap,_ANSI_ARGS_((Display *, Window, Colormap))) |
| 579 | #endif |
| 580 | |
| 581 | #ifndef XStringListToTextProperty |
| 582 | VFUNC(int,XStringListToTextProperty,V_XStringListToTextProperty,_ANSI_ARGS_((char **, int, XTextProperty *))) |
| 583 | #endif |
| 584 | |
| 585 | #ifndef XStringToKeysym |
| 586 | VFUNC(KeySym,XStringToKeysym,V_XStringToKeysym,_ANSI_ARGS_((const char *))) |
| 587 | #endif |
| 588 | |
| 589 | #ifndef XSync |
| 590 | VFUNC(int,XSync,V_XSync,_ANSI_ARGS_((Display *, int))) |
| 591 | #endif |
| 592 | |
| 593 | #ifndef DO_X_EXCLUDE |
| 594 | #ifndef XTextExtents |
| 595 | VFUNC(int,XTextExtents,V_XTextExtents,_ANSI_ARGS_((XFontStruct *, const char *, int, int *, int *, int *, XCharStruct *))) |
| 596 | #endif |
| 597 | #endif /* !DO_X_EXCLUDE */ |
| 598 | |
| 599 | #ifndef DO_X_EXCLUDE |
| 600 | #ifndef XTextWidth |
| 601 | VFUNC(int,XTextWidth,V_XTextWidth,_ANSI_ARGS_((XFontStruct *, const char *, int))) |
| 602 | #endif |
| 603 | #endif /* !DO_X_EXCLUDE */ |
| 604 | |
| 605 | #ifndef XTranslateCoordinates |
| 606 | VFUNC(int,XTranslateCoordinates,V_XTranslateCoordinates,_ANSI_ARGS_((Display *, Window, Window, int, int, int *, int *, Window *))) |
| 607 | #endif |
| 608 | |
| 609 | #ifndef XUngrabKeyboard |
| 610 | VFUNC(int,XUngrabKeyboard,V_XUngrabKeyboard,_ANSI_ARGS_((Display *, Time))) |
| 611 | #endif |
| 612 | |
| 613 | #ifndef XUngrabPointer |
| 614 | VFUNC(int,XUngrabPointer,V_XUngrabPointer,_ANSI_ARGS_((Display *, Time))) |
| 615 | #endif |
| 616 | |
| 617 | #ifndef XUngrabServer |
| 618 | VFUNC(int,XUngrabServer,V_XUngrabServer,_ANSI_ARGS_((Display *))) |
| 619 | #endif |
| 620 | |
| 621 | #ifndef DO_X_EXCLUDE |
| 622 | #ifndef XUnionRectWithRegion |
| 623 | VFUNC(int,XUnionRectWithRegion,V_XUnionRectWithRegion,_ANSI_ARGS_((XRectangle *, Region, Region))) |
| 624 | #endif |
| 625 | #endif /* !DO_X_EXCLUDE */ |
| 626 | |
| 627 | #ifndef XUnmapWindow |
| 628 | VFUNC(int,XUnmapWindow,V_XUnmapWindow,_ANSI_ARGS_((Display *, Window))) |
| 629 | #endif |
| 630 | |
| 631 | #ifndef XVisualIDFromVisual |
| 632 | VFUNC(VisualID,XVisualIDFromVisual,V_XVisualIDFromVisual,_ANSI_ARGS_((Visual *))) |
| 633 | #endif |
| 634 | |
| 635 | #ifndef DO_X_EXCLUDE |
| 636 | #ifndef XWarpPointer |
| 637 | VFUNC(int,XWarpPointer,V_XWarpPointer,_ANSI_ARGS_(( Display *, Window, Window, int, int, unsigned int, unsigned int, int, int ))) |
| 638 | #endif |
| 639 | #endif /* !DO_X_EXCLUDE */ |
| 640 | |
| 641 | #ifndef XWindowEvent |
| 642 | VFUNC(int,XWindowEvent,V_XWindowEvent,_ANSI_ARGS_((Display *, Window, long int, XEvent *))) |
| 643 | #endif |
| 644 | |
| 645 | #ifndef XWithdrawWindow |
| 646 | VFUNC(int,XWithdrawWindow,V_XWithdrawWindow,_ANSI_ARGS_((Display *, Window, int))) |
| 647 | #endif |
| 648 | |
| 649 | #ifndef _XInitImageFuncPtrs |
| 650 | VFUNC(int,_XInitImageFuncPtrs,V__XInitImageFuncPtrs,_ANSI_ARGS_((XImage *image))) |
| 651 | #endif |
| 652 | |
| 653 | #endif /* _XLIB */ |