1 2 Linux Standard Base Graphics Module Specification 3.1 3 4 Copyright © 2004, 2005, 2006 Free Standards Group 5 6 Permission is granted to copy, distribute and/or modify this 7 document under the terms of the GNU Free Documentation 8 License, Version 1.1; with no Invariant Sections, with no 9 Front-Cover Texts, and with no Back-Cover Texts. A copy of the 10 license is included in the section entitled "GNU Free 11 Documentation License". 12 13 Portions of the text are copyrighted by the following parties: 14 15 * The Regents of the University of California 16 * Free Software Foundation 17 * Ian F. Darwin 18 * Paul Vixie 19 * BSDI (now Wind River) 20 * Andrew G Morgan 21 * Jean-loup Gailly and Mark Adler 22 * Massachusetts Institute of Technology 23 24 These excerpts are being used in accordance with their 25 respective licenses. 26 27 Linux is the registered trademark of Linus Torvalds in the 28 U.S. and other countries. 29 30 UNIX is a registered trademark of The Open Group. 31 32 LSB is a trademark of the Free Standards Group in the United 33 States and other countries. 34 35 AMD is a trademark of Advanced Micro Devices, Inc. 36 37 Intel and Itanium are registered trademarks and Intel386 is a 38 trademark of Intel Corporation. 39 40 PowerPC is a registered trademark and PowerPC Architecture is 41 a trademark of the IBM Corporation. 42 43 S/390 is a registered trademark of the IBM Corporation. 44 45 OpenGL is a registered trademark of Silicon Graphics, Inc. 46 _________________________________________________________ 47 48 Table of Contents 49 Foreword 50 Introduction 51 I. Introductory Elements 52 53 1. Scope 54 2. Normative References 55 3. Requirements 56 57 3.1. Relevant Libraries 58 59 4. Definitions 60 5. Terminology 61 62 II. Graphic Libraries 63 64 6. Libraries 65 66 6.1. Interfaces for libX11 67 6.2. Data Definitions for libX11 68 6.3. Interface Definitions for libX11 69 6.4. Interfaces for libSM 70 6.5. Data Definitions for libSM 71 6.6. Interfaces for libICE 72 6.7. Data Definitions for libICE 73 6.8. Interfaces for libXt 74 6.9. Data Definitions for libXt 75 6.10. Interface Definitions for libXt 76 6.11. Interfaces for libXext 77 6.12. Data Definitions for libXext 78 6.13. Interfaces for libXi 79 80 III. OpenGL Libraries 81 82 7. Libraries 83 84 7.1. Interfaces for libGL 85 7.2. Data Definitions for libGL 86 87 A. GNU Free Documentation License (Informative) 88 89 A.1. PREAMBLE 90 A.2. APPLICABILITY AND DEFINITIONS 91 A.3. VERBATIM COPYING 92 A.4. COPYING IN QUANTITY 93 A.5. MODIFICATIONS 94 A.6. COMBINING DOCUMENTS 95 A.7. COLLECTIONS OF DOCUMENTS 96 A.8. AGGREGATION WITH INDEPENDENT WORKS 97 A.9. TRANSLATION 98 A.10. TERMINATION 99 A.11. FUTURE REVISIONS OF THIS LICENSE 100 A.12. How to use this License for your documents 101 102 List of Tables 103 2-1. Normative References 104 3-1. Standard Library Names 105 6-1. libX11 Definition 106 6-2. libX11 - X Windows System Interface Function Interfaces 107 6-3. libSM Definition 108 6-4. libSM - Session Management Functions Function Interfaces 109 6-5. libICE Definition 110 6-6. libICE - ICE Functions Function Interfaces 111 6-7. libXt Definition 112 6-8. libXt - X Toolkit Function Interfaces 113 6-9. libXt - X Toolkit Data Interfaces 114 6-10. libXext Definition 115 6-11. libXext - X Shape Extension Function Interfaces 116 6-12. libXext - X Display Power Management Signaling Extension 117 Function Interfaces 118 119 6-13. libXext - X Shared Memory Extensions Function Interfaces 120 6-14. libXext - X Synchronization Extension Function 121 Interfaces 122 123 6-15. libXext - X Security Extension Function Interfaces 124 6-16. libXext - X Double Buffer Extension Function Interfaces 125 6-17. libXext - X Extended Visual Interface Extension Function 126 Interfaces 127 128 6-18. libXi Definition 129 6-19. libXi - XInput Function Interfaces 130 7-1. libGL Definition 131 7-2. libGL - GL X interface Function Interfaces 132 7-3. libGL - OpenGL Function Interfaces 133 _________________________________________________________ 134 135 Foreword 136 137 This is version 3.1 of the LSB-Graphics Module Specification. 138 This version is a preliminary version for review only. 139 Conclusion of work on this version will result in version 3.1 140 of the LSB-Graphics Moudle Specification. 141 142 Implmentations may not claim conformance to this version. 143 _________________________________________________________ 144 145 Introduction 146 147 The LSB-Graphics Module defines the graphics components that 148 are required to be present on a conforming system. 149 150 This document should be used in conjunction with the documents 151 it references. Information referenced in this way is as much a 152 part of this document as is the information explicitly 153 included here. 154 155 I. Introductory Elements 156 157 Table of Contents 158 1. Scope 159 2. Normative References 160 3. Requirements 161 162 3.1. Relevant Libraries 163 164 4. Definitions 165 5. Terminology 166 _________________________________________________________ 167 168 Chapter 1. Scope 169 170 The LSB Graphics defines the graphical interface found on an 171 LSB conforming system. 172 _________________________________________________________ 173 174 Chapter 2. Normative References 175 176 The specifications listed below are referenced in whole or in 177 part by the LSB-Graphics Module Standard. Such references may 178 be normative or informative; a reference to specification 179 shall only be considered normative if it is explicitly cited 180 as such. The LSB-Graphics Module may make normative references 181 to a portion of these specifications (that is, to define a 182 specific function or group of functions); in such cases, only 183 the explicitly referenced portion of the specification is to 184 be considered normative. 185 186 Table 2-1. Normative References 187 Name Title URL 188 Double Buffer Extension Library Double Buffer Extension 189 Library - Protocol Version 1.0 190 http://refspecs.freestandards.org/X11/dbelib.pdf 191 ISO C (1999) ISO/IEC 9899: 1999, Programming Languages --C 192 OpenGL OpenGL Application Binary Interface for Linux 193 http://oss.sgi.com/projects/ogl-sample/ABI/ 194 The MIT Shared Memory Extension MIT-SHM - The MIT Shared 195 Memory Extension - X version 11, Release 5 196 http://refspecs.freestandards.org/X11/mit-shm.pdf 197 X Display Power Management Signaling X Display Power 198 Management Signaling (DPMS) Extension - Library Specificationi 199 - Version 1.0 200 http://refspecs.freestandards.org/X11/DPMSlib.pdf 201 X Extended Visual Interface Extension Extended Visual 202 Information Extension - Version 1.0 203 http://refspecs.freestandards.org/X11/evi.pdf 204 X Nonrectangular Window Shape Extension Library X 205 Nonrectangular Window Shape Extension Library - Version 1.0 206 http://refspecs.freestandards.org/X11/shapelib.pdf 207 X Record Extension Library X Record Extension Library - 208 Version 1.13 209 http://refspecs.freestandards.org/X11/recordlib.pdf 210 X Security Extension Specification Security Extension 211 Specification - Version 7.1 212 http://refspecs.freestandards.org/X11/security.pdf 213 X Synchronization Extension Library X Synchronization 214 Extension Library - Version 3.0 215 http://refspecs.freestandards.org/X11/synclib.pdf 216 X11 C Library Xlib - C Language X Interface - X Version 11 217 Release 6.4 http://refspecs.freestandards.org/X11/xlib.pdf 218 X11 Input Library X Input Device Extension Library - X Version 219 11, Release 6.4 220 http://refspecs.freestandards.org/X11/Xinput.pdf 221 X11 Inter-Client Exchange Inter-Client Exchange Library - 222 Version 1.0 http://refspecs.freestandards.org/X11/ICElib.pdf 223 X11 Session Management X Session Management Library - Version 224 1.0 http://refspecs.freestandards.org/X11/SMlib.pdf 225 X11 Toolkit Intrinsics X Toolkit Intrinsics - C Language 226 Interface - X Version 11, Release 6.4 227 http://refspecs.freestandards.org/X11/intrinsics.pdf 228 _________________________________________________________ 229 230 Chapter 3. Requirements 231 232 3.1. Relevant Libraries 233 234 The libraries listed in Table 3-1 shall be available on a 235 Linux Standard Base system, with the specified runtime names. 236 This list may be supplemented or amended by the 237 architecture-specific specification. 238 239 Table 3-1. Standard Library Names 240 Library Runtime Name 241 libX11 libX11.so.6 242 libXt libXt.so.6 243 libGL libGL.so.1 244 libXext libXext.so.6 245 libICE libICE.so.6 246 libSM libSM.so.6 247 libXi libXi.so.6 248 249 These libraries will be in an implementation-defined directory 250 which the dynamic linker shall search by default. 251 _________________________________________________________ 252 253 Chapter 4. Definitions 254 255 For the purposes of this document, the following definitions, 256 as specified in the ISO/IEC Directives, Part 2, 2001, 4th 257 Edition, apply: 258 259 can 260 261 be able to; there is a possibility of; it is possible to 262 cannot 263 264 be unable to; there is no possibilty of; it is not possible to 265 may 266 267 is permitted; is allowed; is permissible 268 need not 269 270 it is not required that; no...is required 271 shall 272 273 is to; is required to; it is required that; has to; only...is 274 permitted; it is necessary 275 shall not 276 277 is not allowed [permitted] [acceptable] [permissible]; is 278 required to be not; is required that...be not; is not to be 279 should 280 281 it is recommended that; ought to 282 should not 283 284 it is not recommended that; ought not to 285 _________________________________________________________ 286 287 Chapter 5. Terminology 288 289 For the purposes of this document, the following terms apply: 290 291 implementation-defined 292 Describes a value or behavior that is not defined by 293 this document but is selected by an implementor. The 294 value or behavior may vary among implementations that 295 conform to this document. An application should not 296 rely on the existence of the value or behavior. An 297 application that relies on such a value or behavior 298 cannot be assured to be portable across conforming 299 implementations. The implementor shall document such a 300 value or behavior so that it can be used correctly by 301 an application. 302 303 Shell Script 304 A file that is read by an interpreter (e.g., awk). The 305 first line of the shell script includes a reference to 306 its interpreter binary. 307 308 undefined 309 Describes the nature of a value or behavior not defined 310 by this document which results from use of an invalid 311 program construct or invalid data input. The value or 312 behavior may vary among implementations that conform to 313 this document. An application should not rely on the 314 existence or validity of the value or behavior. An 315 application that relies on any particular value or 316 behavior cannot be assured to be portable across 317 conforming implementations. 318 319 unspecified 320 Describes the nature of a value or behavior not 321 specified by this document which results from use of a 322 valid program construct or valid data input. The value 323 or behavior may vary among implementations that conform 324 to this document. An application should not rely on the 325 existence or validity of the value or behavior. An 326 application that relies on any particular value or 327 behavior cannot be assured to be portable across 328 conforming implementations. 329 330 II. Graphic Libraries 331 332 Table of Contents 333 6. Libraries 334 335 6.1. Interfaces for libX11 336 337 6.1.1. X Windows System Interface 338 339 6.2. Data Definitions for libX11 340 341 6.2.1. X11/X.h 342 6.2.2. X11/XKBlib.h 343 6.2.3. X11/Xauth.h 344 6.2.4. X11/Xcms.h 345 6.2.5. X11/Xlib.h 346 6.2.6. X11/Xresource.h 347 6.2.7. X11/Xutil.h 348 349 6.3. Interface Definitions for libX11 350 6.4. Interfaces for libSM 351 352 6.4.1. Session Management Functions 353 354 6.5. Data Definitions for libSM 355 356 6.5.1. X11/SM/SMlib.h 357 358 6.6. Interfaces for libICE 359 360 6.6.1. ICE Functions 361 362 6.7. Data Definitions for libICE 363 364 6.7.1. X11/ICE/ICElib.h 365 6.7.2. X11/ICE/ICEutil.h 366 367 6.8. Interfaces for libXt 368 369 6.8.1. X Toolkit 370 371 6.9. Data Definitions for libXt 372 373 6.9.1. X11/Composite.h 374 6.9.2. X11/CompositeP.h 375 6.9.3. X11/ConstrainP.h 376 6.9.4. X11/Constraint.h 377 6.9.5. X11/Core.h 378 6.9.6. X11/Intrinsic.h 379 6.9.7. X11/IntrinsicP.h 380 6.9.8. X11/Object.h 381 6.9.9. X11/ObjectP.h 382 6.9.10. X11/Shell.h 383 6.9.11. X11/StringDefs.h 384 385 6.10. Interface Definitions for libXt 386 387 _XtCopyFromArg -- Copy "size" bytes from src to 388 dst. 389 390 _XtInherit -- inheritance operation. 391 _XtInheritTranslations -- an inheritance constant 392 _XtIsSubclassOf -- determine if Widget is a 393 subclass of WidgetClass. 394 395 6.11. Interfaces for libXext 396 397 6.11.1. X Shape Extension 398 6.11.2. X Display Power Management Signaling 399 Extension 400 401 6.11.3. X Shared Memory Extensions 402 6.11.4. MIT-MISC Extension 403 6.11.5. X Synchronization Extension 404 6.11.6. X Security Extension 405 6.11.7. X Double Buffer Extension 406 6.11.8. X Extended Visual Interface Extension 407 408 6.12. Data Definitions for libXext 409 410 6.12.1. X11/extensions/XEVI.h 411 6.12.2. X11/extensions/XKBgeom.h 412 6.12.3. X11/extensions/XShm.h 413 6.12.4. X11/extensions/Xdbe.h 414 6.12.5. X11/extensions/dpms.h 415 6.12.6. X11/extensions/security.h 416 6.12.7. X11/extensions/shape.h 417 6.12.8. X11/extensions/sync.h 418 419 6.13. Interfaces for libXi 420 421 6.13.1. XInput 422 _________________________________________________________ 423 424 Chapter 6. Libraries 425 426 The X Libraries should be built thread-safe. 427 _________________________________________________________ 428 429 6.1. Interfaces for libX11 430 431 Table 6-1 defines the library name and shared object name for 432 the libX11 library 433 434 Table 6-1. libX11 Definition 435 Library: libX11 436 SONAME: libX11.so.6 437 438 The behavior of the interfaces in this library is specified by 439 the following specifications: 440 441 [LSB] This Specification 442 [Xlib] X11 C Library 443 _________________________________________________________ 444 445 6.1.1. X Windows System Interface 446 _________________________________________________________ 447 448 6.1.1.1. Interfaces for X Windows System Interface 449 450 An LSB conforming implementation shall provide the generic 451 functions for X Windows System Interface specified in Table 452 6-2, with the full mandatory functionality as described in the 453 referenced underlying specification. 454 455 Table 6-2. libX11 - X Windows System Interface Function 456 Interfaces 457 XActivateScreenSaver [Xlib] XAddConnectionWatch [Xlib] 458 XAddExtension [Xlib] XAddHost [Xlib] 459 XAddHosts [Xlib] XAddPixel [Xlib] XAddToExtensionList [Xlib] 460 XAddToSaveSet [Xlib] 461 XAllPlanes [Xlib] XAllocClassHint [Xlib] XAllocColor [Xlib] 462 XAllocColorCells [Xlib] 463 XAllocColorPlanes [Xlib] XAllocIconSize [Xlib] 464 XAllocNamedColor [Xlib] XAllocSizeHints [Xlib] 465 XAllocStandardColormap [Xlib] XAllocWMHints [Xlib] 466 XAllowEvents [Xlib] XAutoRepeatOff [Xlib] 467 XAutoRepeatOn [Xlib] XBaseFontNameListOfFontSet [Xlib] XBell 468 [Xlib] XBitmapBitOrder [Xlib] 469 XBitmapPad [Xlib] XBitmapUnit [Xlib] XBlackPixel [Xlib] 470 XBlackPixelOfScreen [Xlib] 471 XCellsOfScreen [Xlib] XChangeActivePointerGrab [Xlib] 472 XChangeGC [Xlib] XChangeKeyboardControl [Xlib] 473 XChangeKeyboardMapping [Xlib] XChangePointerControl [Xlib] 474 XChangeProperty [Xlib] XChangeSaveSet [Xlib] 475 XChangeWindowAttributes [Xlib] XCheckIfEvent [Xlib] 476 XCheckMaskEvent [Xlib] XCheckTypedEvent [Xlib] 477 XCheckTypedWindowEvent [Xlib] XCheckWindowEvent [Xlib] 478 XCirculateSubwindows [Xlib] XCirculateSubwindowsDown [Xlib] 479 XCirculateSubwindowsUp [Xlib] XClearArea [Xlib] XClearWindow 480 [Xlib] XClipBox [Xlib] 481 XCloseDisplay [Xlib] XCloseIM [Xlib] XCloseOM [Xlib] 482 XConfigureWindow [Xlib] 483 XConnectionNumber [Xlib] XContextDependentDrawing [Xlib] 484 XContextualDrawing [Xlib] XConvertCase [Xlib] 485 XConvertSelection [Xlib] XCopyArea [Xlib] XCopyColormapAndFree 486 [Xlib] XCopyGC [Xlib] 487 XCopyPlane [Xlib] XCreateBitmapFromData [Xlib] XCreateColormap 488 [Xlib] XCreateFontCursor [Xlib] 489 XCreateFontSet [Xlib] XCreateGC [Xlib] XCreateGlyphCursor 490 [Xlib] XCreateIC [Xlib] 491 XCreateImage [Xlib] XCreateOC [Xlib] XCreatePixmap [Xlib] 492 XCreatePixmapCursor [Xlib] 493 XCreatePixmapFromBitmapData [Xlib] XCreateRegion [Xlib] 494 XCreateSimpleWindow [Xlib] XCreateWindow [Xlib] 495 XDefaultColormap [Xlib] XDefaultColormapOfScreen [Xlib] 496 XDefaultDepth [Xlib] XDefaultDepthOfScreen [Xlib] 497 XDefaultGC [Xlib] XDefaultGCOfScreen [Xlib] XDefaultRootWindow 498 [Xlib] XDefaultScreen [Xlib] 499 XDefaultScreenOfDisplay [Xlib] XDefaultString [Xlib] 500 XDefaultVisual [Xlib] XDefaultVisualOfScreen [Xlib] 501 XDefineCursor [Xlib] XDeleteContext [Xlib] 502 XDeleteModifiermapEntry [Xlib] XDeleteProperty [Xlib] 503 XDestroyIC [Xlib] XDestroyImage [Xlib] XDestroyOC [Xlib] 504 XDestroyRegion [Xlib] 505 XDestroySubwindows [Xlib] XDestroyWindow [Xlib] 506 XDirectionalDependentDrawing [Xlib] XDisableAccessControl 507 [Xlib] 508 XDisplayCells [Xlib] XDisplayHeight [Xlib] XDisplayHeightMM 509 [Xlib] XDisplayKeycodes [Xlib] 510 XDisplayMotionBufferSize [Xlib] XDisplayName [Xlib] 511 XDisplayOfIM [Xlib] XDisplayOfOM [Xlib] 512 XDisplayOfScreen [Xlib] XDisplayPlanes [Xlib] XDisplayString 513 [Xlib] XDisplayWidth [Xlib] 514 XDisplayWidthMM [Xlib] XDoesBackingStore [Xlib] 515 XDoesSaveUnders [Xlib] XDrawArc [Xlib] 516 XDrawArcs [Xlib] XDrawImageString [Xlib] XDrawImageString16 517 [Xlib] XDrawLine [Xlib] 518 XDrawLines [Xlib] XDrawPoint [Xlib] XDrawPoints [Xlib] 519 XDrawRectangle [Xlib] 520 XDrawRectangles [Xlib] XDrawSegments [Xlib] XDrawString [Xlib] 521 XDrawString16 [Xlib] 522 XDrawText [Xlib] XDrawText16 [Xlib] XEHeadOfExtensionList 523 [Xlib] XESetBeforeFlush [Xlib] 524 XESetCloseDisplay [Xlib] XESetCopyGC [Xlib] XESetCreateFont 525 [Xlib] XESetCreateGC [Xlib] 526 XESetError [Xlib] XESetErrorString [Xlib] XESetEventToWire 527 [Xlib] XESetFlushGC [Xlib] 528 XESetFreeFont [Xlib] XESetFreeGC [Xlib] XESetPrintErrorValues 529 [Xlib] XESetWireToError [Xlib] 530 XESetWireToEvent [Xlib] XEmptyRegion [Xlib] 531 XEnableAccessControl [Xlib] XEqualRegion [Xlib] 532 XEventMaskOfScreen [Xlib] XEventsQueued [Xlib] 533 XExtendedMaxRequestSize [Xlib] XExtentsOfFontSet [Xlib] 534 XFetchBuffer [Xlib] XFetchBytes [Xlib] XFetchName [Xlib] 535 XFillArc [Xlib] 536 XFillArcs [Xlib] XFillPolygon [Xlib] XFillRectangle [Xlib] 537 XFillRectangles [Xlib] 538 XFilterEvent [Xlib] XFindContext [Xlib] XFindOnExtensionList 539 [Xlib] XFlush [Xlib] 540 XFlushGC [Xlib] XFontsOfFontSet [Xlib] XForceScreenSaver 541 [Xlib] XFree [Xlib] 542 XFreeColormap [Xlib] XFreeColors [Xlib] XFreeCursor [Xlib] 543 XFreeExtensionList [Xlib] 544 XFreeFont [Xlib] XFreeFontInfo [Xlib] XFreeFontNames [Xlib] 545 XFreeFontPath [Xlib] 546 XFreeFontSet [Xlib] XFreeGC [Xlib] XFreeModifiermap [Xlib] 547 XFreePixmap [Xlib] 548 XFreeStringList [Xlib] XGContextFromGC [Xlib] XGeometry [Xlib] 549 XGetAtomName [Xlib] 550 XGetAtomNames [Xlib] XGetClassHint [Xlib] XGetCommand [Xlib] 551 XGetDefault [Xlib] 552 XGetErrorDatabaseText [Xlib] XGetErrorText [Xlib] XGetFontPath 553 [Xlib] XGetFontProperty [Xlib] 554 XGetGCValues [Xlib] XGetGeometry [Xlib] XGetICValues [Xlib] 555 XGetIMValues [Xlib] 556 XGetIconName [Xlib] XGetIconSizes [Xlib] XGetImage [Xlib] 557 XGetInputFocus [Xlib] 558 XGetKeyboardControl [Xlib] XGetKeyboardMapping [Xlib] 559 XGetModifierMapping [Xlib] XGetMotionEvents [Xlib] 560 XGetNormalHints [Xlib] XGetOCValues [Xlib] XGetOMValues [Xlib] 561 XGetPixel [Xlib] 562 XGetPointerControl [Xlib] XGetPointerMapping [Xlib] 563 XGetRGBColormaps [Xlib] XGetScreenSaver [Xlib] 564 XGetSelectionOwner [Xlib] XGetSizeHints [Xlib] 565 XGetStandardColormap [Xlib] XGetSubImage [Xlib] 566 XGetTextProperty [Xlib] XGetTransientForHint [Xlib] 567 XGetVisualInfo [Xlib] XGetWMClientMachine [Xlib] 568 XGetWMColormapWindows [Xlib] XGetWMHints [Xlib] XGetWMIconName 569 [Xlib] XGetWMName [Xlib] 570 XGetWMNormalHints [Xlib] XGetWMProtocols [Xlib] 571 XGetWMSizeHints [Xlib] XGetWindowAttributes [Xlib] 572 XGetWindowProperty [Xlib] XGetZoomHints [Xlib] XGrabButton 573 [Xlib] XGrabKey [Xlib] 574 XGrabKeyboard [Xlib] XGrabPointer [Xlib] XGrabServer [Xlib] 575 XHeightMMOfScreen [Xlib] 576 XHeightOfScreen [Xlib] XIMOfIC [Xlib] XIconifyWindow [Xlib] 577 XIfEvent [Xlib] 578 XImageByteOrder [Xlib] XInitExtension [Xlib] XInitImage [Xlib] 579 XInitThreads [Xlib] 580 XInsertModifiermapEntry [Xlib] XInstallColormap [Xlib] 581 XInternAtom [Xlib] XInternAtoms [Xlib] 582 XInternalConnectionNumbers [Xlib] XIntersectRegion [Xlib] 583 XKeycodeToKeysym [Xlib] XKeysymToKeycode [Xlib] 584 XKeysymToString [Xlib] XKillClient [Xlib] 585 XLastKnownRequestProcessed [Xlib] XListDepths [Xlib] 586 XListExtensions [Xlib] XListFonts [Xlib] XListFontsWithInfo 587 [Xlib] XListHosts [Xlib] 588 XListInstalledColormaps [Xlib] XListPixmapFormats [Xlib] 589 XListProperties [Xlib] XLoadFont [Xlib] 590 XLoadQueryFont [Xlib] XLocaleOfFontSet [Xlib] XLocaleOfIM 591 [Xlib] XLocaleOfOM [Xlib] 592 XLockDisplay [Xlib] XLookupColor [Xlib] XLookupKeysym [Xlib] 593 XLookupString [Xlib] 594 XLowerWindow [Xlib] XMapRaised [Xlib] XMapSubwindows [Xlib] 595 XMapWindow [Xlib] 596 XMaskEvent [Xlib] XMatchVisualInfo [Xlib] XMaxCmapsOfScreen 597 [Xlib] XMaxRequestSize [Xlib] 598 XMinCmapsOfScreen [Xlib] XMoveResizeWindow [Xlib] XMoveWindow 599 [Xlib] XNewModifiermap [Xlib] 600 XNextEvent [Xlib] XNextRequest [Xlib] XNoOp [Xlib] XOMOfOC 601 [Xlib] 602 XOffsetRegion [Xlib] XOpenDisplay [Xlib] XOpenIM [Xlib] 603 XOpenOM [Xlib] 604 XParseColor [Xlib] XParseGeometry [Xlib] XPeekEvent [Xlib] 605 XPeekIfEvent [Xlib] 606 XPending [Xlib] XPlanesOfScreen [Xlib] XPointInRegion [Xlib] 607 XPolygonRegion [Xlib] 608 XProcessInternalConnection [Xlib] XProtocolRevision [Xlib] 609 XProtocolVersion [Xlib] XPutBackEvent [Xlib] 610 XPutImage [Xlib] XPutPixel [Xlib] XQLength [Xlib] 611 XQueryBestCursor [Xlib] 612 XQueryBestSize [Xlib] XQueryBestStipple [Xlib] XQueryBestTile 613 [Xlib] XQueryColor [Xlib] 614 XQueryColors [Xlib] XQueryExtension [Xlib] XQueryFont [Xlib] 615 XQueryKeymap [Xlib] 616 XQueryPointer [Xlib] XQueryTextExtents [Xlib] 617 XQueryTextExtents16 [Xlib] XQueryTree [Xlib] 618 XRaiseWindow [Xlib] XReadBitmapFile [Xlib] XReadBitmapFileData 619 [Xlib] XRebindKeysym [Xlib] 620 XRecolorCursor [Xlib] XReconfigureWMWindow [Xlib] 621 XRectInRegion [Xlib] XRefreshKeyboardMapping [Xlib] 622 XRegisterIMInstantiateCallback [Xlib] XRemoveConnectionWatch 623 [Xlib] XRemoveFromSaveSet [Xlib] XRemoveHost [Xlib] 624 XRemoveHosts [Xlib] XReparentWindow [Xlib] XResetScreenSaver 625 [Xlib] XResizeWindow [Xlib] 626 XResourceManagerString [Xlib] XRestackWindows [Xlib] 627 XRootWindow [Xlib] XRootWindowOfScreen [Xlib] 628 XRotateBuffers [Xlib] XRotateWindowProperties [Xlib] 629 XSaveContext [Xlib] XScreenCount [Xlib] 630 XScreenNumberOfScreen [Xlib] XScreenOfDisplay [Xlib] 631 XScreenResourceString [Xlib] XSelectInput [Xlib] 632 XSendEvent [Xlib] XServerVendor [Xlib] XSetAccessControl 633 [Xlib] XSetAfterFunction [Xlib] 634 XSetArcMode [Xlib] XSetAuthorization [Xlib] XSetBackground 635 [Xlib] XSetClassHint [Xlib] 636 XSetClipMask [Xlib] XSetClipOrigin [Xlib] XSetClipRectangles 637 [Xlib] XSetCloseDownMode [Xlib] 638 XSetCommand [Xlib] XSetDashes [Xlib] XSetErrorHandler [Xlib] 639 XSetFillRule [Xlib] 640 XSetFillStyle [Xlib] XSetFont [Xlib] XSetFontPath [Xlib] 641 XSetForeground [Xlib] 642 XSetFunction [Xlib] XSetGraphicsExposures [Xlib] XSetICFocus 643 [Xlib] XSetICValues [Xlib] 644 XSetIMValues [Xlib] XSetIOErrorHandler [Xlib] XSetIconName 645 [Xlib] XSetIconSizes [Xlib] 646 XSetInputFocus [Xlib] XSetLineAttributes [Xlib] 647 XSetLocaleModifiers [Xlib] XSetModifierMapping [Xlib] 648 XSetNormalHints [Xlib] XSetOCValues [Xlib] XSetOMValues [Xlib] 649 XSetPlaneMask [Xlib] 650 XSetPointerMapping [Xlib] XSetRGBColormaps [Xlib] XSetRegion 651 [Xlib] XSetScreenSaver [Xlib] 652 XSetSelectionOwner [Xlib] XSetSizeHints [Xlib] 653 XSetStandardColormap [Xlib] XSetStandardProperties [Xlib] 654 XSetState [Xlib] XSetStipple [Xlib] XSetSubwindowMode [Xlib] 655 XSetTSOrigin [Xlib] 656 XSetTextProperty [Xlib] XSetTile [Xlib] XSetTransientForHint 657 [Xlib] XSetWMClientMachine [Xlib] 658 XSetWMColormapWindows [Xlib] XSetWMHints [Xlib] XSetWMIconName 659 [Xlib] XSetWMName [Xlib] 660 XSetWMNormalHints [Xlib] XSetWMProperties [Xlib] 661 XSetWMProtocols [Xlib] XSetWMSizeHints [Xlib] 662 XSetWindowBackground [Xlib] XSetWindowBackgroundPixmap [Xlib] 663 XSetWindowBorder [Xlib] XSetWindowBorderPixmap [Xlib] 664 XSetWindowBorderWidth [Xlib] XSetWindowColormap [Xlib] 665 XSetZoomHints [Xlib] XShrinkRegion [Xlib] 666 XStoreBuffer [Xlib] XStoreBytes [Xlib] XStoreColor [Xlib] 667 XStoreColors [Xlib] 668 XStoreName [Xlib] XStoreNamedColor [Xlib] 669 XStringListToTextProperty [Xlib] XStringToKeysym [Xlib] 670 XSubImage [Xlib] XSubtractRegion [Xlib] XSupportsLocale [Xlib] 671 XSync [Xlib] 672 XSynchronize [Xlib] XTextExtents [Xlib] XTextExtents16 [Xlib] 673 XTextPropertyToStringList [Xlib] 674 XTextWidth [Xlib] XTextWidth16 [Xlib] XTranslateCoordinates 675 [Xlib] XUndefineCursor [Xlib] 676 XUngrabButton [Xlib] XUngrabKey [Xlib] XUngrabKeyboard [Xlib] 677 XUngrabPointer [Xlib] 678 XUngrabServer [Xlib] XUninstallColormap [Xlib] 679 XUnionRectWithRegion [Xlib] XUnionRegion [Xlib] 680 XUnloadFont [Xlib] XUnlockDisplay [Xlib] XUnmapSubwindows 681 [Xlib] XUnmapWindow [Xlib] 682 XUnregisterIMInstantiateCallback [Xlib] XUnsetICFocus [Xlib] 683 XVaCreateNestedList [Xlib] XVendorRelease [Xlib] 684 XVisualIDFromVisual [Xlib] XWMGeometry [Xlib] XWarpPointer 685 [Xlib] XWhitePixel [Xlib] 686 XWhitePixelOfScreen [Xlib] XWidthMMOfScreen [Xlib] 687 XWidthOfScreen [Xlib] XWindowEvent [Xlib] 688 XWithdrawWindow [Xlib] XWriteBitmapFile [Xlib] XXorRegion 689 [Xlib] XauDisposeAuth [Xlib] 690 XauFileName [Xlib] XauGetBestAuthByAddr [Xlib] XauReadAuth 691 [Xlib] XcmsAddColorSpace [Xlib] 692 XcmsAddFunctionSet [Xlib] XcmsAllocColor [Xlib] 693 XcmsAllocNamedColor [Xlib] XcmsCCCOfColormap [Xlib] 694 XcmsCIELabClipL [Xlib] XcmsCIELabClipLab [Xlib] 695 XcmsCIELabClipab [Xlib] XcmsCIELabQueryMaxC [Xlib] 696 XcmsCIELabQueryMaxL [Xlib] XcmsCIELabQueryMaxLC [Xlib] 697 XcmsCIELabQueryMinL [Xlib] XcmsCIELabToCIEXYZ [Xlib] 698 XcmsCIELabWhiteShiftColors [Xlib] XcmsCIELuvClipL [Xlib] 699 XcmsCIELuvClipLuv [Xlib] XcmsCIELuvClipuv [Xlib] 700 XcmsCIELuvQueryMaxC [Xlib] XcmsCIELuvQueryMaxL [Xlib] 701 XcmsCIELuvQueryMaxLC [Xlib] XcmsCIELuvQueryMinL [Xlib] 702 XcmsCIELuvToCIEuvY [Xlib] XcmsCIELuvWhiteShiftColors [Xlib] 703 XcmsCIEXYZToCIELab [Xlib] XcmsCIEXYZToCIEuvY [Xlib] 704 XcmsCIEXYZToCIExyY [Xlib] XcmsCIEXYZToRGBi [Xlib] 705 XcmsCIEuvYToCIELuv [Xlib] XcmsCIEuvYToCIEXYZ [Xlib] 706 XcmsCIEuvYToTekHVC [Xlib] XcmsCIExyYToCIEXYZ [Xlib] 707 XcmsClientWhitePointOfCCC [Xlib] XcmsConvertColors [Xlib] 708 XcmsCreateCCC [Xlib] XcmsDefaultCCC [Xlib] XcmsDisplayOfCCC 709 [Xlib] XcmsFormatOfPrefix [Xlib] 710 XcmsFreeCCC [Xlib] XcmsLookupColor [Xlib] XcmsPrefixOfFormat 711 [Xlib] XcmsQueryBlack [Xlib] 712 XcmsQueryBlue [Xlib] XcmsQueryColor [Xlib] XcmsQueryColors 713 [Xlib] XcmsQueryGreen [Xlib] 714 XcmsQueryRed [Xlib] XcmsQueryWhite [Xlib] XcmsRGBToRGBi [Xlib] 715 XcmsRGBiToCIEXYZ [Xlib] 716 XcmsRGBiToRGB [Xlib] XcmsScreenNumberOfCCC [Xlib] 717 XcmsScreenWhitePointOfCCC [Xlib] XcmsSetCCCOfColormap [Xlib] 718 XcmsSetCompressionProc [Xlib] XcmsSetWhiteAdjustProc [Xlib] 719 XcmsSetWhitePoint [Xlib] XcmsStoreColor [Xlib] 720 XcmsStoreColors [Xlib] XcmsTekHVCClipC [Xlib] XcmsTekHVCClipV 721 [Xlib] XcmsTekHVCClipVC [Xlib] 722 XcmsTekHVCQueryMaxC [Xlib] XcmsTekHVCQueryMaxV [Xlib] 723 XcmsTekHVCQueryMaxVC [Xlib] XcmsTekHVCQueryMaxVSamples [Xlib] 724 XcmsTekHVCQueryMinV [Xlib] XcmsTekHVCToCIEuvY [Xlib] 725 XcmsTekHVCWhiteShiftColors [Xlib] XcmsVisualOfCCC [Xlib] 726 XkbAllocClientMap [Xlib] XkbAllocCompatMap [Xlib] 727 XkbAllocControls [Xlib] XkbAllocGeomColors [Xlib] 728 XkbAllocGeomDoodads [Xlib] XkbAllocGeomKeyAliases [Xlib] 729 XkbAllocGeomKeys [Xlib] XkbAllocGeomOutlines [Xlib] 730 XkbAllocGeomOverlayKeys [Xlib] XkbAllocGeomOverlayRows [Xlib] 731 XkbAllocGeomOverlays [Xlib] XkbAllocGeomPoints [Xlib] 732 XkbAllocGeomProps [Xlib] XkbAllocGeomRows [Xlib] 733 XkbAllocGeomSectionDoodads [Xlib] XkbAllocGeomSections [Xlib] 734 XkbAllocGeomShapes [Xlib] XkbAllocGeometry [Xlib] 735 XkbAllocIndicatorMaps [Xlib] XkbAllocKeyboard [Xlib] 736 XkbAllocNames [Xlib] XkbAllocServerMap [Xlib] 737 XkbApplyCompatMapToKey [Xlib] XkbBell [Xlib] 738 XkbBellEvent [Xlib] XkbChangeEnabledControls [Xlib] 739 XkbChangeMap [Xlib] XkbChangeNames [Xlib] 740 XkbChangeTypesOfKey [Xlib] XkbComputeEffectiveMap [Xlib] 741 XkbComputeRowBounds [Xlib] XkbComputeSectionBounds [Xlib] 742 XkbComputeShapeBounds [Xlib] XkbComputeShapeTop [Xlib] 743 XkbCopyKeyType [Xlib] XkbCopyKeyTypes [Xlib] 744 XkbFindOverlayForKey [Xlib] XkbForceBell [Xlib] 745 XkbFreeClientMap [Xlib] XkbFreeCompatMap [Xlib] 746 XkbFreeComponentList [Xlib] XkbFreeControls [Xlib] 747 XkbFreeGeomColors [Xlib] XkbFreeGeomDoodads [Xlib] 748 XkbFreeGeomKeyAliases [Xlib] XkbFreeGeomKeys [Xlib] 749 XkbFreeGeomOutlines [Xlib] XkbFreeGeomOverlayKeys [Xlib] 750 XkbFreeGeomOverlayRows [Xlib] XkbFreeGeomOverlays [Xlib] 751 XkbFreeGeomPoints [Xlib] XkbFreeGeomProperties [Xlib] 752 XkbFreeGeomRows [Xlib] XkbFreeGeomSections [Xlib] 753 XkbFreeGeomShapes [Xlib] XkbFreeGeometry [Xlib] 754 XkbFreeIndicatorMaps [Xlib] XkbFreeKeyboard [Xlib] 755 XkbFreeNames [Xlib] XkbFreeServerMap [Xlib] 756 XkbGetAutoRepeatRate [Xlib] XkbGetCompatMap [Xlib] 757 XkbGetControls [Xlib] XkbGetGeometry [Xlib] 758 XkbGetIndicatorMap [Xlib] XkbGetIndicatorState [Xlib] 759 XkbGetKeyActions [Xlib] XkbGetKeyBehaviors [Xlib] 760 XkbGetKeyExplicitComponents [Xlib] XkbGetKeyModifierMap [Xlib] 761 XkbGetKeySyms [Xlib] XkbGetKeyTypes [Xlib] 762 XkbGetKeyboard [Xlib] XkbGetKeyboardByName [Xlib] XkbGetMap 763 [Xlib] XkbGetMapChanges [Xlib] 764 XkbGetNamedGeometry [Xlib] XkbGetNamedIndicator [Xlib] 765 XkbGetNames [Xlib] XkbGetState [Xlib] 766 XkbGetUpdatedMap [Xlib] XkbGetVirtualMods [Xlib] 767 XkbGetXlibControls [Xlib] XkbIgnoreExtension [Xlib] 768 XkbInitCanonicalKeyTypes [Xlib] XkbKeyTypesForCoreSymbols 769 [Xlib] XkbKeycodeToKeysym [Xlib] XkbKeysymToModifiers [Xlib] 770 XkbLatchGroup [Xlib] XkbLatchModifiers [Xlib] 771 XkbLibraryVersion [Xlib] XkbListComponents [Xlib] 772 XkbLockGroup [Xlib] XkbLockModifiers [Xlib] 773 XkbLookupKeyBinding [Xlib] XkbLookupKeySym [Xlib] 774 XkbNoteControlsChanges [Xlib] XkbNoteMapChanges [Xlib] 775 XkbNoteNameChanges [Xlib] XkbOpenDisplay [Xlib] 776 XkbQueryExtension [Xlib] XkbRefreshKeyboardMapping [Xlib] 777 XkbResizeKeyActions [Xlib] XkbResizeKeySyms [Xlib] 778 XkbResizeKeyType [Xlib] XkbSelectEventDetails [Xlib] 779 XkbSelectEvents [Xlib] XkbSetAtomFuncs [Xlib] 780 XkbSetAutoRepeatRate [Xlib] XkbSetAutoResetControls [Xlib] 781 XkbSetCompatMap [Xlib] XkbSetControls [Xlib] 782 XkbSetDebuggingFlags [Xlib] XkbSetDetectableAutoRepeat [Xlib] 783 XkbSetGeometry [Xlib] XkbSetIgnoreLockMods [Xlib] 784 XkbSetIndicatorMap [Xlib] XkbSetMap [Xlib] 785 XkbSetNamedIndicator [Xlib] XkbSetNames [Xlib] 786 XkbSetServerInternalMods [Xlib] XkbSetXlibControls [Xlib] 787 XkbToControl [Xlib] XkbTranslateKeyCode [Xlib] 788 XkbTranslateKeySym [Xlib] XkbUpdateMapFromCore [Xlib] 789 XkbUseExtension [Xlib] XkbVirtualModsToReal [Xlib] 790 XmbDrawImageString [Xlib] XmbDrawString [Xlib] XmbDrawText 791 [Xlib] XmbLookupString [Xlib] 792 XmbResetIC [Xlib] XmbSetWMProperties [Xlib] XmbTextEscapement 793 [Xlib] XmbTextExtents [Xlib] 794 XmbTextListToTextProperty [Xlib] XmbTextPerCharExtents [Xlib] 795 XmbTextPropertyToTextList [Xlib] XrmCombineDatabase [Xlib] 796 XrmCombineFileDatabase [Xlib] XrmDestroyDatabase [Xlib] 797 XrmEnumerateDatabase [Xlib] XrmGetDatabase [Xlib] 798 XrmGetFileDatabase [Xlib] XrmGetResource [Xlib] 799 XrmGetStringDatabase [Xlib] XrmInitialize [Xlib] 800 XrmLocaleOfDatabase [Xlib] XrmMergeDatabases [Xlib] 801 XrmParseCommand [Xlib] XrmPermStringToQuark [Xlib] 802 XrmPutFileDatabase [Xlib] XrmPutLineResource [Xlib] 803 XrmPutResource [Xlib] XrmPutStringResource [Xlib] 804 XrmQGetResource [Xlib] XrmQGetSearchList [Xlib] 805 XrmQGetSearchResource [Xlib] XrmQPutResource [Xlib] 806 XrmQPutStringResource [Xlib] XrmQuarkToString [Xlib] 807 XrmSetDatabase [Xlib] XrmStringToBindingQuarkList [Xlib] 808 XrmStringToQuark [Xlib] XrmStringToQuarkList [Xlib] 809 XrmUniqueQuark [Xlib] Xutf8TextListToTextProperty [LSB] 810 Xutf8TextPropertyToTextList [LSB] XwcDrawImageString [Xlib] 811 XwcDrawString [Xlib] XwcDrawText [Xlib] 812 XwcFreeStringList [Xlib] XwcLookupString [Xlib] XwcResetIC 813 [Xlib] XwcTextEscapement [Xlib] 814 XwcTextExtents [Xlib] XwcTextListToTextProperty [Xlib] 815 XwcTextPerCharExtents [Xlib] XwcTextPropertyToTextList [Xlib] 816 _________________________________________________________ 817 818 6.2. Data Definitions for libX11 819 820 This section defines global identifiers and their values that 821 are associated with interfaces contained in libX11. These 822 definitions are organized into groups that correspond to 823 system headers. This convention is used as a convenience for 824 the reader, and does not imply the existence of these headers, 825 or their content. Where an interface is defined as requiring a 826 particular system header file all of the data definitions for 827 that system header file presented here shall be in effect. 828 829 This section gives data definitions to promote binary 830 application portability, not to repeat source interface 831 definitions available elsewhere. System providers and 832 application developers should use this ABI to supplement - not 833 to replace - source interface definition specifications. 834 835 This specification uses the ISO C (1999) C Language as the 836 reference programming language, and data definitions are 837 specified in ISO C format. The C language is used here as a 838 convenient notation. Using a C language description of these 839 data objects does not preclude their use by other programming 840 languages. 841 _________________________________________________________ 842 843 6.2.1. X11/X.h 844 845 typedef unsigned long int XID; 846 typedef unsigned long int Atom; 847 typedef unsigned long int VisualID; 848 typedef unsigned long int Time; 849 typedef XID Window; 850 typedef XID Font; 851 typedef XID Pixmap; 852 typedef unsigned char KeyCode; 853 typedef XID Drawable; 854 typedef XID Cursor; 855 typedef XID Colormap; 856 typedef XID GContext; 857 typedef XID KeySym; 858 859 #define AllTemporary 0L 860 #define AnyButton 0L 861 #define AnyKey 0L 862 #define AnyPropertyType 0L 863 #define CopyFromParent 0L 864 #define CurrentTime 0L 865 #define NoSymbol 0L 866 #define None 0L 867 #define PointerWindow 0L 868 #define InputFocus 1L 869 #define ParentRelative 1L 870 #define PointerRoot 1L 871 872 #define KeyPressMask (1L<<0) 873 #define KeyReleaseMask (1L<<1) 874 #define Button3MotionMask (1L<<10) 875 #define Button4MotionMask (1L<<11) 876 #define Button5MotionMask (1L<<12) 877 #define ButtonMotionMask (1L<<13) 878 #define KeymapStateMask (1L<<14) 879 #define ExposureMask (1L<<15) 880 #define VisibilityChangeMask (1L<<16) 881 #define StructureNotifyMask (1L<<17) 882 #define ResizeRedirectMask (1L<<18) 883 #define SubstructureNotifyMask (1L<<19) 884 #define ButtonPressMask (1L<<2) 885 #define SubstructureRedirectMask (1L<<20) 886 #define FocusChangeMask (1L<<21) 887 #define PropertyChangeMask (1L<<22) 888 #define ColormapChangeMask (1L<<23) 889 #define OwnerGrabButtonMask (1L<<24) 890 #define ButtonReleaseMask (1L<<3) 891 #define EnterWindowMask (1L<<4) 892 #define LeaveWindowMask (1L<<5) 893 #define PointerMotionMask (1L<<6) 894 #define PointerMotionHintMask (1L<<7) 895 #define Button1MotionMask (1L<<8) 896 #define Button2MotionMask (1L<<9) 897 898 #define NoEventMask 0L 899 #define FocusOut 10 900 #define KeymapNotify 11 901 #define Expose 12 902 #define GraphicsExpose 13 903 #define NoExpose 14 904 #define VisibilityNotify 15 905 #define CreateNotify 16 906 #define DestroyNotify 17 907 #define UnmapNotify 18 908 #define MapNotify 19 909 #define KeyPress 2 910 #define MapRequest 20 911 #define ReparentNotify 21 912 #define ConfigureNotify 22 913 #define ConfigureRequest 23 914 #define GravityNotify 24 915 #define ResizeRequest 25 916 #define CirculateNotify 26 917 #define CirculateRequest 27 918 #define PropertyNotify 28 919 #define SelectionClear 29 920 #define KeyRelease 3 921 #define SelectionRequest 30 922 #define SelectionNotify 31 923 #define ColormapNotify 32 924 #define ClientMessage 33 925 #define MappingNotify 34 926 #define LASTEvent 35 927 #define ButtonPress 4 928 #define ButtonRelease 5 929 #define MotionNotify 6 930 #define EnterNotify 7 931 #define LeaveNotify 8 932 #define FocusIn 9 933 934 #define ShiftMask (1<<0) 935 #define LockMask (1<<1) 936 #define ControlMask (1<<2) 937 #define Mod1Mask (1<<3) 938 #define Mod2Mask (1<<4) 939 #define Mod3Mask (1<<5) 940 #define Mod4Mask (1<<6) 941 #define Mod5Mask (1<<7) 942 943 #define ShiftMapIndex 0 944 #define LockMapIndex 1 945 #define ControlMapIndex 2 946 #define Mod1MapIndex 3 947 #define Mod2MapIndex 4 948 #define Mod3MapIndex 5 949 #define Mod4MapIndex 6 950 #define Mod5MapIndex 7 951 952 #define Button3Mask (1<<10) 953 #define Button4Mask (1<<11) 954 #define Button5Mask (1<<12) 955 #define AnyModifier (1<<15) 956 #define Button1Mask (1<<8) 957 #define Button2Mask (1<<9) 958 959 #define Button1 1 960 #define Button2 2 961 #define Button3 3 962 #define Button4 4 963 #define Button5 5 964 965 #define NotifyNormal 0 966 #define NotifyGrab 1 967 #define NotifyHint 1 968 #define NotifyUngrab 2 969 #define NotifyWhileGrabbed 3 970 971 #define NotifyAncestor 0 972 #define NotifyVirtual 1 973 #define NotifyInferior 2 974 #define NotifyNonlinear 3 975 #define NotifyNonlinearVirtual 4 976 #define NotifyPointer 5 977 #define NotifyPointerRoot 6 978 #define NotifyDetailNone 7 979 980 #define VisibilityUnobscured 0 981 #define VisibilityPartiallyObscured 1 982 #define VisibilityFullyObscured 2 983 984 #define PlaceOnTop 0 985 #define PlaceOnBottom 1 986 987 #define FamilyInternet 0 988 #define FamilyDECnet 1 989 #define FamilyChaos 2 990 991 #define PropModeReplace 0 992 #define PropertyNewValue 0 993 #define PropertyDelete 1 994 995 #define ColormapUninstalled 0 996 #define ColormapInstalled 1 997 998 #define GrabModeSync 0 999 #define GrabModeAsync 1 1000 1001 #define GrabSuccess 0 1002 #define AlreadyGrabbed 1 1003 #define GrabInvalidTime 2 1004 #define GrabNotViewable 3 1005 #define GrabFrozen 4 1006 1007 #define AsyncPointer 0 1008 #define SyncPointer 1 1009 #define ReplayPointer 2 1010 #define AsyncKeyboard 3 1011 #define SyncKeyboard 4 1012 #define ReplayKeyboard 5 1013 #define AsyncBoth 6 1014 #define SyncBoth 7 1015 1016 #define RevertToNone (int)None 1017 #define RevertToPointerRoot (int)PointerRoot 1018 #define RevertToParent 2 1019 1020 #define Success 0 1021 #define BadRequest 1 1022 #define BadAccess 10 1023 #define BadAlloc 11 1024 #define BadColor 12 1025 #define FirstExtensionError 128 1026 #define BadGC 13 1027 #define BadIDChoice 14 1028 #define BadName 15 1029 #define BadLength 16 1030 #define BadImplementation 17 1031 #define BadValue 2 1032 #define LastExtensionError 255 1033 #define BadWindow 3 1034 #define BadPixmap 4 1035 #define BadAtom 5 1036 #define BadCursor 6 1037 #define BadFont 7 1038 #define BadMatch 8 1039 #define BadDrawable 9 1040 1041 #define CWX (1<<0) 1042 #define InputOutput 1 1043 #define InputOnly 2 1044 1045 #define CWBackPixmap (1L<<0) 1046 #define CWBackPixel (1L<<1) 1047 #define CWSaveUnder (1L<<10) 1048 #define CWEventMask (1L<<11) 1049 #define CWDontPropagate (1L<<12) 1050 #define CWColormap (1L<<13) 1051 #define CWCursor (1L<<14) 1052 #define CWBorderPixmap (1L<<2) 1053 #define CWBorderPixel (1L<<3) 1054 #define CWBitGravity (1L<<4) 1055 #define CWWinGravity (1L<<5) 1056 #define CWBackingStore (1L<<6) 1057 #define CWBackingPlanes (1L<<7) 1058 #define CWBackingPixel (1L<<8) 1059 #define CWOverrideRedirect (1L<<9) 1060 1061 #define CWY (1<<1) 1062 #define CWWidth (1<<2) 1063 #define CWHeight (1<<3) 1064 #define CWBorderWidth (1<<4) 1065 #define CWSibling (1<<5) 1066 #define CWStackMode (1<<6) 1067 1068 #define ForgetGravity 0 1069 #define UnmapGravity 0 1070 #define NorthWestGravity 1 1071 #define StaticGravity 10 1072 #define NorthGravity 2 1073 #define NorthEastGravity 3 1074 #define WestGravity 4 1075 #define CenterGravity 5 1076 #define EastGravity 6 1077 #define SouthWestGravity 7 1078 #define SouthGravity 8 1079 #define SouthEastGravity 9 1080 1081 #define NotUseful 0 1082 #define WhenMapped 1 1083 #define Always 2 1084 1085 #define IsUnmapped 0 1086 #define IsUnviewable 1 1087 #define IsViewable 2 1088 1089 #define SetModeInsert 0 1090 #define SetModeDelete 1 1091 1092 #define DestroyAll 0 1093 #define RetainPermanent 1 1094 #define RetainTemporary 2 1095 1096 #define Above 0 1097 #define Below 1 1098 #define TopIf 2 1099 #define BottomIf 3 1100 #define Opposite 4 1101 1102 #define RaiseLowest 0 1103 #define LowerHighest 1 1104 1105 #define PropModePrepend 1 1106 #define PropModeAppend 2 1107 1108 #define GXclear 0x0 1109 #define GXand 0x1 1110 #define GXandReverse 0x2 1111 #define GXcopy 0x3 1112 #define GXandInverted 0x4 1113 #define GXnoop 0x5 1114 #define GXxor 0x6 1115 #define GXor 0x7 1116 #define GXnor 0x8 1117 #define GXequiv 0x9 1118 #define GXinvert 0xa 1119 #define GXorReverse 0xb 1120 #define GXcopyInverted 0xc 1121 #define GXorInverted 0xd 1122 #define GXnand 0xe 1123 #define GXset 0xf 1124 1125 #define LineSolid 0 1126 #define LineOnOffDash 1 1127 #define LineDoubleDash 2 1128 1129 #define CapNotLast 0 1130 #define CapButt 1 1131 #define CapRound 2 1132 #define CapProjecting 3 1133 1134 #define JoinMiter 0 1135 #define JoinRound 1 1136 #define JoinBevel 2 1137 1138 #define FillSolid 0 1139 #define FillTiled 1 1140 #define FillStippled 2 1141 #define FillOpaqueStippled 3 1142 1143 #define EvenOddRule 0 1144 #define WindingRule 1 1145 1146 #define ClipByChildren 0 1147 #define IncludeInferiors 1 1148 1149 #define Unsorted 0 1150 #define XYBitmap 0 1151 #define YSorted 1 1152 #define YXSorted 2 1153 #define YXBanded 3 1154 1155 #define CoordModeOrigin 0 1156 #define CoordModePrevious 1 1157 1158 #define Complex 0 1159 #define Nonconvex 1 1160 #define Convex 2 1161 1162 #define ArcChord 0 1163 #define ArcPieSlice 1 1164 1165 #define GCFunction (1L<<0) 1166 #define GCPlaneMask (1L<<1) 1167 #define GCTile (1L<<10) 1168 #define GCStipple (1L<<11) 1169 #define GCTileStipXOrigin (1L<<12) 1170 #define GCTileStipYOrigin (1L<<13) 1171 #define GCFont (1L<<14) 1172 #define GCSubwindowMode (1L<<15) 1173 #define GCGraphicsExposures (1L<<16) 1174 #define GCClipXOrigin (1L<<17) 1175 #define GCClipYOrigin (1L<<18) 1176 #define GCClipMask (1L<<19) 1177 #define GCForeground (1L<<2) 1178 #define GCDashOffset (1L<<20) 1179 #define GCDashList (1L<<21) 1180 #define GCArcMode (1L<<22) 1181 #define GCBackground (1L<<3) 1182 #define GCLineWidth (1L<<4) 1183 #define GCLineStyle (1L<<5) 1184 #define GCCapStyle (1L<<6) 1185 #define GCJoinStyle (1L<<7) 1186 #define GCFillStyle (1L<<8) 1187 #define GCFillRule (1L<<9) 1188 #define GCLastBit 22 1189 #define FontChange 255 1190 1191 #define FontLeftToRight 0 1192 #define FontRightToLeft 1 1193 1194 #define XYPixmap 1 1195 #define ZPixmap 2 1196 1197 #define AllocNone 0 1198 #define AllocAll 1 1199 1200 #define DoRed (1<<0) 1201 #define DoGreen (1<<1) 1202 #define DoBlue (1<<2) 1203 1204 #define CursorShape 0 1205 #define TileShape 1 1206 #define StippleShape 2 1207 1208 #define AutoRepeatModeOff 0 1209 #define LedModeOff 0 1210 #define AutoRepeatModeOn 1 1211 #define LedModeOn 1 1212 #define AutoRepeatModeDefault 2 1213 1214 #define KBKeyClickPercent (1L<<0) 1215 #define KBBellPercent (1L<<1) 1216 #define KBBellPitch (1L<<2) 1217 #define KBBellDuration (1L<<3) 1218 #define KBLed (1L<<4) 1219 #define KBLedMode (1L<<5) 1220 #define KBKey (1L<<6) 1221 #define KBAutoRepeatMode (1L<<7) 1222 #define MappingModifier 0 1223 #define MappingSuccess 0 1224 #define MappingBusy 1 1225 #define MappingKeyboard 1 1226 #define MappingFailed 2 1227 #define MappingPointer 2 1228 1229 #define DisableScreenInterval 0 1230 #define DisableScreenSaver 0 1231 #define DontAllowExposures 0 1232 #define DontPreferBlanking 0 1233 #define AllowExposures 1 1234 #define PreferBlanking 1 1235 #define DefaultBlanking 2 1236 #define DefaultExposures 2 1237 1238 #define ScreenSaverReset 0 1239 #define ScreenSaverActive 1 1240 1241 #define HostInsert 0 1242 #define HostDelete 1 1243 1244 #define DisableAccess 0 1245 #define EnableAccess 1 1246 1247 #define StaticGray 0 1248 #define GrayScale 1 1249 #define StaticColor 2 1250 #define PseudoColor 3 1251 #define TrueColor 4 1252 #define DirectColor 5 1253 1254 #define LSBFirst 0 1255 #define MSBFirst 1 1256 _________________________________________________________ 1257 1258 6.2.2. X11/XKBlib.h 1259 1260 extern int XkbAllocClientMap(XkbDescPtr, unsigned int, unsigned int); 1261 extern int XkbAllocCompatMap(XkbDescPtr, unsigned int, unsigned int); 1262 extern int XkbAllocControls(XkbDescPtr, unsigned int); 1263 extern int XkbAllocIndicatorMaps(XkbDescPtr); 1264 extern XkbDescPtrXkbAllocKeyboard(void); 1265 extern int XkbAllocNames(XkbDescPtr, unsigned int, int, int); 1266 extern int XkbAllocServerMap(XkbDescPtr, unsigned int, unsigned int); 1267 extern int XkbApplyCompatMapToKey(XkbDescPtr, KeyCode, XkbChangesPtr); 1268 extern int XkbBell(Display *, Window, int, Atom); 1269 extern int XkbBellEvent(Display *, Window, int, Atom); 1270 extern int XkbChangeEnabledControls(Display *, unsigned int, unsigned int, 1271 unsigned int); 1272 extern int XkbChangeMap(Display *, XkbDescPtr, XkbMapChangesPtr); 1273 extern int XkbChangeNames(Display *, XkbDescPtr, XkbNameChangesPtr); 1274 extern int XkbChangeTypesOfKey(XkbDescPtr, int, int, unsigned int, int*, 1275 XkbMapChangesPtr); 1276 extern int XkbComputeEffectiveMap(XkbDescPtr, XkbKeyTypePtr, 1277 unsigned char *); 1278 extern int XkbCopyKeyType(XkbKeyTypePtr, XkbKeyTypePtr); 1279 extern int XkbCopyKeyTypes(XkbKeyTypePtr, XkbKeyTypePtr, int); 1280 extern int XkbForceBell(Display *, int); 1281 extern void XkbFreeClientMap(XkbDescPtr, unsigned int, int); 1282 extern void XkbFreeCompatMap(XkbDescPtr, unsigned int, int); 1283 extern void XkbFreeComponentList(XkbComponentListPtr); 1284 extern void XkbFreeControls(XkbDescPtr, unsigned int, int); 1285 extern void XkbFreeIndicatorMaps(XkbDescPtr); 1286 extern void XkbFreeKeyboard(XkbDescPtr, unsigned int, int); 1287 extern void XkbFreeNames(XkbDescPtr, unsigned int, int); 1288 extern void XkbFreeServerMap(XkbDescPtr, unsigned int, int); 1289 extern int XkbGetAutoRepeatRate(Display *, unsigned int, unsigned int *, 1290 unsigned int *); 1291 extern int XkbGetCompatMap(Display *, unsigned int, XkbDescPtr); 1292 extern int XkbGetControls(Display *, unsigned long int, XkbDescPtr); 1293 extern int XkbGetIndicatorMap(Display *, unsigned long int, XkbDescPtr); 1294 extern int XkbGetIndicatorState(Display *, unsigned int, unsigned int *); 1295 extern int XkbGetKeyActions(Display *, unsigned int, unsigned int, 1296 XkbDescPtr); 1297 extern int XkbGetKeyBehaviors(Display *, unsigned int, unsigned int, 1298 XkbDescPtr); 1299 extern int XkbGetKeyExplicitComponents(Display *, unsigned int, 1300 unsigned int, XkbDescPtr); 1301 extern int XkbGetKeyModifierMap(Display *, unsigned int, unsigned int, 1302 XkbDescPtr); 1303 extern int XkbGetKeySyms(Display *, unsigned int, unsigned int, 1304 XkbDescPtr); 1305 extern int XkbGetKeyTypes(Display *, unsigned int, unsigned int, 1306 XkbDescPtr); 1307 extern XkbDescPtrXkbGetKeyboard(Display *, unsigned int, unsigned int); 1308 extern XkbDescPtrXkbGetKeyboardByName(Display *, unsigned int, 1309 XkbComponentNamesPtr, unsigned int, 1310 unsigned int, int); 1311 extern XkbDescPtrXkbGetMap(Display *, unsigned int, unsigned int); 1312 extern int XkbGetMapChanges(Display *, XkbDescPtr, XkbMapChangesPtr); 1313 extern int XkbGetNamedIndicator(Display *, Atom, int *, int *, 1314 XkbIndicatorMapPtr, int *); 1315 extern int XkbGetNames(Display *, unsigned int, XkbDescPtr); 1316 extern int XkbGetState(Display *, unsigned int, XkbStatePtr); 1317 extern int XkbGetUpdatedMap(Display *, unsigned int, XkbDescPtr); 1318 extern int XkbGetVirtualMods(Display *, unsigned int, XkbDescPtr); 1319 extern unsigned int XkbGetXlibControls(Display *); 1320 extern int XkbIgnoreExtension(int); 1321 extern int XkbInitCanonicalKeyTypes(XkbDescPtr, unsigned int, int); 1322 extern int XkbKeyTypesForCoreSymbols(XkbDescPtr, int, KeySym *, 1323 unsigned int, int *, KeySym *); 1324 extern KeySym XkbKeycodeToKeysym(Display *, unsigned int, int, int); 1325 extern unsigned int XkbKeysymToModifiers(Display *, KeySym); 1326 extern int XkbLatchGroup(Display *, unsigned int, unsigned int); 1327 extern int XkbLatchModifiers(Display *, unsigned int, unsigned int, 1328 unsigned int); 1329 extern int XkbLibraryVersion(int *, int *); 1330 extern XkbComponentListPtrXkbListComponents(Display *, unsigned int, 1331 XkbComponentNamesPtr, int *); 1332 extern int XkbLockGroup(Display *, unsigned int, unsigned int); 1333 extern int XkbLockModifiers(Display *, unsigned int, unsigned int, 1334 unsigned int); 1335 extern int XkbLookupKeyBinding(Display *, KeySym, unsigned int, char *, 1336 int, int *); 1337 extern int XkbLookupKeySym(Display *, KeyCode, unsigned int, 1338 unsigned int *, KeySym *); 1339 extern void XkbNoteControlsChanges(XkbControlsChangesPtr, 1340 XkbControlsNotifyEvent *, unsigned int); 1341 extern void XkbNoteMapChanges(XkbMapChangesPtr, XkbMapNotifyEvent *, 1342 unsigned int); 1343 extern void XkbNoteNameChanges(XkbNameChangesPtr, XkbNamesNotifyEvent *, 1344 unsigned int); 1345 extern Display *XkbOpenDisplay(char *, int *, int *, int *, int *, int*); 1346 extern int XkbQueryExtension(Display *, int *, int *, int *, int *, int *); 1347 extern int XkbRefreshKeyboardMapping(XkbMapNotifyEvent *); 1348 extern XkbAction *XkbResizeKeyActions(XkbDescPtr, int, int); 1349 extern KeySym *XkbResizeKeySyms(XkbDescPtr, int, int); 1350 extern int XkbResizeKeyType(XkbDescPtr, int, int, int, int); 1351 extern int XkbSelectEventDetails(Display *, unsigned int, unsigned int, 1352 unsigned long int, unsigned long int); 1353 extern int XkbSelectEvents(Display *, unsigned int, unsigned int, 1354 unsigned int); 1355 extern void XkbSetAtomFuncs(XkbInternAtomFunc, XkbGetAtomNameFunc); 1356 extern int XkbSetAutoRepeatRate(Display *, unsigned int, unsigned int, 1357 unsigned int); 1358 extern int XkbSetAutoResetControls(Display *, unsigned int, unsigned int *, 1359 unsigned int *); 1360 extern int XkbSetCompatMap(Display *, unsigned int, XkbDescPtr, int); 1361 extern int XkbSetControls(Display *, unsigned long int, XkbDescPtr); 1362 extern int XkbSetDebuggingFlags(Display *, unsigned int, unsigned int, 1363 char *, unsigned int, unsigned int, 1364 unsigned int *, unsigned int *); 1365 extern int XkbSetDetectableAutoRepeat(Display *, int, int *); 1366 extern int XkbSetIgnoreLockMods(Display *, unsigned int, unsigned int, 1367 unsigned int, unsigned int, unsigned int); 1368 extern int XkbSetIndicatorMap(Display *, unsigned long int, XkbDescPtr); 1369 extern int XkbSetMap(Display *, unsigned int, XkbDescPtr); 1370 extern int XkbSetNamedIndicator(Display *, Atom, int, int, int, 1371 XkbIndicatorMapPtr); 1372 extern int XkbSetNames(Display *, unsigned int, unsigned int, unsignedint, 1373 XkbDescPtr); 1374 extern int XkbSetServerInternalMods(Display *, unsigned int, unsigned int, 1375 unsigned int, unsigned int, 1376 unsigned int); 1377 extern unsigned int XkbSetXlibControls(Display *, unsigned int, 1378 unsigned int); 1379 extern char XkbToControl(char); 1380 extern int XkbTranslateKeyCode(XkbDescPtr, KeyCode, unsigned int, 1381 unsigned int *, KeySym *); 1382 extern int XkbTranslateKeySym(Display *, KeySym *, unsigned int, char *, 1383 int, int *); 1384 extern int XkbUpdateMapFromCore(XkbDescPtr, KeyCode, int, int, KeySym *, 1385 XkbChangesPtr); 1386 extern int XkbUseExtension(Display *, int *, int *); 1387 extern int XkbVirtualModsToReal(XkbDescPtr, unsigned int, unsigned int*); 1388 _________________________________________________________ 1389 1390 6.2.3. X11/Xauth.h 1391 1392 typedef struct xauth { 1393 unsigned short family; 1394 unsigned short address_length; 1395 char *address; 1396 unsigned short number_length; 1397 char *number; 1398 unsigned short name_length; 1399 char *name; 1400 unsigned short data_length; 1401 char *data; 1402 } Xauth; 1403 extern void XauDisposeAuth(Xauth *); 1404 extern char *XauFileName(void); 1405 extern Xauth *XauGetBestAuthByAddr(unsigned int, unsigned int, 1406 const char *, unsigned int, char *,int, 1407 char **, int *); 1408 extern Xauth *XauReadAuth(FILE *); 1409 _________________________________________________________ 1410 1411 6.2.4. X11/Xcms.h 1412 1413 typedef struct _XcmsFunctionSet { 1414 XcmsColorSpace **DDColorSpaces; 1415 XcmsScreenInitProc screenInitProc; 1416 XcmsScreenFreeProc screenFreeProc; 1417 } XcmsFunctionSet; 1418 1419 typedef unsigned long int XcmsColorFormat; 1420 typedef double XcmsFloat; 1421 typedef struct { 1422 unsigned short red; 1423 unsigned short green; 1424 unsigned short blue; 1425 } XcmsRGB; 1426 typedef struct { 1427 XcmsFloat red; 1428 XcmsFloat green; 1429 XcmsFloat blue; 1430 } XcmsRGBi; 1431 typedef struct { 1432 XcmsFloat X; 1433 XcmsFloat Y; 1434 XcmsFloat Z; 1435 } XcmsCIEXYZ; 1436 typedef struct { 1437 XcmsFloat u_prime; 1438 XcmsFloat v_prime; 1439 XcmsFloat Y; 1440 } XcmsCIEuvY; 1441 typedef struct { 1442 XcmsFloat x; 1443 XcmsFloat y; 1444 XcmsFloat Y; 1445 } XcmsCIExyY; 1446 typedef struct { 1447 XcmsFloat L_star; 1448 XcmsFloat a_star; 1449 XcmsFloat b_star; 1450 } XcmsCIELab; 1451 typedef struct { 1452 XcmsFloat L_star; 1453 XcmsFloat u_star; 1454 XcmsFloat v_star; 1455 } XcmsCIELuv; 1456 typedef struct { 1457 XcmsFloat H; 1458 XcmsFloat V; 1459 XcmsFloat C; 1460 } XcmsTekHVC; 1461 typedef struct { 1462 XcmsFloat pad0; 1463 XcmsFloat pad1; 1464 XcmsFloat pad2; 1465 XcmsFloat pad3; 1466 } XcmsPad; 1467 1468 typedef union { 1469 XcmsRGB RGB; 1470 XcmsRGBi RGBi; 1471 XcmsCIEXYZ CIEXYZ; 1472 XcmsCIEuvY CIEuvY; 1473 XcmsCIExyY CIExyY; 1474 XcmsCIELab CIELab; 1475 XcmsCIELuv CIELuv; 1476 XcmsTekHVC TekHVC; 1477 XcmsPad Pad; 1478 } XcmsColor; 1479 1480 typedef struct _XcmsPerScrnInfo { 1481 XcmsColor screenWhitePt; 1482 XPointer functionSet; 1483 XPointer screenData; 1484 unsigned char state; 1485 char pad[1]; 1486 } XcmsPerScrnInfo; 1487 1488 typedef int (*XcmsCompressionProc) (void); 1489 typedef int (*XcmsWhiteAdjustProc) (void); 1490 typedef int (*XcmsScreenInitProc) (void); 1491 typedef void (*XcmsScreenFreeProc) (void); 1492 typedef int (*XcmsConversionProc) (void); 1493 typedef int (*XcmsParseStringProc) (void); 1494 1495 typedef struct _XcmsCCC *XcmsCCC; 1496 1497 typedef XcmsConversionProc *XcmsFuncListPtr; 1498 1499 typedef struct _XcmsColorSpace { 1500 char *prefix; 1501 XcmsColorFormat id; 1502 XcmsParseStringProc parseString; 1503 XcmsFuncListPtr to_CIEXYZ; 1504 XcmsFuncListPtr from_CIEXYZ; 1505 int inverse_flag; 1506 } XcmsColorSpace; 1507 extern int XcmsAddColorSpace(XcmsColorSpace *); 1508 extern int XcmsAddFunctionSet(XcmsFunctionSet *); 1509 extern int XcmsAllocColor(Display *, Colormap, XcmsColor *, 1510 XcmsColorFormat); 1511 extern int XcmsAllocNamedColor(Display *, Colormap, const char *, 1512 XcmsColor *, XcmsColor *, XcmsColorFormat); 1513 extern XcmsCCC XcmsCCCOfColormap(Display *, Colormap); 1514 extern int XcmsCIELabClipL(XcmsCCC, XcmsColor *, unsigned int, 1515 unsigned int, int *); 1516 extern int XcmsCIELabClipLab(XcmsCCC, XcmsColor *, unsigned int, 1517 unsigned int, int *); 1518 extern int XcmsCIELabClipab(XcmsCCC, XcmsColor *, unsigned int, 1519 unsigned int, int *); 1520 extern int XcmsCIELabQueryMaxC(XcmsCCC, XcmsFloat, XcmsFloat, XcmsColor *); 1521 extern int XcmsCIELabQueryMaxL(XcmsCCC, XcmsFloat, XcmsFloat, XcmsColor *); 1522 extern int XcmsCIELabQueryMaxLC(XcmsCCC, XcmsFloat, XcmsColor *); 1523 extern int XcmsCIELabQueryMinL(XcmsCCC, XcmsFloat, XcmsFloat, XcmsColor *); 1524 extern int XcmsCIELabToCIEXYZ(XcmsCCC, XcmsColor *, XcmsColor *, 1525 unsigned int); 1526 extern int XcmsCIELabWhiteShiftColors(XcmsCCC, XcmsColor *, XcmsColor *, 1527 XcmsColorFormat, XcmsColor *, 1528 unsigned int, int *); 1529 extern int XcmsCIELuvClipL(XcmsCCC, XcmsColor *, unsigned int, 1530 unsigned int, int *); 1531 extern int XcmsCIELuvClipLuv(XcmsCCC, XcmsColor *, unsigned int, 1532 unsigned int, int *); 1533 extern int XcmsCIELuvClipuv(XcmsCCC, XcmsColor *, unsigned int, 1534 unsigned int, int *); 1535 extern int XcmsCIELuvQueryMaxC(XcmsCCC, XcmsFloat, XcmsFloat, XcmsColor *); 1536 extern int XcmsCIELuvQueryMaxL(XcmsCCC, XcmsFloat, XcmsFloat, XcmsColor *); 1537 extern int XcmsCIELuvQueryMaxLC(XcmsCCC, XcmsFloat, XcmsColor *); 1538 extern int XcmsCIELuvQueryMinL(XcmsCCC, XcmsFloat, XcmsFloat, XcmsColor *); 1539 extern int XcmsCIELuvToCIEuvY(XcmsCCC, XcmsColor *, XcmsColor *, 1540 unsigned int); 1541 extern int XcmsCIELuvWhiteShiftColors(XcmsCCC, XcmsColor *, XcmsColor *, 1542 XcmsColorFormat, XcmsColor *, 1543 unsigned int, int *); 1544 extern int XcmsCIEXYZToCIELab(XcmsCCC, XcmsColor *, XcmsColor *, 1545 unsigned int); 1546 extern int XcmsCIEXYZToCIEuvY(XcmsCCC, XcmsColor *, XcmsColor *, 1547 unsigned int); 1548 extern int XcmsCIEXYZToCIExyY(XcmsCCC, XcmsColor *, XcmsColor *, 1549 unsigned int); 1550 extern int XcmsCIEXYZToRGBi(XcmsCCC, XcmsColor *, unsigned int, int *); 1551 extern int XcmsCIEuvYToCIELuv(XcmsCCC, XcmsColor *, XcmsColor *, 1552 unsigned int); 1553 extern int XcmsCIEuvYToCIEXYZ(XcmsCCC, XcmsColor *, XcmsColor *, 1554 unsigned int); 1555 extern int XcmsCIEuvYToTekHVC(XcmsCCC, XcmsColor *, XcmsColor *, 1556 unsigned int); 1557 extern int XcmsCIExyYToCIEXYZ(XcmsCCC, XcmsColor *, XcmsColor *, 1558 unsigned int); 1559 extern XcmsColor *XcmsClientWhitePointOfCCC(XcmsCCC); 1560 extern int XcmsConvertColors(XcmsCCC, XcmsColor *, unsigned int, 1561 XcmsColorFormat, int *); 1562 extern XcmsCCC XcmsCreateCCC(Display *, int, Visual *, XcmsColor *, 1563 XcmsCompressionProc, XPointer, 1564 XcmsWhiteAdjustProc, XPointer); 1565 extern XcmsCCC XcmsDefaultCCC(Display *, int); 1566 extern Display *XcmsDisplayOfCCC(XcmsCCC); 1567 extern XcmsColorFormat XcmsFormatOfPrefix(char *); 1568 extern void XcmsFreeCCC(XcmsCCC); 1569 extern int XcmsLookupColor(Display *, Colormap, const char *, XcmsColor *, 1570 XcmsColor *, XcmsColorFormat); 1571 extern char *XcmsPrefixOfFormat(XcmsColorFormat); 1572 extern int XcmsQueryBlack(XcmsCCC, XcmsColorFormat, XcmsColor *); 1573 extern int XcmsQueryBlue(XcmsCCC, XcmsColorFormat, XcmsColor *); 1574 extern int XcmsQueryColor(Display *, Colormap, XcmsColor *, 1575 XcmsColorFormat); 1576 extern int XcmsQueryColors(Display *, Colormap, XcmsColor *, unsigned int, 1577 XcmsColorFormat); 1578 extern int XcmsQueryGreen(XcmsCCC, XcmsColorFormat, XcmsColor *); 1579 extern int XcmsQueryRed(XcmsCCC, XcmsColorFormat, XcmsColor *); 1580 extern int XcmsQueryWhite(XcmsCCC, XcmsColorFormat, XcmsColor *); 1581 extern int XcmsRGBToRGBi(XcmsCCC, XcmsColor *, unsigned int, int *); 1582 extern int XcmsRGBiToCIEXYZ(XcmsCCC, XcmsColor *, unsigned int, int *); 1583 extern int XcmsRGBiToRGB(XcmsCCC, XcmsColor *, unsigned int, int *); 1584 extern int XcmsScreenNumberOfCCC(XcmsCCC); 1585 extern XcmsColor *XcmsScreenWhitePointOfCCC(XcmsCCC); 1586 extern XcmsCCC XcmsSetCCCOfColormap(Display *, Colormap, XcmsCCC); 1587 extern XcmsCompressionProc XcmsSetCompressionProc(XcmsCCC, 1588 XcmsCompressionProc, 1589 XPointer); 1590 extern XcmsWhiteAdjustProc XcmsSetWhiteAdjustProc(XcmsCCC, 1591 XcmsWhiteAdjustProc, 1592 XPointer); 1593 extern int XcmsSetWhitePoint(XcmsCCC, XcmsColor *); 1594 extern int XcmsStoreColor(Display *, Colormap, XcmsColor *); 1595 extern int XcmsStoreColors(Display *, Colormap, XcmsColor *, unsigned int, 1596 int *); 1597 extern int XcmsTekHVCClipC(XcmsCCC, XcmsColor *, unsigned int, 1598 unsigned int, int *); 1599 extern int XcmsTekHVCClipV(XcmsCCC, XcmsColor *, unsigned int, 1600 unsigned int, int *); 1601 extern int XcmsTekHVCClipVC(XcmsCCC, XcmsColor *, unsigned int, 1602 unsigned int, int *); 1603 extern int XcmsTekHVCQueryMaxC(XcmsCCC, XcmsFloat, XcmsFloat, XcmsColor *); 1604 extern int XcmsTekHVCQueryMaxV(XcmsCCC, XcmsFloat, XcmsFloat, XcmsColor *); 1605 extern int XcmsTekHVCQueryMaxVC(XcmsCCC, XcmsFloat, XcmsColor *); 1606 extern int XcmsTekHVCQueryMaxVSamples(XcmsCCC, XcmsFloat, XcmsColor *, 1607 unsigned int); 1608 extern int XcmsTekHVCQueryMinV(XcmsCCC, XcmsFloat, XcmsFloat, XcmsColor *); 1609 extern int XcmsTekHVCToCIEuvY(XcmsCCC, XcmsColor *, XcmsColor *, 1610 unsigned int); 1611 extern int XcmsTekHVCWhiteShiftColors(XcmsCCC, XcmsColor *, XcmsColor *, 1612 XcmsColorFormat, XcmsColor *, 1613 unsigned int, int *); 1614 extern Visual *XcmsVisualOfCCC(XcmsCCC); 1615 _________________________________________________________ 1616 1617 6.2.5. X11/Xlib.h 1618 1619 struct _XDisplay; 1620 typedef struct 1621 XColor; 1622 typedef void *XVaNestedList; 1623 typedef int (*XErrorHandler) (void); 1624 typedef int (*XIOErrorHandler) (void); 1625 typedef void (*XConnectionWatchProc) (void); 1626 1627 typedef char *XPointer; 1628 1629 typedef struct _XExtData { 1630 int number; 1631 struct _XExtData *next; 1632 int (*free_private) (struct _XExtData * extension); 1633 XPointer private_data; 1634 } XExtData; 1635 typedef struct 1636 XExtCodes; 1637 1638 typedef struct 1639 XPixmapFormatValues; 1640 1641 typedef struct 1642 XGCValues; 1643 1644 typedef struct _XGC *GC; 1645 1646 typedef struct 1647 Visual; 1648 1649 typedef struct 1650 Depth; 1651 1652 typedef struct 1653 Screen; 1654 1655 typedef struct 1656 ScreenFormat; 1657 1658 typedef struct 1659 XSetWindowAttributes; 1660 typedef struct 1661 XWindowAttributes; 1662 1663 typedef struct 1664 XHostAddress; 1665 1666 typedef struct _XImage { 1667 int width; 1668 int height; 1669 int xoffset; 1670 int format; 1671 char *data; 1672 int byte_order; 1673 int bitmap_unit; 1674 int bitmap_bit_order; 1675 int bitmap_pad; 1676 int depth; 1677 int bytes_per_line; 1678 int bits_per_pixel; 1679 unsigned long int red_mask; 1680 unsigned long int green_mask; 1681 unsigned long int blue_mask; 1682 XPointer obdata; 1683 struct funcs f; 1684 } XImage; 1685 1686 typedef struct 1687 XWindowChanges; 1688 1689 typedef struct 1690 XSegment; 1691 typedef struct 1692 XPoint; 1693 typedef struct 1694 XRectangle; 1695 typedef struct 1696 XArc; 1697 1698 typedef struct 1699 XKeyboardControl; 1700 1701 typedef struct 1702 XKeyboardState; 1703 1704 typedef struct 1705 XTimeCoord; 1706 1707 typedef struct 1708 XModifierKeymap; 1709 1710 typedef struct _XDisplay Display; 1711 1712 typedef struct 1713 XKeyEvent; 1714 typedef XKeyEvent XKeyPressedEvent; 1715 typedef XKeyEvent XKeyReleasedEvent; 1716 typedef struct 1717 XButtonEvent; 1718 typedef XButtonEvent XButtonPressedEvent; 1719 typedef XButtonEvent XButtonReleasedEvent; 1720 typedef struct 1721 XMotionEvent; 1722 typedef XMotionEvent XPointerMovedEvent; 1723 typedef struct 1724 XCrossingEvent; 1725 typedef XCrossingEvent XEnterWindowEvent; 1726 typedef XCrossingEvent XLeaveWindowEvent; 1727 typedef struct 1728 XFocusChangeEvent; 1729 typedef XFocusChangeEvent XFocusInEvent; 1730 typedef XFocusChangeEvent XFocusOutEvent; 1731 typedef struct 1732 XKeymapEvent; 1733 typedef struct 1734 XExposeEvent; 1735 typedef struct 1736 XGraphicsExposeEvent; 1737 typedef struct 1738 XNoExposeEvent; 1739 typedef struct 1740 XVisibilityEvent; 1741 typedef struct 1742 XCreateWindowEvent; 1743 typedef struct 1744 XDestroyWindowEvent; 1745 typedef struct 1746 XUnmapEvent; 1747 typedef struct 1748 XMapEvent; 1749 typedef struct 1750 XMapRequestEvent; 1751 typedef struct 1752 XReparentEvent; 1753 typedef struct 1754 XConfigureEvent; 1755 typedef struct 1756 XGravityEvent; 1757 typedef struct 1758 XResizeRequestEvent; 1759 typedef struct 1760 XConfigureRequestEvent; 1761 typedef struct 1762 XCirculateEvent; 1763 typedef struct 1764 XCirculateRequestEvent; 1765 typedef struct 1766 XPropertyEvent; 1767 typedef struct 1768 XSelectionClearEvent; 1769 typedef struct 1770 XSelectionRequestEvent; 1771 typedef struct 1772 XSelectionEvent; 1773 typedef struct 1774 XColormapEvent; 1775 typedef union XClientMessageEvent; 1776 typedef struct 1777 XMappingEvent; 1778 typedef struct 1779 XErrorEvent; 1780 typedef struct 1781 XAnyEvent; 1782 1783 typedef union _XEvent { 1784 int type; 1785 XAnyEvent xany; 1786 XKeyEvent xkey; 1787 XButtonEvent xbutton; 1788 XMotionEvent xmotion; 1789 XCrossingEvent xcrossing; 1790 XFocusChangeEvent xfocus; 1791 XExposeEvent xexpose; 1792 XGraphicsExposeEvent xgraphicsexpose; 1793 XNoExposeEvent xnoexpose; 1794 XVisibilityEvent xvisibility; 1795 XCreateWindowEvent xcreatewindow; 1796 XDestroyWindowEvent xdestroywindow; 1797 XUnmapEvent xunmap; 1798 XMapEvent xmap; 1799 XMapRequestEvent xmaprequest; 1800 XReparentEvent xreparent; 1801 XConfigureEvent xconfigure; 1802 XGravityEvent xgravity; 1803 XResizeRequestEvent xresizerequest; 1804 XConfigureRequestEvent xconfigurerequest; 1805 XCirculateEvent xcirculate; 1806 XCirculateRequestEvent xcirculaterequest; 1807 XPropertyEvent xproperty; 1808 XSelectionClearEvent xselectionclear; 1809 XSelectionRequestEvent xselectionrequest; 1810 XSelectionEvent xselection; 1811 XColormapEvent xcolormap; 1812 XClientMessageEvent xclient; 1813 XMappingEvent xmapping; 1814 XErrorEvent xerror; 1815 XKeymapEvent xkeymap; 1816 long int pad[1]; 1817 } XEvent; 1818 1819 typedef struct 1820 XCharStruct; 1821 1822 typedef struct 1823 XFontProp; 1824 typedef struct 1825 XFontStruct; 1826 typedef struct 1827 XFontSetExtents; 1828 1829 typedef struct 1830 XTextItem; 1831 typedef struct 1832 XChar2b; 1833 typedef struct 1834 XTextItem16; 1835 1836 typedef union XEDataObject; 1837 1838 typedef struct _XOM *XOM; 1839 typedef struct _XOC *XOC; 1840 typedef struct _XOC *XFontSet; 1841 1842 typedef struct 1843 XmbTextItem; 1844 typedef struct 1845 XwcTextItem; 1846 1847 typedef struct _XIM *XIM; 1848 typedef struct _XIC *XIC; 1849 typedef void (*XIDProc) (void); 1850 extern int XActivateScreenSaver(Display *); 1851 extern int XAddConnectionWatch(Display *, XConnectionWatchProc, XPointer); 1852 extern XExtCodes *XAddExtension(Display *); 1853 extern int XAddHost(Display *, XHostAddress *); 1854 extern int XAddHosts(Display *, XHostAddress *, int); 1855 extern int XAddToExtensionList(struct _XExtData **, XExtData *); 1856 extern int XAddToSaveSet(Display *, Window); 1857 extern unsigned long int XAllPlanes(void); 1858 extern int XAllocColor(Display *, Colormap, XColor *); 1859 extern int XAllocColorCells(Display *, Colormap, int, unsigned long int *, 1860 unsigned int, unsigned long int *, 1861 unsigned int); 1862 extern int XAllocColorPlanes(Display *, Colormap, int, unsigned long int *, 1863 int, int, int, int, unsigned long int *, 1864 unsigned long int *, unsigned long int *); 1865 extern int XAllocNamedColor(Display *, Colormap, const char *, XColor *, 1866 XColor *); 1867 extern int XAllowEvents(Display *, int, Time); 1868 extern int XAutoRepeatOff(Display *); 1869 extern int XAutoRepeatOn(Display *); 1870 extern char *XBaseFontNameListOfFontSet(XFontSet); 1871 extern int XBell(Display *, int); 1872 extern int XBitmapBitOrder(Display *); 1873 extern int XBitmapPad(Display *); 1874 extern int XBitmapUnit(Display *); 1875 extern unsigned long int XBlackPixel(Display *, int); 1876 extern unsigned long int XBlackPixelOfScreen(Screen *); 1877 extern int XCellsOfScreen(Screen *); 1878 extern int XChangeActivePointerGrab(Display *, unsigned int, Cursor, Time); 1879 extern int XChangeGC(Display *, GC, unsigned long int, XGCValues *); 1880 extern int XChangeKeyboardControl(Display *, unsigned long int, 1881 XKeyboardControl *); 1882 extern int XChangeKeyboardMapping(Display *, int, int, KeySym *, int); 1883 extern int XChangePointerControl(Display *, int, int, int, int, int); 1884 extern int XChangeProperty(Display *, Window, Atom, Atom, int, int, 1885 const unsigned char *, int); 1886 extern int XChangeSaveSet(Display *, Window, int); 1887 extern int XChangeWindowAttributes(Display *, Window, unsigned long int, 1888 XSetWindowAttributes *); 1889 extern int XCheckIfEvent(Display *, XEvent *, struct 1890 , XPointer); 1891 extern int XCheckMaskEvent(Display *, long int, XEvent *); 1892 extern int XCheckTypedEvent(Display *, int, XEvent *); 1893 extern int XCheckTypedWindowEvent(Display *, Window, int, XEvent *); 1894 extern int XCheckWindowEvent(Display *, Window, long int, XEvent *); 1895 extern int XCirculateSubwindows(Display *, Window, int); 1896 extern int XCirculateSubwindowsDown(Display *, Window); 1897 extern int XCirculateSubwindowsUp(Display *, Window); 1898 extern int XClearArea(Display *, Window, int, int, unsigned int, 1899 unsigned int, int); 1900 extern int XClearWindow(Display *, Window); 1901 extern int XCloseDisplay(Display *); 1902 extern int XCloseIM(XIM); 1903 extern int XCloseOM(XOM); 1904 extern int XConfigureWindow(Display *, Window, unsigned int, 1905 XWindowChanges *); 1906 extern int XConnectionNumber(Display *); 1907 extern int XContextDependentDrawing(XFontSet); 1908 extern int XContextualDrawing(XFontSet); 1909 extern int XConvertSelection(Display *, Atom, Atom, Atom, Window, Time); 1910 extern int XCopyArea(Display *, Drawable, Drawable, GC, int, int, 1911 unsigned int, unsigned int, int, int); 1912 extern Colormap XCopyColormapAndFree(Display *, Colormap); 1913 extern int XCopyGC(Display *, GC, unsigned long int, GC); 1914 extern int XCopyPlane(Display *, Drawable, Drawable, GC, int, int, 1915 unsigned int, unsigned int, int, int, 1916 unsigned long int); 1917 extern Pixmap XCreateBitmapFromData(Display *, Drawable, const char *, 1918 unsigned int, unsigned int); 1919 extern Colormap XCreateColormap(Display *, Window, Visual *, int); 1920 extern Cursor XCreateFontCursor(Display *, unsigned int); 1921 extern XFontSet XCreateFontSet(Display *, const char *, char ***, int *, 1922 char **); 1923 extern GC XCreateGC(Display *, Drawable, unsigned long int, XGCValues *); 1924 extern Cursor XCreateGlyphCursor(Display *, Font, Font, unsigned int, 1925 unsigned int, XColor *, XColor *); 1926 extern XIC XCreateIC(XIM, ...); 1927 extern XImage *XCreateImage(Display *, Visual *, unsigned int, int, int, 1928 char *, unsigned int, unsigned int, int, int); 1929 extern XOC XCreateOC(XOM, ...); 1930 extern Pixmap XCreatePixmap(Display *, Drawable, unsigned int, 1931 unsigned int, unsigned int); 1932 extern Cursor XCreatePixmapCursor(Display *, Pixmap, Pixmap, XColor *, 1933 XColor *, unsigned int, unsigned int); 1934 extern Pixmap XCreatePixmapFromBitmapData(Display *, Drawable, char *, 1935 unsigned int, unsigned int, 1936 unsigned long int, 1937 unsigned long int, unsigned int); 1938 extern Window XCreateSimpleWindow(Display *, Window, int, int, 1939 unsigned int, unsigned int, unsignedint, 1940 unsigned long int, unsigned long int); 1941 extern Window XCreateWindow(Display *, Window, int, int, unsigned int, 1942 unsigned int, unsigned int, int, unsigned int, 1943 Visual *, unsigned long int, 1944 XSetWindowAttributes *); 1945 extern Colormap XDefaultColormap(Display *, int); 1946 extern Colormap XDefaultColormapOfScreen(Screen *); 1947 extern int XDefaultDepth(Display *, int); 1948 extern int XDefaultDepthOfScreen(Screen *); 1949 extern GC XDefaultGC(Display *, int); 1950 extern GC XDefaultGCOfScreen(Screen *); 1951 extern Window XDefaultRootWindow(Display *); 1952 extern int XDefaultScreen(Display *); 1953 extern Screen *XDefaultScreenOfDisplay(Display *); 1954 extern Visual *XDefaultVisual(Display *, int); 1955 extern Visual *XDefaultVisualOfScreen(Screen *); 1956 extern int XDefineCursor(Display *, Window, Cursor); 1957 extern XModifierKeymap *XDeleteModifiermapEntry(XModifierKeymap *, 1958 unsigned int, int); 1959 extern int XDeleteProperty(Display *, Window, Atom); 1960 extern void XDestroyIC(XIC); 1961 extern void XDestroyOC(XOC); 1962 extern int XDestroySubwindows(Display *, Window); 1963 extern int XDestroyWindow(Display *, Window); 1964 extern int XDirectionalDependentDrawing(XFontSet); 1965 extern int XDisableAccessControl(Display *); 1966 extern int XDisplayCells(Display *, int); 1967 extern int XDisplayHeight(Display *, int); 1968 extern int XDisplayHeightMM(Display *, int); 1969 extern int XDisplayKeycodes(Display *, int *, int *); 1970 extern unsigned long int XDisplayMotionBufferSize(Display *); 1971 extern char *XDisplayName(const char *); 1972 extern Display *XDisplayOfIM(XIM); 1973 extern Display *XDisplayOfOM(XOM); 1974 extern Display *XDisplayOfScreen(Screen *); 1975 extern int XDisplayPlanes(Display *, int); 1976 extern char *XDisplayString(Display *); 1977 extern int XDisplayWidth(Display *, int); 1978 extern int XDisplayWidthMM(Display *, int); 1979 extern int XDoesBackingStore(Screen *); 1980 extern int XDoesSaveUnders(Screen *); 1981 extern int XDrawArc(Display *, Drawable, GC, int, int, unsigned int, 1982 unsigned int, int, int); 1983 extern int XDrawArcs(Display *, Drawable, GC, XArc *, int); 1984 extern int XDrawImageString(Display *, Drawable, GC, int, int, 1985 const char *, int); 1986 extern int XDrawImageString16(Display *, Drawable, GC, int, int, XChar2b *, 1987 int); 1988 extern int XDrawLine(Display *, Drawable, GC, int, int, int, int); 1989 extern int XDrawLines(Display *, Drawable, GC, XPoint *, int, int); 1990 extern int XDrawPoint(Display *, Drawable, GC, int, int); 1991 extern int XDrawPoints(Display *, Drawable, GC, XPoint *, int, int); 1992 extern int XDrawRectangle(Display *, Drawable, GC, int, int, unsigned int, 1993 unsigned int); 1994 extern int XDrawRectangles(Display *, Drawable, GC, XRectangle *, int); 1995 extern int XDrawSegments(Display *, Drawable, GC, XSegment *, int); 1996 extern int XDrawString(Display *, Drawable, GC, int, int, const char *, 1997 int); 1998 extern int XDrawString16(Display *, Drawable, GC, int, int, XChar2b *, 1999 int); 2000 extern int XDrawText(Display *, Drawable, GC, int, int, XTextItem *, int); 2001 extern int XDrawText16(Display *, Drawable, GC, int, int, XTextItem16 *, 2002 int); 2003 extern XExtData **XEHeadOfExtensionList(XEDataObject); 2004 extern int XESetBeforeFlush(void); 2005 extern int *XESetCloseDisplay(void); 2006 extern int XESetCopyGC(void); 2007 extern int XESetCreateFont(void); 2008 extern int XESetCreateGC(void); 2009 extern int XESetError(void); 2010 extern int XESetErrorString(void); 2011 extern int XESetEventToWire(void); 2012 extern int XESetFlushGC(void); 2013 extern int XESetFreeFont(void); 2014 extern int XESetFreeGC(void); 2015 extern int XESetPrintErrorValues(void); 2016 extern int XESetWireToError(void); 2017 extern int XESetWireToEvent(void); 2018 extern int XEnableAccessControl(Display *); 2019 extern long int XEventMaskOfScreen(Screen *); 2020 extern int XEventsQueued(Display *, int); 2021 extern long int XExtendedMaxRequestSize(Display *); 2022 extern XFontSetExtents *XExtentsOfFontSet(XFontSet); 2023 extern char *XFetchBuffer(Display *, int *, int); 2024 extern char *XFetchBytes(Display *, int *); 2025 extern int XFetchName(Display *, Window, char **); 2026 extern int XFillArc(Display *, Drawable, GC, int, int, unsigned int, 2027 unsigned int, int, int); 2028 extern int XFillArcs(Display *, Drawable, GC, XArc *, int); 2029 extern int XFillPolygon(Display *, Drawable, GC, XPoint *, int, int, int); 2030 extern int XFillRectangle(Display *, Drawable, GC, int, int, unsigned int, 2031 unsigned int); 2032 extern int XFillRectangles(Display *, Drawable, GC, XRectangle *, int); 2033 extern int XFilterEvent(XEvent *, Window); 2034 extern XExtData *XFindOnExtensionList(XExtData * *, int); 2035 extern int XFlush(Display *); 2036 extern void XFlushGC(Display *, GC); 2037 extern int XFontsOfFontSet(XFontSet, XFontStruct * **, char ***); 2038 extern int XForceScreenSaver(Display *, int); 2039 extern int XFree(void *); 2040 extern int XFreeColormap(Display *, Colormap); 2041 extern int XFreeColors(Display *, Colormap, unsigned long int *, int, 2042 unsigned long int); 2043 extern int XFreeCursor(Display *, Cursor); 2044 extern int XFreeExtensionList(char **); 2045 extern int XFreeFont(Display *, XFontStruct *); 2046 extern int XFreeFontInfo(char **, XFontStruct *, int); 2047 extern int XFreeFontNames(char **); 2048 extern int XFreeFontPath(char **); 2049 extern void XFreeFontSet(Display *, XFontSet); 2050 extern int XFreeGC(Display *, GC); 2051 extern int XFreeModifiermap(XModifierKeymap *); 2052 extern int XFreePixmap(Display *, Pixmap); 2053 extern void XFreeStringList(char **); 2054 extern GContext XGContextFromGC(GC); 2055 extern int XGeometry(Display *, int, const char *, const char *, 2056 unsigned int, unsigned int, unsigned int, int, int, 2057 int *, int *, int *, int *); 2058 extern char *XGetAtomName(Display *, Atom); 2059 extern int XGetAtomNames(Display *, Atom *, int, char **); 2060 extern int XGetCommand(Display *, Window, char ***, int *); 2061 extern char *XGetDefault(Display *, const char *, const char *); 2062 extern int XGetErrorDatabaseText(Display *, const char *, const char *, 2063 const char *, char *, int); 2064 extern int XGetErrorText(Display *, int, char *, int); 2065 extern char **XGetFontPath(Display *, int *); 2066 extern int XGetFontProperty(XFontStruct *, Atom, unsigned long int *); 2067 extern int XGetGCValues(Display *, GC, unsigned long int, XGCValues *); 2068 extern int XGetGeometry(Display *, Drawable, Window *, int *, int *, 2069 unsigned int *, unsigned int *, unsigned int *, 2070 unsigned int *); 2071 extern char *XGetICValues(XIC, ...); 2072 extern char *XGetIMValues(XIM, ...); 2073 extern int XGetIconName(Display *, Window, char **); 2074 extern XImage *XGetImage(Display *, Drawable, int, int, unsigned int, 2075 unsigned int, unsigned long int, int); 2076 extern int XGetInputFocus(Display *, Window *, int *); 2077 extern int XGetKeyboardControl(Display *, XKeyboardState *); 2078 extern KeySym *XGetKeyboardMapping(Display *, unsigned int, int, int *); 2079 extern XModifierKeymap *XGetModifierMapping(Display *); 2080 extern XTimeCoord *XGetMotionEvents(Display *, Window, Time, Time, int*); 2081 extern char *XGetOCValues(XOC, ...); 2082 extern char *XGetOMValues(XOM, ...); 2083 extern int XGetPointerControl(Display *, int *, int *, int *); 2084 extern int XGetPointerMapping(Display *, unsigned char *, int); 2085 extern int XGetScreenSaver(Display *, int *, int *, int *, int *); 2086 extern Window XGetSelectionOwner(Display *, Atom); 2087 extern XImage *XGetSubImage(Display *, Drawable, int, int, unsigned int, 2088 unsigned int, unsigned long int, int, XImage *, 2089 int, int); 2090 extern int XGetTransientForHint(Display *, Window, Window *); 2091 extern int XGetWMColormapWindows(Display *, Window, Window * *, int *); 2092 extern int XGetWMProtocols(Display *, Window, Atom * *, int *); 2093 extern int XGetWindowAttributes(Display *, Window, XWindowAttributes *); 2094 extern int XGetWindowProperty(Display *, Window, Atom, long int, long int, 2095 int, Atom, Atom *, int *, 2096 unsigned long int *, unsigned long int *, 2097 unsigned char **); 2098 extern int XGrabButton(Display *, unsigned int, unsigned int, Window, int, 2099 unsigned int, int, int, Window, Cursor); 2100 extern int XGrabKey(Display *, int, unsigned int, Window, int, int, int); 2101 extern int XGrabKeyboard(Display *, Window, int, int, int, Time); 2102 extern int XGrabPointer(Display *, Window, int, unsigned int, int, int, 2103 Window, Cursor, Time); 2104 extern int XGrabServer(Display *); 2105 extern int XHeightMMOfScreen(Screen *); 2106 extern int XHeightOfScreen(Screen *); 2107 extern XIM XIMOfIC(XIC); 2108 extern int XIconifyWindow(Display *, Window, int); 2109 extern int XIfEvent(Display *, XEvent *, int, XPointer); 2110 extern int XImageByteOrder(Display *); 2111 extern XExtCodes *XInitExtension(Display *, const char *); 2112 extern int XInitImage(XImage *); 2113 extern int XInitThreads(void); 2114 extern XModifierKeymap *XInsertModifiermapEntry(XModifierKeymap *, 2115 unsigned int, int); 2116 extern int XInstallColormap(Display *, Colormap); 2117 extern Atom XInternAtom(Display *, const char *, int); 2118 extern int XInternAtoms(Display *, char **, int, int, Atom *); 2119 extern int XInternalConnectionNumbers(Display *, int **, int *); 2120 extern KeySym XKeycodeToKeysym(Display *, unsigned int, int); 2121 extern KeyCode XKeysymToKeycode(Display *, KeySym); 2122 extern char *XKeysymToString(KeySym); 2123 extern int XKillClient(Display *, XID); 2124 extern unsigned long int XLastKnownRequestProcessed(Display *); 2125 extern int *XListDepths(Display *, int, int *); 2126 extern char **XListExtensions(Display *, int *); 2127 extern char **XListFonts(Display *, const char *, int, int *); 2128 extern char **XListFontsWithInfo(Display *, const char *, int, int *, 2129 XFontStruct * *); 2130 extern XHostAddress *XListHosts(Display *, int *, int *); 2131 extern Colormap *XListInstalledColormaps(Display *, Window, int *); 2132 extern XPixmapFormatValues *XListPixmapFormats(Display *, int *); 2133 extern Atom *XListProperties(Display *, Window, int *); 2134 extern Font XLoadFont(Display *, const char *); 2135 extern XFontStruct *XLoadQueryFont(Display *, const char *); 2136 extern char *XLocaleOfFontSet(XFontSet); 2137 extern char *XLocaleOfIM(XIM); 2138 extern char *XLocaleOfOM(XOM); 2139 extern void XLockDisplay(Display *); 2140 extern int XLookupColor(Display *, Colormap, const char *, XColor *, 2141 XColor *); 2142 extern KeySym XLookupKeysym(XKeyEvent *, int); 2143 extern int XLowerWindow(Display *, Window); 2144 extern int XMapRaised(Display *, Window); 2145 extern int XMapSubwindows(Display *, Window); 2146 extern int XMapWindow(Display *, Window); 2147 extern int XMaskEvent(Display *, long int, XEvent *); 2148 extern int XMaxCmapsOfScreen(Screen *); 2149 extern long int XMaxRequestSize(Display *); 2150 extern int XMinCmapsOfScreen(Screen *); 2151 extern int XMoveResizeWindow(Display *, Window, int, int, unsigned int, 2152 unsigned int); 2153 extern int XMoveWindow(Display *, Window, int, int); 2154 extern XModifierKeymap *XNewModifiermap(int); 2155 extern int XNextEvent(Display *, XEvent *); 2156 extern unsigned long int XNextRequest(Display *); 2157 extern int XNoOp(Display *); 2158 extern XOM XOMOfOC(XOC); 2159 extern Display *XOpenDisplay(const char *); 2160 extern XIM XOpenIM(Display *, struct _XrmHashBucketRec *, char *, char*); 2161 extern XOM XOpenOM(Display *, struct _XrmHashBucketRec *, const char *, 2162 const char *); 2163 extern int XParseColor(Display *, Colormap, const char *, XColor *); 2164 extern int XParseGeometry(const char *, int *, int *, unsigned int *, 2165 unsigned int *); 2166 extern int XPeekEvent(Display *, XEvent *); 2167 extern int XPeekIfEvent(Display *, XEvent *, int, XPointer); 2168 extern int XPending(Display *); 2169 extern int XPlanesOfScreen(Screen *); 2170 extern void XProcessInternalConnection(Display *, int); 2171 extern int XProtocolRevision(Display *); 2172 extern int XProtocolVersion(Display *); 2173 extern int XPutBackEvent(Display *, XEvent *); 2174 extern int XPutImage(Display *, Drawable, GC, XImage *, int, int, int,int, 2175 unsigned int, unsigned int); 2176 extern int XQLength(Display *); 2177 extern int XQueryBestCursor(Display *, Drawable, unsigned int, 2178 unsigned int, unsigned int *, unsigned int*); 2179 extern int XQueryBestSize(Display *, int, Drawable, unsigned int, 2180 unsigned int, unsigned int *, unsigned int *); 2181 extern int XQueryBestStipple(Display *, Drawable, unsigned int, 2182 unsigned int, unsigned int *, unsigned int *); 2183 extern int XQueryBestTile(Display *, Drawable, unsigned int, unsigned int, 2184 unsigned int *, unsigned int *); 2185 extern int XQueryColor(Display *, Colormap, XColor *); 2186 extern int XQueryColors(Display *, Colormap, XColor *, int); 2187 extern int XQueryExtension(Display *, const char *, int *, int *, int *); 2188 extern XFontStruct *XQueryFont(Display *, XID); 2189 extern int XQueryKeymap(Display *, char); 2190 extern int XQueryPointer(Display *, Window, Window *, Window *, int *, 2191 int *, int *, int *, unsigned int *); 2192 extern int XQueryTextExtents(Display *, XID, const char *, int, int *, 2193 int *, int *, XCharStruct *); 2194 extern int XQueryTextExtents16(Display *, XID, XChar2b *, int, int *, 2195 int *, int *, XCharStruct *); 2196 extern int XQueryTree(Display *, Window, Window *, Window *, Window * *, 2197 unsigned int *); 2198 extern int XRaiseWindow(Display *, Window); 2199 extern int XReadBitmapFile(Display *, Drawable, const char *, 2200 unsigned int *, unsigned int *, Pixmap *, int *, 2201 int *); 2202 extern int XReadBitmapFileData(const char *, unsigned int *, 2203 unsigned int *, unsigned char **, int *, 2204 int *); 2205 extern int XRebindKeysym(Display *, KeySym, KeySym *, int, 2206 const unsigned char *, int); 2207 extern int XRecolorCursor(Display *, Cursor, XColor *, XColor *); 2208 extern int XReconfigureWMWindow(Display *, Window, int, unsigned int, 2209 XWindowChanges *); 2210 extern int XRefreshKeyboardMapping(XMappingEvent *); 2211 extern int XRegisterIMInstantiateCallback(Display *, 2212 struct _XrmHashBucketRec *, 2213 char *, char *, XIDProc, 2214 XPointer); 2215 extern void XRemoveConnectionWatch(Display *, XConnectionWatchProc, 2216 XPointer); 2217 extern int XRemoveFromSaveSet(Display *, Window); 2218 extern int XRemoveHost(Display *, XHostAddress *); 2219 extern int XRemoveHosts(Display *, XHostAddress *, int); 2220 extern int XReparentWindow(Display *, Window, Window, int, int); 2221 extern int XResetScreenSaver(Display *); 2222 extern int XResizeWindow(Display *, Window, unsigned int, unsigned int); 2223 extern char *XResourceManagerString(Display *); 2224 extern int XRestackWindows(Display *, Window *, int); 2225 extern Window XRootWindow(Display *, int); 2226 extern Window XRootWindowOfScreen(Screen *); 2227 extern int XRotateBuffers(Display *, int); 2228 extern int XRotateWindowProperties(Display *, Window, Atom *, int, int); 2229 extern int XScreenCount(Display *); 2230 extern int XScreenNumberOfScreen(Screen *); 2231 extern Screen *XScreenOfDisplay(Display *, int); 2232 extern char *XScreenResourceString(Screen *); 2233 extern int XSelectInput(Display *, Window, long int); 2234 extern int XSendEvent(Display *, Window, int, long int, XEvent *); 2235 extern char *XServerVendor(Display *); 2236 extern int XSetAccessControl(Display *, int); 2237 extern int (*XIDProc) (void) XSetAfterFunction; 2238 extern int XSetArcMode(Display *, GC, int); 2239 extern void XSetAuthorization(char *, int, char *, int); 2240 extern int XSetBackground(Display *, GC, unsigned long int); 2241 extern int XSetClipMask(Display *, GC, Pixmap); 2242 extern int XSetClipOrigin(Display *, GC, int, int); 2243 extern int XSetClipRectangles(Display *, GC, int, int, XRectangle *, int, 2244 int); 2245 extern int XSetCloseDownMode(Display *, int); 2246 extern int XSetCommand(Display *, Window, char **, int); 2247 extern int XSetDashes(Display *, GC, int, const char *, int); 2248 extern XErrorHandler XSetErrorHandler(XErrorHandler); 2249 extern int XSetFillRule(Display *, GC, int); 2250 extern int XSetFillStyle(Display *, GC, int); 2251 extern int XSetFont(Display *, GC, Font); 2252 extern int XSetFontPath(Display *, char **, int); 2253 extern int XSetForeground(Display *, GC, unsigned long int); 2254 extern int XSetFunction(Display *, GC, int); 2255 extern int XSetGraphicsExposures(Display *, GC, int); 2256 extern void XSetICFocus(XIC); 2257 extern char *XSetICValues(XIC, ...); 2258 extern XIOErrorHandler XSetIOErrorHandler(XIOErrorHandler); 2259 extern int XSetIconName(Display *, Window, const char *); 2260 extern int XSetInputFocus(Display *, Window, int, Time); 2261 extern int XSetLineAttributes(Display *, GC, unsigned int, int, int, int); 2262 extern char *XSetLocaleModifiers(const char *); 2263 extern int XSetModifierMapping(Display *, XModifierKeymap *); 2264 extern char *XSetOCValues(XOC, ...); 2265 extern char *XSetOMValues(XOM, ...); 2266 extern int XSetPlaneMask(Display *, GC, unsigned long int); 2267 extern int XSetPointerMapping(Display *, const unsigned char *, int); 2268 extern int XSetScreenSaver(Display *, int, int, int, int); 2269 extern int XSetSelectionOwner(Display *, Atom, Window, Time); 2270 extern int XSetState(Display *, GC, unsigned long int, unsigned long int, 2271 int, unsigned long int); 2272 extern int XSetStipple(Display *, GC, Pixmap); 2273 extern int XSetSubwindowMode(Display *, GC, int); 2274 extern int XSetTSOrigin(Display *, GC, int, int); 2275 extern int XSetTile(Display *, GC, Pixmap); 2276 extern int XSetTransientForHint(Display *, Window, Window); 2277 extern int XSetWMColormapWindows(Display *, Window, Window *, int); 2278 extern int XSetWMProtocols(Display *, Window, Atom *, int); 2279 extern int XSetWindowBackground(Display *, Window, unsigned long int); 2280 extern int XSetWindowBackgroundPixmap(Display *, Window, Pixmap); 2281 extern int XSetWindowBorder(Display *, Window, unsigned long int); 2282 extern int XSetWindowBorderPixmap(Display *, Window, Pixmap); 2283 extern int XSetWindowBorderWidth(Display *, Window, unsigned int); 2284 extern int XSetWindowColormap(Display *, Window, Colormap); 2285 extern int XStoreBuffer(Display *, const char *, int, int); 2286 extern int XStoreBytes(Display *, const char *, int); 2287 extern int XStoreColor(Display *, Colormap, XColor *); 2288 extern int XStoreColors(Display *, Colormap, XColor *, int); 2289 extern int XStoreName(Display *, Window, const char *); 2290 extern int XStoreNamedColor(Display *, Colormap, const char *, 2291 unsigned long int, int); 2292 extern KeySym XStringToKeysym(const char *); 2293 extern int XSupportsLocale(void); 2294 extern int XSync(Display *, int); 2295 extern int (*XIDProc) (void) XSynchronize; 2296 extern int XTextExtents(XFontStruct *, const char *, int, int *, int *, 2297 int *, XCharStruct *); 2298 extern int XTextExtents16(XFontStruct *, XChar2b *, int, int *, int *, 2299 int *, XCharStruct *); 2300 extern int XTextWidth(XFontStruct *, const char *, int); 2301 extern int XTextWidth16(XFontStruct *, XChar2b *, int); 2302 extern int XTranslateCoordinates(Display *, Window, Window, int, int, 2303 int *, int *, Window *); 2304 extern int XUndefineCursor(Display *, Window); 2305 extern int XUngrabButton(Display *, unsigned int, unsigned int, Window); 2306 extern int XUngrabKey(Display *, int, unsigned int, Window); 2307 extern int XUngrabKeyboard(Display *, Time); 2308 extern int XUngrabPointer(Display *, Time); 2309 extern int XUngrabServer(Display *); 2310 extern int XUninstallColormap(Display *, Colormap); 2311 extern int XUnloadFont(Display *, Font); 2312 extern void XUnlockDisplay(Display *); 2313 extern int XUnmapSubwindows(Display *, Window); 2314 extern int XUnmapWindow(Display *, Window); 2315 extern int XUnregisterIMInstantiateCallback(Display *, 2316 struct _XrmHashBucketRec *, 2317 char *, char *, XIDProc, 2318 XPointer); 2319 extern void XUnsetICFocus(XIC); 2320 extern XVaNestedList XVaCreateNestedList(int, ...); 2321 extern int XVendorRelease(Display *); 2322 extern VisualID XVisualIDFromVisual(Visual *); 2323 extern int XWarpPointer(Display *, Window, Window, int, int, unsigned int, 2324 unsigned int, int, int); 2325 extern unsigned long int XWhitePixel(Display *, int); 2326 extern unsigned long int XWhitePixelOfScreen(Screen *); 2327 extern int XWidthMMOfScreen(Screen *); 2328 extern int XWidthOfScreen(Screen *); 2329 extern int XWindowEvent(Display *, Window, long int, XEvent *); 2330 extern int XWithdrawWindow(Display *, Window, int); 2331 extern int XWriteBitmapFile(Display *, const char *, Pixmap, unsigned int, 2332 unsigned int, int, int); 2333 extern void XmbDrawImageString(Display *, Drawable, XFontSet, GC, int,int, 2334 const char *, int); 2335 extern void XmbDrawString(Display *, Drawable, XFontSet, GC, int, int, 2336 const char *, int); 2337 extern void XmbDrawText(Display *, Drawable, GC, int, int, XmbTextItem*, 2338 int); 2339 extern int XmbLookupString(XIC, XKeyPressedEvent *, char *, int, KeySym *, 2340 int *); 2341 extern char *XmbResetIC(XIC); 2342 extern int XmbTextEscapement(XFontSet, const char *, int); 2343 extern int XmbTextExtents(XFontSet, const char *, int, XRectangle *, 2344 XRectangle *); 2345 extern int XmbTextPerCharExtents(XFontSet, const char *, int, XRectangle *, 2346 XRectangle *, int, int *, XRectangle *, 2347 XRectangle *); 2348 extern void XrmInitialize(void); 2349 extern void XwcDrawImageString(Display *, Drawable, XFontSet, GC, int,int, 2350 wchar_t *, int); 2351 extern void XwcDrawString(Display *, Drawable, XFontSet, GC, int, int, 2352 wchar_t *, int); 2353 extern void XwcDrawText(Display *, Drawable, GC, int, int, XwcTextItem*, 2354 int); 2355 extern int XwcLookupString(XIC, XKeyPressedEvent *, wchar_t *, int, 2356 KeySym *, int *); 2357 extern wchar_t *XwcResetIC(XIC); 2358 extern int XwcTextEscapement(XFontSet, wchar_t *, int); 2359 extern int XwcTextExtents(XFontSet, wchar_t *, int, XRectangle *, 2360 XRectangle *); 2361 extern int XwcTextPerCharExtents(XFontSet, wchar_t *, int, XRectangle *, 2362 XRectangle *, int, int *, XRectangle *, 2363 XRectangle *); 2364 _________________________________________________________ 2365 2366 6.2.6. X11/Xresource.h 2367 2368 extern void XrmCombineDatabase(XrmDatabase, XrmDatabase *, int); 2369 extern int XrmCombineFileDatabase(const char *, XrmDatabase *, int); 2370 extern void XrmDestroyDatabase(XrmDatabase); 2371 extern int XrmEnumerateDatabase(XrmDatabase, XrmNameList, XrmClassList, 2372 int, int, XPointer); 2373 extern XrmDatabase XrmGetDatabase(Display *); 2374 extern XrmDatabase XrmGetFileDatabase(const char *); 2375 extern int XrmGetResource(XrmDatabase, const char *, const char *, char **, 2376 XrmValue *); 2377 extern XrmDatabase XrmGetStringDatabase(const char *); 2378 extern const char *XrmLocaleOfDatabase(XrmDatabase); 2379 extern void XrmMergeDatabases(XrmDatabase, XrmDatabase *); 2380 extern void XrmParseCommand(XrmDatabase *, XrmOptionDescList, int, 2381 const char *, int *, char **); 2382 extern XrmQuark XrmPermStringToQuark(const char *); 2383 extern void XrmPutFileDatabase(XrmDatabase, const char *); 2384 extern void XrmPutLineResource(XrmDatabase *, const char *); 2385 extern void XrmPutResource(XrmDatabase *, const char *, const char *, 2386 XrmValue *); 2387 extern void XrmPutStringResource(XrmDatabase *, const char *, 2388 const char *); 2389 extern int XrmQGetResource(XrmDatabase, XrmNameList, XrmClassList, 2390 XrmRepresentation *, XrmValue *); 2391 extern int XrmQGetSearchList(XrmDatabase, XrmNameList, XrmClassList, 2392 XrmSearchList, int); 2393 extern int XrmQGetSearchResource(XrmSearchList, XrmName, XrmClass, 2394 XrmRepresentation *, XrmValue *); 2395 extern void XrmQPutResource(XrmDatabase *, XrmBindingList, XrmQuarkList, 2396 XrmRepresentation, XrmValue *); 2397 extern void XrmQPutStringResource(XrmDatabase *, XrmBindingList, 2398 XrmQuarkList, const char *); 2399 extern XrmString XrmQuarkToString(XrmQuark); 2400 extern void XrmSetDatabase(Display *, XrmDatabase); 2401 extern void XrmStringToBindingQuarkList(const char *, XrmBindingList, 2402 XrmQuarkList); 2403 extern XrmQuark XrmStringToQuark(const char *); 2404 extern void XrmStringToQuarkList(const char *, XrmQuarkList); 2405 extern XrmQuark XrmUniqueQuark(void); 2406 _________________________________________________________ 2407 2408 6.2.7. X11/Xutil.h 2409 2410 typedef struct 2411 XSizeHints; 2412 typedef struct 2413 XWMHints; 2414 typedef struct 2415 XTextProperty; 2416 typedef struct 2417 XIconSize; 2418 typedef struct 2419 XClassHint; 2420 typedef struct _XComposeStatus { 2421 XPointer compose_ptr; 2422 int chars_matched; 2423 } XComposeStatus; 2424 typedef struct _XRegion *Region; 2425 typedef struct 2426 XVisualInfo; 2427 typedef struct 2428 XStandardColormap; 2429 typedef int XContext; 2430 typedef enum XICCEncodingStyle; 2431 extern int XAddPixel(void); 2432 extern XClassHint *XAllocClassHint(void); 2433 extern XIconSize *XAllocIconSize(void); 2434 extern XSizeHints *XAllocSizeHints(void); 2435 extern XStandardColormap *XAllocStandardColormap(void); 2436 extern XWMHints *XAllocWMHints(void); 2437 extern int XClipBox(Region, XRectangle *); 2438 extern void XConvertCase(KeySym, KeySym *, KeySym *); 2439 extern Region XCreateRegion(void); 2440 extern const char *XDefaultString(void); 2441 extern int XDeleteContext(Display *, XID, XContext); 2442 extern int XDestroyImage(XImage *); 2443 extern int XDestroyRegion(Region); 2444 extern int XEmptyRegion(Region); 2445 extern int XEqualRegion(Region, Region); 2446 extern int XFindContext(Display *, XID, XContext, XPointer *); 2447 extern int XGetClassHint(Display *, Window, XClassHint *); 2448 extern int XGetIconSizes(Display *, Window, XIconSize * *, int *); 2449 extern int XGetNormalHints(Display *, Window, XSizeHints *); 2450 extern unsigned long int XGetPixel(void); 2451 extern int XGetRGBColormaps(Display *, Window, XStandardColormap * *, 2452 int *, Atom); 2453 extern int XGetSizeHints(Display *, Window, XSizeHints *, Atom); 2454 extern int XGetStandardColormap(Display *, Window, XStandardColormap *, 2455 Atom); 2456 extern int XGetTextProperty(Display *, Window, XTextProperty *, Atom); 2457 extern XVisualInfo *XGetVisualInfo(Display *, long int, XVisualInfo *, 2458 int *); 2459 extern int XGetWMClientMachine(Display *, Window, XTextProperty *); 2460 extern XWMHints *XGetWMHints(Display *, Window); 2461 extern int XGetWMIconName(Display *, Window, XTextProperty *); 2462 extern int XGetWMName(Display *, Window, XTextProperty *); 2463 extern int XGetWMNormalHints(Display *, Window, XSizeHints *, long int*); 2464 extern int XGetWMSizeHints(Display *, Window, XSizeHints *, long int *, 2465 Atom); 2466 extern int XGetZoomHints(Display *, Window, XSizeHints *); 2467 extern int XIntersectRegion(Region, Region, Region); 2468 extern int XLookupString(XKeyEvent *, char *, int, KeySym *, 2469 XComposeStatus *); 2470 extern int XMatchVisualInfo(Display *, int, int, int, XVisualInfo *); 2471 extern int XOffsetRegion(Region, int, int); 2472 extern int XPointInRegion(Region, int, int); 2473 extern Region XPolygonRegion(XPoint *, int, int); 2474 extern int XPutPixel(void); 2475 extern int XRectInRegion(Region, int, int, unsigned int, unsigned int); 2476 extern int XSaveContext(Display *, XID, XContext, const char *); 2477 extern int XSetClassHint(Display *, Window, XClassHint *); 2478 extern int XSetIconSizes(Display *, Window, XIconSize *, int); 2479 extern int XSetNormalHints(Display *, Window, XSizeHints *); 2480 extern void XSetRGBColormaps(Display *, Window, XStandardColormap *, int, 2481 Atom); 2482 extern int XSetRegion(Display *, GC, Region); 2483 extern int XSetSizeHints(Display *, Window, XSizeHints *, Atom); 2484 extern void XSetStandardColormap(Display *, Window, XStandardColormap *, 2485 Atom); 2486 extern int XSetStandardProperties(Display *, Window, const char *, 2487 const char *, Pixmap, char **, int, 2488 XSizeHints *); 2489 extern void XSetTextProperty(Display *, Window, XTextProperty *, Atom); 2490 extern void XSetWMClientMachine(Display *, Window, XTextProperty *); 2491 extern int XSetWMHints(Display *, Window, XWMHints *); 2492 extern void XSetWMIconName(Display *, Window, XTextProperty *); 2493 extern void XSetWMName(Display *, Window, XTextProperty *); 2494 extern void XSetWMNormalHints(Display *, Window, XSizeHints *); 2495 extern void XSetWMProperties(Display *, Window, XTextProperty *, 2496 XTextProperty *, char **, int, XSizeHints*, 2497 XWMHints *, XClassHint *); 2498 extern void XSetWMSizeHints(Display *, Window, XSizeHints *, Atom); 2499 extern int XSetZoomHints(Display *, Window, XSizeHints *); 2500 extern int XShrinkRegion(Region, int, int); 2501 extern int XStringListToTextProperty(char **, int, XTextProperty *); 2502 extern XImage *XSubImage(void); 2503 extern int XSubtractRegion(Region, Region, Region); 2504 extern int XTextPropertyToStringList(XTextProperty *, char ***, int *); 2505 extern int XUnionRectWithRegion(XRectangle *, Region, Region); 2506 extern int XUnionRegion(Region, Region, Region); 2507 extern int XWMGeometry(Display *, int, const char *, const char *, 2508 unsigned int, XSizeHints *, int *, int *, int *, 2509 int *, int *); 2510 extern int XXorRegion(Region, Region, Region); 2511 extern void XmbSetWMProperties(Display *, Window, const char *, 2512 const char *, char **, int, XSizeHints *, 2513 XWMHints *, XClassHint *); 2514 extern int XmbTextListToTextProperty(Display *, char **, int, 2515 XICCEncodingStyle, XTextProperty *); 2516 extern int XmbTextPropertyToTextList(Display *, XTextProperty *, char ***, 2517 int *); 2518 extern void XwcFreeStringList(wchar_t * *); 2519 extern int XwcTextListToTextProperty(Display *, wchar_t * *, int, 2520 XICCEncodingStyle, XTextProperty *); 2521 extern int XwcTextPropertyToTextList(Display *, XTextProperty *, 2522 wchar_t * **, int *); 2523 extern int Xutf8TextPropertyToTextList(Display *, XTextProperty *, 2524 char ***, int *); 2525 extern int Xutf8TextListToTextProperty(Display *, char **, int, 2526 XICCEncodingStyle, XTextProperty *); 2527 _________________________________________________________ 2528 2529 6.3. Interface Definitions for libX11 2530 2531 The interfaces defined on the following pages are included in 2532 libX11 and are defined by this specification. Unless otherwise 2533 noted, these interfaces shall be included in the source 2534 standard. 2535 2536 Other interfaces listed in Section 6.1 shall behave as 2537 described in the referenced base document. 2538 _________________________________________________________ 2539 2540 6.4. Interfaces for libSM 2541 2542 Table 6-3 defines the library name and shared object name for 2543 the libSM library 2544 2545 Table 6-3. libSM Definition 2546 Library: libSM 2547 SONAME: libSM.so.6 2548 2549 The behavior of the interfaces in this library is specified by 2550 the following specifications: 2551 2552 [XSM] X11 Session Management 2553 _________________________________________________________ 2554 2555 6.4.1. Session Management Functions 2556 _________________________________________________________ 2557 2558 6.4.1.1. Interfaces for Session Management Functions 2559 2560 An LSB conforming implementation shall provide the generic 2561 functions for Session Management Functions specified in Table 2562 6-4, with the full mandatory functionality as described in the 2563 referenced underlying specification. 2564 2565 Table 6-4. libSM - Session Management Functions Function 2566 Interfaces 2567 SmFreeProperty [XSM] SmFreeReasons [XSM] SmcClientID [XSM] 2568 SmcCloseConnection [XSM] 2569 SmcDeleteProperties [XSM] SmcGetIceConnection [XSM] 2570 SmcGetProperties [XSM] SmcInteractDone [XSM] 2571 SmcInteractRequest [XSM] SmcModifyCallbacks [XSM] 2572 SmcOpenConnection [XSM] SmcProtocolRevision [XSM] 2573 SmcProtocolVersion [XSM] SmcRelease [XSM] 2574 SmcRequestSaveYourself [XSM] SmcRequestSaveYourselfPhase2 2575 [XSM] 2576 SmcSaveYourselfDone [XSM] SmcSetErrorHandler [XSM] 2577 SmcSetProperties [XSM] SmcVendor [XSM] 2578 SmsCleanUp [XSM] SmsClientHostName [XSM] SmsClientID [XSM] 2579 SmsDie [XSM] 2580 SmsGenerateClientID [XSM] SmsGetIceConnection [XSM] 2581 SmsInitialize [XSM] SmsInteract [XSM] 2582 SmsProtocolRevision [XSM] SmsProtocolVersion [XSM] 2583 SmsRegisterClientReply [XSM] SmsReturnProperties [XSM] 2584 SmsSaveComplete [XSM] SmsSaveYourself [XSM] 2585 SmsSaveYourselfPhase2 [XSM] SmsSetErrorHandler [XSM] 2586 SmsShutdownCancelled [XSM] 2587 _________________________________________________________ 2588 2589 6.5. Data Definitions for libSM 2590 2591 This section defines global identifiers and their values that 2592 are associated with interfaces contained in libSM. These 2593 definitions are organized into groups that correspond to 2594 system headers. This convention is used as a convenience for 2595 the reader, and does not imply the existence of these headers, 2596 or their content. Where an interface is defined as requiring a 2597 particular system header file all of the data definitions for 2598 that system header file presented here shall be in effect. 2599 2600 This section gives data definitions to promote binary 2601 application portability, not to repeat source interface 2602 definitions available elsewhere. System providers and 2603 application developers should use this ABI to supplement - not 2604 to replace - source interface definition specifications. 2605 2606 This specification uses the ISO C (1999) C Language as the 2607 reference programming language, and data definitions are 2608 specified in ISO C format. The C language is used here as a 2609 convenient notation. Using a C language description of these 2610 data objects does not preclude their use by other programming 2611 languages. 2612 _________________________________________________________ 2613 2614 6.5.1. X11/SM/SMlib.h 2615 2616 typedef IcePointer SmPointer; 2617 typedef struct _SmcConn *SmcConn; 2618 typedef struct _SmsConn *SmsConn; 2619 2620 typedef struct { 2621 int length; 2622 SmPointer value; 2623 } SmPropValue; 2624 typedef struct { 2625 char *name; 2626 char *type; 2627 int num_vals; 2628 SmPropValue *vals; 2629 } SmProp; 2630 2631 typedef enum { 2632 SmcClosedNow, 2633 SmcClosedASAP, 2634 SmcConnectionInUse 2635 } SmcCloseStatus; 2636 2637 typedef void (*SmcSaveYourselfPhase2Proc) (void); 2638 typedef void (*SmcInteractProc) (void); 2639 typedef void (*SmcDieProc) (void); 2640 typedef void (*SmcShutdownCancelledProc) (void); 2641 typedef void (*SmcSaveCompleteProc) (void); 2642 typedef void (*SmcPropReplyProc) (void); 2643 2644 typedef struct { 2645 SmcShutdownCancelledProc callback; 2646 SmPointer client_data; 2647 } SmcCallbacks; 2648 2649 typedef void (*SmsSetPropertiesProc) (void); 2650 typedef void (*SmsDeletePropertiesProc) (void); 2651 typedef void (*SmsGetPropertiesProc) (void); 2652 2653 typedef struct { 2654 SmsGetPropertiesProc callback; 2655 SmPointer manager_data; 2656 } SmsCallbacks; 2657 2658 typedef int (*SmsNewClientProc) (void); 2659 2660 typedef void (*SmcErrorHandler) (void); 2661 typedef void (*SmsErrorHandler) (void); 2662 2663 extern void SmFreeProperty(SmProp *); 2664 extern void SmFreeReasons(int, char **); 2665 extern char *SmcClientID(SmcConn); 2666 extern SmcCloseStatus SmcCloseConnection(SmcConn, int, char **); 2667 extern void SmcDeleteProperties(SmcConn, int, char **); 2668 extern IceConn SmcGetIceConnection(SmcConn); 2669 extern int SmcGetProperties(SmcConn, SmcPropReplyProc, SmPointer); 2670 extern void SmcInteractDone(SmcConn, int); 2671 extern int SmcInteractRequest(SmcConn, int, SmcInteractProc, SmPointer); 2672 extern void SmcModifyCallbacks(SmcConn, unsigned long int, SmcCallbacks *); 2673 extern SmcConn SmcOpenConnection(char *, SmPointer, int, int, 2674 unsigned long int, SmcCallbacks *, char *, 2675 char **, int, char *); 2676 extern int SmcProtocolRevision(SmcConn); 2677 extern int SmcProtocolVersion(SmcConn); 2678 extern char *SmcRelease(SmcConn); 2679 extern void SmcRequestSaveYourself(SmcConn, int, int, int, int, int); 2680 extern int SmcRequestSaveYourselfPhase2(SmcConn, SmcSaveYourselfPhase2Proc, 2681 SmPointer); 2682 extern void SmcSaveYourselfDone(SmcConn, int); 2683 extern SmcErrorHandler SmcSetErrorHandler(SmcErrorHandler); 2684 extern void SmcSetProperties(SmcConn, int, SmProp * *); 2685 extern char *SmcVendor(SmcConn); 2686 extern void SmsCleanUp(SmsConn); 2687 extern char *SmsClientHostName(SmsConn); 2688 extern char *SmsClientID(SmsConn); 2689 extern void SmsDie(SmsConn); 2690 extern char *SmsGenerateClientID(SmsConn); 2691 extern IceConn SmsGetIceConnection(SmsConn); 2692 extern int SmsInitialize(char *, char *, SmsNewClientProc, SmPointer, 2693 IceHostBasedAuthProc, int, char *); 2694 extern void SmsInteract(SmsConn); 2695 extern int SmsProtocolRevision(SmsConn); 2696 extern int SmsProtocolVersion(SmsConn); 2697 extern int SmsRegisterClientReply(SmsConn, char *); 2698 extern void SmsReturnProperties(SmsConn, int, SmProp * *); 2699 extern void SmsSaveComplete(SmsConn); 2700 extern void SmsSaveYourself(SmsConn, int, int, int, int); 2701 extern void SmsSaveYourselfPhase2(SmsConn); 2702 extern SmsErrorHandler SmsSetErrorHandler(SmsErrorHandler); 2703 extern void SmsShutdownCancelled(SmsConn); 2704 _________________________________________________________ 2705 2706 6.6. Interfaces for libICE 2707 2708 Table 6-5 defines the library name and shared object name for 2709 the libICE library 2710 2711 Table 6-5. libICE Definition 2712 Library: libICE 2713 SONAME: libICE.so.6 2714 2715 The behavior of the interfaces in this library is specified by 2716 the following specifications: 2717 2718 [XICE] X11 Inter-Client Exchange 2719 _________________________________________________________ 2720 2721 6.6.1. ICE Functions 2722 _________________________________________________________ 2723 2724 6.6.1.1. Interfaces for ICE Functions 2725 2726 An LSB conforming implementation shall provide the generic 2727 functions for ICE Functions specified in Table 6-6, with the 2728 full mandatory functionality as described in the referenced 2729 underlying specification. 2730 2731 Table 6-6. libICE - ICE Functions Function Interfaces 2732 IceAcceptConnection [XICE] IceAddConnectionWatch [XICE] 2733 IceAllocScratch [XICE] IceAppLockConn [XICE] 2734 IceAppUnlockConn [XICE] IceAuthFileName [XICE] 2735 IceCheckShutdownNegotiation [XICE] IceCloseConnection [XICE] 2736 IceComposeNetworkIdList [XICE] IceConnectionNumber [XICE] 2737 IceConnectionStatus [XICE] IceConnectionString [XICE] 2738 IceFlush [XICE] IceFreeAuthFileEntry [XICE] IceFreeListenObjs 2739 [XICE] IceGenerateMagicCookie [XICE] 2740 IceGetAuthFileEntry [XICE] IceGetConnectionContext [XICE] 2741 IceGetInBufSize [XICE] IceGetListenConnectionNumber [XICE] 2742 IceGetListenConnectionString [XICE] IceGetOutBufSize [XICE] 2743 IceInitThreads [XICE] IceLastReceivedSequenceNumber [XICE] 2744 IceLastSentSequenceNumber [XICE] IceListenForConnections 2745 [XICE] IceListenForWellKnownConnections [XICE] IceLockAuthFile 2746 [XICE] 2747 IceOpenConnection [XICE] IcePing [XICE] IceProcessMessages 2748 [XICE] IceProtocolRevision [XICE] 2749 IceProtocolSetup [XICE] IceProtocolShutdown [XICE] 2750 IceProtocolVersion [XICE] IceReadAuthFileEntry [XICE] 2751 IceRegisterForProtocolReply [XICE] IceRegisterForProtocolSetup 2752 [XICE] IceRelease [XICE] IceRemoveConnectionWatch [XICE] 2753 IceSetErrorHandler [XICE] IceSetHostBasedAuthProc [XICE] 2754 IceSetIOErrorHandler [XICE] IceSetPaAuthData [XICE] 2755 IceSetShutdownNegotiation [XICE] IceSwapping [XICE] 2756 IceUnlockAuthFile [XICE] IceVendor [XICE] 2757 IceWriteAuthFileEntry [XICE] 2758 _________________________________________________________ 2759 2760 6.7. Data Definitions for libICE 2761 2762 This section defines global identifiers and their values that 2763 are associated with interfaces contained in libICE. These 2764 definitions are organized into groups that correspond to 2765 system headers. This convention is used as a convenience for 2766 the reader, and does not imply the existence of these headers, 2767 or their content. Where an interface is defined as requiring a 2768 particular system header file all of the data definitions for 2769 that system header file presented here shall be in effect. 2770 2771 This section gives data definitions to promote binary 2772 application portability, not to repeat source interface 2773 definitions available elsewhere. System providers and 2774 application developers should use this ABI to supplement - not 2775 to replace - source interface definition specifications. 2776 2777 This specification uses the ISO C (1999) C Language as the 2778 reference programming language, and data definitions are 2779 specified in ISO C format. The C language is used here as a 2780 convenient notation. Using a C language description of these 2781 data objects does not preclude their use by other programming 2782 languages. 2783 _________________________________________________________ 2784 2785 6.7.1. X11/ICE/ICElib.h 2786 2787 typedef void *IcePointer; 2788 typedef enum { 2789 IcePoAuthHaveReply, 2790 IcePoAuthRejected, 2791 IcePoAuthFailed, 2792 IcePoAuthDoneCleanup 2793 } IcePoAuthStatus; 2794 typedef enum { 2795 IcePaAuthContinue, 2796 IcePaAuthAccepted, 2797 IcePaAuthRejected, 2798 IcePaAuthFailed 2799 } IcePaAuthStatus; 2800 typedef enum { 2801 IceConnectPending, 2802 IceConnectAccepted, 2803 IceConnectRejected, 2804 IceConnectIOError 2805 } IceConnectStatus; 2806 typedef enum { 2807 IceProtocolSetupSuccess, 2808 IceProtocolSetupFailure, 2809 IceProtocolSetupIOError, 2810 IceProtocolAlreadyActive 2811 } IceProtocolSetupStatus; 2812 typedef enum { 2813 IceAcceptSuccess, 2814 IceAcceptFailure, 2815 IceAcceptBadMalloc 2816 } IceAcceptStatus; 2817 typedef enum { 2818 IceClosedNow, 2819 IceClosedASAP, 2820 IceConnectionInUse, 2821 IceStartedShutdownNegotiation 2822 } IceCloseStatus; 2823 typedef enum { 2824 IceProcessMessagesSuccess, 2825 IceProcessMessagesIOError, 2826 IceProcessMessagesConnectionClosed 2827 } IceProcessMessagesStatus; 2828 2829 typedef struct { 2830 unsigned long int sequence_of_request; 2831 int major_opcode_of_request; 2832 int minor_opcode_of_request; 2833 IcePointer reply; 2834 } IceReplyWaitInfo; 2835 2836 typedef struct _IceConn *IceConn; 2837 typedef struct _IceListenObj *IceListenObj; 2838 2839 typedef void (*IceWatchProc) (void); 2840 typedef void (*IcePoProcessMsgProc) (void); 2841 typedef void (*IcePaProcessMsgProc) (void); 2842 typedef IcePoAuthStatus(*IcePoAuthProc) (void); 2843 typedef IcePaAuthStatus(*IcePaAuthProc) (void); 2844 typedef int (*IceHostBasedAuthProc) (void); 2845 typedef int (*IceProtocolSetupProc) (void); 2846 typedef void (*IceProtocolActivateProc) (void); 2847 typedef void (*IceIOErrorProc) (void); 2848 typedef void (*IcePingReplyProc) (void); 2849 typedef void (*IceErrorHandler) (void); 2850 typedef void (*IceIOErrorHandler) (void); 2851 2852 typedef struct { 2853 int major_version; 2854 int minor_version; 2855 IcePoProcessMsgProc process_msg_proc; 2856 } IcePoVersionRec; 2857 typedef struct { 2858 int major_version; 2859 int minor_version; 2860 IcePaProcessMsgProc process_msg_proc; 2861 } IcePaVersionRec; 2862 extern IceConn IceAcceptConnection(IceListenObj, IceAcceptStatus *); 2863 extern int IceAddConnectionWatch(IceWatchProc, IcePointer); 2864 extern char *IceAllocScratch(IceConn, unsigned long int); 2865 extern void IceAppLockConn(IceConn); 2866 extern void IceAppUnlockConn(IceConn); 2867 extern int IceCheckShutdownNegotiation(IceConn); 2868 extern IceCloseStatus IceCloseConnection(IceConn); 2869 extern char *IceComposeNetworkIdList(int, IceListenObj *); 2870 extern int IceConnectionNumber(IceConn); 2871 extern IceConnectStatus IceConnectionStatus(IceConn); 2872 extern char *IceConnectionString(IceConn); 2873 extern int IceFlush(IceConn); 2874 extern void IceFreeListenObjs(int, IceListenObj *); 2875 extern IcePointer IceGetConnectionContext(IceConn); 2876 extern int IceGetInBufSize(IceConn); 2877 extern int IceGetListenConnectionNumber(IceListenObj); 2878 extern char *IceGetListenConnectionString(IceListenObj); 2879 extern int IceGetOutBufSize(IceConn); 2880 extern int IceInitThreads(void); 2881 extern unsigned long int IceLastReceivedSequenceNumber(IceConn); 2882 extern unsigned long int IceLastSentSequenceNumber(IceConn); 2883 extern int IceListenForConnections(int *, IceListenObj * *, int, char *); 2884 extern int IceListenForWellKnownConnections(char *, int *, 2885 IceListenObj * *, int, char *); 2886 extern IceConn IceOpenConnection(char *, IcePointer, int, int, int, 2887 char *); 2888 extern int IcePing(IceConn, IcePingReplyProc, IcePointer); 2889 extern IceProcessMessagesStatus IceProcessMessages(IceConn, 2890 IceReplyWaitInfo *, 2891 int *); 2892 extern int IceProtocolRevision(IceConn); 2893 extern IceProtocolSetupStatus IceProtocolSetup(IceConn, int, IcePointer, 2894 int, int *, int *, char**, 2895 char **, int, char *); 2896 extern int IceProtocolShutdown(IceConn, int); 2897 extern int IceProtocolVersion(IceConn); 2898 extern int IceRegisterForProtocolReply(char *, char *, char *, int, 2899 IcePaVersionRec *, int, char **, 2900 IcePaAuthProc *, 2901 IceHostBasedAuthProc, 2902 IceProtocolSetupProc, 2903 IceProtocolActivateProc, 2904 IceIOErrorProc); 2905 extern int IceRegisterForProtocolSetup(char *, char *, char *, int, 2906 IcePoVersionRec *, int, char **, 2907 IcePoAuthProc *, IceIOErrorProc); 2908 extern char *IceRelease(IceConn); 2909 extern void IceRemoveConnectionWatch(IceWatchProc, IcePointer); 2910 extern IceErrorHandler IceSetErrorHandler(IceErrorHandler); 2911 extern void IceSetHostBasedAuthProc(IceListenObj, IceHostBasedAuthProc); 2912 extern IceIOErrorHandler IceSetIOErrorHandler(IceIOErrorHandler); 2913 extern void IceSetShutdownNegotiation(IceConn, int); 2914 extern int IceSwapping(IceConn); 2915 extern char *IceVendor(IceConn); 2916 _________________________________________________________ 2917 2918 6.7.2. X11/ICE/ICEutil.h 2919 2920 typedef struct { 2921 char *protocol_name; 2922 unsigned short protocol_data_length; 2923 char *protocol_data; 2924 char *network_id; 2925 char *auth_name; 2926 unsigned short auth_data_length; 2927 char *auth_data; 2928 } IceAuthFileEntry; 2929 typedef struct { 2930 char *protocol_name; 2931 char *network_id; 2932 char *auth_name; 2933 unsigned short auth_data_length; 2934 char *auth_data; 2935 } IceAuthDataEntry; 2936 extern char *IceAuthFileName(void); 2937 extern void IceFreeAuthFileEntry(IceAuthFileEntry *); 2938 extern char *IceGenerateMagicCookie(int); 2939 extern IceAuthFileEntry *IceGetAuthFileEntry(char *, char *, char *); 2940 extern int IceLockAuthFile(char *, int, int, long int); 2941 extern IceAuthFileEntry *IceReadAuthFileEntry(FILE); 2942 extern void IceSetPaAuthData(int, IceAuthDataEntry *); 2943 extern void IceUnlockAuthFile(char *); 2944 extern int IceWriteAuthFileEntry(FILE, IceAuthFileEntry *); 2945 _________________________________________________________ 2946 2947 6.8. Interfaces for libXt 2948 2949 Table 6-7 defines the library name and shared object name for 2950 the libXt library 2951 2952 Table 6-7. libXt Definition 2953 Library: libXt 2954 SONAME: libXt.so.6 2955 2956 The behavior of the interfaces in this library is specified by 2957 the following specifications: 2958 2959 [LSB] This Specification 2960 [Xt] X11 Toolkit Intrinsics 2961 _________________________________________________________ 2962 2963 6.8.1. X Toolkit 2964 _________________________________________________________ 2965 2966 6.8.1.1. Interfaces for X Toolkit 2967 2968 An LSB conforming implementation shall provide the generic 2969 functions for X Toolkit specified in Table 6-8, with the full 2970 mandatory functionality as described in the referenced 2971 underlying specification. 2972 2973 Table 6-8. libXt - X Toolkit Function Interfaces 2974 XtAddActions [Xt] XtAddCallback [Xt] XtAddCallbacks [Xt] 2975 XtAddConverter [Xt] 2976 XtAddEventHandler [Xt] XtAddExposureToRegion [Xt] XtAddGrab 2977 [Xt] XtAddInput [Xt] 2978 XtAddRawEventHandler [Xt] XtAddSignal [Xt] XtAddTimeOut [Xt] 2979 XtAddWorkProc [Xt] 2980 XtAllocateGC [Xt] XtAppAddActionHook [Xt] XtAppAddActions [Xt] 2981 XtAppAddBlockHook [Xt] 2982 XtAppAddConverter [Xt] XtAppAddInput [Xt] XtAppAddSignal [Xt] 2983 XtAppAddTimeOut [Xt] 2984 XtAppAddWorkProc [Xt] XtAppCreateShell [Xt] XtAppError [Xt] 2985 XtAppErrorMsg [Xt] 2986 XtAppGetErrorDatabase [Xt] XtAppGetErrorDatabaseText [Xt] 2987 XtAppGetExitFlag [Xt] XtAppGetSelectionTimeout [Xt] 2988 XtAppInitialize [Xt] XtAppLock [Xt] XtAppMainLoop [Xt] 2989 XtAppNextEvent [Xt] 2990 XtAppPeekEvent [Xt] XtAppPending [Xt] XtAppProcessEvent [Xt] 2991 XtAppReleaseCacheRefs [Xt] 2992 XtAppSetErrorHandler [Xt] XtAppSetErrorMsgHandler [Xt] 2993 XtAppSetExitFlag [Xt] XtAppSetFallbackResources [Xt] 2994 XtAppSetSelectionTimeout [Xt] XtAppSetTypeConverter [Xt] 2995 XtAppSetWarningHandler [Xt] XtAppSetWarningMsgHandler [Xt] 2996 XtAppUnlock [Xt] XtAppWarning [Xt] XtAppWarningMsg [Xt] 2997 XtAugmentTranslations [Xt] 2998 XtBuildEventMask [Xt] XtCallAcceptFocus [Xt] XtCallActionProc 2999 [Xt] XtCallCallbackList [Xt] 3000 XtCallCallbacks [Xt] XtCallConverter [Xt] XtCallbackExclusive 3001 [Xt] XtCallbackNone [Xt] 3002 XtCallbackNonexclusive [Xt] XtCallbackPopdown [Xt] 3003 XtCallbackReleaseCacheRef [Xt] XtCallbackReleaseCacheRefList 3004 [Xt] 3005 XtCalloc [Xt] XtCancelSelectionRequest [Xt] XtChangeManagedSet 3006 [Xt] XtClass [Xt] 3007 XtCloseDisplay [Xt] XtConfigureWidget [Xt] XtConvert [Xt] 3008 XtConvertAndStore [Xt] 3009 XtConvertCase [Xt] XtCreateApplicationContext [Xt] 3010 XtCreateApplicationShell [Xt] XtCreateManagedWidget [Xt] 3011 XtCreatePopupShell [Xt] XtCreateSelectionRequest [Xt] 3012 XtCreateWidget [Xt] XtCreateWindow [Xt] 3013 XtCvtColorToPixel [Xt] XtCvtIntToBool [Xt] XtCvtIntToBoolean 3014 [Xt] XtCvtIntToColor [Xt] 3015 XtCvtIntToFloat [Xt] XtCvtIntToFont [Xt] XtCvtIntToPixel [Xt] 3016 XtCvtIntToPixmap [Xt] 3017 XtCvtIntToShort [Xt] XtCvtIntToUnsignedChar [Xt] 3018 XtCvtStringToAcceleratorTable [Xt] XtCvtStringToAtom [Xt] 3019 XtCvtStringToBool [Xt] XtCvtStringToBoolean [Xt] 3020 XtCvtStringToCommandArgArray [Xt] XtCvtStringToCursor [Xt] 3021 XtCvtStringToDimension [Xt] XtCvtStringToDirectoryString [Xt] 3022 XtCvtStringToDisplay [Xt] XtCvtStringToFile [Xt] 3023 XtCvtStringToFloat [Xt] XtCvtStringToFont [Xt] 3024 XtCvtStringToFontSet [Xt] XtCvtStringToFontStruct [Xt] 3025 XtCvtStringToGravity [Xt] XtCvtStringToInitialState [Xt] 3026 XtCvtStringToInt [Xt] XtCvtStringToPixel [Xt] 3027 XtCvtStringToRestartStyle [Xt] XtCvtStringToShort [Xt] 3028 XtCvtStringToTranslationTable [Xt] XtCvtStringToUnsignedChar 3029 [Xt] 3030 XtCvtStringToVisual [Xt] XtDatabase [Xt] 3031 XtDestroyApplicationContext [Xt] XtDestroyGC [Xt] 3032 XtDestroyWidget [Xt] XtDirectConvert [Xt] XtDisownSelection 3033 [Xt] XtDispatchEvent [Xt] 3034 XtDispatchEventToWidget [Xt] XtDisplay [Xt] 3035 XtDisplayInitialize [Xt] XtDisplayOfObject [Xt] 3036 XtDisplayStringConversionWarning [Xt] 3037 XtDisplayToApplicationContext [Xt] XtError [Xt] XtErrorMsg 3038 [Xt] 3039 XtFindFile [Xt] XtFree [Xt] XtGetActionKeysym [Xt] 3040 XtGetActionList [Xt] 3041 XtGetApplicationNameAndClass [Xt] XtGetApplicationResources 3042 [Xt] XtGetClassExtension [Xt] XtGetConstraintResourceList [Xt] 3043 XtGetDisplays [Xt] XtGetErrorDatabase [Xt] 3044 XtGetErrorDatabaseText [Xt] XtGetGC [Xt] 3045 XtGetKeyboardFocusWidget [Xt] XtGetKeysymTable [Xt] 3046 XtGetMultiClickTime [Xt] XtGetResourceList [Xt] 3047 XtGetSelectionParameters [Xt] XtGetSelectionRequest [Xt] 3048 XtGetSelectionTimeout [Xt] XtGetSelectionValue [Xt] 3049 XtGetSelectionValueIncremental [Xt] XtGetSelectionValues [Xt] 3050 XtGetSelectionValuesIncremental [Xt] XtGetSubresources [Xt] 3051 XtGetSubvalues [Xt] XtGetValues [Xt] XtGrabButton [Xt] 3052 XtGrabKey [Xt] 3053 XtGrabKeyboard [Xt] XtGrabPointer [Xt] XtHasCallbacks [Xt] 3054 XtHooksOfDisplay [Xt] 3055 XtInitialize [Xt] XtInitializeWidgetClass [Xt] 3056 XtInsertEventHandler [Xt] XtInsertEventTypeHandler [Xt] 3057 XtInsertRawEventHandler [Xt] XtInstallAccelerators [Xt] 3058 XtInstallAllAccelerators [Xt] XtIsApplicationShell [Xt] 3059 XtIsComposite [Xt] XtIsConstraint [Xt] XtIsManaged [Xt] 3060 XtIsObject [Xt] 3061 XtIsOverrideShell [Xt] XtIsRealized [Xt] XtIsRectObj [Xt] 3062 XtIsSensitive [Xt] 3063 XtIsSessionShell [Xt] XtIsShell [Xt] XtIsSubclass [Xt] 3064 XtIsTopLevelShell [Xt] 3065 XtIsTransientShell [Xt] XtIsVendorShell [Xt] XtIsWMShell [Xt] 3066 XtIsWidget [Xt] 3067 XtKeysymToKeycodeList [Xt] XtLastEventProcessed [Xt] 3068 XtLastTimestampProcessed [Xt] XtMainLoop [Xt] 3069 XtMakeGeometryRequest [Xt] XtMakeResizeRequest [Xt] XtMalloc 3070 [Xt] XtManageChild [Xt] 3071 XtManageChildren [Xt] XtMapWidget [Xt] XtMenuPopupAction [Xt] 3072 XtMergeArgLists [Xt] 3073 XtMoveWidget [Xt] XtName [Xt] XtNameToWidget [Xt] XtNewString 3074 [Xt] 3075 XtNextEvent [Xt] XtNoticeSignal [Xt] XtOpenApplication [Xt] 3076 XtOpenDisplay [Xt] 3077 XtOverrideTranslations [Xt] XtOwnSelection [Xt] 3078 XtOwnSelectionIncremental [Xt] XtParent [Xt] 3079 XtParseAcceleratorTable [Xt] XtParseTranslationTable [Xt] 3080 XtPeekEvent [Xt] XtPending [Xt] 3081 XtPopdown [Xt] XtPopup [Xt] XtPopupSpringLoaded [Xt] 3082 XtProcessEvent [Xt] 3083 XtProcessLock [Xt] XtProcessUnlock [Xt] XtQueryGeometry [Xt] 3084 XtRealizeWidget [Xt] 3085 XtRealloc [Xt] XtRegisterCaseConverter [Xt] XtRegisterDrawable 3086 [Xt] XtRegisterExtensionSelector [Xt] 3087 XtRegisterGrabAction [Xt] XtReleaseGC [Xt] 3088 XtReleasePropertyAtom [Xt] XtRemoveActionHook [Xt] 3089 XtRemoveAllCallbacks [Xt] XtRemoveBlockHook [Xt] 3090 XtRemoveCallback [Xt] XtRemoveCallbacks [Xt] 3091 XtRemoveEventHandler [Xt] XtRemoveEventTypeHandler [Xt] 3092 XtRemoveGrab [Xt] XtRemoveInput [Xt] 3093 XtRemoveRawEventHandler [Xt] XtRemoveSignal [Xt] 3094 XtRemoveTimeOut [Xt] XtRemoveWorkProc [Xt] 3095 XtReservePropertyAtom [Xt] XtResizeWidget [Xt] XtResizeWindow 3096 [Xt] XtResolvePathname [Xt] 3097 XtScreen [Xt] XtScreenDatabase [Xt] XtScreenOfObject [Xt] 3098 XtSendSelectionRequest [Xt] 3099 XtSessionGetToken [Xt] XtSessionReturnToken [Xt] 3100 XtSetErrorHandler [Xt] XtSetErrorMsgHandler [Xt] 3101 XtSetEventDispatcher [Xt] XtSetKeyTranslator [Xt] 3102 XtSetKeyboardFocus [Xt] XtSetLanguageProc [Xt] 3103 XtSetMappedWhenManaged [Xt] XtSetMultiClickTime [Xt] 3104 XtSetSelectionParameters [Xt] XtSetSelectionTimeout [Xt] 3105 XtSetSensitive [Xt] XtSetSubvalues [Xt] XtSetTypeConverter 3106 [Xt] XtSetValues [Xt] 3107 XtSetWMColormapWindows [Xt] XtSetWarningHandler [Xt] 3108 XtSetWarningMsgHandler [Xt] XtStringConversionWarning [Xt] 3109 XtSuperclass [Xt] XtToolkitInitialize [Xt] 3110 XtToolkitThreadInitialize [Xt] XtTranslateCoords [Xt] 3111 XtTranslateKey [Xt] XtTranslateKeycode [Xt] XtUngrabButton 3112 [Xt] XtUngrabKey [Xt] 3113 XtUngrabKeyboard [Xt] XtUngrabPointer [Xt] 3114 XtUninstallTranslations [Xt] XtUnmanageChild [Xt] 3115 XtUnmanageChildren [Xt] XtUnmapWidget [Xt] XtUnrealizeWidget 3116 [Xt] XtUnregisterDrawable [Xt] 3117 XtVaAppCreateShell [Xt] XtVaAppInitialize [Xt] 3118 XtVaCreateArgsList [Xt] XtVaCreateManagedWidget [Xt] 3119 XtVaCreatePopupShell [Xt] XtVaCreateWidget [Xt] 3120 XtVaGetApplicationResources [Xt] XtVaGetSubresources [Xt] 3121 XtVaGetSubvalues [Xt] XtVaGetValues [Xt] XtVaOpenApplication 3122 [Xt] XtVaSetSubvalues [Xt] 3123 XtVaSetValues [Xt] XtWarning [Xt] XtWarningMsg [Xt] 3124 XtWidgetToApplicationContext [Xt] 3125 XtWindow [Xt] XtWindowOfObject [Xt] XtWindowToWidget [Xt] 3126 _XtCheckSubclassFlag [Xt] 3127 _XtCopyFromArg [LSB] _XtInherit [LSB] _XtIsSubclassOf [LSB] 3128 3129 An LSB conforming implementation shall provide the generic 3130 data interfaces for X Toolkit specified in Table 6-9, with the 3131 full mandatory functionality as described in the referenced 3132 underlying specification. 3133 3134 Table 6-9. libXt - X Toolkit Data Interfaces 3135 XtCXtToolkitError [Xt] XtShellStrings [Xt] XtStrings [Xt] 3136 _XtInheritTranslations [LSB] 3137 applicationShellWidgetClass [Xt] compositeClassRec [Xt] 3138 compositeWidgetClass [Xt] constraintClassRec [Xt] 3139 constraintWidgetClass [Xt] coreWidgetClass [Xt] objectClass 3140 [Xt] objectClassRec [Xt] 3141 overrideShellClassRec [Xt] overrideShellWidgetClass [Xt] 3142 rectObjClass [Xt] rectObjClassRec [Xt] 3143 sessionShellClassRec [Xt] sessionShellWidgetClass [Xt] 3144 shellClassRec [Xt] shellWidgetClass [Xt] 3145 topLevelShellClassRec [Xt] topLevelShellWidgetClass [Xt] 3146 transientShellClassRec [Xt] transientShellWidgetClass [Xt] 3147 widgetClass [Xt] widgetClassRec [Xt] wmShellClassRec [Xt] 3148 wmShellWidgetClass [Xt] 3149 _________________________________________________________ 3150 3151 6.9. Data Definitions for libXt 3152 3153 This section defines global identifiers and their values that 3154 are associated with interfaces contained in libXt. These 3155 definitions are organized into groups that correspond to 3156 system headers. This convention is used as a convenience for 3157 the reader, and does not imply the existence of these headers, 3158 or their content. Where an interface is defined as requiring a 3159 particular system header file all of the data definitions for 3160 that system header file presented here shall be in effect. 3161 3162 This section gives data definitions to promote binary 3163 application portability, not to repeat source interface 3164 definitions available elsewhere. System providers and 3165 application developers should use this ABI to supplement - not 3166 to replace - source interface definition specifications. 3167 3168 This specification uses the ISO C (1999) C Language as the 3169 reference programming language, and data definitions are 3170 specified in ISO C format. The C language is used here as a 3171 convenient notation. Using a C language description of these 3172 data objects does not preclude their use by other programming 3173 languages. 3174 _________________________________________________________ 3175 3176 6.9.1. X11/Composite.h 3177 3178 typedef Cardinal(*XtOrderProc) (Widget child); 3179 typedef void (*XtDoChangeProc) (Widget composite_parent, 3180 WidgetList unmanage_children, 3181 Cardinal * num_unmanage_children, 3182 WidgetList manage_children, 3183 Cardinal * num_manage_children, 3184 XtPointer client_data); 3185 extern void XtChangeManagedSet(WidgetList, Cardinal, XtDoChangeProc, 3186 XtPointer, WidgetList, Cardinal); 3187 extern void XtManageChild(Widget); 3188 extern void XtManageChildren(WidgetList, Cardinal); 3189 extern void XtUnmanageChild(Widget); 3190 extern void XtUnmanageChildren(WidgetList, Cardinal); 3191 extern WidgetClass compositeWidgetClass; 3192 _________________________________________________________ 3193 3194 6.9.2. X11/CompositeP.h 3195 3196 #define XtInheritGeometryManager ((XtGeometryHandler) _XtInherit) 3197 #define XtInheritDeleteChild ((XtWidgetProc) _XtInherit) 3198 #define XtInheritInsertChild ((XtWidgetProc) _XtInherit) 3199 #define XtCompositeExtensionVersion 2L 3200 3201 typedef struct _CompositeClassPart CompositeClassPart; 3202 3203 typedef struct _CompositeClassRec CompositeClassRec; 3204 extern CompositeClassRec compositeClassRec; 3205 _________________________________________________________ 3206 3207 6.9.3. X11/ConstrainP.h 3208 3209 #define XtConstraintExtensionVersion 1L 3210 3211 typedef struct _ConstraintPart ConstraintPart; 3212 typedef struct _ConstraintClassPart ConstraintClassPart; 3213 typedef struct _ConstraintClassRec { 3214 CoreClassPart core_class; 3215 CompositeClassPart composite_class; 3216 ConstraintClassPart constraint_class; 3217 } ConstraintClassRec; 3218 extern ConstraintClassRec constraintClassRec; 3219 _________________________________________________________ 3220 3221 6.9.4. X11/Constraint.h 3222 3223 typedef struct _ConstraintClassRec *ConstraintWidgetClass; 3224 extern WidgetClass constraintWidgetClass; 3225 _________________________________________________________ 3226 3227 6.9.5. X11/Core.h 3228 3229 extern WidgetClass coreWidgetClass; 3230 _________________________________________________________ 3231 3232 6.9.6. X11/Intrinsic.h 3233 3234 typedef struct _WidgetRec *Widget; 3235 typedef Widget *WidgetList; 3236 typedef struct _WidgetClassRec *WidgetClass; 3237 typedef struct _CompositeRec *CompositeWidget; 3238 typedef struct _XtActionsRec *XtActionList; 3239 typedef struct _XtEventRec *XtEventTable; 3240 typedef struct _XtAppStruct *XtAppContext; 3241 typedef unsigned long int XtValueMask; 3242 typedef unsigned long int XtIntervalId; 3243 typedef unsigned long int XtInputId; 3244 typedef unsigned long int XtSignalId; 3245 typedef unsigned int XtGeometryMask; 3246 typedef unsigned long int XtGCMask; 3247 typedef unsigned long int Pixel; 3248 typedef int XtCacheType; 3249 typedef char Boolean; 3250 typedef long int XtArgVal; 3251 typedef unsigned char XtEnum; 3252 typedef unsigned int Cardinal; 3253 typedef unsigned short Dimension; 3254 typedef short Position; 3255 typedef void *XtPointer; 3256 typedef XtPointer Opaque; 3257 extern void XtAddActions(XtActionList, Cardinal); 3258 extern void XtAddCallback(Widget, char *, XtCallbackProc, XtPointer); 3259 extern void XtAddCallbacks(Widget, char *, XtCallbackList); 3260 extern void XtAddConverter(char *, char *, XtConverter, XtConvertArgList, 3261 Cardinal); 3262 extern void XtAddEventHandler(Widget, EventMask, int, XtEventHandler, 3263 XtPointer); 3264 extern void XtAddExposureToRegion(XEvent *, Region); 3265 extern void XtAddGrab(Widget, int, int); 3266 extern XtInputId XtAddInput(int, XtPointer, XtInputCallbackProc, 3267 XtPointer); 3268 extern void XtAddRawEventHandler(Widget, EventMask, int, XtEventHandler, 3269 XtPointer); 3270 extern XtIntervalId XtAddTimeOut(unsigned long int, XtTimerCallbackProc, 3271 XtPointer); 3272 extern XtWorkProcId XtAddWorkProc(XtWorkProc, XtPointer); 3273 extern GC XtAllocateGC(Widget, Cardinal, XtGCMask, XGCValues *, XtGCMask, 3274 XtGCMask); 3275 extern XtActionHookId XtAppAddActionHook(XtAppContext, XtActionHookProc, 3276 XtPointer); 3277 extern void XtAppAddActions(XtAppContext, XtActionList, Cardinal); 3278 extern XtBlockHookId XtAppAddBlockHook(XtAppContext, XtBlockHookProc, 3279 XtPointer); 3280 extern void XtAppAddConverter(XtAppContext, char *, char *, XtConverter, 3281 XtConvertArgList, Cardinal); 3282 extern XtInputId XtAppAddInput(XtAppContext, int, XtPointer, 3283 XtInputCallbackProc, XtPointer); 3284 extern XtSignalId XtAppAddSignal(XtAppContext, XtSignalCallbackProc, 3285 XtPointer); 3286 extern XtIntervalId XtAppAddTimeOut(XtAppContext, unsigned long int, 3287 XtTimerCallbackProc, XtPointer); 3288 extern XtWorkProcId XtAppAddWorkProc(XtAppContext, XtWorkProc, XtPointer); 3289 extern Widget XtAppCreateShell(char *, char *, WidgetClass, Display *, 3290 ArgList, Cardinal); 3291 extern void XtAppError(XtAppContext, char *); 3292 extern void XtAppErrorMsg(XtAppContext, char *, char *, char *, char *, 3293 String *, Cardinal *); 3294 extern XrmDatabase *XtAppGetErrorDatabase(XtAppContext); 3295 extern void XtAppGetErrorDatabaseText(XtAppContext, char *, char *, char *, 3296 char *, String, int, XrmDatabase); 3297 extern Boolean XtAppGetExitFlag(XtAppContext); 3298 extern unsigned long int XtAppGetSelectionTimeout(XtAppContext); 3299 extern Widget XtAppInitialize(XtAppContext *, char *, XrmOptionDescList, 3300 Cardinal, int *, String *, String *, ArgList, 3301 Cardinal); 3302 extern void XtAppLock(XtAppContext); 3303 extern void XtAppMainLoop(XtAppContext); 3304 extern void XtAppNextEvent(XtAppContext, XEvent *); 3305 extern Boolean XtAppPeekEvent(XtAppContext, XEvent *); 3306 extern XtInputMask XtAppPending(XtAppContext); 3307 extern void XtAppProcessEvent(XtAppContext, XtInputMask); 3308 extern void XtAppReleaseCacheRefs(XtAppContext, XtCacheRef *); 3309 extern XtErrorHandler XtAppSetErrorHandler(XtAppContext, XtErrorHandler); 3310 extern XtErrorMsgHandler XtAppSetErrorMsgHandler(XtAppContext, 3311 XtErrorMsgHandler); 3312 extern void XtAppSetExitFlag(XtAppContext); 3313 extern void XtAppSetFallbackResources(XtAppContext, String *); 3314 extern void XtAppSetSelectionTimeout(XtAppContext, unsigned long int); 3315 extern void XtAppSetTypeConverter(XtAppContext, char *, char *, 3316 XtTypeConverter, XtConvertArgList, 3317 Cardinal, XtCacheType, XtDestructor); 3318 extern XtErrorHandler XtAppSetWarningHandler(XtAppContext, XtErrorHandler); 3319 extern XtErrorMsgHandler XtAppSetWarningMsgHandler(XtAppContext, 3320 XtErrorMsgHandler); 3321 extern void XtAppUnlock(XtAppContext); 3322 extern void XtAppWarning(XtAppContext, char *); 3323 extern void XtAppWarningMsg(XtAppContext, char *, char *, char *, char*, 3324 String *, Cardinal *); 3325 extern void XtAugmentTranslations(Widget, XtTranslations); 3326 extern EventMask XtBuildEventMask(Widget); 3327 extern String XtCXtToolkitError; 3328 extern Boolean XtCallAcceptFocus(Widget, Time *); 3329 extern void XtCallActionProc(Widget, char *, XEvent *, String *, Cardinal); 3330 extern void XtCallCallbackList(Widget, XtCallbackList, XtPointer); 3331 extern void XtCallCallbacks(Widget, char *, XtPointer); 3332 extern Boolean XtCallConverter(Display *, XtTypeConverter, XrmValuePtr, 3333 Cardinal, XrmValuePtr, XrmValue *, 3334 XtCacheRef *); 3335 extern void XtCallbackExclusive(Widget, XtPointer, XtPointer); 3336 extern void XtCallbackNone(Widget, XtPointer, XtPointer); 3337 extern void XtCallbackNonexclusive(Widget, XtPointer, XtPointer); 3338 extern void XtCallbackPopdown(Widget, XtPointer, XtPointer); 3339 extern void XtCallbackReleaseCacheRef(Widget, XtPointer, XtPointer); 3340 extern void XtCallbackReleaseCacheRefList(Widget, XtPointer, XtPointer); 3341 extern char *XtCalloc(Cardinal, Cardinal); 3342 extern void XtCancelSelectionRequest(Widget, Atom); 3343 extern WidgetClass XtClass(Widget); 3344 extern void XtCloseDisplay(Display *); 3345 extern void XtConvert(Widget, char *, XrmValue *, char *, XrmValue *); 3346 extern Boolean XtConvertAndStore(Widget, char *, XrmValue *, char *, 3347 XrmValue *); 3348 extern void XtConvertCase(Display *, KeySym, KeySym *, KeySym *); 3349 extern XtAppContext XtCreateApplicationContext(void); 3350 extern Widget XtCreateApplicationShell(char *, WidgetClass, ArgList, 3351 Cardinal); 3352 extern Widget XtCreateManagedWidget(char *, WidgetClass, Widget, ArgList, 3353 Cardinal); 3354 extern Widget XtCreatePopupShell(char *, WidgetClass, Widget, ArgList, 3355 Cardinal); 3356 extern void XtCreateSelectionRequest(Widget, Atom); 3357 extern Widget XtCreateWidget(char *, WidgetClass, Widget, ArgList, 3358 Cardinal); 3359 extern Boolean XtCvtColorToPixel(Display *, XrmValuePtr, Cardinal *, 3360 XrmValuePtr, XrmValuePtr, XtPointer *); 3361 extern Boolean XtCvtIntToBool(Display *, XrmValuePtr, Cardinal *, 3362 XrmValuePtr, XrmValuePtr, XtPointer *); 3363 extern Boolean XtCvtIntToBoolean(Display *, XrmValuePtr, Cardinal *, 3364 XrmValuePtr, XrmValuePtr, XtPointer *); 3365 extern Boolean XtCvtIntToColor(Display *, XrmValuePtr, Cardinal *, 3366 XrmValuePtr, XrmValuePtr, XtPointer *); 3367 extern Boolean XtCvtIntToFloat(Display *, XrmValuePtr, Cardinal *, 3368 XrmValuePtr, XrmValuePtr, XtPointer *); 3369 extern Boolean XtCvtIntToFont(Display *, XrmValuePtr, Cardinal *, 3370 XrmValuePtr, XrmValuePtr, XtPointer *); 3371 extern Boolean XtCvtIntToPixel(Display *, XrmValuePtr, Cardinal *, 3372 XrmValuePtr, XrmValuePtr, XtPointer *); 3373 extern Boolean XtCvtIntToPixmap(Display *, XrmValuePtr, Cardinal *, 3374 XrmValuePtr, XrmValuePtr, XtPointer *); 3375 extern Boolean XtCvtIntToShort(Display *, XrmValuePtr, Cardinal *, 3376 XrmValuePtr, XrmValuePtr, XtPointer *); 3377 extern Boolean XtCvtIntToUnsignedChar(Display *, XrmValuePtr, Cardinal*, 3378 XrmValuePtr, XrmValuePtr, 3379 XtPointer *); 3380 extern Boolean XtCvtStringToAcceleratorTable(Display *, XrmValuePtr, 3381 Cardinal *, XrmValuePtr, 3382 XrmValuePtr, XtPointer *); 3383 extern Boolean XtCvtStringToAtom(Display *, XrmValuePtr, Cardinal *, 3384 XrmValuePtr, XrmValuePtr, XtPointer *); 3385 extern Boolean XtCvtStringToBool(Display *, XrmValuePtr, Cardinal *, 3386 XrmValuePtr, XrmValuePtr, XtPointer *); 3387 extern Boolean XtCvtStringToBoolean(Display *, XrmValuePtr, Cardinal *, 3388 XrmValuePtr, XrmValuePtr, XtPointer *); 3389 extern Boolean XtCvtStringToCommandArgArray(Display *, XrmValuePtr, 3390 Cardinal *, XrmValuePtr, 3391 XrmValuePtr, XtPointer *); 3392 extern Boolean XtCvtStringToCursor(Display *, XrmValuePtr, Cardinal *, 3393 XrmValuePtr, XrmValuePtr, XtPointer*); 3394 extern Boolean XtCvtStringToDimension(Display *, XrmValuePtr, Cardinal*, 3395 XrmValuePtr, XrmValuePtr, 3396 XtPointer *); 3397 extern Boolean XtCvtStringToDirectoryString(Display *, XrmValuePtr, 3398 Cardinal *, XrmValuePtr, 3399 XrmValuePtr, XtPointer *); 3400 extern Boolean XtCvtStringToDisplay(Display *, XrmValuePtr, Cardinal *, 3401 XrmValuePtr, XrmValuePtr, XtPointer *); 3402 extern Boolean XtCvtStringToFile(Display *, XrmValuePtr, Cardinal *, 3403 XrmValuePtr, XrmValuePtr, XtPointer *); 3404 extern Boolean XtCvtStringToFloat(Display *, XrmValuePtr, Cardinal *, 3405 XrmValuePtr, XrmValuePtr, XtPointer *); 3406 extern Boolean XtCvtStringToFont(Display *, XrmValuePtr, Cardinal *, 3407 XrmValuePtr, XrmValuePtr, XtPointer *); 3408 extern Boolean XtCvtStringToFontSet(Display *, XrmValuePtr, Cardinal *, 3409 XrmValuePtr, XrmValuePtr, XtPointer *); 3410 extern Boolean XtCvtStringToFontStruct(Display *, XrmValuePtr, Cardinal *, 3411 XrmValuePtr, XrmValuePtr, 3412 XtPointer *); 3413 extern Boolean XtCvtStringToGravity(Display *, XrmValuePtr, Cardinal *, 3414 XrmValuePtr, XrmValuePtr, XtPointer *); 3415 extern Boolean XtCvtStringToInitialState(Display *, XrmValuePtr, 3416 Cardinal *, XrmValuePtr, 3417 XrmValuePtr, XtPointer *); 3418 extern Boolean XtCvtStringToInt(Display *, XrmValuePtr, Cardinal *, 3419 XrmValuePtr, XrmValuePtr, XtPointer *); 3420 extern Boolean XtCvtStringToPixel(Display *, XrmValuePtr, Cardinal *, 3421 XrmValuePtr, XrmValuePtr, XtPointer *); 3422 extern Boolean XtCvtStringToRestartStyle(Display *, XrmValuePtr, 3423 Cardinal *, XrmValuePtr, 3424 XrmValuePtr, XtPointer *); 3425 extern Boolean XtCvtStringToShort(Display *, XrmValuePtr, Cardinal *, 3426 XrmValuePtr, XrmValuePtr, XtPointer *); 3427 extern Boolean XtCvtStringToTranslationTable(Display *, XrmValuePtr, 3428 Cardinal *, XrmValuePtr, 3429 XrmValuePtr, XtPointer *); 3430 extern Boolean XtCvtStringToUnsignedChar(Display *, XrmValuePtr, 3431 Cardinal *, XrmValuePtr, 3432 XrmValuePtr, XtPointer *); 3433 extern Boolean XtCvtStringToVisual(Display *, XrmValuePtr, Cardinal *, 3434 XrmValuePtr, XrmValuePtr, XtPointer*); 3435 extern XrmDatabase XtDatabase(Display *); 3436 extern void XtDestroyApplicationContext(XtAppContext); 3437 extern void XtDestroyGC(GC); 3438 extern void XtDestroyWidget(Widget); 3439 extern void XtDirectConvert(XtConverter, XrmValuePtr, Cardinal, 3440 XrmValuePtr, XrmValue *); 3441 extern void XtDisownSelection(Widget, Atom, Time); 3442 extern Boolean XtDispatchEvent(XEvent *); 3443 extern Boolean XtDispatchEventToWidget(Widget, XEvent *); 3444 extern Display *XtDisplay(Widget); 3445 extern void XtDisplayInitialize(XtAppContext, Display *, char *, char *, 3446 XrmOptionDescRec *, Cardinal, int *, 3447 char **); 3448 extern Display *XtDisplayOfObject(Widget); 3449 extern void XtDisplayStringConversionWarning(Display *, char *, char *); 3450 extern XtAppContext XtDisplayToApplicationContext(Display *); 3451 extern void XtError(char *); 3452 extern void XtErrorMsg(char *, char *, char *, char *, String *, 3453 Cardinal *); 3454 extern String XtFindFile(char *, Substitution, Cardinal, XtFilePredicate); 3455 extern void XtFree(char *); 3456 extern KeySym XtGetActionKeysym(XEvent *, Modifiers *); 3457 extern void XtGetActionList(WidgetClass, XtActionList *, Cardinal *); 3458 extern void XtGetApplicationNameAndClass(Display *, String *, String *); 3459 extern void XtGetApplicationResources(Widget, XtPointer, XtResourceList, 3460 Cardinal, ArgList, Cardinal); 3461 extern XtPointer XtGetClassExtension(WidgetClass, Cardinal, XrmQuark, 3462 long int, Cardinal); 3463 extern void XtGetConstraintResourceList(WidgetClass, XtResourceList *, 3464 Cardinal *); 3465 extern void XtGetDisplays(XtAppContext, Display * **, Cardinal *); 3466 extern XrmDatabase *XtGetErrorDatabase(void); 3467 extern void XtGetErrorDatabaseText(char *, char *, char *, char *, String, 3468 int); 3469 extern GC XtGetGC(Widget, XtGCMask, XGCValues *); 3470 extern Widget XtGetKeyboardFocusWidget(Widget); 3471 extern KeySym *XtGetKeysymTable(Display *, KeyCode *, int *); 3472 extern int XtGetMultiClickTime(Display *); 3473 extern void XtGetResourceList(WidgetClass, XtResourceList *, Cardinal *); 3474 extern void XtGetSelectionParameters(Widget, Atom, XtRequestId, Atom *, 3475 XtPointer *, unsigned long int *, 3476 int *); 3477 extern XSelectionRequestEvent *XtGetSelectionRequest(Widget, Atom, 3478 XtRequestId); 3479 extern unsigned long int XtGetSelectionTimeout(void); 3480 extern void XtGetSelectionValue(Widget, Atom, Atom, 3481 XtSelectionCallbackProc, XtPointer, Time); 3482 extern void XtGetSelectionValueIncremental(Widget, Atom, Atom, 3483 XtSelectionCallbackProc, 3484 XtPointer, Time); 3485 extern void XtGetSelectionValues(Widget, Atom, Atom *, int, 3486 XtSelectionCallbackProc, XtPointer *, 3487 Time); 3488 extern void XtGetSelectionValuesIncremental(Widget, Atom, Atom *, int, 3489 XtSelectionCallbackProc, 3490 XtPointer *, Time); 3491 extern void XtGetSubresources(Widget, XtPointer, char *, char *, 3492 XtResourceList, Cardinal, ArgList, Cardinal); 3493 extern void XtGetSubvalues(XtPointer, XtResourceList, Cardinal, ArgList, 3494 Cardinal); 3495 extern void XtGetValues(Widget, ArgList, Cardinal); 3496 extern void XtGrabButton(Widget, int, Modifiers, int, unsigned int, int, 3497 int, Window, Cursor); 3498 extern void XtGrabKey(Widget, unsigned int, Modifiers, int, int, int); 3499 extern int XtGrabKeyboard(Widget, int, int, int, Time); 3500 extern int XtGrabPointer(Widget, int, unsigned int, int, int, Window, 3501 Cursor, Time); 3502 extern XtCallbackStatus XtHasCallbacks(Widget, char *); 3503 extern Widget XtHooksOfDisplay(Display *); 3504 extern Widget XtInitialize(char *, char *, XrmOptionDescRec *, Cardinal, 3505 int *, char **); 3506 extern void XtInitializeWidgetClass(WidgetClass); 3507 extern void XtInsertEventHandler(Widget, EventMask, int, XtEventHandler, 3508 XtPointer, XtListPosition); 3509 extern void XtInsertEventTypeHandler(Widget, int, XtPointer, 3510 XtEventHandler, XtPointer, 3511 XtListPosition); 3512 extern void XtInsertRawEventHandler(Widget, EventMask, int, XtEventHandler, 3513 XtPointer, XtListPosition); 3514 extern void XtInstallAccelerators(Widget, Widget); 3515 extern void XtInstallAllAccelerators(Widget, Widget); 3516 extern Boolean XtIsApplicationShell(Widget); 3517 extern Boolean XtIsComposite(Widget); 3518 extern Boolean XtIsConstraint(Widget); 3519 extern Boolean XtIsManaged(Widget); 3520 extern Boolean XtIsObject(Widget); 3521 extern Boolean XtIsOverrideShell(Widget); 3522 extern Boolean XtIsRealized(Widget); 3523 extern Boolean XtIsRectObj(Widget); 3524 extern Boolean XtIsSensitive(Widget); 3525 extern Boolean XtIsSessionShell(Widget); 3526 extern Boolean XtIsShell(Widget); 3527 extern Boolean XtIsSubclass(Widget, WidgetClass); 3528 extern Boolean XtIsTopLevelShell(Widget); 3529 extern Boolean XtIsTransientShell(Widget); 3530 extern Boolean XtIsVendorShell(Widget); 3531 extern Boolean XtIsWMShell(Widget); 3532 extern Boolean XtIsWidget(Widget); 3533 extern void XtKeysymToKeycodeList(Display *, KeySym, KeyCode * *, 3534 Cardinal *); 3535 extern XEvent *XtLastEventProcessed(Display *); 3536 extern Time XtLastTimestampProcessed(Display *); 3537 extern void XtMainLoop(void); 3538 extern XtGeometryResult XtMakeGeometryRequest(Widget, XtWidgetGeometry*, 3539 XtWidgetGeometry *); 3540 extern XtGeometryResult XtMakeResizeRequest(Widget, unsigned int, 3541 unsigned int, Dimension *, 3542 Dimension *); 3543 extern char *XtMalloc(Cardinal); 3544 extern void XtMapWidget(void); 3545 extern void XtMenuPopupAction(Widget, XEvent *, String *, Cardinal *); 3546 extern ArgList XtMergeArgLists(ArgList, Cardinal, ArgList, Cardinal); 3547 extern String XtName(Widget); 3548 extern Widget XtNameToWidget(Widget, char *); 3549 extern String XtNewString(void); 3550 extern void XtNextEvent(XEvent *); 3551 extern void XtNoticeSignal(XtSignalId); 3552 extern Widget XtOpenApplication(XtAppContext *, char *, XrmOptionDescList, 3553 Cardinal, int *, String *, String *, 3554 WidgetClass, ArgList, Cardinal); 3555 extern Display *XtOpenDisplay(XtAppContext, char *, char *, char *, 3556 XrmOptionDescRec *, Cardinal, int *, 3557 char **); 3558 extern void XtOverrideTranslations(Widget, XtTranslations); 3559 extern Boolean XtOwnSelection(Widget, Atom, Time, XtConvertSelectionProc, 3560 XtLoseSelectionProc, XtSelectionDoneProc); 3561 extern Boolean XtOwnSelectionIncremental(Widget, Atom, Time, 3562 XtConvertSelectionIncrProc, 3563 XtLoseSelectionIncrProc, 3564 XtSelectionDoneIncrProc, 3565 XtCancelConvertSelectionProc, 3566 XtPointer); 3567 extern Widget XtParent(Widget); 3568 extern XtAccelerators XtParseAcceleratorTable(char *); 3569 extern XtTranslations XtParseTranslationTable(char *); 3570 extern Boolean XtPeekEvent(XEvent *); 3571 extern Boolean XtPending(void); 3572 extern void XtPopdown(Widget); 3573 extern void XtPopup(Widget, XtGrabKind); 3574 extern void XtPopupSpringLoaded(Widget); 3575 extern void XtProcessEvent(XtInputMask); 3576 extern XtGeometryResult XtQueryGeometry(Widget, XtWidgetGeometry *, 3577 XtWidgetGeometry *); 3578 extern void XtRealizeWidget(Widget); 3579 extern char *XtRealloc(char *, Cardinal); 3580 extern void XtRegisterCaseConverter(Display *, XtCaseProc, KeySym, KeySym); 3581 extern void XtRegisterDrawable(Display *, Drawable, Widget); 3582 extern void XtRegisterExtensionSelector(Display *, int, int, 3583 XtExtensionSelectProc, XtPointer); 3584 extern void XtRegisterGrabAction(XtActionProc, int, unsigned int, int, 3585 int); 3586 extern void XtReleaseGC(Widget, GC); 3587 extern void XtReleasePropertyAtom(Widget, Atom); 3588 extern void XtRemoveActionHook(XtActionHookId); 3589 extern void XtRemoveAllCallbacks(Widget, char *); 3590 extern void XtRemoveBlockHook(XtBlockHookId); 3591 extern void XtRemoveCallback(Widget, char *, XtCallbackProc, XtPointer); 3592 extern void XtRemoveCallbacks(Widget, char *, XtCallbackList); 3593 extern void XtRemoveEventHandler(Widget, EventMask, int, XtEventHandler, 3594 XtPointer); 3595 extern void XtRemoveEventTypeHandler(Widget, int, XtPointer, 3596 XtEventHandler, XtPointer); 3597 extern void XtRemoveGrab(Widget); 3598 extern void XtRemoveInput(XtInputId); 3599 extern void XtRemoveRawEventHandler(Widget, EventMask, int, XtEventHandler, 3600 XtPointer); 3601 extern void XtRemoveSignal(XtSignalId); 3602 extern void XtRemoveTimeOut(XtIntervalId); 3603 extern void XtRemoveWorkProc(XtWorkProcId); 3604 extern Atom XtReservePropertyAtom(Widget); 3605 extern String XtResolvePathname(Display *, char *, char *, char *, char *, 3606 Substitution, Cardinal, XtFilePredicate); 3607 extern Screen *XtScreen(Widget); 3608 extern XrmDatabase XtScreenDatabase(Screen *); 3609 extern Screen *XtScreenOfObject(Widget); 3610 extern void XtSendSelectionRequest(Widget, Atom, Time); 3611 extern XtCheckpointToken XtSessionGetToken(Widget); 3612 extern void XtSessionReturnToken(XtCheckpointToken); 3613 extern void XtSetErrorHandler(XtErrorHandler); 3614 extern void XtSetErrorMsgHandler(XtErrorMsgHandler); 3615 extern XtEventDispatchProc XtSetEventDispatcher(Display *, int, 3616 XtEventDispatchProc); 3617 extern void XtSetKeyTranslator(Display *, XtKeyProc); 3618 extern void XtSetKeyboardFocus(Widget, Widget); 3619 extern XtLanguageProc XtSetLanguageProc(XtAppContext, XtLanguageProc, 3620 XtPointer); 3621 extern void XtSetMappedWhenManaged(Widget, int); 3622 extern void XtSetMultiClickTime(Display *, int); 3623 extern void XtSetSelectionParameters(Widget, Atom, Atom, XtPointer, 3624 unsigned long int, int); 3625 extern void XtSetSelectionTimeout(unsigned long int); 3626 extern void XtSetSensitive(Widget, int); 3627 extern void XtSetSubvalues(XtPointer, XtResourceList, Cardinal, ArgList, 3628 Cardinal); 3629 extern void XtSetTypeConverter(char *, char *, XtTypeConverter, 3630 XtConvertArgList, Cardinal, XtCacheType, 3631 XtDestructor); 3632 extern void XtSetValues(Widget, ArgList, Cardinal); 3633 extern void XtSetWMColormapWindows(Widget, Widget *, Cardinal); 3634 extern void XtSetWarningHandler(XtErrorHandler); 3635 extern void XtSetWarningMsgHandler(XtErrorMsgHandler); 3636 extern void XtStringConversionWarning(char *, char *); 3637 extern WidgetClass XtSuperclass(Widget); 3638 extern void XtToolkitInitialize(void); 3639 extern Boolean XtToolkitThreadInitialize(void); 3640 extern void XtTranslateCoords(Widget, int, int, Position *, Position *); 3641 extern void XtTranslateKey(Display *, unsigned int, Modifiers, Modifiers *, 3642 KeySym *); 3643 extern void XtTranslateKeycode(Display *, unsigned int, Modifiers, 3644 Modifiers *, KeySym *); 3645 extern void XtUngrabButton(Widget, unsigned int, Modifiers); 3646 extern void XtUngrabKey(Widget, unsigned int, Modifiers); 3647 extern void XtUngrabKeyboard(Widget, Time); 3648 extern void XtUngrabPointer(Widget, Time); 3649 extern void XtUninstallTranslations(Widget); 3650 extern void XtUnmapWidget(void); 3651 extern void XtUnrealizeWidget(Widget); 3652 extern void XtUnregisterDrawable(Display *, Drawable); 3653 extern Widget XtVaAppCreateShell(char *, char *, WidgetClass, Display *, 3654 ...); 3655 extern Widget XtVaAppInitialize(XtAppContext *, char *, XrmOptionDescList, 3656 Cardinal, int *, String *, String *, ...); 3657 extern XtVarArgsList XtVaCreateArgsList(XtPointer, ...); 3658 extern Widget XtVaCreateManagedWidget(char *, WidgetClass, Widget, ...); 3659 extern Widget XtVaCreatePopupShell(char *, WidgetClass, Widget, ...); 3660 extern Widget XtVaCreateWidget(char *, WidgetClass, Widget, ...); 3661 extern void XtVaGetApplicationResources(Widget, XtPointer, XtResourceList, 3662 Cardinal, ...); 3663 extern void XtVaGetSubresources(Widget, XtPointer, char *, char *, 3664 XtResourceList, Cardinal, ...); 3665 extern void XtVaGetSubvalues(XtPointer, XtResourceList, Cardinal, ...); 3666 extern void XtVaGetValues(Widget, ...); 3667 extern Widget XtVaOpenApplication(XtAppContext *, char *, 3668 XrmOptionDescList, Cardinal, int *, 3669 String *, String *, WidgetClass, ...); 3670 extern void XtVaSetSubvalues(XtPointer, XtResourceList, Cardinal, ...); 3671 extern void XtVaSetValues(Widget, ...); 3672 extern void XtWarning(char *); 3673 extern void XtWarningMsg(char *, char *, char *, char *, String *, 3674 Cardinal *); 3675 extern XtAppContext XtWidgetToApplicationContext(Widget); 3676 extern Window XtWindow(Widget); 3677 extern Window XtWindowOfObject(Widget); 3678 extern Widget XtWindowToWidget(Display *, Window); 3679 extern Boolean _XtCheckSubclassFlag(Widget, unsigned int); 3680 extern Boolean _XtIsSubclassOf(Widget, WidgetClass, WidgetClass, 3681 unsigned int); 3682 _________________________________________________________ 3683 3684 6.9.7. X11/IntrinsicP.h 3685 3686 extern void XtConfigureWidget(Widget, int, int, unsigned int, unsignedint, 3687 unsigned int); 3688 extern void XtCreateWindow(Widget, unsigned int, Visual *, XtValueMask, 3689 XSetWindowAttributes *); 3690 extern void XtMoveWidget(Widget, int, int); 3691 extern void XtProcessLock(void); 3692 extern void XtProcessUnlock(void); 3693 extern void XtResizeWidget(Widget, unsigned int, unsigned int, 3694 unsigned int); 3695 extern void XtResizeWindow(Widget); 3696 extern void _XtInherit(void); 3697 _________________________________________________________ 3698 3699 6.9.8. X11/Object.h 3700 3701 extern WidgetClass objectClass; 3702 _________________________________________________________ 3703 3704 6.9.9. X11/ObjectP.h 3705 3706 #define XtInheritAllocate ((XtAllocateProc) _XtInherit) 3707 #define XtInheritDeallocate ((XtDeallocateProc) _XtInherit) 3708 #define XtObjectExtensionVersion 1L 3709 3710 typedef struct _ObjectPart { 3711 Widget self; 3712 WidgetClass widget_class; 3713 Widget parent; 3714 XrmName xrm_name; 3715 Boolean being_destroyed; 3716 XtCallbackList destroy_callbacks; 3717 XtPointer constraints; 3718 } ObjectPart; 3719 3720 typedef struct _ObjectRec { 3721 ObjectPart object; 3722 } ObjectRec; 3723 3724 typedef struct _ObjectClassPart { 3725 WidgetClass superclass; 3726 String class_name; 3727 Cardinal widget_size; 3728 XtProc class_initialize; 3729 XtWidgetClassProc class_part_initialize; 3730 XtEnum class_inited; 3731 XtInitProc initialize; 3732 XtArgsProc initialize_hook; 3733 XtProc obj1; 3734 XtProc obj2; 3735 XtProc obj3; 3736 XtResourceList resources; 3737 Cardinal num_resources; 3738 XrmClass xrm_class; 3739 Boolean obj4; 3740 XtEnum obj5; 3741 Boolean obj6; 3742 Boolean obj7; 3743 XtWidgetProc destroy; 3744 XtProc obj8; 3745 XtProc obj9; 3746 XtSetValuesFunc set_values; 3747 XtArgsFunc set_values_hook; 3748 XtProc obj10; 3749 XtArgsProc get_values_hook; 3750 XtProc obj11; 3751 XtVersionType version; 3752 XtPointer callback_private; 3753 String obj12; 3754 XtProc obj13; 3755 XtProc obj14; 3756 XtPointer extension; 3757 } ObjectClassPart; 3758 3759 struct { 3760 XtPointer next_extension; 3761 XrmQuark record_type; 3762 long int version; 3763 Cardinal record_size; 3764 XtAllocateProc allocate; 3765 XtDeallocateProc deallocate; 3766 }; 3767 3768 typedef struct { 3769 XtPointer next_extension; 3770 XrmQuark record_type; 3771 long int version; 3772 Cardinal record_size; 3773 XtAllocateProc allocate; 3774 XtDeallocateProc deallocate; 3775 } ObjectClassExtensionRec; 3776 typedef struct { 3777 XtPointer next_extension; 3778 XrmQuark record_type; 3779 long int version; 3780 Cardinal record_size; 3781 XtAllocateProc allocate; 3782 XtDeallocateProc deallocate; 3783 } *ObjectClassExtension; 3784 3785 typedef struct _ObjectClassRec { 3786 ObjectClassPart object_class; 3787 } ObjectClassRec; 3788 extern ObjectClassRec objectClassRec; 3789 _________________________________________________________ 3790 3791 6.9.10. X11/Shell.h 3792 3793 extern char XtShellStrings[]; 3794 extern WidgetClass applicationShellWidgetClass; 3795 extern WidgetClass overrideShellWidgetClass; 3796 extern WidgetClass sessionShellWidgetClass; 3797 extern WidgetClass shellWidgetClass; 3798 extern WidgetClass topLevelShellWidgetClass; 3799 extern WidgetClass transientShellWidgetClass; 3800 extern WidgetClass wmShellWidgetClass; 3801 _________________________________________________________ 3802 3803 6.9.11. X11/StringDefs.h 3804 3805 extern char XtStrings[]; 3806 _________________________________________________________ 3807 3808 6.10. Interface Definitions for libXt 3809 3810 Table of Contents 3811 _XtCopyFromArg -- Copy "size" bytes from src to dst. 3812 _XtInherit -- inheritance operation. 3813 _XtInheritTranslations -- an inheritance constant 3814 _XtIsSubclassOf -- determine if Widget is a subclass of 3815 WidgetClass. 3816 3817 The interfaces defined on the following pages are included in 3818 libXt and are defined by this specification. Unless otherwise 3819 noted, these interfaces shall be included in the source 3820 standard. 3821 3822 Other interfaces listed in Section 6.8 shall behave as 3823 described in the referenced base document. 3824 3825 _XtCopyFromArg 3826 3827 Name 3828 3829 _XtCopyFromArg -- Copy "size" bytes from src to dst. 3830 3831 Synopsis 3832 3833 void _XtCopyFromArg(XtArgVal src,char* dst,unsigned int size); 3834 3835 Description 3836 3837 The _XtCopyFromArg() function copies "size" bytes from src to 3838 dst. This is an internal X function call. 3839 3840 _XtInherit 3841 3842 Name 3843 3844 _XtInherit -- inheritance operation. 3845 3846 Synopsis 3847 3848 #include 3849 3850 extern void _XtInherit( 3851 #if NeedFunctionPrototypes 3852 void 3853 #endif 3854 ); 3855 3856 Description 3857 3858 _XtInherit() is a procedure that issues an error message if it 3859 is actually called. 3860 3861 _XtInheritTranslations 3862 3863 Name 3864 3865 _XtInheritTranslations -- an inheritance constant 3866 3867 Synopsis 3868 3869 #include 3870 3871 externalref int _XtInheritTranslations; 3872 3873 Description 3874 3875 _XtInheritTranslations is an inheritance constant. 3876 3877 _XtIsSubclassOf 3878 3879 Name 3880 3881 _XtIsSubclassOf -- determine if Widget is a subclass of 3882 WidgetClass. 3883 3884 Synopsis 3885 3886 #include 3887 3888 extern Boolean _XtIsSubclassOf( 3889 Widget /* object* /, 3890 WidgetClass /* widget_class */, 3891 WidgetClass /* flag_class */, 3892 _XtXtEnum /* type_flag */, 3893 ); 3894 3895 Description 3896 3897 Determine if Widget(object) is a subclass of 3898 WidgetClass(widget_class). 3899 _________________________________________________________ 3900 3901 6.11. Interfaces for libXext 3902 3903 Table 6-10 defines the library name and shared object name for 3904 the libXext library 3905 3906 Table 6-10. libXext Definition 3907 Library: libXext 3908 SONAME: libXext.so.6 3909 3910 The behavior of the interfaces in this library is specified by 3911 the following specifications: 3912 3913 [X-dbe] Double Buffer Extension Library 3914 [X-DPMS] X Display Power Management Signaling 3915 [X-evi] X Extended Visual Interface Extension 3916 [X-security] X Security Extension Specification 3917 [X-shape] X Nonrectangular Window Shape Extension Library 3918 [X-shm] The MIT Shared Memory Extension 3919 [X-sync] X Synchronization Extension Library 3920 _________________________________________________________ 3921 3922 6.11.1. X Shape Extension 3923 _________________________________________________________ 3924 3925 6.11.1.1. Interfaces for X Shape Extension 3926 3927 An LSB conforming implementation shall provide the generic 3928 functions for X Shape Extension specified in Table 6-11, with 3929 the full mandatory functionality as described in the 3930 referenced underlying specification. 3931 3932 Table 6-11. libXext - X Shape Extension Function Interfaces 3933 XShapeCombineMask [X-shape] XShapeCombineRectangles [X-shape] 3934 XShapeCombineRegion [X-shape] XShapeCombineShape [X-shape] 3935 XShapeGetRectangles [X-shape] XShapeInputSelected [X-shape] 3936 XShapeOffsetShape [X-shape] XShapeQueryExtension [X-shape] 3937 XShapeQueryExtents [X-shape] XShapeQueryVersion [X-shape] 3938 XShapeSelectInput [X-shape] 3939 _________________________________________________________ 3940 3941 6.11.2. X Display Power Management Signaling Extension 3942 _________________________________________________________ 3943 3944 6.11.2.1. Interfaces for X Display Power Management Signaling Extension 3945 3946 An LSB conforming implementation shall provide the generic 3947 functions for X Display Power Management Signaling Extension 3948 specified in Table 6-12, with the full mandatory functionality 3949 as described in the referenced underlying specification. 3950 3951 Table 6-12. libXext - X Display Power Management Signaling 3952 Extension Function Interfaces 3953 DPMSCapable [X-DPMS] DPMSDisable [X-DPMS] DPMSEnable [X-DPMS] 3954 DPMSForceLevel [X-DPMS] 3955 DPMSGetTimeouts [X-DPMS] DPMSGetVersion [X-DPMS] DPMSInfo 3956 [X-DPMS] DPMSQueryExtension [X-DPMS] 3957 DPMSSetTimeouts [X-DPMS] 3958 _________________________________________________________ 3959 3960 6.11.3. X Shared Memory Extensions 3961 _________________________________________________________ 3962 3963 6.11.3.1. Interfaces for X Shared Memory Extensions 3964 3965 An LSB conforming implementation shall provide the generic 3966 functions for X Shared Memory Extensions specified in Table 3967 6-13, with the full mandatory functionality as described in 3968 the referenced underlying specification. 3969 3970 Table 6-13. libXext - X Shared Memory Extensions Function 3971 Interfaces 3972 XShmAttach [X-shm] XShmCreateImage [X-shm] XShmCreatePixmap 3973 [X-shm] XShmDetach [X-shm] 3974 XShmGetEventBase [X-shm] XShmGetImage [X-shm] XShmPixmapFormat 3975 [X-shm] XShmPutImage [X-shm] 3976 XShmQueryExtension [X-shm] XShmQueryVersion [X-shm] 3977 _________________________________________________________ 3978 3979 6.11.4. MIT-MISC Extension 3980 _________________________________________________________ 3981 3982 6.11.4.1. Interfaces for MIT-MISC Extension 3983 3984 No external functions are defined for libXext - MIT-MISC 3985 Extension in this part of the specification. See also the 3986 relevant architecture specific part of ISO/IEC 23360. 3987 _________________________________________________________ 3988 3989 6.11.5. X Synchronization Extension 3990 _________________________________________________________ 3991 3992 6.11.5.1. Interfaces for X Synchronization Extension 3993 3994 An LSB conforming implementation shall provide the generic 3995 functions for X Synchronization Extension specified in Table 3996 6-14, with the full mandatory functionality as described in 3997 the referenced underlying specification. 3998 3999 Table 6-14. libXext - X Synchronization Extension Function 4000 Interfaces 4001 XSyncAwait [X-sync] XSyncChangeAlarm [X-sync] 4002 XSyncChangeCounter [X-sync] XSyncCreateAlarm [X-sync] 4003 XSyncCreateCounter [X-sync] XSyncDestroyAlarm [X-sync] 4004 XSyncDestroyCounter [X-sync] XSyncFreeSystemCounterList 4005 [X-sync] 4006 XSyncGetPriority [X-sync] XSyncInitialize [X-sync] 4007 XSyncIntToValue [X-sync] XSyncIntsToValue [X-sync] 4008 XSyncListSystemCounters [X-sync] XSyncMaxValue [X-sync] 4009 XSyncMinValue [X-sync] XSyncQueryAlarm [X-sync] 4010 XSyncQueryCounter [X-sync] XSyncQueryExtension [X-sync] 4011 XSyncSetCounter [X-sync] XSyncSetPriority [X-sync] 4012 XSyncValueAdd [X-sync] XSyncValueEqual [X-sync] 4013 XSyncValueGreaterOrEqual [X-sync] XSyncValueGreaterThan 4014 [X-sync] 4015 XSyncValueHigh32 [X-sync] XSyncValueIsNegative [X-sync] 4016 XSyncValueIsPositive [X-sync] XSyncValueIsZero [X-sync] 4017 XSyncValueLessOrEqual [X-sync] XSyncValueLessThan [X-sync] 4018 XSyncValueLow32 [X-sync] XSyncValueSubtract [X-sync] 4019 _________________________________________________________ 4020 4021 6.11.6. X Security Extension 4022 _________________________________________________________ 4023 4024 6.11.6.1. Interfaces for X Security Extension 4025 4026 An LSB conforming implementation shall provide the generic 4027 functions for X Security Extension specified in Table 6-15, 4028 with the full mandatory functionality as described in the 4029 referenced underlying specification. 4030 4031 Table 6-15. libXext - X Security Extension Function Interfaces 4032 XSecurityAllocXauth [X-security] XSecurityFreeXauth 4033 [X-security] XSecurityGenerateAuthorization [X-security] 4034 XSecurityQueryExtension [X-security] 4035 XSecurityRevokeAuthorization [X-security] 4036 _________________________________________________________ 4037 4038 6.11.7. X Double Buffer Extension 4039 _________________________________________________________ 4040 4041 6.11.7.1. Interfaces for X Double Buffer Extension 4042 4043 An LSB conforming implementation shall provide the generic 4044 functions for X Double Buffer Extension specified in Table 4045 6-16, with the full mandatory functionality as described in 4046 the referenced underlying specification. 4047 4048 Table 6-16. libXext - X Double Buffer Extension Function 4049 Interfaces 4050 XdbeAllocateBackBufferName [X-dbe] XdbeBeginIdiom [X-dbe] 4051 XdbeDeallocateBackBufferName [X-dbe] XdbeEndIdiom [X-dbe] 4052 XdbeFreeVisualInfo [X-dbe] XdbeGetBackBufferAttributes [X-dbe] 4053 XdbeGetVisualInfo [X-dbe] XdbeQueryExtension [X-dbe] 4054 XdbeSwapBuffers [X-dbe] 4055 _________________________________________________________ 4056 4057 6.11.8. X Extended Visual Interface Extension 4058 _________________________________________________________ 4059 4060 6.11.8.1. Interfaces for X Extended Visual Interface Extension 4061 4062 An LSB conforming implementation shall provide the generic 4063 functions for X Extended Visual Interface Extension specified 4064 in Table 6-17, with the full mandatory functionality as 4065 described in the referenced underlying specification. 4066 4067 Table 6-17. libXext - X Extended Visual Interface Extension 4068 Function Interfaces 4069 XeviGetVisualInfo [X-evi] XeviQueryExtension [X-evi] 4070 XeviQueryVersion [X-evi] 4071 _________________________________________________________ 4072 4073 6.12. Data Definitions for libXext 4074 4075 This section defines global identifiers and their values that 4076 are associated with interfaces contained in libXext. These 4077 definitions are organized into groups that correspond to 4078 system headers. This convention is used as a convenience for 4079 the reader, and does not imply the existence of these headers, 4080 or their content. Where an interface is defined as requiring a 4081 particular system header file all of the data definitions for 4082 that system header file presented here shall be in effect. 4083 4084 This section gives data definitions to promote binary 4085 application portability, not to repeat source interface 4086 definitions available elsewhere. System providers and 4087 application developers should use this ABI to supplement - not 4088 to replace - source interface definition specifications. 4089 4090 This specification uses the ISO C (1999) C Language as the 4091 reference programming language, and data definitions are 4092 specified in ISO C format. The C language is used here as a 4093 convenient notation. Using a C language description of these 4094 data objects does not preclude their use by other programming 4095 languages. 4096 _________________________________________________________ 4097 4098 6.12.1. X11/extensions/XEVI.h 4099 4100 #define XEVI_TRANSPARENCY_NONE 0 4101 #define XEVI_TRANSPARENCY_PIXEL 1 4102 #define XEVI_TRANSPARENCY_MASK 2 4103 4104 typedef struct { 4105 VisualID core_visual_id; 4106 int screen; 4107 int level; 4108 unsigned int transparency_type; 4109 unsigned int transparency_value; 4110 unsigned int min_hw_colormaps; 4111 unsigned int max_hw_colormaps; 4112 unsigned int num_colormap_conflicts; 4113 VisualID *colormap_conflicts; 4114 } ExtendedVisualInfo; 4115 extern int XeviGetVisualInfo(Display *, Visual *, int, 4116 ExtendedVisualInfo * *, int *); 4117 extern int XeviQueryExtension(Display *); 4118 extern int XeviQueryVersion(Display *, int *, int *); 4119 _________________________________________________________ 4120 4121 6.12.2. X11/extensions/XKBgeom.h 4122 4123 extern int XkbAllocGeomColors(XkbGeometryPtr, int); 4124 extern int XkbAllocGeomDoodads(XkbGeometryPtr, int); 4125 extern int XkbAllocGeomKeyAliases(XkbGeometryPtr, int); 4126 extern int XkbAllocGeomKeys(XkbRowPtr, int); 4127 extern int XkbAllocGeomOutlines(XkbShapePtr, int); 4128 extern int XkbAllocGeomOverlayKeys(XkbOverlayRowPtr, int); 4129 extern int XkbAllocGeomOverlayRows(XkbOverlayPtr, int); 4130 extern int XkbAllocGeomOverlays(XkbSectionPtr, int); 4131 extern int XkbAllocGeomPoints(XkbOutlinePtr, int); 4132 extern int XkbAllocGeomProps(XkbGeometryPtr, int); 4133 extern int XkbAllocGeomRows(XkbSectionPtr, int); 4134 extern int XkbAllocGeomSectionDoodads(XkbSectionPtr, int); 4135 extern int XkbAllocGeomSections(XkbGeometryPtr, int); 4136 extern int XkbAllocGeomShapes(XkbGeometryPtr, int); 4137 extern int XkbAllocGeometry(XkbDescPtr, XkbGeometrySizesPtr); 4138 extern int XkbComputeRowBounds(XkbGeometryPtr, XkbSectionPtr, XkbRowPtr); 4139 extern int XkbComputeSectionBounds(XkbGeometryPtr, XkbSectionPtr); 4140 extern int XkbComputeShapeBounds(XkbShapePtr); 4141 extern int XkbComputeShapeTop(XkbShapePtr, XkbBoundsPtr); 4142 extern char *XkbFindOverlayForKey(XkbGeometryPtr, XkbSectionPtr, char *); 4143 extern void XkbFreeGeomColors(XkbGeometryPtr, int, int, int); 4144 extern void XkbFreeGeomDoodads(XkbDoodadPtr, int, int); 4145 extern void XkbFreeGeomKeyAliases(XkbGeometryPtr, int, int, int); 4146 extern void XkbFreeGeomKeys(XkbRowPtr, int, int, int); 4147 extern void XkbFreeGeomOutlines(XkbShapePtr, int, int, int); 4148 extern void XkbFreeGeomOverlayKeys(XkbOverlayRowPtr, int, int, int); 4149 extern void XkbFreeGeomOverlayRows(XkbOverlayPtr, int, int, int); 4150 extern void XkbFreeGeomOverlays(XkbSectionPtr, int, int, int); 4151 extern void XkbFreeGeomPoints(XkbOutlinePtr, int, int, int); 4152 extern void XkbFreeGeomProperties(XkbGeometryPtr, int, int, int); 4153 extern void XkbFreeGeomRows(XkbSectionPtr, int, int, int); 4154 extern void XkbFreeGeomSections(XkbGeometryPtr, int, int, int); 4155 extern void XkbFreeGeomShapes(XkbGeometryPtr, int, int, int); 4156 extern void XkbFreeGeometry(XkbGeometryPtr, unsigned int, int); 4157 extern int XkbGetGeometry(Display *, XkbDescPtr); 4158 extern int XkbGetNamedGeometry(Display *, XkbDescPtr, Atom); 4159 extern int XkbSetGeometry(Display *, unsigned int, XkbGeometryPtr); 4160 _________________________________________________________ 4161 4162 6.12.3. X11/extensions/XShm.h 4163 4164 extern int XShmAttach(Display *, XShmSegmentInfo *); 4165 extern XImage *XShmCreateImage(Display *, Visual *, unsigned int, int, 4166 char *, XShmSegmentInfo *, unsigned int, 4167 unsigned int); 4168 extern Pixmap XShmCreatePixmap(Display *, Drawable, char *, 4169 XShmSegmentInfo *, unsigned int, 4170 unsigned int, unsigned int); 4171 extern int XShmDetach(Display *, XShmSegmentInfo *); 4172 extern int XShmGetEventBase(Display *); 4173 extern int XShmGetImage(Display *, Drawable, XImage *, int, int, 4174 unsigned long int); 4175 extern int XShmPixmapFormat(Display *); 4176 extern int XShmPutImage(Display *, Drawable, GC, XImage *, int, int, int, 4177 int, unsigned int, unsigned int, int); 4178 extern int XShmQueryExtension(Display *); 4179 extern int XShmQueryVersion(Display *, int *, int *, int *); 4180 _________________________________________________________ 4181 4182 6.12.4. X11/extensions/Xdbe.h 4183 4184 extern XdbeBackBuffer XdbeAllocateBackBufferName(Display *, Window, 4185 XdbeSwapAction); 4186 extern int XdbeBeginIdiom(Display *); 4187 extern int XdbeDeallocateBackBufferName(Display *, XdbeBackBuffer); 4188 extern int XdbeEndIdiom(Display *); 4189 extern void XdbeFreeVisualInfo(XdbeScreenVisualInfo *); 4190 extern XdbeBackBufferAttributes *XdbeGetBackBufferAttributes(Display *, 4191 XdbeBackBuffer); 4192 extern XdbeScreenVisualInfo *XdbeGetVisualInfo(Display *, Drawable *, 4193 int *); 4194 extern int XdbeQueryExtension(Display *, int *, int *); 4195 extern int XdbeSwapBuffers(Display *, XdbeSwapInfo *, int); 4196 _________________________________________________________ 4197 4198 6.12.5. X11/extensions/dpms.h 4199 4200 extern int DPMSCapable(Display *); 4201 extern int DPMSDisable(Display *); 4202 extern int DPMSEnable(Display *); 4203 extern int DPMSForceLevel(Display *, CARD16); 4204 extern int DPMSGetTimeouts(Display *, CARD16 *, CARD16 *, CARD16 *); 4205 extern int DPMSGetVersion(Display *, int *, int *); 4206 extern int DPMSInfo(Display *, CARD16 *, BOOL *); 4207 extern int DPMSQueryExtension(Display *, int *, int *); 4208 extern int DPMSSetTimeouts(Display *, CARD16, CARD16, CARD16); 4209 _________________________________________________________ 4210 4211 6.12.6. X11/extensions/security.h 4212 4213 typedef unsigned long int XSecurityAuthorization; 4214 typedef struct { 4215 unsigned int timeout; 4216 unsigned int trust_level; 4217 XID group; 4218 long int event_mask; 4219 } XSecurityAuthorizationAttributes; 4220 extern Xauth *XSecurityAllocXauth(void); 4221 extern void XSecurityFreeXauth(Xauth *); 4222 extern Xauth *XSecurityGenerateAuthorization(Display *, Xauth *, 4223 unsigned long int, 4224 XSecurityAuthorizationAttributes 4225 *, XSecurityAuthorization*); 4226 extern int XSecurityQueryExtension(Display *, int *, int *); 4227 extern int XSecurityRevokeAuthorization(Display *, XSecurityAuthorization); 4228 _________________________________________________________ 4229 4230 6.12.7. X11/extensions/shape.h 4231 4232 extern void XShapeCombineMask(Display *, Window, int, int, int, Pixmap, 4233 int); 4234 extern void XShapeCombineRectangles(Display *, Window, int, int, int, 4235 XRectangle *, int, int, int); 4236 extern void XShapeCombineRegion(Display *, Window, int, int, int, Region, 4237 int); 4238 extern void XShapeCombineShape(Display *, Window, int, int, int, Window, 4239 int, int); 4240 extern XRectangle *XShapeGetRectangles(Display *, Window, int, int *, 4241 int *); 4242 extern unsigned long int XShapeInputSelected(Display *, Window); 4243 extern void XShapeOffsetShape(Display *, Window, int, int, int); 4244 extern int XShapeQueryExtension(Display *, int *, int *); 4245 extern int XShapeQueryExtents(Display *, Window, int *, int *, int *, 4246 unsigned int *, unsigned int *, int *, int *, 4247 int *, unsigned int *, unsigned int *); 4248 extern int XShapeQueryVersion(Display *, int *, int *); 4249 extern void XShapeSelectInput(Display *, Window, unsigned long int); 4250 _________________________________________________________ 4251 4252 6.12.8. X11/extensions/sync.h 4253 4254 typedef struct _XSyncSystemCounter { 4255 char *name; 4256 XSyncCounter counter; 4257 XSyncValue resolution; 4258 } XSyncSystemCounter; 4259 typedef struct { 4260 XSyncCounter counter; 4261 XSyncValueType value_type; 4262 XSyncValue wait_value; 4263 XSyncTestType test_type; 4264 } XSyncTrigger; 4265 typedef struct { 4266 XSyncTrigger trigger; 4267 XSyncValue event_threshold; 4268 } XSyncWaitCondition; 4269 typedef struct { 4270 XSyncTrigger trigger; 4271 XSyncValue delta; 4272 int events; 4273 XSyncAlarmState state; 4274 } XSyncAlarmAttributes; 4275 4276 typedef XID XSyncCounter; 4277 typedef XID XSyncAlarm; 4278 typedef struct _XSyncValue { 4279 int hi; 4280 unsigned int lo; 4281 } XSyncValue; 4282 typedef enum { 4283 XSyncAbsolute, 4284 XSyncRelative 4285 } XSyncValueType; 4286 typedef enum { 4287 XSyncPositiveTransition, 4288 XSyncNegativeTransition, 4289 XSyncPositiveComparison, 4290 XSyncNegativeComparison 4291 } XSyncTestType; 4292 typedef enum { 4293 XSyncAlarmActive, 4294 XSyncAlarmInactive, 4295 XSyncAlarmDestroyed 4296 } XSyncAlarmState; 4297 extern int XSyncAwait(Display *, XSyncWaitCondition *, int); 4298 extern int XSyncChangeAlarm(Display *, XSyncAlarm, unsigned long int, 4299 XSyncAlarmAttributes *); 4300 extern int XSyncChangeCounter(Display *, XSyncCounter, XSyncValue); 4301 extern XSyncAlarm XSyncCreateAlarm(Display *, unsigned long int, 4302 XSyncAlarmAttributes *); 4303 extern XSyncCounter XSyncCreateCounter(Display *, XSyncValue); 4304 extern int XSyncDestroyAlarm(Display *, XSyncAlarm); 4305 extern int XSyncDestroyCounter(Display *, XSyncCounter); 4306 extern void XSyncFreeSystemCounterList(XSyncSystemCounter *); 4307 extern int XSyncGetPriority(Display *, XID, int *); 4308 extern int XSyncInitialize(Display *, int *, int *); 4309 extern void XSyncIntToValue(XSyncValue *, int); 4310 extern void XSyncIntsToValue(XSyncValue *, unsigned int, int); 4311 extern XSyncSystemCounter *XSyncListSystemCounters(Display *, int *); 4312 extern void XSyncMaxValue(XSyncValue *); 4313 extern void XSyncMinValue(XSyncValue *); 4314 extern int XSyncQueryAlarm(Display *, XSyncAlarm, XSyncAlarmAttributes*); 4315 extern int XSyncQueryCounter(Display *, XSyncCounter, XSyncValue *); 4316 extern int XSyncQueryExtension(Display *, int *, int *); 4317 extern int XSyncSetCounter(Display *, XSyncCounter, XSyncValue); 4318 extern int XSyncSetPriority(Display *, XID, int); 4319 extern void XSyncValueAdd(XSyncValue *, XSyncValue, XSyncValue, int *); 4320 extern int XSyncValueEqual(XSyncValue, XSyncValue); 4321 extern int XSyncValueGreaterOrEqual(XSyncValue, XSyncValue); 4322 extern int XSyncValueGreaterThan(XSyncValue, XSyncValue); 4323 extern int XSyncValueHigh32(XSyncValue); 4324 extern int XSyncValueIsNegative(XSyncValue); 4325 extern int XSyncValueIsPositive(XSyncValue); 4326 extern int XSyncValueIsZero(XSyncValue); 4327 extern int XSyncValueLessOrEqual(XSyncValue, XSyncValue); 4328 extern int XSyncValueLessThan(XSyncValue, XSyncValue); 4329 extern unsigned int XSyncValueLow32(XSyncValue); 4330 extern void XSyncValueSubtract(XSyncValue *, XSyncValue, XSyncValue, 4331 int *); 4332 _________________________________________________________ 4333 4334 6.13. Interfaces for libXi 4335 4336 Table 6-18 defines the library name and shared object name for 4337 the libXi library 4338 4339 Table 6-18. libXi Definition 4340 Library: libXi 4341 SONAME: libXi.so.6 4342 4343 The behavior of the interfaces in this library is specified by 4344 the following specifications: 4345 4346 [XINPUT] X11 Input Library 4347 _________________________________________________________ 4348 4349 6.13.1. XInput 4350 _________________________________________________________ 4351 4352 6.13.1.1. Interfaces for XInput 4353 4354 An LSB conforming implementation shall provide the generic 4355 functions for XInput specified in Table 6-19, with the full 4356 mandatory functionality as described in the referenced 4357 underlying specification. 4358 4359 Table 6-19. libXi - XInput Function Interfaces 4360 XAllowDeviceEvents [XINPUT] XChangeDeviceControl [XINPUT] 4361 XChangeDeviceDontPropagateList [XINPUT] 4362 XChangeDeviceKeyMapping [XINPUT] 4363 XChangeFeedbackControl [XINPUT] XChangeKeyboardDevice [XINPUT] 4364 XChangePointerDevice [XINPUT] XCloseDevice [XINPUT] 4365 XDeviceBell [XINPUT] XFreeDeviceControl [XINPUT] 4366 XFreeDeviceList [XINPUT] XFreeDeviceMotionEvents [XINPUT] 4367 XFreeDeviceState [XINPUT] XFreeFeedbackList [XINPUT] 4368 XGetDeviceButtonMapping [XINPUT] XGetDeviceControl [XINPUT] 4369 XGetDeviceDontPropagateList [XINPUT] XGetDeviceFocus [XINPUT] 4370 XGetDeviceKeyMapping [XINPUT] XGetDeviceModifierMapping 4371 [XINPUT] 4372 XGetDeviceMotionEvents [XINPUT] XGetExtensionVersion [XINPUT] 4373 XGetFeedbackControl [XINPUT] XGetSelectedExtensionEvents 4374 [XINPUT] 4375 XGrabDevice [XINPUT] XGrabDeviceButton [XINPUT] XGrabDeviceKey 4376 [XINPUT] XInput_find_display [XINPUT] 4377 XListInputDevices [XINPUT] XOpenDevice [XINPUT] 4378 XQueryDeviceState [XINPUT] XSelectExtensionEvent [XINPUT] 4379 XSendExtensionEvent [XINPUT] XSetDeviceButtonMapping [XINPUT] 4380 XSetDeviceFocus [XINPUT] XSetDeviceMode [XINPUT] 4381 XSetDeviceModifierMapping [XINPUT] XSetDeviceValuators 4382 [XINPUT] XUngrabDevice [XINPUT] XUngrabDeviceButton [XINPUT] 4383 XUngrabDeviceKey [XINPUT] 4384 4385 III. OpenGL Libraries 4386 4387 Table of Contents 4388 7. Libraries 4389 4390 7.1. Interfaces for libGL 4391 4392 7.1.1. GL X interface 4393 7.1.2. OpenGL 4394 4395 7.2. Data Definitions for libGL 4396 4397 7.2.1. GL/gl.h 4398 7.2.2. GL/glx.h 4399 _________________________________________________________ 4400 4401 Chapter 7. Libraries 4402 4403 7.1. Interfaces for libGL 4404 4405 Table 7-1 defines the library name and shared object name for 4406 the libGL library 4407 4408 Table 7-1. libGL Definition 4409 Library: libGL 4410 SONAME: libGL.so.1 4411 4412 The behavior of the interfaces in this library is specified by 4413 the following specifications: 4414 4415 [OGL] OpenGL 4416 _________________________________________________________ 4417 4418 7.1.1. GL X interface 4419 _________________________________________________________ 4420 4421 7.1.1.1. Interfaces for GL X interface 4422 4423 An LSB conforming implementation shall provide the generic 4424 functions for GL X interface specified in Table 7-2, with the 4425 full mandatory functionality as described in the referenced 4426 underlying specification. 4427 4428 Table 7-2. libGL - GL X interface Function Interfaces 4429 glXChooseVisual [OGL] glXCopyContext [OGL] glXCreateContext 4430 [OGL] glXCreateGLXPixmap [OGL] 4431 glXCreateNewContext [OGL] glXCreatePbuffer [OGL] 4432 glXCreatePixmap [OGL] glXCreateWindow [OGL] 4433 glXDestroyContext [OGL] glXDestroyGLXPixmap [OGL] 4434 glXDestroyPbuffer [OGL] glXDestroyPixmap [OGL] 4435 glXDestroyWindow [OGL] glXFreeContextEXT [OGL] 4436 glXGetClientString [OGL] glXGetConfig [OGL] 4437 glXGetContextIDEXT [OGL] glXGetCurrentContext [OGL] 4438 glXGetCurrentDisplay [OGL] glXGetCurrentDrawable [OGL] 4439 glXGetCurrentReadDrawable [OGL] glXGetFBConfigAttrib [OGL] 4440 glXGetProcAddressARB [OGL] glXGetSelectedEvent [OGL] 4441 glXGetVisualFromFBConfig [OGL] glXImportContextEXT [OGL] 4442 glXIsDirect [OGL] glXMakeContextCurrent [OGL] 4443 glXMakeCurrent [OGL] glXQueryContext [OGL] 4444 glXQueryContextInfoEXT [OGL] glXQueryDrawable [OGL] 4445 glXQueryExtension [OGL] glXQueryExtensionsString [OGL] 4446 glXQueryServerString [OGL] glXQueryVersion [OGL] 4447 glXSelectEvent [OGL] glXSwapBuffers [OGL] glXUseXFont [OGL] 4448 glXWaitGL [OGL] 4449 glXWaitX [OGL] 4450 _________________________________________________________ 4451 4452 7.1.2. OpenGL 4453 _________________________________________________________ 4454 4455 7.1.2.1. Interfaces for OpenGL 4456 4457 An LSB conforming implementation shall provide the generic 4458 functions for OpenGL specified in Table 7-3, with the full 4459 mandatory functionality as described in the referenced 4460 underlying specification. 4461 4462 Table 7-3. libGL - OpenGL Function Interfaces 4463 glAccum [OGL] glActiveTextureARB [OGL] glAlphaFunc [OGL] 4464 glAreTexturesResident [OGL] 4465 glArrayElement [OGL] glBegin [OGL] glBindTexture [OGL] 4466 glBitmap [OGL] 4467 glBlendColor [OGL] glBlendEquation [OGL] glBlendFunc [OGL] 4468 glCallList [OGL] 4469 glCallLists [OGL] glClear [OGL] glClearAccum [OGL] 4470 glClearColor [OGL] 4471 glClearDepth [OGL] glClearIndex [OGL] glClearStencil [OGL] 4472 glClientActiveTextureARB [OGL] 4473 glClipPlane [OGL] glColor3b [OGL] glColor3bv [OGL] glColor3d 4474 [OGL] 4475 glColor3dv [OGL] glColor3f [OGL] glColor3fv [OGL] glColor3i 4476 [OGL] 4477 glColor3iv [OGL] glColor3s [OGL] glColor3sv [OGL] glColor3ub 4478 [OGL] 4479 glColor3ubv [OGL] glColor3ui [OGL] glColor3uiv [OGL] 4480 glColor3us [OGL] 4481 glColor3usv [OGL] glColor4b [OGL] glColor4bv [OGL] glColor4d 4482 [OGL] 4483 glColor4dv [OGL] glColor4f [OGL] glColor4fv [OGL] glColor4i 4484 [OGL] 4485 glColor4iv [OGL] glColor4s [OGL] glColor4sv [OGL] glColor4ub 4486 [OGL] 4487 glColor4ubv [OGL] glColor4ui [OGL] glColor4uiv [OGL] 4488 glColor4us [OGL] 4489 glColor4usv [OGL] glColorMask [OGL] glColorMaterial [OGL] 4490 glColorPointer [OGL] 4491 glColorSubTable [OGL] glColorTable [OGL] 4492 glColorTableParameterfv [OGL] glColorTableParameteriv [OGL] 4493 glConvolutionFilter1D [OGL] glConvolutionFilter2D [OGL] 4494 glConvolutionParameterf [OGL] glConvolutionParameterfv [OGL] 4495 glConvolutionParameteri [OGL] glConvolutionParameteriv [OGL] 4496 glCopyColorSubTable [OGL] glCopyColorTable [OGL] 4497 glCopyConvolutionFilter1D [OGL] glCopyConvolutionFilter2D 4498 [OGL] glCopyPixels [OGL] glCopyTexImage1D [OGL] 4499 glCopyTexImage2D [OGL] glCopyTexSubImage1D [OGL] 4500 glCopyTexSubImage2D [OGL] glCopyTexSubImage3D [OGL] 4501 glCullFace [OGL] glDeleteLists [OGL] glDeleteTextures [OGL] 4502 glDepthFunc [OGL] 4503 glDepthMask [OGL] glDepthRange [OGL] glDisable [OGL] 4504 glDisableClientState [OGL] 4505 glDrawArrays [OGL] glDrawBuffer [OGL] glDrawElements [OGL] 4506 glDrawPixels [OGL] 4507 glDrawRangeElements [OGL] glEdgeFlag [OGL] glEdgeFlagPointer 4508 [OGL] glEdgeFlagv [OGL] 4509 glEnable [OGL] glEnableClientState [OGL] glEnd [OGL] glEndList 4510 [OGL] 4511 glEvalCoord1d [OGL] glEvalCoord1dv [OGL] glEvalCoord1f [OGL] 4512 glEvalCoord1fv [OGL] 4513 glEvalCoord2d [OGL] glEvalCoord2dv [OGL] glEvalCoord2f [OGL] 4514 glEvalCoord2fv [OGL] 4515 glEvalMesh1 [OGL] glEvalMesh2 [OGL] glEvalPoint1 [OGL] 4516 glEvalPoint2 [OGL] 4517 glFeedbackBuffer [OGL] glFinish [OGL] glFlush [OGL] glFogf 4518 [OGL] 4519 glFogfv [OGL] glFogi [OGL] glFogiv [OGL] glFrontFace [OGL] 4520 glFrustum [OGL] glGenLists [OGL] glGenTextures [OGL] 4521 glGetBooleanv [OGL] 4522 glGetClipPlane [OGL] glGetColorTable [OGL] 4523 glGetColorTableParameterfv [OGL] glGetColorTableParameteriv 4524 [OGL] 4525 glGetConvolutionFilter [OGL] glGetConvolutionParameterfv [OGL] 4526 glGetConvolutionParameteriv [OGL] glGetDoublev [OGL] 4527 glGetError [OGL] glGetFloatv [OGL] glGetHistogram [OGL] 4528 glGetHistogramParameterfv [OGL] 4529 glGetHistogramParameteriv [OGL] glGetIntegerv [OGL] 4530 glGetLightfv [OGL] glGetLightiv [OGL] 4531 glGetMapdv [OGL] glGetMapfv [OGL] glGetMapiv [OGL] 4532 glGetMaterialfv [OGL] 4533 glGetMaterialiv [OGL] glGetMinmax [OGL] glGetMinmaxParameterfv 4534 [OGL] glGetMinmaxParameteriv [OGL] 4535 glGetPixelMapfv [OGL] glGetPixelMapuiv [OGL] glGetPixelMapusv 4536 [OGL] glGetPointerv [OGL] 4537 glGetPolygonStipple [OGL] glGetSeparableFilter [OGL] 4538 glGetString [OGL] glGetTexEnvfv [OGL] 4539 glGetTexEnviv [OGL] glGetTexGendv [OGL] glGetTexGenfv [OGL] 4540 glGetTexGeniv [OGL] 4541 glGetTexImage [OGL] glGetTexLevelParameterfv [OGL] 4542 glGetTexLevelParameteriv [OGL] glGetTexParameterfv [OGL] 4543 glGetTexParameteriv [OGL] glHint [OGL] glHistogram [OGL] 4544 glIndexMask [OGL] 4545 glIndexPointer [OGL] glIndexd [OGL] glIndexdv [OGL] glIndexf 4546 [OGL] 4547 glIndexfv [OGL] glIndexi [OGL] glIndexiv [OGL] glIndexs [OGL] 4548 glIndexsv [OGL] glIndexub [OGL] glIndexubv [OGL] glInitNames 4549 [OGL] 4550 glInterleavedArrays [OGL] glIsEnabled [OGL] glIsList [OGL] 4551 glIsTexture [OGL] 4552 glLightModelf [OGL] glLightModelfv [OGL] glLightModeli [OGL] 4553 glLightModeliv [OGL] 4554 glLightf [OGL] glLightfv [OGL] glLighti [OGL] glLightiv [OGL] 4555 glLineStipple [OGL] glLineWidth [OGL] glListBase [OGL] 4556 glLoadIdentity [OGL] 4557 glLoadMatrixd [OGL] glLoadMatrixf [OGL] glLoadName [OGL] 4558 glLogicOp [OGL] 4559 glMap1d [OGL] glMap1f [OGL] glMap2d [OGL] glMap2f [OGL] 4560 glMapGrid1d [OGL] glMapGrid1f [OGL] glMapGrid2d [OGL] 4561 glMapGrid2f [OGL] 4562 glMaterialf [OGL] glMaterialfv [OGL] glMateriali [OGL] 4563 glMaterialiv [OGL] 4564 glMatrixMode [OGL] glMinmax [OGL] glMultMatrixd [OGL] 4565 glMultMatrixf [OGL] 4566 glMultiTexCoord1dARB [OGL] glMultiTexCoord1dvARB [OGL] 4567 glMultiTexCoord1fARB [OGL] glMultiTexCoord1fvARB [OGL] 4568 glMultiTexCoord1iARB [OGL] glMultiTexCoord1ivARB [OGL] 4569 glMultiTexCoord1sARB [OGL] glMultiTexCoord1svARB [OGL] 4570 glMultiTexCoord2dARB [OGL] glMultiTexCoord2dvARB [OGL] 4571 glMultiTexCoord2fARB [OGL] glMultiTexCoord2fvARB [OGL] 4572 glMultiTexCoord2iARB [OGL] glMultiTexCoord2ivARB [OGL] 4573 glMultiTexCoord2sARB [OGL] glMultiTexCoord2svARB [OGL] 4574 glMultiTexCoord3dARB [OGL] glMultiTexCoord3dvARB [OGL] 4575 glMultiTexCoord3fARB [OGL] glMultiTexCoord3fvARB [OGL] 4576 glMultiTexCoord3iARB [OGL] glMultiTexCoord3ivARB [OGL] 4577 glMultiTexCoord3sARB [OGL] glMultiTexCoord3svARB [OGL] 4578 glMultiTexCoord4dARB [OGL] glMultiTexCoord4dvARB [OGL] 4579 glMultiTexCoord4fARB [OGL] glMultiTexCoord4fvARB [OGL] 4580 glMultiTexCoord4iARB [OGL] glMultiTexCoord4ivARB [OGL] 4581 glMultiTexCoord4sARB [OGL] glMultiTexCoord4svARB [OGL] 4582 glNewList [OGL] glNormal3b [OGL] glNormal3bv [OGL] glNormal3d 4583 [OGL] 4584 glNormal3dv [OGL] glNormal3f [OGL] glNormal3fv [OGL] 4585 glNormal3i [OGL] 4586 glNormal3iv [OGL] glNormal3s [OGL] glNormal3sv [OGL] 4587 glNormalPointer [OGL] 4588 glOrtho [OGL] glPassThrough [OGL] glPixelMapfv [OGL] 4589 glPixelMapuiv [OGL] 4590 glPixelMapusv [OGL] glPixelStoref [OGL] glPixelStorei [OGL] 4591 glPixelTransferf [OGL] 4592 glPixelTransferi [OGL] glPixelZoom [OGL] glPointSize [OGL] 4593 glPolygonMode [OGL] 4594 glPolygonOffset [OGL] glPolygonStipple [OGL] glPopAttrib [OGL] 4595 glPopClientAttrib [OGL] 4596 glPopMatrix [OGL] glPopName [OGL] glPrioritizeTextures [OGL] 4597 glPushAttrib [OGL] 4598 glPushClientAttrib [OGL] glPushMatrix [OGL] glPushName [OGL] 4599 glRasterPos2d [OGL] 4600 glRasterPos2dv [OGL] glRasterPos2f [OGL] glRasterPos2fv [OGL] 4601 glRasterPos2i [OGL] 4602 glRasterPos2iv [OGL] glRasterPos2s [OGL] glRasterPos2sv [OGL] 4603 glRasterPos3d [OGL] 4604 glRasterPos3dv [OGL] glRasterPos3f [OGL] glRasterPos3fv [OGL] 4605 glRasterPos3i [OGL] 4606 glRasterPos3iv [OGL] glRasterPos3s [OGL] glRasterPos3sv [OGL] 4607 glRasterPos4d [OGL] 4608 glRasterPos4dv [OGL] glRasterPos4f [OGL] glRasterPos4fv [OGL] 4609 glRasterPos4i [OGL] 4610 glRasterPos4iv [OGL] glRasterPos4s [OGL] glRasterPos4sv [OGL] 4611 glReadBuffer [OGL] 4612 glReadPixels [OGL] glRectd [OGL] glRectdv [OGL] glRectf [OGL] 4613 glRectfv [OGL] glRecti [OGL] glRectiv [OGL] glRects [OGL] 4614 glRectsv [OGL] glRenderMode [OGL] glResetHistogram [OGL] 4615 glResetMinmax [OGL] 4616 glRotated [OGL] glRotatef [OGL] glScaled [OGL] glScalef [OGL] 4617 glScissor [OGL] glSelectBuffer [OGL] glSeparableFilter2D [OGL] 4618 glShadeModel [OGL] 4619 glStencilFunc [OGL] glStencilMask [OGL] glStencilOp [OGL] 4620 glTexCoord1d [OGL] 4621 glTexCoord1dv [OGL] glTexCoord1f [OGL] glTexCoord1fv [OGL] 4622 glTexCoord1i [OGL] 4623 glTexCoord1iv [OGL] glTexCoord1s [OGL] glTexCoord1sv [OGL] 4624 glTexCoord2d [OGL] 4625 glTexCoord2dv [OGL] glTexCoord2f [OGL] glTexCoord2fv [OGL] 4626 glTexCoord2i [OGL] 4627 glTexCoord2iv [OGL] glTexCoord2s [OGL] glTexCoord2sv [OGL] 4628 glTexCoord3d [OGL] 4629 glTexCoord3dv [OGL] glTexCoord3f [OGL] glTexCoord3fv [OGL] 4630 glTexCoord3i [OGL] 4631 glTexCoord3iv [OGL] glTexCoord3s [OGL] glTexCoord3sv [OGL] 4632 glTexCoord4d [OGL] 4633 glTexCoord4dv [OGL] glTexCoord4f [OGL] glTexCoord4fv [OGL] 4634 glTexCoord4i [OGL] 4635 glTexCoord4iv [OGL] glTexCoord4s [OGL] glTexCoord4sv [OGL] 4636 glTexCoordPointer [OGL] 4637 glTexEnvf [OGL] glTexEnvfv [OGL] glTexEnvi [OGL] glTexEnviv 4638 [OGL] 4639 glTexGend [OGL] glTexGendv [OGL] glTexGenf [OGL] glTexGenfv 4640 [OGL] 4641 glTexGeni [OGL] glTexGeniv [OGL] glTexImage1D [OGL] 4642 glTexImage2D [OGL] 4643 glTexImage3D [OGL] glTexParameterf [OGL] glTexParameterfv 4644 [OGL] glTexParameteri [OGL] 4645 glTexParameteriv [OGL] glTexSubImage1D [OGL] glTexSubImage2D 4646 [OGL] glTexSubImage3D [OGL] 4647 glTranslated [OGL] glTranslatef [OGL] glVertex2d [OGL] 4648 glVertex2dv [OGL] 4649 glVertex2f [OGL] glVertex2fv [OGL] glVertex2i [OGL] 4650 glVertex2iv [OGL] 4651 glVertex2s [OGL] glVertex2sv [OGL] glVertex3d [OGL] 4652 glVertex3dv [OGL] 4653 glVertex3f [OGL] glVertex3fv [OGL] glVertex3i [OGL] 4654 glVertex3iv [OGL] 4655 glVertex3s [OGL] glVertex3sv [OGL] glVertex4d [OGL] 4656 glVertex4dv [OGL] 4657 glVertex4f [OGL] glVertex4fv [OGL] glVertex4i [OGL] 4658 glVertex4iv [OGL] 4659 glVertex4s [OGL] glVertex4sv [OGL] glVertexPointer [OGL] 4660 glViewport [OGL] 4661 glXChooseFBConfig [OGL] 4662 _________________________________________________________ 4663 4664 7.2. Data Definitions for libGL 4665 4666 This section defines global identifiers and their values that 4667 are associated with interfaces contained in libGL. These 4668 definitions are organized into groups that correspond to 4669 system headers. This convention is used as a convenience for 4670 the reader, and does not imply the existence of these headers, 4671 or their content. Where an interface is defined as requiring a 4672 particular system header file all of the data definitions for 4673 that system header file presented here shall be in effect. 4674 4675 This section gives data definitions to promote binary 4676 application portability, not to repeat source interface 4677 definitions available elsewhere. System providers and 4678 application developers should use this ABI to supplement - not 4679 to replace - source interface definition specifications. 4680 4681 This specification uses the ISO C (1999) C Language as the 4682 reference programming language, and data definitions are 4683 specified in ISO C format. The C language is used here as a 4684 convenient notation. Using a C language description of these 4685 data objects does not preclude their use by other programming 4686 languages. 4687 _________________________________________________________ 4688 4689 7.2.1. GL/gl.h 4690 4691 typedef unsigned int GLenum; 4692 typedef unsigned char GLboolean; 4693 typedef unsigned int GLbitfield; 4694 typedef void GLvoid; 4695 typedef char GLbyte; 4696 typedef short GLshort; 4697 typedef int GLint; 4698 typedef unsigned char GLubyte; 4699 typedef unsigned short GLushort; 4700 typedef unsigned int GLuint; 4701 typedef int GLsizei; 4702 typedef float GLfloat; 4703 typedef float GLclampf; 4704 typedef double GLdouble; 4705 typedef double GLclampd; 4706 4707 #define GL_UNSIGNED_BYTE 0x1401 4708 #define GL_SHORT 0x1402 4709 #define GL_UNSIGNED_SHORT 0x1403 4710 #define GL_INT 0x1404 4711 #define GL_UNSIGNED_INT 0x1405 4712 #define GL_FLOAT 0x1406 4713 #define GL_2_BYTES 0x1407 4714 #define GL_3_BYTES 0x1408 4715 #define GL_4_BYTES 0x1409 4716 #define GL_DOUBLE 0x140A 4717 4718 #define GL_POINTS 0x0000 4719 #define GL_LINES 0x0001 4720 #define GL_LINE_LOOP 0x0002 4721 #define GL_LINE_STRIP 0x0003 4722 #define GL_TRIANGLES 0x0004 4723 #define GL_TRIANGLE_STRIP 0x0005 4724 #define GL_TRIANGLE_FAN 0x0006 4725 #define GL_QUADS 0x0007 4726 #define GL_QUAD_STRIP 0x0008 4727 #define GL_POLYGON 0x0009 4728 4729 #define GL_V2F 0x2A20 4730 #define GL_V3F 0x2A21 4731 #define GL_C4UB_V2F 0x2A22 4732 #define GL_C4UB_V3F 0x2A23 4733 #define GL_C3F_V3F 0x2A24 4734 #define GL_N3F_V3F 0x2A25 4735 #define GL_C4F_N3F_V3F 0x2A26 4736 #define GL_T2F_V3F 0x2A27 4737 #define GL_T4F_V4F 0x2A28 4738 #define GL_T2F_C4UB_V3F 0x2A29 4739 #define GL_T2F_C3F_V3F 0x2A2A 4740 #define GL_T2F_N3F_V3F 0x2A2B 4741 #define GL_T2F_C4F_N3F_V3F 0x2A2C 4742 #define GL_T4F_C4F_N3F_V4F 0x2A2D 4743 #define GL_VERTEX_ARRAY 0x8074 4744 #define GL_NORMAL_ARRAY 0x8075 4745 #define GL_COLOR_ARRAY 0x8076 4746 #define GL_INDEX_ARRAY 0x8077 4747 #define GL_TEXTURE_COORD_ARRAY 0x8078 4748 #define GL_EDGE_FLAG_ARRAY 0x8079 4749 #define GL_VERTEX_ARRAY_SIZE 0x807A 4750 #define GL_VERTEX_ARRAY_TYPE 0x807B 4751 #define GL_VERTEX_ARRAY_STRIDE 0x807C 4752 #define GL_NORMAL_ARRAY_TYPE 0x807E 4753 #define GL_NORMAL_ARRAY_STRIDE 0x807F 4754 #define GL_COLOR_ARRAY_SIZE 0x8081 4755 #define GL_COLOR_ARRAY_TYPE 0x8082 4756 #define GL_COLOR_ARRAY_STRIDE 0x8083 4757 #define GL_INDEX_ARRAY_TYPE 0x8085 4758 #define GL_INDEX_ARRAY_STRIDE 0x8086 4759 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 4760 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 4761 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A 4762 #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C 4763 #define GL_VERTEX_ARRAY_POINTER 0x808E 4764 #define GL_NORMAL_ARRAY_POINTER 0x808F 4765 #define GL_COLOR_ARRAY_POINTER 0x8090 4766 #define GL_INDEX_ARRAY_POINTER 0x8091 4767 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 4768 4769 #define GL_MATRIX_MODE 0x0BA0 4770 #define GL_MODELVIEW 0x1700 4771 #define GL_PROJECTION 0x1701 4772 #define GL_TEXTURE 0x1702 4773 4774 extern void glAccum(GLenum, GLfloat); 4775 extern void glAlphaFunc(GLenum, GLclampf); 4776 extern GLboolean glAreTexturesResident(GLsizei, GLuint *, GLboolean *); 4777 extern void glArrayElement(GLint); 4778 extern void glBegin(GLenum); 4779 extern void glBindTexture(GLenum, GLuint); 4780 extern void glBitmap(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, 4781 GLubyte *); 4782 extern void glBlendFunc(GLenum, GLenum); 4783 extern void glCallList(GLuint); 4784 extern void glCallLists(GLsizei, GLenum, GLvoid *); 4785 extern void glClear(GLbitfield); 4786 extern void glClearAccum(GLfloat, GLfloat, GLfloat, GLfloat); 4787 extern void glClearColor(GLclampf, GLclampf, GLclampf, GLclampf); 4788 extern void glClearDepth(GLclampd); 4789 extern void glClearIndex(GLfloat); 4790 extern void glClearStencil(GLint); 4791 extern void glClipPlane(GLenum, GLdouble *); 4792 extern void glColor3b(GLbyte, GLbyte, GLbyte); 4793 extern void glColor3bv(GLbyte *); 4794 extern void glColor3d(GLdouble, GLdouble, GLdouble); 4795 extern void glColor3dv(GLdouble *); 4796 extern void glColor3f(GLfloat, GLfloat, GLfloat); 4797 extern void glColor3fv(GLfloat *); 4798 extern void glColor3i(GLint, GLint, GLint); 4799 extern void glColor3iv(GLint *); 4800 extern void glColor3s(GLshort, GLshort, GLshort); 4801 extern void glColor3sv(GLshort *); 4802 extern void glColor3ub(GLubyte, GLubyte, GLubyte); 4803 extern void glColor3ubv(GLubyte *); 4804 extern void glColor3ui(GLuint, GLuint, GLuint); 4805 extern void glColor3uiv(GLuint *); 4806 extern void glColor3us(GLushort, GLushort, GLushort); 4807 extern void glColor3usv(GLushort *); 4808 extern void glColor4b(GLbyte, GLbyte, GLbyte, GLbyte); 4809 extern void glColor4bv(GLbyte *); 4810 extern void glColor4d(GLdouble, GLdouble, GLdouble, GLdouble); 4811 extern void glColor4dv(GLdouble *); 4812 extern void glColor4f(GLfloat, GLfloat, GLfloat, GLfloat); 4813 extern void glColor4fv(GLfloat *); 4814 extern void glColor4i(GLint, GLint, GLint, GLint); 4815 extern void glColor4iv(GLint *); 4816 extern void glColor4s(GLshort, GLshort, GLshort, GLshort); 4817 extern void glColor4sv(GLshort *); 4818 extern void glColor4ub(GLubyte, GLubyte, GLubyte, GLubyte); 4819 extern void glColor4ubv(GLubyte *); 4820 extern void glColor4ui(GLuint, GLuint, GLuint, GLuint); 4821 extern void glColor4uiv(GLuint *); 4822 extern void glColor4us(GLushort, GLushort, GLushort, GLushort); 4823 extern void glColor4usv(GLushort *); 4824 extern void glColorMask(GLboolean, GLboolean, GLboolean, GLboolean); 4825 extern void glColorMaterial(GLenum, GLenum); 4826 extern void glColorPointer(GLint, GLenum, GLsizei, GLvoid *); 4827 extern void glCopyPixels(GLint, GLint, GLsizei, GLsizei, GLenum); 4828 extern void glCopyTexImage1D(GLenum, GLint, GLenum, GLint, GLint, GLsizei, 4829 GLint); 4830 extern void glCopyTexImage2D(GLenum, GLint, GLenum, GLint, GLint, GLsizei, 4831 GLsizei, GLint); 4832 extern void glCopyTexSubImage1D(GLenum, GLint, GLint, GLint, GLint, 4833 GLsizei); 4834 extern void glCopyTexSubImage2D(GLenum, GLint, GLint, GLint, GLint, GLint, 4835 GLsizei, GLsizei); 4836 extern void glCullFace(GLenum); 4837 extern void glDeleteLists(GLuint, GLsizei); 4838 extern void glDeleteTextures(GLsizei, GLuint *); 4839 extern void glDepthFunc(GLenum); 4840 extern void glDepthMask(GLboolean); 4841 extern void glDepthRange(GLclampd, GLclampd); 4842 extern void glDisable(GLenum); 4843 extern void glDisableClientState(GLenum); 4844 extern void glDrawArrays(GLenum, GLint, GLsizei); 4845 extern void glDrawBuffer(GLenum); 4846 extern void glDrawElements(GLenum, GLsizei, GLenum, GLvoid *); 4847 extern void glDrawPixels(GLsizei, GLsizei, GLenum, GLenum, GLvoid *); 4848 extern void glEdgeFlag(GLboolean); 4849 extern void glEdgeFlagPointer(GLsizei, GLvoid *); 4850 extern void glEdgeFlagv(GLboolean *); 4851 extern void glEnable(GLenum); 4852 extern void glEnableClientState(GLenum); 4853 extern void glEnd(void); 4854 extern void glEndList(void); 4855 extern void glEvalCoord1d(GLdouble); 4856 extern void glEvalCoord1dv(GLdouble *); 4857 extern void glEvalCoord1f(GLfloat); 4858 extern void glEvalCoord1fv(GLfloat *); 4859 extern void glEvalCoord2d(GLdouble, GLdouble); 4860 extern void glEvalCoord2dv(GLdouble *); 4861 extern void glEvalCoord2f(GLfloat, GLfloat); 4862 extern void glEvalCoord2fv(GLfloat *); 4863 extern void glEvalMesh1(GLenum, GLint, GLint); 4864 extern void glEvalMesh2(GLenum, GLint, GLint, GLint, GLint); 4865 extern void glEvalPoint1(GLint); 4866 extern void glEvalPoint2(GLint, GLint); 4867 extern void glFeedbackBuffer(GLsizei, GLenum, GLfloat *); 4868 extern void glFinish(void); 4869 extern void glFlush(void); 4870 extern void glFogf(GLenum, GLfloat); 4871 extern void glFogfv(GLenum, GLfloat *); 4872 extern void glFogi(GLenum, GLint); 4873 extern void glFogiv(GLenum, GLint *); 4874 extern void glFrontFace(GLenum); 4875 extern void glFrustum(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, 4876 GLdouble); 4877 extern GLuint glGenLists(GLsizei); 4878 extern void glGenTextures(GLsizei, GLuint *); 4879 extern void glGetBooleanv(GLenum, GLboolean *); 4880 extern void glGetClipPlane(GLenum, GLdouble *); 4881 extern void glGetDoublev(GLenum, GLdouble *); 4882 extern GLenum glGetError(void); 4883 extern void glGetFloatv(GLenum, GLfloat *); 4884 extern void glGetIntegerv(GLenum, GLint *); 4885 extern void glGetLightfv(GLenum, GLenum, GLfloat *); 4886 extern void glGetLightiv(GLenum, GLenum, GLint *); 4887 extern void glGetMapdv(GLenum, GLenum, GLdouble *); 4888 extern void glGetMapfv(GLenum, GLenum, GLfloat *); 4889 extern void glGetMapiv(GLenum, GLenum, GLint *); 4890 extern void glGetMaterialfv(GLenum, GLenum, GLfloat *); 4891 extern void glGetMaterialiv(GLenum, GLenum, GLint *); 4892 extern void glGetPixelMapfv(GLenum, GLfloat *); 4893 extern void glGetPixelMapuiv(GLenum, GLuint *); 4894 extern void glGetPixelMapusv(GLenum, GLushort *); 4895 extern void glGetPointerv(GLenum, void **); 4896 extern void glGetPolygonStipple(GLubyte *); 4897 extern GLubyte *glGetString(GLenum); 4898 extern void glGetTexEnvfv(GLenum, GLenum, GLfloat *); 4899 extern void glGetTexEnviv(GLenum, GLenum, GLint *); 4900 extern void glGetTexGendv(GLenum, GLenum, GLdouble *); 4901 extern void glGetTexGenfv(GLenum, GLenum, GLfloat *); 4902 extern void glGetTexGeniv(GLenum, GLenum, GLint *); 4903 extern void glGetTexImage(GLenum, GLint, GLenum, GLenum, GLvoid *); 4904 extern void glGetTexLevelParameterfv(GLenum, GLint, GLenum, GLfloat *); 4905 extern void glGetTexLevelParameteriv(GLenum, GLint, GLenum, GLint *); 4906 extern void glGetTexParameterfv(GLenum, GLenum, GLfloat *); 4907 extern void glGetTexParameteriv(GLenum, GLenum, GLint *); 4908 extern void glHint(GLenum, GLenum); 4909 extern void glIndexMask(GLuint); 4910 extern void glIndexPointer(GLenum, GLsizei, GLvoid *); 4911 extern void glIndexd(GLdouble); 4912 extern void glIndexdv(GLdouble *); 4913 extern void glIndexf(GLfloat); 4914 extern void glIndexfv(GLfloat *); 4915 extern void glIndexi(GLint); 4916 extern void glIndexiv(GLint *); 4917 extern void glIndexs(GLshort); 4918 extern void glIndexsv(GLshort *); 4919 extern void glIndexub(GLubyte); 4920 extern void glIndexubv(GLubyte *); 4921 extern void glInitNames(void); 4922 extern void glInterleavedArrays(GLenum, GLsizei, GLvoid *); 4923 extern GLboolean glIsEnabled(GLenum); 4924 extern GLboolean glIsList(GLuint); 4925 extern GLboolean glIsTexture(GLuint); 4926 extern void glLightModelf(GLenum, GLfloat); 4927 extern void glLightModelfv(GLenum, GLfloat *); 4928 extern void glLightModeli(GLenum, GLint); 4929 extern void glLightModeliv(GLenum, GLint *); 4930 extern void glLightf(GLenum, GLenum, GLfloat); 4931 extern void glLightfv(GLenum, GLenum, GLfloat *); 4932 extern void glLighti(GLenum, GLenum, GLint); 4933 extern void glLightiv(GLenum, GLenum, GLint *); 4934 extern void glLineStipple(GLint, GLushort); 4935 extern void glLineWidth(GLfloat); 4936 extern void glListBase(GLuint); 4937 extern void glLoadIdentity(void); 4938 extern void glLoadMatrixd(GLdouble *); 4939 extern void glLoadMatrixf(GLfloat *); 4940 extern void glLoadName(GLuint); 4941 extern void glLogicOp(GLenum); 4942 extern void glMap1d(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble*); 4943 extern void glMap1f(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat *); 4944 extern void glMap2d(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, 4945 GLdouble, GLint, GLint, GLdouble *); 4946 extern void glMap2f(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, 4947 GLfloat, GLint, GLint, GLfloat *); 4948 extern void glMapGrid1d(GLint, GLdouble, GLdouble); 4949 extern void glMapGrid1f(GLint, GLfloat, GLfloat); 4950 extern void glMapGrid2d(GLint, GLdouble, GLdouble, GLint, GLdouble, 4951 GLdouble); 4952 extern void glMapGrid2f(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat); 4953 extern void glMaterialf(GLenum, GLenum, GLfloat); 4954 extern void glMaterialfv(GLenum, GLenum, GLfloat *); 4955 extern void glMateriali(GLenum, GLenum, GLint); 4956 extern void glMaterialiv(GLenum, GLenum, GLint *); 4957 extern void glMatrixMode(GLenum); 4958 extern void glMultMatrixd(GLdouble *); 4959 extern void glMultMatrixf(GLfloat *); 4960 extern void glNewList(GLuint, GLenum); 4961 extern void glNormal3b(GLbyte, GLbyte, GLbyte); 4962 extern void glNormal3bv(GLbyte *); 4963 extern void glNormal3d(GLdouble, GLdouble, GLdouble); 4964 extern void glNormal3dv(GLdouble *); 4965 extern void glNormal3f(GLfloat, GLfloat, GLfloat); 4966 extern void glNormal3fv(GLfloat *); 4967 extern void glNormal3i(GLint, GLint, GLint); 4968 extern void glNormal3iv(GLint *); 4969 extern void glNormal3s(GLshort, GLshort, GLshort); 4970 extern void glNormal3sv(GLshort *); 4971 extern void glNormalPointer(GLenum, GLsizei, GLvoid *); 4972 extern void glOrtho(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, 4973 GLdouble); 4974 extern void glPassThrough(GLfloat); 4975 extern void glPixelMapfv(GLenum, GLint, GLfloat *); 4976 extern void glPixelMapuiv(GLenum, GLint, GLuint *); 4977 extern void glPixelMapusv(GLenum, GLint, GLushort *); 4978 extern void glPixelStoref(GLenum, GLfloat); 4979 extern void glPixelStorei(GLenum, GLint); 4980 extern void glPixelTransferf(GLenum, GLfloat); 4981 extern void glPixelTransferi(GLenum, GLint); 4982 extern void glPixelZoom(GLfloat, GLfloat); 4983 extern void glPointSize(GLfloat); 4984 extern void glPolygonMode(GLenum, GLenum); 4985 extern void glPolygonOffset(GLfloat, GLfloat); 4986 extern void glPolygonStipple(GLubyte *); 4987 extern void glPopAttrib(void); 4988 extern void glPopClientAttrib(void); 4989 extern void glPopMatrix(void); 4990 extern void glPopName(void); 4991 extern void glPrioritizeTextures(GLsizei, GLuint *, GLclampf *); 4992 extern void glPushAttrib(GLbitfield); 4993 extern void glPushClientAttrib(GLbitfield); 4994 extern void glPushMatrix(void); 4995 extern void glPushName(GLuint); 4996 extern void glRasterPos2d(GLdouble, GLdouble); 4997 extern void glRasterPos2dv(GLdouble *); 4998 extern void glRasterPos2f(GLfloat, GLfloat); 4999 extern void glRasterPos2fv(GLfloat *); 5000 extern void glRasterPos2i(GLint, GLint); 5001 extern void glRasterPos2iv(GLint *); 5002 extern void glRasterPos2s(GLshort, GLshort); 5003 extern void glRasterPos2sv(GLshort *); 5004 extern void glRasterPos3d(GLdouble, GLdouble, GLdouble); 5005 extern void glRasterPos3dv(GLdouble *); 5006 extern void glRasterPos3f(GLfloat, GLfloat, GLfloat); 5007 extern void glRasterPos3fv(GLfloat *); 5008 extern void glRasterPos3i(GLint, GLint, GLint); 5009 extern void glRasterPos3iv(GLint *); 5010 extern void glRasterPos3s(GLshort, GLshort, GLshort); 5011 extern void glRasterPos3sv(GLshort *); 5012 extern void glRasterPos4d(GLdouble, GLdouble, GLdouble, GLdouble); 5013 extern void glRasterPos4dv(GLdouble *); 5014 extern void glRasterPos4f(GLfloat, GLfloat, GLfloat, GLfloat); 5015 extern void glRasterPos4fv(GLfloat *); 5016 extern void glRasterPos4i(GLint, GLint, GLint, GLint); 5017 extern void glRasterPos4iv(GLint *); 5018 extern void glRasterPos4s(GLshort, GLshort, GLshort, GLshort); 5019 extern void glRasterPos4sv(GLshort *); 5020 extern void glReadBuffer(GLenum); 5021 extern void glReadPixels(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, 5022 GLvoid *); 5023 extern void glRectd(GLdouble, GLdouble, GLdouble, GLdouble); 5024 extern void glRectdv(GLdouble *, GLdouble *); 5025 extern void glRectf(GLfloat, GLfloat, GLfloat, GLfloat); 5026 extern void glRectfv(GLfloat *, GLfloat *); 5027 extern void glRecti(GLint, GLint, GLint, GLint); 5028 extern void glRectiv(GLint *, GLint *); 5029 extern void glRects(GLshort, GLshort, GLshort, GLshort); 5030 extern void glRectsv(GLshort *, GLshort *); 5031 extern GLint glRenderMode(GLenum); 5032 extern void glRotated(GLdouble, GLdouble, GLdouble, GLdouble); 5033 extern void glRotatef(GLfloat, GLfloat, GLfloat, GLfloat); 5034 extern void glScaled(GLdouble, GLdouble, GLdouble); 5035 extern void glScalef(GLfloat, GLfloat, GLfloat); 5036 extern void glScissor(GLint, GLint, GLsizei, GLsizei); 5037 extern void glSelectBuffer(GLsizei, GLuint *); 5038 extern void glShadeModel(GLenum); 5039 extern void glStencilFunc(GLenum, GLint, GLuint); 5040 extern void glStencilMask(GLuint); 5041 extern void glStencilOp(GLenum, GLenum, GLenum); 5042 extern void glTexCoord1d(GLdouble); 5043 extern void glTexCoord1dv(GLdouble *); 5044 extern void glTexCoord1f(GLfloat); 5045 extern void glTexCoord1fv(GLfloat *); 5046 extern void glTexCoord1i(GLint); 5047 extern void glTexCoord1iv(GLint *); 5048 extern void glTexCoord1s(GLshort); 5049 extern void glTexCoord1sv(GLshort *); 5050 extern void glTexCoord2d(GLdouble, GLdouble); 5051 extern void glTexCoord2dv(GLdouble *); 5052 extern void glTexCoord2f(GLfloat, GLfloat); 5053 extern void glTexCoord2fv(GLfloat *); 5054 extern void glTexCoord2i(GLint, GLint); 5055 extern void glTexCoord2iv(GLint *); 5056 extern void glTexCoord2s(GLshort, GLshort); 5057 extern void glTexCoord2sv(GLshort *); 5058 extern void glTexCoord3d(GLdouble, GLdouble, GLdouble); 5059 extern void glTexCoord3dv(GLdouble *); 5060 extern void glTexCoord3f(GLfloat, GLfloat, GLfloat); 5061 extern void glTexCoord3fv(GLfloat *); 5062 extern void glTexCoord3i(GLint, GLint, GLint); 5063 extern void glTexCoord3iv(GLint *); 5064 extern void glTexCoord3s(GLshort, GLshort, GLshort); 5065 extern void glTexCoord3sv(GLshort *); 5066 extern void glTexCoord4d(GLdouble, GLdouble, GLdouble, GLdouble); 5067 extern void glTexCoord4dv(GLdouble *); 5068 extern void glTexCoord4f(GLfloat, GLfloat, GLfloat, GLfloat); 5069 extern void glTexCoord4fv(GLfloat *); 5070 extern void glTexCoord4i(GLint, GLint, GLint, GLint); 5071 extern void glTexCoord4iv(GLint *); 5072 extern void glTexCoord4s(GLshort, GLshort, GLshort, GLshort); 5073 extern void glTexCoord4sv(GLshort *); 5074 extern void glTexCoordPointer(GLint, GLenum, GLsizei, GLvoid *); 5075 extern void glTexEnvf(GLenum, GLenum, GLfloat); 5076 extern void glTexEnvfv(GLenum, GLenum, GLfloat *); 5077 extern void glTexEnvi(GLenum, GLenum, GLint); 5078 extern void glTexEnviv(GLenum, GLenum, GLint *); 5079 extern void glTexGend(GLenum, GLenum, GLdouble); 5080 extern void glTexGendv(GLenum, GLenum, GLdouble *); 5081 extern void glTexGenf(GLenum, GLenum, GLfloat); 5082 extern void glTexGenfv(GLenum, GLenum, GLfloat *); 5083 extern void glTexGeni(GLenum, GLenum, GLint); 5084 extern void glTexGeniv(GLenum, GLenum, GLint *); 5085 extern void glTexImage1D(GLenum, GLint, GLint, GLsizei, GLint, GLenum, 5086 GLenum, GLvoid *); 5087 extern void glTexImage2D(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, 5088 GLenum, GLenum, GLvoid *); 5089 extern void glTexParameterf(GLenum, GLenum, GLfloat); 5090 extern void glTexParameterfv(GLenum, GLenum, GLfloat *); 5091 extern void glTexParameteri(GLenum, GLenum, GLint); 5092 extern void glTexParameteriv(GLenum, GLenum, GLint *); 5093 extern void glTexSubImage1D(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, 5094 GLvoid *); 5095 extern void glTexSubImage2D(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, 5096 GLenum, GLenum, GLvoid *); 5097 extern void glTranslated(GLdouble, GLdouble, GLdouble); 5098 extern void glTranslatef(GLfloat, GLfloat, GLfloat); 5099 extern void glVertex2d(GLdouble, GLdouble); 5100 extern void glVertex2dv(GLdouble *); 5101 extern void glVertex2f(GLfloat, GLfloat); 5102 extern void glVertex2fv(GLfloat *); 5103 extern void glVertex2i(GLint, GLint); 5104 extern void glVertex2iv(GLint *); 5105 extern void glVertex2s(GLshort, GLshort); 5106 extern void glVertex2sv(GLshort *); 5107 extern void glVertex3d(GLdouble, GLdouble, GLdouble); 5108 extern void glVertex3dv(GLdouble *); 5109 extern void glVertex3f(GLfloat, GLfloat, GLfloat); 5110 extern void glVertex3fv(GLfloat *); 5111 extern void glVertex3i(GLint, GLint, GLint); 5112 extern void glVertex3iv(GLint *); 5113 extern void glVertex3s(GLshort, GLshort, GLshort); 5114 extern void glVertex3sv(GLshort *); 5115 extern void glVertex4d(GLdouble, GLdouble, GLdouble, GLdouble); 5116 extern void glVertex4dv(GLdouble *); 5117 extern void glVertex4f(GLfloat, GLfloat, GLfloat, GLfloat); 5118 extern void glVertex4fv(GLfloat *); 5119 extern void glVertex4i(GLint, GLint, GLint, GLint); 5120 extern void glVertex4iv(GLint *); 5121 extern void glVertex4s(GLshort, GLshort, GLshort, GLshort); 5122 extern void glVertex4sv(GLshort *); 5123 extern void glVertexPointer(GLint, GLenum, GLsizei, GLvoid *); 5124 extern void glViewport(GLint, GLint, GLsizei, GLsizei); 5125 extern void glMultiTexCoord4svARB(GLenum, GLshort *); 5126 extern void glMultiTexCoord4sARB(GLenum, GLshort, GLshort, GLshort, 5127 GLshort); 5128 extern void glMultiTexCoord4ivARB(GLenum, GLint *); 5129 extern void glMultiTexCoord4iARB(GLenum, GLint, GLint, GLint, GLint); 5130 extern void glMultiTexCoord4fvARB(GLenum, GLfloat *); 5131 extern void glMultiTexCoord4fARB(GLenum, GLfloat, GLfloat, GLfloat, 5132 GLfloat); 5133 extern void glMultiTexCoord4dvARB(GLenum, GLdouble *); 5134 extern void glMultiTexCoord4dARB(GLenum, GLdouble, GLdouble, GLdouble, 5135 GLdouble); 5136 extern void glMultiTexCoord3svARB(GLenum, GLshort *); 5137 extern void glMultiTexCoord3sARB(GLenum, GLshort, GLshort, GLshort); 5138 extern void glMultiTexCoord3ivARB(GLenum, GLint *); 5139 extern void glMultiTexCoord3iARB(GLenum, GLint, GLint, GLint); 5140 extern void glMultiTexCoord3fvARB(GLenum, GLfloat *); 5141 extern void glMultiTexCoord3fARB(GLenum, GLfloat, GLfloat, GLfloat); 5142 extern void glMultiTexCoord3dvARB(GLenum, GLdouble *); 5143 extern void glMultiTexCoord3dARB(GLenum, GLdouble, GLdouble, GLdouble); 5144 extern void glMultiTexCoord2svARB(GLenum, GLshort *); 5145 extern void glMultiTexCoord2sARB(GLenum, GLshort, GLshort); 5146 extern void glMultiTexCoord2ivARB(GLenum, GLint *); 5147 extern void glMultiTexCoord2iARB(GLenum, GLint, GLint); 5148 extern void glMultiTexCoord2fvARB(GLenum, GLfloat *); 5149 extern void glMultiTexCoord2fARB(GLenum, GLfloat, GLfloat); 5150 extern void glMultiTexCoord2dvARB(GLenum, GLdouble *); 5151 extern void glMultiTexCoord2dARB(GLenum, GLdouble, GLdouble); 5152 extern void glMultiTexCoord1svARB(GLenum, GLshort *); 5153 extern void glMultiTexCoord1sARB(GLenum, GLshort); 5154 extern void glMultiTexCoord1ivARB(GLenum, GLint *); 5155 extern void glMultiTexCoord1iARB(GLenum, GLint); 5156 extern void glMultiTexCoord1fvARB(GLenum, GLfloat *); 5157 extern void glMultiTexCoord1fARB(GLenum, GLfloat); 5158 extern void glMultiTexCoord1dvARB(GLenum, GLdouble *); 5159 extern void glMultiTexCoord1dARB(GLenum, GLdouble); 5160 extern void glClientActiveTextureARB(GLenum); 5161 extern void glActiveTextureARB(GLenum); 5162 extern void glGetSeparableFilter(GLenum, GLenum, GLenum, GLvoid *, 5163 GLvoid *, GLvoid *); 5164 extern void glSeparableFilter2D(GLenum, GLenum, GLsizei, GLsizei, GLenum, 5165 GLenum, GLvoid *, GLvoid *); 5166 extern void glGetConvolutionParameteriv(GLenum, GLenum, GLint *); 5167 extern void glGetConvolutionParameterfv(GLenum, GLenum, GLfloat *); 5168 extern void glGetConvolutionFilter(GLenum, GLenum, GLenum, GLvoid *); 5169 extern void glCopyConvolutionFilter2D(GLenum, GLenum, GLint, GLint, 5170 GLsizei, GLsizei); 5171 extern void glCopyConvolutionFilter1D(GLenum, GLenum, GLint, GLint, 5172 GLsizei); 5173 extern void glConvolutionParameteriv(GLenum, GLenum, GLint *); 5174 extern void glConvolutionParameteri(GLenum, GLenum, GLint); 5175 extern void glConvolutionParameterfv(GLenum, GLenum, GLfloat *); 5176 extern void glConvolutionParameterf(GLenum, GLenum, GLfloat); 5177 extern void glConvolutionFilter2D(GLenum, GLenum, GLsizei, GLsizei, GLenum, 5178 GLenum, GLvoid *); 5179 extern void glConvolutionFilter1D(GLenum, GLenum, GLsizei, GLenum, GLenum, 5180 GLvoid *); 5181 extern void glGetMinmaxParameteriv(GLenum, GLenum, GLint *); 5182 extern void glGetMinmaxParameterfv(GLenum, GLenum, GLfloat *); 5183 extern void glGetMinmax(GLenum, GLboolean, GLenum, GLenum, GLvoid *); 5184 extern void glResetMinmax(GLenum); 5185 extern void glMinmax(GLenum, GLenum, GLboolean); 5186 extern void glGetHistogramParameteriv(GLenum, GLenum, GLint *); 5187 extern void glGetHistogramParameterfv(GLenum, GLenum, GLfloat *); 5188 extern void glGetHistogram(GLenum, GLboolean, GLenum, GLenum, GLvoid *); 5189 extern void glResetHistogram(GLenum); 5190 extern void glHistogram(GLenum, GLsizei, GLenum, GLboolean); 5191 extern void glBlendColor(GLclampf, GLclampf, GLclampf, GLclampf); 5192 extern void glBlendEquation(GLenum); 5193 extern void glGetColorTableParameteriv(GLenum, GLenum, GLint *); 5194 extern void glGetColorTableParameterfv(GLenum, GLenum, GLfloat *); 5195 extern void glGetColorTable(GLenum, GLenum, GLenum, GLvoid *); 5196 extern void glCopyColorTable(GLenum, GLenum, GLint, GLint, GLsizei); 5197 extern void glCopyColorSubTable(GLenum, GLsizei, GLint, GLint, GLsizei); 5198 extern void glColorTableParameterfv(GLenum, GLenum, GLfloat *); 5199 extern void glColorTableParameteriv(GLenum, GLenum, GLint *); 5200 extern void glColorSubTable(GLenum, GLsizei, GLsizei, GLenum, GLenum, 5201 GLvoid *); 5202 extern void glColorTable(GLenum, GLenum, GLsizei, GLenum, GLenum, 5203 GLvoid *); 5204 extern void glCopyTexSubImage3D(GLenum, GLint, GLint, GLint, GLint, GLint, 5205 GLint, GLsizei, GLsizei); 5206 extern void glTexSubImage3D(GLenum, GLint, GLint, GLint, GLint, GLsizei, 5207 GLsizei, GLsizei, GLenum, GLenum, GLvoid *); 5208 extern void glTexImage3D(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, 5209 GLint, GLenum, GLenum, GLvoid *); 5210 extern void glDrawRangeElements(GLenum, GLuint, GLuint, GLsizei, GLenum, 5211 GLvoid *); 5212 _________________________________________________________ 5213 5214 7.2.2. GL/glx.h 5215 5216 typedef struct __GLXcontextRec *GLXContext; 5217 typedef struct __GLXFBConfigRec *GLXFBConfig; 5218 typedef XID GLXContextID; 5219 typedef XID GLXPixmap; 5220 typedef XID GLXDrawable; 5221 typedef XID GLXPbuffer; 5222 typedef XID GLXWindow; 5223 extern XVisualInfo *glXChooseVisual(Display *, int, int *); 5224 extern void glXCopyContext(Display *, GLXContext, GLXContext, 5225 unsigned long int); 5226 extern GLXContext glXCreateContext(Display *, XVisualInfo *, GLXContext, 5227 int); 5228 extern GLXPixmap glXCreateGLXPixmap(Display *, XVisualInfo *, Pixmap); 5229 extern void glXDestroyContext(Display *, GLXContext); 5230 extern void glXDestroyGLXPixmap(Display *, GLXPixmap); 5231 extern void glXFreeContextEXT(Display *, GLXContext); 5232 extern char *glXGetClientString(Display *, int); 5233 extern int glXGetConfig(Display *, XVisualInfo *, int, int *); 5234 extern GLXContextID glXGetContextIDEXT(GLXContext); 5235 extern GLXContext glXGetCurrentContext(void); 5236 extern Display *glXGetCurrentDisplay(void); 5237 extern GLXDrawable glXGetCurrentDrawable(void); 5238 extern GLXContext glXImportContextEXT(Display *, GLXContextID); 5239 extern int glXIsDirect(Display *, GLXContext); 5240 extern int glXMakeCurrent(Display *, GLXDrawable, GLXContext); 5241 extern int glXQueryContextInfoEXT(Display *, GLXContext, int, int *); 5242 extern int glXQueryExtension(Display *, int *, int *); 5243 extern char *glXQueryExtensionsString(Display *, int); 5244 extern char *glXQueryServerString(Display *, int, int); 5245 extern int glXQueryVersion(Display *, int *, int *); 5246 extern void glXSwapBuffers(Display *, GLXDrawable); 5247 extern void glXUseXFont(Font, int, int, int); 5248 extern void glXWaitGL(void); 5249 extern void glXWaitX(void); 5250 extern void (*glXGetProcAddressARB(const GLubyte * procName)) 5251 (void); 5252 extern void glXGetSelectedEvent(Display *, GLXDrawable, 5253 unsigned long int *); 5254 extern void glXSelectEvent(Display *, GLXDrawable, unsigned long int); 5255 extern int glXQueryContext(Display *, GLXContext, int, int *); 5256 extern GLXDrawable glXGetCurrentReadDrawable(void); 5257 extern int glXMakeContextCurrent(Display *, GLXDrawable, GLXDrawable, 5258 GLXContext); 5259 extern GLXContext glXCreateNewContext(Display *, GLXFBConfig, int, 5260 GLXContext, int); 5261 extern void glXQueryDrawable(Display *, GLXDrawable, int, unsigned int*); 5262 extern void glXDestroyPbuffer(Display *, GLXPbuffer); 5263 extern GLXPbuffer glXCreatePbuffer(Display *, GLXFBConfig, int *); 5264 extern void glXDestroyPixmap(Display *, GLXPixmap); 5265 extern GLXPixmap glXCreatePixmap(Display *, GLXFBConfig, Pixmap, int *); 5266 extern void glXDestroyWindow(Display *, GLXWindow); 5267 extern GLXWindow glXCreateWindow(Display *, GLXFBConfig, Window, int *); 5268 extern XVisualInfo *glXGetVisualFromFBConfig(Display *, GLXFBConfig); 5269 extern int glXGetFBConfigAttrib(Display *, GLXFBConfig, int, int *); 5270 extern GLXFBConfig *glXChooseFBConfig(Display *, int, int *, int *); 5271 _________________________________________________________ 5272 5273 Appendix A. GNU Free Documentation License (Informative) 5274 5275 This specification is published under the terms of the GNU 5276 Free Documentation License, Version 1.1, March 2000 5277 5278 Copyright (C) 2000 Free Software Foundation, Inc. 59 Temple 5279 Place, Suite 330, Boston, MA 02111-1307 USA Everyone is 5280 permitted to copy and distribute verbatim copies of this 5281 license document, but changing it is not allowed. 5282 _________________________________________________________ 5283 5284 A.1. PREAMBLE 5285 5286 The purpose of this License is to make a manual, textbook, or 5287 other written document "free" in the sense of freedom: to 5288 assure everyone the effective freedom to copy and redistribute 5289 it, with or without modifying it, either commercially or 5290 noncommercially. Secondarily, this License preserves for the 5291 author and publisher a way to get credit for their work, while 5292 not being considered responsible for modifications made by 5293 others. 5294 5295 This License is a kind of "copyleft", which means that 5296 derivative works of the document must themselves be free in 5297 the same sense. It complements the GNU General Public License, 5298 which is a copyleft license designed for free software. 5299 5300 We have designed this License in order to use it for manuals 5301 for free software, because free software needs free 5302 documentation: a free program should come with manuals 5303 providing the same freedoms that the software does. But this 5304 License is not limited to software manuals; it can be used for 5305 any textual work, regardless of subject matter or whether it 5306 is published as a printed book. We recommend this License 5307 principally for works whose purpose is instruction or 5308 reference. 5309 _________________________________________________________ 5310 5311 A.2. APPLICABILITY AND DEFINITIONS 5312 5313 This License applies to any manual or other work that contains 5314 a notice placed by the copyright holder saying it can be 5315 distributed under the terms of this License. The "Document", 5316 below, refers to any such manual or work. Any member of the 5317 public is a licensee, and is addressed as "you". 5318 5319 A "Modified Version" of the Document means any work containing 5320 the Document or a portion of it, either copied verbatim, or 5321 with modifications and/or translated into another language. 5322 5323 A "Secondary Section" is a named appendix or a front-matter 5324 section of the Document that deals exclusively with the 5325 relationship of the publishers or authors of the Document to 5326 the Document's overall subject (or to related matters) and 5327 contains nothing that could fall directly within that overall 5328 subject. (For example, if the Document is in part a textbook 5329 of mathematics, a Secondary Section may not explain any 5330 mathematics.) The relationship could be a matter of historical 5331 connection with the subject or with related matters, or of 5332 legal, commercial, philosophical, ethical or political 5333 position regarding them. 5334 5335 The "Invariant Sections" are certain Secondary Sections whose 5336 titles are designated, as being those of Invariant Sections, 5337 in the notice that says that the Document is released under 5338 this License. 5339 5340 The "Cover Texts" are certain short passages of text that are 5341 listed, as Front-Cover Texts or Back-Cover Texts, in the 5342 notice that says that the Document is released under this 5343 License. 5344 5345 A "Transparent" copy of the Document means a machine-readable 5346 copy, represented in a format whose specification is available 5347 to the general public, whose contents can be viewed and edited 5348 directly and straightforwardly with generic text editors or 5349 (for images composed of pixels) generic paint programs or (for 5350 drawings) some widely available drawing editor, and that is 5351 suitable for input to text formatters or for automatic 5352 translation to a variety of formats suitable for input to text 5353 formatters. A copy made in an otherwise Transparent file 5354 format whose markup has been designed to thwart or discourage 5355 subsequent modification by readers is not Transparent. A copy 5356 that is not "Transparent" is called "Opaque". 5357 5358 Examples of suitable formats for Transparent copies include 5359 plain ASCII without markup, Texinfo input format, LaTeX input 5360 format, SGML or XML using a publicly available DTD, and 5361 standard-conforming simple HTML designed for human 5362 modification. Opaque formats include PostScript, PDF, 5363 proprietary formats that can be read and edited only by 5364 proprietary word processors, SGML or XML for which the DTD 5365 and/or processing tools are not generally available, and the 5366 machine-generated HTML produced by some word processors for 5367 output purposes only. 5368 5369 The "Title Page" means, for a printed book, the title page 5370 itself, plus such following pages as are needed to hold, 5371 legibly, the material this License requires to appear in the 5372 title page. For works in formats which do not have any title 5373 page as such, "Title Page" means the text near the most 5374 prominent appearance of the work's title, preceding the 5375 beginning of the body of the text. 5376 _________________________________________________________ 5377 5378 A.3. VERBATIM COPYING 5379 5380 You may copy and distribute the Document in any medium, either 5381 commercially or noncommercially, provided that this License, 5382 the copyright notices, and the license notice saying this 5383 License applies to the Document are reproduced in all copies, 5384 and that you add no other conditions whatsoever to those of 5385 this License. You may not use technical measures to obstruct 5386 or control the reading or further copying of the copies you 5387 make or distribute. However, you may accept compensation in 5388 exchange for copies. If you distribute a large enough number 5389 of copies you must also follow the conditions in section 3. 5390 5391 You may also lend copies, under the same conditions stated 5392 above, and you may publicly display copies. 5393 _________________________________________________________ 5394 5395 A.4. COPYING IN QUANTITY 5396 5397 If you publish printed copies of the Document numbering more 5398 than 100, and the Document's license notice requires Cover 5399 Texts, you must enclose the copies in covers that carry, 5400 clearly and legibly, all these Cover Texts: Front-Cover Texts 5401 on the front cover, and Back-Cover Texts on the back cover. 5402 Both covers must also clearly and legibly identify you as the 5403 publisher of these copies. The front cover must present the 5404 full title with all words of the title equally prominent and 5405 visible. You may add other material on the covers in addition. 5406 Copying with changes limited to the covers, as long as they 5407 preserve the title of the Document and satisfy these 5408 conditions, can be treated as verbatim copying in other 5409 respects. 5410 5411 If the required texts for either cover are too voluminous to 5412 fit legibly, you should put the first ones listed (as many as 5413 fit reasonably) on the actual cover, and continue the rest 5414 onto adjacent pages. 5415 5416 If you publish or distribute Opaque copies of the Document 5417 numbering more than 100, you must either include a 5418 machine-readable Transparent copy along with each Opaque copy, 5419 or state in or with each Opaque copy a publicly-accessible 5420 computer-network location containing a complete Transparent 5421 copy of the Document, free of added material, which the 5422 general network-using public has access to download 5423 anonymously at no charge using public-standard network 5424 protocols. If you use the latter option, you must take 5425 reasonably prudent steps, when you begin distribution of 5426 Opaque copies in quantity, to ensure that this Transparent 5427 copy will remain thus accessible at the stated location until 5428 at least one year after the last time you distribute an Opaque 5429 copy (directly or through your agents or retailers) of that 5430 edition to the public. 5431 5432 It is requested, but not required, that you contact the 5433 authors of the Document well before redistributing any large 5434 number of copies, to give them a chance to provide you with an 5435 updated version of the Document. 5436 _________________________________________________________ 5437 5438 A.5. MODIFICATIONS 5439 5440 You may copy and distribute a Modified Version of the Document 5441 under the conditions of sections 2 and 3 above, provided that 5442 you release the Modified Version under precisely this License, 5443 with the Modified Version filling the role of the Document, 5444 thus licensing distribution and modification of the Modified 5445 Version to whoever possesses a copy of it. In addition, you 5446 must do these things in the Modified Version: 5447 5448 A. Use in the Title Page (and on the covers, if any) a title 5449 distinct from that of the Document, and from those of 5450 previous versions (which should, if there were any, be 5451 listed in the History section of the Document). You may 5452 use the same title as a previous version if the original 5453 publisher of that version gives permission. 5454 B. List on the Title Page, as authors, one or more persons or 5455 entities responsible for authorship of the modifications 5456 in the Modified Version, together with at least five of 5457 the principal authors of the Document (all of its 5458 principal authors, if it has less than five). 5459 C. State on the Title page the name of the publisher of the 5460 Modified Version, as the publisher. 5461 D. Preserve all the copyright notices of the Document. 5462 E. Add an appropriate copyright notice for your modifications 5463 adjacent to the other copyright notices. 5464 F. Include, immediately after the copyright notices, a 5465 license notice giving the public permission to use the 5466 Modified Version under the terms of this License, in the 5467 form shown in the Addendum below. 5468 G. Preserve in that license notice the full lists of 5469 Invariant Sections and required Cover Texts given in the 5470 Document's license notice. 5471 H. Include an unaltered copy of this License. 5472 I. Preserve the section entitled "History", and its title, 5473 and add to it an item stating at least the title, year, 5474 new authors, and publisher of the Modified Version as 5475 given on the Title Page. If there is no section entitled 5476 "History" in the Document, create one stating the title, 5477 year, authors, and publisher of the Document as given on 5478 its Title Page, then add an item describing the Modified 5479 Version as stated in the previous sentence. 5480 J. Preserve the network location, if any, given in the 5481 Document for public access to a Transparent copy of the 5482 Document, and likewise the network locations given in the 5483 Document for previous versions it was based on. These may 5484 be placed in the "History" section. You may omit a network 5485 location for a work that was published at least four years 5486 before the Document itself, or if the original publisher 5487 of the version it refers to gives permission. 5488 K. In any section entitled "Acknowledgements" or 5489 "Dedications", preserve the section's title, and preserve 5490 in the section all the substance and tone of each of the 5491 contributor acknowledgements and/or dedications given 5492 therein. 5493 L. Preserve all the Invariant Sections of the Document, 5494 unaltered in their text and in their titles. Section 5495 numbers or the equivalent are not considered part of the 5496 section titles. 5497 M. Delete any section entitled "Endorsements". Such a section 5498 may not be included in the Modified Version. 5499 N. Do not retitle any existing section as "Endorsements" or 5500 to conflict in title with any Invariant Section. 5501 5502 If the Modified Version includes new front-matter sections or 5503 appendices that qualify as Secondary Sections and contain no 5504 material copied from the Document, you may at your option 5505 designate some or all of these sections as invariant. To do 5506 this, add their titles to the list of Invariant Sections in 5507 the Modified Version's license notice. These titles must be 5508 distinct from any other section titles. 5509 5510 You may add a section entitled "Endorsements", provided it 5511 contains nothing but endorsements of your Modified Version by 5512 various parties--for example, statements of peer review or 5513 that the text has been approved by an organization as the 5514 authoritative definition of a standard. 5515 5516 You may add a passage of up to five words as a Front-Cover 5517 Text, and a passage of up to 25 words as a Back-Cover Text, to 5518 the end of the list of Cover Texts in the Modified Version. 5519 Only one passage of Front-Cover Text and one of Back-Cover 5520 Text may be added by (or through arrangements made by) any one 5521 entity. If the Document already includes a cover text for the 5522 same cover, previously added by you or by arrangement made by 5523 the same entity you are acting on behalf of, you may not add 5524 another; but you may replace the old one, on explicit 5525 permission from the previous publisher that added the old one. 5526 5527 The author(s) and publisher(s) of the Document do not by this 5528 License give permission to use their names for publicity for 5529 or to assert or imply endorsement of any Modified Version. 5530 _________________________________________________________ 5531 5532 A.6. COMBINING DOCUMENTS 5533 5534 You may combine the Document with other documents released 5535 under this License, under the terms defined in section 4 above 5536 for modified versions, provided that you include in the 5537 combination all of the Invariant Sections of all of the 5538 original documents, unmodified, and list them all as Invariant 5539 Sections of your combined work in its license notice. 5540 5541 The combined work need only contain one copy of this License, 5542 and multiple identical Invariant Sections may be replaced with 5543 a single copy. If there are multiple Invariant Sections with 5544 the same name but different contents, make the title of each 5545 such section unique by adding at the end of it, in 5546 parentheses, the name of the original author or publisher of 5547 that section if known, or else a unique number. Make the same 5548 adjustment to the section titles in the list of Invariant 5549 Sections in the license notice of the combined work. 5550 5551 In the combination, you must combine any sections entitled 5552 "History" in the various original documents, forming one 5553 section entitled "History"; likewise combine any sections 5554 entitled "Acknowledgements", and any sections entitled 5555 "Dedications". You must delete all sections entitled 5556 "Endorsements." 5557 _________________________________________________________ 5558 5559 A.7. COLLECTIONS OF DOCUMENTS 5560 5561 You may make a collection consisting of the Document and other 5562 documents released under this License, and replace the 5563 individual copies of this License in the various documents 5564 with a single copy that is included in the collection, 5565 provided that you follow the rules of this License for 5566 verbatim copying of each of the documents in all other 5567 respects. 5568 5569 You may extract a single document from such a collection, and 5570 distribute it individually under this License, provided you 5571 insert a copy of this License into the extracted document, and 5572 follow this License in all other respects regarding verbatim 5573 copying of that document. 5574 _________________________________________________________ 5575 5576 A.8. AGGREGATION WITH INDEPENDENT WORKS 5577 5578 A compilation of the Document or its derivatives with other 5579 separate and independent documents or works, in or on a volume 5580 of a storage or distribution medium, does not as a whole count 5581 as a Modified Version of the Document, provided no compilation 5582 copyright is claimed for the compilation. Such a compilation 5583 is called an "aggregate", and this License does not apply to 5584 the other self-contained works thus compiled with the 5585 Document, on account of their being thus compiled, if they are 5586 not themselves derivative works of the Document. 5587 5588 If the Cover Text requirement of section 3 is applicable to 5589 these copies of the Document, then if the Document is less 5590 than one quarter of the entire aggregate, the Document's Cover 5591 Texts may be placed on covers that surround only the Document 5592 within the aggregate. Otherwise they must appear on covers 5593 around the whole aggregate. 5594 _________________________________________________________ 5595 5596 A.9. TRANSLATION 5597 5598 Translation is considered a kind of modification, so you may 5599 distribute translations of the Document under the terms of 5600 section 4. Replacing Invariant Sections with translations 5601 requires special permission from their copyright holders, but 5602 you may include translations of some or all Invariant Sections 5603 in addition to the original versions of these Invariant 5604 Sections. You may include a translation of this License 5605 provided that you also include the original English version of 5606 this License. In case of a disagreement between the 5607 translation and the original English version of this License, 5608 the original English version will prevail. 5609 _________________________________________________________ 5610 5611 A.10. TERMINATION 5612 5613 You may not copy, modify, sublicense, or distribute the 5614 Document except as expressly provided for under this License. 5615 Any other attempt to copy, modify, sublicense or distribute 5616 the Document is void, and will automatically terminate your 5617 rights under this License. However, parties who have received 5618 copies, or rights, from you under this License will not have 5619 their licenses terminated so long as such parties remain in 5620 full compliance. 5621 _________________________________________________________ 5622 5623 A.11. FUTURE REVISIONS OF THIS LICENSE 5624 5625 The Free Software Foundation may publish new, revised versions 5626 of the GNU Free Documentation License from time to time. Such 5627 new versions will be similar in spirit to the present version, 5628 but may differ in detail to address new problems or concerns. 5629 See http://www.gnu.org/copyleft/. 5630 5631 Each version of the License is given a distinguishing version 5632 number. If the Document specifies that a particular numbered 5633 version of this License "or any later version" applies to it, 5634 you have the option of following the terms and conditions 5635 either of that specified version or of any later version that 5636 has been published (not as a draft) by the Free Software 5637 Foundation. If the Document does not specify a version number 5638 of this License, you may choose any version ever published 5639 (not as a draft) by the Free Software Foundation. 5640 _________________________________________________________ 5641 5642 A.12. How to use this License for your documents 5643 5644 To use this License in a document you have written, include a 5645 copy of the License in the document and put the following 5646 copyright and license notices just after the title page: 5647 5648 Copyright (c) YEAR YOUR NAME. Permission is granted to 5649 copy, distribute and/or modify this document under the 5650 terms of the GNU Free Documentation License, Version 1.1 or 5651 any later version published by the Free Software 5652 Foundation; with the Invariant Sections being LIST THEIR 5653 TITLES, with the Front-Cover Texts being LIST, and with the 5654 Back-Cover Texts being LIST. A copy of the license is 5655 included in the section entitled "GNU Free Documentation 5656 License". 5657 5658 If you have no Invariant Sections, write "with no Invariant 5659 Sections" instead of saying which ones are invariant. If you 5660 have no Front-Cover Texts, write "no Front-Cover Texts" 5661 instead of "Front-Cover Texts being LIST"; likewise for 5662 Back-Cover Texts. 5663 5664 If your document contains nontrivial examples of program code, 5665 we recommend releasing these examples in parallel under your 5666 choice of free software license, such as the GNU General 5667 Public License, to permit their use in free software.