1 2 Linux Standard Base Graphics Module Specification 2.1 3 4 Copyright © 2004 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 a trademark of Linus Torvalds. 28 29 UNIX a registered trademark of the Open Group in the United 30 States and other countries. 31 32 LSB is a trademark of the Free Standards Group in the USA and 33 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 trademarks of Intel Corporation. 39 40 OpenGL is a registered trademark of Silicon Graphics, Inc. 41 42 Table of Contents 43 Specification Introduction 44 Graphics Specification 45 Free Documentation License 46 47 Specification Introduction 48 _________________________________________________________ 49 50 Table of Contents 51 Foreword 52 Introduction 53 I. Introductory Elements 54 55 1. Scope 56 2. Normative References 57 3. Requirements 58 59 3.1. Relevant Libraries 60 61 4. Definitions 62 5. Terminology 63 64 List of Tables 65 2-1. Normative References 66 3-1. Standard Library Names 67 _________________________________________________________ 68 69 Foreword 70 71 This is version 2.1 of the LSB-Graphics Module Specification. 72 This version is a preliminary version for review only. 73 Conclusion of work on this version will result in version 1.0 74 of the LSB-Graphics Moudle Specification. 75 76 Implmentations may not claim conformance to this version. 77 _________________________________________________________ 78 79 Introduction 80 81 The LSB-Graphics Module defines The graphics components that 82 are required to be present on a Linux system. 83 84 This document should be used in conjunction with the documents 85 it references. Information referenced in this way is as much a 86 part of this document as is the information explicitly 87 included here. 88 89 I. Introductory Elements 90 91 Table of Contents 92 1. Scope 93 2. Normative References 94 3. Requirements 95 4. Definitions 96 5. Terminology 97 _________________________________________________________ 98 99 Chapter 1. Scope 100 101 The LSB Graphics defines the graphical interface found on an 102 LSB conforming system. 103 _________________________________________________________ 104 105 Chapter 2. Normative References 106 107 The specifications listed below are referenced in whole or in 108 part by the LSB-Graphics Module Standard. Such references may 109 be normative or informative; a reference to specification 110 shall only be considered normative if it is explicitly cited 111 as such. The LSB-Graphics Module may make normative references 112 to a portion of these specifications (that is, to define a 113 specific function or group of functions); in such cases, only 114 the explicitly referenced portion of the specification is to 115 be considered normative. 116 117 Table 2-1. Normative References 118 Name Title URL 119 Double Buffer Extension Library Double Buffer Extension 120 Library http://www.x.org/ 121 OpenGL OpenGL® Application Binary Interface for Linux 122 http://oss.sgi.com/projects/ogl-sample/ABI/ 123 The MIT Shared Memory Extension MIT-SHM--The MIT Shared Memory 124 Extension http://www.x.org/ 125 this specification Linux Standard Base 126 http://www.linuxbase.org/spec/ 127 X Display Power Management Signaling X Display Power 128 Management Signaling (DPMS) Extension, Library Specification 129 http://www.x.org/ 130 X Nonrectangular Window Shape Extension Library X 131 Nonrectangular Window Shape Extension Library Version 1.0 132 http://www.x.org/ 133 X Record Extension Library X Record Extension Library 134 http://www.x.org/ 135 X Security Extension Specification Security Extension 136 Specification, Version 7.1 http://www.x.org/ 137 X Synchronization Extension Library X Synchronization 138 Extension Library http://www.x.org/ 139 X11 C Library X11R6.4 Xlib - C library http://www.x.org/ 140 X11 Inter-Client Exchange X11R6.4 X Inter-Client Exchange 141 (ICE) Protocol http://www.x.org/ 142 X11 Session Management X11R6.4 X Session Management Library 143 http://www.x.org/ 144 X11 Toolkit Intrinsics X11R6.4 X Toolkit Intrinsics 145 http://www.x.org/ 146 _________________________________________________________ 147 148 Chapter 3. Requirements 149 150 3.1. Relevant Libraries 151 152 The libraries listed in Table 3-1 shall be available on a 153 Linux Standard Base system, with the specified runtime names. 154 This list may be supplemented or amended by the 155 architecture-specific specification. 156 157 Table 3-1. Standard Library Names 158 Library Runtime Name 159 libX11 libX11.so.6 160 libXt libXt.so.6 161 libGL libGL.so.1 162 libXext libXext.so.6 163 libICE libICE.so.6 164 libSM libSM.so.6 165 166 These libraries will be in an implementation-defined directory 167 which the dynamic linker shall search by default. 168 _________________________________________________________ 169 170 Chapter 4. Definitions 171 172 For the purposes of this document, the following definitions, 173 as specified in the ISO/IEC Directives, Part 2, 2001, 4th 174 Edition, apply: 175 176 can 177 be able to; there is a possibility of; it is possible 178 to 179 180 cannot 181 be unable to; there is no possibilty of; it is not 182 possible to 183 184 may 185 is permitted; is allowed; is permissible 186 187 need not 188 it is not required that; no...is required 189 190 shall 191 is to; is required to; it is required that; has to; 192 only...is permitted; it is necessary 193 194 shall not 195 is not allowed [permitted] [acceptable] [permissible]; 196 is required to be not; is required that...be not; is 197 not to be 198 199 should 200 it is recommended that; ought to 201 202 should not 203 it is not recommended that; ought not to 204 _________________________________________________________ 205 206 Chapter 5. Terminology 207 208 For the purposes of this document, the following terms apply: 209 210 implementation-defined 211 Describes a value or behavior that is not defined by 212 this document but is selected by an implementor. The 213 value or behavior may vary among implementations that 214 conform to this document. An application should not 215 rely on the existence of the value or behavior. An 216 application that relies on such a value or behavior 217 cannot be assured to be portable across conforming 218 implementations. The implementor shall document such a 219 value or behavior so that it can be used correctly by 220 an application. 221 222 Shell Script 223 A file that is read by an interpreter (e.g., awk). The 224 first line of the shell script includes a reference to 225 its interpreter binary. 226 227 undefined 228 Describes the nature of a value or behavior not defined 229 by this document which results from use of an invalid 230 program construct or invalid data input. The value or 231 behavior may vary among implementations that conform to 232 this document. An application should not rely on the 233 existence or validity of the value or behavior. An 234 application that relies on any particular value or 235 behavior cannot be assured to be portable across 236 conforming implementations. 237 238 unspecified 239 Describes the nature of a value or behavior not 240 specified by this document which results from use of a 241 valid program construct or valid data input. The value 242 or behavior may vary among implementations that conform 243 to this document. An application should not rely on the 244 existence or validity of the value or behavior. An 245 application that relies on any particular value or 246 behavior cannot be assured to be portable across 247 conforming implementations. 248 249 Graphics Specification 250 _________________________________________________________ 251 252 Table of Contents 253 I. Graphic Libraries 254 255 1. Libraries 256 257 1.1. Interfaces for libX11 258 1.2. Data Definitions for libX11 259 1.3. Interface Definitions for libX11 260 1.4. Interfaces for libXext 261 1.5. Data Definitions for libXext 262 1.6. Interfaces for libSM 263 1.7. Data Definitions for libSM 264 1.8. Interfaces for libICE 265 1.9. Data Definitions for libICE 266 1.10. Interfaces for libXt 267 1.11. Data Definitions for libXt 268 1.12. Interface Definitions for libXt 269 270 II. OpenGL Libraries 271 272 2. Libraries 273 274 2.1. Interfaces for libGL 275 2.2. Data Definitions for libGL 276 277 III. Package Information 278 279 3. Package Dependencies 280 281 3.1. Package Dependencies 282 283 List of Tables 284 1-1. libX11 Definition 285 1-2. libX11 - X Windows System Interface Function Interfaces 286 1-3. libX11 - X Windows System Interface Data Interfaces 287 1-4. libXext Definition 288 1-5. libXext - X Shape Extension Function Interfaces 289 1-6. libXext - X Display Power Management Signaling Extension 290 Function Interfaces 291 292 1-7. libXext - X Shared Memory Extensions Function Interfaces 293 1-8. libXext - X Synchronization Extension Function Interfaces 294 1-9. libXext - X Security Extension Function Interfaces 295 1-10. libXext - X Double Buffer Extension Function Interfaces 296 1-11. libSM Definition 297 1-12. libSM - Session Management Functions Function Interfaces 298 1-13. libICE Definition 299 1-14. libICE - ICE Functions Function Interfaces 300 1-15. libXt Definition 301 1-16. libXt - X Toolkit Function Interfaces 302 1-17. libXt - X Toolkit Data Interfaces 303 2-1. libGL Definition 304 2-2. libGL - GL X interface Function Interfaces 305 2-3. libGL - OpenGL Function Interfaces 306 307 I. Graphic Libraries 308 309 Table of Contents 310 1. Libraries 311 _________________________________________________________ 312 313 Chapter 1. Libraries 314 315 The X Libraries should be built thread-safe. 316 _________________________________________________________ 317 318 1.1. Interfaces for libX11 319 320 Table 1-1 defines the library name and shared object name for 321 the libX11 library 322 323 Table 1-1. libX11 Definition 324 Library: libX11 325 SONAME: libX11.so.6 326 327 The behavior of the interfaces in this library is specified by 328 the following specifications: 329 330 this specification 331 X11 C Library 332 _________________________________________________________ 333 334 1.1.1. X Windows System Interface 335 _________________________________________________________ 336 337 1.1.1.1. Interfaces for X Windows System Interface 338 339 An LSB conforming implementation shall provide the generic 340 functions for X Windows System Interface specified in Table 341 1-2, with the full functionality as described in the 342 referenced underlying specification. 343 344 Table 1-2. libX11 - X Windows System Interface Function 345 Interfaces 346 XActivateScreenSaver [1] XFreePixmap [1] XSetCloseDownMode [1] 347 XkbAllocGeomColors [1] 348 XAddConnectionWatch [1] XFreeStringList [1] XSetCommand [1] 349 XkbAllocGeomDoodads [1] 350 XAddExtension [1] XGContextFromGC [1] XSetDashes [1] 351 XkbAllocGeomKeyAliases [1] 352 XAddHost [1] XGeometry [1] XSetErrorHandler [1] 353 XkbAllocGeomKeys [1] 354 XAddHosts [1] XGetAtomName [1] XSetFillRule [1] 355 XkbAllocGeomOutlines [1] 356 XAddPixel [1] XGetAtomNames [1] XSetFillStyle [1] 357 XkbAllocGeomOverlayKeys [1] 358 XAddToExtensionList [1] XGetClassHint [1] XSetFont [1] 359 XkbAllocGeomOverlayRows [1] 360 XAddToSaveSet [1] XGetCommand [1] XSetFontPath [1] 361 XkbAllocGeomOverlays [1] 362 XAllPlanes [1] XGetDefault [1] XSetForeground [1] 363 XkbAllocGeomPoints [1] 364 XAllocClassHint [1] XGetErrorDatabaseText [1] XSetFunction [1] 365 XkbAllocGeomProps [1] 366 XAllocColor [1] XGetErrorText [1] XSetGraphicsExposures [1] 367 XkbAllocGeomRows [1] 368 XAllocColorCells [1] XGetFontPath [1] XSetICFocus [1] 369 XkbAllocGeomSectionDoodads [1] 370 XAllocColorPlanes [1] XGetFontProperty [1] XSetICValues [1] 371 XkbAllocGeomSections [1] 372 XAllocIconSize [1] XGetGCValues [1] XSetIMValues [1] 373 XkbAllocGeomShapes [1] 374 XAllocNamedColor [1] XGetGeometry [1] XSetIOErrorHandler [1] 375 XkbAllocGeometry [1] 376 XAllocSizeHints [1] XGetICValues [1] XSetIconName [1] 377 XkbAllocIndicatorMaps [1] 378 XAllocStandardColormap [1] XGetIMValues [1] XSetIconSizes [1] 379 XkbAllocKeyboard [1] 380 XAllocWMHints [1] XGetIconName [1] XSetInputFocus [1] 381 XkbAllocNames [1] 382 XAllowEvents [1] XGetIconSizes [1] XSetLineAttributes [1] 383 XkbAllocServerMap [1] 384 XAutoRepeatOff [1] XGetImage [1] XSetLocaleModifiers [1] 385 XkbApplyCompatMapToKey [1] 386 XAutoRepeatOn [1] XGetInputFocus [1] XSetModifierMapping [1] 387 XkbBell [1] 388 XBaseFontNameListOfFontSet [1] XGetKeyboardControl [1] 389 XSetNormalHints [1] XkbBellEvent [1] 390 XBell [1] XGetKeyboardMapping [1] XSetOCValues [1] 391 XkbChangeEnabledControls [1] 392 XBitmapBitOrder [1] XGetModifierMapping [1] XSetOMValues [1] 393 XkbChangeMap [1] 394 XBitmapPad [1] XGetMotionEvents [1] XSetPlaneMask [1] 395 XkbChangeNames [1] 396 XBitmapUnit [1] XGetNormalHints [1] XSetPointerMapping [1] 397 XkbChangeTypesOfKey [1] 398 XBlackPixel [1] XGetOCValues [1] XSetRGBColormaps [1] 399 XkbComputeEffectiveMap [1] 400 XBlackPixelOfScreen [1] XGetOMValues [1] XSetRegion [1] 401 XkbComputeRowBounds [1] 402 XCellsOfScreen [1] XGetPixel [1] XSetScreenSaver [1] 403 XkbComputeSectionBounds [1] 404 XChangeActivePointerGrab [1] XGetPointerControl [1] 405 XSetSelectionOwner [1] XkbComputeShapeBounds [1] 406 XChangeGC [1] XGetPointerMapping [1] XSetSizeHints [1] 407 XkbComputeShapeTop [1] 408 XChangeKeyboardControl [1] XGetRGBColormaps [1] 409 XSetStandardColormap [1] XkbCopyKeyType [1] 410 XChangeKeyboardMapping [1] XGetScreenSaver [1] 411 XSetStandardProperties [1] XkbCopyKeyTypes [1] 412 XChangePointerControl [1] XGetSelectionOwner [1] XSetState [1] 413 XkbFindOverlayForKey [1] 414 XChangeProperty [1] XGetSizeHints [1] XSetStipple [1] 415 XkbForceBell [1] 416 XChangeSaveSet [1] XGetStandardColormap [1] XSetSubwindowMode 417 [1] XkbFreeClientMap [1] 418 XChangeWindowAttributes [1] XGetSubImage [1] XSetTSOrigin [1] 419 XkbFreeCompatMap [1] 420 XCheckIfEvent [1] XGetTextProperty [1] XSetTextProperty [1] 421 XkbFreeComponentList [1] 422 XCheckMaskEvent [1] XGetTransientForHint [1] XSetTile [1] 423 XkbFreeControls [1] 424 XCheckTypedEvent [1] XGetVisualInfo [1] XSetTransientForHint 425 [1] XkbFreeGeomColors [1] 426 XCheckTypedWindowEvent [1] XGetWMClientMachine [1] 427 XSetWMClientMachine [1] XkbFreeGeomDoodads [1] 428 XCheckWindowEvent [1] XGetWMColormapWindows [1] 429 XSetWMColormapWindows [1] XkbFreeGeomKeyAliases [1] 430 XCirculateSubwindows [1] XGetWMHints [1] XSetWMHints [1] 431 XkbFreeGeomKeys [1] 432 XCirculateSubwindowsDown [1] XGetWMIconName [1] XSetWMIconName 433 [1] XkbFreeGeomOutlines [1] 434 XCirculateSubwindowsUp [1] XGetWMName [1] XSetWMName [1] 435 XkbFreeGeomOverlayKeys [1] 436 XClearArea [1] XGetWMNormalHints [1] XSetWMNormalHints [1] 437 XkbFreeGeomOverlayRows [1] 438 XClearWindow [1] XGetWMProtocols [1] XSetWMProperties [1] 439 XkbFreeGeomOverlays [1] 440 XClipBox [1] XGetWMSizeHints [1] XSetWMProtocols [1] 441 XkbFreeGeomPoints [1] 442 XCloseDisplay [1] XGetWindowAttributes [1] XSetWMSizeHints [1] 443 XkbFreeGeomProperties [1] 444 XCloseIM [1] XGetWindowProperty [1] XSetWindowBackground [1] 445 XkbFreeGeomRows [1] 446 XCloseOM [1] XGetZoomHints [1] XSetWindowBackgroundPixmap [1] 447 XkbFreeGeomSections [1] 448 XConfigureWindow [1] XGrabButton [1] XSetWindowBorder [1] 449 XkbFreeGeomShapes [1] 450 XConnectionNumber [1] XGrabKey [1] XSetWindowBorderPixmap [1] 451 XkbFreeGeometry [1] 452 XContextDependentDrawing [1] XGrabKeyboard [1] 453 XSetWindowBorderWidth [1] XkbFreeIndicatorMaps [1] 454 XContextualDrawing [1] XGrabPointer [1] XSetWindowColormap [1] 455 XkbFreeKeyboard [1] 456 XConvertCase [1] XGrabServer [1] XSetZoomHints [1] 457 XkbFreeNames [1] 458 XConvertSelection [1] XHeightMMOfScreen [1] XShrinkRegion [1] 459 XkbFreeServerMap [1] 460 XCopyArea [1] XHeightOfScreen [1] XStoreBuffer [1] 461 XkbGetAutoRepeatRate [1] 462 XCopyColormapAndFree [1] XIMOfIC [1] XStoreBytes [1] 463 XkbGetCompatMap [1] 464 XCopyGC [1] XIconifyWindow [1] XStoreColor [1] XkbGetControls 465 [1] 466 XCopyPlane [1] XIfEvent [1] XStoreColors [1] XkbGetGeometry 467 [1] 468 XCreateBitmapFromData [1] XImageByteOrder [1] XStoreName [1] 469 XkbGetIndicatorMap [1] 470 XCreateColormap [1] XInitExtension [1] XStoreNamedColor [1] 471 XkbGetIndicatorState [1] 472 XCreateFontCursor [1] XInitImage [1] XStringListToTextProperty 473 [1] XkbGetKeyActions [1] 474 XCreateFontSet [1] XInitThreads [1] XStringToKeysym [1] 475 XkbGetKeyBehaviors [1] 476 XCreateGC [1] XInsertModifiermapEntry [1] XSubImage [1] 477 XkbGetKeyExplicitComponents [1] 478 XCreateGlyphCursor [1] XInstallColormap [1] XSubtractRegion 479 [1] XkbGetKeyModifierMap [1] 480 XCreateIC [1] XInternAtom [1] XSupportsLocale [1] 481 XkbGetKeySyms [1] 482 XCreateImage [1] XInternAtoms [1] XSync [1] XkbGetKeyTypes [1] 483 XCreateOC [1] XInternalConnectionNumbers [1] XTextExtents [1] 484 XkbGetKeyboard [1] 485 XCreatePixmap [1] XIntersectRegion [1] XTextExtents16 [1] 486 XkbGetKeyboardByName [1] 487 XCreatePixmapCursor [1] XKeycodeToKeysym [1] 488 XTextPropertyToStringList [1] XkbGetMap [1] 489 XCreatePixmapFromBitmapData [1] XKeysymToKeycode [1] 490 XTextWidth [1] XkbGetMapChanges [1] 491 XCreateRegion [1] XKeysymToString [1] XTextWidth16 [1] 492 XkbGetNamedGeometry [1] 493 XCreateSimpleWindow [1] XKillClient [1] XTranslateCoordinates 494 [1] XkbGetNamedIndicator [1] 495 XCreateWindow [1] XLastKnownRequestProcessed [1] 496 XUndefineCursor [1] XkbGetNames [1] 497 XDefaultColormap [1] XListDepths [1] XUngrabButton [1] 498 XkbGetState [1] 499 XDefaultColormapOfScreen [1] XListExtensions [1] XUngrabKey 500 [1] XkbGetUpdatedMap [1] 501 XDefaultDepth [1] XListFonts [1] XUngrabKeyboard [1] 502 XkbGetVirtualMods [1] 503 XDefaultDepthOfScreen [1] XListFontsWithInfo [1] 504 XUngrabPointer [1] XkbGetXlibControls [1] 505 XDefaultGC [1] XListHosts [1] XUngrabServer [1] 506 XkbIgnoreExtension [1] 507 XDefaultGCOfScreen [1] XListInstalledColormaps [1] 508 XUninstallColormap [1] XkbInitCanonicalKeyTypes [1] 509 XDefaultRootWindow [1] XListPixmapFormats [1] 510 XUnionRectWithRegion [1] XkbKeyTypesForCoreSymbols [1] 511 XDefaultScreen [1] XListProperties [1] XUnionRegion [1] 512 XkbKeycodeToKeysym [1] 513 XDefaultScreenOfDisplay [1] XLoadFont [1] XUnloadFont [1] 514 XkbKeysymToModifiers [1] 515 XDefaultString [1] XLoadQueryFont [1] XUnlockDisplay [1] 516 XkbLatchGroup [1] 517 XDefaultVisual [1] XLocaleOfFontSet [1] XUnmapSubwindows [1] 518 XkbLatchModifiers [1] 519 XDefaultVisualOfScreen [1] XLocaleOfIM [1] XUnmapWindow [1] 520 XkbLibraryVersion [1] 521 XDefineCursor [1] XLocaleOfOM [1] 522 XUnregisterIMInstantiateCallback [1] XkbListComponents [1] 523 XDeleteContext [1] XLockDisplay [1] XUnsetICFocus [1] 524 XkbLockGroup [1] 525 XDeleteModifiermapEntry [1] XLookupColor [1] 526 XVaCreateNestedList [1] XkbLockModifiers [1] 527 XDeleteProperty [1] XLookupKeysym [1] XVendorRelease [1] 528 XkbLookupKeyBinding [1] 529 XDestroyIC [1] XLookupString [1] XVisualIDFromVisual [1] 530 XkbLookupKeySym [1] 531 XDestroyImage [1] XLowerWindow [1] XWMGeometry [1] 532 XkbNoteControlsChanges [1] 533 XDestroyOC [1] XMapRaised [1] XWarpPointer [1] 534 XkbNoteMapChanges [1] 535 XDestroyRegion [1] XMapSubwindows [1] XWhitePixel [1] 536 XkbNoteNameChanges [1] 537 XDestroySubwindows [1] XMapWindow [1] XWhitePixelOfScreen [1] 538 XkbOpenDisplay [1] 539 XDestroyWindow [1] XMaskEvent [1] XWidthMMOfScreen [1] 540 XkbQueryExtension [1] 541 XDirectionalDependentDrawing [1] XMatchVisualInfo [1] 542 XWidthOfScreen [1] XkbRefreshKeyboardMapping [1] 543 XDisableAccessControl [1] XMaxCmapsOfScreen [1] XWindowEvent 544 [1] XkbResizeKeyActions [1] 545 XDisplayCells [1] XMaxRequestSize [1] XWithdrawWindow [1] 546 XkbResizeKeySyms [1] 547 XDisplayHeight [1] XMinCmapsOfScreen [1] XWriteBitmapFile [1] 548 XkbResizeKeyType [1] 549 XDisplayHeightMM [1] XMoveResizeWindow [1] XXorRegion [1] 550 XkbSelectEventDetails [1] 551 XDisplayKeycodes [1] XMoveWindow [1] XauDisposeAuth [1] 552 XkbSelectEvents [1] 553 XDisplayMotionBufferSize [1] XNewModifiermap [1] XauFileName 554 [1] XkbSetAtomFuncs [1] 555 XDisplayName [1] XNextEvent [1] XauGetBestAuthByAddr [1] 556 XkbSetAutoRepeatRate [1] 557 XDisplayOfIM [1] XNextRequest [1] XauReadAuth [1] 558 XkbSetAutoResetControls [1] 559 XDisplayOfOM [1] XNoOp [1] XcmsAddColorSpace [1] 560 XkbSetCompatMap [1] 561 XDisplayOfScreen [1] XOMOfOC [1] XcmsAddFunctionSet [1] 562 XkbSetControls [1] 563 XDisplayPlanes [1] XOffsetRegion [1] XcmsAllocColor [1] 564 XkbSetDebuggingFlags [1] 565 XDisplayString [1] XOpenDisplay [1] XcmsAllocNamedColor [1] 566 XkbSetDetectableAutoRepeat [1] 567 XDisplayWidth [1] XOpenIM [1] XcmsCCCOfColormap [1] 568 XkbSetGeometry [1] 569 XDisplayWidthMM [1] XOpenOM [1] XcmsCIELabClipL [1] 570 XkbSetIgnoreLockMods [1] 571 XDoesBackingStore [1] XParseColor [1] XcmsCIELabClipLab [1] 572 XkbSetIndicatorMap [1] 573 XDoesSaveUnders [1] XParseGeometry [1] XcmsCIELabClipab [1] 574 XkbSetMap [1] 575 XDrawArc [1] XPeekEvent [1] XcmsCIELabQueryMaxC [1] 576 XkbSetNamedIndicator [1] 577 XDrawArcs [1] XPeekIfEvent [1] XcmsCIELabQueryMaxL [1] 578 XkbSetNames [1] 579 XDrawImageString [1] XPending [1] XcmsCIELabQueryMaxLC [1] 580 XkbSetServerInternalMods [1] 581 XDrawImageString16 [1] XPlanesOfScreen [1] XcmsCIELabQueryMinL 582 [1] XkbSetXlibControls [1] 583 XDrawLine [1] XPointInRegion [1] XcmsCIELabToCIEXYZ [1] 584 XkbToControl [1] 585 XDrawLines [1] XPolygonRegion [1] XcmsCIELabWhiteShiftColors 586 [1] XkbTranslateKeyCode [1] 587 XDrawPoint [1] XProcessInternalConnection [1] XcmsCIELuvClipL 588 [1] XkbTranslateKeySym [1] 589 XDrawPoints [1] XProtocolRevision [1] XcmsCIELuvClipLuv [1] 590 XkbUpdateMapFromCore [1] 591 XDrawRectangle [1] XProtocolVersion [1] XcmsCIELuvClipuv [1] 592 XkbUseExtension [1] 593 XDrawRectangles [1] XPutBackEvent [1] XcmsCIELuvQueryMaxC [1] 594 XkbVirtualModsToReal [1] 595 XDrawSegments [1] XPutImage [1] XcmsCIELuvQueryMaxL [1] 596 XmbDrawImageString [1] 597 XDrawString [1] XPutPixel [1] XcmsCIELuvQueryMaxLC [1] 598 XmbDrawString [1] 599 XDrawString16 [1] XQLength [1] XcmsCIELuvQueryMinL [1] 600 XmbDrawText [1] 601 XDrawText [1] XQueryBestCursor [1] XcmsCIELuvToCIEuvY [1] 602 XmbLookupString [1] 603 XDrawText16 [1] XQueryBestSize [1] XcmsCIELuvWhiteShiftColors 604 [1] XmbResetIC [1] 605 XEHeadOfExtensionList [1] XQueryBestStipple [1] 606 XcmsCIEXYZToCIELab [1] XmbSetWMProperties [1] 607 XESetBeforeFlush [1] XQueryBestTile [1] XcmsCIEXYZToCIEuvY [1] 608 XmbTextEscapement [1] 609 XESetCloseDisplay [1] XQueryColor [1] XcmsCIEXYZToCIExyY [1] 610 XmbTextExtents [1] 611 XESetCopyGC [1] XQueryColors [1] XcmsCIEXYZToRGBi [1] 612 XmbTextListToTextProperty [1] 613 XESetCreateFont [1] XQueryExtension [1] XcmsCIEuvYToCIELuv [1] 614 XmbTextPerCharExtents [1] 615 XESetCreateGC [1] XQueryFont [1] XcmsCIEuvYToCIEXYZ [1] 616 XmbTextPropertyToTextList [1] 617 XESetError [1] XQueryKeymap [1] XcmsCIEuvYToTekHVC [1] 618 XrmCombineDatabase [1] 619 XESetErrorString [1] XQueryPointer [1] XcmsCIExyYToCIEXYZ [1] 620 XrmCombineFileDatabase [1] 621 XESetEventToWire [1] XQueryTextExtents [1] 622 XcmsClientWhitePointOfCCC [1] XrmDestroyDatabase [1] 623 XESetFlushGC [1] XQueryTextExtents16 [1] XcmsConvertColors [1] 624 XrmEnumerateDatabase [1] 625 XESetFreeFont [1] XQueryTree [1] XcmsCreateCCC [1] 626 XrmGetDatabase [1] 627 XESetFreeGC [1] XRaiseWindow [1] XcmsDefaultCCC [1] 628 XrmGetFileDatabase [1] 629 XESetPrintErrorValues [1] XReadBitmapFile [1] XcmsDisplayOfCCC 630 [1] XrmGetResource [1] 631 XESetWireToError [1] XReadBitmapFileData [1] 632 XcmsFormatOfPrefix [1] XrmGetStringDatabase [1] 633 XESetWireToEvent [1] XRebindKeysym [1] XcmsFreeCCC [1] 634 XrmInitialize [1] 635 XEmptyRegion [1] XRecolorCursor [1] XcmsLookupColor [1] 636 XrmLocaleOfDatabase [1] 637 XEnableAccessControl [1] XReconfigureWMWindow [1] 638 XcmsPrefixOfFormat [1] XrmMergeDatabases [1] 639 XEqualRegion [1] XRectInRegion [1] XcmsQueryBlack [1] 640 XrmParseCommand [1] 641 XEventMaskOfScreen [1] XRefreshKeyboardMapping [1] 642 XcmsQueryBlue [1] XrmPermStringToQuark [1] 643 XEventsQueued [1] XRegisterIMInstantiateCallback [1] 644 XcmsQueryColor [1] XrmPutFileDatabase [1] 645 XExtendedMaxRequestSize [1] XRemoveConnectionWatch [1] 646 XcmsQueryColors [1] XrmPutLineResource [1] 647 XExtentsOfFontSet [1] XRemoveFromSaveSet [1] XcmsQueryGreen 648 [1] XrmPutResource [1] 649 XFetchBuffer [1] XRemoveHost [1] XcmsQueryRed [1] 650 XrmPutStringResource [1] 651 XFetchBytes [1] XRemoveHosts [1] XcmsQueryWhite [1] 652 XrmQGetResource [1] 653 XFetchName [1] XReparentWindow [1] XcmsRGBToRGBi [1] 654 XrmQGetSearchList [1] 655 XFillArc [1] XResetScreenSaver [1] XcmsRGBiToCIEXYZ [1] 656 XrmQGetSearchResource [1] 657 XFillArcs [1] XResizeWindow [1] XcmsRGBiToRGB [1] 658 XrmQPutResource [1] 659 XFillPolygon [1] XResourceManagerString [1] 660 XcmsScreenNumberOfCCC [1] XrmQPutStringResource [1] 661 XFillRectangle [1] XRestackWindows [1] 662 XcmsScreenWhitePointOfCCC [1] XrmQuarkToString [1] 663 XFillRectangles [1] XRootWindow [1] XcmsSetCCCOfColormap [1] 664 XrmSetDatabase [1] 665 XFilterEvent [1] XRootWindowOfScreen [1] 666 XcmsSetCompressionProc [1] XrmStringToBindingQuarkList [1] 667 XFindContext [1] XRotateBuffers [1] XcmsSetWhiteAdjustProc [1] 668 XrmStringToQuark [1] 669 XFindOnExtensionList [1] XRotateWindowProperties [1] 670 XcmsSetWhitePoint [1] XrmStringToQuarkList [1] 671 XFlush [1] XSaveContext [1] XcmsStoreColor [1] XrmUniqueQuark 672 [1] 673 XFlushGC [1] XScreenCount [1] XcmsStoreColors [1] 674 Xutf8TextListToTextProperty [2] 675 XFontsOfFontSet [1] XScreenNumberOfScreen [1] XcmsTekHVCClipC 676 [1] Xutf8TextPropertyToTextList [2] 677 XForceScreenSaver [1] XScreenOfDisplay [1] XcmsTekHVCClipV [1] 678 XwcDrawImageString [1] 679 XFree [1] XScreenResourceString [1] XcmsTekHVCClipVC [1] 680 XwcDrawString [1] 681 XFreeColormap [1] XSelectInput [1] XcmsTekHVCQueryMaxC [1] 682 XwcDrawText [1] 683 XFreeColors [1] XSendEvent [1] XcmsTekHVCQueryMaxV [1] 684 XwcFreeStringList [1] 685 XFreeCursor [1] XServerVendor [1] XcmsTekHVCQueryMaxVC [1] 686 XwcLookupString [1] 687 XFreeExtensionList [1] XSetAccessControl [1] 688 XcmsTekHVCQueryMaxVSamples [1] XwcResetIC [1] 689 XFreeFont [1] XSetArcMode [1] XcmsTekHVCQueryMinV [1] 690 XwcTextEscapement [1] 691 XFreeFontInfo [1] XSetAuthorization [1] XcmsTekHVCToCIEuvY [1] 692 XwcTextExtents [1] 693 XFreeFontNames [1] XSetBackground [1] 694 XcmsTekHVCWhiteShiftColors [1] XwcTextListToTextProperty [1] 695 XFreeFontPath [1] XSetClassHint [1] XcmsVisualOfCCC [1] 696 XwcTextPerCharExtents [1] 697 XFreeFontSet [1] XSetClipMask [1] XkbAllocClientMap [1] 698 XwcTextPropertyToTextList [1] 699 XFreeGC [1] XSetClipOrigin [1] XkbAllocCompatMap [1] 700 XFreeModifiermap [1] XSetClipRectangles [1] XkbAllocControls 701 [1] 702 703 Referenced Specification(s) 704 705 [1]. X11 C Library 706 707 [2]. this specification 708 709 An LSB conforming implementation shall provide the generic 710 data interfaces for X Windows System Interface specified in 711 Table 1-3, with the full functionality as described in the 712 referenced underlying specification. 713 714 Table 1-3. libX11 - X Windows System Interface Data Interfaces 715 XSetAfterFunction [1] XSynchronize [1] 716 717 Referenced Specification(s) 718 719 [1]. X11 C Library 720 _________________________________________________________ 721 722 1.2. Data Definitions for libX11 723 724 This section defines global identifiers and their values that 725 are associated with interfaces contained in libX11. These 726 definitions are organized into groups that correspond to 727 system headers. This convention is used as a convenience for 728 the reader, and does not imply the existence of these headers, 729 or their content. 730 731 These definitions are intended to supplement those provided in 732 the referenced underlying specifications. 733 734 This specification uses ISO/IEC 9899 C Language as the 735 reference programming language, and data definitions are 736 specified in ISO C format. The C language is used here as a 737 convenient notation. Using a C language description of these 738 data objects does not preclude their use by other programming 739 languages. 740 _________________________________________________________ 741 742 1.2.1. X11/X.h 743 744 typedef unsigned long XID; 745 typedef unsigned long Atom; 746 typedef unsigned long VisualID; 747 typedef unsigned long Time; 748 typedef XID Window; 749 typedef XID Font; 750 typedef XID Pixmap; 751 typedef unsigned char KeyCode; 752 typedef XID Drawable; 753 typedef XID Cursor; 754 typedef XID Colormap; 755 typedef XID GContext; 756 typedef XID KeySym; 757 #define AllTemporary 0L 758 #define AnyButton 0L 759 #define AnyKey 0L 760 #define AnyPropertyType 0L 761 #define CopyFromParent 0L 762 #define CurrentTime 0L 763 #define NoSymbol 0L 764 #define None 0L 765 #define PointerWindow 0L 766 #define InputFocus 1L 767 #define ParentRelative 1L 768 #define PointerRoot 1L 769 770 #define KeyPressMask (1L<<0) 771 #define KeyReleaseMask (1L<<1) 772 #define Button3MotionMask (1L<<10) 773 #define Button4MotionMask (1L<<11) 774 #define Button5MotionMask (1L<<12) 775 #define ButtonMotionMask (1L<<13) 776 #define KeymapStateMask (1L<<14) 777 #define ExposureMask (1L<<15) 778 #define VisibilityChangeMask (1L<<16) 779 #define StructureNotifyMask (1L<<17) 780 #define ResizeRedirectMask (1L<<18) 781 #define SubstructureNotifyMask (1L<<19) 782 #define ButtonPressMask (1L<<2) 783 #define SubstructureRedirectMask (1L<<20) 784 #define FocusChangeMask (1L<<21) 785 #define PropertyChangeMask (1L<<22) 786 #define ColormapChangeMask (1L<<23) 787 #define ButtonReleaseMask (1L<<3) 788 #define EnterWindowMask (1L<<4) 789 #define LeaveWindowMask (1L<<5) 790 #define PointerMotionMask (1L<<6) 791 #define PointerMotionHintMask (1L<<7) 792 #define Button1MotionMask (1L<<8) 793 #define Button2MotionMask (1L<<9) 794 795 #define NoEventMask 0L 796 #define FocusOut 10 797 #define KeymapNotify 11 798 #define Expose 12 799 #define GraphicsExpose 13 800 #define NoExpose 14 801 #define VisibilityNotify 15 802 #define CreateNotify 16 803 #define DestroyNotify 17 804 #define UnmapNotify 18 805 #define MapNotify 19 806 #define KeyPress 2 807 #define MapRequest 20 808 #define ReparentNotify 21 809 #define ConfigureNotify 22 810 #define ConfigureRequest 23 811 #define GravityNotify 24 812 #define ResizeRequest 25 813 #define CirculateNotify 26 814 #define CirculateRequest 27 815 #define PropertyNotify 28 816 #define SelectionClear 29 817 #define KeyRelease 3 818 #define SelectionRequest 30 819 #define SelectionNotify 31 820 #define ColormapNotify 32 821 #define ClientMessage 33 822 #define MappingNotify 34 823 #define LASTEvent 35 824 #define ButtonPress 4 825 #define ButtonRelease 5 826 #define MotionNotify 6 827 #define EnterNotify 7 828 #define LeaveNotify 8 829 #define FocusIn 9 830 831 #define ShiftMask (1<<0) 832 #define LockMask (1<<1) 833 #define ControlMask (1<<2) 834 #define Mod1Mask (1<<3) 835 #define Mod2Mask (1<<4) 836 #define Mod3Mask (1<<5) 837 #define Mod4Mask (1<<6) 838 #define Mod5Mask (1<<7) 839 840 #define ShiftMapIndex 0 841 #define LockMapIndex 1 842 #define ControlMapIndex 2 843 #define Mod1MapIndex 3 844 #define Mod2MapIndex 4 845 #define Mod3MapIndex 5 846 #define Mod4MapIndex 6 847 #define Mod5MapIndex 7 848 849 #define Button3Mask (1<<10) 850 #define Button4Mask (1<<11) 851 #define Button5Mask (1<<12) 852 #define AnyModifier (1<<15) 853 #define Button1Mask (1<<8) 854 #define Button2Mask (1<<9) 855 856 #define Button1 1 857 #define Button2 2 858 #define Button3 3 859 #define Button4 4 860 #define Button5 5 861 862 #define NotifyNormal 0 863 #define NotifyGrab 1 864 #define NotifyHint 1 865 #define NotifyUngrab 2 866 #define NotifyWhileGrabbed 3 867 868 #define NotifyAncestor 0 869 #define NotifyVirtual 1 870 #define NotifyInferior 2 871 #define NotifyNonlinear 3 872 #define NotifyNonlinearVirtual 4 873 #define NotifyPointer 5 874 #define NotifyPointerRoot 6 875 #define NotifyDetailNone 7 876 877 #define VisibilityUnobscured 0 878 #define VisibilityPartiallyObscured 1 879 #define VisibilityFullyObscured 2 880 881 #define PlaceOnTop 0 882 #define PlaceOnBottom 1 883 884 #define FamilyInternet 0 885 #define FamilyDECnet 1 886 #define FamilyChaos 2 887 888 #define PropModeReplace 0 889 #define PropertyNewValue 0 890 #define PropertyDelete 1 891 892 #define ColormapUninstalled 0 893 #define ColormapInstalled 1 894 895 #define GrabModeSync 0 896 #define GrabModeAsync 1 897 898 #define GrabSuccess 0 899 #define AlreadyGrabbed 1 900 #define GrabInvalidTime 2 901 #define GrabNotViewable 3 902 #define GrabFrozen 4 903 904 #define AsyncPointer 0 905 #define SyncPointer 1 906 #define ReplayPointer 2 907 #define AsyncKeyboard 3 908 #define SyncKeyboard 4 909 #define ReplayKeyboard 5 910 #define AsyncBoth 6 911 #define SyncBoth 7 912 913 #define RevertToNone (int)None 914 #define RevertToPointerRoot (int)PointerRoot 915 #define RevertToParent 2 916 917 #define Success 0 918 #define BadRequest 1 919 #define BadAccess 10 920 #define BadAlloc 11 921 #define BadColor 12 922 #define FirstExtensionError 128 923 #define BadGC 13 924 #define BadIDChoice 14 925 #define BadName 15 926 #define BadLength 16 927 #define BadImplementation 17 928 #define BadValue 2 929 #define LastExtensionError 255 930 #define BadWindow 3 931 #define BadPixmap 4 932 #define BadAtom 5 933 #define BadCursor 6 934 #define BadFont 7 935 #define BadMatch 8 936 #define BadDrawable 9 937 938 #define CWX (1<<0) 939 #define InputOutput 1 940 #define InputOnly 2 941 942 #define CWBackPixmap (1L<<0) 943 #define CWBackPixel (1L<<1) 944 #define CWSaveUnder (1L<<10) 945 #define CWEventMask (1L<<11) 946 #define CWDontPropagate (1L<<12) 947 #define CWColormap (1L<<13) 948 #define CWCursor (1L<<14) 949 #define CWBorderPixmap (1L<<2) 950 #define CWBorderPixel (1L<<3) 951 #define CWBitGravity (1L<<4) 952 #define CWWinGravity (1L<<5) 953 #define CWBackingStore (1L<<6) 954 #define CWBackingPlanes (1L<<7) 955 #define CWBackingPixel (1L<<8) 956 #define CWOverrideRedirect (1L<<9) 957 958 #define CWY (1<<1) 959 #define CWWidth (1<<2) 960 #define CWHeight (1<<3) 961 #define CWBorderWidth (1<<4) 962 #define CWSibling (1<<5) 963 #define CWStackMode (1<<6) 964 965 #define ForgetGravity 0 966 #define UnmapGravity 0 967 #define NorthWestGravity 1 968 #define StaticGravity 10 969 #define NorthGravity 2 970 #define NorthEastGravity 3 971 #define WestGravity 4 972 #define CenterGravity 5 973 #define EastGravity 6 974 #define SouthWestGravity 7 975 #define SouthGravity 8 976 #define SouthEastGravity 9 977 978 #define NotUseful 0 979 #define WhenMapped 1 980 #define Always 2 981 982 #define IsUnmapped 0 983 #define IsUnviewable 1 984 #define IsViewable 2 985 986 #define SetModeInsert 0 987 #define SetModeDelete 1 988 989 #define DestroyAll 0 990 #define RetainPermanent 1 991 #define RetainTemporary 2 992 993 #define Above 0 994 #define Below 1 995 #define TopIf 2 996 #define BottomIf 3 997 998 #define RaiseLowest 0 999 #define LowerHighest 1 1000 1001 #define PropModePrepend 1 1002 #define PropModeAppend 2 1003 1004 #define GXclear 0x0 1005 #define GXand 0x1 1006 #define GXandReverse 0x2 1007 #define GXcopy 0x3 1008 #define GXandInverted 0x4 1009 #define GXnoop 0x5 1010 #define GXxor 0x6 1011 #define GXor 0x7 1012 #define GXnor 0x8 1013 #define GXequiv 0x9 1014 #define GXinvert 0xa 1015 #define GXorReverse 0xb 1016 #define GXcopyInverted 0xc 1017 #define GXorInverted 0xd 1018 #define GXnand 0xe 1019 #define GXset 0xf 1020 1021 #define LineSolid 0 1022 #define LineOnOffDash 1 1023 #define LineDoubleDash 2 1024 1025 #define CapNotLast 0 1026 #define CapButt 1 1027 #define CapRound 2 1028 #define CapProjecting 3 1029 1030 #define JoinMiter 0 1031 #define JoinRound 1 1032 #define JoinBevel 2 1033 1034 #define FillSolid 0 1035 #define FillTiled 1 1036 #define FillStippled 2 1037 #define FillOpaqueStippled 3 1038 1039 #define EvenOddRule 0 1040 #define WindingRule 1 1041 1042 #define ClipByChildren 0 1043 #define IncludeInferiors 1 1044 1045 #define Unsorted 0 1046 #define XYBitmap 0 1047 #define YSorted 1 1048 #define YXSorted 2 1049 #define YXBanded 3 1050 1051 #define CoordModeOrigin 0 1052 #define CoordModePrevious 1 1053 1054 #define Complex 0 1055 #define Nonconvex 1 1056 #define Convex 2 1057 1058 #define ArcChord 0 1059 #define ArcPieSlice 1 1060 1061 #define GCFunction (1L<<0) 1062 #define GCPlaneMask (1L<<1) 1063 #define GCTile (1L<<10) 1064 #define GCStipple (1L<<11) 1065 #define GCTileStipXOrigin (1L<<12) 1066 #define GCTileStipYOrigin (1L<<13) 1067 #define GCFont (1L<<14) 1068 #define GCSubwindowMode (1L<<15) 1069 #define GCGraphicsExposures (1L<<16) 1070 #define GCClipXOrigin (1L<<17) 1071 #define GCClipYOrigin (1L<<18) 1072 #define GCClipMask (1L<<19) 1073 #define GCForeground (1L<<2) 1074 #define GCDashOffset (1L<<20) 1075 #define GCDashList (1L<<21) 1076 #define GCArcMode (1L<<22) 1077 #define GCBackground (1L<<3) 1078 #define GCLineWidth (1L<<4) 1079 #define GCLineStyle (1L<<5) 1080 #define GCCapStyle (1L<<6) 1081 #define GCJoinStyle (1L<<7) 1082 #define GCFillStyle (1L<<8) 1083 #define GCFillRule (1L<<9) 1084 #define GCLastBit 22 1085 #define FontChange 255 1086 1087 #define FontLeftToRight 0 1088 #define FontRightToLeft 1 1089 1090 #define XYPixmap 1 1091 #define ZPixmap 2 1092 1093 #define AllocNone 0 1094 #define AllocAll 1 1095 1096 #define DoRed (1<<0) 1097 #define DoGreen (1<<1) 1098 #define DoBlue (1<<2) 1099 1100 #define CursorShape 0 1101 #define TileShape 1 1102 #define StippleShape 2 1103 1104 #define AutoRepeatModeOff 0 1105 #define LedModeOff 0 1106 #define AutoRepeatModeOn 1 1107 #define LedModeOn 1 1108 #define AutoRepeatModeDefault 2 1109 1110 #define KBKeyClickPercent (1L<<0) 1111 #define KBBellPercent (1L<<1) 1112 #define KBBellPitch (1L<<2) 1113 #define KBBellDuration (1L<<3) 1114 #define KBLed (1L<<4) 1115 #define KBLedMode (1L<<5) 1116 #define KBKey (1L<<6) 1117 #define KBAutoRepeatMode (1L<<7) 1118 #define MappingModifier 0 1119 #define MappingSuccess 0 1120 #define MappingBusy 1 1121 #define MappingKeyboard 1 1122 #define MappingFailed 2 1123 #define MappingPointer 2 1124 1125 #define DisableScreenInterval 0 1126 #define DisableScreenSaver 0 1127 #define DontAllowExposures 0 1128 #define DontPreferBlanking 0 1129 #define AllowExposures 1 1130 #define PreferBlanking 1 1131 #define DefaultBlanking 2 1132 #define DefaultExposures 2 1133 1134 #define ScreenSaverReset 0 1135 #define ScreenSaverActive 1 1136 1137 #define HostInsert 0 1138 #define HostDelete 1 1139 1140 #define DisableAccess 0 1141 #define EnableAccess 1 1142 1143 #define StaticGray 0 1144 #define GrayScale 1 1145 #define StaticColor 2 1146 #define PseudoColor 3 1147 #define TrueColor 4 1148 #define DirectColor 5 1149 1150 #define LSBFirst 0 1151 #define MSBFirst 1 1152 _________________________________________________________ 1153 1154 1.2.2. X11/Xauth.h 1155 1156 typedef struct xauth 1157 { 1158 unsigned short family; 1159 unsigned short address_length; 1160 char *address; 1161 unsigned short number_length; 1162 char *number; 1163 unsigned short name_length; 1164 char *name; 1165 unsigned short data_length; 1166 char *data; 1167 } 1168 Xauth; 1169 _________________________________________________________ 1170 1171 1.2.3. X11/Xcms.h 1172 1173 typedef struct _XcmsFunctionSet 1174 { 1175 XcmsColorSpace **DDColorSpaces; 1176 XcmsScreenInitProc screenInitProc; 1177 XcmsScreenFreeProc screenFreeProc; 1178 } 1179 XcmsFunctionSet; 1180 1181 typedef unsigned long XcmsColorFormat; 1182 typedef double XcmsFloat; 1183 typedef struct 1184 { 1185 unsigned short red; 1186 unsigned short green; 1187 unsigned short blue; 1188 } 1189 XcmsRGB; 1190 typedef struct 1191 { 1192 XcmsFloat red; 1193 XcmsFloat green; 1194 XcmsFloat blue; 1195 } 1196 XcmsRGBi; 1197 typedef struct 1198 { 1199 XcmsFloat X; 1200 XcmsFloat Y; 1201 XcmsFloat Z; 1202 } 1203 XcmsCIEXYZ; 1204 typedef struct 1205 { 1206 XcmsFloat u_prime; 1207 XcmsFloat v_prime; 1208 XcmsFloat Y; 1209 } 1210 XcmsCIEuvY; 1211 typedef struct 1212 { 1213 XcmsFloat x; 1214 XcmsFloat y; 1215 XcmsFloat Y; 1216 } 1217 XcmsCIExyY; 1218 typedef struct 1219 { 1220 XcmsFloat L_star; 1221 XcmsFloat a_star; 1222 XcmsFloat b_star; 1223 } 1224 XcmsCIELab; 1225 typedef struct 1226 { 1227 XcmsFloat L_star; 1228 XcmsFloat u_star; 1229 XcmsFloat v_star; 1230 } 1231 XcmsCIELuv; 1232 typedef struct 1233 { 1234 XcmsFloat H; 1235 XcmsFloat V; 1236 XcmsFloat C; 1237 } 1238 XcmsTekHVC; 1239 typedef struct 1240 { 1241 XcmsFloat pad0; 1242 XcmsFloat pad1; 1243 XcmsFloat pad2; 1244 XcmsFloat pad3; 1245 } 1246 XcmsPad; 1247 1248 typedef union 1249 { 1250 XcmsRGB RGB; 1251 XcmsRGBi RGBi; 1252 XcmsCIEXYZ CIEXYZ; 1253 XcmsCIEuvY CIEuvY; 1254 XcmsCIExyY CIExyY; 1255 XcmsCIELab CIELab; 1256 XcmsCIELuv CIELuv; 1257 XcmsTekHVC TekHVC; 1258 XcmsPad Pad; 1259 } 1260 XcmsColor; 1261 1262 typedef struct _XcmsPerScrnInfo 1263 { 1264 XcmsColor screenWhitePt; 1265 XPointer functionSet; 1266 XPointer screenData; 1267 unsigned char state; 1268 char pad[1]; 1269 } 1270 XcmsPerScrnInfo; 1271 1272 typedef int (*XcmsCompressionProc) (void); 1273 typedef int (*XcmsWhiteAdjustProc) (void); 1274 typedef int (*XcmsScreenInitProc) (void); 1275 typedef void (*XcmsScreenFreeProc) (void); 1276 typedef int (*XcmsConversionProc) (void); 1277 typedef int (*XcmsParseStringProc) (void); 1278 1279 typedef struct _XcmsCCC 1280 { 1281 Display *dpy; 1282 int screenNumber; 1283 Visual *visual; 1284 XcmsColor clientWhitePt; 1285 XcmsCompressionProc gamutCompProc; 1286 XPointer gamutCompClientData; 1287 XcmsWhiteAdjustProc whitePtAdjProc; 1288 XPointer whitePtAdjClientData; 1289 XcmsPerScrnInfo *pPerScrnInfo; 1290 } 1291 *XcmsCCC; 1292 1293 typedef XcmsConversionProc *XcmsFuncListPtr; 1294 1295 typedef struct _XcmsColorSpace 1296 { 1297 char *prefix; 1298 XcmsColorFormat id; 1299 XcmsParseStringProc parseString; 1300 XcmsFuncListPtr to_CIEXYZ; 1301 XcmsFuncListPtr from_CIEXYZ; 1302 int inverse_flag; 1303 } 1304 XcmsColorSpace; 1305 _________________________________________________________ 1306 1307 1.2.4. X11/Xlib.h 1308 1309 struct _XDisplay; 1310 typedef struct XColor; 1311 typedef void *XVaNestedList; 1312 typedef int (*XErrorHandler) (void); 1313 typedef int (*XIOErrorHandler) (void); 1314 typedef void (*XConnectionWatchProc) (void); 1315 1316 typedef char *XPointer; 1317 1318 typedef struct _XExtData 1319 { 1320 int number; 1321 struct _XExtData *next; 1322 int (*free_private) (struct _XExtData * extension); 1323 XPointer private_data; 1324 } 1325 XExtData; 1326 typedef struct XExtCodes; 1327 1328 typedef struct XPixmapFormatValues; 1329 1330 typedef struct XGCValues; 1331 1332 typedef struct _XGC *GC; 1333 1334 typedef struct Visual; 1335 1336 typedef struct Depth; 1337 1338 typedef struct Screen; 1339 1340 typedef struct ScreenFormat; 1341 1342 typedef struct XSetWindowAttributes; 1343 typedef struct XWindowAttributes; 1344 1345 typedef struct XHostAddress; 1346 1347 typedef struct _XImage 1348 { 1349 int width; 1350 int height; 1351 int xoffset; 1352 int format; 1353 char *data; 1354 int byte_order; 1355 int bitmap_unit; 1356 int bitmap_bit_order; 1357 int bitmap_pad; 1358 int depth; 1359 int bytes_per_line; 1360 int bits_per_pixel; 1361 unsigned long red_mask; 1362 unsigned long green_mask; 1363 unsigned long blue_mask; 1364 XPointer obdata; 1365 struct funcs f; 1366 } 1367 XImage; 1368 1369 typedef struct XWindowChanges; 1370 1371 typedef struct XSegment; 1372 typedef struct XPoint; 1373 typedef struct XRectangle; 1374 typedef struct XArc; 1375 1376 typedef struct XKeyboardControl; 1377 1378 typedef struct XKeyboardState; 1379 1380 typedef struct XTimeCoord; 1381 1382 typedef struct XModifierKeymap; 1383 1384 typedef struct _XDisplay Display; 1385 1386 typedef struct XKeyEvent; 1387 typedef XKeyEvent XKeyPressedEvent; 1388 typedef XKeyEvent XKeyReleasedEvent; 1389 typedef struct XButtonEvent; 1390 typedef XButtonEvent XButtonPressedEvent; 1391 typedef XButtonEvent XButtonReleasedEvent; 1392 typedef struct XMotionEvent; 1393 typedef XMotionEvent XPointerMovedEvent; 1394 typedef struct XCrossingEvent; 1395 typedef XCrossingEvent XEnterWindowEvent; 1396 typedef XCrossingEvent XLeaveWindowEvent; 1397 typedef struct XFocusChangeEvent; 1398 typedef XFocusChangeEvent XFocusInEvent; 1399 typedef XFocusChangeEvent XFocusOutEvent; 1400 typedef struct XKeymapEvent; 1401 typedef struct XExposeEvent; 1402 typedef struct XGraphicsExposeEvent; 1403 typedef struct XNoExposeEvent; 1404 typedef struct XVisibilityEvent; 1405 typedef struct XCreateWindowEvent; 1406 typedef struct XDestroyWindowEvent; 1407 typedef struct XUnmapEvent; 1408 typedef struct XMapEvent; 1409 typedef struct XMapRequestEvent; 1410 typedef struct XReparentEvent; 1411 typedef struct XConfigureEvent; 1412 typedef struct XGravityEvent; 1413 typedef struct XResizeRequestEvent; 1414 typedef struct XConfigureRequestEvent; 1415 typedef struct XCirculateEvent; 1416 typedef struct XCirculateRequestEvent; 1417 typedef struct XPropertyEvent; 1418 typedef struct XSelectionClearEvent; 1419 typedef struct XSelectionRequestEvent; 1420 typedef struct XSelectionEvent; 1421 typedef struct XColormapEvent; 1422 typedef union XClientMessageEvent; 1423 typedef struct XMappingEvent; 1424 typedef struct XErrorEvent; 1425 typedef struct XAnyEvent; 1426 1427 typedef union _XEvent 1428 { 1429 int type; 1430 XAnyEvent xany; 1431 XKeyEvent xkey; 1432 XButtonEvent xbutton; 1433 XMotionEvent xmotion; 1434 XCrossingEvent xcrossing; 1435 XFocusChangeEvent xfocus; 1436 XExposeEvent xexpose; 1437 XGraphicsExposeEvent xgraphicsexpose; 1438 XNoExposeEvent xnoexpose; 1439 XVisibilityEvent xvisibility; 1440 XCreateWindowEvent xcreatewindow; 1441 XDestroyWindowEvent xdestroywindow; 1442 XUnmapEvent xunmap; 1443 XMapEvent xmap; 1444 XMapRequestEvent xmaprequest; 1445 XReparentEvent xreparent; 1446 XConfigureEvent xconfigure; 1447 XGravityEvent xgravity; 1448 XResizeRequestEvent xresizerequest; 1449 XConfigureRequestEvent xconfigurerequest; 1450 XCirculateEvent xcirculate; 1451 XCirculateRequestEvent xcirculaterequest; 1452 XPropertyEvent xproperty; 1453 XSelectionClearEvent xselectionclear; 1454 XSelectionRequestEvent xselectionrequest; 1455 XSelectionEvent xselection; 1456 XColormapEvent xcolormap; 1457 XClientMessageEvent xclient; 1458 XMappingEvent xmapping; 1459 XErrorEvent xerror; 1460 XKeymapEvent xkeymap; 1461 long pad[1]; 1462 } 1463 XEvent; 1464 1465 typedef struct XCharStruct; 1466 1467 typedef struct XFontProp; 1468 typedef struct XFontStruct; 1469 typedef struct XFontSetExtents; 1470 1471 typedef struct XTextItem; 1472 typedef struct XChar2b; 1473 typedef struct XTextItem16; 1474 1475 typedef union XEDataObject; 1476 1477 typedef struct _XOM *XOM; 1478 typedef struct _XOC *XOC; 1479 typedef struct _XOC *XFontSet; 1480 1481 typedef struct XmbTextItem; 1482 typedef struct XwcTextItem; 1483 1484 typedef struct _XIM *XIM; 1485 typedef struct _XIC *XIC; 1486 typedef void (*XIDProc) (void); 1487 _________________________________________________________ 1488 1489 1.2.5. X11/Xutil.h 1490 1491 typedef struct XSizeHints; 1492 typedef struct XWMHints; 1493 typedef struct XTextProperty; 1494 typedef struct XIconSize; 1495 typedef struct XClassHint; 1496 typedef struct _XComposeStatus 1497 { 1498 XPointer compose_ptr; 1499 int chars_matched; 1500 } 1501 XComposeStatus; 1502 typedef struct _XRegion *Region; 1503 typedef struct XVisualInfo; 1504 typedef struct XStandardColormap; 1505 typedef int XContext; 1506 typedef enum XICCEncodingStyle; 1507 _________________________________________________________ 1508 1509 1.3. Interface Definitions for libX11 1510 1511 The following interfaces are included in libX11 and are 1512 defined by this specification. Unless otherwise noted, these 1513 interfaces shall be included in the source standard. 1514 1515 Other interfaces listed above for libX11 shall behave as 1516 described in the referenced base document. 1517 _________________________________________________________ 1518 1519 1.4. Interfaces for libXext 1520 1521 Table 1-4 defines the library name and shared object name for 1522 the libXext library 1523 1524 Table 1-4. libXext Definition 1525 Library: libXext 1526 SONAME: libXext.so.6 1527 1528 The behavior of the interfaces in this library is specified by 1529 the following specifications: 1530 1531 Double Buffer Extension Library 1532 X Display Power Management Signaling 1533 X Security Extension Specification 1534 X Nonrectangular Window Shape Extension Library 1535 The MIT Shared Memory Extension 1536 X Synchronization Extension Library 1537 _________________________________________________________ 1538 1539 1.4.1. X Shape Extension 1540 _________________________________________________________ 1541 1542 1.4.1.1. Interfaces for X Shape Extension 1543 1544 An LSB conforming implementation shall provide the generic 1545 functions for X Shape Extension specified in Table 1-5, with 1546 the full functionality as described in the referenced 1547 underlying specification. 1548 1549 Table 1-5. libXext - X Shape Extension Function Interfaces 1550 XShapeCombineMask [1] XShapeCombineShape [1] XShapeOffsetShape 1551 [1] XShapeQueryVersion [1] 1552 XShapeCombineRectangles [1] XShapeGetRectangles [1] 1553 XShapeQueryExtension [1] XShapeSelectInput [1] 1554 XShapeCombineRegion [1] XShapeInputSelected [1] 1555 XShapeQueryExtents [1] 1556 1557 Referenced Specification(s) 1558 1559 [1]. X Nonrectangular Window Shape Extension Library 1560 _________________________________________________________ 1561 1562 1.4.2. X Display Power Management Signaling Extension 1563 _________________________________________________________ 1564 1565 1.4.2.1. Interfaces for X Display Power Management Signaling 1566 Extension 1567 1568 An LSB conforming implementation shall provide the generic 1569 functions for X Display Power Management Signaling Extension 1570 specified in Table 1-6, with the full functionality as 1571 described in the referenced underlying specification. 1572 1573 Table 1-6. libXext - X Display Power Management Signaling 1574 Extension Function Interfaces 1575 DPMSCapable [1] DPMSForceLevel [1] DPMSInfo [1] 1576 DPMSDisable [1] DPMSGetTimeouts [1] DPMSQueryExtension [1] 1577 DPMSEnable [1] DPMSGetVersion [1] DPMSSetTimeouts [1] 1578 1579 Referenced Specification(s) 1580 1581 [1]. X Display Power Management Signaling 1582 _________________________________________________________ 1583 1584 1.4.3. X Shared Memory Extensions 1585 _________________________________________________________ 1586 1587 1.4.3.1. Interfaces for X Shared Memory Extensions 1588 1589 An LSB conforming implementation shall provide the generic 1590 functions for X Shared Memory Extensions specified in Table 1591 1-7, with the full functionality as described in the 1592 referenced underlying specification. 1593 1594 Table 1-7. libXext - X Shared Memory Extensions Function 1595 Interfaces 1596 XShmAttach [1] XShmDetach [1] XShmPixmapFormat [1] 1597 XShmQueryVersion [1] 1598 XShmCreateImage [1] XShmGetEventBase [1] XShmPutImage [1] 1599 XShmCreatePixmap [1] XShmGetImage [1] XShmQueryExtension [1] 1600 1601 Referenced Specification(s) 1602 1603 [1]. The MIT Shared Memory Extension 1604 _________________________________________________________ 1605 1606 1.4.4. MIT-MISC Extension 1607 _________________________________________________________ 1608 1609 1.4.4.1. Interfaces for MIT-MISC Extension 1610 1611 No external functions are defined for libXext - MIT-MISC 1612 Extension 1613 _________________________________________________________ 1614 1615 1.4.5. X Synchronization Extension 1616 _________________________________________________________ 1617 1618 1.4.5.1. Interfaces for X Synchronization Extension 1619 1620 An LSB conforming implementation shall provide the generic 1621 functions for X Synchronization Extension specified in Table 1622 1-8, with the full functionality as described in the 1623 referenced underlying specification. 1624 1625 Table 1-8. libXext - X Synchronization Extension Function 1626 Interfaces 1627 XSyncAwait [1] XSyncGetPriority [1] XSyncQueryCounter [1] 1628 XSyncValueHigh32 [1] 1629 XSyncChangeAlarm [1] XSyncInitialize [1] XSyncQueryExtension 1630 [1] XSyncValueIsNegative [1] 1631 XSyncChangeCounter [1] XSyncIntToValue [1] XSyncSetCounter [1] 1632 XSyncValueIsPositive [1] 1633 XSyncCreateAlarm [1] XSyncIntsToValue [1] XSyncSetPriority [1] 1634 XSyncValueIsZero [1] 1635 XSyncCreateCounter [1] XSyncListSystemCounters [1] 1636 XSyncValueAdd [1] XSyncValueLessOrEqual [1] 1637 XSyncDestroyAlarm [1] XSyncMaxValue [1] XSyncValueEqual [1] 1638 XSyncValueLessThan [1] 1639 XSyncDestroyCounter [1] XSyncMinValue [1] 1640 XSyncValueGreaterOrEqual [1] XSyncValueLow32 [1] 1641 XSyncFreeSystemCounterList [1] XSyncQueryAlarm [1] 1642 XSyncValueGreaterThan [1] XSyncValueSubtract [1] 1643 1644 Referenced Specification(s) 1645 1646 [1]. X Synchronization Extension Library 1647 _________________________________________________________ 1648 1649 1.4.6. X Security Extension 1650 _________________________________________________________ 1651 1652 1.4.6.1. Interfaces for X Security Extension 1653 1654 An LSB conforming implementation shall provide the generic 1655 functions for X Security Extension specified in Table 1-9, 1656 with the full functionality as described in the referenced 1657 underlying specification. 1658 1659 Table 1-9. libXext - X Security Extension Function Interfaces 1660 XSecurityAllocXauth [1] XSecurityGenerateAuthorization [1] 1661 XSecurityRevokeAuthorization [1] 1662 XSecurityFreeXauth [1] XSecurityQueryExtension [1] 1663 1664 Referenced Specification(s) 1665 1666 [1]. X Security Extension Specification 1667 _________________________________________________________ 1668 1669 1.4.7. X Double Buffer Extension 1670 _________________________________________________________ 1671 1672 1.4.7.1. Interfaces for X Double Buffer Extension 1673 1674 An LSB conforming implementation shall provide the generic 1675 functions for X Double Buffer Extension specified in Table 1676 1-10, with the full functionality as described in the 1677 referenced underlying specification. 1678 1679 Table 1-10. libXext - X Double Buffer Extension Function 1680 Interfaces 1681 XdbeAllocateBackBufferName [1] XdbeEndIdiom [1] 1682 XdbeGetVisualInfo [1] 1683 XdbeBeginIdiom [1] XdbeFreeVisualInfo [1] XdbeQueryExtension 1684 [1] 1685 XdbeDeallocateBackBufferName [1] XdbeGetBackBufferAttributes 1686 [1] XdbeSwapBuffers [1] 1687 1688 Referenced Specification(s) 1689 1690 [1]. Double Buffer Extension Library 1691 _________________________________________________________ 1692 1693 1.5. Data Definitions for libXext 1694 1695 This section defines global identifiers and their values that 1696 are associated with interfaces contained in libXext. These 1697 definitions are organized into groups that correspond to 1698 system headers. This convention is used as a convenience for 1699 the reader, and does not imply the existence of these headers, 1700 or their content. 1701 1702 These definitions are intended to supplement those provided in 1703 the referenced underlying specifications. 1704 1705 This specification uses ISO/IEC 9899 C Language as the 1706 reference programming language, and data definitions are 1707 specified in ISO C format. The C language is used here as a 1708 convenient notation. Using a C language description of these 1709 data objects does not preclude their use by other programming 1710 languages. 1711 _________________________________________________________ 1712 1713 1.5.1. X11/extensions/security.h 1714 1715 typedef unsigned long XSecurityAuthorization; 1716 typedef struct 1717 { 1718 unsigned int timeout; 1719 unsigned int trust_level; 1720 XID group; 1721 long event_mask; 1722 } 1723 XSecurityAuthorizationAttributes; 1724 _________________________________________________________ 1725 1726 1.5.2. X11/extensions/sync.h 1727 1728 typedef struct _XSyncSystemCounter 1729 { 1730 char *name; 1731 XSyncCounter counter; 1732 XSyncValue resolution; 1733 } 1734 XSyncSystemCounter; 1735 typedef struct 1736 { 1737 XSyncCounter counter; 1738 XSyncValueType value_type; 1739 XSyncValue wait_value; 1740 XSyncTestType test_type; 1741 } 1742 XSyncTrigger; 1743 typedef struct 1744 { 1745 XSyncTrigger trigger; 1746 XSyncValue event_threshold; 1747 } 1748 XSyncWaitCondition; 1749 typedef struct 1750 { 1751 XSyncTrigger trigger; 1752 XSyncValue delta; 1753 int events; 1754 XSyncAlarmState state; 1755 } 1756 XSyncAlarmAttributes; 1757 1758 typedef XID XSyncCounter; 1759 typedef XID XSyncAlarm; 1760 typedef struct _XSyncValue 1761 { 1762 int hi; 1763 unsigned int lo; 1764 } 1765 XSyncValue; 1766 typedef enum 1767 { 1768 XSyncAbsolute, XSyncRelative 1769 } 1770 XSyncValueType; 1771 typedef enum 1772 { 1773 XSyncPositiveTransition, XSyncNegativeTransition, XSyncPositiveCompar 1774 ison, 1775 XSyncNegativeComparison 1776 } 1777 XSyncTestType; 1778 typedef enum 1779 { 1780 XSyncAlarmActive, XSyncAlarmInactive, XSyncAlarmDestroyed 1781 } 1782 XSyncAlarmState; 1783 _________________________________________________________ 1784 1785 1.6. Interfaces for libSM 1786 1787 Table 1-11 defines the library name and shared object name for 1788 the libSM library 1789 1790 Table 1-11. libSM Definition 1791 Library: libSM 1792 SONAME: libSM.so.6 1793 1794 The behavior of the interfaces in this library is specified by 1795 the following specifications: 1796 1797 X11 Session Management 1798 _________________________________________________________ 1799 1800 1.6.1. Session Management Functions 1801 _________________________________________________________ 1802 1803 1.6.1.1. Interfaces for Session Management Functions 1804 1805 An LSB conforming implementation shall provide the generic 1806 functions for Session Management Functions specified in Table 1807 1-12, with the full functionality as described in the 1808 referenced underlying specification. 1809 1810 Table 1-12. libSM - Session Management Functions Function 1811 Interfaces 1812 SmFreeProperty [1] SmcOpenConnection [1] SmsCleanUp [1] 1813 SmsRegisterClientReply [1] 1814 SmFreeReasons [1] SmcProtocolRevision [1] SmsClientHostName 1815 [1] SmsReturnProperties [1] 1816 SmcClientID [1] SmcProtocolVersion [1] SmsClientID [1] 1817 SmsSaveComplete [1] 1818 SmcCloseConnection [1] SmcRelease [1] SmsDie [1] 1819 SmsSaveYourself [1] 1820 SmcDeleteProperties [1] SmcRequestSaveYourself [1] 1821 SmsGenerateClientID [1] SmsSaveYourselfPhase2 [1] 1822 SmcGetIceConnection [1] SmcRequestSaveYourselfPhase2 [1] 1823 SmsGetIceConnection [1] SmsSetErrorHandler [1] 1824 SmcGetProperties [1] SmcSaveYourselfDone [1] SmsInitialize [1] 1825 SmsShutdownCancelled [1] 1826 SmcInteractDone [1] SmcSetErrorHandler [1] SmsInteract [1] 1827 SmcInteractRequest [1] SmcSetProperties [1] 1828 SmsProtocolRevision [1] 1829 SmcModifyCallbacks [1] SmcVendor [1] SmsProtocolVersion [1] 1830 1831 Referenced Specification(s) 1832 1833 [1]. X11 Session Management 1834 _________________________________________________________ 1835 1836 1.7. Data Definitions for libSM 1837 1838 This section defines global identifiers and their values that 1839 are associated with interfaces contained in libSM. These 1840 definitions are organized into groups that correspond to 1841 system headers. This convention is used as a convenience for 1842 the reader, and does not imply the existence of these headers, 1843 or their content. 1844 1845 These definitions are intended to supplement those provided in 1846 the referenced underlying specifications. 1847 1848 This specification uses ISO/IEC 9899 C Language as the 1849 reference programming language, and data definitions are 1850 specified in ISO C format. The C language is used here as a 1851 convenient notation. Using a C language description of these 1852 data objects does not preclude their use by other programming 1853 languages. 1854 _________________________________________________________ 1855 1856 1.7.1. X11/SM/SMlib.h 1857 1858 typedef IcePointer SmPointer; 1859 typedef struct _SmcConn *SmcConn; 1860 typedef struct _SmsConn *SmsConn; 1861 1862 typedef struct 1863 { 1864 int length; 1865 SmPointer value; 1866 } 1867 SmPropValue; 1868 typedef struct 1869 { 1870 char *name; 1871 char *type; 1872 int num_vals; 1873 SmPropValue *vals; 1874 } 1875 SmProp; 1876 1877 typedef enum 1878 { 1879 SmcClosedNow, SmcClosedASAP, SmcConnectionInUse 1880 } 1881 SmcCloseStatus; 1882 1883 typedef void (*SmcSaveYourselfPhase2Proc) (void); 1884 typedef void (*SmcInteractProc) (void); 1885 typedef void (*SmcDieProc) (void); 1886 typedef void (*SmcShutdownCancelledProc) (void); 1887 typedef void (*SmcSaveCompleteProc) (void); 1888 typedef void (*SmcPropReplyProc) (void); 1889 1890 typedef struct 1891 { 1892 SmcShutdownCancelledProc callback; 1893 SmPointer client_data; 1894 } 1895 SmcCallbacks; 1896 1897 typedef void (*SmsSetPropertiesProc) (void); 1898 typedef void (*SmsDeletePropertiesProc) (void); 1899 typedef void (*SmsGetPropertiesProc) (void); 1900 1901 typedef struct 1902 { 1903 SmsGetPropertiesProc callback; 1904 SmPointer manager_data; 1905 } 1906 SmsCallbacks; 1907 1908 typedef int (*SmsNewClientProc) (void); 1909 1910 typedef void (*SmcErrorHandler) (void); 1911 typedef void (*SmsErrorHandler) (void); 1912 _________________________________________________________ 1913 1914 1.8. Interfaces for libICE 1915 1916 Table 1-13 defines the library name and shared object name for 1917 the libICE library 1918 1919 Table 1-13. libICE Definition 1920 Library: libICE 1921 SONAME: libICE.so.6 1922 1923 The behavior of the interfaces in this library is specified by 1924 the following specifications: 1925 1926 X11 Inter-Client Exchange 1927 _________________________________________________________ 1928 1929 1.8.1. ICE Functions 1930 _________________________________________________________ 1931 1932 1.8.1.1. Interfaces for ICE Functions 1933 1934 An LSB conforming implementation shall provide the generic 1935 functions for ICE Functions specified in Table 1-14, with the 1936 full functionality as described in the referenced underlying 1937 specification. 1938 1939 Table 1-14. libICE - ICE Functions Function Interfaces 1940 IceAcceptConnection [1] IceFreeAuthFileEntry [1] 1941 IceListenForWellKnownConnections [1] IceRemoveConnectionWatch 1942 [1] 1943 IceAddConnectionWatch [1] IceFreeListenObjs [1] 1944 IceLockAuthFile [1] IceSetErrorHandler [1] 1945 IceAllocScratch [1] IceGenerateMagicCookie [1] 1946 IceOpenConnection [1] IceSetHostBasedAuthProc [1] 1947 IceAppLockConn [1] IceGetAuthFileEntry [1] IcePing [1] 1948 IceSetIOErrorHandler [1] 1949 IceAppUnlockConn [1] IceGetConnectionContext [1] 1950 IceProcessMessages [1] IceSetPaAuthData [1] 1951 IceAuthFileName [1] IceGetInBufSize [1] IceProtocolRevision 1952 [1] IceSetShutdownNegotiation [1] 1953 IceCheckShutdownNegotiation [1] IceGetListenConnectionNumber 1954 [1] IceProtocolSetup [1] IceSwapping [1] 1955 IceCloseConnection [1] IceGetListenConnectionString [1] 1956 IceProtocolShutdown [1] IceUnlockAuthFile [1] 1957 IceComposeNetworkIdList [1] IceGetOutBufSize [1] 1958 IceProtocolVersion [1] IceVendor [1] 1959 IceConnectionNumber [1] IceInitThreads [1] 1960 IceReadAuthFileEntry [1] IceWriteAuthFileEntry [1] 1961 IceConnectionStatus [1] IceLastReceivedSequenceNumber [1] 1962 IceRegisterForProtocolReply [1] 1963 IceConnectionString [1] IceLastSentSequenceNumber [1] 1964 IceRegisterForProtocolSetup [1] 1965 IceFlush [1] IceListenForConnections [1] IceRelease [1] 1966 1967 Referenced Specification(s) 1968 1969 [1]. X11 Inter-Client Exchange 1970 _________________________________________________________ 1971 1972 1.9. Data Definitions for libICE 1973 1974 This section defines global identifiers and their values that 1975 are associated with interfaces contained in libICE. These 1976 definitions are organized into groups that correspond to 1977 system headers. This convention is used as a convenience for 1978 the reader, and does not imply the existence of these headers, 1979 or their content. 1980 1981 These definitions are intended to supplement those provided in 1982 the referenced underlying specifications. 1983 1984 This specification uses ISO/IEC 9899 C Language as the 1985 reference programming language, and data definitions are 1986 specified in ISO C format. The C language is used here as a 1987 convenient notation. Using a C language description of these 1988 data objects does not preclude their use by other programming 1989 languages. 1990 _________________________________________________________ 1991 1992 1.9.1. X11/ICE/ICElib.h 1993 1994 typedef void *IcePointer; 1995 typedef enum 1996 { 1997 IcePoAuthHaveReply, IcePoAuthRejected, IcePoAuthFailed, IcePoAuthDone 1998 Cleanup 1999 } 2000 IcePoAuthStatus; 2001 typedef enum 2002 { 2003 IcePaAuthContinue, IcePaAuthAccepted, IcePaAuthRejected, IcePaAuthFai 2004 led 2005 } 2006 IcePaAuthStatus; 2007 typedef enum 2008 { 2009 IceConnectPending, IceConnectAccepted, IceConnectRejected, IceConnect 2010 IOError 2011 } 2012 IceConnectStatus; 2013 typedef enum 2014 { 2015 IceProtocolSetupSuccess, IceProtocolSetupFailure, IceProtocolSetupIOE 2016 rror, 2017 IceProtocolAlreadyActive 2018 } 2019 IceProtocolSetupStatus; 2020 typedef enum 2021 { 2022 IceAcceptSuccess, IceAcceptFailure, IceAcceptBadMalloc 2023 } 2024 IceAcceptStatus; 2025 typedef enum 2026 { 2027 IceClosedNow, IceClosedASAP, IceConnectionInUse, 2028 IceStartedShutdownNegotiation 2029 } 2030 IceCloseStatus; 2031 typedef enum 2032 { 2033 IceProcessMessagesSuccess, IceProcessMessagesIOError, 2034 IceProcessMessagesConnectionClosed 2035 } 2036 IceProcessMessagesStatus; 2037 2038 typedef struct 2039 { 2040 unsigned long sequence_of_request; 2041 int major_opcode_of_request; 2042 int minor_opcode_of_request; 2043 IcePointer reply; 2044 } 2045 IceReplyWaitInfo; 2046 2047 typedef struct _IceConn *IceConn; 2048 typedef struct _IceListenObj *IceListenObj; 2049 2050 typedef void (*IceWatchProc) (void); 2051 typedef void (*IcePoProcessMsgProc) (void); 2052 typedef void (*IcePaProcessMsgProc) (void); 2053 typedef IcePoAuthStatus (*IcePoAuthProc) (void); 2054 typedef IcePaAuthStatus (*IcePaAuthProc) (void); 2055 typedef int (*IceHostBasedAuthProc) (void); 2056 typedef int (*IceProtocolSetupProc) (void); 2057 typedef void (*IceProtocolActivateProc) (void); 2058 typedef void (*IceIOErrorProc) (void); 2059 typedef void (*IcePingReplyProc) (void); 2060 typedef void (*IceErrorHandler) (void); 2061 typedef void (*IceIOErrorHandler) (void); 2062 2063 typedef struct 2064 { 2065 int major_version; 2066 int minor_version; 2067 IcePoProcessMsgProc process_msg_proc; 2068 } 2069 IcePoVersionRec; 2070 typedef struct 2071 { 2072 int major_version; 2073 int minor_version; 2074 IcePaProcessMsgProc process_msg_proc; 2075 } 2076 IcePaVersionRec; 2077 _________________________________________________________ 2078 2079 1.9.2. X11/ICE/ICEutil.h 2080 2081 typedef struct 2082 { 2083 char *protocol_name; 2084 unsigned short protocol_data_length; 2085 char *protocol_data; 2086 char *network_id; 2087 char *auth_name; 2088 unsigned short auth_data_length; 2089 char *auth_data; 2090 } 2091 IceAuthFileEntry; 2092 typedef struct 2093 { 2094 char *protocol_name; 2095 char *network_id; 2096 char *auth_name; 2097 unsigned short auth_data_length; 2098 char *auth_data; 2099 } 2100 IceAuthDataEntry; 2101 _________________________________________________________ 2102 2103 1.10. Interfaces for libXt 2104 2105 Table 1-15 defines the library name and shared object name for 2106 the libXt library 2107 2108 Table 1-15. libXt Definition 2109 Library: libXt 2110 SONAME: libXt.so.6 2111 2112 The behavior of the interfaces in this library is specified by 2113 the following specifications: 2114 2115 this specification 2116 X11 Toolkit Intrinsics 2117 _________________________________________________________ 2118 2119 1.10.1. X Toolkit 2120 _________________________________________________________ 2121 2122 1.10.1.1. Interfaces for X Toolkit 2123 2124 An LSB conforming implementation shall provide the generic 2125 functions for X Toolkit specified in Table 1-16, with the full 2126 functionality as described in the referenced underlying 2127 specification. 2128 2129 Table 1-16. libXt - X Toolkit Function Interfaces 2130 XtAddActions [1] XtCvtColorToPixel [1] XtGrabKeyboard [1] 2131 XtRemoveEventHandler [1] 2132 XtAddCallback [1] XtCvtIntToBool [1] XtGrabPointer [1] 2133 XtRemoveEventTypeHandler [1] 2134 XtAddCallbacks [1] XtCvtIntToBoolean [1] XtHasCallbacks [1] 2135 XtRemoveGrab [1] 2136 XtAddConverter [1] XtCvtIntToColor [1] XtHooksOfDisplay [1] 2137 XtRemoveInput [1] 2138 XtAddEventHandler [1] XtCvtIntToFloat [1] XtInitialize [1] 2139 XtRemoveRawEventHandler [1] 2140 XtAddExposureToRegion [1] XtCvtIntToFont [1] 2141 XtInitializeWidgetClass [1] XtRemoveSignal [1] 2142 XtAddGrab [1] XtCvtIntToPixel [1] XtInsertEventHandler [1] 2143 XtRemoveTimeOut [1] 2144 XtAddInput [1] XtCvtIntToPixmap [1] XtInsertEventTypeHandler 2145 [1] XtRemoveWorkProc [1] 2146 XtAddRawEventHandler [1] XtCvtIntToShort [1] 2147 XtInsertRawEventHandler [1] XtReservePropertyAtom [1] 2148 XtAddSignal [1] XtCvtIntToUnsignedChar [1] 2149 XtInstallAccelerators [1] XtResizeWidget [1] 2150 XtAddTimeOut [1] XtCvtStringToAcceleratorTable [1] 2151 XtInstallAllAccelerators [1] XtResizeWindow [1] 2152 XtAddWorkProc [1] XtCvtStringToAtom [1] XtIsApplicationShell 2153 [1] XtResolvePathname [1] 2154 XtAllocateGC [1] XtCvtStringToBool [1] XtIsComposite [1] 2155 XtScreen [1] 2156 XtAppAddActionHook [1] XtCvtStringToBoolean [1] XtIsConstraint 2157 [1] XtScreenDatabase [1] 2158 XtAppAddActions [1] XtCvtStringToCommandArgArray [1] 2159 XtIsManaged [1] XtScreenOfObject [1] 2160 XtAppAddBlockHook [1] XtCvtStringToCursor [1] XtIsObject [1] 2161 XtSendSelectionRequest [1] 2162 XtAppAddConverter [1] XtCvtStringToDimension [1] 2163 XtIsOverrideShell [1] XtSessionGetToken [1] 2164 XtAppAddInput [1] XtCvtStringToDirectoryString [1] 2165 XtIsRealized [1] XtSessionReturnToken [1] 2166 XtAppAddSignal [1] XtCvtStringToDisplay [1] XtIsRectObj [1] 2167 XtSetErrorHandler [1] 2168 XtAppAddTimeOut [1] XtCvtStringToFile [1] XtIsSensitive [1] 2169 XtSetErrorMsgHandler [1] 2170 XtAppAddWorkProc [1] XtCvtStringToFloat [1] XtIsSessionShell 2171 [1] XtSetEventDispatcher [1] 2172 XtAppCreateShell [1] XtCvtStringToFont [1] XtIsShell [1] 2173 XtSetKeyTranslator [1] 2174 XtAppError [1] XtCvtStringToFontSet [1] XtIsSubclass [1] 2175 XtSetKeyboardFocus [1] 2176 XtAppErrorMsg [1] XtCvtStringToFontStruct [1] 2177 XtIsTopLevelShell [1] XtSetLanguageProc [1] 2178 XtAppGetErrorDatabase [1] XtCvtStringToGravity [1] 2179 XtIsTransientShell [1] XtSetMappedWhenManaged [1] 2180 XtAppGetErrorDatabaseText [1] XtCvtStringToInitialState [1] 2181 XtIsVendorShell [1] XtSetMultiClickTime [1] 2182 XtAppGetExitFlag [1] XtCvtStringToInt [1] XtIsWMShell [1] 2183 XtSetSelectionParameters [1] 2184 XtAppGetSelectionTimeout [1] XtCvtStringToPixel [1] XtIsWidget 2185 [1] XtSetSelectionTimeout [1] 2186 XtAppInitialize [1] XtCvtStringToRestartStyle [1] 2187 XtKeysymToKeycodeList [1] XtSetSensitive [1] 2188 XtAppLock [1] XtCvtStringToShort [1] XtLastEventProcessed [1] 2189 XtSetSubvalues [1] 2190 XtAppMainLoop [1] XtCvtStringToTranslationTable [1] 2191 XtLastTimestampProcessed [1] XtSetTypeConverter [1] 2192 XtAppNextEvent [1] XtCvtStringToUnsignedChar [1] XtMainLoop 2193 [1] XtSetValues [1] 2194 XtAppPeekEvent [1] XtCvtStringToVisual [1] 2195 XtMakeGeometryRequest [1] XtSetWMColormapWindows [1] 2196 XtAppPending [1] XtDatabase [1] XtMakeResizeRequest [1] 2197 XtSetWarningHandler [1] 2198 XtAppProcessEvent [1] XtDestroyApplicationContext [1] XtMalloc 2199 [1] XtSetWarningMsgHandler [1] 2200 XtAppReleaseCacheRefs [1] XtDestroyGC [1] XtManageChild [1] 2201 XtStringConversionWarning [1] 2202 XtAppSetErrorHandler [1] XtDestroyWidget [1] XtManageChildren 2203 [1] XtSuperclass [1] 2204 XtAppSetErrorMsgHandler [1] XtDirectConvert [1] XtMapWidget 2205 [1] XtToolkitInitialize [1] 2206 XtAppSetExitFlag [1] XtDisownSelection [1] XtMenuPopupAction 2207 [1] XtToolkitThreadInitialize [1] 2208 XtAppSetFallbackResources [1] XtDispatchEvent [1] 2209 XtMergeArgLists [1] XtTranslateCoords [1] 2210 XtAppSetSelectionTimeout [1] XtDispatchEventToWidget [1] 2211 XtMoveWidget [1] XtTranslateKey [1] 2212 XtAppSetTypeConverter [1] XtDisplay [1] XtName [1] 2213 XtTranslateKeycode [1] 2214 XtAppSetWarningHandler [1] XtDisplayInitialize [1] 2215 XtNameToWidget [1] XtUngrabButton [1] 2216 XtAppSetWarningMsgHandler [1] XtDisplayOfObject [1] 2217 XtNewString [1] XtUngrabKey [1] 2218 XtAppUnlock [1] XtDisplayStringConversionWarning [1] 2219 XtNextEvent [1] XtUngrabKeyboard [1] 2220 XtAppWarning [1] XtDisplayToApplicationContext [1] 2221 XtNoticeSignal [1] XtUngrabPointer [1] 2222 XtAppWarningMsg [1] XtError [1] XtOpenApplication [1] 2223 XtUninstallTranslations [1] 2224 XtAugmentTranslations [1] XtErrorMsg [1] XtOpenDisplay [1] 2225 XtUnmanageChild [1] 2226 XtBuildEventMask [1] XtFindFile [1] XtOverrideTranslations [1] 2227 XtUnmanageChildren [1] 2228 XtCallAcceptFocus [1] XtFree [1] XtOwnSelection [1] 2229 XtUnmapWidget [1] 2230 XtCallActionProc [1] XtGetActionKeysym [1] 2231 XtOwnSelectionIncremental [1] XtUnrealizeWidget [1] 2232 XtCallCallbackList [1] XtGetActionList [1] XtParent [1] 2233 XtUnregisterDrawable [1] 2234 XtCallCallbacks [1] XtGetApplicationNameAndClass [1] 2235 XtParseAcceleratorTable [1] XtVaAppCreateShell [1] 2236 XtCallConverter [1] XtGetApplicationResources [1] 2237 XtParseTranslationTable [1] XtVaAppInitialize [1] 2238 XtCallbackExclusive [1] XtGetClassExtension [1] XtPeekEvent 2239 [1] XtVaCreateArgsList [1] 2240 XtCallbackNone [1] XtGetConstraintResourceList [1] XtPending 2241 [1] XtVaCreateManagedWidget [1] 2242 XtCallbackNonexclusive [1] XtGetDisplays [1] XtPopdown [1] 2243 XtVaCreatePopupShell [1] 2244 XtCallbackPopdown [1] XtGetErrorDatabase [1] XtPopup [1] 2245 XtVaCreateWidget [1] 2246 XtCallbackReleaseCacheRef [1] XtGetErrorDatabaseText [1] 2247 XtPopupSpringLoaded [1] XtVaGetApplicationResources [1] 2248 XtCallbackReleaseCacheRefList [1] XtGetGC [1] XtProcessEvent 2249 [1] XtVaGetSubresources [1] 2250 XtCalloc [1] XtGetKeyboardFocusWidget [1] XtProcessLock [1] 2251 XtVaGetSubvalues [1] 2252 XtCancelSelectionRequest [1] XtGetKeysymTable [1] 2253 XtProcessUnlock [1] XtVaGetValues [1] 2254 XtChangeManagedSet [1] XtGetMultiClickTime [1] XtQueryGeometry 2255 [1] XtVaOpenApplication [1] 2256 XtClass [1] XtGetResourceList [1] XtRealizeWidget [1] 2257 XtVaSetSubvalues [1] 2258 XtCloseDisplay [1] XtGetSelectionParameters [1] XtRealloc [1] 2259 XtVaSetValues [1] 2260 XtConfigureWidget [1] XtGetSelectionRequest [1] 2261 XtRegisterCaseConverter [1] XtWarning [1] 2262 XtConvert [1] XtGetSelectionTimeout [1] XtRegisterDrawable [1] 2263 XtWarningMsg [1] 2264 XtConvertAndStore [1] XtGetSelectionValue [1] 2265 XtRegisterExtensionSelector [1] XtWidgetToApplicationContext 2266 [1] 2267 XtConvertCase [1] XtGetSelectionValueIncremental [1] 2268 XtRegisterGrabAction [1] XtWindow [1] 2269 XtCreateApplicationContext [1] XtGetSelectionValues [1] 2270 XtReleaseGC [1] XtWindowOfObject [1] 2271 XtCreateApplicationShell [1] XtGetSelectionValuesIncremental 2272 [1] XtReleasePropertyAtom [1] XtWindowToWidget [1] 2273 XtCreateManagedWidget [1] XtGetSubresources [1] 2274 XtRemoveActionHook [1] _XtCheckSubclassFlag [1] 2275 XtCreatePopupShell [1] XtGetSubvalues [1] XtRemoveAllCallbacks 2276 [1] _XtCopyFromArg [2] 2277 XtCreateSelectionRequest [1] XtGetValues [1] XtRemoveBlockHook 2278 [1] _XtInherit [2] 2279 XtCreateWidget [1] XtGrabButton [1] XtRemoveCallback [1] 2280 _XtIsSubclassOf [2] 2281 XtCreateWindow [1] XtGrabKey [1] XtRemoveCallbacks [1] 2282 2283 Referenced Specification(s) 2284 2285 [1]. X11 Toolkit Intrinsics 2286 2287 [2]. this specification 2288 2289 An LSB conforming implementation shall provide the generic 2290 data interfaces for X Toolkit specified in Table 1-17, with 2291 the full functionality as described in the referenced 2292 underlying specification. 2293 2294 Table 1-17. libXt - X Toolkit Data Interfaces 2295 XtCXtToolkitError [1] constraintClassRec [1] rectObjClass [1] 2296 topLevelShellWidgetClass [1] 2297 XtShellStrings [1] constraintWidgetClass [1] rectObjClassRec 2298 [1] transientShellClassRec [1] 2299 XtStrings [1] coreWidgetClass [1] sessionShellClassRec [1] 2300 transientShellWidgetClass [1] 2301 _XtInheritTranslations [2] objectClass [1] 2302 sessionShellWidgetClass [1] widgetClass [1] 2303 applicationShellWidgetClass [1] objectClassRec [1] 2304 shellClassRec [1] widgetClassRec [1] 2305 compositeClassRec [1] overrideShellClassRec [1] 2306 shellWidgetClass [1] wmShellClassRec [1] 2307 compositeWidgetClass [1] overrideShellWidgetClass [1] 2308 topLevelShellClassRec [1] wmShellWidgetClass [1] 2309 2310 Referenced Specification(s) 2311 2312 [1]. X11 Toolkit Intrinsics 2313 2314 [2]. this specification 2315 _________________________________________________________ 2316 2317 1.11. Data Definitions for libXt 2318 2319 This section defines global identifiers and their values that 2320 are associated with interfaces contained in libXt. These 2321 definitions are organized into groups that correspond to 2322 system headers. This convention is used as a convenience for 2323 the reader, and does not imply the existence of these headers, 2324 or their content. 2325 2326 These definitions are intended to supplement those provided in 2327 the referenced underlying specifications. 2328 2329 This specification uses ISO/IEC 9899 C Language as the 2330 reference programming language, and data definitions are 2331 specified in ISO C format. The C language is used here as a 2332 convenient notation. Using a C language description of these 2333 data objects does not preclude their use by other programming 2334 languages. 2335 _________________________________________________________ 2336 2337 1.11.1. X11/Composite.h 2338 2339 typedef Cardinal (*XtOrderProc) (Widget child); 2340 typedef void (*XtDoChangeProc) (Widget composite_parent, 2341 WidgetList unmanage_children, 2342 Cardinal * num_unmanage_children, 2343 WidgetList manage_children, 2344 Cardinal * num_manage_children, 2345 XtPointer client_data); 2346 _________________________________________________________ 2347 2348 1.11.2. X11/CompositeP.h 2349 2350 #define XtInheritGeometryManager ((XtGeometryHandler) _XtInherit 2351 ) 2352 #define XtInheritDeleteChild ((XtWidgetProc) _XtInherit) 2353 #define XtInheritInsertChild ((XtWidgetProc) _XtInherit) 2354 #define XtCompositeExtensionVersion 2L 2355 2356 typedef struct _CompositeClassPart CompositeClassPart; 2357 2358 typedef struct _CompositeClassRec CompositeClassRec; 2359 _________________________________________________________ 2360 2361 1.11.3. X11/ConstrainP.h 2362 2363 #define XtConstraintExtensionVersion 1L 2364 2365 typedef struct _ConstraintPart ConstraintPart; 2366 typedef struct _ConstraintClassPart ConstraintClassPart; 2367 typedef struct _ConstraintClassRec 2368 { 2369 CoreClassPart core_class; 2370 CompositeClassPart composite_class; 2371 ConstraintClassPart constraint_class; 2372 } 2373 ConstraintClassRec; 2374 _________________________________________________________ 2375 2376 1.11.4. X11/Constraint.h 2377 2378 typedef struct _ConstraintClassRec *ConstraintWidgetClass; 2379 _________________________________________________________ 2380 2381 1.11.5. X11/Intrinsic.h 2382 2383 typedef struct _WidgetRec *Widget; 2384 typedef Widget *WidgetList; 2385 typedef struct _WidgetClassRec *WidgetClass; 2386 typedef struct _CompositeRec *CompositeWidget; 2387 typedef struct _XtActionsRec *XtActionList; 2388 typedef struct _XtEventRec *XtEventTable; 2389 typedef struct _XtAppStruct *XtAppContext; 2390 typedef unsigned long XtValueMask; 2391 typedef unsigned long XtIntervalId; 2392 typedef unsigned long XtInputId; 2393 typedef unsigned long XtSignalId; 2394 typedef unsigned int XtGeometryMask; 2395 typedef unsigned long XtGCMask; 2396 typedef unsigned long Pixel; 2397 typedef int XtCacheType; 2398 typedef char Boolean; 2399 typedef long XtArgVal; 2400 typedef unsigned char XtEnum; 2401 typedef unsigned int Cardinal; 2402 typedef unsigned short Dimension; 2403 typedef short Position; 2404 typedef void *XtPointer; 2405 typedef XtPointer Opaque; 2406 _________________________________________________________ 2407 2408 1.11.6. X11/ObjectP.h 2409 2410 #define XtInheritAllocate ((XtAllocateProc) _XtInherit) 2411 #define XtInheritDeallocate ((XtDeallocateProc) _XtInherit) 2412 #define XtObjectExtensionVersion 1L 2413 2414 typedef struct _ObjectPart 2415 { 2416 Widget self; 2417 WidgetClass widget_class; 2418 Widget parent; 2419 XrmName xrm_name; 2420 Boolean being_destroyed; 2421 XtCallbackList destroy_callbacks; 2422 XtPointer constraints; 2423 } 2424 ObjectPart; 2425 2426 typedef struct _ObjectRec 2427 { 2428 ObjectPart object; 2429 } 2430 ObjectRec; 2431 2432 typedef struct _ObjectClassPart 2433 { 2434 WidgetClass superclass; 2435 String class_name; 2436 Cardinal widget_size; 2437 XtProc class_initialize; 2438 XtWidgetClassProc class_part_initialize; 2439 XtEnum class_inited; 2440 XtInitProc initialize; 2441 XtArgsProc initialize_hook; 2442 XtProc obj1; 2443 XtProc obj2; 2444 XtProc obj3; 2445 XtResourceList resources; 2446 Cardinal num_resources; 2447 XrmClass xrm_class; 2448 Boolean obj4; 2449 XtEnum obj5; 2450 Boolean obj6; 2451 Boolean obj7; 2452 XtWidgetProc destroy; 2453 XtProc obj8; 2454 XtProc obj9; 2455 XtSetValuesFunc set_values; 2456 XtArgsFunc set_values_hook; 2457 XtProc obj10; 2458 XtArgsProc get_values_hook; 2459 XtProc obj11; 2460 XtVersionType version; 2461 XtPointer callback_private; 2462 String obj12; 2463 XtProc obj13; 2464 XtProc obj14; 2465 XtPointer extension; 2466 } 2467 ObjectClassPart; 2468 2469 struct 2470 { 2471 XtPointer next_extension; 2472 XrmQuark record_type; 2473 long version; 2474 Cardinal record_size; 2475 XtAllocateProc allocate; 2476 XtDeallocateProc deallocate; 2477 } 2478 ; 2479 2480 typedef struct 2481 { 2482 XtPointer next_extension; 2483 XrmQuark record_type; 2484 long version; 2485 Cardinal record_size; 2486 XtAllocateProc allocate; 2487 XtDeallocateProc deallocate; 2488 } 2489 ObjectClassExtensionRec; 2490 typedef struct 2491 { 2492 XtPointer next_extension; 2493 XrmQuark record_type; 2494 long version; 2495 Cardinal record_size; 2496 XtAllocateProc allocate; 2497 XtDeallocateProc deallocate; 2498 } 2499 *ObjectClassExtension; 2500 2501 typedef struct _ObjectClassRec 2502 { 2503 ObjectClassPart object_class; 2504 } 2505 ObjectClassRec; 2506 _________________________________________________________ 2507 2508 1.12. Interface Definitions for libXt 2509 2510 Table of Contents 2511 _XtCopyFromArg -- Copy "size" bytes from src to dst. 2512 _XtInherit -- inheritance operation. 2513 _XtInheritTranslations -- an inheritance constant 2514 _XtIsSubclassOf -- determine if Widget is a subclass of 2515 WidgetClass. 2516 2517 The following interfaces are included in libXt and are defined 2518 by this specification. Unless otherwise noted, these 2519 interfaces shall be included in the source standard. 2520 2521 Other interfaces listed above for libXt shall behave as 2522 described in the referenced base document. 2523 2524 _XtCopyFromArg 2525 2526 Name 2527 2528 _XtCopyFromArg -- Copy "size" bytes from src to dst. 2529 2530 Synopsis 2531 2532 void _XtCopyFromArg(XtArgVal src,char* dst,unsigned int size); 2533 2534 Description 2535 2536 The _XtCopyFromArg() function copies "size" bytes from src to 2537 dst. This is an internal X function call. 2538 2539 _XtInherit 2540 2541 Name 2542 2543 _XtInherit -- inheritance operation. 2544 2545 Synopsis 2546 2547 #include 2548 2549 extern void _XtInherit( 2550 #if NeedFunctionPrototypes 2551 void 2552 #endif 2553 ); 2554 2555 Description 2556 2557 _XtInherit() is a procedure that issues an error message if it 2558 is actually called. 2559 2560 _XtInheritTranslations 2561 2562 Name 2563 2564 _XtInheritTranslations -- an inheritance constant 2565 2566 Synopsis 2567 2568 #include 2569 2570 externalref int _XtInheritTranslations; 2571 2572 Description 2573 2574 _XtInheritTranslations is an inheritance constant. 2575 2576 _XtIsSubclassOf 2577 2578 Name 2579 2580 _XtIsSubclassOf -- determine if Widget is a subclass of 2581 WidgetClass. 2582 2583 Synopsis 2584 2585 #include 2586 2587 extern Boolean _XtIsSubclassOf( 2588 Widget /* object* /, 2589 WidgetClass /* widget_class */, 2590 WidgetClass /* flag_class */, 2591 _XtXtEnum /* type_flag */, 2592 ); 2593 2594 Description 2595 2596 Determine if Widget(object) is a subclass of 2597 WidgetClass(widget_class). 2598 2599 II. OpenGL Libraries 2600 2601 Table of Contents 2602 2. Libraries 2603 _________________________________________________________ 2604 2605 Chapter 2. Libraries 2606 2607 2.1. Interfaces for libGL 2608 2609 Table 2-1 defines the library name and shared object name for 2610 the libGL library 2611 2612 Table 2-1. libGL Definition 2613 Library: libGL 2614 SONAME: libGL.so.1 2615 2616 The behavior of the interfaces in this library is specified by 2617 the following specifications: 2618 2619 OpenGL 2620 _________________________________________________________ 2621 2622 2.1.1. GL X interface 2623 _________________________________________________________ 2624 2625 2.1.1.1. Interfaces for GL X interface 2626 2627 An LSB conforming implementation shall provide the generic 2628 functions for GL X interface specified in Table 2-2, with the 2629 full functionality as described in the referenced underlying 2630 specification. 2631 2632 Table 2-2. libGL - GL X interface Function Interfaces 2633 glXChooseVisual [1] glXDestroyGLXPixmap [1] 2634 glXGetCurrentDisplay [1] glXMakeContextCurrent [1] 2635 glXSelectEvent [1] 2636 glXCopyContext [1] glXDestroyPbuffer [1] glXGetCurrentDrawable 2637 [1] glXMakeCurrent [1] glXSwapBuffers [1] 2638 glXCreateContext [1] glXDestroyPixmap [1] 2639 glXGetCurrentReadDrawable [1] glXQueryContext [1] glXUseXFont 2640 [1] 2641 glXCreateGLXPixmap [1] glXDestroyWindow [1] 2642 glXGetFBConfigAttrib [1] glXQueryContextInfoEXT [1] glXWaitGL 2643 [1] 2644 glXCreateNewContext [1] glXFreeContextEXT [1] 2645 glXGetProcAddressARB [1] glXQueryDrawable [1] glXWaitX [1] 2646 glXCreatePbuffer [1] glXGetClientString [1] 2647 glXGetSelectedEvent [1] glXQueryExtension [1] 2648 glXCreatePixmap [1] glXGetConfig [1] glXGetVisualFromFBConfig 2649 [1] glXQueryExtensionsString [1] 2650 glXCreateWindow [1] glXGetContextIDEXT [1] glXImportContextEXT 2651 [1] glXQueryServerString [1] 2652 glXDestroyContext [1] glXGetCurrentContext [1] glXIsDirect [1] 2653 glXQueryVersion [1] 2654 2655 Referenced Specification(s) 2656 2657 [1]. OpenGL 2658 _________________________________________________________ 2659 2660 2.1.2. OpenGL 2661 _________________________________________________________ 2662 2663 2.1.2.1. Interfaces for OpenGL 2664 2665 An LSB conforming implementation shall provide the generic 2666 functions for OpenGL specified in Table 2-3, with the full 2667 functionality as described in the referenced underlying 2668 specification. 2669 2670 Table 2-3. libGL - OpenGL Function Interfaces 2671 glAccum [1] glDisable [1] glIndexPointer [1] glNormal3bv [1] 2672 glTexCoord1dv [1] 2673 glActiveTextureARB [1] glDisableClientState [1] glIndexd [1] 2674 glNormal3d [1] glTexCoord1f [1] 2675 glAlphaFunc [1] glDrawArrays [1] glIndexdv [1] glNormal3dv [1] 2676 glTexCoord1fv [1] 2677 glAreTexturesResident [1] glDrawBuffer [1] glIndexf [1] 2678 glNormal3f [1] glTexCoord1i [1] 2679 glArrayElement [1] glDrawElements [1] glIndexfv [1] 2680 glNormal3fv [1] glTexCoord1iv [1] 2681 glBegin [1] glDrawPixels [1] glIndexi [1] glNormal3i [1] 2682 glTexCoord1s [1] 2683 glBindTexture [1] glDrawRangeElements [1] glIndexiv [1] 2684 glNormal3iv [1] glTexCoord1sv [1] 2685 glBitmap [1] glEdgeFlag [1] glIndexs [1] glNormal3s [1] 2686 glTexCoord2d [1] 2687 glBlendColor [1] glEdgeFlagPointer [1] glIndexsv [1] 2688 glNormal3sv [1] glTexCoord2dv [1] 2689 glBlendEquation [1] glEdgeFlagv [1] glIndexub [1] 2690 glNormalPointer [1] glTexCoord2f [1] 2691 glBlendFunc [1] glEnable [1] glIndexubv [1] glOrtho [1] 2692 glTexCoord2fv [1] 2693 glCallList [1] glEnableClientState [1] glInitNames [1] 2694 glPassThrough [1] glTexCoord2i [1] 2695 glCallLists [1] glEnd [1] glInterleavedArrays [1] glPixelMapfv 2696 [1] glTexCoord2iv [1] 2697 glClear [1] glEndList [1] glIsEnabled [1] glPixelMapuiv [1] 2698 glTexCoord2s [1] 2699 glClearAccum [1] glEvalCoord1d [1] glIsList [1] glPixelMapusv 2700 [1] glTexCoord2sv [1] 2701 glClearColor [1] glEvalCoord1dv [1] glIsTexture [1] 2702 glPixelStoref [1] glTexCoord3d [1] 2703 glClearDepth [1] glEvalCoord1f [1] glLightModelf [1] 2704 glPixelStorei [1] glTexCoord3dv [1] 2705 glClearIndex [1] glEvalCoord1fv [1] glLightModelfv [1] 2706 glPixelTransferf [1] glTexCoord3f [1] 2707 glClearStencil [1] glEvalCoord2d [1] glLightModeli [1] 2708 glPixelTransferi [1] glTexCoord3fv [1] 2709 glClientActiveTextureARB [1] glEvalCoord2dv [1] glLightModeliv 2710 [1] glPixelZoom [1] glTexCoord3i [1] 2711 glClipPlane [1] glEvalCoord2f [1] glLightf [1] glPointSize [1] 2712 glTexCoord3iv [1] 2713 glColor3b [1] glEvalCoord2fv [1] glLightfv [1] glPolygonMode 2714 [1] glTexCoord3s [1] 2715 glColor3bv [1] glEvalMesh1 [1] glLighti [1] glPolygonOffset 2716 [1] glTexCoord3sv [1] 2717 glColor3d [1] glEvalMesh2 [1] glLightiv [1] glPolygonStipple 2718 [1] glTexCoord4d [1] 2719 glColor3dv [1] glEvalPoint1 [1] glLineStipple [1] glPopAttrib 2720 [1] glTexCoord4dv [1] 2721 glColor3f [1] glEvalPoint2 [1] glLineWidth [1] 2722 glPopClientAttrib [1] glTexCoord4f [1] 2723 glColor3fv [1] glFeedbackBuffer [1] glListBase [1] glPopMatrix 2724 [1] glTexCoord4fv [1] 2725 glColor3i [1] glFinish [1] glLoadIdentity [1] glPopName [1] 2726 glTexCoord4i [1] 2727 glColor3iv [1] glFlush [1] glLoadMatrixd [1] 2728 glPrioritizeTextures [1] glTexCoord4iv [1] 2729 glColor3s [1] glFogf [1] glLoadMatrixf [1] glPushAttrib [1] 2730 glTexCoord4s [1] 2731 glColor3sv [1] glFogfv [1] glLoadName [1] glPushClientAttrib 2732 [1] glTexCoord4sv [1] 2733 glColor3ub [1] glFogi [1] glLogicOp [1] glPushMatrix [1] 2734 glTexCoordPointer [1] 2735 glColor3ubv [1] glFogiv [1] glMap1d [1] glPushName [1] 2736 glTexEnvf [1] 2737 glColor3ui [1] glFrontFace [1] glMap1f [1] glRasterPos2d [1] 2738 glTexEnvfv [1] 2739 glColor3uiv [1] glFrustum [1] glMap2d [1] glRasterPos2dv [1] 2740 glTexEnvi [1] 2741 glColor3us [1] glGenLists [1] glMap2f [1] glRasterPos2f [1] 2742 glTexEnviv [1] 2743 glColor3usv [1] glGenTextures [1] glMapGrid1d [1] 2744 glRasterPos2fv [1] glTexGend [1] 2745 glColor4b [1] glGetBooleanv [1] glMapGrid1f [1] glRasterPos2i 2746 [1] glTexGendv [1] 2747 glColor4bv [1] glGetClipPlane [1] glMapGrid2d [1] 2748 glRasterPos2iv [1] glTexGenf [1] 2749 glColor4d [1] glGetColorTable [1] glMapGrid2f [1] 2750 glRasterPos2s [1] glTexGenfv [1] 2751 glColor4dv [1] glGetColorTableParameterfv [1] glMaterialf [1] 2752 glRasterPos2sv [1] glTexGeni [1] 2753 glColor4f [1] glGetColorTableParameteriv [1] glMaterialfv [1] 2754 glRasterPos3d [1] glTexGeniv [1] 2755 glColor4fv [1] glGetConvolutionFilter [1] glMateriali [1] 2756 glRasterPos3dv [1] glTexImage1D [1] 2757 glColor4i [1] glGetConvolutionParameterfv [1] glMaterialiv [1] 2758 glRasterPos3f [1] glTexImage2D [1] 2759 glColor4iv [1] glGetConvolutionParameteriv [1] glMatrixMode 2760 [1] glRasterPos3fv [1] glTexImage3D [1] 2761 glColor4s [1] glGetDoublev [1] glMinmax [1] glRasterPos3i [1] 2762 glTexParameterf [1] 2763 glColor4sv [1] glGetError [1] glMultMatrixd [1] glRasterPos3iv 2764 [1] glTexParameterfv [1] 2765 glColor4ub [1] glGetFloatv [1] glMultMatrixf [1] glRasterPos3s 2766 [1] glTexParameteri [1] 2767 glColor4ubv [1] glGetHistogram [1] glMultiTexCoord1dARB [1] 2768 glRasterPos3sv [1] glTexParameteriv [1] 2769 glColor4ui [1] glGetHistogramParameterfv [1] 2770 glMultiTexCoord1dvARB [1] glRasterPos4d [1] glTexSubImage1D 2771 [1] 2772 glColor4uiv [1] glGetHistogramParameteriv [1] 2773 glMultiTexCoord1fARB [1] glRasterPos4dv [1] glTexSubImage2D 2774 [1] 2775 glColor4us [1] glGetIntegerv [1] glMultiTexCoord1fvARB [1] 2776 glRasterPos4f [1] glTexSubImage3D [1] 2777 glColor4usv [1] glGetLightfv [1] glMultiTexCoord1iARB [1] 2778 glRasterPos4fv [1] glTranslated [1] 2779 glColorMask [1] glGetLightiv [1] glMultiTexCoord1ivARB [1] 2780 glRasterPos4i [1] glTranslatef [1] 2781 glColorMaterial [1] glGetMapdv [1] glMultiTexCoord1sARB [1] 2782 glRasterPos4iv [1] glVertex2d [1] 2783 glColorPointer [1] glGetMapfv [1] glMultiTexCoord1svARB [1] 2784 glRasterPos4s [1] glVertex2dv [1] 2785 glColorSubTable [1] glGetMapiv [1] glMultiTexCoord2dARB [1] 2786 glRasterPos4sv [1] glVertex2f [1] 2787 glColorTable [1] glGetMaterialfv [1] glMultiTexCoord2dvARB [1] 2788 glReadBuffer [1] glVertex2fv [1] 2789 glColorTableParameterfv [1] glGetMaterialiv [1] 2790 glMultiTexCoord2fARB [1] glReadPixels [1] glVertex2i [1] 2791 glColorTableParameteriv [1] glGetMinmax [1] 2792 glMultiTexCoord2fvARB [1] glRectd [1] glVertex2iv [1] 2793 glConvolutionFilter1D [1] glGetMinmaxParameterfv [1] 2794 glMultiTexCoord2iARB [1] glRectdv [1] glVertex2s [1] 2795 glConvolutionFilter2D [1] glGetMinmaxParameteriv [1] 2796 glMultiTexCoord2ivARB [1] glRectf [1] glVertex2sv [1] 2797 glConvolutionParameterf [1] glGetPixelMapfv [1] 2798 glMultiTexCoord2sARB [1] glRectfv [1] glVertex3d [1] 2799 glConvolutionParameterfv [1] glGetPixelMapuiv [1] 2800 glMultiTexCoord2svARB [1] glRecti [1] glVertex3dv [1] 2801 glConvolutionParameteri [1] glGetPixelMapusv [1] 2802 glMultiTexCoord3dARB [1] glRectiv [1] glVertex3f [1] 2803 glConvolutionParameteriv [1] glGetPointerv [1] 2804 glMultiTexCoord3dvARB [1] glRects [1] glVertex3fv [1] 2805 glCopyColorSubTable [1] glGetPolygonStipple [1] 2806 glMultiTexCoord3fARB [1] glRectsv [1] glVertex3i [1] 2807 glCopyColorTable [1] glGetSeparableFilter [1] 2808 glMultiTexCoord3fvARB [1] glRenderMode [1] glVertex3iv [1] 2809 glCopyConvolutionFilter1D [1] glGetString [1] 2810 glMultiTexCoord3iARB [1] glResetHistogram [1] glVertex3s [1] 2811 glCopyConvolutionFilter2D [1] glGetTexEnvfv [1] 2812 glMultiTexCoord3ivARB [1] glResetMinmax [1] glVertex3sv [1] 2813 glCopyPixels [1] glGetTexEnviv [1] glMultiTexCoord3sARB [1] 2814 glRotated [1] glVertex4d [1] 2815 glCopyTexImage1D [1] glGetTexGendv [1] glMultiTexCoord3svARB 2816 [1] glRotatef [1] glVertex4dv [1] 2817 glCopyTexImage2D [1] glGetTexGenfv [1] glMultiTexCoord4dARB 2818 [1] glScaled [1] glVertex4f [1] 2819 glCopyTexSubImage1D [1] glGetTexGeniv [1] 2820 glMultiTexCoord4dvARB [1] glScalef [1] glVertex4fv [1] 2821 glCopyTexSubImage2D [1] glGetTexImage [1] glMultiTexCoord4fARB 2822 [1] glScissor [1] glVertex4i [1] 2823 glCopyTexSubImage3D [1] glGetTexLevelParameterfv [1] 2824 glMultiTexCoord4fvARB [1] glSelectBuffer [1] glVertex4iv [1] 2825 glCullFace [1] glGetTexLevelParameteriv [1] 2826 glMultiTexCoord4iARB [1] glSeparableFilter2D [1] glVertex4s 2827 [1] 2828 glDeleteLists [1] glGetTexParameterfv [1] 2829 glMultiTexCoord4ivARB [1] glShadeModel [1] glVertex4sv [1] 2830 glDeleteTextures [1] glGetTexParameteriv [1] 2831 glMultiTexCoord4sARB [1] glStencilFunc [1] glVertexPointer [1] 2832 glDepthFunc [1] glHint [1] glMultiTexCoord4svARB [1] 2833 glStencilMask [1] glViewport [1] 2834 glDepthMask [1] glHistogram [1] glNewList [1] glStencilOp [1] 2835 glXChooseFBConfig [1] 2836 glDepthRange [1] glIndexMask [1] glNormal3b [1] glTexCoord1d 2837 [1] 2838 2839 Referenced Specification(s) 2840 2841 [1]. OpenGL 2842 _________________________________________________________ 2843 2844 2.2. Data Definitions for libGL 2845 2846 This section defines global identifiers and their values that 2847 are associated with interfaces contained in libGL. These 2848 definitions are organized into groups that correspond to 2849 system headers. This convention is used as a convenience for 2850 the reader, and does not imply the existence of these headers, 2851 or their content. 2852 2853 These definitions are intended to supplement those provided in 2854 the referenced underlying specifications. 2855 2856 This specification uses ISO/IEC 9899 C Language as the 2857 reference programming language, and data definitions are 2858 specified in ISO C format. The C language is used here as a 2859 convenient notation. Using a C language description of these 2860 data objects does not preclude their use by other programming 2861 languages. 2862 _________________________________________________________ 2863 2864 2.2.1. GL/gl.h 2865 2866 typedef unsigned int GLenum; 2867 typedef unsigned char GLboolean; 2868 typedef unsigned int GLbitfield; 2869 typedef void GLvoid; 2870 typedef char GLbyte; 2871 typedef short GLshort; 2872 typedef int GLint; 2873 typedef unsigned char GLubyte; 2874 typedef unsigned short GLushort; 2875 typedef unsigned int GLuint; 2876 typedef int GLsizei; 2877 typedef float GLfloat; 2878 typedef float GLclampf; 2879 typedef double GLdouble; 2880 typedef double GLclampd; 2881 2882 #define GL_UNSIGNED_BYTE 0x1401 2883 #define GL_SHORT 0x1402 2884 #define GL_UNSIGNED_SHORT 0x1403 2885 #define GL_INT 0x1404 2886 #define GL_UNSIGNED_INT 0x1405 2887 #define GL_FLOAT 0x1406 2888 #define GL_2_BYTES 0x1407 2889 #define GL_3_BYTES 0x1408 2890 #define GL_4_BYTES 0x1409 2891 #define GL_DOUBLE 0x140A 2892 2893 #define GL_POINTS 0x0000 2894 #define GL_LINES 0x0001 2895 #define GL_LINE_LOOP 0x0002 2896 #define GL_LINE_STRIP 0x0003 2897 #define GL_TRIANGLES 0x0004 2898 #define GL_TRIANGLE_STRIP 0x0005 2899 #define GL_TRIANGLE_FAN 0x0006 2900 #define GL_QUADS 0x0007 2901 #define GL_QUAD_STRIP 0x0008 2902 #define GL_POLYGON 0x0009 2903 2904 #define GL_V2F 0x2A20 2905 #define GL_V3F 0x2A21 2906 #define GL_C4UB_V2F 0x2A22 2907 #define GL_C4UB_V3F 0x2A23 2908 #define GL_C3F_V3F 0x2A24 2909 #define GL_N3F_V3F 0x2A25 2910 #define GL_C4F_N3F_V3F 0x2A26 2911 #define GL_T2F_V3F 0x2A27 2912 #define GL_T4F_V4F 0x2A28 2913 #define GL_T2F_C4UB_V3F 0x2A29 2914 #define GL_T2F_C3F_V3F 0x2A2A 2915 #define GL_T2F_N3F_V3F 0x2A2B 2916 #define GL_T2F_C4F_N3F_V3F 0x2A2C 2917 #define GL_T4F_C4F_N3F_V4F 0x2A2D 2918 #define GL_VERTEX_ARRAY 0x8074 2919 #define GL_NORMAL_ARRAY 0x8075 2920 #define GL_COLOR_ARRAY 0x8076 2921 #define GL_INDEX_ARRAY 0x8077 2922 #define GL_TEXTURE_COORD_ARRAY 0x8078 2923 #define GL_EDGE_FLAG_ARRAY 0x8079 2924 #define GL_VERTEX_ARRAY_SIZE 0x807A 2925 #define GL_VERTEX_ARRAY_TYPE 0x807B 2926 #define GL_VERTEX_ARRAY_STRIDE 0x807C 2927 #define GL_NORMAL_ARRAY_TYPE 0x807E 2928 #define GL_NORMAL_ARRAY_STRIDE 0x807F 2929 #define GL_COLOR_ARRAY_SIZE 0x8081 2930 #define GL_COLOR_ARRAY_TYPE 0x8082 2931 #define GL_COLOR_ARRAY_STRIDE 0x8083 2932 #define GL_INDEX_ARRAY_TYPE 0x8085 2933 #define GL_INDEX_ARRAY_STRIDE 0x8086 2934 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 2935 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 2936 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A 2937 #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C 2938 #define GL_VERTEX_ARRAY_POINTER 0x808E 2939 #define GL_NORMAL_ARRAY_POINTER 0x808F 2940 #define GL_COLOR_ARRAY_POINTER 0x8090 2941 #define GL_INDEX_ARRAY_POINTER 0x8091 2942 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 2943 2944 #define GL_MATRIX_MODE 0x0BA0 2945 #define GL_MODELVIEW 0x1700 2946 #define GL_PROJECTION 0x1701 2947 #define GL_TEXTURE 0x1702 2948 _________________________________________________________ 2949 2950 2.2.2. GL/glx.h 2951 2952 typedef struct __GLXcontextRec *GLXContext; 2953 typedef struct __GLXFBConfigRec *GLXFBConfig; 2954 typedef XID GLXContextID; 2955 typedef XID GLXPixmap; 2956 typedef XID GLXDrawable; 2957 typedef XID GLXPbuffer; 2958 typedef XID GLXWindow; 2959 2960 III. Package Information 2961 2962 Table of Contents 2963 3. Package Dependencies 2964 _________________________________________________________ 2965 2966 Chapter 3. Package Dependencies 2967 2968 3.1. Package Dependencies 2969 2970 The LSB runtime environment shall provide the following 2971 dependencies. 2972 2973 lsb-graphics-arch 2974 This dependency is used to indicate that the 2975 application is dependent on features contained in the 2976 LSB-Graphics module. 2977 2978 lsb-graphics-noarch 2979 This dependency is used to indicate that the 2980 application is dependent on features contained in the 2981 LSB-Graphics module and that the package does not 2982 contain any architecture specific files. 2983 2984 The arch component of any package name is described in the 2985 relevant architecture specific LSB. 2986 2987 Free Documentation License 2988 _________________________________________________________ 2989 2990 Table of Contents 2991 A. GNU Free Documentation License 2992 2993 A.1. PREAMBLE 2994 A.2. APPLICABILITY AND DEFINITIONS 2995 A.3. VERBATIM COPYING 2996 A.4. COPYING IN QUANTITY 2997 A.5. MODIFICATIONS 2998 A.6. COMBINING DOCUMENTS 2999 A.7. COLLECTIONS OF DOCUMENTS 3000 A.8. AGGREGATION WITH INDEPENDENT WORKS 3001 A.9. TRANSLATION 3002 A.10. TERMINATION 3003 A.11. FUTURE REVISIONS OF THIS LICENSE 3004 A.12. How to use this License for your documents 3005 _________________________________________________________ 3006 3007 Appendix A. GNU Free Documentation License 3008 3009 Version 1.1, March 2000 3010 3011 Copyright (C) 2000 Free Software Foundation, Inc. 59 Temple 3012 Place, Suite 330, Boston, MA 02111-1307 USA Everyone is 3013 permitted to copy and distribute verbatim copies of this 3014 license document, but changing it is not allowed. 3015 _________________________________________________________ 3016 3017 A.1. PREAMBLE 3018 3019 The purpose of this License is to make a manual, textbook, or 3020 other written document "free" in the sense of freedom: to 3021 assure everyone the effective freedom to copy and redistribute 3022 it, with or without modifying it, either commercially or 3023 noncommercially. Secondarily, this License preserves for the 3024 author and publisher a way to get credit for their work, while 3025 not being considered responsible for modifications made by 3026 others. 3027 3028 This License is a kind of "copyleft", which means that 3029 derivative works of the document must themselves be free in 3030 the same sense. It complements the GNU General Public License, 3031 which is a copyleft license designed for free software. 3032 3033 We have designed this License in order to use it for manuals 3034 for free software, because free software needs free 3035 documentation: a free program should come with manuals 3036 providing the same freedoms that the software does. But this 3037 License is not limited to software manuals; it can be used for 3038 any textual work, regardless of subject matter or whether it 3039 is published as a printed book. We recommend this License 3040 principally for works whose purpose is instruction or 3041 reference. 3042 _________________________________________________________ 3043 3044 A.2. APPLICABILITY AND DEFINITIONS 3045 3046 This License applies to any manual or other work that contains 3047 a notice placed by the copyright holder saying it can be 3048 distributed under the terms of this License. The "Document", 3049 below, refers to any such manual or work. Any member of the 3050 public is a licensee, and is addressed as "you". 3051 3052 A "Modified Version" of the Document means any work containing 3053 the Document or a portion of it, either copied verbatim, or 3054 with modifications and/or translated into another language. 3055 3056 A "Secondary Section" is a named appendix or a front-matter 3057 section of the Document that deals exclusively with the 3058 relationship of the publishers or authors of the Document to 3059 the Document's overall subject (or to related matters) and 3060 contains nothing that could fall directly within that overall 3061 subject. (For example, if the Document is in part a textbook 3062 of mathematics, a Secondary Section may not explain any 3063 mathematics.) The relationship could be a matter of historical 3064 connection with the subject or with related matters, or of 3065 legal, commercial, philosophical, ethical or political 3066 position regarding them. 3067 3068 The "Invariant Sections" are certain Secondary Sections whose 3069 titles are designated, as being those of Invariant Sections, 3070 in the notice that says that the Document is released under 3071 this License. 3072 3073 The "Cover Texts" are certain short passages of text that are 3074 listed, as Front-Cover Texts or Back-Cover Texts, in the 3075 notice that says that the Document is released under this 3076 License. 3077 3078 A "Transparent" copy of the Document means a machine-readable 3079 copy, represented in a format whose specification is available 3080 to the general public, whose contents can be viewed and edited 3081 directly and straightforwardly with generic text editors or 3082 (for images composed of pixels) generic paint programs or (for 3083 drawings) some widely available drawing editor, and that is 3084 suitable for input to text formatters or for automatic 3085 translation to a variety of formats suitable for input to text 3086 formatters. A copy made in an otherwise Transparent file 3087 format whose markup has been designed to thwart or discourage 3088 subsequent modification by readers is not Transparent. A copy 3089 that is not "Transparent" is called "Opaque". 3090 3091 Examples of suitable formats for Transparent copies include 3092 plain ASCII without markup, Texinfo input format, LaTeX input 3093 format, SGML or XML using a publicly available DTD, and 3094 standard-conforming simple HTML designed for human 3095 modification. Opaque formats include PostScript, PDF, 3096 proprietary formats that can be read and edited only by 3097 proprietary word processors, SGML or XML for which the DTD 3098 and/or processing tools are not generally available, and the 3099 machine-generated HTML produced by some word processors for 3100 output purposes only. 3101 3102 The "Title Page" means, for a printed book, the title page 3103 itself, plus such following pages as are needed to hold, 3104 legibly, the material this License requires to appear in the 3105 title page. For works in formats which do not have any title 3106 page as such, "Title Page" means the text near the most 3107 prominent appearance of the work's title, preceding the 3108 beginning of the body of the text. 3109 _________________________________________________________ 3110 3111 A.3. VERBATIM COPYING 3112 3113 You may copy and distribute the Document in any medium, either 3114 commercially or noncommercially, provided that this License, 3115 the copyright notices, and the license notice saying this 3116 License applies to the Document are reproduced in all copies, 3117 and that you add no other conditions whatsoever to those of 3118 this License. You may not use technical measures to obstruct 3119 or control the reading or further copying of the copies you 3120 make or distribute. However, you may accept compensation in 3121 exchange for copies. If you distribute a large enough number 3122 of copies you must also follow the conditions in section 3. 3123 3124 You may also lend copies, under the same conditions stated 3125 above, and you may publicly display copies. 3126 _________________________________________________________ 3127 3128 A.4. COPYING IN QUANTITY 3129 3130 If you publish printed copies of the Document numbering more 3131 than 100, and the Document's license notice requires Cover 3132 Texts, you must enclose the copies in covers that carry, 3133 clearly and legibly, all these Cover Texts: Front-Cover Texts 3134 on the front cover, and Back-Cover Texts on the back cover. 3135 Both covers must also clearly and legibly identify you as the 3136 publisher of these copies. The front cover must present the 3137 full title with all words of the title equally prominent and 3138 visible. You may add other material on the covers in addition. 3139 Copying with changes limited to the covers, as long as they 3140 preserve the title of the Document and satisfy these 3141 conditions, can be treated as verbatim copying in other 3142 respects. 3143 3144 If the required texts for either cover are too voluminous to 3145 fit legibly, you should put the first ones listed (as many as 3146 fit reasonably) on the actual cover, and continue the rest 3147 onto adjacent pages. 3148 3149 If you publish or distribute Opaque copies of the Document 3150 numbering more than 100, you must either include a 3151 machine-readable Transparent copy along with each Opaque copy, 3152 or state in or with each Opaque copy a publicly-accessible 3153 computer-network location containing a complete Transparent 3154 copy of the Document, free of added material, which the 3155 general network-using public has access to download 3156 anonymously at no charge using public-standard network 3157 protocols. If you use the latter option, you must take 3158 reasonably prudent steps, when you begin distribution of 3159 Opaque copies in quantity, to ensure that this Transparent 3160 copy will remain thus accessible at the stated location until 3161 at least one year after the last time you distribute an Opaque 3162 copy (directly or through your agents or retailers) of that 3163 edition to the public. 3164 3165 It is requested, but not required, that you contact the 3166 authors of the Document well before redistributing any large 3167 number of copies, to give them a chance to provide you with an 3168 updated version of the Document. 3169 _________________________________________________________ 3170 3171 A.5. MODIFICATIONS 3172 3173 You may copy and distribute a Modified Version of the Document 3174 under the conditions of sections 2 and 3 above, provided that 3175 you release the Modified Version under precisely this License, 3176 with the Modified Version filling the role of the Document, 3177 thus licensing distribution and modification of the Modified 3178 Version to whoever possesses a copy of it. In addition, you 3179 must do these things in the Modified Version: 3180 3181 A. Use in the Title Page (and on the covers, if any) a title 3182 distinct from that of the Document, and from those of 3183 previous versions (which should, if there were any, be 3184 listed in the History section of the Document). You may 3185 use the same title as a previous version if the original 3186 publisher of that version gives permission. 3187 B. List on the Title Page, as authors, one or more persons or 3188 entities responsible for authorship of the modifications 3189 in the Modified Version, together with at least five of 3190 the principal authors of the Document (all of its 3191 principal authors, if it has less than five). 3192 C. State on the Title page the name of the publisher of the 3193 Modified Version, as the publisher. 3194 D. Preserve all the copyright notices of the Document. 3195 E. Add an appropriate copyright notice for your modifications 3196 adjacent to the other copyright notices. 3197 F. Include, immediately after the copyright notices, a 3198 license notice giving the public permission to use the 3199 Modified Version under the terms of this License, in the 3200 form shown in the Addendum below. 3201 G. Preserve in that license notice the full lists of 3202 Invariant Sections and required Cover Texts given in the 3203 Document's license notice. 3204 H. Include an unaltered copy of this License. 3205 I. Preserve the section entitled "History", and its title, 3206 and add to it an item stating at least the title, year, 3207 new authors, and publisher of the Modified Version as 3208 given on the Title Page. If there is no section entitled 3209 "History" in the Document, create one stating the title, 3210 year, authors, and publisher of the Document as given on 3211 its Title Page, then add an item describing the Modified 3212 Version as stated in the previous sentence. 3213 J. Preserve the network location, if any, given in the 3214 Document for public access to a Transparent copy of the 3215 Document, and likewise the network locations given in the 3216 Document for previous versions it was based on. These may 3217 be placed in the "History" section. You may omit a network 3218 location for a work that was published at least four years 3219 before the Document itself, or if the original publisher 3220 of the version it refers to gives permission. 3221 K. In any section entitled "Acknowledgements" or 3222 "Dedications", preserve the section's title, and preserve 3223 in the section all the substance and tone of each of the 3224 contributor acknowledgements and/or dedications given 3225 therein. 3226 L. Preserve all the Invariant Sections of the Document, 3227 unaltered in their text and in their titles. Section 3228 numbers or the equivalent are not considered part of the 3229 section titles. 3230 M. Delete any section entitled "Endorsements". Such a section 3231 may not be included in the Modified Version. 3232 N. Do not retitle any existing section as "Endorsements" or 3233 to conflict in title with any Invariant Section. 3234 3235 If the Modified Version includes new front-matter sections or 3236 appendices that qualify as Secondary Sections and contain no 3237 material copied from the Document, you may at your option 3238 designate some or all of these sections as invariant. To do 3239 this, add their titles to the list of Invariant Sections in 3240 the Modified Version's license notice. These titles must be 3241 distinct from any other section titles. 3242 3243 You may add a section entitled "Endorsements", provided it 3244 contains nothing but endorsements of your Modified Version by 3245 various parties--for example, statements of peer review or 3246 that the text has been approved by an organization as the 3247 authoritative definition of a standard. 3248 3249 You may add a passage of up to five words as a Front-Cover 3250 Text, and a passage of up to 25 words as a Back-Cover Text, to 3251 the end of the list of Cover Texts in the Modified Version. 3252 Only one passage of Front-Cover Text and one of Back-Cover 3253 Text may be added by (or through arrangements made by) any one 3254 entity. If the Document already includes a cover text for the 3255 same cover, previously added by you or by arrangement made by 3256 the same entity you are acting on behalf of, you may not add 3257 another; but you may replace the old one, on explicit 3258 permission from the previous publisher that added the old one. 3259 3260 The author(s) and publisher(s) of the Document do not by this 3261 License give permission to use their names for publicity for 3262 or to assert or imply endorsement of any Modified Version. 3263 _________________________________________________________ 3264 3265 A.6. COMBINING DOCUMENTS 3266 3267 You may combine the Document with other documents released 3268 under this License, under the terms defined in section 4 above 3269 for modified versions, provided that you include in the 3270 combination all of the Invariant Sections of all of the 3271 original documents, unmodified, and list them all as Invariant 3272 Sections of your combined work in its license notice. 3273 3274 The combined work need only contain one copy of this License, 3275 and multiple identical Invariant Sections may be replaced with 3276 a single copy. If there are multiple Invariant Sections with 3277 the same name but different contents, make the title of each 3278 such section unique by adding at the end of it, in 3279 parentheses, the name of the original author or publisher of 3280 that section if known, or else a unique number. Make the same 3281 adjustment to the section titles in the list of Invariant 3282 Sections in the license notice of the combined work. 3283 3284 In the combination, you must combine any sections entitled 3285 "History" in the various original documents, forming one 3286 section entitled "History"; likewise combine any sections 3287 entitled "Acknowledgements", and any sections entitled 3288 "Dedications". You must delete all sections entitled 3289 "Endorsements." 3290 _________________________________________________________ 3291 3292 A.7. COLLECTIONS OF DOCUMENTS 3293 3294 You may make a collection consisting of the Document and other 3295 documents released under this License, and replace the 3296 individual copies of this License in the various documents 3297 with a single copy that is included in the collection, 3298 provided that you follow the rules of this License for 3299 verbatim copying of each of the documents in all other 3300 respects. 3301 3302 You may extract a single document from such a collection, and 3303 distribute it individually under this License, provided you 3304 insert a copy of this License into the extracted document, and 3305 follow this License in all other respects regarding verbatim 3306 copying of that document. 3307 _________________________________________________________ 3308 3309 A.8. AGGREGATION WITH INDEPENDENT WORKS 3310 3311 A compilation of the Document or its derivatives with other 3312 separate and independent documents or works, in or on a volume 3313 of a storage or distribution medium, does not as a whole count 3314 as a Modified Version of the Document, provided no compilation 3315 copyright is claimed for the compilation. Such a compilation 3316 is called an "aggregate", and this License does not apply to 3317 the other self-contained works thus compiled with the 3318 Document, on account of their being thus compiled, if they are 3319 not themselves derivative works of the Document. 3320 3321 If the Cover Text requirement of section 3 is applicable to 3322 these copies of the Document, then if the Document is less 3323 than one quarter of the entire aggregate, the Document's Cover 3324 Texts may be placed on covers that surround only the Document 3325 within the aggregate. Otherwise they must appear on covers 3326 around the whole aggregate. 3327 _________________________________________________________ 3328 3329 A.9. TRANSLATION 3330 3331 Translation is considered a kind of modification, so you may 3332 distribute translations of the Document under the terms of 3333 section 4. Replacing Invariant Sections with translations 3334 requires special permission from their copyright holders, but 3335 you may include translations of some or all Invariant Sections 3336 in addition to the original versions of these Invariant 3337 Sections. You may include a translation of this License 3338 provided that you also include the original English version of 3339 this License. In case of a disagreement between the 3340 translation and the original English version of this License, 3341 the original English version will prevail. 3342 _________________________________________________________ 3343 3344 A.10. TERMINATION 3345 3346 You may not copy, modify, sublicense, or distribute the 3347 Document except as expressly provided for under this License. 3348 Any other attempt to copy, modify, sublicense or distribute 3349 the Document is void, and will automatically terminate your 3350 rights under this License. However, parties who have received 3351 copies, or rights, from you under this License will not have 3352 their licenses terminated so long as such parties remain in 3353 full compliance. 3354 _________________________________________________________ 3355 3356 A.11. FUTURE REVISIONS OF THIS LICENSE 3357 3358 The Free Software Foundation may publish new, revised versions 3359 of the GNU Free Documentation License from time to time. Such 3360 new versions will be similar in spirit to the present version, 3361 but may differ in detail to address new problems or concerns. 3362 See http://www.gnu.org/copyleft/. 3363 3364 Each version of the License is given a distinguishing version 3365 number. If the Document specifies that a particular numbered 3366 version of this License "or any later version" applies to it, 3367 you have the option of following the terms and conditions 3368 either of that specified version or of any later version that 3369 has been published (not as a draft) by the Free Software 3370 Foundation. If the Document does not specify a version number 3371 of this License, you may choose any version ever published 3372 (not as a draft) by the Free Software Foundation. 3373 _________________________________________________________ 3374 3375 A.12. How to use this License for your documents 3376 3377 To use this License in a document you have written, include a 3378 copy of the License in the document and put the following 3379 copyright and license notices just after the title page: 3380 3381 Copyright (c) YEAR YOUR NAME. Permission is granted to 3382 copy, distribute and/or modify this document under the 3383 terms of the GNU Free Documentation License, Version 1.1 or 3384 any later version published by the Free Software 3385 Foundation; with the Invariant Sections being LIST THEIR 3386 TITLES, with the Front-Cover Texts being LIST, and with the 3387 Back-Cover Texts being LIST. A copy of the license is 3388 included in the section entitled "GNU Free Documentation 3389 License". 3390 3391 If you have no Invariant Sections, write "with no Invariant 3392 Sections" instead of saying which ones are invariant. If you 3393 have no Front-Cover Texts, write "no Front-Cover Texts" 3394 instead of "Front-Cover Texts being LIST"; likewise for 3395 Back-Cover Texts. 3396 3397 If your document contains nontrivial examples of program code, 3398 we recommend releasing these examples in parallel under your 3399 choice of free software license, such as the GNU General 3400 Public License, to permit their use in free software.