modernc.org/xcb@v1.0.15/examples/screen/screen_linux_386.go (about) 1 // Code generated by 'ccgo -export-fields F -lmodernc.org/xcb/lib -o examples/screen/screen_linux_386.go examples/screen/screen.c', DO NOT EDIT. 2 3 package main 4 5 import ( 6 "math" 7 "reflect" 8 "sync/atomic" 9 "unsafe" 10 11 "modernc.org/libc" 12 "modernc.org/libc/sys/types" 13 "modernc.org/xcb/lib" 14 ) 15 16 var _ = math.Pi 17 var _ reflect.Kind 18 var _ atomic.Value 19 var _ unsafe.Pointer 20 var _ types.Size_t 21 22 func main() { libc.Start(main1) } 23 24 // Read-write lock types. 25 const ( /* pthread.h:100:1: */ 26 PTHREAD_RWLOCK_PREFER_READER_NP = 0 27 PTHREAD_RWLOCK_PREFER_WRITER_NP = 1 28 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP = 2 29 PTHREAD_RWLOCK_DEFAULT_NP = 0 30 ) 31 32 // Read-write lock initializers. 33 34 // Scheduler inheritance. 35 const ( /* pthread.h:120:1: */ 36 PTHREAD_INHERIT_SCHED = 0 37 PTHREAD_EXPLICIT_SCHED = 1 38 ) 39 40 // Scope handling. 41 const ( /* pthread.h:130:1: */ 42 PTHREAD_SCOPE_SYSTEM = 0 43 PTHREAD_SCOPE_PROCESS = 1 44 ) 45 46 // Process shared or private flag. 47 const ( /* pthread.h:140:1: */ 48 PTHREAD_PROCESS_PRIVATE = 0 49 PTHREAD_PROCESS_SHARED = 1 50 ) 51 52 // Cancellation 53 const ( /* pthread.h:164:1: */ 54 PTHREAD_CANCEL_ENABLE = 0 55 PTHREAD_CANCEL_DISABLE = 1 56 ) 57 const ( /* pthread.h:171:1: */ 58 PTHREAD_CANCEL_DEFERRED = 0 59 PTHREAD_CANCEL_ASYNCHRONOUS = 1 60 ) 61 62 // Determine the wordsize from the preprocessor defines. 63 64 // NB: Include guard matches what <linux/time.h> uses. 65 66 // Detach state. 67 const ( /* pthread.h:33:1: */ 68 PTHREAD_CREATE_JOINABLE = 0 69 PTHREAD_CREATE_DETACHED = 1 70 ) 71 72 // Mutex types. 73 const ( /* pthread.h:43:1: */ 74 PTHREAD_MUTEX_TIMED_NP = 0 75 PTHREAD_MUTEX_RECURSIVE_NP = 1 76 PTHREAD_MUTEX_ERRORCHECK_NP = 2 77 PTHREAD_MUTEX_ADAPTIVE_NP = 3 78 PTHREAD_MUTEX_NORMAL = 0 79 PTHREAD_MUTEX_RECURSIVE = 1 80 PTHREAD_MUTEX_ERRORCHECK = 2 81 PTHREAD_MUTEX_DEFAULT = 0 82 ) 83 84 // Robust mutex or not flags. 85 const ( /* pthread.h:65:1: */ 86 PTHREAD_MUTEX_STALLED = 0 87 PTHREAD_MUTEX_STALLED_NP = 0 88 PTHREAD_MUTEX_ROBUST = 1 89 PTHREAD_MUTEX_ROBUST_NP = 1 90 ) 91 92 // Mutex protocols. 93 const ( /* pthread.h:77:1: */ 94 PTHREAD_PRIO_NONE = 0 95 PTHREAD_PRIO_INHERIT = 1 96 PTHREAD_PRIO_PROTECT = 2 97 ) 98 99 const ( /* xproto.h:1028:1: */ 100 XCB_TIME_CURRENT_TIME = 0 101 ) 102 103 const ( /* xproto.h:1032:1: */ 104 XCB_ATOM_NONE = 0 105 XCB_ATOM_ANY = 0 106 XCB_ATOM_PRIMARY = 1 107 XCB_ATOM_SECONDARY = 2 108 XCB_ATOM_ARC = 3 109 XCB_ATOM_ATOM = 4 110 XCB_ATOM_BITMAP = 5 111 XCB_ATOM_CARDINAL = 6 112 XCB_ATOM_COLORMAP = 7 113 XCB_ATOM_CURSOR = 8 114 XCB_ATOM_CUT_BUFFER0 = 9 115 XCB_ATOM_CUT_BUFFER1 = 10 116 XCB_ATOM_CUT_BUFFER2 = 11 117 XCB_ATOM_CUT_BUFFER3 = 12 118 XCB_ATOM_CUT_BUFFER4 = 13 119 XCB_ATOM_CUT_BUFFER5 = 14 120 XCB_ATOM_CUT_BUFFER6 = 15 121 XCB_ATOM_CUT_BUFFER7 = 16 122 XCB_ATOM_DRAWABLE = 17 123 XCB_ATOM_FONT = 18 124 XCB_ATOM_INTEGER = 19 125 XCB_ATOM_PIXMAP = 20 126 XCB_ATOM_POINT = 21 127 XCB_ATOM_RECTANGLE = 22 128 XCB_ATOM_RESOURCE_MANAGER = 23 129 XCB_ATOM_RGB_COLOR_MAP = 24 130 XCB_ATOM_RGB_BEST_MAP = 25 131 XCB_ATOM_RGB_BLUE_MAP = 26 132 XCB_ATOM_RGB_DEFAULT_MAP = 27 133 XCB_ATOM_RGB_GRAY_MAP = 28 134 XCB_ATOM_RGB_GREEN_MAP = 29 135 XCB_ATOM_RGB_RED_MAP = 30 136 XCB_ATOM_STRING = 31 137 XCB_ATOM_VISUALID = 32 138 XCB_ATOM_WINDOW = 33 139 XCB_ATOM_WM_COMMAND = 34 140 XCB_ATOM_WM_HINTS = 35 141 XCB_ATOM_WM_CLIENT_MACHINE = 36 142 XCB_ATOM_WM_ICON_NAME = 37 143 XCB_ATOM_WM_ICON_SIZE = 38 144 XCB_ATOM_WM_NAME = 39 145 XCB_ATOM_WM_NORMAL_HINTS = 40 146 XCB_ATOM_WM_SIZE_HINTS = 41 147 XCB_ATOM_WM_ZOOM_HINTS = 42 148 XCB_ATOM_MIN_SPACE = 43 149 XCB_ATOM_NORM_SPACE = 44 150 XCB_ATOM_MAX_SPACE = 45 151 XCB_ATOM_END_SPACE = 46 152 XCB_ATOM_SUPERSCRIPT_X = 47 153 XCB_ATOM_SUPERSCRIPT_Y = 48 154 XCB_ATOM_SUBSCRIPT_X = 49 155 XCB_ATOM_SUBSCRIPT_Y = 50 156 XCB_ATOM_UNDERLINE_POSITION = 51 157 XCB_ATOM_UNDERLINE_THICKNESS = 52 158 XCB_ATOM_STRIKEOUT_ASCENT = 53 159 XCB_ATOM_STRIKEOUT_DESCENT = 54 160 XCB_ATOM_ITALIC_ANGLE = 55 161 XCB_ATOM_X_HEIGHT = 56 162 XCB_ATOM_QUAD_WIDTH = 57 163 XCB_ATOM_WEIGHT = 58 164 XCB_ATOM_POINT_SIZE = 59 165 XCB_ATOM_RESOLUTION = 60 166 XCB_ATOM_COPYRIGHT = 61 167 XCB_ATOM_NOTICE = 62 168 XCB_ATOM_FONT_NAME = 63 169 XCB_ATOM_FAMILY_NAME = 64 170 XCB_ATOM_FULL_NAME = 65 171 XCB_ATOM_CAP_HEIGHT = 66 172 XCB_ATOM_WM_CLASS = 67 173 XCB_ATOM_WM_TRANSIENT_FOR = 68 174 ) 175 176 const ( /* xproto.h:1140:1: */ 177 XCB_COLORMAP_STATE_UNINSTALLED = 0 178 //*< The colormap was uninstalled. 179 180 XCB_COLORMAP_STATE_INSTALLED = 1 181 ) 182 183 const ( /* xproto.h:1149:1: */ 184 XCB_COLORMAP_NONE = 0 185 ) 186 187 const ( /* xproto.h:1203:1: */ 188 XCB_MAPPING_MODIFIER = 0 189 XCB_MAPPING_KEYBOARD = 1 190 XCB_MAPPING_POINTER = 2 191 ) 192 193 const ( /* xproto.h:1348:1: */ 194 XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0 195 XCB_WINDOW_CLASS_INPUT_OUTPUT = 1 196 XCB_WINDOW_CLASS_INPUT_ONLY = 2 197 ) 198 199 const ( /* xproto.h:1354:1: */ 200 XCB_CW_BACK_PIXMAP = 1 201 //*< Overrides the default background-pixmap. The background pixmap and window must 202 // have the same root and same depth. Any size pixmap can be used, although some 203 // sizes may be faster than others. 204 // 205 // If `XCB_BACK_PIXMAP_NONE` is specified, the window has no defined background. 206 // The server may fill the contents with the previous screen contents or with 207 // contents of its own choosing. 208 // 209 // If `XCB_BACK_PIXMAP_PARENT_RELATIVE` is specified, the parent's background is 210 // used, but the window must have the same depth as the parent (or a Match error 211 // results). The parent's background is tracked, and the current version is 212 // used each time the window background is required. 213 214 XCB_CW_BACK_PIXEL = 2 215 //*< Overrides `BackPixmap`. A pixmap of undefined size filled with the specified 216 // background pixel is used for the background. Range-checking is not performed, 217 // the background pixel is truncated to the appropriate number of bits. 218 219 XCB_CW_BORDER_PIXMAP = 4 220 //*< Overrides the default border-pixmap. The border pixmap and window must have the 221 // same root and the same depth. Any size pixmap can be used, although some sizes 222 // may be faster than others. 223 // 224 // The special value `XCB_COPY_FROM_PARENT` means the parent's border pixmap is 225 // copied (subsequent changes to the parent's border attribute do not affect the 226 // child), but the window must have the same depth as the parent. 227 228 XCB_CW_BORDER_PIXEL = 8 229 //*< Overrides `BorderPixmap`. A pixmap of undefined size filled with the specified 230 // border pixel is used for the border. Range checking is not performed on the 231 // border-pixel value, it is truncated to the appropriate number of bits. 232 233 XCB_CW_BIT_GRAVITY = 16 234 //*< Defines which region of the window should be retained if the window is resized. 235 236 XCB_CW_WIN_GRAVITY = 32 237 //*< Defines how the window should be repositioned if the parent is resized (see 238 // `ConfigureWindow`). 239 240 XCB_CW_BACKING_STORE = 64 241 //*< A backing-store of `WhenMapped` advises the server that maintaining contents of 242 // obscured regions when the window is mapped would be beneficial. A backing-store 243 // of `Always` advises the server that maintaining contents even when the window 244 // is unmapped would be beneficial. In this case, the server may generate an 245 // exposure event when the window is created. A value of `NotUseful` advises the 246 // server that maintaining contents is unnecessary, although a server may still 247 // choose to maintain contents while the window is mapped. Note that if the server 248 // maintains contents, then the server should maintain complete contents not just 249 // the region within the parent boundaries, even if the window is larger than its 250 // parent. While the server maintains contents, exposure events will not normally 251 // be generated, but the server may stop maintaining contents at any time. 252 253 XCB_CW_BACKING_PLANES = 128 254 //*< The backing-planes indicates (with bits set to 1) which bit planes of the 255 // window hold dynamic data that must be preserved in backing-stores and during 256 // save-unders. 257 258 XCB_CW_BACKING_PIXEL = 256 259 //*< The backing-pixel specifies what value to use in planes not covered by 260 // backing-planes. The server is free to save only the specified bit planes in the 261 // backing-store or save-under and regenerate the remaining planes with the 262 // specified pixel value. Any bits beyond the specified depth of the window in 263 // these values are simply ignored. 264 265 XCB_CW_OVERRIDE_REDIRECT = 512 266 //*< The override-redirect specifies whether map and configure requests on this 267 // window should override a SubstructureRedirect on the parent, typically to 268 // inform a window manager not to tamper with the window. 269 270 XCB_CW_SAVE_UNDER = 1024 271 //*< If 1, the server is advised that when this window is mapped, saving the 272 // contents of windows it obscures would be beneficial. 273 274 XCB_CW_EVENT_MASK = 2048 275 //*< The event-mask defines which events the client is interested in for this window 276 // (or for some event types, inferiors of the window). 277 278 XCB_CW_DONT_PROPAGATE = 4096 279 //*< The do-not-propagate-mask defines which events should not be propagated to 280 // ancestor windows when no client has the event type selected in this window. 281 282 XCB_CW_COLORMAP = 8192 283 //*< The colormap specifies the colormap that best reflects the true colors of the window. Servers 284 // capable of supporting multiple hardware colormaps may use this information, and window man- 285 // agers may use it for InstallColormap requests. The colormap must have the same visual type 286 // and root as the window (or a Match error results). If CopyFromParent is specified, the parent's 287 // colormap is copied (subsequent changes to the parent's colormap attribute do not affect the child). 288 // However, the window must have the same visual type as the parent (or a Match error results), 289 // and the parent must not have a colormap of None (or a Match error results). For an explanation 290 // of None, see FreeColormap request. The colormap is copied by sharing the colormap object 291 // between the child and the parent, not by making a complete copy of the colormap contents. 292 293 XCB_CW_CURSOR = 16384 294 ) 295 296 const ( /* xproto.h:1455:1: */ 297 XCB_BACK_PIXMAP_NONE = 0 298 XCB_BACK_PIXMAP_PARENT_RELATIVE = 1 299 ) 300 301 const ( /* xproto.h:1460:1: */ 302 XCB_GRAVITY_BIT_FORGET = 0 303 XCB_GRAVITY_WIN_UNMAP = 0 304 XCB_GRAVITY_NORTH_WEST = 1 305 XCB_GRAVITY_NORTH = 2 306 XCB_GRAVITY_NORTH_EAST = 3 307 XCB_GRAVITY_WEST = 4 308 XCB_GRAVITY_CENTER = 5 309 XCB_GRAVITY_EAST = 6 310 XCB_GRAVITY_SOUTH_WEST = 7 311 XCB_GRAVITY_SOUTH = 8 312 XCB_GRAVITY_SOUTH_EAST = 9 313 XCB_GRAVITY_STATIC = 10 314 ) 315 316 const ( /* xproto.h:1553:1: */ 317 XCB_MAP_STATE_UNMAPPED = 0 318 XCB_MAP_STATE_UNVIEWABLE = 1 319 XCB_MAP_STATE_VIEWABLE = 2 320 ) 321 322 const ( /* xproto.h:1630:1: */ 323 XCB_SET_MODE_INSERT = 0 324 XCB_SET_MODE_DELETE = 1 325 ) 326 327 const ( /* xproto.h:1716:1: */ 328 XCB_CONFIG_WINDOW_X = 1 329 XCB_CONFIG_WINDOW_Y = 2 330 XCB_CONFIG_WINDOW_WIDTH = 4 331 XCB_CONFIG_WINDOW_HEIGHT = 8 332 XCB_CONFIG_WINDOW_BORDER_WIDTH = 16 333 XCB_CONFIG_WINDOW_SIBLING = 32 334 XCB_CONFIG_WINDOW_STACK_MODE = 64 335 ) 336 337 const ( /* xproto.h:1726:1: */ 338 XCB_STACK_MODE_ABOVE = 0 339 XCB_STACK_MODE_BELOW = 1 340 XCB_STACK_MODE_TOP_IF = 2 341 XCB_STACK_MODE_BOTTOM_IF = 3 342 XCB_STACK_MODE_OPPOSITE = 4 343 ) 344 345 const ( /* xproto.h:1762:1: */ 346 XCB_CIRCULATE_RAISE_LOWEST = 0 347 XCB_CIRCULATE_LOWER_HIGHEST = 1 348 ) 349 350 const ( /* xproto.h:1915:1: */ 351 XCB_PROP_MODE_REPLACE = 0 352 //*< Discard the previous property value and store the new data. 353 354 XCB_PROP_MODE_PREPEND = 1 355 //*< Insert the new data before the beginning of existing data. The `format` must 356 // match existing property value. If the property is undefined, it is treated as 357 // defined with the correct type and format with zero-length data. 358 359 XCB_PROP_MODE_APPEND = 2 360 ) 361 362 const ( /* xproto.h:1963:1: */ 363 XCB_GET_PROPERTY_TYPE_ANY = 0 364 ) 365 366 const ( /* xproto.h:2100:1: */ 367 XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0 368 XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1 369 ) 370 371 const ( /* xproto.h:2120:1: */ 372 XCB_GRAB_MODE_SYNC = 0 373 //*< The state of the keyboard appears to freeze: No further keyboard events are 374 // generated by the server until the grabbing client issues a releasing 375 // `AllowEvents` request or until the keyboard grab is released. 376 377 XCB_GRAB_MODE_ASYNC = 1 378 ) 379 380 const ( /* xproto.h:2131:1: */ 381 XCB_GRAB_STATUS_SUCCESS = 0 382 XCB_GRAB_STATUS_ALREADY_GRABBED = 1 383 XCB_GRAB_STATUS_INVALID_TIME = 2 384 XCB_GRAB_STATUS_NOT_VIEWABLE = 3 385 XCB_GRAB_STATUS_FROZEN = 4 386 ) 387 388 const ( /* xproto.h:2139:1: */ 389 XCB_CURSOR_NONE = 0 390 ) 391 392 const ( /* xproto.h:2192:1: */ 393 XCB_BUTTON_INDEX_ANY = 0 394 //*< Any of the following (or none): 395 396 XCB_BUTTON_INDEX_1 = 1 397 //*< The left mouse button. 398 399 XCB_BUTTON_INDEX_2 = 2 400 //*< The right mouse button. 401 402 XCB_BUTTON_INDEX_3 = 3 403 //*< The middle mouse button. 404 405 XCB_BUTTON_INDEX_4 = 4 406 //*< Scroll wheel. TODO: direction? 407 408 XCB_BUTTON_INDEX_5 = 5 409 ) 410 411 const ( /* xproto.h:2312:1: */ 412 XCB_GRAB_ANY = 0 413 ) 414 415 const ( /* xproto.h:2349:1: */ 416 XCB_ALLOW_ASYNC_POINTER = 0 417 //*< For AsyncPointer, if the pointer is frozen by the client, pointer event 418 // processing continues normally. If the pointer is frozen twice by the client on 419 // behalf of two separate grabs, AsyncPointer thaws for both. AsyncPointer has no 420 // effect if the pointer is not frozen by the client, but the pointer need not be 421 // grabbed by the client. 422 // 423 // TODO: rewrite this in more understandable terms. 424 425 XCB_ALLOW_SYNC_POINTER = 1 426 //*< For SyncPointer, if the pointer is frozen and actively grabbed by the client, 427 // pointer event processing continues normally until the next ButtonPress or 428 // ButtonRelease event is reported to the client, at which time the pointer again 429 // appears to freeze. However, if the reported event causes the pointer grab to be 430 // released, then the pointer does not freeze. SyncPointer has no effect if the 431 // pointer is not frozen by the client or if the pointer is not grabbed by the 432 // client. 433 434 XCB_ALLOW_REPLAY_POINTER = 2 435 //*< For ReplayPointer, if the pointer is actively grabbed by the client and is 436 // frozen as the result of an event having been sent to the client (either from 437 // the activation of a GrabButton or from a previous AllowEvents with mode 438 // SyncPointer but not from a GrabPointer), then the pointer grab is released and 439 // that event is completely reprocessed, this time ignoring any passive grabs at 440 // or above (towards the root) the grab-window of the grab just released. The 441 // request has no effect if the pointer is not grabbed by the client or if the 442 // pointer is not frozen as the result of an event. 443 444 XCB_ALLOW_ASYNC_KEYBOARD = 3 445 //*< For AsyncKeyboard, if the keyboard is frozen by the client, keyboard event 446 // processing continues normally. If the keyboard is frozen twice by the client on 447 // behalf of two separate grabs, AsyncKeyboard thaws for both. AsyncKeyboard has 448 // no effect if the keyboard is not frozen by the client, but the keyboard need 449 // not be grabbed by the client. 450 451 XCB_ALLOW_SYNC_KEYBOARD = 4 452 //*< For SyncKeyboard, if the keyboard is frozen and actively grabbed by the client, 453 // keyboard event processing continues normally until the next KeyPress or 454 // KeyRelease event is reported to the client, at which time the keyboard again 455 // appears to freeze. However, if the reported event causes the keyboard grab to 456 // be released, then the keyboard does not freeze. SyncKeyboard has no effect if 457 // the keyboard is not frozen by the client or if the keyboard is not grabbed by 458 // the client. 459 460 XCB_ALLOW_REPLAY_KEYBOARD = 5 461 //*< For ReplayKeyboard, if the keyboard is actively grabbed by the client and is 462 // frozen as the result of an event having been sent to the client (either from 463 // the activation of a GrabKey or from a previous AllowEvents with mode 464 // SyncKeyboard but not from a GrabKeyboard), then the keyboard grab is released 465 // and that event is completely reprocessed, this time ignoring any passive grabs 466 // at or above (towards the root) the grab-window of the grab just released. The 467 // request has no effect if the keyboard is not grabbed by the client or if the 468 // keyboard is not frozen as the result of an event. 469 470 XCB_ALLOW_ASYNC_BOTH = 6 471 //*< For AsyncBoth, if the pointer and the keyboard are frozen by the client, event 472 // processing for both devices continues normally. If a device is frozen twice by 473 // the client on behalf of two separate grabs, AsyncBoth thaws for both. AsyncBoth 474 // has no effect unless both pointer and keyboard are frozen by the client. 475 476 XCB_ALLOW_SYNC_BOTH = 7 477 ) 478 479 const ( /* xproto.h:2608:1: */ 480 XCB_INPUT_FOCUS_NONE = 0 481 //*< The focus reverts to `XCB_NONE`, so no window will have the input focus. 482 483 XCB_INPUT_FOCUS_POINTER_ROOT = 1 484 //*< The focus reverts to `XCB_POINTER_ROOT` respectively. When the focus reverts, 485 // FocusIn and FocusOut events are generated, but the last-focus-change time is 486 // not changed. 487 488 XCB_INPUT_FOCUS_PARENT = 2 489 //*< The focus reverts to the parent (or closest viewable ancestor) and the new 490 // revert_to value is `XCB_INPUT_FOCUS_NONE`. 491 492 XCB_INPUT_FOCUS_FOLLOW_KEYBOARD = 3 493 ) 494 495 const ( /* xproto.h:2728:1: */ 496 XCB_FONT_DRAW_LEFT_TO_RIGHT = 0 497 XCB_FONT_DRAW_RIGHT_TO_LEFT = 1 498 ) 499 500 const ( /* xproto.h:290:1: */ 501 XCB_VISUAL_CLASS_STATIC_GRAY = 0 502 XCB_VISUAL_CLASS_GRAY_SCALE = 1 503 XCB_VISUAL_CLASS_STATIC_COLOR = 2 504 XCB_VISUAL_CLASS_PSEUDO_COLOR = 3 505 XCB_VISUAL_CLASS_TRUE_COLOR = 4 506 XCB_VISUAL_CLASS_DIRECT_COLOR = 5 507 ) 508 509 const ( /* xproto.h:3022:1: */ 510 XCB_GC_FUNCTION = 1 511 //*< TODO: Refer to GX 512 513 XCB_GC_PLANE_MASK = 2 514 //*< In graphics operations, given a source and destination pixel, the result is 515 // computed bitwise on corresponding bits of the pixels; that is, a Boolean 516 // operation is performed in each bit plane. The plane-mask restricts the 517 // operation to a subset of planes, so the result is: 518 // 519 // ((src FUNC dst) AND plane-mask) OR (dst AND (NOT plane-mask)) 520 521 XCB_GC_FOREGROUND = 4 522 //*< Foreground colorpixel. 523 524 XCB_GC_BACKGROUND = 8 525 //*< Background colorpixel. 526 527 XCB_GC_LINE_WIDTH = 16 528 //*< The line-width is measured in pixels and can be greater than or equal to one, a wide line, or the 529 // special value zero, a thin line. 530 531 XCB_GC_LINE_STYLE = 32 532 //*< The line-style defines which sections of a line are drawn: 533 // Solid The full path of the line is drawn. 534 // DoubleDash The full path of the line is drawn, but the even dashes are filled differently 535 // than the odd dashes (see fill-style), with Butt cap-style used where even and 536 // odd dashes meet. 537 // OnOffDash Only the even dashes are drawn, and cap-style applies to all internal ends of 538 // the individual dashes (except NotLast is treated as Butt). 539 540 XCB_GC_CAP_STYLE = 64 541 //*< The cap-style defines how the endpoints of a path are drawn: 542 // NotLast The result is equivalent to Butt, except that for a line-width of zero the final 543 // endpoint is not drawn. 544 // Butt The result is square at the endpoint (perpendicular to the slope of the line) 545 // with no projection beyond. 546 // Round The result is a circular arc with its diameter equal to the line-width, centered 547 // on the endpoint; it is equivalent to Butt for line-width zero. 548 // Projecting The result is square at the end, but the path continues beyond the endpoint for 549 // a distance equal to half the line-width; it is equivalent to Butt for line-width 550 // zero. 551 552 XCB_GC_JOIN_STYLE = 128 553 //*< The join-style defines how corners are drawn for wide lines: 554 // Miter The outer edges of the two lines extend to meet at an angle. However, if the 555 // angle is less than 11 degrees, a Bevel join-style is used instead. 556 // Round The result is a circular arc with a diameter equal to the line-width, centered 557 // on the joinpoint. 558 // Bevel The result is Butt endpoint styles, and then the triangular notch is filled. 559 560 XCB_GC_FILL_STYLE = 256 561 //*< The fill-style defines the contents of the source for line, text, and fill requests. For all text and fill 562 // requests (for example, PolyText8, PolyText16, PolyFillRectangle, FillPoly, and PolyFillArc) 563 // as well as for line requests with line-style Solid, (for example, PolyLine, PolySegment, 564 // PolyRectangle, PolyArc) and for the even dashes for line requests with line-style OnOffDash 565 // or DoubleDash: 566 // Solid Foreground 567 // Tiled Tile 568 // OpaqueStippled A tile with the same width and height as stipple but with background 569 // everywhere stipple has a zero and with foreground everywhere stipple 570 // has a one 571 // Stippled Foreground masked by stipple 572 // For the odd dashes for line requests with line-style DoubleDash: 573 // Solid Background 574 // Tiled Same as for even dashes 575 // OpaqueStippled Same as for even dashes 576 // Stippled Background masked by stipple 577 578 XCB_GC_FILL_RULE = 512 579 //*< 580 581 XCB_GC_TILE = 1024 582 //*< The tile/stipple represents an infinite two-dimensional plane with the tile/stipple replicated in all 583 // dimensions. When that plane is superimposed on the drawable for use in a graphics operation, 584 // the upper-left corner of some instance of the tile/stipple is at the coordinates within the drawable 585 // specified by the tile/stipple origin. The tile/stipple and clip origins are interpreted relative to the 586 // origin of whatever destination drawable is specified in a graphics request. 587 // The tile pixmap must have the same root and depth as the gcontext (or a Match error results). 588 // The stipple pixmap must have depth one and must have the same root as the gcontext (or a 589 // Match error results). For fill-style Stippled (but not fill-style 590 // OpaqueStippled), the stipple pattern is tiled in a single plane and acts as an 591 // additional clip mask to be ANDed with the clip-mask. 592 // Any size pixmap can be used for tiling or stippling, although some sizes may be faster to use than 593 // others. 594 595 XCB_GC_STIPPLE = 2048 596 //*< The tile/stipple represents an infinite two-dimensional plane with the tile/stipple replicated in all 597 // dimensions. When that plane is superimposed on the drawable for use in a graphics operation, 598 // the upper-left corner of some instance of the tile/stipple is at the coordinates within the drawable 599 // specified by the tile/stipple origin. The tile/stipple and clip origins are interpreted relative to the 600 // origin of whatever destination drawable is specified in a graphics request. 601 // The tile pixmap must have the same root and depth as the gcontext (or a Match error results). 602 // The stipple pixmap must have depth one and must have the same root as the gcontext (or a 603 // Match error results). For fill-style Stippled (but not fill-style 604 // OpaqueStippled), the stipple pattern is tiled in a single plane and acts as an 605 // additional clip mask to be ANDed with the clip-mask. 606 // Any size pixmap can be used for tiling or stippling, although some sizes may be faster to use than 607 // others. 608 609 XCB_GC_TILE_STIPPLE_ORIGIN_X = 4096 610 //*< TODO 611 612 XCB_GC_TILE_STIPPLE_ORIGIN_Y = 8192 613 //*< TODO 614 615 XCB_GC_FONT = 16384 616 //*< Which font to use for the `ImageText8` and `ImageText16` requests. 617 618 XCB_GC_SUBWINDOW_MODE = 32768 619 //*< For ClipByChildren, both source and destination windows are additionally 620 // clipped by all viewable InputOutput children. For IncludeInferiors, neither 621 // source nor destination window is 622 // clipped by inferiors. This will result in including subwindow contents in the source and drawing 623 // through subwindow boundaries of the destination. The use of IncludeInferiors with a source or 624 // destination window of one depth with mapped inferiors of differing depth is not illegal, but the 625 // semantics is undefined by the core protocol. 626 627 XCB_GC_GRAPHICS_EXPOSURES = 65536 628 //*< Whether ExposureEvents should be generated (1) or not (0). 629 // 630 // The default is 1. 631 632 XCB_GC_CLIP_ORIGIN_X = 131072 633 //*< TODO 634 635 XCB_GC_CLIP_ORIGIN_Y = 262144 636 //*< TODO 637 638 XCB_GC_CLIP_MASK = 524288 639 //*< The clip-mask restricts writes to the destination drawable. Only pixels where the clip-mask has 640 // bits set to 1 are drawn. Pixels are not drawn outside the area covered by the clip-mask or where 641 // the clip-mask has bits set to 0. The clip-mask affects all graphics requests, but it does not clip 642 // sources. The clip-mask origin is interpreted relative to the origin of whatever destination drawable is specified in a graphics request. If a pixmap is specified as the clip-mask, it must have 643 // depth 1 and have the same root as the gcontext (or a Match error results). If clip-mask is None, 644 // then pixels are always drawn, regardless of the clip origin. The clip-mask can also be set with the 645 // SetClipRectangles request. 646 647 XCB_GC_DASH_OFFSET = 1048576 648 //*< TODO 649 650 XCB_GC_DASH_LIST = 2097152 651 //*< TODO 652 653 XCB_GC_ARC_MODE = 4194304 654 ) 655 656 const ( /* xproto.h:3171:1: */ 657 XCB_GX_CLEAR = 0 658 XCB_GX_AND = 1 659 XCB_GX_AND_REVERSE = 2 660 XCB_GX_COPY = 3 661 XCB_GX_AND_INVERTED = 4 662 XCB_GX_NOOP = 5 663 XCB_GX_XOR = 6 664 XCB_GX_OR = 7 665 XCB_GX_NOR = 8 666 XCB_GX_EQUIV = 9 667 XCB_GX_INVERT = 10 668 XCB_GX_OR_REVERSE = 11 669 XCB_GX_COPY_INVERTED = 12 670 XCB_GX_OR_INVERTED = 13 671 XCB_GX_NAND = 14 672 XCB_GX_SET = 15 673 ) 674 675 const ( /* xproto.h:3190:1: */ 676 XCB_LINE_STYLE_SOLID = 0 677 XCB_LINE_STYLE_ON_OFF_DASH = 1 678 XCB_LINE_STYLE_DOUBLE_DASH = 2 679 ) 680 681 const ( /* xproto.h:3196:1: */ 682 XCB_CAP_STYLE_NOT_LAST = 0 683 XCB_CAP_STYLE_BUTT = 1 684 XCB_CAP_STYLE_ROUND = 2 685 XCB_CAP_STYLE_PROJECTING = 3 686 ) 687 688 const ( /* xproto.h:3203:1: */ 689 XCB_JOIN_STYLE_MITER = 0 690 XCB_JOIN_STYLE_ROUND = 1 691 XCB_JOIN_STYLE_BEVEL = 2 692 ) 693 694 const ( /* xproto.h:3209:1: */ 695 XCB_FILL_STYLE_SOLID = 0 696 XCB_FILL_STYLE_TILED = 1 697 XCB_FILL_STYLE_STIPPLED = 2 698 XCB_FILL_STYLE_OPAQUE_STIPPLED = 3 699 ) 700 701 const ( /* xproto.h:3216:1: */ 702 XCB_FILL_RULE_EVEN_ODD = 0 703 XCB_FILL_RULE_WINDING = 1 704 ) 705 706 const ( /* xproto.h:3221:1: */ 707 XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0 708 XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1 709 ) 710 711 const ( /* xproto.h:3226:1: */ 712 XCB_ARC_MODE_CHORD = 0 713 XCB_ARC_MODE_PIE_SLICE = 1 714 ) 715 716 const ( /* xproto.h:3348:1: */ 717 XCB_CLIP_ORDERING_UNSORTED = 0 718 XCB_CLIP_ORDERING_Y_SORTED = 1 719 XCB_CLIP_ORDERING_YX_SORTED = 2 720 XCB_CLIP_ORDERING_YX_BANDED = 3 721 ) 722 723 const ( /* xproto.h:341:1: */ 724 XCB_EVENT_MASK_NO_EVENT = 0 725 XCB_EVENT_MASK_KEY_PRESS = 1 726 XCB_EVENT_MASK_KEY_RELEASE = 2 727 XCB_EVENT_MASK_BUTTON_PRESS = 4 728 XCB_EVENT_MASK_BUTTON_RELEASE = 8 729 XCB_EVENT_MASK_ENTER_WINDOW = 16 730 XCB_EVENT_MASK_LEAVE_WINDOW = 32 731 XCB_EVENT_MASK_POINTER_MOTION = 64 732 XCB_EVENT_MASK_POINTER_MOTION_HINT = 128 733 XCB_EVENT_MASK_BUTTON_1_MOTION = 256 734 XCB_EVENT_MASK_BUTTON_2_MOTION = 512 735 XCB_EVENT_MASK_BUTTON_3_MOTION = 1024 736 XCB_EVENT_MASK_BUTTON_4_MOTION = 2048 737 XCB_EVENT_MASK_BUTTON_5_MOTION = 4096 738 XCB_EVENT_MASK_BUTTON_MOTION = 8192 739 XCB_EVENT_MASK_KEYMAP_STATE = 16384 740 XCB_EVENT_MASK_EXPOSURE = 32768 741 XCB_EVENT_MASK_VISIBILITY_CHANGE = 65536 742 XCB_EVENT_MASK_STRUCTURE_NOTIFY = 131072 743 XCB_EVENT_MASK_RESIZE_REDIRECT = 262144 744 XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = 524288 745 XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = 1048576 746 XCB_EVENT_MASK_FOCUS_CHANGE = 2097152 747 XCB_EVENT_MASK_PROPERTY_CHANGE = 4194304 748 XCB_EVENT_MASK_COLOR_MAP_CHANGE = 8388608 749 XCB_EVENT_MASK_OWNER_GRAB_BUTTON = 16777216 750 ) 751 752 const ( /* xproto.h:3443:1: */ 753 XCB_COORD_MODE_ORIGIN = 0 754 //*< Treats all coordinates as relative to the origin. 755 756 XCB_COORD_MODE_PREVIOUS = 1 757 ) 758 759 const ( /* xproto.h:3541:1: */ 760 XCB_POLY_SHAPE_COMPLEX = 0 761 XCB_POLY_SHAPE_NONCONVEX = 1 762 XCB_POLY_SHAPE_CONVEX = 2 763 ) 764 765 const ( /* xproto.h:3592:1: */ 766 XCB_IMAGE_FORMAT_XY_BITMAP = 0 767 XCB_IMAGE_FORMAT_XY_PIXMAP = 1 768 XCB_IMAGE_FORMAT_Z_PIXMAP = 2 769 ) 770 771 const ( /* xproto.h:370:1: */ 772 XCB_BACKING_STORE_NOT_USEFUL = 0 773 XCB_BACKING_STORE_WHEN_MAPPED = 1 774 XCB_BACKING_STORE_ALWAYS = 2 775 ) 776 777 const ( /* xproto.h:3720:1: */ 778 XCB_COLORMAP_ALLOC_NONE = 0 779 XCB_COLORMAP_ALLOC_ALL = 1 780 ) 781 782 const ( /* xproto.h:3992:1: */ 783 XCB_COLOR_FLAG_RED = 1 784 XCB_COLOR_FLAG_GREEN = 2 785 XCB_COLOR_FLAG_BLUE = 4 786 ) 787 788 const ( /* xproto.h:4137:1: */ 789 XCB_PIXMAP_NONE = 0 790 ) 791 792 const ( /* xproto.h:4164:1: */ 793 XCB_FONT_NONE = 0 794 ) 795 796 const ( /* xproto.h:4223:1: */ 797 XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0 798 XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1 799 XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2 800 ) 801 802 const ( /* xproto.h:4375:1: */ 803 XCB_KB_KEY_CLICK_PERCENT = 1 804 XCB_KB_BELL_PERCENT = 2 805 XCB_KB_BELL_PITCH = 4 806 XCB_KB_BELL_DURATION = 8 807 XCB_KB_LED = 16 808 XCB_KB_LED_MODE = 32 809 XCB_KB_KEY = 64 810 XCB_KB_AUTO_REPEAT_MODE = 128 811 ) 812 813 const ( /* xproto.h:4386:1: */ 814 XCB_LED_MODE_OFF = 0 815 XCB_LED_MODE_ON = 1 816 ) 817 818 const ( /* xproto.h:4391:1: */ 819 XCB_AUTO_REPEAT_MODE_OFF = 0 820 XCB_AUTO_REPEAT_MODE_ON = 1 821 XCB_AUTO_REPEAT_MODE_DEFAULT = 2 822 ) 823 824 const ( /* xproto.h:4522:1: */ 825 XCB_BLANKING_NOT_PREFERRED = 0 826 XCB_BLANKING_PREFERRED = 1 827 XCB_BLANKING_DEFAULT = 2 828 ) 829 830 const ( /* xproto.h:4528:1: */ 831 XCB_EXPOSURES_NOT_ALLOWED = 0 832 XCB_EXPOSURES_ALLOWED = 1 833 XCB_EXPOSURES_DEFAULT = 2 834 ) 835 836 const ( /* xproto.h:4584:1: */ 837 XCB_HOST_MODE_INSERT = 0 838 XCB_HOST_MODE_DELETE = 1 839 ) 840 841 const ( /* xproto.h:4589:1: */ 842 XCB_FAMILY_INTERNET = 0 843 XCB_FAMILY_DECNET = 1 844 XCB_FAMILY_CHAOS = 2 845 XCB_FAMILY_SERVER_INTERPRETED = 5 846 XCB_FAMILY_INTERNET_6 = 6 847 ) 848 849 const ( /* xproto.h:4661:1: */ 850 XCB_ACCESS_CONTROL_DISABLE = 0 851 XCB_ACCESS_CONTROL_ENABLE = 1 852 ) 853 854 const ( /* xproto.h:4678:1: */ 855 XCB_CLOSE_DOWN_DESTROY_ALL = 0 856 XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1 857 XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2 858 ) 859 860 const ( /* xproto.h:467:1: */ 861 XCB_IMAGE_ORDER_LSB_FIRST = 0 862 XCB_IMAGE_ORDER_MSB_FIRST = 1 863 ) 864 865 const ( /* xproto.h:4696:1: */ 866 XCB_KILL_ALL_TEMPORARY = 0 867 ) 868 869 const ( /* xproto.h:4728:1: */ 870 XCB_SCREEN_SAVER_RESET = 0 871 XCB_SCREEN_SAVER_ACTIVE = 1 872 ) 873 874 const ( /* xproto.h:4745:1: */ 875 XCB_MAPPING_STATUS_SUCCESS = 0 876 XCB_MAPPING_STATUS_BUSY = 1 877 XCB_MAPPING_STATUS_FAILURE = 2 878 ) 879 880 const ( /* xproto.h:4810:1: */ 881 XCB_MAP_INDEX_SHIFT = 0 882 XCB_MAP_INDEX_LOCK = 1 883 XCB_MAP_INDEX_CONTROL = 2 884 XCB_MAP_INDEX_1 = 3 885 XCB_MAP_INDEX_2 = 4 886 XCB_MAP_INDEX_3 = 5 887 XCB_MAP_INDEX_4 = 6 888 XCB_MAP_INDEX_5 = 7 889 ) 890 891 const ( /* xproto.h:507:1: */ 892 XCB_MOD_MASK_SHIFT = 1 893 XCB_MOD_MASK_LOCK = 2 894 XCB_MOD_MASK_CONTROL = 4 895 XCB_MOD_MASK_1 = 8 896 XCB_MOD_MASK_2 = 16 897 XCB_MOD_MASK_3 = 32 898 XCB_MOD_MASK_4 = 64 899 XCB_MOD_MASK_5 = 128 900 XCB_MOD_MASK_ANY = 32768 901 ) 902 903 const ( /* xproto.h:519:1: */ 904 XCB_KEY_BUT_MASK_SHIFT = 1 905 XCB_KEY_BUT_MASK_LOCK = 2 906 XCB_KEY_BUT_MASK_CONTROL = 4 907 XCB_KEY_BUT_MASK_MOD_1 = 8 908 XCB_KEY_BUT_MASK_MOD_2 = 16 909 XCB_KEY_BUT_MASK_MOD_3 = 32 910 XCB_KEY_BUT_MASK_MOD_4 = 64 911 XCB_KEY_BUT_MASK_MOD_5 = 128 912 XCB_KEY_BUT_MASK_BUTTON_1 = 256 913 XCB_KEY_BUT_MASK_BUTTON_2 = 512 914 XCB_KEY_BUT_MASK_BUTTON_3 = 1024 915 XCB_KEY_BUT_MASK_BUTTON_4 = 2048 916 XCB_KEY_BUT_MASK_BUTTON_5 = 4096 917 ) 918 919 const ( /* xproto.h:535:1: */ 920 XCB_WINDOW_NONE = 0 921 ) 922 923 const ( /* xproto.h:567:1: */ 924 XCB_BUTTON_MASK_1 = 256 925 XCB_BUTTON_MASK_2 = 512 926 XCB_BUTTON_MASK_3 = 1024 927 XCB_BUTTON_MASK_4 = 2048 928 XCB_BUTTON_MASK_5 = 4096 929 XCB_BUTTON_MASK_ANY = 32768 930 ) 931 932 const ( /* xproto.h:604:1: */ 933 XCB_MOTION_NORMAL = 0 934 XCB_MOTION_HINT = 1 935 ) 936 937 const ( /* xproto.h:632:1: */ 938 XCB_NOTIFY_DETAIL_ANCESTOR = 0 939 XCB_NOTIFY_DETAIL_VIRTUAL = 1 940 XCB_NOTIFY_DETAIL_INFERIOR = 2 941 XCB_NOTIFY_DETAIL_NONLINEAR = 3 942 XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4 943 XCB_NOTIFY_DETAIL_POINTER = 5 944 XCB_NOTIFY_DETAIL_POINTER_ROOT = 6 945 XCB_NOTIFY_DETAIL_NONE = 7 946 ) 947 948 const ( /* xproto.h:643:1: */ 949 XCB_NOTIFY_MODE_NORMAL = 0 950 XCB_NOTIFY_MODE_GRAB = 1 951 XCB_NOTIFY_MODE_UNGRAB = 2 952 XCB_NOTIFY_MODE_WHILE_GRABBED = 3 953 ) 954 955 const ( /* xproto.h:765:1: */ 956 XCB_VISIBILITY_UNOBSCURED = 0 957 XCB_VISIBILITY_PARTIALLY_OBSCURED = 1 958 XCB_VISIBILITY_FULLY_OBSCURED = 2 959 ) 960 961 const ( /* xproto.h:960:1: */ 962 XCB_PLACE_ON_TOP = 0 963 //*< The window is now on top of all siblings. 964 965 XCB_PLACE_ON_BOTTOM = 1 966 ) 967 968 const ( /* xproto.h:991:1: */ 969 XCB_PROPERTY_NEW_VALUE = 0 970 XCB_PROPERTY_DELETE = 1 971 ) 972 973 type ptrdiff_t = int32 /* <builtin>:3:26 */ 974 975 type size_t = uint32 /* <builtin>:9:23 */ 976 977 type wchar_t = int32 /* <builtin>:15:24 */ 978 979 // The tag name of this struct is _G_fpos_t to preserve historic 980 // C++ mangled names for functions taking fpos_t arguments. 981 // That name should not be used in new code. 982 type _G_fpos_t = struct { 983 F__pos int32 984 F__state struct { 985 F__count int32 986 F__value struct{ F__wch uint32 } 987 } 988 } /* __fpos_t.h:10:9 */ 989 990 // bits/types.h -- definitions of __*_t types underlying *_t types. 991 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 992 // This file is part of the GNU C Library. 993 // 994 // The GNU C Library is free software; you can redistribute it and/or 995 // modify it under the terms of the GNU Lesser General Public 996 // License as published by the Free Software Foundation; either 997 // version 2.1 of the License, or (at your option) any later version. 998 // 999 // The GNU C Library is distributed in the hope that it will be useful, 1000 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1001 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1002 // Lesser General Public License for more details. 1003 // 1004 // You should have received a copy of the GNU Lesser General Public 1005 // License along with the GNU C Library; if not, see 1006 // <https://www.gnu.org/licenses/>. 1007 1008 // Never include this file directly; use <sys/types.h> instead. 1009 1010 // The tag name of this struct is _G_fpos64_t to preserve historic 1011 // C++ mangled names for functions taking fpos_t and/or fpos64_t 1012 // arguments. That name should not be used in new code. 1013 type _G_fpos64_t = struct { 1014 F__pos int64 1015 F__state struct { 1016 F__count int32 1017 F__value struct{ F__wch uint32 } 1018 } 1019 } /* __fpos64_t.h:10:9 */ 1020 1021 type _IO_FILE = struct { 1022 F_flags int32 1023 F_IO_read_ptr uintptr 1024 F_IO_read_end uintptr 1025 F_IO_read_base uintptr 1026 F_IO_write_base uintptr 1027 F_IO_write_ptr uintptr 1028 F_IO_write_end uintptr 1029 F_IO_buf_base uintptr 1030 F_IO_buf_end uintptr 1031 F_IO_save_base uintptr 1032 F_IO_backup_base uintptr 1033 F_IO_save_end uintptr 1034 F_markers uintptr 1035 F_chain uintptr 1036 F_fileno int32 1037 F_flags2 int32 1038 F_old_offset int32 1039 F_cur_column uint16 1040 F_vtable_offset int8 1041 F_shortbuf [1]int8 1042 F_lock uintptr 1043 F_offset int64 1044 F_codecvt uintptr 1045 F_wide_data uintptr 1046 F_freeres_list uintptr 1047 F_freeres_buf uintptr 1048 F__pad5 size_t 1049 F_mode int32 1050 F_unused2 [40]int8 1051 } /* __FILE.h:4:1 */ 1052 1053 // The opaque type of streams. This is the definition used elsewhere. 1054 type FILE = _IO_FILE /* FILE.h:7:25 */ 1055 1056 // These macros are used by bits/stdio.h and internal headers. 1057 1058 // Many more flag bits are defined internally. 1059 1060 type va_list = uintptr /* stdio.h:52:24 */ 1061 1062 type off_t = int64 /* stdio.h:65:19 */ 1063 1064 type ssize_t = int32 /* stdio.h:77:19 */ 1065 1066 // The type of the second argument to `fgetpos' and `fsetpos'. 1067 type fpos_t = _G_fpos64_t /* stdio.h:86:20 */ 1068 1069 // If we are compiling with optimizing read this file. It contains 1070 // several optimizing inline functions and macros. 1071 1072 // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. 1073 // All Rights Reserved. 1074 // 1075 // Permission is hereby granted, free of charge, to any person obtaining a 1076 // copy of this software and associated documentation files (the "Software"), 1077 // to deal in the Software without restriction, including without limitation 1078 // the rights to use, copy, modify, merge, publish, distribute, sublicense, 1079 // and/or sell copies of the Software, and to permit persons to whom the 1080 // Software is furnished to do so, subject to the following conditions: 1081 // 1082 // The above copyright notice and this permission notice shall be included in 1083 // all copies or substantial portions of the Software. 1084 // 1085 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1086 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1087 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 1088 // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 1089 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 1090 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 1091 // 1092 // Except as contained in this notice, the names of the authors or their 1093 // institutions shall not be used in advertising or otherwise to promote the 1094 // sale, use or other dealings in this Software without prior written 1095 // authorization from the authors. 1096 1097 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 1098 // This file is part of the GNU C Library. 1099 // 1100 // The GNU C Library is free software; you can redistribute it and/or 1101 // modify it under the terms of the GNU Lesser General Public 1102 // License as published by the Free Software Foundation; either 1103 // version 2.1 of the License, or (at your option) any later version. 1104 // 1105 // The GNU C Library is distributed in the hope that it will be useful, 1106 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1107 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1108 // Lesser General Public License for more details. 1109 // 1110 // You should have received a copy of the GNU Lesser General Public 1111 // License along with the GNU C Library; if not, see 1112 // <https://www.gnu.org/licenses/>. 1113 1114 // POSIX Standard: 2.6 Primitive System Data Types <sys/types.h> 1115 1116 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 1117 // This file is part of the GNU C Library. 1118 // 1119 // The GNU C Library is free software; you can redistribute it and/or 1120 // modify it under the terms of the GNU Lesser General Public 1121 // License as published by the Free Software Foundation; either 1122 // version 2.1 of the License, or (at your option) any later version. 1123 // 1124 // The GNU C Library is distributed in the hope that it will be useful, 1125 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1126 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1127 // Lesser General Public License for more details. 1128 // 1129 // You should have received a copy of the GNU Lesser General Public 1130 // License along with the GNU C Library; if not, see 1131 // <https://www.gnu.org/licenses/>. 1132 1133 // bits/types.h -- definitions of __*_t types underlying *_t types. 1134 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1135 // This file is part of the GNU C Library. 1136 // 1137 // The GNU C Library is free software; you can redistribute it and/or 1138 // modify it under the terms of the GNU Lesser General Public 1139 // License as published by the Free Software Foundation; either 1140 // version 2.1 of the License, or (at your option) any later version. 1141 // 1142 // The GNU C Library is distributed in the hope that it will be useful, 1143 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1144 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1145 // Lesser General Public License for more details. 1146 // 1147 // You should have received a copy of the GNU Lesser General Public 1148 // License along with the GNU C Library; if not, see 1149 // <https://www.gnu.org/licenses/>. 1150 1151 // Never include this file directly; use <sys/types.h> instead. 1152 1153 type u_char = uint8 /* types.h:33:18 */ 1154 type u_short = uint16 /* types.h:34:19 */ 1155 type u_int = uint32 /* types.h:35:17 */ 1156 type u_long = uint32 /* types.h:36:18 */ 1157 type quad_t = int64 /* types.h:37:18 */ 1158 type u_quad_t = uint64 /* types.h:38:20 */ 1159 type fsid_t = struct{ F__val [2]int32 } /* types.h:39:18 */ 1160 type loff_t = int64 /* types.h:42:18 */ 1161 1162 type ino_t = uint64 /* types.h:49:19 */ 1163 1164 type dev_t = uint64 /* types.h:59:17 */ 1165 1166 type gid_t = uint32 /* types.h:64:17 */ 1167 1168 type mode_t = uint32 /* types.h:69:18 */ 1169 1170 type nlink_t = uint32 /* types.h:74:19 */ 1171 1172 type uid_t = uint32 /* types.h:79:17 */ 1173 1174 type pid_t = int32 /* types.h:97:17 */ 1175 1176 type id_t = uint32 /* types.h:103:16 */ 1177 1178 type daddr_t = int32 /* types.h:114:19 */ 1179 type caddr_t = uintptr /* types.h:115:19 */ 1180 1181 type key_t = int32 /* types.h:121:17 */ 1182 1183 // bits/types.h -- definitions of __*_t types underlying *_t types. 1184 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1185 // This file is part of the GNU C Library. 1186 // 1187 // The GNU C Library is free software; you can redistribute it and/or 1188 // modify it under the terms of the GNU Lesser General Public 1189 // License as published by the Free Software Foundation; either 1190 // version 2.1 of the License, or (at your option) any later version. 1191 // 1192 // The GNU C Library is distributed in the hope that it will be useful, 1193 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1194 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1195 // Lesser General Public License for more details. 1196 // 1197 // You should have received a copy of the GNU Lesser General Public 1198 // License along with the GNU C Library; if not, see 1199 // <https://www.gnu.org/licenses/>. 1200 1201 // Never include this file directly; use <sys/types.h> instead. 1202 1203 // Returned by `clock'. 1204 type clock_t = int32 /* clock_t.h:7:19 */ 1205 1206 // bits/types.h -- definitions of __*_t types underlying *_t types. 1207 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1208 // This file is part of the GNU C Library. 1209 // 1210 // The GNU C Library is free software; you can redistribute it and/or 1211 // modify it under the terms of the GNU Lesser General Public 1212 // License as published by the Free Software Foundation; either 1213 // version 2.1 of the License, or (at your option) any later version. 1214 // 1215 // The GNU C Library is distributed in the hope that it will be useful, 1216 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1217 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1218 // Lesser General Public License for more details. 1219 // 1220 // You should have received a copy of the GNU Lesser General Public 1221 // License along with the GNU C Library; if not, see 1222 // <https://www.gnu.org/licenses/>. 1223 1224 // Never include this file directly; use <sys/types.h> instead. 1225 1226 // Clock ID used in clock and timer functions. 1227 type clockid_t = int32 /* clockid_t.h:7:21 */ 1228 1229 // bits/types.h -- definitions of __*_t types underlying *_t types. 1230 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1231 // This file is part of the GNU C Library. 1232 // 1233 // The GNU C Library is free software; you can redistribute it and/or 1234 // modify it under the terms of the GNU Lesser General Public 1235 // License as published by the Free Software Foundation; either 1236 // version 2.1 of the License, or (at your option) any later version. 1237 // 1238 // The GNU C Library is distributed in the hope that it will be useful, 1239 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1240 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1241 // Lesser General Public License for more details. 1242 // 1243 // You should have received a copy of the GNU Lesser General Public 1244 // License along with the GNU C Library; if not, see 1245 // <https://www.gnu.org/licenses/>. 1246 1247 // Never include this file directly; use <sys/types.h> instead. 1248 1249 // Returned by `time'. 1250 type time_t = int32 /* time_t.h:7:18 */ 1251 1252 // bits/types.h -- definitions of __*_t types underlying *_t types. 1253 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1254 // This file is part of the GNU C Library. 1255 // 1256 // The GNU C Library is free software; you can redistribute it and/or 1257 // modify it under the terms of the GNU Lesser General Public 1258 // License as published by the Free Software Foundation; either 1259 // version 2.1 of the License, or (at your option) any later version. 1260 // 1261 // The GNU C Library is distributed in the hope that it will be useful, 1262 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1263 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1264 // Lesser General Public License for more details. 1265 // 1266 // You should have received a copy of the GNU Lesser General Public 1267 // License along with the GNU C Library; if not, see 1268 // <https://www.gnu.org/licenses/>. 1269 1270 // Never include this file directly; use <sys/types.h> instead. 1271 1272 // Timer ID returned by `timer_create'. 1273 type timer_t = uintptr /* timer_t.h:7:19 */ 1274 1275 // Copyright (C) 1989-2020 Free Software Foundation, Inc. 1276 // 1277 // This file is part of GCC. 1278 // 1279 // GCC is free software; you can redistribute it and/or modify 1280 // it under the terms of the GNU General Public License as published by 1281 // the Free Software Foundation; either version 3, or (at your option) 1282 // any later version. 1283 // 1284 // GCC is distributed in the hope that it will be useful, 1285 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1286 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1287 // GNU General Public License for more details. 1288 // 1289 // Under Section 7 of GPL version 3, you are granted additional 1290 // permissions described in the GCC Runtime Library Exception, version 1291 // 3.1, as published by the Free Software Foundation. 1292 // 1293 // You should have received a copy of the GNU General Public License and 1294 // a copy of the GCC Runtime Library Exception along with this program; 1295 // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 1296 // <http://www.gnu.org/licenses/>. 1297 1298 // ISO C Standard: 7.17 Common definitions <stddef.h> 1299 1300 // Any one of these symbols __need_* means that GNU libc 1301 // wants us just to define one data type. So don't define 1302 // the symbols that indicate this file's entire job has been done. 1303 1304 // This avoids lossage on SunOS but only if stdtypes.h comes first. 1305 // There's no way to win with the other order! Sun lossage. 1306 1307 // Sequent's header files use _PTRDIFF_T_ in some conflicting way. 1308 // Just ignore it. 1309 1310 // On VxWorks, <type/vxTypesBase.h> may have defined macros like 1311 // _TYPE_size_t which will typedef size_t. fixincludes patched the 1312 // vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is 1313 // not defined, and so that defining this macro defines _GCC_SIZE_T. 1314 // If we find that the macros are still defined at this point, we must 1315 // invoke them so that the type is defined as expected. 1316 1317 // In case nobody has defined these types, but we aren't running under 1318 // GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and 1319 // __WCHAR_TYPE__ have reasonable values. This can happen if the 1320 // parts of GCC is compiled by an older compiler, that actually 1321 // include gstddef.h, such as collect2. 1322 1323 // Signed type of difference of two pointers. 1324 1325 // Define this type if we are doing the whole job, 1326 // or if we want this type in particular. 1327 1328 // Unsigned type of `sizeof' something. 1329 1330 // Define this type if we are doing the whole job, 1331 // or if we want this type in particular. 1332 1333 // Wide character type. 1334 // Locale-writers should change this as necessary to 1335 // be big enough to hold unique values not between 0 and 127, 1336 // and not (wchar_t) -1, for each defined multibyte character. 1337 1338 // Define this type if we are doing the whole job, 1339 // or if we want this type in particular. 1340 1341 // A null pointer constant. 1342 1343 // Old compatibility names for C types. 1344 type ulong = uint32 /* types.h:148:27 */ 1345 type ushort = uint16 /* types.h:149:28 */ 1346 type uint = uint32 /* types.h:150:22 */ 1347 1348 // These size-specific names are used by some of the inet code. 1349 1350 // Define intN_t types. 1351 // Copyright (C) 2017-2020 Free Software Foundation, Inc. 1352 // This file is part of the GNU C Library. 1353 // 1354 // The GNU C Library is free software; you can redistribute it and/or 1355 // modify it under the terms of the GNU Lesser General Public 1356 // License as published by the Free Software Foundation; either 1357 // version 2.1 of the License, or (at your option) any later version. 1358 // 1359 // The GNU C Library is distributed in the hope that it will be useful, 1360 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1361 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1362 // Lesser General Public License for more details. 1363 // 1364 // You should have received a copy of the GNU Lesser General Public 1365 // License along with the GNU C Library; if not, see 1366 // <https://www.gnu.org/licenses/>. 1367 1368 // bits/types.h -- definitions of __*_t types underlying *_t types. 1369 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1370 // This file is part of the GNU C Library. 1371 // 1372 // The GNU C Library is free software; you can redistribute it and/or 1373 // modify it under the terms of the GNU Lesser General Public 1374 // License as published by the Free Software Foundation; either 1375 // version 2.1 of the License, or (at your option) any later version. 1376 // 1377 // The GNU C Library is distributed in the hope that it will be useful, 1378 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1379 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1380 // Lesser General Public License for more details. 1381 // 1382 // You should have received a copy of the GNU Lesser General Public 1383 // License along with the GNU C Library; if not, see 1384 // <https://www.gnu.org/licenses/>. 1385 1386 // Never include this file directly; use <sys/types.h> instead. 1387 1388 type int8_t = int8 /* stdint-intn.h:24:18 */ 1389 type int16_t = int16 /* stdint-intn.h:25:19 */ 1390 type int32_t = int32 /* stdint-intn.h:26:19 */ 1391 type int64_t = int64 /* stdint-intn.h:27:19 */ 1392 1393 // These were defined by ISO C without the first `_'. 1394 type u_int8_t = uint8 /* types.h:158:19 */ 1395 type u_int16_t = uint16 /* types.h:159:20 */ 1396 type u_int32_t = uint32 /* types.h:160:20 */ 1397 type u_int64_t = uint64 /* types.h:161:20 */ 1398 1399 type register_t = int32 /* types.h:164:13 */ 1400 1401 // A set of signals to be blocked, unblocked, or waited for. 1402 type sigset_t = struct{ F__val [32]uint32 } /* sigset_t.h:7:20 */ 1403 1404 // Get definition of timer specification structures. 1405 1406 // bits/types.h -- definitions of __*_t types underlying *_t types. 1407 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1408 // This file is part of the GNU C Library. 1409 // 1410 // The GNU C Library is free software; you can redistribute it and/or 1411 // modify it under the terms of the GNU Lesser General Public 1412 // License as published by the Free Software Foundation; either 1413 // version 2.1 of the License, or (at your option) any later version. 1414 // 1415 // The GNU C Library is distributed in the hope that it will be useful, 1416 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1417 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1418 // Lesser General Public License for more details. 1419 // 1420 // You should have received a copy of the GNU Lesser General Public 1421 // License along with the GNU C Library; if not, see 1422 // <https://www.gnu.org/licenses/>. 1423 1424 // Never include this file directly; use <sys/types.h> instead. 1425 1426 // A time value that is accurate to the nearest 1427 // microsecond but also has a range of years. 1428 type timeval = struct { 1429 Ftv_sec int32 1430 Ftv_usec int32 1431 } /* struct_timeval.h:8:1 */ 1432 1433 // NB: Include guard matches what <linux/time.h> uses. 1434 1435 // bits/types.h -- definitions of __*_t types underlying *_t types. 1436 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1437 // This file is part of the GNU C Library. 1438 // 1439 // The GNU C Library is free software; you can redistribute it and/or 1440 // modify it under the terms of the GNU Lesser General Public 1441 // License as published by the Free Software Foundation; either 1442 // version 2.1 of the License, or (at your option) any later version. 1443 // 1444 // The GNU C Library is distributed in the hope that it will be useful, 1445 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1446 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1447 // Lesser General Public License for more details. 1448 // 1449 // You should have received a copy of the GNU Lesser General Public 1450 // License along with the GNU C Library; if not, see 1451 // <https://www.gnu.org/licenses/>. 1452 1453 // Never include this file directly; use <sys/types.h> instead. 1454 1455 // Endian macros for string.h functions 1456 // Copyright (C) 1992-2020 Free Software Foundation, Inc. 1457 // This file is part of the GNU C Library. 1458 // 1459 // The GNU C Library is free software; you can redistribute it and/or 1460 // modify it under the terms of the GNU Lesser General Public 1461 // License as published by the Free Software Foundation; either 1462 // version 2.1 of the License, or (at your option) any later version. 1463 // 1464 // The GNU C Library is distributed in the hope that it will be useful, 1465 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1466 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1467 // Lesser General Public License for more details. 1468 // 1469 // You should have received a copy of the GNU Lesser General Public 1470 // License along with the GNU C Library; if not, see 1471 // <http://www.gnu.org/licenses/>. 1472 1473 // POSIX.1b structure for a time value. This is like a `struct timeval' but 1474 // has nanoseconds instead of microseconds. 1475 type timespec = struct { 1476 Ftv_sec int32 1477 Ftv_nsec int32 1478 } /* struct_timespec.h:10:1 */ 1479 1480 type suseconds_t = int32 /* select.h:43:23 */ 1481 1482 // Some versions of <linux/posix_types.h> define this macros. 1483 // It's easier to assume 8-bit bytes than to get CHAR_BIT. 1484 1485 // fd_set for select and pselect. 1486 type fd_set = struct{ F__fds_bits [32]int32 } /* select.h:70:5 */ 1487 1488 // Maximum number of file descriptors in `fd_set'. 1489 1490 // Sometimes the fd_set member is assumed to have this type. 1491 type fd_mask = int32 /* select.h:77:19 */ 1492 1493 // Define some inlines helping to catch common problems. 1494 1495 type blksize_t = int32 /* types.h:185:21 */ 1496 1497 // Types from the Large File Support interface. 1498 type blkcnt_t = int64 /* types.h:205:22 */ // Type to count number of disk blocks. 1499 type fsblkcnt_t = uint64 /* types.h:209:24 */ // Type to count file system blocks. 1500 type fsfilcnt_t = uint64 /* types.h:213:24 */ // Type to count file system inodes. 1501 1502 // Now add the thread types. 1503 // Declaration of common pthread types for all architectures. 1504 // Copyright (C) 2017-2020 Free Software Foundation, Inc. 1505 // This file is part of the GNU C Library. 1506 // 1507 // The GNU C Library is free software; you can redistribute it and/or 1508 // modify it under the terms of the GNU Lesser General Public 1509 // License as published by the Free Software Foundation; either 1510 // version 2.1 of the License, or (at your option) any later version. 1511 // 1512 // The GNU C Library is distributed in the hope that it will be useful, 1513 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1514 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1515 // Lesser General Public License for more details. 1516 // 1517 // You should have received a copy of the GNU Lesser General Public 1518 // License along with the GNU C Library; if not, see 1519 // <https://www.gnu.org/licenses/>. 1520 1521 // For internal mutex and condition variable definitions. 1522 // Common threading primitives definitions for both POSIX and C11. 1523 // Copyright (C) 2017-2020 Free Software Foundation, Inc. 1524 // This file is part of the GNU C Library. 1525 // 1526 // The GNU C Library is free software; you can redistribute it and/or 1527 // modify it under the terms of the GNU Lesser General Public 1528 // License as published by the Free Software Foundation; either 1529 // version 2.1 of the License, or (at your option) any later version. 1530 // 1531 // The GNU C Library is distributed in the hope that it will be useful, 1532 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1533 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1534 // Lesser General Public License for more details. 1535 // 1536 // You should have received a copy of the GNU Lesser General Public 1537 // License along with the GNU C Library; if not, see 1538 // <https://www.gnu.org/licenses/>. 1539 1540 // Arch-specific definitions. Each architecture must define the following 1541 // macros to define the expected sizes of pthread data types: 1542 // 1543 // __SIZEOF_PTHREAD_ATTR_T - size of pthread_attr_t. 1544 // __SIZEOF_PTHREAD_MUTEX_T - size of pthread_mutex_t. 1545 // __SIZEOF_PTHREAD_MUTEXATTR_T - size of pthread_mutexattr_t. 1546 // __SIZEOF_PTHREAD_COND_T - size of pthread_cond_t. 1547 // __SIZEOF_PTHREAD_CONDATTR_T - size of pthread_condattr_t. 1548 // __SIZEOF_PTHREAD_RWLOCK_T - size of pthread_rwlock_t. 1549 // __SIZEOF_PTHREAD_RWLOCKATTR_T - size of pthread_rwlockattr_t. 1550 // __SIZEOF_PTHREAD_BARRIER_T - size of pthread_barrier_t. 1551 // __SIZEOF_PTHREAD_BARRIERATTR_T - size of pthread_barrierattr_t. 1552 // 1553 // The additional macro defines any constraint for the lock alignment 1554 // inside the thread structures: 1555 // 1556 // __LOCK_ALIGNMENT - for internal lock/futex usage. 1557 // 1558 // Same idea but for the once locking primitive: 1559 // 1560 // __ONCE_ALIGNMENT - for pthread_once_t/once_flag definition. 1561 1562 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1563 // This file is part of the GNU C Library. 1564 // 1565 // The GNU C Library is free software; you can redistribute it and/or 1566 // modify it under the terms of the GNU Lesser General Public 1567 // License as published by the Free Software Foundation; either 1568 // version 2.1 of the License, or (at your option) any later version. 1569 // 1570 // The GNU C Library is distributed in the hope that it will be useful, 1571 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1572 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1573 // Lesser General Public License for more details. 1574 // 1575 // You should have received a copy of the GNU Lesser General Public 1576 // License along with the GNU C Library; if not, see 1577 // <https://www.gnu.org/licenses/>. 1578 1579 // Determine the wordsize from the preprocessor defines. 1580 1581 // Extra attributes for the cleanup functions. 1582 1583 // Common definition of pthread_mutex_t. 1584 1585 type __pthread_internal_list = struct { 1586 F__prev uintptr 1587 F__next uintptr 1588 } /* thread-shared-types.h:49:9 */ 1589 1590 type __pthread_internal_slist = struct{ F__next uintptr } /* thread-shared-types.h:55:9 */ 1591 1592 // Arch-specific mutex definitions. A generic implementation is provided 1593 // by sysdeps/nptl/bits/struct_mutex.h. If required, an architecture 1594 // can override it by defining: 1595 // 1596 // 1. struct __pthread_mutex_s (used on both pthread_mutex_t and mtx_t 1597 // definition). It should contains at least the internal members 1598 // defined in the generic version. 1599 // 1600 // 2. __LOCK_ALIGNMENT for any extra attribute for internal lock used with 1601 // atomic operations. 1602 // 1603 // 3. The macro __PTHREAD_MUTEX_INITIALIZER used for static initialization. 1604 // It should initialize the mutex internal flag. 1605 1606 // x86 internal mutex struct definitions. 1607 // Copyright (C) 2019-2020 Free Software Foundation, Inc. 1608 // This file is part of the GNU C Library. 1609 // 1610 // The GNU C Library is free software; you can redistribute it and/or 1611 // modify it under the terms of the GNU Lesser General Public 1612 // License as published by the Free Software Foundation; either 1613 // version 2.1 of the License, or (at your option) any later version. 1614 // 1615 // The GNU C Library is distributed in the hope that it will be useful, 1616 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1617 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1618 // Lesser General Public License for more details. 1619 // 1620 // You should have received a copy of the GNU Lesser General Public 1621 // License along with the GNU C Library; if not, see 1622 // <http://www.gnu.org/licenses/>. 1623 1624 type __pthread_mutex_s = struct { 1625 F__lock int32 1626 F__count uint32 1627 F__owner int32 1628 F__kind int32 1629 F__nusers uint32 1630 F__20 struct { 1631 F__ccgo_pad1 [0]uint32 1632 F__elision_data struct { 1633 F__espins int16 1634 F__eelision int16 1635 } 1636 } 1637 } /* struct_mutex.h:22:1 */ 1638 1639 // Arch-sepecific read-write lock definitions. A generic implementation is 1640 // provided by struct_rwlock.h. If required, an architecture can override it 1641 // by defining: 1642 // 1643 // 1. struct __pthread_rwlock_arch_t (used on pthread_rwlock_t definition). 1644 // It should contain at least the internal members defined in the 1645 // generic version. 1646 // 1647 // 2. The macro __PTHREAD_RWLOCK_INITIALIZER used for static initialization. 1648 // It should initialize the rwlock internal type. 1649 1650 // x86 internal rwlock struct definitions. 1651 // Copyright (C) 2019-2020 Free Software Foundation, Inc. 1652 // 1653 // This file is part of the GNU C Library. 1654 // 1655 // The GNU C Library is free software; you can redistribute it and/or 1656 // modify it under the terms of the GNU Lesser General Public 1657 // License as published by the Free Software Foundation; either 1658 // version 2.1 of the License, or (at your option) any later version. 1659 // 1660 // The GNU C Library is distributed in the hope that it will be useful, 1661 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1662 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1663 // Lesser General Public License for more details. 1664 // 1665 // You should have received a copy of the GNU Lesser General Public 1666 // License along with the GNU C Library; if not, see 1667 // <http://www.gnu.org/licenses/>. 1668 1669 type __pthread_rwlock_arch_t = struct { 1670 F__readers uint32 1671 F__writers uint32 1672 F__wrphase_futex uint32 1673 F__writers_futex uint32 1674 F__pad3 uint32 1675 F__pad4 uint32 1676 F__flags uint8 1677 F__shared uint8 1678 F__rwelision int8 1679 F__pad2 uint8 1680 F__cur_writer int32 1681 } /* struct_rwlock.h:23:1 */ 1682 1683 // Common definition of pthread_cond_t. 1684 1685 type __pthread_cond_s = struct { 1686 F__0 struct{ F__wseq uint64 } 1687 F__8 struct{ F__g1_start uint64 } 1688 F__g_refs [2]uint32 1689 F__g_size [2]uint32 1690 F__g1_orig_size uint32 1691 F__wrefs uint32 1692 F__g_signals [2]uint32 1693 } /* thread-shared-types.h:92:1 */ 1694 1695 // Thread identifiers. The structure of the attribute type is not 1696 // exposed on purpose. 1697 type pthread_t = uint32 /* pthreadtypes.h:27:27 */ 1698 1699 // Data structures for mutex handling. The structure of the attribute 1700 // type is not exposed on purpose. 1701 type pthread_mutexattr_t = struct { 1702 F__ccgo_pad1 [0]uint32 1703 F__size [4]int8 1704 } /* pthreadtypes.h:36:3 */ 1705 1706 // Data structure for condition variable handling. The structure of 1707 // the attribute type is not exposed on purpose. 1708 type pthread_condattr_t = struct { 1709 F__ccgo_pad1 [0]uint32 1710 F__size [4]int8 1711 } /* pthreadtypes.h:45:3 */ 1712 1713 // Keys for thread-specific data 1714 type pthread_key_t = uint32 /* pthreadtypes.h:49:22 */ 1715 1716 // Once-only execution 1717 type pthread_once_t = int32 /* pthreadtypes.h:53:30 */ 1718 1719 type pthread_attr_t1 = struct { 1720 F__ccgo_pad1 [0]uint32 1721 F__size [36]int8 1722 } /* pthreadtypes.h:56:1 */ 1723 1724 type pthread_attr_t = pthread_attr_t1 /* pthreadtypes.h:62:30 */ 1725 1726 type pthread_mutex_t = struct{ F__data __pthread_mutex_s } /* pthreadtypes.h:72:3 */ 1727 1728 type pthread_cond_t = struct{ F__data __pthread_cond_s } /* pthreadtypes.h:80:3 */ 1729 1730 // Data structure for reader-writer lock variable handling. The 1731 // structure of the attribute type is deliberately not exposed. 1732 type pthread_rwlock_t = struct{ F__data __pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */ 1733 1734 type pthread_rwlockattr_t = struct { 1735 F__ccgo_pad1 [0]uint32 1736 F__size [8]int8 1737 } /* pthreadtypes.h:97:3 */ 1738 1739 // POSIX spinlock data type. 1740 type pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */ 1741 1742 // POSIX barriers data type. The structure of the type is 1743 // deliberately not exposed. 1744 type pthread_barrier_t = struct { 1745 F__ccgo_pad1 [0]uint32 1746 F__size [20]int8 1747 } /* pthreadtypes.h:112:3 */ 1748 1749 type pthread_barrierattr_t = struct { 1750 F__ccgo_pad1 [0]uint32 1751 F__size [4]int8 1752 } /* pthreadtypes.h:118:3 */ 1753 1754 // Copyright (C) 1997-2020 Free Software Foundation, Inc. 1755 // This file is part of the GNU C Library. 1756 // 1757 // The GNU C Library is free software; you can redistribute it and/or 1758 // modify it under the terms of the GNU Lesser General Public 1759 // License as published by the Free Software Foundation; either 1760 // version 2.1 of the License, or (at your option) any later version. 1761 // 1762 // The GNU C Library is distributed in the hope that it will be useful, 1763 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1764 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1765 // Lesser General Public License for more details. 1766 // 1767 // You should have received a copy of the GNU Lesser General Public 1768 // License along with the GNU C Library; if not, see 1769 // <https://www.gnu.org/licenses/>. 1770 1771 // ISO C99: 7.18 Integer types <stdint.h> 1772 1773 // Handle feature test macros at the start of a header. 1774 // Copyright (C) 2016-2020 Free Software Foundation, Inc. 1775 // This file is part of the GNU C Library. 1776 // 1777 // The GNU C Library is free software; you can redistribute it and/or 1778 // modify it under the terms of the GNU Lesser General Public 1779 // License as published by the Free Software Foundation; either 1780 // version 2.1 of the License, or (at your option) any later version. 1781 // 1782 // The GNU C Library is distributed in the hope that it will be useful, 1783 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1784 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1785 // Lesser General Public License for more details. 1786 // 1787 // You should have received a copy of the GNU Lesser General Public 1788 // License along with the GNU C Library; if not, see 1789 // <https://www.gnu.org/licenses/>. 1790 1791 // This header is internal to glibc and should not be included outside 1792 // of glibc headers. Headers including it must define 1793 // __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION first. This header 1794 // cannot have multiple include guards because ISO C feature test 1795 // macros depend on the definition of the macro when an affected 1796 // header is included, not when the first system header is 1797 // included. 1798 1799 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 1800 // This file is part of the GNU C Library. 1801 // 1802 // The GNU C Library is free software; you can redistribute it and/or 1803 // modify it under the terms of the GNU Lesser General Public 1804 // License as published by the Free Software Foundation; either 1805 // version 2.1 of the License, or (at your option) any later version. 1806 // 1807 // The GNU C Library is distributed in the hope that it will be useful, 1808 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1809 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1810 // Lesser General Public License for more details. 1811 // 1812 // You should have received a copy of the GNU Lesser General Public 1813 // License along with the GNU C Library; if not, see 1814 // <https://www.gnu.org/licenses/>. 1815 1816 // ISO/IEC TR 24731-2:2010 defines the __STDC_WANT_LIB_EXT2__ 1817 // macro. 1818 1819 // ISO/IEC TS 18661-1:2014 defines the __STDC_WANT_IEC_60559_BFP_EXT__ 1820 // macro. Most but not all symbols enabled by that macro in TS 1821 // 18661-1 are enabled unconditionally in C2X; the symbols in Annex F 1822 // still require that macro in C2X. 1823 1824 // ISO/IEC TS 18661-4:2015 defines the 1825 // __STDC_WANT_IEC_60559_FUNCS_EXT__ macro. Other than the reduction 1826 // functions, the symbols from this TS are enabled unconditionally in 1827 // C2X. 1828 1829 // ISO/IEC TS 18661-3:2015 defines the 1830 // __STDC_WANT_IEC_60559_TYPES_EXT__ macro. 1831 // bits/types.h -- definitions of __*_t types underlying *_t types. 1832 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1833 // This file is part of the GNU C Library. 1834 // 1835 // The GNU C Library is free software; you can redistribute it and/or 1836 // modify it under the terms of the GNU Lesser General Public 1837 // License as published by the Free Software Foundation; either 1838 // version 2.1 of the License, or (at your option) any later version. 1839 // 1840 // The GNU C Library is distributed in the hope that it will be useful, 1841 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1842 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1843 // Lesser General Public License for more details. 1844 // 1845 // You should have received a copy of the GNU Lesser General Public 1846 // License along with the GNU C Library; if not, see 1847 // <https://www.gnu.org/licenses/>. 1848 1849 // Never include this file directly; use <sys/types.h> instead. 1850 1851 // wchar_t type related definitions. 1852 // Copyright (C) 2000-2020 Free Software Foundation, Inc. 1853 // This file is part of the GNU C Library. 1854 // 1855 // The GNU C Library is free software; you can redistribute it and/or 1856 // modify it under the terms of the GNU Lesser General Public 1857 // License as published by the Free Software Foundation; either 1858 // version 2.1 of the License, or (at your option) any later version. 1859 // 1860 // The GNU C Library is distributed in the hope that it will be useful, 1861 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1862 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1863 // Lesser General Public License for more details. 1864 // 1865 // You should have received a copy of the GNU Lesser General Public 1866 // License along with the GNU C Library; if not, see 1867 // <https://www.gnu.org/licenses/>. 1868 1869 // The fallback definitions, for when __WCHAR_MAX__ or __WCHAR_MIN__ 1870 // are not defined, give the right value and type as long as both int 1871 // and wchar_t are 32-bit types. Adding L'\0' to a constant value 1872 // ensures that the type is correct; it is necessary to use (L'\0' + 1873 // 0) rather than just L'\0' so that the type in C++ is the promoted 1874 // version of wchar_t rather than the distinct wchar_t type itself. 1875 // Because wchar_t in preprocessor #if expressions is treated as 1876 // intmax_t or uintmax_t, the expression (L'\0' - 1) would have the 1877 // wrong value for WCHAR_MAX in such expressions and so cannot be used 1878 // to define __WCHAR_MAX in the unsigned case. 1879 1880 // Determine the wordsize from the preprocessor defines. 1881 1882 // Exact integral types. 1883 1884 // Signed. 1885 // Define intN_t types. 1886 // Copyright (C) 2017-2020 Free Software Foundation, Inc. 1887 // This file is part of the GNU C Library. 1888 // 1889 // The GNU C Library is free software; you can redistribute it and/or 1890 // modify it under the terms of the GNU Lesser General Public 1891 // License as published by the Free Software Foundation; either 1892 // version 2.1 of the License, or (at your option) any later version. 1893 // 1894 // The GNU C Library is distributed in the hope that it will be useful, 1895 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1896 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1897 // Lesser General Public License for more details. 1898 // 1899 // You should have received a copy of the GNU Lesser General Public 1900 // License along with the GNU C Library; if not, see 1901 // <https://www.gnu.org/licenses/>. 1902 1903 // Unsigned. 1904 // Define uintN_t types. 1905 // Copyright (C) 2017-2020 Free Software Foundation, Inc. 1906 // This file is part of the GNU C Library. 1907 // 1908 // The GNU C Library is free software; you can redistribute it and/or 1909 // modify it under the terms of the GNU Lesser General Public 1910 // License as published by the Free Software Foundation; either 1911 // version 2.1 of the License, or (at your option) any later version. 1912 // 1913 // The GNU C Library is distributed in the hope that it will be useful, 1914 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1915 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1916 // Lesser General Public License for more details. 1917 // 1918 // You should have received a copy of the GNU Lesser General Public 1919 // License along with the GNU C Library; if not, see 1920 // <https://www.gnu.org/licenses/>. 1921 1922 // bits/types.h -- definitions of __*_t types underlying *_t types. 1923 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 1924 // This file is part of the GNU C Library. 1925 // 1926 // The GNU C Library is free software; you can redistribute it and/or 1927 // modify it under the terms of the GNU Lesser General Public 1928 // License as published by the Free Software Foundation; either 1929 // version 2.1 of the License, or (at your option) any later version. 1930 // 1931 // The GNU C Library is distributed in the hope that it will be useful, 1932 // but WITHOUT ANY WARRANTY; without even the implied warranty of 1933 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1934 // Lesser General Public License for more details. 1935 // 1936 // You should have received a copy of the GNU Lesser General Public 1937 // License along with the GNU C Library; if not, see 1938 // <https://www.gnu.org/licenses/>. 1939 1940 // Never include this file directly; use <sys/types.h> instead. 1941 1942 type uint8_t = uint8 /* stdint-uintn.h:24:19 */ 1943 type uint16_t = uint16 /* stdint-uintn.h:25:20 */ 1944 type uint32_t = uint32 /* stdint-uintn.h:26:20 */ 1945 type uint64_t = uint64 /* stdint-uintn.h:27:20 */ 1946 1947 // Small types. 1948 1949 // Signed. 1950 type int_least8_t = int8 /* stdint.h:43:24 */ 1951 type int_least16_t = int16 /* stdint.h:44:25 */ 1952 type int_least32_t = int32 /* stdint.h:45:25 */ 1953 type int_least64_t = int64 /* stdint.h:46:25 */ 1954 1955 // Unsigned. 1956 type uint_least8_t = uint8 /* stdint.h:49:25 */ 1957 type uint_least16_t = uint16 /* stdint.h:50:26 */ 1958 type uint_least32_t = uint32 /* stdint.h:51:26 */ 1959 type uint_least64_t = uint64 /* stdint.h:52:26 */ 1960 1961 // Fast types. 1962 1963 // Signed. 1964 type int_fast8_t = int8 /* stdint.h:58:22 */ 1965 type int_fast16_t = int32 /* stdint.h:64:15 */ 1966 type int_fast32_t = int32 /* stdint.h:65:15 */ 1967 1968 type int_fast64_t = int64 /* stdint.h:67:24 */ 1969 1970 // Unsigned. 1971 type uint_fast8_t = uint8 /* stdint.h:71:24 */ 1972 type uint_fast16_t = uint32 /* stdint.h:77:23 */ 1973 type uint_fast32_t = uint32 /* stdint.h:78:23 */ 1974 1975 type uint_fast64_t = uint64 /* stdint.h:80:32 */ 1976 1977 // Types for `void *' pointers. 1978 type intptr_t = int32 /* stdint.h:93:15 */ 1979 type uintptr_t = uint32 /* stdint.h:96:23 */ 1980 1981 // Largest integral types. 1982 type intmax_t = int64 /* stdint.h:101:21 */ 1983 type uintmax_t = uint64 /* stdint.h:102:22 */ 1984 1985 // Limits of integral types. 1986 1987 // Minimum of signed integral types. 1988 // Maximum of signed integral types. 1989 1990 // Maximum of unsigned integral types. 1991 1992 // Minimum of signed integral types having a minimum size. 1993 // Maximum of signed integral types having a minimum size. 1994 1995 // Maximum of unsigned integral types having a minimum size. 1996 1997 // Minimum of fast signed integral types having a minimum size. 1998 // Maximum of fast signed integral types having a minimum size. 1999 2000 // Maximum of fast unsigned integral types having a minimum size. 2001 2002 // Values to test for integral types holding `void *' pointer. 2003 2004 // Minimum for largest signed integral type. 2005 // Maximum for largest signed integral type. 2006 2007 // Maximum for largest unsigned integral type. 2008 2009 // Limits of other integer types. 2010 2011 // Limits of `ptrdiff_t' type. 2012 2013 // Limits of `sig_atomic_t'. 2014 2015 // Limit of `size_t' type. 2016 2017 // Limits of `wchar_t'. 2018 // These constants might also be defined in <wchar.h>. 2019 2020 // Limits of `wint_t'. 2021 2022 // Signed. 2023 2024 // Unsigned. 2025 2026 // Maximal type. 2027 2028 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 2029 // This file is part of the GNU C Library. 2030 // 2031 // The GNU C Library is free software; you can redistribute it and/or 2032 // modify it under the terms of the GNU Lesser General Public 2033 // License as published by the Free Software Foundation; either 2034 // version 2.1 of the License, or (at your option) any later version. 2035 // 2036 // The GNU C Library is distributed in the hope that it will be useful, 2037 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2038 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2039 // Lesser General Public License for more details. 2040 // 2041 // You should have received a copy of the GNU Lesser General Public 2042 // License along with the GNU C Library; if not, see 2043 // <https://www.gnu.org/licenses/>. 2044 2045 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 2046 // This file is part of the GNU C Library. 2047 // 2048 // The GNU C Library is free software; you can redistribute it and/or 2049 // modify it under the terms of the GNU Lesser General Public 2050 // License as published by the Free Software Foundation; either 2051 // version 2.1 of the License, or (at your option) any later version. 2052 // 2053 // The GNU C Library is distributed in the hope that it will be useful, 2054 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2055 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2056 // Lesser General Public License for more details. 2057 // 2058 // You should have received a copy of the GNU Lesser General Public 2059 // License along with the GNU C Library; if not, see 2060 // <https://www.gnu.org/licenses/>. 2061 2062 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 2063 // This file is part of the GNU C Library. 2064 // 2065 // The GNU C Library is free software; you can redistribute it and/or 2066 // modify it under the terms of the GNU Lesser General Public 2067 // License as published by the Free Software Foundation; either 2068 // version 2.1 of the License, or (at your option) any later version. 2069 // 2070 // The GNU C Library is distributed in the hope that it will be useful, 2071 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2072 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2073 // Lesser General Public License for more details. 2074 // 2075 // You should have received a copy of the GNU Lesser General Public 2076 // License along with the GNU C Library; if not, see 2077 // <https://www.gnu.org/licenses/>. 2078 2079 // POSIX Standard: 2.6 Primitive System Data Types <sys/types.h> 2080 2081 // Define struct iovec. 2082 // Copyright (C) 1996-2020 Free Software Foundation, Inc. 2083 // This file is part of the GNU C Library. 2084 // 2085 // The GNU C Library is free software; you can redistribute it and/or 2086 // modify it under the terms of the GNU Lesser General Public 2087 // License as published by the Free Software Foundation; either 2088 // version 2.1 of the License, or (at your option) any later version. 2089 // 2090 // The GNU C Library is distributed in the hope that it will be useful, 2091 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2092 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2093 // Lesser General Public License for more details. 2094 // 2095 // You should have received a copy of the GNU Lesser General Public 2096 // License along with the GNU C Library; if not, see 2097 // <https://www.gnu.org/licenses/>. 2098 2099 // Copyright (C) 1989-2020 Free Software Foundation, Inc. 2100 // 2101 // This file is part of GCC. 2102 // 2103 // GCC is free software; you can redistribute it and/or modify 2104 // it under the terms of the GNU General Public License as published by 2105 // the Free Software Foundation; either version 3, or (at your option) 2106 // any later version. 2107 // 2108 // GCC is distributed in the hope that it will be useful, 2109 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2110 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2111 // GNU General Public License for more details. 2112 // 2113 // Under Section 7 of GPL version 3, you are granted additional 2114 // permissions described in the GCC Runtime Library Exception, version 2115 // 3.1, as published by the Free Software Foundation. 2116 // 2117 // You should have received a copy of the GNU General Public License and 2118 // a copy of the GCC Runtime Library Exception along with this program; 2119 // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 2120 // <http://www.gnu.org/licenses/>. 2121 2122 // ISO C Standard: 7.17 Common definitions <stddef.h> 2123 2124 // Any one of these symbols __need_* means that GNU libc 2125 // wants us just to define one data type. So don't define 2126 // the symbols that indicate this file's entire job has been done. 2127 2128 // This avoids lossage on SunOS but only if stdtypes.h comes first. 2129 // There's no way to win with the other order! Sun lossage. 2130 2131 // Sequent's header files use _PTRDIFF_T_ in some conflicting way. 2132 // Just ignore it. 2133 2134 // On VxWorks, <type/vxTypesBase.h> may have defined macros like 2135 // _TYPE_size_t which will typedef size_t. fixincludes patched the 2136 // vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is 2137 // not defined, and so that defining this macro defines _GCC_SIZE_T. 2138 // If we find that the macros are still defined at this point, we must 2139 // invoke them so that the type is defined as expected. 2140 2141 // In case nobody has defined these types, but we aren't running under 2142 // GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and 2143 // __WCHAR_TYPE__ have reasonable values. This can happen if the 2144 // parts of GCC is compiled by an older compiler, that actually 2145 // include gstddef.h, such as collect2. 2146 2147 // Signed type of difference of two pointers. 2148 2149 // Define this type if we are doing the whole job, 2150 // or if we want this type in particular. 2151 2152 // Unsigned type of `sizeof' something. 2153 2154 // Define this type if we are doing the whole job, 2155 // or if we want this type in particular. 2156 2157 // Wide character type. 2158 // Locale-writers should change this as necessary to 2159 // be big enough to hold unique values not between 0 and 127, 2160 // and not (wchar_t) -1, for each defined multibyte character. 2161 2162 // Define this type if we are doing the whole job, 2163 // or if we want this type in particular. 2164 2165 // A null pointer constant. 2166 2167 // Structure for scatter/gather I/O. 2168 type iovec = struct { 2169 Fiov_base uintptr 2170 Fiov_len size_t 2171 } /* struct_iovec.h:26:1 */ 2172 2173 // Some operating systems provide system-specific extensions to this 2174 // header. 2175 2176 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 2177 // This file is part of the GNU C Library. 2178 // 2179 // The GNU C Library is free software; you can redistribute it and/or 2180 // modify it under the terms of the GNU Lesser General Public 2181 // License as published by the Free Software Foundation; either 2182 // version 2.1 of the License, or (at your option) any later version. 2183 // 2184 // The GNU C Library is distributed in the hope that it will be useful, 2185 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2186 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2187 // Lesser General Public License for more details. 2188 // 2189 // You should have received a copy of the GNU Lesser General Public 2190 // License along with the GNU C Library; if not, see 2191 // <https://www.gnu.org/licenses/>. 2192 2193 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 2194 // This file is part of the GNU C Library. 2195 // 2196 // The GNU C Library is free software; you can redistribute it and/or 2197 // modify it under the terms of the GNU Lesser General Public 2198 // License as published by the Free Software Foundation; either 2199 // version 2.1 of the License, or (at your option) any later version. 2200 // 2201 // The GNU C Library is distributed in the hope that it will be useful, 2202 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2203 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2204 // Lesser General Public License for more details. 2205 // 2206 // You should have received a copy of the GNU Lesser General Public 2207 // License along with the GNU C Library; if not, see 2208 // <https://www.gnu.org/licenses/>. 2209 2210 // Definitions for POSIX 1003.1b-1993 (aka POSIX.4) scheduling interface. 2211 // Copyright (C) 1996-2020 Free Software Foundation, Inc. 2212 // This file is part of the GNU C Library. 2213 // 2214 // The GNU C Library is free software; you can redistribute it and/or 2215 // modify it under the terms of the GNU Lesser General Public 2216 // License as published by the Free Software Foundation; either 2217 // version 2.1 of the License, or (at your option) any later version. 2218 // 2219 // The GNU C Library is distributed in the hope that it will be useful, 2220 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2221 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2222 // Lesser General Public License for more details. 2223 // 2224 // You should have received a copy of the GNU Lesser General Public 2225 // License along with the GNU C Library; if not, see 2226 // <https://www.gnu.org/licenses/>. 2227 2228 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 2229 // This file is part of the GNU C Library. 2230 // 2231 // The GNU C Library is free software; you can redistribute it and/or 2232 // modify it under the terms of the GNU Lesser General Public 2233 // License as published by the Free Software Foundation; either 2234 // version 2.1 of the License, or (at your option) any later version. 2235 // 2236 // The GNU C Library is distributed in the hope that it will be useful, 2237 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2238 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2239 // Lesser General Public License for more details. 2240 // 2241 // You should have received a copy of the GNU Lesser General Public 2242 // License along with the GNU C Library; if not, see 2243 // <https://www.gnu.org/licenses/>. 2244 2245 // Get type definitions. 2246 // bits/types.h -- definitions of __*_t types underlying *_t types. 2247 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 2248 // This file is part of the GNU C Library. 2249 // 2250 // The GNU C Library is free software; you can redistribute it and/or 2251 // modify it under the terms of the GNU Lesser General Public 2252 // License as published by the Free Software Foundation; either 2253 // version 2.1 of the License, or (at your option) any later version. 2254 // 2255 // The GNU C Library is distributed in the hope that it will be useful, 2256 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2257 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2258 // Lesser General Public License for more details. 2259 // 2260 // You should have received a copy of the GNU Lesser General Public 2261 // License along with the GNU C Library; if not, see 2262 // <https://www.gnu.org/licenses/>. 2263 2264 // Never include this file directly; use <sys/types.h> instead. 2265 2266 // Copyright (C) 1989-2020 Free Software Foundation, Inc. 2267 // 2268 // This file is part of GCC. 2269 // 2270 // GCC is free software; you can redistribute it and/or modify 2271 // it under the terms of the GNU General Public License as published by 2272 // the Free Software Foundation; either version 3, or (at your option) 2273 // any later version. 2274 // 2275 // GCC is distributed in the hope that it will be useful, 2276 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2277 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2278 // GNU General Public License for more details. 2279 // 2280 // Under Section 7 of GPL version 3, you are granted additional 2281 // permissions described in the GCC Runtime Library Exception, version 2282 // 3.1, as published by the Free Software Foundation. 2283 // 2284 // You should have received a copy of the GNU General Public License and 2285 // a copy of the GCC Runtime Library Exception along with this program; 2286 // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 2287 // <http://www.gnu.org/licenses/>. 2288 2289 // ISO C Standard: 7.17 Common definitions <stddef.h> 2290 2291 // Any one of these symbols __need_* means that GNU libc 2292 // wants us just to define one data type. So don't define 2293 // the symbols that indicate this file's entire job has been done. 2294 2295 // This avoids lossage on SunOS but only if stdtypes.h comes first. 2296 // There's no way to win with the other order! Sun lossage. 2297 2298 // Sequent's header files use _PTRDIFF_T_ in some conflicting way. 2299 // Just ignore it. 2300 2301 // On VxWorks, <type/vxTypesBase.h> may have defined macros like 2302 // _TYPE_size_t which will typedef size_t. fixincludes patched the 2303 // vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is 2304 // not defined, and so that defining this macro defines _GCC_SIZE_T. 2305 // If we find that the macros are still defined at this point, we must 2306 // invoke them so that the type is defined as expected. 2307 2308 // In case nobody has defined these types, but we aren't running under 2309 // GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and 2310 // __WCHAR_TYPE__ have reasonable values. This can happen if the 2311 // parts of GCC is compiled by an older compiler, that actually 2312 // include gstddef.h, such as collect2. 2313 2314 // Signed type of difference of two pointers. 2315 2316 // Define this type if we are doing the whole job, 2317 // or if we want this type in particular. 2318 2319 // Unsigned type of `sizeof' something. 2320 2321 // Define this type if we are doing the whole job, 2322 // or if we want this type in particular. 2323 2324 // Wide character type. 2325 // Locale-writers should change this as necessary to 2326 // be big enough to hold unique values not between 0 and 127, 2327 // and not (wchar_t) -1, for each defined multibyte character. 2328 2329 // Define this type if we are doing the whole job, 2330 // or if we want this type in particular. 2331 2332 // A null pointer constant. 2333 2334 // NB: Include guard matches what <linux/time.h> uses. 2335 2336 // Get system specific constant and data structure definitions. 2337 // Definitions of constants and data structure for POSIX 1003.1b-1993 2338 // scheduling interface. 2339 // Copyright (C) 1996-2020 Free Software Foundation, Inc. 2340 // This file is part of the GNU C Library. 2341 // 2342 // The GNU C Library is free software; you can redistribute it and/or 2343 // modify it under the terms of the GNU Lesser General Public 2344 // License as published by the Free Software Foundation; either 2345 // version 2.1 of the License, or (at your option) any later version. 2346 // 2347 // The GNU C Library is distributed in the hope that it will be useful, 2348 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2349 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2350 // Lesser General Public License for more details. 2351 // 2352 // You should have received a copy of the GNU Lesser General Public 2353 // License along with the GNU C Library; if not, see 2354 // <https://www.gnu.org/licenses/>. 2355 2356 // Scheduling algorithms. 2357 2358 // Sched parameter structure. Generic version. 2359 // Copyright (C) 1996-2020 Free Software Foundation, Inc. 2360 // This file is part of the GNU C Library. 2361 // 2362 // The GNU C Library is free software; you can redistribute it and/or 2363 // modify it under the terms of the GNU Lesser General Public 2364 // License as published by the Free Software Foundation; either 2365 // version 2.1 of the License, or (at your option) any later version. 2366 // 2367 // The GNU C Library is distributed in the hope that it will be useful, 2368 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2369 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2370 // Lesser General Public License for more details. 2371 // 2372 // You should have received a copy of the GNU Lesser General Public 2373 // License along with the GNU C Library; if not, see 2374 // <https://www.gnu.org/licenses/>. 2375 2376 // Data structure to describe a process' schedulability. 2377 type sched_param = struct{ Fsched_priority int32 } /* struct_sched_param.h:23:1 */ 2378 2379 // Basic access functions. 2380 2381 // Data structure to describe CPU mask. 2382 type cpu_set_t = struct{ F__bits [32]uint32 } /* cpu-set.h:42:3 */ 2383 2384 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 2385 // This file is part of the GNU C Library. 2386 // 2387 // The GNU C Library is free software; you can redistribute it and/or 2388 // modify it under the terms of the GNU Lesser General Public 2389 // License as published by the Free Software Foundation; either 2390 // version 2.1 of the License, or (at your option) any later version. 2391 // 2392 // The GNU C Library is distributed in the hope that it will be useful, 2393 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2394 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2395 // Lesser General Public License for more details. 2396 // 2397 // You should have received a copy of the GNU Lesser General Public 2398 // License along with the GNU C Library; if not, see 2399 // <https://www.gnu.org/licenses/>. 2400 2401 // ISO C99 Standard: 7.23 Date and time <time.h> 2402 2403 // Copyright (C) 1991-2020 Free Software Foundation, Inc. 2404 // This file is part of the GNU C Library. 2405 // 2406 // The GNU C Library is free software; you can redistribute it and/or 2407 // modify it under the terms of the GNU Lesser General Public 2408 // License as published by the Free Software Foundation; either 2409 // version 2.1 of the License, or (at your option) any later version. 2410 // 2411 // The GNU C Library is distributed in the hope that it will be useful, 2412 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2413 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2414 // Lesser General Public License for more details. 2415 // 2416 // You should have received a copy of the GNU Lesser General Public 2417 // License along with the GNU C Library; if not, see 2418 // <https://www.gnu.org/licenses/>. 2419 2420 // Copyright (C) 1989-2020 Free Software Foundation, Inc. 2421 // 2422 // This file is part of GCC. 2423 // 2424 // GCC is free software; you can redistribute it and/or modify 2425 // it under the terms of the GNU General Public License as published by 2426 // the Free Software Foundation; either version 3, or (at your option) 2427 // any later version. 2428 // 2429 // GCC is distributed in the hope that it will be useful, 2430 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2431 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2432 // GNU General Public License for more details. 2433 // 2434 // Under Section 7 of GPL version 3, you are granted additional 2435 // permissions described in the GCC Runtime Library Exception, version 2436 // 3.1, as published by the Free Software Foundation. 2437 // 2438 // You should have received a copy of the GNU General Public License and 2439 // a copy of the GCC Runtime Library Exception along with this program; 2440 // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 2441 // <http://www.gnu.org/licenses/>. 2442 2443 // ISO C Standard: 7.17 Common definitions <stddef.h> 2444 2445 // Any one of these symbols __need_* means that GNU libc 2446 // wants us just to define one data type. So don't define 2447 // the symbols that indicate this file's entire job has been done. 2448 2449 // This avoids lossage on SunOS but only if stdtypes.h comes first. 2450 // There's no way to win with the other order! Sun lossage. 2451 2452 // Sequent's header files use _PTRDIFF_T_ in some conflicting way. 2453 // Just ignore it. 2454 2455 // On VxWorks, <type/vxTypesBase.h> may have defined macros like 2456 // _TYPE_size_t which will typedef size_t. fixincludes patched the 2457 // vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is 2458 // not defined, and so that defining this macro defines _GCC_SIZE_T. 2459 // If we find that the macros are still defined at this point, we must 2460 // invoke them so that the type is defined as expected. 2461 2462 // In case nobody has defined these types, but we aren't running under 2463 // GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and 2464 // __WCHAR_TYPE__ have reasonable values. This can happen if the 2465 // parts of GCC is compiled by an older compiler, that actually 2466 // include gstddef.h, such as collect2. 2467 2468 // Signed type of difference of two pointers. 2469 2470 // Define this type if we are doing the whole job, 2471 // or if we want this type in particular. 2472 2473 // Unsigned type of `sizeof' something. 2474 2475 // Define this type if we are doing the whole job, 2476 // or if we want this type in particular. 2477 2478 // Wide character type. 2479 // Locale-writers should change this as necessary to 2480 // be big enough to hold unique values not between 0 and 127, 2481 // and not (wchar_t) -1, for each defined multibyte character. 2482 2483 // Define this type if we are doing the whole job, 2484 // or if we want this type in particular. 2485 2486 // A null pointer constant. 2487 2488 // This defines CLOCKS_PER_SEC, which is the number of processor clock 2489 // ticks per second, and possibly a number of other constants. 2490 // System-dependent timing definitions. Linux version. 2491 // Copyright (C) 1996-2020 Free Software Foundation, Inc. 2492 // This file is part of the GNU C Library. 2493 // 2494 // The GNU C Library is free software; you can redistribute it and/or 2495 // modify it under the terms of the GNU Lesser General Public 2496 // License as published by the Free Software Foundation; either 2497 // version 2.1 of the License, or (at your option) any later version. 2498 // 2499 // The GNU C Library is distributed in the hope that it will be useful, 2500 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2501 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2502 // Lesser General Public License for more details. 2503 // 2504 // You should have received a copy of the GNU Lesser General Public 2505 // License along with the GNU C Library; if not, see 2506 // <https://www.gnu.org/licenses/>. 2507 2508 // Never include this file directly; use <time.h> instead. 2509 2510 // bits/types.h -- definitions of __*_t types underlying *_t types. 2511 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 2512 // This file is part of the GNU C Library. 2513 // 2514 // The GNU C Library is free software; you can redistribute it and/or 2515 // modify it under the terms of the GNU Lesser General Public 2516 // License as published by the Free Software Foundation; either 2517 // version 2.1 of the License, or (at your option) any later version. 2518 // 2519 // The GNU C Library is distributed in the hope that it will be useful, 2520 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2521 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2522 // Lesser General Public License for more details. 2523 // 2524 // You should have received a copy of the GNU Lesser General Public 2525 // License along with the GNU C Library; if not, see 2526 // <https://www.gnu.org/licenses/>. 2527 2528 // Never include this file directly; use <sys/types.h> instead. 2529 2530 // ISO/IEC 9899:1999 7.23.1: Components of time 2531 // The macro `CLOCKS_PER_SEC' is an expression with type `clock_t' that is 2532 // the number per second of the value returned by the `clock' function. 2533 // CAE XSH, Issue 4, Version 2: <time.h> 2534 // The value of CLOCKS_PER_SEC is required to be 1 million on all 2535 // XSI-conformant systems. 2536 2537 // Identifier for system-wide realtime clock. 2538 // Monotonic system-wide clock. 2539 // High-resolution timer from the CPU. 2540 // Thread-specific CPU-time clock. 2541 // Monotonic system-wide clock, not adjusted for frequency scaling. 2542 // Identifier for system-wide realtime clock, updated only on ticks. 2543 // Monotonic system-wide clock, updated only on ticks. 2544 // Monotonic system-wide clock that includes time spent in suspension. 2545 // Like CLOCK_REALTIME but also wakes suspended system. 2546 // Like CLOCK_BOOTTIME but also wakes suspended system. 2547 // Like CLOCK_REALTIME but in International Atomic Time. 2548 2549 // Flag to indicate time is absolute. 2550 2551 // Many of the typedefs and structs whose official home is this header 2552 // may also need to be defined by other headers. 2553 2554 // bits/types.h -- definitions of __*_t types underlying *_t types. 2555 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 2556 // This file is part of the GNU C Library. 2557 // 2558 // The GNU C Library is free software; you can redistribute it and/or 2559 // modify it under the terms of the GNU Lesser General Public 2560 // License as published by the Free Software Foundation; either 2561 // version 2.1 of the License, or (at your option) any later version. 2562 // 2563 // The GNU C Library is distributed in the hope that it will be useful, 2564 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2565 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2566 // Lesser General Public License for more details. 2567 // 2568 // You should have received a copy of the GNU Lesser General Public 2569 // License along with the GNU C Library; if not, see 2570 // <https://www.gnu.org/licenses/>. 2571 2572 // Never include this file directly; use <sys/types.h> instead. 2573 2574 // ISO C `broken-down time' structure. 2575 type tm = struct { 2576 Ftm_sec int32 2577 Ftm_min int32 2578 Ftm_hour int32 2579 Ftm_mday int32 2580 Ftm_mon int32 2581 Ftm_year int32 2582 Ftm_wday int32 2583 Ftm_yday int32 2584 Ftm_isdst int32 2585 Ftm_gmtoff int32 2586 Ftm_zone uintptr 2587 } /* struct_tm.h:7:1 */ 2588 2589 // NB: Include guard matches what <linux/time.h> uses. 2590 2591 // bits/types.h -- definitions of __*_t types underlying *_t types. 2592 // Copyright (C) 2002-2020 Free Software Foundation, Inc. 2593 // This file is part of the GNU C Library. 2594 // 2595 // The GNU C Library is free software; you can redistribute it and/or 2596 // modify it under the terms of the GNU Lesser General Public 2597 // License as published by the Free Software Foundation; either 2598 // version 2.1 of the License, or (at your option) any later version. 2599 // 2600 // The GNU C Library is distributed in the hope that it will be useful, 2601 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2602 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2603 // Lesser General Public License for more details. 2604 // 2605 // You should have received a copy of the GNU Lesser General Public 2606 // License along with the GNU C Library; if not, see 2607 // <https://www.gnu.org/licenses/>. 2608 2609 // Never include this file directly; use <sys/types.h> instead. 2610 2611 // NB: Include guard matches what <linux/time.h> uses. 2612 2613 // POSIX.1b structure for timer start values and intervals. 2614 type itimerspec = struct { 2615 Fit_interval struct { 2616 Ftv_sec int32 2617 Ftv_nsec int32 2618 } 2619 Fit_value struct { 2620 Ftv_sec int32 2621 Ftv_nsec int32 2622 } 2623 } /* struct_itimerspec.h:8:1 */ 2624 2625 // Definition of locale_t. 2626 // Copyright (C) 2017-2020 Free Software Foundation, Inc. 2627 // This file is part of the GNU C Library. 2628 // 2629 // The GNU C Library is free software; you can redistribute it and/or 2630 // modify it under the terms of the GNU Lesser General Public 2631 // License as published by the Free Software Foundation; either 2632 // version 2.1 of the License, or (at your option) any later version. 2633 // 2634 // The GNU C Library is distributed in the hope that it will be useful, 2635 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2636 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2637 // Lesser General Public License for more details. 2638 // 2639 // You should have received a copy of the GNU Lesser General Public 2640 // License along with the GNU C Library; if not, see 2641 // <https://www.gnu.org/licenses/>. 2642 2643 // Definition of struct __locale_struct and __locale_t. 2644 // Copyright (C) 1997-2020 Free Software Foundation, Inc. 2645 // This file is part of the GNU C Library. 2646 // Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. 2647 // 2648 // The GNU C Library is free software; you can redistribute it and/or 2649 // modify it under the terms of the GNU Lesser General Public 2650 // License as published by the Free Software Foundation; either 2651 // version 2.1 of the License, or (at your option) any later version. 2652 // 2653 // The GNU C Library is distributed in the hope that it will be useful, 2654 // but WITHOUT ANY WARRANTY; without even the implied warranty of 2655 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2656 // Lesser General Public License for more details. 2657 // 2658 // You should have received a copy of the GNU Lesser General Public 2659 // License along with the GNU C Library; if not, see 2660 // <https://www.gnu.org/licenses/>. 2661 2662 // POSIX.1-2008: the locale_t type, representing a locale context 2663 // (implementation-namespace version). This type should be treated 2664 // as opaque by applications; some details are exposed for the sake of 2665 // efficiency in e.g. ctype functions. 2666 2667 type __locale_struct = struct { 2668 F__locales [13]uintptr 2669 F__ctype_b uintptr 2670 F__ctype_tolower uintptr 2671 F__ctype_toupper uintptr 2672 F__names [13]uintptr 2673 } /* __locale_t.h:28:1 */ 2674 2675 type locale_t = uintptr /* locale_t.h:24:20 */ 2676 2677 // Conditional variable handling. 2678 2679 // Cleanup buffers 2680 type _pthread_cleanup_buffer = struct { 2681 F__routine uintptr 2682 F__arg uintptr 2683 F__canceltype int32 2684 F__prev uintptr 2685 } /* pthread.h:155:1 */ 2686 2687 // No special attributes by default. 2688 2689 // Structure to hold the cleanup handler information. 2690 type __pthread_cleanup_frame = struct { 2691 F__cancel_routine uintptr 2692 F__cancel_arg uintptr 2693 F__do_it int32 2694 F__cancel_type int32 2695 } /* pthread.h:516:1 */ 2696 2697 //*< Opaque structure containing all data that XCB needs to communicate with an X server. 2698 2699 // Other types 2700 2701 // * 2702 // @brief Generic iterator. 2703 // 2704 // A generic iterator structure. 2705 type xcb_generic_iterator_t = struct { 2706 Fdata uintptr 2707 Frem int32 2708 Findex int32 2709 } /* xcb.h:118:3 */ 2710 2711 // * 2712 // @brief Generic reply. 2713 // 2714 // A generic reply structure. 2715 type xcb_generic_reply_t = struct { 2716 Fresponse_type uint8_t 2717 Fpad0 uint8_t 2718 Fsequence uint16_t 2719 Flength uint32_t 2720 } /* xcb.h:130:3 */ 2721 2722 // * 2723 // @brief Generic event. 2724 // 2725 // A generic event structure. 2726 type xcb_generic_event_t = struct { 2727 Fresponse_type uint8_t 2728 Fpad0 uint8_t 2729 Fsequence uint16_t 2730 Fpad [7]uint32_t 2731 Ffull_sequence uint32_t 2732 } /* xcb.h:143:3 */ 2733 2734 // * 2735 // @brief Raw Generic event. 2736 // 2737 // A generic event structure as used on the wire, i.e., without the full_sequence field 2738 type xcb_raw_generic_event_t = struct { 2739 Fresponse_type uint8_t 2740 Fpad0 uint8_t 2741 Fsequence uint16_t 2742 Fpad [7]uint32_t 2743 } /* xcb.h:155:3 */ 2744 2745 // * 2746 // @brief GE event 2747 // 2748 // An event as sent by the XGE extension. The length field specifies the 2749 // number of 4-byte blocks trailing the struct. 2750 // 2751 // @deprecated Since some fields in this struct have unfortunate names, it is 2752 // recommended to use xcb_ge_generic_event_t instead. 2753 type xcb_ge_event_t = struct { 2754 Fresponse_type uint8_t 2755 Fpad0 uint8_t 2756 Fsequence uint16_t 2757 Flength uint32_t 2758 Fevent_type uint16_t 2759 Fpad1 uint16_t 2760 Fpad [5]uint32_t 2761 Ffull_sequence uint32_t 2762 } /* xcb.h:175:3 */ 2763 2764 // * 2765 // @brief Generic error. 2766 // 2767 // A generic error structure. 2768 type xcb_generic_error_t = struct { 2769 Fresponse_type uint8_t 2770 Ferror_code uint8_t 2771 Fsequence uint16_t 2772 Fresource_id uint32_t 2773 Fminor_code uint16_t 2774 Fmajor_code uint8_t 2775 Fpad0 uint8_t 2776 Fpad [5]uint32_t 2777 Ffull_sequence uint32_t 2778 } /* xcb.h:192:3 */ 2779 2780 // * 2781 // @brief Generic cookie. 2782 // 2783 // A generic cookie structure. 2784 type xcb_void_cookie_t = struct{ Fsequence uint32 } /* xcb.h:201:3 */ 2785 2786 // Include the generated xproto header. 2787 // This file generated automatically from xproto.xml by c_client.py. 2788 // Edit at your peril. 2789 2790 // * 2791 // @defgroup XCB__API XCB API 2792 // @brief XCB Protocol Implementation. 2793 // @{ 2794 // 2795 2796 // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. 2797 // All Rights Reserved. 2798 // 2799 // Permission is hereby granted, free of charge, to any person obtaining a 2800 // copy of this software and associated documentation files (the "Software"), 2801 // to deal in the Software without restriction, including without limitation 2802 // the rights to use, copy, modify, merge, publish, distribute, sublicense, 2803 // and/or sell copies of the Software, and to permit persons to whom the 2804 // Software is furnished to do so, subject to the following conditions: 2805 // 2806 // The above copyright notice and this permission notice shall be included in 2807 // all copies or substantial portions of the Software. 2808 // 2809 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 2810 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 2811 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 2812 // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 2813 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 2814 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 2815 // 2816 // Except as contained in this notice, the names of the authors or their 2817 // institutions shall not be used in advertising or otherwise to promote the 2818 // sale, use or other dealings in this Software without prior written 2819 // authorization from the authors. 2820 2821 // * 2822 // @brief xcb_char2b_t 2823 // 2824 type xcb_char2b_t1 = struct { 2825 Fbyte1 uint8_t 2826 Fbyte2 uint8_t 2827 } /* xproto.h:24:9 */ 2828 2829 // Include the generated xproto header. 2830 // This file generated automatically from xproto.xml by c_client.py. 2831 // Edit at your peril. 2832 2833 // * 2834 // @defgroup XCB__API XCB API 2835 // @brief XCB Protocol Implementation. 2836 // @{ 2837 // 2838 2839 // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. 2840 // All Rights Reserved. 2841 // 2842 // Permission is hereby granted, free of charge, to any person obtaining a 2843 // copy of this software and associated documentation files (the "Software"), 2844 // to deal in the Software without restriction, including without limitation 2845 // the rights to use, copy, modify, merge, publish, distribute, sublicense, 2846 // and/or sell copies of the Software, and to permit persons to whom the 2847 // Software is furnished to do so, subject to the following conditions: 2848 // 2849 // The above copyright notice and this permission notice shall be included in 2850 // all copies or substantial portions of the Software. 2851 // 2852 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 2853 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 2854 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 2855 // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 2856 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 2857 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 2858 // 2859 // Except as contained in this notice, the names of the authors or their 2860 // institutions shall not be used in advertising or otherwise to promote the 2861 // sale, use or other dealings in this Software without prior written 2862 // authorization from the authors. 2863 2864 // * 2865 // @brief xcb_char2b_t 2866 // 2867 type xcb_char2b_t = xcb_char2b_t1 /* xproto.h:27:3 */ 2868 2869 // * 2870 // @brief xcb_char2b_iterator_t 2871 // 2872 type xcb_char2b_iterator_t1 = struct { 2873 Fdata uintptr 2874 Frem int32 2875 Findex int32 2876 } /* xproto.h:32:9 */ 2877 2878 // * 2879 // @brief xcb_char2b_iterator_t 2880 // 2881 type xcb_char2b_iterator_t = xcb_char2b_iterator_t1 /* xproto.h:36:3 */ 2882 2883 type xcb_window_t = uint32_t /* xproto.h:38:18 */ 2884 2885 // * 2886 // @brief xcb_window_iterator_t 2887 // 2888 type xcb_window_iterator_t1 = struct { 2889 Fdata uintptr 2890 Frem int32 2891 Findex int32 2892 } /* xproto.h:43:9 */ 2893 2894 // * 2895 // @brief xcb_window_iterator_t 2896 // 2897 type xcb_window_iterator_t = xcb_window_iterator_t1 /* xproto.h:47:3 */ 2898 2899 type xcb_pixmap_t = uint32_t /* xproto.h:49:18 */ 2900 2901 // * 2902 // @brief xcb_pixmap_iterator_t 2903 // 2904 type xcb_pixmap_iterator_t1 = struct { 2905 Fdata uintptr 2906 Frem int32 2907 Findex int32 2908 } /* xproto.h:54:9 */ 2909 2910 // * 2911 // @brief xcb_pixmap_iterator_t 2912 // 2913 type xcb_pixmap_iterator_t = xcb_pixmap_iterator_t1 /* xproto.h:58:3 */ 2914 2915 type xcb_cursor_t = uint32_t /* xproto.h:60:18 */ 2916 2917 // * 2918 // @brief xcb_cursor_iterator_t 2919 // 2920 type xcb_cursor_iterator_t1 = struct { 2921 Fdata uintptr 2922 Frem int32 2923 Findex int32 2924 } /* xproto.h:65:9 */ 2925 2926 // * 2927 // @brief xcb_cursor_iterator_t 2928 // 2929 type xcb_cursor_iterator_t = xcb_cursor_iterator_t1 /* xproto.h:69:3 */ 2930 2931 type xcb_font_t = uint32_t /* xproto.h:71:18 */ 2932 2933 // * 2934 // @brief xcb_font_iterator_t 2935 // 2936 type xcb_font_iterator_t1 = struct { 2937 Fdata uintptr 2938 Frem int32 2939 Findex int32 2940 } /* xproto.h:76:9 */ 2941 2942 // * 2943 // @brief xcb_font_iterator_t 2944 // 2945 type xcb_font_iterator_t = xcb_font_iterator_t1 /* xproto.h:80:3 */ 2946 2947 type xcb_gcontext_t = uint32_t /* xproto.h:82:18 */ 2948 2949 // * 2950 // @brief xcb_gcontext_iterator_t 2951 // 2952 type xcb_gcontext_iterator_t1 = struct { 2953 Fdata uintptr 2954 Frem int32 2955 Findex int32 2956 } /* xproto.h:87:9 */ 2957 2958 // * 2959 // @brief xcb_gcontext_iterator_t 2960 // 2961 type xcb_gcontext_iterator_t = xcb_gcontext_iterator_t1 /* xproto.h:91:3 */ 2962 2963 type xcb_colormap_t = uint32_t /* xproto.h:93:18 */ 2964 2965 // * 2966 // @brief xcb_colormap_iterator_t 2967 // 2968 type xcb_colormap_iterator_t1 = struct { 2969 Fdata uintptr 2970 Frem int32 2971 Findex int32 2972 } /* xproto.h:98:9 */ 2973 2974 // * 2975 // @brief xcb_colormap_iterator_t 2976 // 2977 type xcb_colormap_iterator_t = xcb_colormap_iterator_t1 /* xproto.h:102:3 */ 2978 2979 type xcb_atom_t = uint32_t /* xproto.h:104:18 */ 2980 2981 // * 2982 // @brief xcb_atom_iterator_t 2983 // 2984 type xcb_atom_iterator_t1 = struct { 2985 Fdata uintptr 2986 Frem int32 2987 Findex int32 2988 } /* xproto.h:109:9 */ 2989 2990 // * 2991 // @brief xcb_atom_iterator_t 2992 // 2993 type xcb_atom_iterator_t = xcb_atom_iterator_t1 /* xproto.h:113:3 */ 2994 2995 type xcb_drawable_t = uint32_t /* xproto.h:115:18 */ 2996 2997 // * 2998 // @brief xcb_drawable_iterator_t 2999 // 3000 type xcb_drawable_iterator_t1 = struct { 3001 Fdata uintptr 3002 Frem int32 3003 Findex int32 3004 } /* xproto.h:120:9 */ 3005 3006 // * 3007 // @brief xcb_drawable_iterator_t 3008 // 3009 type xcb_drawable_iterator_t = xcb_drawable_iterator_t1 /* xproto.h:124:3 */ 3010 3011 type xcb_fontable_t = uint32_t /* xproto.h:126:18 */ 3012 3013 // * 3014 // @brief xcb_fontable_iterator_t 3015 // 3016 type xcb_fontable_iterator_t1 = struct { 3017 Fdata uintptr 3018 Frem int32 3019 Findex int32 3020 } /* xproto.h:131:9 */ 3021 3022 // * 3023 // @brief xcb_fontable_iterator_t 3024 // 3025 type xcb_fontable_iterator_t = xcb_fontable_iterator_t1 /* xproto.h:135:3 */ 3026 3027 type xcb_bool32_t = uint32_t /* xproto.h:137:18 */ 3028 3029 // * 3030 // @brief xcb_bool32_iterator_t 3031 // 3032 type xcb_bool32_iterator_t1 = struct { 3033 Fdata uintptr 3034 Frem int32 3035 Findex int32 3036 } /* xproto.h:142:9 */ 3037 3038 // * 3039 // @brief xcb_bool32_iterator_t 3040 // 3041 type xcb_bool32_iterator_t = xcb_bool32_iterator_t1 /* xproto.h:146:3 */ 3042 3043 type xcb_visualid_t = uint32_t /* xproto.h:148:18 */ 3044 3045 // * 3046 // @brief xcb_visualid_iterator_t 3047 // 3048 type xcb_visualid_iterator_t1 = struct { 3049 Fdata uintptr 3050 Frem int32 3051 Findex int32 3052 } /* xproto.h:153:9 */ 3053 3054 // * 3055 // @brief xcb_visualid_iterator_t 3056 // 3057 type xcb_visualid_iterator_t = xcb_visualid_iterator_t1 /* xproto.h:157:3 */ 3058 3059 type xcb_timestamp_t = uint32_t /* xproto.h:159:18 */ 3060 3061 // * 3062 // @brief xcb_timestamp_iterator_t 3063 // 3064 type xcb_timestamp_iterator_t1 = struct { 3065 Fdata uintptr 3066 Frem int32 3067 Findex int32 3068 } /* xproto.h:164:9 */ 3069 3070 // * 3071 // @brief xcb_timestamp_iterator_t 3072 // 3073 type xcb_timestamp_iterator_t = xcb_timestamp_iterator_t1 /* xproto.h:168:3 */ 3074 3075 type xcb_keysym_t = uint32_t /* xproto.h:170:18 */ 3076 3077 // * 3078 // @brief xcb_keysym_iterator_t 3079 // 3080 type xcb_keysym_iterator_t1 = struct { 3081 Fdata uintptr 3082 Frem int32 3083 Findex int32 3084 } /* xproto.h:175:9 */ 3085 3086 // * 3087 // @brief xcb_keysym_iterator_t 3088 // 3089 type xcb_keysym_iterator_t = xcb_keysym_iterator_t1 /* xproto.h:179:3 */ 3090 3091 type xcb_keycode_t = uint8_t /* xproto.h:181:17 */ 3092 3093 // * 3094 // @brief xcb_keycode_iterator_t 3095 // 3096 type xcb_keycode_iterator_t1 = struct { 3097 Fdata uintptr 3098 Frem int32 3099 Findex int32 3100 } /* xproto.h:186:9 */ 3101 3102 // * 3103 // @brief xcb_keycode_iterator_t 3104 // 3105 type xcb_keycode_iterator_t = xcb_keycode_iterator_t1 /* xproto.h:190:3 */ 3106 3107 type xcb_keycode32_t = uint32_t /* xproto.h:192:18 */ 3108 3109 // * 3110 // @brief xcb_keycode32_iterator_t 3111 // 3112 type xcb_keycode32_iterator_t1 = struct { 3113 Fdata uintptr 3114 Frem int32 3115 Findex int32 3116 } /* xproto.h:197:9 */ 3117 3118 // * 3119 // @brief xcb_keycode32_iterator_t 3120 // 3121 type xcb_keycode32_iterator_t = xcb_keycode32_iterator_t1 /* xproto.h:201:3 */ 3122 3123 type xcb_button_t = uint8_t /* xproto.h:203:17 */ 3124 3125 // * 3126 // @brief xcb_button_iterator_t 3127 // 3128 type xcb_button_iterator_t1 = struct { 3129 Fdata uintptr 3130 Frem int32 3131 Findex int32 3132 } /* xproto.h:208:9 */ 3133 3134 // * 3135 // @brief xcb_button_iterator_t 3136 // 3137 type xcb_button_iterator_t = xcb_button_iterator_t1 /* xproto.h:212:3 */ 3138 3139 // * 3140 // @brief xcb_point_t 3141 // 3142 type xcb_point_t1 = struct { 3143 Fx int16_t 3144 Fy int16_t 3145 } /* xproto.h:217:9 */ 3146 3147 // * 3148 // @brief xcb_point_t 3149 // 3150 type xcb_point_t = xcb_point_t1 /* xproto.h:220:3 */ 3151 3152 // * 3153 // @brief xcb_point_iterator_t 3154 // 3155 type xcb_point_iterator_t1 = struct { 3156 Fdata uintptr 3157 Frem int32 3158 Findex int32 3159 } /* xproto.h:225:9 */ 3160 3161 // * 3162 // @brief xcb_point_iterator_t 3163 // 3164 type xcb_point_iterator_t = xcb_point_iterator_t1 /* xproto.h:229:3 */ 3165 3166 // * 3167 // @brief xcb_rectangle_t 3168 // 3169 type xcb_rectangle_t1 = struct { 3170 Fx int16_t 3171 Fy int16_t 3172 Fwidth uint16_t 3173 Fheight uint16_t 3174 } /* xproto.h:234:9 */ 3175 3176 // * 3177 // @brief xcb_rectangle_t 3178 // 3179 type xcb_rectangle_t = xcb_rectangle_t1 /* xproto.h:239:3 */ 3180 3181 // * 3182 // @brief xcb_rectangle_iterator_t 3183 // 3184 type xcb_rectangle_iterator_t1 = struct { 3185 Fdata uintptr 3186 Frem int32 3187 Findex int32 3188 } /* xproto.h:244:9 */ 3189 3190 // * 3191 // @brief xcb_rectangle_iterator_t 3192 // 3193 type xcb_rectangle_iterator_t = xcb_rectangle_iterator_t1 /* xproto.h:248:3 */ 3194 3195 // * 3196 // @brief xcb_arc_t 3197 // 3198 type xcb_arc_t1 = struct { 3199 Fx int16_t 3200 Fy int16_t 3201 Fwidth uint16_t 3202 Fheight uint16_t 3203 Fangle1 int16_t 3204 Fangle2 int16_t 3205 } /* xproto.h:253:9 */ 3206 3207 // * 3208 // @brief xcb_arc_t 3209 // 3210 type xcb_arc_t = xcb_arc_t1 /* xproto.h:260:3 */ 3211 3212 // * 3213 // @brief xcb_arc_iterator_t 3214 // 3215 type xcb_arc_iterator_t1 = struct { 3216 Fdata uintptr 3217 Frem int32 3218 Findex int32 3219 } /* xproto.h:265:9 */ 3220 3221 // * 3222 // @brief xcb_arc_iterator_t 3223 // 3224 type xcb_arc_iterator_t = xcb_arc_iterator_t1 /* xproto.h:269:3 */ 3225 3226 // * 3227 // @brief xcb_format_t 3228 // 3229 type xcb_format_t1 = struct { 3230 Fdepth uint8_t 3231 Fbits_per_pixel uint8_t 3232 Fscanline_pad uint8_t 3233 Fpad0 [5]uint8_t 3234 } /* xproto.h:274:9 */ 3235 3236 // * 3237 // @brief xcb_format_t 3238 // 3239 type xcb_format_t = xcb_format_t1 /* xproto.h:279:3 */ 3240 3241 // * 3242 // @brief xcb_format_iterator_t 3243 // 3244 type xcb_format_iterator_t1 = struct { 3245 Fdata uintptr 3246 Frem int32 3247 Findex int32 3248 } /* xproto.h:284:9 */ 3249 3250 // * 3251 // @brief xcb_format_iterator_t 3252 // 3253 type xcb_format_iterator_t = xcb_format_iterator_t1 /* xproto.h:288:3 */ 3254 3255 type xcb_visual_class_t = uint32 /* xproto.h:297:3 */ 3256 3257 // * 3258 // @brief xcb_visualtype_t 3259 // 3260 type xcb_visualtype_t1 = struct { 3261 Fvisual_id xcb_visualid_t 3262 F_class uint8_t 3263 Fbits_per_rgb_value uint8_t 3264 Fcolormap_entries uint16_t 3265 Fred_mask uint32_t 3266 Fgreen_mask uint32_t 3267 Fblue_mask uint32_t 3268 Fpad0 [4]uint8_t 3269 } /* xproto.h:302:9 */ 3270 3271 // * 3272 // @brief xcb_visualtype_t 3273 // 3274 type xcb_visualtype_t = xcb_visualtype_t1 /* xproto.h:311:3 */ 3275 3276 // * 3277 // @brief xcb_visualtype_iterator_t 3278 // 3279 type xcb_visualtype_iterator_t1 = struct { 3280 Fdata uintptr 3281 Frem int32 3282 Findex int32 3283 } /* xproto.h:316:9 */ 3284 3285 // * 3286 // @brief xcb_visualtype_iterator_t 3287 // 3288 type xcb_visualtype_iterator_t = xcb_visualtype_iterator_t1 /* xproto.h:320:3 */ 3289 3290 // * 3291 // @brief xcb_depth_t 3292 // 3293 type xcb_depth_t1 = struct { 3294 Fdepth uint8_t 3295 Fpad0 uint8_t 3296 Fvisuals_len uint16_t 3297 Fpad1 [4]uint8_t 3298 } /* xproto.h:325:9 */ 3299 3300 // * 3301 // @brief xcb_depth_t 3302 // 3303 type xcb_depth_t = xcb_depth_t1 /* xproto.h:330:3 */ 3304 3305 // * 3306 // @brief xcb_depth_iterator_t 3307 // 3308 type xcb_depth_iterator_t1 = struct { 3309 Fdata uintptr 3310 Frem int32 3311 Findex int32 3312 } /* xproto.h:335:9 */ 3313 3314 // * 3315 // @brief xcb_depth_iterator_t 3316 // 3317 type xcb_depth_iterator_t = xcb_depth_iterator_t1 /* xproto.h:339:3 */ 3318 3319 type xcb_event_mask_t = uint32 /* xproto.h:368:3 */ 3320 3321 type xcb_backing_store_t = uint32 /* xproto.h:374:3 */ 3322 3323 // * 3324 // @brief xcb_screen_t 3325 // 3326 type xcb_screen_t1 = struct { 3327 Froot xcb_window_t 3328 Fdefault_colormap xcb_colormap_t 3329 Fwhite_pixel uint32_t 3330 Fblack_pixel uint32_t 3331 Fcurrent_input_masks uint32_t 3332 Fwidth_in_pixels uint16_t 3333 Fheight_in_pixels uint16_t 3334 Fwidth_in_millimeters uint16_t 3335 Fheight_in_millimeters uint16_t 3336 Fmin_installed_maps uint16_t 3337 Fmax_installed_maps uint16_t 3338 Froot_visual xcb_visualid_t 3339 Fbacking_stores uint8_t 3340 Fsave_unders uint8_t 3341 Froot_depth uint8_t 3342 Fallowed_depths_len uint8_t 3343 } /* xproto.h:379:9 */ 3344 3345 // * 3346 // @brief xcb_screen_t 3347 // 3348 type xcb_screen_t = xcb_screen_t1 /* xproto.h:396:3 */ 3349 3350 // * 3351 // @brief xcb_screen_iterator_t 3352 // 3353 type xcb_screen_iterator_t1 = struct { 3354 Fdata uintptr 3355 Frem int32 3356 Findex int32 3357 } /* xproto.h:401:9 */ 3358 3359 // * 3360 // @brief xcb_screen_iterator_t 3361 // 3362 type xcb_screen_iterator_t = xcb_screen_iterator_t1 /* xproto.h:405:3 */ 3363 3364 // * 3365 // @brief xcb_setup_request_t 3366 // 3367 type xcb_setup_request_t1 = struct { 3368 Fbyte_order uint8_t 3369 Fpad0 uint8_t 3370 Fprotocol_major_version uint16_t 3371 Fprotocol_minor_version uint16_t 3372 Fauthorization_protocol_name_len uint16_t 3373 Fauthorization_protocol_data_len uint16_t 3374 Fpad1 [2]uint8_t 3375 } /* xproto.h:410:9 */ 3376 3377 // * 3378 // @brief xcb_setup_request_t 3379 // 3380 type xcb_setup_request_t = xcb_setup_request_t1 /* xproto.h:418:3 */ 3381 3382 // * 3383 // @brief xcb_setup_request_iterator_t 3384 // 3385 type xcb_setup_request_iterator_t1 = struct { 3386 Fdata uintptr 3387 Frem int32 3388 Findex int32 3389 } /* xproto.h:423:9 */ 3390 3391 // * 3392 // @brief xcb_setup_request_iterator_t 3393 // 3394 type xcb_setup_request_iterator_t = xcb_setup_request_iterator_t1 /* xproto.h:427:3 */ 3395 3396 // * 3397 // @brief xcb_setup_failed_t 3398 // 3399 type xcb_setup_failed_t1 = struct { 3400 Fstatus uint8_t 3401 Freason_len uint8_t 3402 Fprotocol_major_version uint16_t 3403 Fprotocol_minor_version uint16_t 3404 Flength uint16_t 3405 } /* xproto.h:432:9 */ 3406 3407 // * 3408 // @brief xcb_setup_failed_t 3409 // 3410 type xcb_setup_failed_t = xcb_setup_failed_t1 /* xproto.h:438:3 */ 3411 3412 // * 3413 // @brief xcb_setup_failed_iterator_t 3414 // 3415 type xcb_setup_failed_iterator_t1 = struct { 3416 Fdata uintptr 3417 Frem int32 3418 Findex int32 3419 } /* xproto.h:443:9 */ 3420 3421 // * 3422 // @brief xcb_setup_failed_iterator_t 3423 // 3424 type xcb_setup_failed_iterator_t = xcb_setup_failed_iterator_t1 /* xproto.h:447:3 */ 3425 3426 // * 3427 // @brief xcb_setup_authenticate_t 3428 // 3429 type xcb_setup_authenticate_t1 = struct { 3430 Fstatus uint8_t 3431 Fpad0 [5]uint8_t 3432 Flength uint16_t 3433 } /* xproto.h:452:9 */ 3434 3435 // * 3436 // @brief xcb_setup_authenticate_t 3437 // 3438 type xcb_setup_authenticate_t = xcb_setup_authenticate_t1 /* xproto.h:456:3 */ 3439 3440 // * 3441 // @brief xcb_setup_authenticate_iterator_t 3442 // 3443 type xcb_setup_authenticate_iterator_t1 = struct { 3444 Fdata uintptr 3445 Frem int32 3446 Findex int32 3447 } /* xproto.h:461:9 */ 3448 3449 // * 3450 // @brief xcb_setup_authenticate_iterator_t 3451 // 3452 type xcb_setup_authenticate_iterator_t = xcb_setup_authenticate_iterator_t1 /* xproto.h:465:3 */ 3453 3454 type xcb_image_order_t = uint32 /* xproto.h:470:3 */ 3455 3456 // * 3457 // @brief xcb_setup_t 3458 // 3459 type xcb_setup_t1 = struct { 3460 Fstatus uint8_t 3461 Fpad0 uint8_t 3462 Fprotocol_major_version uint16_t 3463 Fprotocol_minor_version uint16_t 3464 Flength uint16_t 3465 Frelease_number uint32_t 3466 Fresource_id_base uint32_t 3467 Fresource_id_mask uint32_t 3468 Fmotion_buffer_size uint32_t 3469 Fvendor_len uint16_t 3470 Fmaximum_request_length uint16_t 3471 Froots_len uint8_t 3472 Fpixmap_formats_len uint8_t 3473 Fimage_byte_order uint8_t 3474 Fbitmap_format_bit_order uint8_t 3475 Fbitmap_format_scanline_unit uint8_t 3476 Fbitmap_format_scanline_pad uint8_t 3477 Fmin_keycode xcb_keycode_t 3478 Fmax_keycode xcb_keycode_t 3479 Fpad1 [4]uint8_t 3480 } /* xproto.h:475:9 */ 3481 3482 // * 3483 // @brief xcb_setup_t 3484 // 3485 type xcb_setup_t = xcb_setup_t1 /* xproto.h:496:3 */ 3486 3487 // * 3488 // @brief xcb_setup_iterator_t 3489 // 3490 type xcb_setup_iterator_t1 = struct { 3491 Fdata uintptr 3492 Frem int32 3493 Findex int32 3494 } /* xproto.h:501:9 */ 3495 3496 // * 3497 // @brief xcb_setup_iterator_t 3498 // 3499 type xcb_setup_iterator_t = xcb_setup_iterator_t1 /* xproto.h:505:3 */ 3500 3501 type xcb_mod_mask_t = uint32 /* xproto.h:517:3 */ 3502 3503 type xcb_key_but_mask_t = uint32 /* xproto.h:533:3 */ 3504 3505 type xcb_window_enum_t = uint32 /* xproto.h:537:3 */ 3506 3507 //* Opcode for xcb_key_press. 3508 3509 // * 3510 // @brief xcb_key_press_event_t 3511 // 3512 type xcb_key_press_event_t1 = struct { 3513 Fresponse_type uint8_t 3514 Fdetail xcb_keycode_t 3515 Fsequence uint16_t 3516 Ftime xcb_timestamp_t 3517 Froot xcb_window_t 3518 Fevent xcb_window_t 3519 Fchild xcb_window_t 3520 Froot_x int16_t 3521 Froot_y int16_t 3522 Fevent_x int16_t 3523 Fevent_y int16_t 3524 Fstate uint16_t 3525 Fsame_screen uint8_t 3526 Fpad0 uint8_t 3527 } /* xproto.h:545:9 */ 3528 3529 //* Opcode for xcb_key_press. 3530 3531 // * 3532 // @brief xcb_key_press_event_t 3533 // 3534 type xcb_key_press_event_t = xcb_key_press_event_t1 /* xproto.h:560:3 */ 3535 3536 //* Opcode for xcb_key_release. 3537 3538 type xcb_key_release_event_t = xcb_key_press_event_t /* xproto.h:565:31 */ 3539 3540 type xcb_button_mask_t = uint32 /* xproto.h:574:3 */ 3541 3542 //* Opcode for xcb_button_press. 3543 3544 // * 3545 // @brief xcb_button_press_event_t 3546 // 3547 type xcb_button_press_event_t1 = struct { 3548 Fresponse_type uint8_t 3549 Fdetail xcb_button_t 3550 Fsequence uint16_t 3551 Ftime xcb_timestamp_t 3552 Froot xcb_window_t 3553 Fevent xcb_window_t 3554 Fchild xcb_window_t 3555 Froot_x int16_t 3556 Froot_y int16_t 3557 Fevent_x int16_t 3558 Fevent_y int16_t 3559 Fstate uint16_t 3560 Fsame_screen uint8_t 3561 Fpad0 uint8_t 3562 } /* xproto.h:582:9 */ 3563 3564 //* Opcode for xcb_button_press. 3565 3566 // * 3567 // @brief xcb_button_press_event_t 3568 // 3569 type xcb_button_press_event_t = xcb_button_press_event_t1 /* xproto.h:597:3 */ 3570 3571 //* Opcode for xcb_button_release. 3572 3573 type xcb_button_release_event_t = xcb_button_press_event_t /* xproto.h:602:34 */ 3574 3575 type xcb_motion_t = uint32 /* xproto.h:607:3 */ 3576 3577 //* Opcode for xcb_motion_notify. 3578 3579 // * 3580 // @brief xcb_motion_notify_event_t 3581 // 3582 type xcb_motion_notify_event_t1 = struct { 3583 Fresponse_type uint8_t 3584 Fdetail uint8_t 3585 Fsequence uint16_t 3586 Ftime xcb_timestamp_t 3587 Froot xcb_window_t 3588 Fevent xcb_window_t 3589 Fchild xcb_window_t 3590 Froot_x int16_t 3591 Froot_y int16_t 3592 Fevent_x int16_t 3593 Fevent_y int16_t 3594 Fstate uint16_t 3595 Fsame_screen uint8_t 3596 Fpad0 uint8_t 3597 } /* xproto.h:615:9 */ 3598 3599 //* Opcode for xcb_motion_notify. 3600 3601 // * 3602 // @brief xcb_motion_notify_event_t 3603 // 3604 type xcb_motion_notify_event_t = xcb_motion_notify_event_t1 /* xproto.h:630:3 */ 3605 3606 type xcb_notify_detail_t = uint32 /* xproto.h:641:3 */ 3607 3608 type xcb_notify_mode_t = uint32 /* xproto.h:648:3 */ 3609 3610 //* Opcode for xcb_enter_notify. 3611 3612 // * 3613 // @brief xcb_enter_notify_event_t 3614 // 3615 type xcb_enter_notify_event_t1 = struct { 3616 Fresponse_type uint8_t 3617 Fdetail uint8_t 3618 Fsequence uint16_t 3619 Ftime xcb_timestamp_t 3620 Froot xcb_window_t 3621 Fevent xcb_window_t 3622 Fchild xcb_window_t 3623 Froot_x int16_t 3624 Froot_y int16_t 3625 Fevent_x int16_t 3626 Fevent_y int16_t 3627 Fstate uint16_t 3628 Fmode uint8_t 3629 Fsame_screen_focus uint8_t 3630 } /* xproto.h:656:9 */ 3631 3632 //* Opcode for xcb_enter_notify. 3633 3634 // * 3635 // @brief xcb_enter_notify_event_t 3636 // 3637 type xcb_enter_notify_event_t = xcb_enter_notify_event_t1 /* xproto.h:671:3 */ 3638 3639 //* Opcode for xcb_leave_notify. 3640 3641 type xcb_leave_notify_event_t = xcb_enter_notify_event_t /* xproto.h:676:34 */ 3642 3643 //* Opcode for xcb_focus_in. 3644 3645 // * 3646 // @brief xcb_focus_in_event_t 3647 // 3648 type xcb_focus_in_event_t1 = struct { 3649 Fresponse_type uint8_t 3650 Fdetail uint8_t 3651 Fsequence uint16_t 3652 Fevent xcb_window_t 3653 Fmode uint8_t 3654 Fpad0 [3]uint8_t 3655 } /* xproto.h:684:9 */ 3656 3657 //* Opcode for xcb_focus_in. 3658 3659 // * 3660 // @brief xcb_focus_in_event_t 3661 // 3662 type xcb_focus_in_event_t = xcb_focus_in_event_t1 /* xproto.h:691:3 */ 3663 3664 //* Opcode for xcb_focus_out. 3665 3666 type xcb_focus_out_event_t = xcb_focus_in_event_t /* xproto.h:696:30 */ 3667 3668 //* Opcode for xcb_keymap_notify. 3669 3670 // * 3671 // @brief xcb_keymap_notify_event_t 3672 // 3673 type xcb_keymap_notify_event_t1 = struct { 3674 Fresponse_type uint8_t 3675 Fkeys [31]uint8_t 3676 } /* xproto.h:704:9 */ 3677 3678 //* Opcode for xcb_keymap_notify. 3679 3680 // * 3681 // @brief xcb_keymap_notify_event_t 3682 // 3683 type xcb_keymap_notify_event_t = xcb_keymap_notify_event_t1 /* xproto.h:707:3 */ 3684 3685 //* Opcode for xcb_expose. 3686 3687 // * 3688 // @brief xcb_expose_event_t 3689 // 3690 type xcb_expose_event_t1 = struct { 3691 Fresponse_type uint8_t 3692 Fpad0 uint8_t 3693 Fsequence uint16_t 3694 Fwindow xcb_window_t 3695 Fx uint16_t 3696 Fy uint16_t 3697 Fwidth uint16_t 3698 Fheight uint16_t 3699 Fcount uint16_t 3700 Fpad1 [2]uint8_t 3701 } /* xproto.h:715:9 */ 3702 3703 //* Opcode for xcb_expose. 3704 3705 // * 3706 // @brief xcb_expose_event_t 3707 // 3708 type xcb_expose_event_t = xcb_expose_event_t1 /* xproto.h:726:3 */ 3709 3710 //* Opcode for xcb_graphics_exposure. 3711 3712 // * 3713 // @brief xcb_graphics_exposure_event_t 3714 // 3715 type xcb_graphics_exposure_event_t1 = struct { 3716 Fresponse_type uint8_t 3717 Fpad0 uint8_t 3718 Fsequence uint16_t 3719 Fdrawable xcb_drawable_t 3720 Fx uint16_t 3721 Fy uint16_t 3722 Fwidth uint16_t 3723 Fheight uint16_t 3724 Fminor_opcode uint16_t 3725 Fcount uint16_t 3726 Fmajor_opcode uint8_t 3727 Fpad1 [3]uint8_t 3728 } /* xproto.h:734:9 */ 3729 3730 //* Opcode for xcb_graphics_exposure. 3731 3732 // * 3733 // @brief xcb_graphics_exposure_event_t 3734 // 3735 type xcb_graphics_exposure_event_t = xcb_graphics_exposure_event_t1 /* xproto.h:747:3 */ 3736 3737 //* Opcode for xcb_no_exposure. 3738 3739 // * 3740 // @brief xcb_no_exposure_event_t 3741 // 3742 type xcb_no_exposure_event_t1 = struct { 3743 Fresponse_type uint8_t 3744 Fpad0 uint8_t 3745 Fsequence uint16_t 3746 Fdrawable xcb_drawable_t 3747 Fminor_opcode uint16_t 3748 Fmajor_opcode uint8_t 3749 Fpad1 uint8_t 3750 } /* xproto.h:755:9 */ 3751 3752 //* Opcode for xcb_no_exposure. 3753 3754 // * 3755 // @brief xcb_no_exposure_event_t 3756 // 3757 type xcb_no_exposure_event_t = xcb_no_exposure_event_t1 /* xproto.h:763:3 */ 3758 3759 type xcb_visibility_t = uint32 /* xproto.h:769:3 */ 3760 3761 //* Opcode for xcb_visibility_notify. 3762 3763 // * 3764 // @brief xcb_visibility_notify_event_t 3765 // 3766 type xcb_visibility_notify_event_t1 = struct { 3767 Fresponse_type uint8_t 3768 Fpad0 uint8_t 3769 Fsequence uint16_t 3770 Fwindow xcb_window_t 3771 Fstate uint8_t 3772 Fpad1 [3]uint8_t 3773 } /* xproto.h:777:9 */ 3774 3775 //* Opcode for xcb_visibility_notify. 3776 3777 // * 3778 // @brief xcb_visibility_notify_event_t 3779 // 3780 type xcb_visibility_notify_event_t = xcb_visibility_notify_event_t1 /* xproto.h:784:3 */ 3781 3782 //* Opcode for xcb_create_notify. 3783 3784 // * 3785 // @brief xcb_create_notify_event_t 3786 // 3787 type xcb_create_notify_event_t1 = struct { 3788 Fresponse_type uint8_t 3789 Fpad0 uint8_t 3790 Fsequence uint16_t 3791 Fparent xcb_window_t 3792 Fwindow xcb_window_t 3793 Fx int16_t 3794 Fy int16_t 3795 Fwidth uint16_t 3796 Fheight uint16_t 3797 Fborder_width uint16_t 3798 Foverride_redirect uint8_t 3799 Fpad1 uint8_t 3800 } /* xproto.h:792:9 */ 3801 3802 //* Opcode for xcb_create_notify. 3803 3804 // * 3805 // @brief xcb_create_notify_event_t 3806 // 3807 type xcb_create_notify_event_t = xcb_create_notify_event_t1 /* xproto.h:805:3 */ 3808 3809 //* Opcode for xcb_destroy_notify. 3810 3811 // * 3812 // @brief xcb_destroy_notify_event_t 3813 // 3814 type xcb_destroy_notify_event_t1 = struct { 3815 Fresponse_type uint8_t 3816 Fpad0 uint8_t 3817 Fsequence uint16_t 3818 Fevent xcb_window_t 3819 Fwindow xcb_window_t 3820 } /* xproto.h:813:9 */ 3821 3822 //* Opcode for xcb_destroy_notify. 3823 3824 // * 3825 // @brief xcb_destroy_notify_event_t 3826 // 3827 type xcb_destroy_notify_event_t = xcb_destroy_notify_event_t1 /* xproto.h:819:3 */ 3828 3829 //* Opcode for xcb_unmap_notify. 3830 3831 // * 3832 // @brief xcb_unmap_notify_event_t 3833 // 3834 type xcb_unmap_notify_event_t1 = struct { 3835 Fresponse_type uint8_t 3836 Fpad0 uint8_t 3837 Fsequence uint16_t 3838 Fevent xcb_window_t 3839 Fwindow xcb_window_t 3840 Ffrom_configure uint8_t 3841 Fpad1 [3]uint8_t 3842 } /* xproto.h:827:9 */ 3843 3844 //* Opcode for xcb_unmap_notify. 3845 3846 // * 3847 // @brief xcb_unmap_notify_event_t 3848 // 3849 type xcb_unmap_notify_event_t = xcb_unmap_notify_event_t1 /* xproto.h:835:3 */ 3850 3851 //* Opcode for xcb_map_notify. 3852 3853 // * 3854 // @brief xcb_map_notify_event_t 3855 // 3856 type xcb_map_notify_event_t1 = struct { 3857 Fresponse_type uint8_t 3858 Fpad0 uint8_t 3859 Fsequence uint16_t 3860 Fevent xcb_window_t 3861 Fwindow xcb_window_t 3862 Foverride_redirect uint8_t 3863 Fpad1 [3]uint8_t 3864 } /* xproto.h:843:9 */ 3865 3866 //* Opcode for xcb_map_notify. 3867 3868 // * 3869 // @brief xcb_map_notify_event_t 3870 // 3871 type xcb_map_notify_event_t = xcb_map_notify_event_t1 /* xproto.h:851:3 */ 3872 3873 //* Opcode for xcb_map_request. 3874 3875 // * 3876 // @brief xcb_map_request_event_t 3877 // 3878 type xcb_map_request_event_t1 = struct { 3879 Fresponse_type uint8_t 3880 Fpad0 uint8_t 3881 Fsequence uint16_t 3882 Fparent xcb_window_t 3883 Fwindow xcb_window_t 3884 } /* xproto.h:859:9 */ 3885 3886 //* Opcode for xcb_map_request. 3887 3888 // * 3889 // @brief xcb_map_request_event_t 3890 // 3891 type xcb_map_request_event_t = xcb_map_request_event_t1 /* xproto.h:865:3 */ 3892 3893 //* Opcode for xcb_reparent_notify. 3894 3895 // * 3896 // @brief xcb_reparent_notify_event_t 3897 // 3898 type xcb_reparent_notify_event_t1 = struct { 3899 Fresponse_type uint8_t 3900 Fpad0 uint8_t 3901 Fsequence uint16_t 3902 Fevent xcb_window_t 3903 Fwindow xcb_window_t 3904 Fparent xcb_window_t 3905 Fx int16_t 3906 Fy int16_t 3907 Foverride_redirect uint8_t 3908 Fpad1 [3]uint8_t 3909 } /* xproto.h:873:9 */ 3910 3911 //* Opcode for xcb_reparent_notify. 3912 3913 // * 3914 // @brief xcb_reparent_notify_event_t 3915 // 3916 type xcb_reparent_notify_event_t = xcb_reparent_notify_event_t1 /* xproto.h:884:3 */ 3917 3918 //* Opcode for xcb_configure_notify. 3919 3920 // * 3921 // @brief xcb_configure_notify_event_t 3922 // 3923 type xcb_configure_notify_event_t1 = struct { 3924 Fresponse_type uint8_t 3925 Fpad0 uint8_t 3926 Fsequence uint16_t 3927 Fevent xcb_window_t 3928 Fwindow xcb_window_t 3929 Fabove_sibling xcb_window_t 3930 Fx int16_t 3931 Fy int16_t 3932 Fwidth uint16_t 3933 Fheight uint16_t 3934 Fborder_width uint16_t 3935 Foverride_redirect uint8_t 3936 Fpad1 uint8_t 3937 } /* xproto.h:892:9 */ 3938 3939 //* Opcode for xcb_configure_notify. 3940 3941 // * 3942 // @brief xcb_configure_notify_event_t 3943 // 3944 type xcb_configure_notify_event_t = xcb_configure_notify_event_t1 /* xproto.h:906:3 */ 3945 3946 //* Opcode for xcb_configure_request. 3947 3948 // * 3949 // @brief xcb_configure_request_event_t 3950 // 3951 type xcb_configure_request_event_t1 = struct { 3952 Fresponse_type uint8_t 3953 Fstack_mode uint8_t 3954 Fsequence uint16_t 3955 Fparent xcb_window_t 3956 Fwindow xcb_window_t 3957 Fsibling xcb_window_t 3958 Fx int16_t 3959 Fy int16_t 3960 Fwidth uint16_t 3961 Fheight uint16_t 3962 Fborder_width uint16_t 3963 Fvalue_mask uint16_t 3964 } /* xproto.h:914:9 */ 3965 3966 //* Opcode for xcb_configure_request. 3967 3968 // * 3969 // @brief xcb_configure_request_event_t 3970 // 3971 type xcb_configure_request_event_t = xcb_configure_request_event_t1 /* xproto.h:927:3 */ 3972 3973 //* Opcode for xcb_gravity_notify. 3974 3975 // * 3976 // @brief xcb_gravity_notify_event_t 3977 // 3978 type xcb_gravity_notify_event_t1 = struct { 3979 Fresponse_type uint8_t 3980 Fpad0 uint8_t 3981 Fsequence uint16_t 3982 Fevent xcb_window_t 3983 Fwindow xcb_window_t 3984 Fx int16_t 3985 Fy int16_t 3986 } /* xproto.h:935:9 */ 3987 3988 //* Opcode for xcb_gravity_notify. 3989 3990 // * 3991 // @brief xcb_gravity_notify_event_t 3992 // 3993 type xcb_gravity_notify_event_t = xcb_gravity_notify_event_t1 /* xproto.h:943:3 */ 3994 3995 //* Opcode for xcb_resize_request. 3996 3997 // * 3998 // @brief xcb_resize_request_event_t 3999 // 4000 type xcb_resize_request_event_t1 = struct { 4001 Fresponse_type uint8_t 4002 Fpad0 uint8_t 4003 Fsequence uint16_t 4004 Fwindow xcb_window_t 4005 Fwidth uint16_t 4006 Fheight uint16_t 4007 } /* xproto.h:951:9 */ 4008 4009 //* Opcode for xcb_resize_request. 4010 4011 // * 4012 // @brief xcb_resize_request_event_t 4013 // 4014 type xcb_resize_request_event_t = xcb_resize_request_event_t1 /* xproto.h:958:3 */ 4015 4016 type xcb_place_t = uint32 /* xproto.h:967:3 */ 4017 4018 //* Opcode for xcb_circulate_notify. 4019 4020 // * 4021 // @brief xcb_circulate_notify_event_t 4022 // 4023 type xcb_circulate_notify_event_t1 = struct { 4024 Fresponse_type uint8_t 4025 Fpad0 uint8_t 4026 Fsequence uint16_t 4027 Fevent xcb_window_t 4028 Fwindow xcb_window_t 4029 Fpad1 [4]uint8_t 4030 Fplace uint8_t 4031 Fpad2 [3]uint8_t 4032 } /* xproto.h:975:9 */ 4033 4034 //* Opcode for xcb_circulate_notify. 4035 4036 // * 4037 // @brief xcb_circulate_notify_event_t 4038 // 4039 type xcb_circulate_notify_event_t = xcb_circulate_notify_event_t1 /* xproto.h:984:3 */ 4040 4041 //* Opcode for xcb_circulate_request. 4042 4043 type xcb_circulate_request_event_t = xcb_circulate_notify_event_t /* xproto.h:989:38 */ 4044 4045 type xcb_property_t = uint32 /* xproto.h:994:3 */ 4046 4047 //* Opcode for xcb_property_notify. 4048 4049 // * 4050 // @brief xcb_property_notify_event_t 4051 // 4052 type xcb_property_notify_event_t1 = struct { 4053 Fresponse_type uint8_t 4054 Fpad0 uint8_t 4055 Fsequence uint16_t 4056 Fwindow xcb_window_t 4057 Fatom xcb_atom_t 4058 Ftime xcb_timestamp_t 4059 Fstate uint8_t 4060 Fpad1 [3]uint8_t 4061 } /* xproto.h:1002:9 */ 4062 4063 //* Opcode for xcb_property_notify. 4064 4065 // * 4066 // @brief xcb_property_notify_event_t 4067 // 4068 type xcb_property_notify_event_t = xcb_property_notify_event_t1 /* xproto.h:1011:3 */ 4069 4070 //* Opcode for xcb_selection_clear. 4071 4072 // * 4073 // @brief xcb_selection_clear_event_t 4074 // 4075 type xcb_selection_clear_event_t1 = struct { 4076 Fresponse_type uint8_t 4077 Fpad0 uint8_t 4078 Fsequence uint16_t 4079 Ftime xcb_timestamp_t 4080 Fowner xcb_window_t 4081 Fselection xcb_atom_t 4082 } /* xproto.h:1019:9 */ 4083 4084 //* Opcode for xcb_selection_clear. 4085 4086 // * 4087 // @brief xcb_selection_clear_event_t 4088 // 4089 type xcb_selection_clear_event_t = xcb_selection_clear_event_t1 /* xproto.h:1026:3 */ 4090 4091 type xcb_time_t = uint32 /* xproto.h:1030:3 */ 4092 4093 type xcb_atom_enum_t = uint32 /* xproto.h:1103:3 */ 4094 4095 //* Opcode for xcb_selection_request. 4096 4097 // * 4098 // @brief xcb_selection_request_event_t 4099 // 4100 type xcb_selection_request_event_t1 = struct { 4101 Fresponse_type uint8_t 4102 Fpad0 uint8_t 4103 Fsequence uint16_t 4104 Ftime xcb_timestamp_t 4105 Fowner xcb_window_t 4106 Frequestor xcb_window_t 4107 Fselection xcb_atom_t 4108 Ftarget xcb_atom_t 4109 Fproperty xcb_atom_t 4110 } /* xproto.h:1111:9 */ 4111 4112 //* Opcode for xcb_selection_request. 4113 4114 // * 4115 // @brief xcb_selection_request_event_t 4116 // 4117 type xcb_selection_request_event_t = xcb_selection_request_event_t1 /* xproto.h:1121:3 */ 4118 4119 //* Opcode for xcb_selection_notify. 4120 4121 // * 4122 // @brief xcb_selection_notify_event_t 4123 // 4124 type xcb_selection_notify_event_t1 = struct { 4125 Fresponse_type uint8_t 4126 Fpad0 uint8_t 4127 Fsequence uint16_t 4128 Ftime xcb_timestamp_t 4129 Frequestor xcb_window_t 4130 Fselection xcb_atom_t 4131 Ftarget xcb_atom_t 4132 Fproperty xcb_atom_t 4133 } /* xproto.h:1129:9 */ 4134 4135 //* Opcode for xcb_selection_notify. 4136 4137 // * 4138 // @brief xcb_selection_notify_event_t 4139 // 4140 type xcb_selection_notify_event_t = xcb_selection_notify_event_t1 /* xproto.h:1138:3 */ 4141 4142 type xcb_colormap_state_t = uint32 /* xproto.h:1147:3 */ 4143 4144 type xcb_colormap_enum_t = uint32 /* xproto.h:1151:3 */ 4145 4146 //* Opcode for xcb_colormap_notify. 4147 4148 // * 4149 // @brief xcb_colormap_notify_event_t 4150 // 4151 type xcb_colormap_notify_event_t1 = struct { 4152 Fresponse_type uint8_t 4153 Fpad0 uint8_t 4154 Fsequence uint16_t 4155 Fwindow xcb_window_t 4156 Fcolormap xcb_colormap_t 4157 F_new uint8_t 4158 Fstate uint8_t 4159 Fpad1 [2]uint8_t 4160 } /* xproto.h:1159:9 */ 4161 4162 //* Opcode for xcb_colormap_notify. 4163 4164 // * 4165 // @brief xcb_colormap_notify_event_t 4166 // 4167 type xcb_colormap_notify_event_t = xcb_colormap_notify_event_t1 /* xproto.h:1168:3 */ 4168 4169 // * 4170 // @brief xcb_client_message_data_t 4171 // 4172 type xcb_client_message_data_t1 = struct { 4173 F__ccgo_pad1 [0]uint32 4174 Fdata8 [20]uint8_t 4175 } /* xproto.h:1173:9 */ 4176 4177 // * 4178 // @brief xcb_client_message_data_t 4179 // 4180 type xcb_client_message_data_t = xcb_client_message_data_t1 /* xproto.h:1177:3 */ 4181 4182 // * 4183 // @brief xcb_client_message_data_iterator_t 4184 // 4185 type xcb_client_message_data_iterator_t1 = struct { 4186 Fdata uintptr 4187 Frem int32 4188 Findex int32 4189 } /* xproto.h:1182:9 */ 4190 4191 // * 4192 // @brief xcb_client_message_data_iterator_t 4193 // 4194 type xcb_client_message_data_iterator_t = xcb_client_message_data_iterator_t1 /* xproto.h:1186:3 */ 4195 4196 //* Opcode for xcb_client_message. 4197 4198 // * 4199 // @brief xcb_client_message_event_t 4200 // 4201 type xcb_client_message_event_t1 = struct { 4202 Fresponse_type uint8_t 4203 Fformat uint8_t 4204 Fsequence uint16_t 4205 Fwindow xcb_window_t 4206 Ftype xcb_atom_t 4207 Fdata xcb_client_message_data_t 4208 } /* xproto.h:1194:9 */ 4209 4210 //* Opcode for xcb_client_message. 4211 4212 // * 4213 // @brief xcb_client_message_event_t 4214 // 4215 type xcb_client_message_event_t = xcb_client_message_event_t1 /* xproto.h:1201:3 */ 4216 4217 type xcb_mapping_t = uint32 /* xproto.h:1207:3 */ 4218 4219 //* Opcode for xcb_mapping_notify. 4220 4221 // * 4222 // @brief xcb_mapping_notify_event_t 4223 // 4224 type xcb_mapping_notify_event_t1 = struct { 4225 Fresponse_type uint8_t 4226 Fpad0 uint8_t 4227 Fsequence uint16_t 4228 Frequest uint8_t 4229 Ffirst_keycode xcb_keycode_t 4230 Fcount uint8_t 4231 Fpad1 uint8_t 4232 } /* xproto.h:1215:9 */ 4233 4234 //* Opcode for xcb_mapping_notify. 4235 4236 // * 4237 // @brief xcb_mapping_notify_event_t 4238 // 4239 type xcb_mapping_notify_event_t = xcb_mapping_notify_event_t1 /* xproto.h:1223:3 */ 4240 4241 //* Opcode for xcb_ge_generic. 4242 4243 // * 4244 // @brief xcb_ge_generic_event_t 4245 // 4246 type xcb_ge_generic_event_t1 = struct { 4247 Fresponse_type uint8_t 4248 Fextension uint8_t 4249 Fsequence uint16_t 4250 Flength uint32_t 4251 Fevent_type uint16_t 4252 Fpad0 [22]uint8_t 4253 Ffull_sequence uint32_t 4254 } /* xproto.h:1231:9 */ 4255 4256 //* Opcode for xcb_ge_generic. 4257 4258 // * 4259 // @brief xcb_ge_generic_event_t 4260 // 4261 type xcb_ge_generic_event_t = xcb_ge_generic_event_t1 /* xproto.h:1239:3 */ 4262 4263 //* Opcode for xcb_request. 4264 4265 // * 4266 // @brief xcb_request_error_t 4267 // 4268 type xcb_request_error_t1 = struct { 4269 Fresponse_type uint8_t 4270 Ferror_code uint8_t 4271 Fsequence uint16_t 4272 Fbad_value uint32_t 4273 Fminor_opcode uint16_t 4274 Fmajor_opcode uint8_t 4275 Fpad0 uint8_t 4276 } /* xproto.h:1247:9 */ 4277 4278 //* Opcode for xcb_request. 4279 4280 // * 4281 // @brief xcb_request_error_t 4282 // 4283 type xcb_request_error_t = xcb_request_error_t1 /* xproto.h:1255:3 */ 4284 4285 //* Opcode for xcb_value. 4286 4287 // * 4288 // @brief xcb_value_error_t 4289 // 4290 type xcb_value_error_t1 = struct { 4291 Fresponse_type uint8_t 4292 Ferror_code uint8_t 4293 Fsequence uint16_t 4294 Fbad_value uint32_t 4295 Fminor_opcode uint16_t 4296 Fmajor_opcode uint8_t 4297 Fpad0 uint8_t 4298 } /* xproto.h:1263:9 */ 4299 4300 //* Opcode for xcb_value. 4301 4302 // * 4303 // @brief xcb_value_error_t 4304 // 4305 type xcb_value_error_t = xcb_value_error_t1 /* xproto.h:1271:3 */ 4306 4307 //* Opcode for xcb_window. 4308 4309 type xcb_window_error_t = xcb_value_error_t /* xproto.h:1276:27 */ 4310 4311 //* Opcode for xcb_pixmap. 4312 4313 type xcb_pixmap_error_t = xcb_value_error_t /* xproto.h:1281:27 */ 4314 4315 //* Opcode for xcb_atom. 4316 4317 type xcb_atom_error_t = xcb_value_error_t /* xproto.h:1286:27 */ 4318 4319 //* Opcode for xcb_cursor. 4320 4321 type xcb_cursor_error_t = xcb_value_error_t /* xproto.h:1291:27 */ 4322 4323 //* Opcode for xcb_font. 4324 4325 type xcb_font_error_t = xcb_value_error_t /* xproto.h:1296:27 */ 4326 4327 //* Opcode for xcb_match. 4328 4329 type xcb_match_error_t = xcb_request_error_t /* xproto.h:1301:29 */ 4330 4331 //* Opcode for xcb_drawable. 4332 4333 type xcb_drawable_error_t = xcb_value_error_t /* xproto.h:1306:27 */ 4334 4335 //* Opcode for xcb_access. 4336 4337 type xcb_access_error_t = xcb_request_error_t /* xproto.h:1311:29 */ 4338 4339 //* Opcode for xcb_alloc. 4340 4341 type xcb_alloc_error_t = xcb_request_error_t /* xproto.h:1316:29 */ 4342 4343 //* Opcode for xcb_colormap. 4344 4345 type xcb_colormap_error_t = xcb_value_error_t /* xproto.h:1321:27 */ 4346 4347 //* Opcode for xcb_g_context. 4348 4349 type xcb_g_context_error_t = xcb_value_error_t /* xproto.h:1326:27 */ 4350 4351 //* Opcode for xcb_id_choice. 4352 4353 type xcb_id_choice_error_t = xcb_value_error_t /* xproto.h:1331:27 */ 4354 4355 //* Opcode for xcb_name. 4356 4357 type xcb_name_error_t = xcb_request_error_t /* xproto.h:1336:29 */ 4358 4359 //* Opcode for xcb_length. 4360 4361 type xcb_length_error_t = xcb_request_error_t /* xproto.h:1341:29 */ 4362 4363 //* Opcode for xcb_implementation. 4364 4365 type xcb_implementation_error_t = xcb_request_error_t /* xproto.h:1346:29 */ 4366 4367 type xcb_window_class_t = uint32 /* xproto.h:1352:3 */ 4368 4369 type xcb_cw_t = uint32 /* xproto.h:1453:3 */ 4370 4371 type xcb_back_pixmap_t = uint32 /* xproto.h:1458:3 */ 4372 4373 type xcb_gravity_t = uint32 /* xproto.h:1473:3 */ 4374 4375 // * 4376 // @brief xcb_create_window_value_list_t 4377 // 4378 type xcb_create_window_value_list_t1 = struct { 4379 Fbackground_pixmap xcb_pixmap_t 4380 Fbackground_pixel uint32_t 4381 Fborder_pixmap xcb_pixmap_t 4382 Fborder_pixel uint32_t 4383 Fbit_gravity uint32_t 4384 Fwin_gravity uint32_t 4385 Fbacking_store uint32_t 4386 Fbacking_planes uint32_t 4387 Fbacking_pixel uint32_t 4388 Foverride_redirect xcb_bool32_t 4389 Fsave_under xcb_bool32_t 4390 Fevent_mask uint32_t 4391 Fdo_not_propogate_mask uint32_t 4392 Fcolormap xcb_colormap_t 4393 Fcursor xcb_cursor_t 4394 } /* xproto.h:1478:9 */ 4395 4396 // * 4397 // @brief xcb_create_window_value_list_t 4398 // 4399 type xcb_create_window_value_list_t = xcb_create_window_value_list_t1 /* xproto.h:1494:3 */ 4400 4401 //* Opcode for xcb_create_window. 4402 4403 // * 4404 // @brief xcb_create_window_request_t 4405 // 4406 type xcb_create_window_request_t1 = struct { 4407 Fmajor_opcode uint8_t 4408 Fdepth uint8_t 4409 Flength uint16_t 4410 Fwid xcb_window_t 4411 Fparent xcb_window_t 4412 Fx int16_t 4413 Fy int16_t 4414 Fwidth uint16_t 4415 Fheight uint16_t 4416 Fborder_width uint16_t 4417 F_class uint16_t 4418 Fvisual xcb_visualid_t 4419 Fvalue_mask uint32_t 4420 } /* xproto.h:1502:9 */ 4421 4422 //* Opcode for xcb_create_window. 4423 4424 // * 4425 // @brief xcb_create_window_request_t 4426 // 4427 type xcb_create_window_request_t = xcb_create_window_request_t1 /* xproto.h:1516:3 */ 4428 4429 // * 4430 // @brief xcb_change_window_attributes_value_list_t 4431 // 4432 type xcb_change_window_attributes_value_list_t1 = struct { 4433 Fbackground_pixmap xcb_pixmap_t 4434 Fbackground_pixel uint32_t 4435 Fborder_pixmap xcb_pixmap_t 4436 Fborder_pixel uint32_t 4437 Fbit_gravity uint32_t 4438 Fwin_gravity uint32_t 4439 Fbacking_store uint32_t 4440 Fbacking_planes uint32_t 4441 Fbacking_pixel uint32_t 4442 Foverride_redirect xcb_bool32_t 4443 Fsave_under xcb_bool32_t 4444 Fevent_mask uint32_t 4445 Fdo_not_propogate_mask uint32_t 4446 Fcolormap xcb_colormap_t 4447 Fcursor xcb_cursor_t 4448 } /* xproto.h:1521:9 */ 4449 4450 // * 4451 // @brief xcb_change_window_attributes_value_list_t 4452 // 4453 type xcb_change_window_attributes_value_list_t = xcb_change_window_attributes_value_list_t1 /* xproto.h:1537:3 */ 4454 4455 //* Opcode for xcb_change_window_attributes. 4456 4457 // * 4458 // @brief xcb_change_window_attributes_request_t 4459 // 4460 type xcb_change_window_attributes_request_t1 = struct { 4461 Fmajor_opcode uint8_t 4462 Fpad0 uint8_t 4463 Flength uint16_t 4464 Fwindow xcb_window_t 4465 Fvalue_mask uint32_t 4466 } /* xproto.h:1545:9 */ 4467 4468 //* Opcode for xcb_change_window_attributes. 4469 4470 // * 4471 // @brief xcb_change_window_attributes_request_t 4472 // 4473 type xcb_change_window_attributes_request_t = xcb_change_window_attributes_request_t1 /* xproto.h:1551:3 */ 4474 4475 type xcb_map_state_t = uint32 /* xproto.h:1557:3 */ 4476 4477 // * 4478 // @brief xcb_get_window_attributes_cookie_t 4479 // 4480 type xcb_get_window_attributes_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1562:9 */ 4481 4482 // * 4483 // @brief xcb_get_window_attributes_cookie_t 4484 // 4485 type xcb_get_window_attributes_cookie_t = xcb_get_window_attributes_cookie_t1 /* xproto.h:1564:3 */ 4486 4487 //* Opcode for xcb_get_window_attributes. 4488 4489 // * 4490 // @brief xcb_get_window_attributes_request_t 4491 // 4492 type xcb_get_window_attributes_request_t1 = struct { 4493 Fmajor_opcode uint8_t 4494 Fpad0 uint8_t 4495 Flength uint16_t 4496 Fwindow xcb_window_t 4497 } /* xproto.h:1572:9 */ 4498 4499 //* Opcode for xcb_get_window_attributes. 4500 4501 // * 4502 // @brief xcb_get_window_attributes_request_t 4503 // 4504 type xcb_get_window_attributes_request_t = xcb_get_window_attributes_request_t1 /* xproto.h:1577:3 */ 4505 4506 // * 4507 // @brief xcb_get_window_attributes_reply_t 4508 // 4509 type xcb_get_window_attributes_reply_t1 = struct { 4510 Fresponse_type uint8_t 4511 Fbacking_store uint8_t 4512 Fsequence uint16_t 4513 Flength uint32_t 4514 Fvisual xcb_visualid_t 4515 F_class uint16_t 4516 Fbit_gravity uint8_t 4517 Fwin_gravity uint8_t 4518 Fbacking_planes uint32_t 4519 Fbacking_pixel uint32_t 4520 Fsave_under uint8_t 4521 Fmap_is_installed uint8_t 4522 Fmap_state uint8_t 4523 Foverride_redirect uint8_t 4524 Fcolormap xcb_colormap_t 4525 Fall_event_masks uint32_t 4526 Fyour_event_mask uint32_t 4527 Fdo_not_propagate_mask uint16_t 4528 Fpad0 [2]uint8_t 4529 } /* xproto.h:1582:9 */ 4530 4531 // * 4532 // @brief xcb_get_window_attributes_reply_t 4533 // 4534 type xcb_get_window_attributes_reply_t = xcb_get_window_attributes_reply_t1 /* xproto.h:1602:3 */ 4535 4536 //* Opcode for xcb_destroy_window. 4537 4538 // * 4539 // @brief xcb_destroy_window_request_t 4540 // 4541 type xcb_destroy_window_request_t1 = struct { 4542 Fmajor_opcode uint8_t 4543 Fpad0 uint8_t 4544 Flength uint16_t 4545 Fwindow xcb_window_t 4546 } /* xproto.h:1610:9 */ 4547 4548 //* Opcode for xcb_destroy_window. 4549 4550 // * 4551 // @brief xcb_destroy_window_request_t 4552 // 4553 type xcb_destroy_window_request_t = xcb_destroy_window_request_t1 /* xproto.h:1615:3 */ 4554 4555 //* Opcode for xcb_destroy_subwindows. 4556 4557 // * 4558 // @brief xcb_destroy_subwindows_request_t 4559 // 4560 type xcb_destroy_subwindows_request_t1 = struct { 4561 Fmajor_opcode uint8_t 4562 Fpad0 uint8_t 4563 Flength uint16_t 4564 Fwindow xcb_window_t 4565 } /* xproto.h:1623:9 */ 4566 4567 //* Opcode for xcb_destroy_subwindows. 4568 4569 // * 4570 // @brief xcb_destroy_subwindows_request_t 4571 // 4572 type xcb_destroy_subwindows_request_t = xcb_destroy_subwindows_request_t1 /* xproto.h:1628:3 */ 4573 4574 type xcb_set_mode_t = uint32 /* xproto.h:1633:3 */ 4575 4576 //* Opcode for xcb_change_save_set. 4577 4578 // * 4579 // @brief xcb_change_save_set_request_t 4580 // 4581 type xcb_change_save_set_request_t1 = struct { 4582 Fmajor_opcode uint8_t 4583 Fmode uint8_t 4584 Flength uint16_t 4585 Fwindow xcb_window_t 4586 } /* xproto.h:1641:9 */ 4587 4588 //* Opcode for xcb_change_save_set. 4589 4590 // * 4591 // @brief xcb_change_save_set_request_t 4592 // 4593 type xcb_change_save_set_request_t = xcb_change_save_set_request_t1 /* xproto.h:1646:3 */ 4594 4595 //* Opcode for xcb_reparent_window. 4596 4597 // * 4598 // @brief xcb_reparent_window_request_t 4599 // 4600 type xcb_reparent_window_request_t1 = struct { 4601 Fmajor_opcode uint8_t 4602 Fpad0 uint8_t 4603 Flength uint16_t 4604 Fwindow xcb_window_t 4605 Fparent xcb_window_t 4606 Fx int16_t 4607 Fy int16_t 4608 } /* xproto.h:1654:9 */ 4609 4610 //* Opcode for xcb_reparent_window. 4611 4612 // * 4613 // @brief xcb_reparent_window_request_t 4614 // 4615 type xcb_reparent_window_request_t = xcb_reparent_window_request_t1 /* xproto.h:1662:3 */ 4616 4617 //* Opcode for xcb_map_window. 4618 4619 // * 4620 // @brief xcb_map_window_request_t 4621 // 4622 type xcb_map_window_request_t1 = struct { 4623 Fmajor_opcode uint8_t 4624 Fpad0 uint8_t 4625 Flength uint16_t 4626 Fwindow xcb_window_t 4627 } /* xproto.h:1670:9 */ 4628 4629 //* Opcode for xcb_map_window. 4630 4631 // * 4632 // @brief xcb_map_window_request_t 4633 // 4634 type xcb_map_window_request_t = xcb_map_window_request_t1 /* xproto.h:1675:3 */ 4635 4636 //* Opcode for xcb_map_subwindows. 4637 4638 // * 4639 // @brief xcb_map_subwindows_request_t 4640 // 4641 type xcb_map_subwindows_request_t1 = struct { 4642 Fmajor_opcode uint8_t 4643 Fpad0 uint8_t 4644 Flength uint16_t 4645 Fwindow xcb_window_t 4646 } /* xproto.h:1683:9 */ 4647 4648 //* Opcode for xcb_map_subwindows. 4649 4650 // * 4651 // @brief xcb_map_subwindows_request_t 4652 // 4653 type xcb_map_subwindows_request_t = xcb_map_subwindows_request_t1 /* xproto.h:1688:3 */ 4654 4655 //* Opcode for xcb_unmap_window. 4656 4657 // * 4658 // @brief xcb_unmap_window_request_t 4659 // 4660 type xcb_unmap_window_request_t1 = struct { 4661 Fmajor_opcode uint8_t 4662 Fpad0 uint8_t 4663 Flength uint16_t 4664 Fwindow xcb_window_t 4665 } /* xproto.h:1696:9 */ 4666 4667 //* Opcode for xcb_unmap_window. 4668 4669 // * 4670 // @brief xcb_unmap_window_request_t 4671 // 4672 type xcb_unmap_window_request_t = xcb_unmap_window_request_t1 /* xproto.h:1701:3 */ 4673 4674 //* Opcode for xcb_unmap_subwindows. 4675 4676 // * 4677 // @brief xcb_unmap_subwindows_request_t 4678 // 4679 type xcb_unmap_subwindows_request_t1 = struct { 4680 Fmajor_opcode uint8_t 4681 Fpad0 uint8_t 4682 Flength uint16_t 4683 Fwindow xcb_window_t 4684 } /* xproto.h:1709:9 */ 4685 4686 //* Opcode for xcb_unmap_subwindows. 4687 4688 // * 4689 // @brief xcb_unmap_subwindows_request_t 4690 // 4691 type xcb_unmap_subwindows_request_t = xcb_unmap_subwindows_request_t1 /* xproto.h:1714:3 */ 4692 4693 type xcb_config_window_t = uint32 /* xproto.h:1724:3 */ 4694 4695 type xcb_stack_mode_t = uint32 /* xproto.h:1732:3 */ 4696 4697 // * 4698 // @brief xcb_configure_window_value_list_t 4699 // 4700 type xcb_configure_window_value_list_t1 = struct { 4701 Fx int32_t 4702 Fy int32_t 4703 Fwidth uint32_t 4704 Fheight uint32_t 4705 Fborder_width uint32_t 4706 Fsibling xcb_window_t 4707 Fstack_mode uint32_t 4708 } /* xproto.h:1737:9 */ 4709 4710 // * 4711 // @brief xcb_configure_window_value_list_t 4712 // 4713 type xcb_configure_window_value_list_t = xcb_configure_window_value_list_t1 /* xproto.h:1745:3 */ 4714 4715 //* Opcode for xcb_configure_window. 4716 4717 // * 4718 // @brief xcb_configure_window_request_t 4719 // 4720 type xcb_configure_window_request_t1 = struct { 4721 Fmajor_opcode uint8_t 4722 Fpad0 uint8_t 4723 Flength uint16_t 4724 Fwindow xcb_window_t 4725 Fvalue_mask uint16_t 4726 Fpad1 [2]uint8_t 4727 } /* xproto.h:1753:9 */ 4728 4729 //* Opcode for xcb_configure_window. 4730 4731 // * 4732 // @brief xcb_configure_window_request_t 4733 // 4734 type xcb_configure_window_request_t = xcb_configure_window_request_t1 /* xproto.h:1760:3 */ 4735 4736 type xcb_circulate_t = uint32 /* xproto.h:1765:3 */ 4737 4738 //* Opcode for xcb_circulate_window. 4739 4740 // * 4741 // @brief xcb_circulate_window_request_t 4742 // 4743 type xcb_circulate_window_request_t1 = struct { 4744 Fmajor_opcode uint8_t 4745 Fdirection uint8_t 4746 Flength uint16_t 4747 Fwindow xcb_window_t 4748 } /* xproto.h:1773:9 */ 4749 4750 //* Opcode for xcb_circulate_window. 4751 4752 // * 4753 // @brief xcb_circulate_window_request_t 4754 // 4755 type xcb_circulate_window_request_t = xcb_circulate_window_request_t1 /* xproto.h:1778:3 */ 4756 4757 // * 4758 // @brief xcb_get_geometry_cookie_t 4759 // 4760 type xcb_get_geometry_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1783:9 */ 4761 4762 // * 4763 // @brief xcb_get_geometry_cookie_t 4764 // 4765 type xcb_get_geometry_cookie_t = xcb_get_geometry_cookie_t1 /* xproto.h:1785:3 */ 4766 4767 //* Opcode for xcb_get_geometry. 4768 4769 // * 4770 // @brief xcb_get_geometry_request_t 4771 // 4772 type xcb_get_geometry_request_t1 = struct { 4773 Fmajor_opcode uint8_t 4774 Fpad0 uint8_t 4775 Flength uint16_t 4776 Fdrawable xcb_drawable_t 4777 } /* xproto.h:1793:9 */ 4778 4779 //* Opcode for xcb_get_geometry. 4780 4781 // * 4782 // @brief xcb_get_geometry_request_t 4783 // 4784 type xcb_get_geometry_request_t = xcb_get_geometry_request_t1 /* xproto.h:1798:3 */ 4785 4786 // * 4787 // @brief xcb_get_geometry_reply_t 4788 // 4789 type xcb_get_geometry_reply_t1 = struct { 4790 Fresponse_type uint8_t 4791 Fdepth uint8_t 4792 Fsequence uint16_t 4793 Flength uint32_t 4794 Froot xcb_window_t 4795 Fx int16_t 4796 Fy int16_t 4797 Fwidth uint16_t 4798 Fheight uint16_t 4799 Fborder_width uint16_t 4800 Fpad0 [2]uint8_t 4801 } /* xproto.h:1803:9 */ 4802 4803 // * 4804 // @brief xcb_get_geometry_reply_t 4805 // 4806 type xcb_get_geometry_reply_t = xcb_get_geometry_reply_t1 /* xproto.h:1815:3 */ 4807 4808 // * 4809 // @brief xcb_query_tree_cookie_t 4810 // 4811 type xcb_query_tree_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1820:9 */ 4812 4813 // * 4814 // @brief xcb_query_tree_cookie_t 4815 // 4816 type xcb_query_tree_cookie_t = xcb_query_tree_cookie_t1 /* xproto.h:1822:3 */ 4817 4818 //* Opcode for xcb_query_tree. 4819 4820 // * 4821 // @brief xcb_query_tree_request_t 4822 // 4823 type xcb_query_tree_request_t1 = struct { 4824 Fmajor_opcode uint8_t 4825 Fpad0 uint8_t 4826 Flength uint16_t 4827 Fwindow xcb_window_t 4828 } /* xproto.h:1830:9 */ 4829 4830 //* Opcode for xcb_query_tree. 4831 4832 // * 4833 // @brief xcb_query_tree_request_t 4834 // 4835 type xcb_query_tree_request_t = xcb_query_tree_request_t1 /* xproto.h:1835:3 */ 4836 4837 // * 4838 // @brief xcb_query_tree_reply_t 4839 // 4840 type xcb_query_tree_reply_t1 = struct { 4841 Fresponse_type uint8_t 4842 Fpad0 uint8_t 4843 Fsequence uint16_t 4844 Flength uint32_t 4845 Froot xcb_window_t 4846 Fparent xcb_window_t 4847 Fchildren_len uint16_t 4848 Fpad1 [14]uint8_t 4849 } /* xproto.h:1840:9 */ 4850 4851 // * 4852 // @brief xcb_query_tree_reply_t 4853 // 4854 type xcb_query_tree_reply_t = xcb_query_tree_reply_t1 /* xproto.h:1849:3 */ 4855 4856 // * 4857 // @brief xcb_intern_atom_cookie_t 4858 // 4859 type xcb_intern_atom_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1854:9 */ 4860 4861 // * 4862 // @brief xcb_intern_atom_cookie_t 4863 // 4864 type xcb_intern_atom_cookie_t = xcb_intern_atom_cookie_t1 /* xproto.h:1856:3 */ 4865 4866 //* Opcode for xcb_intern_atom. 4867 4868 // * 4869 // @brief xcb_intern_atom_request_t 4870 // 4871 type xcb_intern_atom_request_t1 = struct { 4872 Fmajor_opcode uint8_t 4873 Fonly_if_exists uint8_t 4874 Flength uint16_t 4875 Fname_len uint16_t 4876 Fpad0 [2]uint8_t 4877 } /* xproto.h:1864:9 */ 4878 4879 //* Opcode for xcb_intern_atom. 4880 4881 // * 4882 // @brief xcb_intern_atom_request_t 4883 // 4884 type xcb_intern_atom_request_t = xcb_intern_atom_request_t1 /* xproto.h:1870:3 */ 4885 4886 // * 4887 // @brief xcb_intern_atom_reply_t 4888 // 4889 type xcb_intern_atom_reply_t1 = struct { 4890 Fresponse_type uint8_t 4891 Fpad0 uint8_t 4892 Fsequence uint16_t 4893 Flength uint32_t 4894 Fatom xcb_atom_t 4895 } /* xproto.h:1875:9 */ 4896 4897 // * 4898 // @brief xcb_intern_atom_reply_t 4899 // 4900 type xcb_intern_atom_reply_t = xcb_intern_atom_reply_t1 /* xproto.h:1881:3 */ 4901 4902 // * 4903 // @brief xcb_get_atom_name_cookie_t 4904 // 4905 type xcb_get_atom_name_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1886:9 */ 4906 4907 // * 4908 // @brief xcb_get_atom_name_cookie_t 4909 // 4910 type xcb_get_atom_name_cookie_t = xcb_get_atom_name_cookie_t1 /* xproto.h:1888:3 */ 4911 4912 //* Opcode for xcb_get_atom_name. 4913 4914 // * 4915 // @brief xcb_get_atom_name_request_t 4916 // 4917 type xcb_get_atom_name_request_t1 = struct { 4918 Fmajor_opcode uint8_t 4919 Fpad0 uint8_t 4920 Flength uint16_t 4921 Fatom xcb_atom_t 4922 } /* xproto.h:1896:9 */ 4923 4924 //* Opcode for xcb_get_atom_name. 4925 4926 // * 4927 // @brief xcb_get_atom_name_request_t 4928 // 4929 type xcb_get_atom_name_request_t = xcb_get_atom_name_request_t1 /* xproto.h:1901:3 */ 4930 4931 // * 4932 // @brief xcb_get_atom_name_reply_t 4933 // 4934 type xcb_get_atom_name_reply_t1 = struct { 4935 Fresponse_type uint8_t 4936 Fpad0 uint8_t 4937 Fsequence uint16_t 4938 Flength uint32_t 4939 Fname_len uint16_t 4940 Fpad1 [22]uint8_t 4941 } /* xproto.h:1906:9 */ 4942 4943 // * 4944 // @brief xcb_get_atom_name_reply_t 4945 // 4946 type xcb_get_atom_name_reply_t = xcb_get_atom_name_reply_t1 /* xproto.h:1913:3 */ 4947 4948 type xcb_prop_mode_t = uint32 /* xproto.h:1929:3 */ 4949 4950 //* Opcode for xcb_change_property. 4951 4952 // * 4953 // @brief xcb_change_property_request_t 4954 // 4955 type xcb_change_property_request_t1 = struct { 4956 Fmajor_opcode uint8_t 4957 Fmode uint8_t 4958 Flength uint16_t 4959 Fwindow xcb_window_t 4960 Fproperty xcb_atom_t 4961 Ftype xcb_atom_t 4962 Fformat uint8_t 4963 Fpad0 [3]uint8_t 4964 Fdata_len uint32_t 4965 } /* xproto.h:1937:9 */ 4966 4967 //* Opcode for xcb_change_property. 4968 4969 // * 4970 // @brief xcb_change_property_request_t 4971 // 4972 type xcb_change_property_request_t = xcb_change_property_request_t1 /* xproto.h:1947:3 */ 4973 4974 //* Opcode for xcb_delete_property. 4975 4976 // * 4977 // @brief xcb_delete_property_request_t 4978 // 4979 type xcb_delete_property_request_t1 = struct { 4980 Fmajor_opcode uint8_t 4981 Fpad0 uint8_t 4982 Flength uint16_t 4983 Fwindow xcb_window_t 4984 Fproperty xcb_atom_t 4985 } /* xproto.h:1955:9 */ 4986 4987 //* Opcode for xcb_delete_property. 4988 4989 // * 4990 // @brief xcb_delete_property_request_t 4991 // 4992 type xcb_delete_property_request_t = xcb_delete_property_request_t1 /* xproto.h:1961:3 */ 4993 4994 type xcb_get_property_type_t = uint32 /* xproto.h:1965:3 */ 4995 4996 // * 4997 // @brief xcb_get_property_cookie_t 4998 // 4999 type xcb_get_property_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1970:9 */ 5000 5001 // * 5002 // @brief xcb_get_property_cookie_t 5003 // 5004 type xcb_get_property_cookie_t = xcb_get_property_cookie_t1 /* xproto.h:1972:3 */ 5005 5006 //* Opcode for xcb_get_property. 5007 5008 // * 5009 // @brief xcb_get_property_request_t 5010 // 5011 type xcb_get_property_request_t1 = struct { 5012 Fmajor_opcode uint8_t 5013 F_delete uint8_t 5014 Flength uint16_t 5015 Fwindow xcb_window_t 5016 Fproperty xcb_atom_t 5017 Ftype xcb_atom_t 5018 Flong_offset uint32_t 5019 Flong_length uint32_t 5020 } /* xproto.h:1980:9 */ 5021 5022 //* Opcode for xcb_get_property. 5023 5024 // * 5025 // @brief xcb_get_property_request_t 5026 // 5027 type xcb_get_property_request_t = xcb_get_property_request_t1 /* xproto.h:1989:3 */ 5028 5029 // * 5030 // @brief xcb_get_property_reply_t 5031 // 5032 type xcb_get_property_reply_t1 = struct { 5033 Fresponse_type uint8_t 5034 Fformat uint8_t 5035 Fsequence uint16_t 5036 Flength uint32_t 5037 Ftype xcb_atom_t 5038 Fbytes_after uint32_t 5039 Fvalue_len uint32_t 5040 Fpad0 [12]uint8_t 5041 } /* xproto.h:1994:9 */ 5042 5043 // * 5044 // @brief xcb_get_property_reply_t 5045 // 5046 type xcb_get_property_reply_t = xcb_get_property_reply_t1 /* xproto.h:2003:3 */ 5047 5048 // * 5049 // @brief xcb_list_properties_cookie_t 5050 // 5051 type xcb_list_properties_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2008:9 */ 5052 5053 // * 5054 // @brief xcb_list_properties_cookie_t 5055 // 5056 type xcb_list_properties_cookie_t = xcb_list_properties_cookie_t1 /* xproto.h:2010:3 */ 5057 5058 //* Opcode for xcb_list_properties. 5059 5060 // * 5061 // @brief xcb_list_properties_request_t 5062 // 5063 type xcb_list_properties_request_t1 = struct { 5064 Fmajor_opcode uint8_t 5065 Fpad0 uint8_t 5066 Flength uint16_t 5067 Fwindow xcb_window_t 5068 } /* xproto.h:2018:9 */ 5069 5070 //* Opcode for xcb_list_properties. 5071 5072 // * 5073 // @brief xcb_list_properties_request_t 5074 // 5075 type xcb_list_properties_request_t = xcb_list_properties_request_t1 /* xproto.h:2023:3 */ 5076 5077 // * 5078 // @brief xcb_list_properties_reply_t 5079 // 5080 type xcb_list_properties_reply_t1 = struct { 5081 Fresponse_type uint8_t 5082 Fpad0 uint8_t 5083 Fsequence uint16_t 5084 Flength uint32_t 5085 Fatoms_len uint16_t 5086 Fpad1 [22]uint8_t 5087 } /* xproto.h:2028:9 */ 5088 5089 // * 5090 // @brief xcb_list_properties_reply_t 5091 // 5092 type xcb_list_properties_reply_t = xcb_list_properties_reply_t1 /* xproto.h:2035:3 */ 5093 5094 //* Opcode for xcb_set_selection_owner. 5095 5096 // * 5097 // @brief xcb_set_selection_owner_request_t 5098 // 5099 type xcb_set_selection_owner_request_t1 = struct { 5100 Fmajor_opcode uint8_t 5101 Fpad0 uint8_t 5102 Flength uint16_t 5103 Fowner xcb_window_t 5104 Fselection xcb_atom_t 5105 Ftime xcb_timestamp_t 5106 } /* xproto.h:2043:9 */ 5107 5108 //* Opcode for xcb_set_selection_owner. 5109 5110 // * 5111 // @brief xcb_set_selection_owner_request_t 5112 // 5113 type xcb_set_selection_owner_request_t = xcb_set_selection_owner_request_t1 /* xproto.h:2050:3 */ 5114 5115 // * 5116 // @brief xcb_get_selection_owner_cookie_t 5117 // 5118 type xcb_get_selection_owner_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2055:9 */ 5119 5120 // * 5121 // @brief xcb_get_selection_owner_cookie_t 5122 // 5123 type xcb_get_selection_owner_cookie_t = xcb_get_selection_owner_cookie_t1 /* xproto.h:2057:3 */ 5124 5125 //* Opcode for xcb_get_selection_owner. 5126 5127 // * 5128 // @brief xcb_get_selection_owner_request_t 5129 // 5130 type xcb_get_selection_owner_request_t1 = struct { 5131 Fmajor_opcode uint8_t 5132 Fpad0 uint8_t 5133 Flength uint16_t 5134 Fselection xcb_atom_t 5135 } /* xproto.h:2065:9 */ 5136 5137 //* Opcode for xcb_get_selection_owner. 5138 5139 // * 5140 // @brief xcb_get_selection_owner_request_t 5141 // 5142 type xcb_get_selection_owner_request_t = xcb_get_selection_owner_request_t1 /* xproto.h:2070:3 */ 5143 5144 // * 5145 // @brief xcb_get_selection_owner_reply_t 5146 // 5147 type xcb_get_selection_owner_reply_t1 = struct { 5148 Fresponse_type uint8_t 5149 Fpad0 uint8_t 5150 Fsequence uint16_t 5151 Flength uint32_t 5152 Fowner xcb_window_t 5153 } /* xproto.h:2075:9 */ 5154 5155 // * 5156 // @brief xcb_get_selection_owner_reply_t 5157 // 5158 type xcb_get_selection_owner_reply_t = xcb_get_selection_owner_reply_t1 /* xproto.h:2081:3 */ 5159 5160 //* Opcode for xcb_convert_selection. 5161 5162 // * 5163 // @brief xcb_convert_selection_request_t 5164 // 5165 type xcb_convert_selection_request_t1 = struct { 5166 Fmajor_opcode uint8_t 5167 Fpad0 uint8_t 5168 Flength uint16_t 5169 Frequestor xcb_window_t 5170 Fselection xcb_atom_t 5171 Ftarget xcb_atom_t 5172 Fproperty xcb_atom_t 5173 Ftime xcb_timestamp_t 5174 } /* xproto.h:2089:9 */ 5175 5176 //* Opcode for xcb_convert_selection. 5177 5178 // * 5179 // @brief xcb_convert_selection_request_t 5180 // 5181 type xcb_convert_selection_request_t = xcb_convert_selection_request_t1 /* xproto.h:2098:3 */ 5182 5183 type xcb_send_event_dest_t = uint32 /* xproto.h:2103:3 */ 5184 5185 //* Opcode for xcb_send_event. 5186 5187 // * 5188 // @brief xcb_send_event_request_t 5189 // 5190 type xcb_send_event_request_t1 = struct { 5191 Fmajor_opcode uint8_t 5192 Fpropagate uint8_t 5193 Flength uint16_t 5194 Fdestination xcb_window_t 5195 Fevent_mask uint32_t 5196 Fevent [32]int8 5197 } /* xproto.h:2111:9 */ 5198 5199 //* Opcode for xcb_send_event. 5200 5201 // * 5202 // @brief xcb_send_event_request_t 5203 // 5204 type xcb_send_event_request_t = xcb_send_event_request_t1 /* xproto.h:2118:3 */ 5205 5206 type xcb_grab_mode_t = uint32 /* xproto.h:2129:3 */ 5207 5208 type xcb_grab_status_t = uint32 /* xproto.h:2137:3 */ 5209 5210 type xcb_cursor_enum_t = uint32 /* xproto.h:2141:3 */ 5211 5212 // * 5213 // @brief xcb_grab_pointer_cookie_t 5214 // 5215 type xcb_grab_pointer_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2146:9 */ 5216 5217 // * 5218 // @brief xcb_grab_pointer_cookie_t 5219 // 5220 type xcb_grab_pointer_cookie_t = xcb_grab_pointer_cookie_t1 /* xproto.h:2148:3 */ 5221 5222 //* Opcode for xcb_grab_pointer. 5223 5224 // * 5225 // @brief xcb_grab_pointer_request_t 5226 // 5227 type xcb_grab_pointer_request_t1 = struct { 5228 Fmajor_opcode uint8_t 5229 Fowner_events uint8_t 5230 Flength uint16_t 5231 Fgrab_window xcb_window_t 5232 Fevent_mask uint16_t 5233 Fpointer_mode uint8_t 5234 Fkeyboard_mode uint8_t 5235 Fconfine_to xcb_window_t 5236 Fcursor xcb_cursor_t 5237 Ftime xcb_timestamp_t 5238 } /* xproto.h:2156:9 */ 5239 5240 //* Opcode for xcb_grab_pointer. 5241 5242 // * 5243 // @brief xcb_grab_pointer_request_t 5244 // 5245 type xcb_grab_pointer_request_t = xcb_grab_pointer_request_t1 /* xproto.h:2167:3 */ 5246 5247 // * 5248 // @brief xcb_grab_pointer_reply_t 5249 // 5250 type xcb_grab_pointer_reply_t1 = struct { 5251 Fresponse_type uint8_t 5252 Fstatus uint8_t 5253 Fsequence uint16_t 5254 Flength uint32_t 5255 } /* xproto.h:2172:9 */ 5256 5257 // * 5258 // @brief xcb_grab_pointer_reply_t 5259 // 5260 type xcb_grab_pointer_reply_t = xcb_grab_pointer_reply_t1 /* xproto.h:2177:3 */ 5261 5262 //* Opcode for xcb_ungrab_pointer. 5263 5264 // * 5265 // @brief xcb_ungrab_pointer_request_t 5266 // 5267 type xcb_ungrab_pointer_request_t1 = struct { 5268 Fmajor_opcode uint8_t 5269 Fpad0 uint8_t 5270 Flength uint16_t 5271 Ftime xcb_timestamp_t 5272 } /* xproto.h:2185:9 */ 5273 5274 //* Opcode for xcb_ungrab_pointer. 5275 5276 // * 5277 // @brief xcb_ungrab_pointer_request_t 5278 // 5279 type xcb_ungrab_pointer_request_t = xcb_ungrab_pointer_request_t1 /* xproto.h:2190:3 */ 5280 5281 type xcb_button_index_t = uint32 /* xproto.h:2211:3 */ 5282 5283 //* Opcode for xcb_grab_button. 5284 5285 // * 5286 // @brief xcb_grab_button_request_t 5287 // 5288 type xcb_grab_button_request_t1 = struct { 5289 Fmajor_opcode uint8_t 5290 Fowner_events uint8_t 5291 Flength uint16_t 5292 Fgrab_window xcb_window_t 5293 Fevent_mask uint16_t 5294 Fpointer_mode uint8_t 5295 Fkeyboard_mode uint8_t 5296 Fconfine_to xcb_window_t 5297 Fcursor xcb_cursor_t 5298 Fbutton uint8_t 5299 Fpad0 uint8_t 5300 Fmodifiers uint16_t 5301 } /* xproto.h:2219:9 */ 5302 5303 //* Opcode for xcb_grab_button. 5304 5305 // * 5306 // @brief xcb_grab_button_request_t 5307 // 5308 type xcb_grab_button_request_t = xcb_grab_button_request_t1 /* xproto.h:2232:3 */ 5309 5310 //* Opcode for xcb_ungrab_button. 5311 5312 // * 5313 // @brief xcb_ungrab_button_request_t 5314 // 5315 type xcb_ungrab_button_request_t1 = struct { 5316 Fmajor_opcode uint8_t 5317 Fbutton uint8_t 5318 Flength uint16_t 5319 Fgrab_window xcb_window_t 5320 Fmodifiers uint16_t 5321 Fpad0 [2]uint8_t 5322 } /* xproto.h:2240:9 */ 5323 5324 //* Opcode for xcb_ungrab_button. 5325 5326 // * 5327 // @brief xcb_ungrab_button_request_t 5328 // 5329 type xcb_ungrab_button_request_t = xcb_ungrab_button_request_t1 /* xproto.h:2247:3 */ 5330 5331 //* Opcode for xcb_change_active_pointer_grab. 5332 5333 // * 5334 // @brief xcb_change_active_pointer_grab_request_t 5335 // 5336 type xcb_change_active_pointer_grab_request_t1 = struct { 5337 Fmajor_opcode uint8_t 5338 Fpad0 uint8_t 5339 Flength uint16_t 5340 Fcursor xcb_cursor_t 5341 Ftime xcb_timestamp_t 5342 Fevent_mask uint16_t 5343 Fpad1 [2]uint8_t 5344 } /* xproto.h:2255:9 */ 5345 5346 //* Opcode for xcb_change_active_pointer_grab. 5347 5348 // * 5349 // @brief xcb_change_active_pointer_grab_request_t 5350 // 5351 type xcb_change_active_pointer_grab_request_t = xcb_change_active_pointer_grab_request_t1 /* xproto.h:2263:3 */ 5352 5353 // * 5354 // @brief xcb_grab_keyboard_cookie_t 5355 // 5356 type xcb_grab_keyboard_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2268:9 */ 5357 5358 // * 5359 // @brief xcb_grab_keyboard_cookie_t 5360 // 5361 type xcb_grab_keyboard_cookie_t = xcb_grab_keyboard_cookie_t1 /* xproto.h:2270:3 */ 5362 5363 //* Opcode for xcb_grab_keyboard. 5364 5365 // * 5366 // @brief xcb_grab_keyboard_request_t 5367 // 5368 type xcb_grab_keyboard_request_t1 = struct { 5369 Fmajor_opcode uint8_t 5370 Fowner_events uint8_t 5371 Flength uint16_t 5372 Fgrab_window xcb_window_t 5373 Ftime xcb_timestamp_t 5374 Fpointer_mode uint8_t 5375 Fkeyboard_mode uint8_t 5376 Fpad0 [2]uint8_t 5377 } /* xproto.h:2278:9 */ 5378 5379 //* Opcode for xcb_grab_keyboard. 5380 5381 // * 5382 // @brief xcb_grab_keyboard_request_t 5383 // 5384 type xcb_grab_keyboard_request_t = xcb_grab_keyboard_request_t1 /* xproto.h:2287:3 */ 5385 5386 // * 5387 // @brief xcb_grab_keyboard_reply_t 5388 // 5389 type xcb_grab_keyboard_reply_t1 = struct { 5390 Fresponse_type uint8_t 5391 Fstatus uint8_t 5392 Fsequence uint16_t 5393 Flength uint32_t 5394 } /* xproto.h:2292:9 */ 5395 5396 // * 5397 // @brief xcb_grab_keyboard_reply_t 5398 // 5399 type xcb_grab_keyboard_reply_t = xcb_grab_keyboard_reply_t1 /* xproto.h:2297:3 */ 5400 5401 //* Opcode for xcb_ungrab_keyboard. 5402 5403 // * 5404 // @brief xcb_ungrab_keyboard_request_t 5405 // 5406 type xcb_ungrab_keyboard_request_t1 = struct { 5407 Fmajor_opcode uint8_t 5408 Fpad0 uint8_t 5409 Flength uint16_t 5410 Ftime xcb_timestamp_t 5411 } /* xproto.h:2305:9 */ 5412 5413 //* Opcode for xcb_ungrab_keyboard. 5414 5415 // * 5416 // @brief xcb_ungrab_keyboard_request_t 5417 // 5418 type xcb_ungrab_keyboard_request_t = xcb_ungrab_keyboard_request_t1 /* xproto.h:2310:3 */ 5419 5420 type xcb_grab_t = uint32 /* xproto.h:2314:3 */ 5421 5422 //* Opcode for xcb_grab_key. 5423 5424 // * 5425 // @brief xcb_grab_key_request_t 5426 // 5427 type xcb_grab_key_request_t1 = struct { 5428 Fmajor_opcode uint8_t 5429 Fowner_events uint8_t 5430 Flength uint16_t 5431 Fgrab_window xcb_window_t 5432 Fmodifiers uint16_t 5433 Fkey xcb_keycode_t 5434 Fpointer_mode uint8_t 5435 Fkeyboard_mode uint8_t 5436 Fpad0 [3]uint8_t 5437 } /* xproto.h:2322:9 */ 5438 5439 //* Opcode for xcb_grab_key. 5440 5441 // * 5442 // @brief xcb_grab_key_request_t 5443 // 5444 type xcb_grab_key_request_t = xcb_grab_key_request_t1 /* xproto.h:2332:3 */ 5445 5446 //* Opcode for xcb_ungrab_key. 5447 5448 // * 5449 // @brief xcb_ungrab_key_request_t 5450 // 5451 type xcb_ungrab_key_request_t1 = struct { 5452 Fmajor_opcode uint8_t 5453 Fkey xcb_keycode_t 5454 Flength uint16_t 5455 Fgrab_window xcb_window_t 5456 Fmodifiers uint16_t 5457 Fpad0 [2]uint8_t 5458 } /* xproto.h:2340:9 */ 5459 5460 //* Opcode for xcb_ungrab_key. 5461 5462 // * 5463 // @brief xcb_ungrab_key_request_t 5464 // 5465 type xcb_ungrab_key_request_t = xcb_ungrab_key_request_t1 /* xproto.h:2347:3 */ 5466 5467 type xcb_allow_t = uint32 /* xproto.h:2423:3 */ 5468 5469 //* Opcode for xcb_allow_events. 5470 5471 // * 5472 // @brief xcb_allow_events_request_t 5473 // 5474 type xcb_allow_events_request_t1 = struct { 5475 Fmajor_opcode uint8_t 5476 Fmode uint8_t 5477 Flength uint16_t 5478 Ftime xcb_timestamp_t 5479 } /* xproto.h:2431:9 */ 5480 5481 //* Opcode for xcb_allow_events. 5482 5483 // * 5484 // @brief xcb_allow_events_request_t 5485 // 5486 type xcb_allow_events_request_t = xcb_allow_events_request_t1 /* xproto.h:2436:3 */ 5487 5488 //* Opcode for xcb_grab_server. 5489 5490 // * 5491 // @brief xcb_grab_server_request_t 5492 // 5493 type xcb_grab_server_request_t1 = struct { 5494 Fmajor_opcode uint8_t 5495 Fpad0 uint8_t 5496 Flength uint16_t 5497 } /* xproto.h:2444:9 */ 5498 5499 //* Opcode for xcb_grab_server. 5500 5501 // * 5502 // @brief xcb_grab_server_request_t 5503 // 5504 type xcb_grab_server_request_t = xcb_grab_server_request_t1 /* xproto.h:2448:3 */ 5505 5506 //* Opcode for xcb_ungrab_server. 5507 5508 // * 5509 // @brief xcb_ungrab_server_request_t 5510 // 5511 type xcb_ungrab_server_request_t1 = struct { 5512 Fmajor_opcode uint8_t 5513 Fpad0 uint8_t 5514 Flength uint16_t 5515 } /* xproto.h:2456:9 */ 5516 5517 //* Opcode for xcb_ungrab_server. 5518 5519 // * 5520 // @brief xcb_ungrab_server_request_t 5521 // 5522 type xcb_ungrab_server_request_t = xcb_ungrab_server_request_t1 /* xproto.h:2460:3 */ 5523 5524 // * 5525 // @brief xcb_query_pointer_cookie_t 5526 // 5527 type xcb_query_pointer_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2465:9 */ 5528 5529 // * 5530 // @brief xcb_query_pointer_cookie_t 5531 // 5532 type xcb_query_pointer_cookie_t = xcb_query_pointer_cookie_t1 /* xproto.h:2467:3 */ 5533 5534 //* Opcode for xcb_query_pointer. 5535 5536 // * 5537 // @brief xcb_query_pointer_request_t 5538 // 5539 type xcb_query_pointer_request_t1 = struct { 5540 Fmajor_opcode uint8_t 5541 Fpad0 uint8_t 5542 Flength uint16_t 5543 Fwindow xcb_window_t 5544 } /* xproto.h:2475:9 */ 5545 5546 //* Opcode for xcb_query_pointer. 5547 5548 // * 5549 // @brief xcb_query_pointer_request_t 5550 // 5551 type xcb_query_pointer_request_t = xcb_query_pointer_request_t1 /* xproto.h:2480:3 */ 5552 5553 // * 5554 // @brief xcb_query_pointer_reply_t 5555 // 5556 type xcb_query_pointer_reply_t1 = struct { 5557 Fresponse_type uint8_t 5558 Fsame_screen uint8_t 5559 Fsequence uint16_t 5560 Flength uint32_t 5561 Froot xcb_window_t 5562 Fchild xcb_window_t 5563 Froot_x int16_t 5564 Froot_y int16_t 5565 Fwin_x int16_t 5566 Fwin_y int16_t 5567 Fmask uint16_t 5568 Fpad0 [2]uint8_t 5569 } /* xproto.h:2485:9 */ 5570 5571 // * 5572 // @brief xcb_query_pointer_reply_t 5573 // 5574 type xcb_query_pointer_reply_t = xcb_query_pointer_reply_t1 /* xproto.h:2498:3 */ 5575 5576 // * 5577 // @brief xcb_timecoord_t 5578 // 5579 type xcb_timecoord_t1 = struct { 5580 Ftime xcb_timestamp_t 5581 Fx int16_t 5582 Fy int16_t 5583 } /* xproto.h:2503:9 */ 5584 5585 // * 5586 // @brief xcb_timecoord_t 5587 // 5588 type xcb_timecoord_t = xcb_timecoord_t1 /* xproto.h:2507:3 */ 5589 5590 // * 5591 // @brief xcb_timecoord_iterator_t 5592 // 5593 type xcb_timecoord_iterator_t1 = struct { 5594 Fdata uintptr 5595 Frem int32 5596 Findex int32 5597 } /* xproto.h:2512:9 */ 5598 5599 // * 5600 // @brief xcb_timecoord_iterator_t 5601 // 5602 type xcb_timecoord_iterator_t = xcb_timecoord_iterator_t1 /* xproto.h:2516:3 */ 5603 5604 // * 5605 // @brief xcb_get_motion_events_cookie_t 5606 // 5607 type xcb_get_motion_events_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2521:9 */ 5608 5609 // * 5610 // @brief xcb_get_motion_events_cookie_t 5611 // 5612 type xcb_get_motion_events_cookie_t = xcb_get_motion_events_cookie_t1 /* xproto.h:2523:3 */ 5613 5614 //* Opcode for xcb_get_motion_events. 5615 5616 // * 5617 // @brief xcb_get_motion_events_request_t 5618 // 5619 type xcb_get_motion_events_request_t1 = struct { 5620 Fmajor_opcode uint8_t 5621 Fpad0 uint8_t 5622 Flength uint16_t 5623 Fwindow xcb_window_t 5624 Fstart xcb_timestamp_t 5625 Fstop xcb_timestamp_t 5626 } /* xproto.h:2531:9 */ 5627 5628 //* Opcode for xcb_get_motion_events. 5629 5630 // * 5631 // @brief xcb_get_motion_events_request_t 5632 // 5633 type xcb_get_motion_events_request_t = xcb_get_motion_events_request_t1 /* xproto.h:2538:3 */ 5634 5635 // * 5636 // @brief xcb_get_motion_events_reply_t 5637 // 5638 type xcb_get_motion_events_reply_t1 = struct { 5639 Fresponse_type uint8_t 5640 Fpad0 uint8_t 5641 Fsequence uint16_t 5642 Flength uint32_t 5643 Fevents_len uint32_t 5644 Fpad1 [20]uint8_t 5645 } /* xproto.h:2543:9 */ 5646 5647 // * 5648 // @brief xcb_get_motion_events_reply_t 5649 // 5650 type xcb_get_motion_events_reply_t = xcb_get_motion_events_reply_t1 /* xproto.h:2550:3 */ 5651 5652 // * 5653 // @brief xcb_translate_coordinates_cookie_t 5654 // 5655 type xcb_translate_coordinates_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2555:9 */ 5656 5657 // * 5658 // @brief xcb_translate_coordinates_cookie_t 5659 // 5660 type xcb_translate_coordinates_cookie_t = xcb_translate_coordinates_cookie_t1 /* xproto.h:2557:3 */ 5661 5662 //* Opcode for xcb_translate_coordinates. 5663 5664 // * 5665 // @brief xcb_translate_coordinates_request_t 5666 // 5667 type xcb_translate_coordinates_request_t1 = struct { 5668 Fmajor_opcode uint8_t 5669 Fpad0 uint8_t 5670 Flength uint16_t 5671 Fsrc_window xcb_window_t 5672 Fdst_window xcb_window_t 5673 Fsrc_x int16_t 5674 Fsrc_y int16_t 5675 } /* xproto.h:2565:9 */ 5676 5677 //* Opcode for xcb_translate_coordinates. 5678 5679 // * 5680 // @brief xcb_translate_coordinates_request_t 5681 // 5682 type xcb_translate_coordinates_request_t = xcb_translate_coordinates_request_t1 /* xproto.h:2573:3 */ 5683 5684 // * 5685 // @brief xcb_translate_coordinates_reply_t 5686 // 5687 type xcb_translate_coordinates_reply_t1 = struct { 5688 Fresponse_type uint8_t 5689 Fsame_screen uint8_t 5690 Fsequence uint16_t 5691 Flength uint32_t 5692 Fchild xcb_window_t 5693 Fdst_x int16_t 5694 Fdst_y int16_t 5695 } /* xproto.h:2578:9 */ 5696 5697 // * 5698 // @brief xcb_translate_coordinates_reply_t 5699 // 5700 type xcb_translate_coordinates_reply_t = xcb_translate_coordinates_reply_t1 /* xproto.h:2586:3 */ 5701 5702 //* Opcode for xcb_warp_pointer. 5703 5704 // * 5705 // @brief xcb_warp_pointer_request_t 5706 // 5707 type xcb_warp_pointer_request_t1 = struct { 5708 Fmajor_opcode uint8_t 5709 Fpad0 uint8_t 5710 Flength uint16_t 5711 Fsrc_window xcb_window_t 5712 Fdst_window xcb_window_t 5713 Fsrc_x int16_t 5714 Fsrc_y int16_t 5715 Fsrc_width uint16_t 5716 Fsrc_height uint16_t 5717 Fdst_x int16_t 5718 Fdst_y int16_t 5719 } /* xproto.h:2594:9 */ 5720 5721 //* Opcode for xcb_warp_pointer. 5722 5723 // * 5724 // @brief xcb_warp_pointer_request_t 5725 // 5726 type xcb_warp_pointer_request_t = xcb_warp_pointer_request_t1 /* xproto.h:2606:3 */ 5727 5728 type xcb_input_focus_t = uint32 /* xproto.h:2624:3 */ 5729 5730 //* Opcode for xcb_set_input_focus. 5731 5732 // * 5733 // @brief xcb_set_input_focus_request_t 5734 // 5735 type xcb_set_input_focus_request_t1 = struct { 5736 Fmajor_opcode uint8_t 5737 Frevert_to uint8_t 5738 Flength uint16_t 5739 Ffocus xcb_window_t 5740 Ftime xcb_timestamp_t 5741 } /* xproto.h:2632:9 */ 5742 5743 //* Opcode for xcb_set_input_focus. 5744 5745 // * 5746 // @brief xcb_set_input_focus_request_t 5747 // 5748 type xcb_set_input_focus_request_t = xcb_set_input_focus_request_t1 /* xproto.h:2638:3 */ 5749 5750 // * 5751 // @brief xcb_get_input_focus_cookie_t 5752 // 5753 type xcb_get_input_focus_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2643:9 */ 5754 5755 // * 5756 // @brief xcb_get_input_focus_cookie_t 5757 // 5758 type xcb_get_input_focus_cookie_t = xcb_get_input_focus_cookie_t1 /* xproto.h:2645:3 */ 5759 5760 //* Opcode for xcb_get_input_focus. 5761 5762 // * 5763 // @brief xcb_get_input_focus_request_t 5764 // 5765 type xcb_get_input_focus_request_t1 = struct { 5766 Fmajor_opcode uint8_t 5767 Fpad0 uint8_t 5768 Flength uint16_t 5769 } /* xproto.h:2653:9 */ 5770 5771 //* Opcode for xcb_get_input_focus. 5772 5773 // * 5774 // @brief xcb_get_input_focus_request_t 5775 // 5776 type xcb_get_input_focus_request_t = xcb_get_input_focus_request_t1 /* xproto.h:2657:3 */ 5777 5778 // * 5779 // @brief xcb_get_input_focus_reply_t 5780 // 5781 type xcb_get_input_focus_reply_t1 = struct { 5782 Fresponse_type uint8_t 5783 Frevert_to uint8_t 5784 Fsequence uint16_t 5785 Flength uint32_t 5786 Ffocus xcb_window_t 5787 } /* xproto.h:2662:9 */ 5788 5789 // * 5790 // @brief xcb_get_input_focus_reply_t 5791 // 5792 type xcb_get_input_focus_reply_t = xcb_get_input_focus_reply_t1 /* xproto.h:2668:3 */ 5793 5794 // * 5795 // @brief xcb_query_keymap_cookie_t 5796 // 5797 type xcb_query_keymap_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2673:9 */ 5798 5799 // * 5800 // @brief xcb_query_keymap_cookie_t 5801 // 5802 type xcb_query_keymap_cookie_t = xcb_query_keymap_cookie_t1 /* xproto.h:2675:3 */ 5803 5804 //* Opcode for xcb_query_keymap. 5805 5806 // * 5807 // @brief xcb_query_keymap_request_t 5808 // 5809 type xcb_query_keymap_request_t1 = struct { 5810 Fmajor_opcode uint8_t 5811 Fpad0 uint8_t 5812 Flength uint16_t 5813 } /* xproto.h:2683:9 */ 5814 5815 //* Opcode for xcb_query_keymap. 5816 5817 // * 5818 // @brief xcb_query_keymap_request_t 5819 // 5820 type xcb_query_keymap_request_t = xcb_query_keymap_request_t1 /* xproto.h:2687:3 */ 5821 5822 // * 5823 // @brief xcb_query_keymap_reply_t 5824 // 5825 type xcb_query_keymap_reply_t1 = struct { 5826 Fresponse_type uint8_t 5827 Fpad0 uint8_t 5828 Fsequence uint16_t 5829 Flength uint32_t 5830 Fkeys [32]uint8_t 5831 } /* xproto.h:2692:9 */ 5832 5833 // * 5834 // @brief xcb_query_keymap_reply_t 5835 // 5836 type xcb_query_keymap_reply_t = xcb_query_keymap_reply_t1 /* xproto.h:2698:3 */ 5837 5838 //* Opcode for xcb_open_font. 5839 5840 // * 5841 // @brief xcb_open_font_request_t 5842 // 5843 type xcb_open_font_request_t1 = struct { 5844 Fmajor_opcode uint8_t 5845 Fpad0 uint8_t 5846 Flength uint16_t 5847 Ffid xcb_font_t 5848 Fname_len uint16_t 5849 Fpad1 [2]uint8_t 5850 } /* xproto.h:2706:9 */ 5851 5852 //* Opcode for xcb_open_font. 5853 5854 // * 5855 // @brief xcb_open_font_request_t 5856 // 5857 type xcb_open_font_request_t = xcb_open_font_request_t1 /* xproto.h:2713:3 */ 5858 5859 //* Opcode for xcb_close_font. 5860 5861 // * 5862 // @brief xcb_close_font_request_t 5863 // 5864 type xcb_close_font_request_t1 = struct { 5865 Fmajor_opcode uint8_t 5866 Fpad0 uint8_t 5867 Flength uint16_t 5868 Ffont xcb_font_t 5869 } /* xproto.h:2721:9 */ 5870 5871 //* Opcode for xcb_close_font. 5872 5873 // * 5874 // @brief xcb_close_font_request_t 5875 // 5876 type xcb_close_font_request_t = xcb_close_font_request_t1 /* xproto.h:2726:3 */ 5877 5878 type xcb_font_draw_t = uint32 /* xproto.h:2731:3 */ 5879 5880 // * 5881 // @brief xcb_fontprop_t 5882 // 5883 type xcb_fontprop_t1 = struct { 5884 Fname xcb_atom_t 5885 Fvalue uint32_t 5886 } /* xproto.h:2736:9 */ 5887 5888 // * 5889 // @brief xcb_fontprop_t 5890 // 5891 type xcb_fontprop_t = xcb_fontprop_t1 /* xproto.h:2739:3 */ 5892 5893 // * 5894 // @brief xcb_fontprop_iterator_t 5895 // 5896 type xcb_fontprop_iterator_t1 = struct { 5897 Fdata uintptr 5898 Frem int32 5899 Findex int32 5900 } /* xproto.h:2744:9 */ 5901 5902 // * 5903 // @brief xcb_fontprop_iterator_t 5904 // 5905 type xcb_fontprop_iterator_t = xcb_fontprop_iterator_t1 /* xproto.h:2748:3 */ 5906 5907 // * 5908 // @brief xcb_charinfo_t 5909 // 5910 type xcb_charinfo_t1 = struct { 5911 Fleft_side_bearing int16_t 5912 Fright_side_bearing int16_t 5913 Fcharacter_width int16_t 5914 Fascent int16_t 5915 Fdescent int16_t 5916 Fattributes uint16_t 5917 } /* xproto.h:2753:9 */ 5918 5919 // * 5920 // @brief xcb_charinfo_t 5921 // 5922 type xcb_charinfo_t = xcb_charinfo_t1 /* xproto.h:2760:3 */ 5923 5924 // * 5925 // @brief xcb_charinfo_iterator_t 5926 // 5927 type xcb_charinfo_iterator_t1 = struct { 5928 Fdata uintptr 5929 Frem int32 5930 Findex int32 5931 } /* xproto.h:2765:9 */ 5932 5933 // * 5934 // @brief xcb_charinfo_iterator_t 5935 // 5936 type xcb_charinfo_iterator_t = xcb_charinfo_iterator_t1 /* xproto.h:2769:3 */ 5937 5938 // * 5939 // @brief xcb_query_font_cookie_t 5940 // 5941 type xcb_query_font_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2774:9 */ 5942 5943 // * 5944 // @brief xcb_query_font_cookie_t 5945 // 5946 type xcb_query_font_cookie_t = xcb_query_font_cookie_t1 /* xproto.h:2776:3 */ 5947 5948 //* Opcode for xcb_query_font. 5949 5950 // * 5951 // @brief xcb_query_font_request_t 5952 // 5953 type xcb_query_font_request_t1 = struct { 5954 Fmajor_opcode uint8_t 5955 Fpad0 uint8_t 5956 Flength uint16_t 5957 Ffont xcb_fontable_t 5958 } /* xproto.h:2784:9 */ 5959 5960 //* Opcode for xcb_query_font. 5961 5962 // * 5963 // @brief xcb_query_font_request_t 5964 // 5965 type xcb_query_font_request_t = xcb_query_font_request_t1 /* xproto.h:2789:3 */ 5966 5967 // * 5968 // @brief xcb_query_font_reply_t 5969 // 5970 type xcb_query_font_reply_t1 = struct { 5971 Fresponse_type uint8_t 5972 Fpad0 uint8_t 5973 Fsequence uint16_t 5974 Flength uint32_t 5975 Fmin_bounds xcb_charinfo_t 5976 Fpad1 [4]uint8_t 5977 Fmax_bounds xcb_charinfo_t 5978 Fpad2 [4]uint8_t 5979 Fmin_char_or_byte2 uint16_t 5980 Fmax_char_or_byte2 uint16_t 5981 Fdefault_char uint16_t 5982 Fproperties_len uint16_t 5983 Fdraw_direction uint8_t 5984 Fmin_byte1 uint8_t 5985 Fmax_byte1 uint8_t 5986 Fall_chars_exist uint8_t 5987 Ffont_ascent int16_t 5988 Ffont_descent int16_t 5989 Fchar_infos_len uint32_t 5990 } /* xproto.h:2794:9 */ 5991 5992 // * 5993 // @brief xcb_query_font_reply_t 5994 // 5995 type xcb_query_font_reply_t = xcb_query_font_reply_t1 /* xproto.h:2814:3 */ 5996 5997 // * 5998 // @brief xcb_query_text_extents_cookie_t 5999 // 6000 type xcb_query_text_extents_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2819:9 */ 6001 6002 // * 6003 // @brief xcb_query_text_extents_cookie_t 6004 // 6005 type xcb_query_text_extents_cookie_t = xcb_query_text_extents_cookie_t1 /* xproto.h:2821:3 */ 6006 6007 //* Opcode for xcb_query_text_extents. 6008 6009 // * 6010 // @brief xcb_query_text_extents_request_t 6011 // 6012 type xcb_query_text_extents_request_t1 = struct { 6013 Fmajor_opcode uint8_t 6014 Fodd_length uint8_t 6015 Flength uint16_t 6016 Ffont xcb_fontable_t 6017 } /* xproto.h:2829:9 */ 6018 6019 //* Opcode for xcb_query_text_extents. 6020 6021 // * 6022 // @brief xcb_query_text_extents_request_t 6023 // 6024 type xcb_query_text_extents_request_t = xcb_query_text_extents_request_t1 /* xproto.h:2834:3 */ 6025 6026 // * 6027 // @brief xcb_query_text_extents_reply_t 6028 // 6029 type xcb_query_text_extents_reply_t1 = struct { 6030 Fresponse_type uint8_t 6031 Fdraw_direction uint8_t 6032 Fsequence uint16_t 6033 Flength uint32_t 6034 Ffont_ascent int16_t 6035 Ffont_descent int16_t 6036 Foverall_ascent int16_t 6037 Foverall_descent int16_t 6038 Foverall_width int32_t 6039 Foverall_left int32_t 6040 Foverall_right int32_t 6041 } /* xproto.h:2839:9 */ 6042 6043 // * 6044 // @brief xcb_query_text_extents_reply_t 6045 // 6046 type xcb_query_text_extents_reply_t = xcb_query_text_extents_reply_t1 /* xproto.h:2851:3 */ 6047 6048 // * 6049 // @brief xcb_str_t 6050 // 6051 type xcb_str_t1 = struct{ Fname_len uint8_t } /* xproto.h:2856:9 */ 6052 6053 // * 6054 // @brief xcb_str_t 6055 // 6056 type xcb_str_t = xcb_str_t1 /* xproto.h:2858:3 */ 6057 6058 // * 6059 // @brief xcb_str_iterator_t 6060 // 6061 type xcb_str_iterator_t1 = struct { 6062 Fdata uintptr 6063 Frem int32 6064 Findex int32 6065 } /* xproto.h:2863:9 */ 6066 6067 // * 6068 // @brief xcb_str_iterator_t 6069 // 6070 type xcb_str_iterator_t = xcb_str_iterator_t1 /* xproto.h:2867:3 */ 6071 6072 // * 6073 // @brief xcb_list_fonts_cookie_t 6074 // 6075 type xcb_list_fonts_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2872:9 */ 6076 6077 // * 6078 // @brief xcb_list_fonts_cookie_t 6079 // 6080 type xcb_list_fonts_cookie_t = xcb_list_fonts_cookie_t1 /* xproto.h:2874:3 */ 6081 6082 //* Opcode for xcb_list_fonts. 6083 6084 // * 6085 // @brief xcb_list_fonts_request_t 6086 // 6087 type xcb_list_fonts_request_t1 = struct { 6088 Fmajor_opcode uint8_t 6089 Fpad0 uint8_t 6090 Flength uint16_t 6091 Fmax_names uint16_t 6092 Fpattern_len uint16_t 6093 } /* xproto.h:2882:9 */ 6094 6095 //* Opcode for xcb_list_fonts. 6096 6097 // * 6098 // @brief xcb_list_fonts_request_t 6099 // 6100 type xcb_list_fonts_request_t = xcb_list_fonts_request_t1 /* xproto.h:2888:3 */ 6101 6102 // * 6103 // @brief xcb_list_fonts_reply_t 6104 // 6105 type xcb_list_fonts_reply_t1 = struct { 6106 Fresponse_type uint8_t 6107 Fpad0 uint8_t 6108 Fsequence uint16_t 6109 Flength uint32_t 6110 Fnames_len uint16_t 6111 Fpad1 [22]uint8_t 6112 } /* xproto.h:2893:9 */ 6113 6114 // * 6115 // @brief xcb_list_fonts_reply_t 6116 // 6117 type xcb_list_fonts_reply_t = xcb_list_fonts_reply_t1 /* xproto.h:2900:3 */ 6118 6119 // * 6120 // @brief xcb_list_fonts_with_info_cookie_t 6121 // 6122 type xcb_list_fonts_with_info_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2905:9 */ 6123 6124 // * 6125 // @brief xcb_list_fonts_with_info_cookie_t 6126 // 6127 type xcb_list_fonts_with_info_cookie_t = xcb_list_fonts_with_info_cookie_t1 /* xproto.h:2907:3 */ 6128 6129 //* Opcode for xcb_list_fonts_with_info. 6130 6131 // * 6132 // @brief xcb_list_fonts_with_info_request_t 6133 // 6134 type xcb_list_fonts_with_info_request_t1 = struct { 6135 Fmajor_opcode uint8_t 6136 Fpad0 uint8_t 6137 Flength uint16_t 6138 Fmax_names uint16_t 6139 Fpattern_len uint16_t 6140 } /* xproto.h:2915:9 */ 6141 6142 //* Opcode for xcb_list_fonts_with_info. 6143 6144 // * 6145 // @brief xcb_list_fonts_with_info_request_t 6146 // 6147 type xcb_list_fonts_with_info_request_t = xcb_list_fonts_with_info_request_t1 /* xproto.h:2921:3 */ 6148 6149 // * 6150 // @brief xcb_list_fonts_with_info_reply_t 6151 // 6152 type xcb_list_fonts_with_info_reply_t1 = struct { 6153 Fresponse_type uint8_t 6154 Fname_len uint8_t 6155 Fsequence uint16_t 6156 Flength uint32_t 6157 Fmin_bounds xcb_charinfo_t 6158 Fpad0 [4]uint8_t 6159 Fmax_bounds xcb_charinfo_t 6160 Fpad1 [4]uint8_t 6161 Fmin_char_or_byte2 uint16_t 6162 Fmax_char_or_byte2 uint16_t 6163 Fdefault_char uint16_t 6164 Fproperties_len uint16_t 6165 Fdraw_direction uint8_t 6166 Fmin_byte1 uint8_t 6167 Fmax_byte1 uint8_t 6168 Fall_chars_exist uint8_t 6169 Ffont_ascent int16_t 6170 Ffont_descent int16_t 6171 Freplies_hint uint32_t 6172 } /* xproto.h:2926:9 */ 6173 6174 // * 6175 // @brief xcb_list_fonts_with_info_reply_t 6176 // 6177 type xcb_list_fonts_with_info_reply_t = xcb_list_fonts_with_info_reply_t1 /* xproto.h:2946:3 */ 6178 6179 //* Opcode for xcb_set_font_path. 6180 6181 // * 6182 // @brief xcb_set_font_path_request_t 6183 // 6184 type xcb_set_font_path_request_t1 = struct { 6185 Fmajor_opcode uint8_t 6186 Fpad0 uint8_t 6187 Flength uint16_t 6188 Ffont_qty uint16_t 6189 Fpad1 [2]uint8_t 6190 } /* xproto.h:2954:9 */ 6191 6192 //* Opcode for xcb_set_font_path. 6193 6194 // * 6195 // @brief xcb_set_font_path_request_t 6196 // 6197 type xcb_set_font_path_request_t = xcb_set_font_path_request_t1 /* xproto.h:2960:3 */ 6198 6199 // * 6200 // @brief xcb_get_font_path_cookie_t 6201 // 6202 type xcb_get_font_path_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2965:9 */ 6203 6204 // * 6205 // @brief xcb_get_font_path_cookie_t 6206 // 6207 type xcb_get_font_path_cookie_t = xcb_get_font_path_cookie_t1 /* xproto.h:2967:3 */ 6208 6209 //* Opcode for xcb_get_font_path. 6210 6211 // * 6212 // @brief xcb_get_font_path_request_t 6213 // 6214 type xcb_get_font_path_request_t1 = struct { 6215 Fmajor_opcode uint8_t 6216 Fpad0 uint8_t 6217 Flength uint16_t 6218 } /* xproto.h:2975:9 */ 6219 6220 //* Opcode for xcb_get_font_path. 6221 6222 // * 6223 // @brief xcb_get_font_path_request_t 6224 // 6225 type xcb_get_font_path_request_t = xcb_get_font_path_request_t1 /* xproto.h:2979:3 */ 6226 6227 // * 6228 // @brief xcb_get_font_path_reply_t 6229 // 6230 type xcb_get_font_path_reply_t1 = struct { 6231 Fresponse_type uint8_t 6232 Fpad0 uint8_t 6233 Fsequence uint16_t 6234 Flength uint32_t 6235 Fpath_len uint16_t 6236 Fpad1 [22]uint8_t 6237 } /* xproto.h:2984:9 */ 6238 6239 // * 6240 // @brief xcb_get_font_path_reply_t 6241 // 6242 type xcb_get_font_path_reply_t = xcb_get_font_path_reply_t1 /* xproto.h:2991:3 */ 6243 6244 //* Opcode for xcb_create_pixmap. 6245 6246 // * 6247 // @brief xcb_create_pixmap_request_t 6248 // 6249 type xcb_create_pixmap_request_t1 = struct { 6250 Fmajor_opcode uint8_t 6251 Fdepth uint8_t 6252 Flength uint16_t 6253 Fpid xcb_pixmap_t 6254 Fdrawable xcb_drawable_t 6255 Fwidth uint16_t 6256 Fheight uint16_t 6257 } /* xproto.h:2999:9 */ 6258 6259 //* Opcode for xcb_create_pixmap. 6260 6261 // * 6262 // @brief xcb_create_pixmap_request_t 6263 // 6264 type xcb_create_pixmap_request_t = xcb_create_pixmap_request_t1 /* xproto.h:3007:3 */ 6265 6266 //* Opcode for xcb_free_pixmap. 6267 6268 // * 6269 // @brief xcb_free_pixmap_request_t 6270 // 6271 type xcb_free_pixmap_request_t1 = struct { 6272 Fmajor_opcode uint8_t 6273 Fpad0 uint8_t 6274 Flength uint16_t 6275 Fpixmap xcb_pixmap_t 6276 } /* xproto.h:3015:9 */ 6277 6278 //* Opcode for xcb_free_pixmap. 6279 6280 // * 6281 // @brief xcb_free_pixmap_request_t 6282 // 6283 type xcb_free_pixmap_request_t = xcb_free_pixmap_request_t1 /* xproto.h:3020:3 */ 6284 6285 type xcb_gc_t = uint32 /* xproto.h:3169:3 */ 6286 6287 type xcb_gx_t = uint32 /* xproto.h:3188:3 */ 6288 6289 type xcb_line_style_t = uint32 /* xproto.h:3194:3 */ 6290 6291 type xcb_cap_style_t = uint32 /* xproto.h:3201:3 */ 6292 6293 type xcb_join_style_t = uint32 /* xproto.h:3207:3 */ 6294 6295 type xcb_fill_style_t = uint32 /* xproto.h:3214:3 */ 6296 6297 type xcb_fill_rule_t = uint32 /* xproto.h:3219:3 */ 6298 6299 type xcb_subwindow_mode_t = uint32 /* xproto.h:3224:3 */ 6300 6301 type xcb_arc_mode_t = uint32 /* xproto.h:3229:3 */ 6302 6303 // * 6304 // @brief xcb_create_gc_value_list_t 6305 // 6306 type xcb_create_gc_value_list_t1 = struct { 6307 Ffunction uint32_t 6308 Fplane_mask uint32_t 6309 Fforeground uint32_t 6310 Fbackground uint32_t 6311 Fline_width uint32_t 6312 Fline_style uint32_t 6313 Fcap_style uint32_t 6314 Fjoin_style uint32_t 6315 Ffill_style uint32_t 6316 Ffill_rule uint32_t 6317 Ftile xcb_pixmap_t 6318 Fstipple xcb_pixmap_t 6319 Ftile_stipple_x_origin int32_t 6320 Ftile_stipple_y_origin int32_t 6321 Ffont xcb_font_t 6322 Fsubwindow_mode uint32_t 6323 Fgraphics_exposures xcb_bool32_t 6324 Fclip_x_origin int32_t 6325 Fclip_y_origin int32_t 6326 Fclip_mask xcb_pixmap_t 6327 Fdash_offset uint32_t 6328 Fdashes uint32_t 6329 Farc_mode uint32_t 6330 } /* xproto.h:3234:9 */ 6331 6332 // * 6333 // @brief xcb_create_gc_value_list_t 6334 // 6335 type xcb_create_gc_value_list_t = xcb_create_gc_value_list_t1 /* xproto.h:3258:3 */ 6336 6337 //* Opcode for xcb_create_gc. 6338 6339 // * 6340 // @brief xcb_create_gc_request_t 6341 // 6342 type xcb_create_gc_request_t1 = struct { 6343 Fmajor_opcode uint8_t 6344 Fpad0 uint8_t 6345 Flength uint16_t 6346 Fcid xcb_gcontext_t 6347 Fdrawable xcb_drawable_t 6348 Fvalue_mask uint32_t 6349 } /* xproto.h:3266:9 */ 6350 6351 //* Opcode for xcb_create_gc. 6352 6353 // * 6354 // @brief xcb_create_gc_request_t 6355 // 6356 type xcb_create_gc_request_t = xcb_create_gc_request_t1 /* xproto.h:3273:3 */ 6357 6358 // * 6359 // @brief xcb_change_gc_value_list_t 6360 // 6361 type xcb_change_gc_value_list_t1 = struct { 6362 Ffunction uint32_t 6363 Fplane_mask uint32_t 6364 Fforeground uint32_t 6365 Fbackground uint32_t 6366 Fline_width uint32_t 6367 Fline_style uint32_t 6368 Fcap_style uint32_t 6369 Fjoin_style uint32_t 6370 Ffill_style uint32_t 6371 Ffill_rule uint32_t 6372 Ftile xcb_pixmap_t 6373 Fstipple xcb_pixmap_t 6374 Ftile_stipple_x_origin int32_t 6375 Ftile_stipple_y_origin int32_t 6376 Ffont xcb_font_t 6377 Fsubwindow_mode uint32_t 6378 Fgraphics_exposures xcb_bool32_t 6379 Fclip_x_origin int32_t 6380 Fclip_y_origin int32_t 6381 Fclip_mask xcb_pixmap_t 6382 Fdash_offset uint32_t 6383 Fdashes uint32_t 6384 Farc_mode uint32_t 6385 } /* xproto.h:3278:9 */ 6386 6387 // * 6388 // @brief xcb_change_gc_value_list_t 6389 // 6390 type xcb_change_gc_value_list_t = xcb_change_gc_value_list_t1 /* xproto.h:3302:3 */ 6391 6392 //* Opcode for xcb_change_gc. 6393 6394 // * 6395 // @brief xcb_change_gc_request_t 6396 // 6397 type xcb_change_gc_request_t1 = struct { 6398 Fmajor_opcode uint8_t 6399 Fpad0 uint8_t 6400 Flength uint16_t 6401 Fgc xcb_gcontext_t 6402 Fvalue_mask uint32_t 6403 } /* xproto.h:3310:9 */ 6404 6405 //* Opcode for xcb_change_gc. 6406 6407 // * 6408 // @brief xcb_change_gc_request_t 6409 // 6410 type xcb_change_gc_request_t = xcb_change_gc_request_t1 /* xproto.h:3316:3 */ 6411 6412 //* Opcode for xcb_copy_gc. 6413 6414 // * 6415 // @brief xcb_copy_gc_request_t 6416 // 6417 type xcb_copy_gc_request_t1 = struct { 6418 Fmajor_opcode uint8_t 6419 Fpad0 uint8_t 6420 Flength uint16_t 6421 Fsrc_gc xcb_gcontext_t 6422 Fdst_gc xcb_gcontext_t 6423 Fvalue_mask uint32_t 6424 } /* xproto.h:3324:9 */ 6425 6426 //* Opcode for xcb_copy_gc. 6427 6428 // * 6429 // @brief xcb_copy_gc_request_t 6430 // 6431 type xcb_copy_gc_request_t = xcb_copy_gc_request_t1 /* xproto.h:3331:3 */ 6432 6433 //* Opcode for xcb_set_dashes. 6434 6435 // * 6436 // @brief xcb_set_dashes_request_t 6437 // 6438 type xcb_set_dashes_request_t1 = struct { 6439 Fmajor_opcode uint8_t 6440 Fpad0 uint8_t 6441 Flength uint16_t 6442 Fgc xcb_gcontext_t 6443 Fdash_offset uint16_t 6444 Fdashes_len uint16_t 6445 } /* xproto.h:3339:9 */ 6446 6447 //* Opcode for xcb_set_dashes. 6448 6449 // * 6450 // @brief xcb_set_dashes_request_t 6451 // 6452 type xcb_set_dashes_request_t = xcb_set_dashes_request_t1 /* xproto.h:3346:3 */ 6453 6454 type xcb_clip_ordering_t = uint32 /* xproto.h:3353:3 */ 6455 6456 //* Opcode for xcb_set_clip_rectangles. 6457 6458 // * 6459 // @brief xcb_set_clip_rectangles_request_t 6460 // 6461 type xcb_set_clip_rectangles_request_t1 = struct { 6462 Fmajor_opcode uint8_t 6463 Fordering uint8_t 6464 Flength uint16_t 6465 Fgc xcb_gcontext_t 6466 Fclip_x_origin int16_t 6467 Fclip_y_origin int16_t 6468 } /* xproto.h:3361:9 */ 6469 6470 //* Opcode for xcb_set_clip_rectangles. 6471 6472 // * 6473 // @brief xcb_set_clip_rectangles_request_t 6474 // 6475 type xcb_set_clip_rectangles_request_t = xcb_set_clip_rectangles_request_t1 /* xproto.h:3368:3 */ 6476 6477 //* Opcode for xcb_free_gc. 6478 6479 // * 6480 // @brief xcb_free_gc_request_t 6481 // 6482 type xcb_free_gc_request_t1 = struct { 6483 Fmajor_opcode uint8_t 6484 Fpad0 uint8_t 6485 Flength uint16_t 6486 Fgc xcb_gcontext_t 6487 } /* xproto.h:3376:9 */ 6488 6489 //* Opcode for xcb_free_gc. 6490 6491 // * 6492 // @brief xcb_free_gc_request_t 6493 // 6494 type xcb_free_gc_request_t = xcb_free_gc_request_t1 /* xproto.h:3381:3 */ 6495 6496 //* Opcode for xcb_clear_area. 6497 6498 // * 6499 // @brief xcb_clear_area_request_t 6500 // 6501 type xcb_clear_area_request_t1 = struct { 6502 Fmajor_opcode uint8_t 6503 Fexposures uint8_t 6504 Flength uint16_t 6505 Fwindow xcb_window_t 6506 Fx int16_t 6507 Fy int16_t 6508 Fwidth uint16_t 6509 Fheight uint16_t 6510 } /* xproto.h:3389:9 */ 6511 6512 //* Opcode for xcb_clear_area. 6513 6514 // * 6515 // @brief xcb_clear_area_request_t 6516 // 6517 type xcb_clear_area_request_t = xcb_clear_area_request_t1 /* xproto.h:3398:3 */ 6518 6519 //* Opcode for xcb_copy_area. 6520 6521 // * 6522 // @brief xcb_copy_area_request_t 6523 // 6524 type xcb_copy_area_request_t1 = struct { 6525 Fmajor_opcode uint8_t 6526 Fpad0 uint8_t 6527 Flength uint16_t 6528 Fsrc_drawable xcb_drawable_t 6529 Fdst_drawable xcb_drawable_t 6530 Fgc xcb_gcontext_t 6531 Fsrc_x int16_t 6532 Fsrc_y int16_t 6533 Fdst_x int16_t 6534 Fdst_y int16_t 6535 Fwidth uint16_t 6536 Fheight uint16_t 6537 } /* xproto.h:3406:9 */ 6538 6539 //* Opcode for xcb_copy_area. 6540 6541 // * 6542 // @brief xcb_copy_area_request_t 6543 // 6544 type xcb_copy_area_request_t = xcb_copy_area_request_t1 /* xproto.h:3419:3 */ 6545 6546 //* Opcode for xcb_copy_plane. 6547 6548 // * 6549 // @brief xcb_copy_plane_request_t 6550 // 6551 type xcb_copy_plane_request_t1 = struct { 6552 Fmajor_opcode uint8_t 6553 Fpad0 uint8_t 6554 Flength uint16_t 6555 Fsrc_drawable xcb_drawable_t 6556 Fdst_drawable xcb_drawable_t 6557 Fgc xcb_gcontext_t 6558 Fsrc_x int16_t 6559 Fsrc_y int16_t 6560 Fdst_x int16_t 6561 Fdst_y int16_t 6562 Fwidth uint16_t 6563 Fheight uint16_t 6564 Fbit_plane uint32_t 6565 } /* xproto.h:3427:9 */ 6566 6567 //* Opcode for xcb_copy_plane. 6568 6569 // * 6570 // @brief xcb_copy_plane_request_t 6571 // 6572 type xcb_copy_plane_request_t = xcb_copy_plane_request_t1 /* xproto.h:3441:3 */ 6573 6574 type xcb_coord_mode_t = uint32 /* xproto.h:3450:3 */ 6575 6576 //* Opcode for xcb_poly_point. 6577 6578 // * 6579 // @brief xcb_poly_point_request_t 6580 // 6581 type xcb_poly_point_request_t1 = struct { 6582 Fmajor_opcode uint8_t 6583 Fcoordinate_mode uint8_t 6584 Flength uint16_t 6585 Fdrawable xcb_drawable_t 6586 Fgc xcb_gcontext_t 6587 } /* xproto.h:3458:9 */ 6588 6589 //* Opcode for xcb_poly_point. 6590 6591 // * 6592 // @brief xcb_poly_point_request_t 6593 // 6594 type xcb_poly_point_request_t = xcb_poly_point_request_t1 /* xproto.h:3464:3 */ 6595 6596 //* Opcode for xcb_poly_line. 6597 6598 // * 6599 // @brief xcb_poly_line_request_t 6600 // 6601 type xcb_poly_line_request_t1 = struct { 6602 Fmajor_opcode uint8_t 6603 Fcoordinate_mode uint8_t 6604 Flength uint16_t 6605 Fdrawable xcb_drawable_t 6606 Fgc xcb_gcontext_t 6607 } /* xproto.h:3472:9 */ 6608 6609 //* Opcode for xcb_poly_line. 6610 6611 // * 6612 // @brief xcb_poly_line_request_t 6613 // 6614 type xcb_poly_line_request_t = xcb_poly_line_request_t1 /* xproto.h:3478:3 */ 6615 6616 // * 6617 // @brief xcb_segment_t 6618 // 6619 type xcb_segment_t1 = struct { 6620 Fx1 int16_t 6621 Fy1 int16_t 6622 Fx2 int16_t 6623 Fy2 int16_t 6624 } /* xproto.h:3483:9 */ 6625 6626 // * 6627 // @brief xcb_segment_t 6628 // 6629 type xcb_segment_t = xcb_segment_t1 /* xproto.h:3488:3 */ 6630 6631 // * 6632 // @brief xcb_segment_iterator_t 6633 // 6634 type xcb_segment_iterator_t1 = struct { 6635 Fdata uintptr 6636 Frem int32 6637 Findex int32 6638 } /* xproto.h:3493:9 */ 6639 6640 // * 6641 // @brief xcb_segment_iterator_t 6642 // 6643 type xcb_segment_iterator_t = xcb_segment_iterator_t1 /* xproto.h:3497:3 */ 6644 6645 //* Opcode for xcb_poly_segment. 6646 6647 // * 6648 // @brief xcb_poly_segment_request_t 6649 // 6650 type xcb_poly_segment_request_t1 = struct { 6651 Fmajor_opcode uint8_t 6652 Fpad0 uint8_t 6653 Flength uint16_t 6654 Fdrawable xcb_drawable_t 6655 Fgc xcb_gcontext_t 6656 } /* xproto.h:3505:9 */ 6657 6658 //* Opcode for xcb_poly_segment. 6659 6660 // * 6661 // @brief xcb_poly_segment_request_t 6662 // 6663 type xcb_poly_segment_request_t = xcb_poly_segment_request_t1 /* xproto.h:3511:3 */ 6664 6665 //* Opcode for xcb_poly_rectangle. 6666 6667 // * 6668 // @brief xcb_poly_rectangle_request_t 6669 // 6670 type xcb_poly_rectangle_request_t1 = struct { 6671 Fmajor_opcode uint8_t 6672 Fpad0 uint8_t 6673 Flength uint16_t 6674 Fdrawable xcb_drawable_t 6675 Fgc xcb_gcontext_t 6676 } /* xproto.h:3519:9 */ 6677 6678 //* Opcode for xcb_poly_rectangle. 6679 6680 // * 6681 // @brief xcb_poly_rectangle_request_t 6682 // 6683 type xcb_poly_rectangle_request_t = xcb_poly_rectangle_request_t1 /* xproto.h:3525:3 */ 6684 6685 //* Opcode for xcb_poly_arc. 6686 6687 // * 6688 // @brief xcb_poly_arc_request_t 6689 // 6690 type xcb_poly_arc_request_t1 = struct { 6691 Fmajor_opcode uint8_t 6692 Fpad0 uint8_t 6693 Flength uint16_t 6694 Fdrawable xcb_drawable_t 6695 Fgc xcb_gcontext_t 6696 } /* xproto.h:3533:9 */ 6697 6698 //* Opcode for xcb_poly_arc. 6699 6700 // * 6701 // @brief xcb_poly_arc_request_t 6702 // 6703 type xcb_poly_arc_request_t = xcb_poly_arc_request_t1 /* xproto.h:3539:3 */ 6704 6705 type xcb_poly_shape_t = uint32 /* xproto.h:3545:3 */ 6706 6707 //* Opcode for xcb_fill_poly. 6708 6709 // * 6710 // @brief xcb_fill_poly_request_t 6711 // 6712 type xcb_fill_poly_request_t1 = struct { 6713 Fmajor_opcode uint8_t 6714 Fpad0 uint8_t 6715 Flength uint16_t 6716 Fdrawable xcb_drawable_t 6717 Fgc xcb_gcontext_t 6718 Fshape uint8_t 6719 Fcoordinate_mode uint8_t 6720 Fpad1 [2]uint8_t 6721 } /* xproto.h:3553:9 */ 6722 6723 //* Opcode for xcb_fill_poly. 6724 6725 // * 6726 // @brief xcb_fill_poly_request_t 6727 // 6728 type xcb_fill_poly_request_t = xcb_fill_poly_request_t1 /* xproto.h:3562:3 */ 6729 6730 //* Opcode for xcb_poly_fill_rectangle. 6731 6732 // * 6733 // @brief xcb_poly_fill_rectangle_request_t 6734 // 6735 type xcb_poly_fill_rectangle_request_t1 = struct { 6736 Fmajor_opcode uint8_t 6737 Fpad0 uint8_t 6738 Flength uint16_t 6739 Fdrawable xcb_drawable_t 6740 Fgc xcb_gcontext_t 6741 } /* xproto.h:3570:9 */ 6742 6743 //* Opcode for xcb_poly_fill_rectangle. 6744 6745 // * 6746 // @brief xcb_poly_fill_rectangle_request_t 6747 // 6748 type xcb_poly_fill_rectangle_request_t = xcb_poly_fill_rectangle_request_t1 /* xproto.h:3576:3 */ 6749 6750 //* Opcode for xcb_poly_fill_arc. 6751 6752 // * 6753 // @brief xcb_poly_fill_arc_request_t 6754 // 6755 type xcb_poly_fill_arc_request_t1 = struct { 6756 Fmajor_opcode uint8_t 6757 Fpad0 uint8_t 6758 Flength uint16_t 6759 Fdrawable xcb_drawable_t 6760 Fgc xcb_gcontext_t 6761 } /* xproto.h:3584:9 */ 6762 6763 //* Opcode for xcb_poly_fill_arc. 6764 6765 // * 6766 // @brief xcb_poly_fill_arc_request_t 6767 // 6768 type xcb_poly_fill_arc_request_t = xcb_poly_fill_arc_request_t1 /* xproto.h:3590:3 */ 6769 6770 type xcb_image_format_t = uint32 /* xproto.h:3596:3 */ 6771 6772 //* Opcode for xcb_put_image. 6773 6774 // * 6775 // @brief xcb_put_image_request_t 6776 // 6777 type xcb_put_image_request_t1 = struct { 6778 Fmajor_opcode uint8_t 6779 Fformat uint8_t 6780 Flength uint16_t 6781 Fdrawable xcb_drawable_t 6782 Fgc xcb_gcontext_t 6783 Fwidth uint16_t 6784 Fheight uint16_t 6785 Fdst_x int16_t 6786 Fdst_y int16_t 6787 Fleft_pad uint8_t 6788 Fdepth uint8_t 6789 Fpad0 [2]uint8_t 6790 } /* xproto.h:3604:9 */ 6791 6792 //* Opcode for xcb_put_image. 6793 6794 // * 6795 // @brief xcb_put_image_request_t 6796 // 6797 type xcb_put_image_request_t = xcb_put_image_request_t1 /* xproto.h:3617:3 */ 6798 6799 // * 6800 // @brief xcb_get_image_cookie_t 6801 // 6802 type xcb_get_image_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3622:9 */ 6803 6804 // * 6805 // @brief xcb_get_image_cookie_t 6806 // 6807 type xcb_get_image_cookie_t = xcb_get_image_cookie_t1 /* xproto.h:3624:3 */ 6808 6809 //* Opcode for xcb_get_image. 6810 6811 // * 6812 // @brief xcb_get_image_request_t 6813 // 6814 type xcb_get_image_request_t1 = struct { 6815 Fmajor_opcode uint8_t 6816 Fformat uint8_t 6817 Flength uint16_t 6818 Fdrawable xcb_drawable_t 6819 Fx int16_t 6820 Fy int16_t 6821 Fwidth uint16_t 6822 Fheight uint16_t 6823 Fplane_mask uint32_t 6824 } /* xproto.h:3632:9 */ 6825 6826 //* Opcode for xcb_get_image. 6827 6828 // * 6829 // @brief xcb_get_image_request_t 6830 // 6831 type xcb_get_image_request_t = xcb_get_image_request_t1 /* xproto.h:3642:3 */ 6832 6833 // * 6834 // @brief xcb_get_image_reply_t 6835 // 6836 type xcb_get_image_reply_t1 = struct { 6837 Fresponse_type uint8_t 6838 Fdepth uint8_t 6839 Fsequence uint16_t 6840 Flength uint32_t 6841 Fvisual xcb_visualid_t 6842 Fpad0 [20]uint8_t 6843 } /* xproto.h:3647:9 */ 6844 6845 // * 6846 // @brief xcb_get_image_reply_t 6847 // 6848 type xcb_get_image_reply_t = xcb_get_image_reply_t1 /* xproto.h:3654:3 */ 6849 6850 //* Opcode for xcb_poly_text_8. 6851 6852 // * 6853 // @brief xcb_poly_text_8_request_t 6854 // 6855 type xcb_poly_text_8_request_t1 = struct { 6856 Fmajor_opcode uint8_t 6857 Fpad0 uint8_t 6858 Flength uint16_t 6859 Fdrawable xcb_drawable_t 6860 Fgc xcb_gcontext_t 6861 Fx int16_t 6862 Fy int16_t 6863 } /* xproto.h:3662:9 */ 6864 6865 //* Opcode for xcb_poly_text_8. 6866 6867 // * 6868 // @brief xcb_poly_text_8_request_t 6869 // 6870 type xcb_poly_text_8_request_t = xcb_poly_text_8_request_t1 /* xproto.h:3670:3 */ 6871 6872 //* Opcode for xcb_poly_text_16. 6873 6874 // * 6875 // @brief xcb_poly_text_16_request_t 6876 // 6877 type xcb_poly_text_16_request_t1 = struct { 6878 Fmajor_opcode uint8_t 6879 Fpad0 uint8_t 6880 Flength uint16_t 6881 Fdrawable xcb_drawable_t 6882 Fgc xcb_gcontext_t 6883 Fx int16_t 6884 Fy int16_t 6885 } /* xproto.h:3678:9 */ 6886 6887 //* Opcode for xcb_poly_text_16. 6888 6889 // * 6890 // @brief xcb_poly_text_16_request_t 6891 // 6892 type xcb_poly_text_16_request_t = xcb_poly_text_16_request_t1 /* xproto.h:3686:3 */ 6893 6894 //* Opcode for xcb_image_text_8. 6895 6896 // * 6897 // @brief xcb_image_text_8_request_t 6898 // 6899 type xcb_image_text_8_request_t1 = struct { 6900 Fmajor_opcode uint8_t 6901 Fstring_len uint8_t 6902 Flength uint16_t 6903 Fdrawable xcb_drawable_t 6904 Fgc xcb_gcontext_t 6905 Fx int16_t 6906 Fy int16_t 6907 } /* xproto.h:3694:9 */ 6908 6909 //* Opcode for xcb_image_text_8. 6910 6911 // * 6912 // @brief xcb_image_text_8_request_t 6913 // 6914 type xcb_image_text_8_request_t = xcb_image_text_8_request_t1 /* xproto.h:3702:3 */ 6915 6916 //* Opcode for xcb_image_text_16. 6917 6918 // * 6919 // @brief xcb_image_text_16_request_t 6920 // 6921 type xcb_image_text_16_request_t1 = struct { 6922 Fmajor_opcode uint8_t 6923 Fstring_len uint8_t 6924 Flength uint16_t 6925 Fdrawable xcb_drawable_t 6926 Fgc xcb_gcontext_t 6927 Fx int16_t 6928 Fy int16_t 6929 } /* xproto.h:3710:9 */ 6930 6931 //* Opcode for xcb_image_text_16. 6932 6933 // * 6934 // @brief xcb_image_text_16_request_t 6935 // 6936 type xcb_image_text_16_request_t = xcb_image_text_16_request_t1 /* xproto.h:3718:3 */ 6937 6938 type xcb_colormap_alloc_t = uint32 /* xproto.h:3723:3 */ 6939 6940 //* Opcode for xcb_create_colormap. 6941 6942 // * 6943 // @brief xcb_create_colormap_request_t 6944 // 6945 type xcb_create_colormap_request_t1 = struct { 6946 Fmajor_opcode uint8_t 6947 Falloc uint8_t 6948 Flength uint16_t 6949 Fmid xcb_colormap_t 6950 Fwindow xcb_window_t 6951 Fvisual xcb_visualid_t 6952 } /* xproto.h:3731:9 */ 6953 6954 //* Opcode for xcb_create_colormap. 6955 6956 // * 6957 // @brief xcb_create_colormap_request_t 6958 // 6959 type xcb_create_colormap_request_t = xcb_create_colormap_request_t1 /* xproto.h:3738:3 */ 6960 6961 //* Opcode for xcb_free_colormap. 6962 6963 // * 6964 // @brief xcb_free_colormap_request_t 6965 // 6966 type xcb_free_colormap_request_t1 = struct { 6967 Fmajor_opcode uint8_t 6968 Fpad0 uint8_t 6969 Flength uint16_t 6970 Fcmap xcb_colormap_t 6971 } /* xproto.h:3746:9 */ 6972 6973 //* Opcode for xcb_free_colormap. 6974 6975 // * 6976 // @brief xcb_free_colormap_request_t 6977 // 6978 type xcb_free_colormap_request_t = xcb_free_colormap_request_t1 /* xproto.h:3751:3 */ 6979 6980 //* Opcode for xcb_copy_colormap_and_free. 6981 6982 // * 6983 // @brief xcb_copy_colormap_and_free_request_t 6984 // 6985 type xcb_copy_colormap_and_free_request_t1 = struct { 6986 Fmajor_opcode uint8_t 6987 Fpad0 uint8_t 6988 Flength uint16_t 6989 Fmid xcb_colormap_t 6990 Fsrc_cmap xcb_colormap_t 6991 } /* xproto.h:3759:9 */ 6992 6993 //* Opcode for xcb_copy_colormap_and_free. 6994 6995 // * 6996 // @brief xcb_copy_colormap_and_free_request_t 6997 // 6998 type xcb_copy_colormap_and_free_request_t = xcb_copy_colormap_and_free_request_t1 /* xproto.h:3765:3 */ 6999 7000 //* Opcode for xcb_install_colormap. 7001 7002 // * 7003 // @brief xcb_install_colormap_request_t 7004 // 7005 type xcb_install_colormap_request_t1 = struct { 7006 Fmajor_opcode uint8_t 7007 Fpad0 uint8_t 7008 Flength uint16_t 7009 Fcmap xcb_colormap_t 7010 } /* xproto.h:3773:9 */ 7011 7012 //* Opcode for xcb_install_colormap. 7013 7014 // * 7015 // @brief xcb_install_colormap_request_t 7016 // 7017 type xcb_install_colormap_request_t = xcb_install_colormap_request_t1 /* xproto.h:3778:3 */ 7018 7019 //* Opcode for xcb_uninstall_colormap. 7020 7021 // * 7022 // @brief xcb_uninstall_colormap_request_t 7023 // 7024 type xcb_uninstall_colormap_request_t1 = struct { 7025 Fmajor_opcode uint8_t 7026 Fpad0 uint8_t 7027 Flength uint16_t 7028 Fcmap xcb_colormap_t 7029 } /* xproto.h:3786:9 */ 7030 7031 //* Opcode for xcb_uninstall_colormap. 7032 7033 // * 7034 // @brief xcb_uninstall_colormap_request_t 7035 // 7036 type xcb_uninstall_colormap_request_t = xcb_uninstall_colormap_request_t1 /* xproto.h:3791:3 */ 7037 7038 // * 7039 // @brief xcb_list_installed_colormaps_cookie_t 7040 // 7041 type xcb_list_installed_colormaps_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3796:9 */ 7042 7043 // * 7044 // @brief xcb_list_installed_colormaps_cookie_t 7045 // 7046 type xcb_list_installed_colormaps_cookie_t = xcb_list_installed_colormaps_cookie_t1 /* xproto.h:3798:3 */ 7047 7048 //* Opcode for xcb_list_installed_colormaps. 7049 7050 // * 7051 // @brief xcb_list_installed_colormaps_request_t 7052 // 7053 type xcb_list_installed_colormaps_request_t1 = struct { 7054 Fmajor_opcode uint8_t 7055 Fpad0 uint8_t 7056 Flength uint16_t 7057 Fwindow xcb_window_t 7058 } /* xproto.h:3806:9 */ 7059 7060 //* Opcode for xcb_list_installed_colormaps. 7061 7062 // * 7063 // @brief xcb_list_installed_colormaps_request_t 7064 // 7065 type xcb_list_installed_colormaps_request_t = xcb_list_installed_colormaps_request_t1 /* xproto.h:3811:3 */ 7066 7067 // * 7068 // @brief xcb_list_installed_colormaps_reply_t 7069 // 7070 type xcb_list_installed_colormaps_reply_t1 = struct { 7071 Fresponse_type uint8_t 7072 Fpad0 uint8_t 7073 Fsequence uint16_t 7074 Flength uint32_t 7075 Fcmaps_len uint16_t 7076 Fpad1 [22]uint8_t 7077 } /* xproto.h:3816:9 */ 7078 7079 // * 7080 // @brief xcb_list_installed_colormaps_reply_t 7081 // 7082 type xcb_list_installed_colormaps_reply_t = xcb_list_installed_colormaps_reply_t1 /* xproto.h:3823:3 */ 7083 7084 // * 7085 // @brief xcb_alloc_color_cookie_t 7086 // 7087 type xcb_alloc_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3828:9 */ 7088 7089 // * 7090 // @brief xcb_alloc_color_cookie_t 7091 // 7092 type xcb_alloc_color_cookie_t = xcb_alloc_color_cookie_t1 /* xproto.h:3830:3 */ 7093 7094 //* Opcode for xcb_alloc_color. 7095 7096 // * 7097 // @brief xcb_alloc_color_request_t 7098 // 7099 type xcb_alloc_color_request_t1 = struct { 7100 Fmajor_opcode uint8_t 7101 Fpad0 uint8_t 7102 Flength uint16_t 7103 Fcmap xcb_colormap_t 7104 Fred uint16_t 7105 Fgreen uint16_t 7106 Fblue uint16_t 7107 Fpad1 [2]uint8_t 7108 } /* xproto.h:3838:9 */ 7109 7110 //* Opcode for xcb_alloc_color. 7111 7112 // * 7113 // @brief xcb_alloc_color_request_t 7114 // 7115 type xcb_alloc_color_request_t = xcb_alloc_color_request_t1 /* xproto.h:3847:3 */ 7116 7117 // * 7118 // @brief xcb_alloc_color_reply_t 7119 // 7120 type xcb_alloc_color_reply_t1 = struct { 7121 Fresponse_type uint8_t 7122 Fpad0 uint8_t 7123 Fsequence uint16_t 7124 Flength uint32_t 7125 Fred uint16_t 7126 Fgreen uint16_t 7127 Fblue uint16_t 7128 Fpad1 [2]uint8_t 7129 Fpixel uint32_t 7130 } /* xproto.h:3852:9 */ 7131 7132 // * 7133 // @brief xcb_alloc_color_reply_t 7134 // 7135 type xcb_alloc_color_reply_t = xcb_alloc_color_reply_t1 /* xproto.h:3862:3 */ 7136 7137 // * 7138 // @brief xcb_alloc_named_color_cookie_t 7139 // 7140 type xcb_alloc_named_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3867:9 */ 7141 7142 // * 7143 // @brief xcb_alloc_named_color_cookie_t 7144 // 7145 type xcb_alloc_named_color_cookie_t = xcb_alloc_named_color_cookie_t1 /* xproto.h:3869:3 */ 7146 7147 //* Opcode for xcb_alloc_named_color. 7148 7149 // * 7150 // @brief xcb_alloc_named_color_request_t 7151 // 7152 type xcb_alloc_named_color_request_t1 = struct { 7153 Fmajor_opcode uint8_t 7154 Fpad0 uint8_t 7155 Flength uint16_t 7156 Fcmap xcb_colormap_t 7157 Fname_len uint16_t 7158 Fpad1 [2]uint8_t 7159 } /* xproto.h:3877:9 */ 7160 7161 //* Opcode for xcb_alloc_named_color. 7162 7163 // * 7164 // @brief xcb_alloc_named_color_request_t 7165 // 7166 type xcb_alloc_named_color_request_t = xcb_alloc_named_color_request_t1 /* xproto.h:3884:3 */ 7167 7168 // * 7169 // @brief xcb_alloc_named_color_reply_t 7170 // 7171 type xcb_alloc_named_color_reply_t1 = struct { 7172 Fresponse_type uint8_t 7173 Fpad0 uint8_t 7174 Fsequence uint16_t 7175 Flength uint32_t 7176 Fpixel uint32_t 7177 Fexact_red uint16_t 7178 Fexact_green uint16_t 7179 Fexact_blue uint16_t 7180 Fvisual_red uint16_t 7181 Fvisual_green uint16_t 7182 Fvisual_blue uint16_t 7183 } /* xproto.h:3889:9 */ 7184 7185 // * 7186 // @brief xcb_alloc_named_color_reply_t 7187 // 7188 type xcb_alloc_named_color_reply_t = xcb_alloc_named_color_reply_t1 /* xproto.h:3901:3 */ 7189 7190 // * 7191 // @brief xcb_alloc_color_cells_cookie_t 7192 // 7193 type xcb_alloc_color_cells_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3906:9 */ 7194 7195 // * 7196 // @brief xcb_alloc_color_cells_cookie_t 7197 // 7198 type xcb_alloc_color_cells_cookie_t = xcb_alloc_color_cells_cookie_t1 /* xproto.h:3908:3 */ 7199 7200 //* Opcode for xcb_alloc_color_cells. 7201 7202 // * 7203 // @brief xcb_alloc_color_cells_request_t 7204 // 7205 type xcb_alloc_color_cells_request_t1 = struct { 7206 Fmajor_opcode uint8_t 7207 Fcontiguous uint8_t 7208 Flength uint16_t 7209 Fcmap xcb_colormap_t 7210 Fcolors uint16_t 7211 Fplanes uint16_t 7212 } /* xproto.h:3916:9 */ 7213 7214 //* Opcode for xcb_alloc_color_cells. 7215 7216 // * 7217 // @brief xcb_alloc_color_cells_request_t 7218 // 7219 type xcb_alloc_color_cells_request_t = xcb_alloc_color_cells_request_t1 /* xproto.h:3923:3 */ 7220 7221 // * 7222 // @brief xcb_alloc_color_cells_reply_t 7223 // 7224 type xcb_alloc_color_cells_reply_t1 = struct { 7225 Fresponse_type uint8_t 7226 Fpad0 uint8_t 7227 Fsequence uint16_t 7228 Flength uint32_t 7229 Fpixels_len uint16_t 7230 Fmasks_len uint16_t 7231 Fpad1 [20]uint8_t 7232 } /* xproto.h:3928:9 */ 7233 7234 // * 7235 // @brief xcb_alloc_color_cells_reply_t 7236 // 7237 type xcb_alloc_color_cells_reply_t = xcb_alloc_color_cells_reply_t1 /* xproto.h:3936:3 */ 7238 7239 // * 7240 // @brief xcb_alloc_color_planes_cookie_t 7241 // 7242 type xcb_alloc_color_planes_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3941:9 */ 7243 7244 // * 7245 // @brief xcb_alloc_color_planes_cookie_t 7246 // 7247 type xcb_alloc_color_planes_cookie_t = xcb_alloc_color_planes_cookie_t1 /* xproto.h:3943:3 */ 7248 7249 //* Opcode for xcb_alloc_color_planes. 7250 7251 // * 7252 // @brief xcb_alloc_color_planes_request_t 7253 // 7254 type xcb_alloc_color_planes_request_t1 = struct { 7255 Fmajor_opcode uint8_t 7256 Fcontiguous uint8_t 7257 Flength uint16_t 7258 Fcmap xcb_colormap_t 7259 Fcolors uint16_t 7260 Freds uint16_t 7261 Fgreens uint16_t 7262 Fblues uint16_t 7263 } /* xproto.h:3951:9 */ 7264 7265 //* Opcode for xcb_alloc_color_planes. 7266 7267 // * 7268 // @brief xcb_alloc_color_planes_request_t 7269 // 7270 type xcb_alloc_color_planes_request_t = xcb_alloc_color_planes_request_t1 /* xproto.h:3960:3 */ 7271 7272 // * 7273 // @brief xcb_alloc_color_planes_reply_t 7274 // 7275 type xcb_alloc_color_planes_reply_t1 = struct { 7276 Fresponse_type uint8_t 7277 Fpad0 uint8_t 7278 Fsequence uint16_t 7279 Flength uint32_t 7280 Fpixels_len uint16_t 7281 Fpad1 [2]uint8_t 7282 Fred_mask uint32_t 7283 Fgreen_mask uint32_t 7284 Fblue_mask uint32_t 7285 Fpad2 [8]uint8_t 7286 } /* xproto.h:3965:9 */ 7287 7288 // * 7289 // @brief xcb_alloc_color_planes_reply_t 7290 // 7291 type xcb_alloc_color_planes_reply_t = xcb_alloc_color_planes_reply_t1 /* xproto.h:3976:3 */ 7292 7293 //* Opcode for xcb_free_colors. 7294 7295 // * 7296 // @brief xcb_free_colors_request_t 7297 // 7298 type xcb_free_colors_request_t1 = struct { 7299 Fmajor_opcode uint8_t 7300 Fpad0 uint8_t 7301 Flength uint16_t 7302 Fcmap xcb_colormap_t 7303 Fplane_mask uint32_t 7304 } /* xproto.h:3984:9 */ 7305 7306 //* Opcode for xcb_free_colors. 7307 7308 // * 7309 // @brief xcb_free_colors_request_t 7310 // 7311 type xcb_free_colors_request_t = xcb_free_colors_request_t1 /* xproto.h:3990:3 */ 7312 7313 type xcb_color_flag_t = uint32 /* xproto.h:3996:3 */ 7314 7315 // * 7316 // @brief xcb_coloritem_t 7317 // 7318 type xcb_coloritem_t1 = struct { 7319 Fpixel uint32_t 7320 Fred uint16_t 7321 Fgreen uint16_t 7322 Fblue uint16_t 7323 Fflags uint8_t 7324 Fpad0 uint8_t 7325 } /* xproto.h:4001:9 */ 7326 7327 // * 7328 // @brief xcb_coloritem_t 7329 // 7330 type xcb_coloritem_t = xcb_coloritem_t1 /* xproto.h:4008:3 */ 7331 7332 // * 7333 // @brief xcb_coloritem_iterator_t 7334 // 7335 type xcb_coloritem_iterator_t1 = struct { 7336 Fdata uintptr 7337 Frem int32 7338 Findex int32 7339 } /* xproto.h:4013:9 */ 7340 7341 // * 7342 // @brief xcb_coloritem_iterator_t 7343 // 7344 type xcb_coloritem_iterator_t = xcb_coloritem_iterator_t1 /* xproto.h:4017:3 */ 7345 7346 //* Opcode for xcb_store_colors. 7347 7348 // * 7349 // @brief xcb_store_colors_request_t 7350 // 7351 type xcb_store_colors_request_t1 = struct { 7352 Fmajor_opcode uint8_t 7353 Fpad0 uint8_t 7354 Flength uint16_t 7355 Fcmap xcb_colormap_t 7356 } /* xproto.h:4025:9 */ 7357 7358 //* Opcode for xcb_store_colors. 7359 7360 // * 7361 // @brief xcb_store_colors_request_t 7362 // 7363 type xcb_store_colors_request_t = xcb_store_colors_request_t1 /* xproto.h:4030:3 */ 7364 7365 //* Opcode for xcb_store_named_color. 7366 7367 // * 7368 // @brief xcb_store_named_color_request_t 7369 // 7370 type xcb_store_named_color_request_t1 = struct { 7371 Fmajor_opcode uint8_t 7372 Fflags uint8_t 7373 Flength uint16_t 7374 Fcmap xcb_colormap_t 7375 Fpixel uint32_t 7376 Fname_len uint16_t 7377 Fpad0 [2]uint8_t 7378 } /* xproto.h:4038:9 */ 7379 7380 //* Opcode for xcb_store_named_color. 7381 7382 // * 7383 // @brief xcb_store_named_color_request_t 7384 // 7385 type xcb_store_named_color_request_t = xcb_store_named_color_request_t1 /* xproto.h:4046:3 */ 7386 7387 // * 7388 // @brief xcb_rgb_t 7389 // 7390 type xcb_rgb_t1 = struct { 7391 Fred uint16_t 7392 Fgreen uint16_t 7393 Fblue uint16_t 7394 Fpad0 [2]uint8_t 7395 } /* xproto.h:4051:9 */ 7396 7397 // * 7398 // @brief xcb_rgb_t 7399 // 7400 type xcb_rgb_t = xcb_rgb_t1 /* xproto.h:4056:3 */ 7401 7402 // * 7403 // @brief xcb_rgb_iterator_t 7404 // 7405 type xcb_rgb_iterator_t1 = struct { 7406 Fdata uintptr 7407 Frem int32 7408 Findex int32 7409 } /* xproto.h:4061:9 */ 7410 7411 // * 7412 // @brief xcb_rgb_iterator_t 7413 // 7414 type xcb_rgb_iterator_t = xcb_rgb_iterator_t1 /* xproto.h:4065:3 */ 7415 7416 // * 7417 // @brief xcb_query_colors_cookie_t 7418 // 7419 type xcb_query_colors_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4070:9 */ 7420 7421 // * 7422 // @brief xcb_query_colors_cookie_t 7423 // 7424 type xcb_query_colors_cookie_t = xcb_query_colors_cookie_t1 /* xproto.h:4072:3 */ 7425 7426 //* Opcode for xcb_query_colors. 7427 7428 // * 7429 // @brief xcb_query_colors_request_t 7430 // 7431 type xcb_query_colors_request_t1 = struct { 7432 Fmajor_opcode uint8_t 7433 Fpad0 uint8_t 7434 Flength uint16_t 7435 Fcmap xcb_colormap_t 7436 } /* xproto.h:4080:9 */ 7437 7438 //* Opcode for xcb_query_colors. 7439 7440 // * 7441 // @brief xcb_query_colors_request_t 7442 // 7443 type xcb_query_colors_request_t = xcb_query_colors_request_t1 /* xproto.h:4085:3 */ 7444 7445 // * 7446 // @brief xcb_query_colors_reply_t 7447 // 7448 type xcb_query_colors_reply_t1 = struct { 7449 Fresponse_type uint8_t 7450 Fpad0 uint8_t 7451 Fsequence uint16_t 7452 Flength uint32_t 7453 Fcolors_len uint16_t 7454 Fpad1 [22]uint8_t 7455 } /* xproto.h:4090:9 */ 7456 7457 // * 7458 // @brief xcb_query_colors_reply_t 7459 // 7460 type xcb_query_colors_reply_t = xcb_query_colors_reply_t1 /* xproto.h:4097:3 */ 7461 7462 // * 7463 // @brief xcb_lookup_color_cookie_t 7464 // 7465 type xcb_lookup_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4102:9 */ 7466 7467 // * 7468 // @brief xcb_lookup_color_cookie_t 7469 // 7470 type xcb_lookup_color_cookie_t = xcb_lookup_color_cookie_t1 /* xproto.h:4104:3 */ 7471 7472 //* Opcode for xcb_lookup_color. 7473 7474 // * 7475 // @brief xcb_lookup_color_request_t 7476 // 7477 type xcb_lookup_color_request_t1 = struct { 7478 Fmajor_opcode uint8_t 7479 Fpad0 uint8_t 7480 Flength uint16_t 7481 Fcmap xcb_colormap_t 7482 Fname_len uint16_t 7483 Fpad1 [2]uint8_t 7484 } /* xproto.h:4112:9 */ 7485 7486 //* Opcode for xcb_lookup_color. 7487 7488 // * 7489 // @brief xcb_lookup_color_request_t 7490 // 7491 type xcb_lookup_color_request_t = xcb_lookup_color_request_t1 /* xproto.h:4119:3 */ 7492 7493 // * 7494 // @brief xcb_lookup_color_reply_t 7495 // 7496 type xcb_lookup_color_reply_t1 = struct { 7497 Fresponse_type uint8_t 7498 Fpad0 uint8_t 7499 Fsequence uint16_t 7500 Flength uint32_t 7501 Fexact_red uint16_t 7502 Fexact_green uint16_t 7503 Fexact_blue uint16_t 7504 Fvisual_red uint16_t 7505 Fvisual_green uint16_t 7506 Fvisual_blue uint16_t 7507 } /* xproto.h:4124:9 */ 7508 7509 // * 7510 // @brief xcb_lookup_color_reply_t 7511 // 7512 type xcb_lookup_color_reply_t = xcb_lookup_color_reply_t1 /* xproto.h:4135:3 */ 7513 7514 type xcb_pixmap_enum_t = uint32 /* xproto.h:4139:3 */ 7515 7516 //* Opcode for xcb_create_cursor. 7517 7518 // * 7519 // @brief xcb_create_cursor_request_t 7520 // 7521 type xcb_create_cursor_request_t1 = struct { 7522 Fmajor_opcode uint8_t 7523 Fpad0 uint8_t 7524 Flength uint16_t 7525 Fcid xcb_cursor_t 7526 Fsource xcb_pixmap_t 7527 Fmask xcb_pixmap_t 7528 Ffore_red uint16_t 7529 Ffore_green uint16_t 7530 Ffore_blue uint16_t 7531 Fback_red uint16_t 7532 Fback_green uint16_t 7533 Fback_blue uint16_t 7534 Fx uint16_t 7535 Fy uint16_t 7536 } /* xproto.h:4147:9 */ 7537 7538 //* Opcode for xcb_create_cursor. 7539 7540 // * 7541 // @brief xcb_create_cursor_request_t 7542 // 7543 type xcb_create_cursor_request_t = xcb_create_cursor_request_t1 /* xproto.h:4162:3 */ 7544 7545 type xcb_font_enum_t = uint32 /* xproto.h:4166:3 */ 7546 7547 //* Opcode for xcb_create_glyph_cursor. 7548 7549 // * 7550 // @brief xcb_create_glyph_cursor_request_t 7551 // 7552 type xcb_create_glyph_cursor_request_t1 = struct { 7553 Fmajor_opcode uint8_t 7554 Fpad0 uint8_t 7555 Flength uint16_t 7556 Fcid xcb_cursor_t 7557 Fsource_font xcb_font_t 7558 Fmask_font xcb_font_t 7559 Fsource_char uint16_t 7560 Fmask_char uint16_t 7561 Ffore_red uint16_t 7562 Ffore_green uint16_t 7563 Ffore_blue uint16_t 7564 Fback_red uint16_t 7565 Fback_green uint16_t 7566 Fback_blue uint16_t 7567 } /* xproto.h:4174:9 */ 7568 7569 //* Opcode for xcb_create_glyph_cursor. 7570 7571 // * 7572 // @brief xcb_create_glyph_cursor_request_t 7573 // 7574 type xcb_create_glyph_cursor_request_t = xcb_create_glyph_cursor_request_t1 /* xproto.h:4189:3 */ 7575 7576 //* Opcode for xcb_free_cursor. 7577 7578 // * 7579 // @brief xcb_free_cursor_request_t 7580 // 7581 type xcb_free_cursor_request_t1 = struct { 7582 Fmajor_opcode uint8_t 7583 Fpad0 uint8_t 7584 Flength uint16_t 7585 Fcursor xcb_cursor_t 7586 } /* xproto.h:4197:9 */ 7587 7588 //* Opcode for xcb_free_cursor. 7589 7590 // * 7591 // @brief xcb_free_cursor_request_t 7592 // 7593 type xcb_free_cursor_request_t = xcb_free_cursor_request_t1 /* xproto.h:4202:3 */ 7594 7595 //* Opcode for xcb_recolor_cursor. 7596 7597 // * 7598 // @brief xcb_recolor_cursor_request_t 7599 // 7600 type xcb_recolor_cursor_request_t1 = struct { 7601 Fmajor_opcode uint8_t 7602 Fpad0 uint8_t 7603 Flength uint16_t 7604 Fcursor xcb_cursor_t 7605 Ffore_red uint16_t 7606 Ffore_green uint16_t 7607 Ffore_blue uint16_t 7608 Fback_red uint16_t 7609 Fback_green uint16_t 7610 Fback_blue uint16_t 7611 } /* xproto.h:4210:9 */ 7612 7613 //* Opcode for xcb_recolor_cursor. 7614 7615 // * 7616 // @brief xcb_recolor_cursor_request_t 7617 // 7618 type xcb_recolor_cursor_request_t = xcb_recolor_cursor_request_t1 /* xproto.h:4221:3 */ 7619 7620 type xcb_query_shape_of_t = uint32 /* xproto.h:4227:3 */ 7621 7622 // * 7623 // @brief xcb_query_best_size_cookie_t 7624 // 7625 type xcb_query_best_size_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4232:9 */ 7626 7627 // * 7628 // @brief xcb_query_best_size_cookie_t 7629 // 7630 type xcb_query_best_size_cookie_t = xcb_query_best_size_cookie_t1 /* xproto.h:4234:3 */ 7631 7632 //* Opcode for xcb_query_best_size. 7633 7634 // * 7635 // @brief xcb_query_best_size_request_t 7636 // 7637 type xcb_query_best_size_request_t1 = struct { 7638 Fmajor_opcode uint8_t 7639 F_class uint8_t 7640 Flength uint16_t 7641 Fdrawable xcb_drawable_t 7642 Fwidth uint16_t 7643 Fheight uint16_t 7644 } /* xproto.h:4242:9 */ 7645 7646 //* Opcode for xcb_query_best_size. 7647 7648 // * 7649 // @brief xcb_query_best_size_request_t 7650 // 7651 type xcb_query_best_size_request_t = xcb_query_best_size_request_t1 /* xproto.h:4249:3 */ 7652 7653 // * 7654 // @brief xcb_query_best_size_reply_t 7655 // 7656 type xcb_query_best_size_reply_t1 = struct { 7657 Fresponse_type uint8_t 7658 Fpad0 uint8_t 7659 Fsequence uint16_t 7660 Flength uint32_t 7661 Fwidth uint16_t 7662 Fheight uint16_t 7663 } /* xproto.h:4254:9 */ 7664 7665 // * 7666 // @brief xcb_query_best_size_reply_t 7667 // 7668 type xcb_query_best_size_reply_t = xcb_query_best_size_reply_t1 /* xproto.h:4261:3 */ 7669 7670 // * 7671 // @brief xcb_query_extension_cookie_t 7672 // 7673 type xcb_query_extension_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4266:9 */ 7674 7675 // * 7676 // @brief xcb_query_extension_cookie_t 7677 // 7678 type xcb_query_extension_cookie_t = xcb_query_extension_cookie_t1 /* xproto.h:4268:3 */ 7679 7680 //* Opcode for xcb_query_extension. 7681 7682 // * 7683 // @brief xcb_query_extension_request_t 7684 // 7685 type xcb_query_extension_request_t1 = struct { 7686 Fmajor_opcode uint8_t 7687 Fpad0 uint8_t 7688 Flength uint16_t 7689 Fname_len uint16_t 7690 Fpad1 [2]uint8_t 7691 } /* xproto.h:4276:9 */ 7692 7693 //* Opcode for xcb_query_extension. 7694 7695 // * 7696 // @brief xcb_query_extension_request_t 7697 // 7698 type xcb_query_extension_request_t = xcb_query_extension_request_t1 /* xproto.h:4282:3 */ 7699 7700 // * 7701 // @brief xcb_query_extension_reply_t 7702 // 7703 type xcb_query_extension_reply_t1 = struct { 7704 Fresponse_type uint8_t 7705 Fpad0 uint8_t 7706 Fsequence uint16_t 7707 Flength uint32_t 7708 Fpresent uint8_t 7709 Fmajor_opcode uint8_t 7710 Ffirst_event uint8_t 7711 Ffirst_error uint8_t 7712 } /* xproto.h:4287:9 */ 7713 7714 // * 7715 // @brief xcb_query_extension_reply_t 7716 // 7717 type xcb_query_extension_reply_t = xcb_query_extension_reply_t1 /* xproto.h:4296:3 */ 7718 7719 // * 7720 // @brief xcb_list_extensions_cookie_t 7721 // 7722 type xcb_list_extensions_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4301:9 */ 7723 7724 // * 7725 // @brief xcb_list_extensions_cookie_t 7726 // 7727 type xcb_list_extensions_cookie_t = xcb_list_extensions_cookie_t1 /* xproto.h:4303:3 */ 7728 7729 //* Opcode for xcb_list_extensions. 7730 7731 // * 7732 // @brief xcb_list_extensions_request_t 7733 // 7734 type xcb_list_extensions_request_t1 = struct { 7735 Fmajor_opcode uint8_t 7736 Fpad0 uint8_t 7737 Flength uint16_t 7738 } /* xproto.h:4311:9 */ 7739 7740 //* Opcode for xcb_list_extensions. 7741 7742 // * 7743 // @brief xcb_list_extensions_request_t 7744 // 7745 type xcb_list_extensions_request_t = xcb_list_extensions_request_t1 /* xproto.h:4315:3 */ 7746 7747 // * 7748 // @brief xcb_list_extensions_reply_t 7749 // 7750 type xcb_list_extensions_reply_t1 = struct { 7751 Fresponse_type uint8_t 7752 Fnames_len uint8_t 7753 Fsequence uint16_t 7754 Flength uint32_t 7755 Fpad0 [24]uint8_t 7756 } /* xproto.h:4320:9 */ 7757 7758 // * 7759 // @brief xcb_list_extensions_reply_t 7760 // 7761 type xcb_list_extensions_reply_t = xcb_list_extensions_reply_t1 /* xproto.h:4326:3 */ 7762 7763 //* Opcode for xcb_change_keyboard_mapping. 7764 7765 // * 7766 // @brief xcb_change_keyboard_mapping_request_t 7767 // 7768 type xcb_change_keyboard_mapping_request_t1 = struct { 7769 Fmajor_opcode uint8_t 7770 Fkeycode_count uint8_t 7771 Flength uint16_t 7772 Ffirst_keycode xcb_keycode_t 7773 Fkeysyms_per_keycode uint8_t 7774 Fpad0 [2]uint8_t 7775 } /* xproto.h:4334:9 */ 7776 7777 //* Opcode for xcb_change_keyboard_mapping. 7778 7779 // * 7780 // @brief xcb_change_keyboard_mapping_request_t 7781 // 7782 type xcb_change_keyboard_mapping_request_t = xcb_change_keyboard_mapping_request_t1 /* xproto.h:4341:3 */ 7783 7784 // * 7785 // @brief xcb_get_keyboard_mapping_cookie_t 7786 // 7787 type xcb_get_keyboard_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4346:9 */ 7788 7789 // * 7790 // @brief xcb_get_keyboard_mapping_cookie_t 7791 // 7792 type xcb_get_keyboard_mapping_cookie_t = xcb_get_keyboard_mapping_cookie_t1 /* xproto.h:4348:3 */ 7793 7794 //* Opcode for xcb_get_keyboard_mapping. 7795 7796 // * 7797 // @brief xcb_get_keyboard_mapping_request_t 7798 // 7799 type xcb_get_keyboard_mapping_request_t1 = struct { 7800 Fmajor_opcode uint8_t 7801 Fpad0 uint8_t 7802 Flength uint16_t 7803 Ffirst_keycode xcb_keycode_t 7804 Fcount uint8_t 7805 } /* xproto.h:4356:9 */ 7806 7807 //* Opcode for xcb_get_keyboard_mapping. 7808 7809 // * 7810 // @brief xcb_get_keyboard_mapping_request_t 7811 // 7812 type xcb_get_keyboard_mapping_request_t = xcb_get_keyboard_mapping_request_t1 /* xproto.h:4362:3 */ 7813 7814 // * 7815 // @brief xcb_get_keyboard_mapping_reply_t 7816 // 7817 type xcb_get_keyboard_mapping_reply_t1 = struct { 7818 Fresponse_type uint8_t 7819 Fkeysyms_per_keycode uint8_t 7820 Fsequence uint16_t 7821 Flength uint32_t 7822 Fpad0 [24]uint8_t 7823 } /* xproto.h:4367:9 */ 7824 7825 // * 7826 // @brief xcb_get_keyboard_mapping_reply_t 7827 // 7828 type xcb_get_keyboard_mapping_reply_t = xcb_get_keyboard_mapping_reply_t1 /* xproto.h:4373:3 */ 7829 7830 type xcb_kb_t = uint32 /* xproto.h:4384:3 */ 7831 7832 type xcb_led_mode_t = uint32 /* xproto.h:4389:3 */ 7833 7834 type xcb_auto_repeat_mode_t = uint32 /* xproto.h:4395:3 */ 7835 7836 // * 7837 // @brief xcb_change_keyboard_control_value_list_t 7838 // 7839 type xcb_change_keyboard_control_value_list_t1 = struct { 7840 Fkey_click_percent int32_t 7841 Fbell_percent int32_t 7842 Fbell_pitch int32_t 7843 Fbell_duration int32_t 7844 Fled uint32_t 7845 Fled_mode uint32_t 7846 Fkey xcb_keycode32_t 7847 Fauto_repeat_mode uint32_t 7848 } /* xproto.h:4400:9 */ 7849 7850 // * 7851 // @brief xcb_change_keyboard_control_value_list_t 7852 // 7853 type xcb_change_keyboard_control_value_list_t = xcb_change_keyboard_control_value_list_t1 /* xproto.h:4409:3 */ 7854 7855 //* Opcode for xcb_change_keyboard_control. 7856 7857 // * 7858 // @brief xcb_change_keyboard_control_request_t 7859 // 7860 type xcb_change_keyboard_control_request_t1 = struct { 7861 Fmajor_opcode uint8_t 7862 Fpad0 uint8_t 7863 Flength uint16_t 7864 Fvalue_mask uint32_t 7865 } /* xproto.h:4417:9 */ 7866 7867 //* Opcode for xcb_change_keyboard_control. 7868 7869 // * 7870 // @brief xcb_change_keyboard_control_request_t 7871 // 7872 type xcb_change_keyboard_control_request_t = xcb_change_keyboard_control_request_t1 /* xproto.h:4422:3 */ 7873 7874 // * 7875 // @brief xcb_get_keyboard_control_cookie_t 7876 // 7877 type xcb_get_keyboard_control_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4427:9 */ 7878 7879 // * 7880 // @brief xcb_get_keyboard_control_cookie_t 7881 // 7882 type xcb_get_keyboard_control_cookie_t = xcb_get_keyboard_control_cookie_t1 /* xproto.h:4429:3 */ 7883 7884 //* Opcode for xcb_get_keyboard_control. 7885 7886 // * 7887 // @brief xcb_get_keyboard_control_request_t 7888 // 7889 type xcb_get_keyboard_control_request_t1 = struct { 7890 Fmajor_opcode uint8_t 7891 Fpad0 uint8_t 7892 Flength uint16_t 7893 } /* xproto.h:4437:9 */ 7894 7895 //* Opcode for xcb_get_keyboard_control. 7896 7897 // * 7898 // @brief xcb_get_keyboard_control_request_t 7899 // 7900 type xcb_get_keyboard_control_request_t = xcb_get_keyboard_control_request_t1 /* xproto.h:4441:3 */ 7901 7902 // * 7903 // @brief xcb_get_keyboard_control_reply_t 7904 // 7905 type xcb_get_keyboard_control_reply_t1 = struct { 7906 Fresponse_type uint8_t 7907 Fglobal_auto_repeat uint8_t 7908 Fsequence uint16_t 7909 Flength uint32_t 7910 Fled_mask uint32_t 7911 Fkey_click_percent uint8_t 7912 Fbell_percent uint8_t 7913 Fbell_pitch uint16_t 7914 Fbell_duration uint16_t 7915 Fpad0 [2]uint8_t 7916 Fauto_repeats [32]uint8_t 7917 } /* xproto.h:4446:9 */ 7918 7919 // * 7920 // @brief xcb_get_keyboard_control_reply_t 7921 // 7922 type xcb_get_keyboard_control_reply_t = xcb_get_keyboard_control_reply_t1 /* xproto.h:4458:3 */ 7923 7924 //* Opcode for xcb_bell. 7925 7926 // * 7927 // @brief xcb_bell_request_t 7928 // 7929 type xcb_bell_request_t1 = struct { 7930 Fmajor_opcode uint8_t 7931 Fpercent int8_t 7932 Flength uint16_t 7933 } /* xproto.h:4466:9 */ 7934 7935 //* Opcode for xcb_bell. 7936 7937 // * 7938 // @brief xcb_bell_request_t 7939 // 7940 type xcb_bell_request_t = xcb_bell_request_t1 /* xproto.h:4470:3 */ 7941 7942 //* Opcode for xcb_change_pointer_control. 7943 7944 // * 7945 // @brief xcb_change_pointer_control_request_t 7946 // 7947 type xcb_change_pointer_control_request_t1 = struct { 7948 Fmajor_opcode uint8_t 7949 Fpad0 uint8_t 7950 Flength uint16_t 7951 Facceleration_numerator int16_t 7952 Facceleration_denominator int16_t 7953 Fthreshold int16_t 7954 Fdo_acceleration uint8_t 7955 Fdo_threshold uint8_t 7956 } /* xproto.h:4478:9 */ 7957 7958 //* Opcode for xcb_change_pointer_control. 7959 7960 // * 7961 // @brief xcb_change_pointer_control_request_t 7962 // 7963 type xcb_change_pointer_control_request_t = xcb_change_pointer_control_request_t1 /* xproto.h:4487:3 */ 7964 7965 // * 7966 // @brief xcb_get_pointer_control_cookie_t 7967 // 7968 type xcb_get_pointer_control_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4492:9 */ 7969 7970 // * 7971 // @brief xcb_get_pointer_control_cookie_t 7972 // 7973 type xcb_get_pointer_control_cookie_t = xcb_get_pointer_control_cookie_t1 /* xproto.h:4494:3 */ 7974 7975 //* Opcode for xcb_get_pointer_control. 7976 7977 // * 7978 // @brief xcb_get_pointer_control_request_t 7979 // 7980 type xcb_get_pointer_control_request_t1 = struct { 7981 Fmajor_opcode uint8_t 7982 Fpad0 uint8_t 7983 Flength uint16_t 7984 } /* xproto.h:4502:9 */ 7985 7986 //* Opcode for xcb_get_pointer_control. 7987 7988 // * 7989 // @brief xcb_get_pointer_control_request_t 7990 // 7991 type xcb_get_pointer_control_request_t = xcb_get_pointer_control_request_t1 /* xproto.h:4506:3 */ 7992 7993 // * 7994 // @brief xcb_get_pointer_control_reply_t 7995 // 7996 type xcb_get_pointer_control_reply_t1 = struct { 7997 Fresponse_type uint8_t 7998 Fpad0 uint8_t 7999 Fsequence uint16_t 8000 Flength uint32_t 8001 Facceleration_numerator uint16_t 8002 Facceleration_denominator uint16_t 8003 Fthreshold uint16_t 8004 Fpad1 [18]uint8_t 8005 } /* xproto.h:4511:9 */ 8006 8007 // * 8008 // @brief xcb_get_pointer_control_reply_t 8009 // 8010 type xcb_get_pointer_control_reply_t = xcb_get_pointer_control_reply_t1 /* xproto.h:4520:3 */ 8011 8012 type xcb_blanking_t = uint32 /* xproto.h:4526:3 */ 8013 8014 type xcb_exposures_t = uint32 /* xproto.h:4532:3 */ 8015 8016 //* Opcode for xcb_set_screen_saver. 8017 8018 // * 8019 // @brief xcb_set_screen_saver_request_t 8020 // 8021 type xcb_set_screen_saver_request_t1 = struct { 8022 Fmajor_opcode uint8_t 8023 Fpad0 uint8_t 8024 Flength uint16_t 8025 Ftimeout int16_t 8026 Finterval int16_t 8027 Fprefer_blanking uint8_t 8028 Fallow_exposures uint8_t 8029 } /* xproto.h:4540:9 */ 8030 8031 //* Opcode for xcb_set_screen_saver. 8032 8033 // * 8034 // @brief xcb_set_screen_saver_request_t 8035 // 8036 type xcb_set_screen_saver_request_t = xcb_set_screen_saver_request_t1 /* xproto.h:4548:3 */ 8037 8038 // * 8039 // @brief xcb_get_screen_saver_cookie_t 8040 // 8041 type xcb_get_screen_saver_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4553:9 */ 8042 8043 // * 8044 // @brief xcb_get_screen_saver_cookie_t 8045 // 8046 type xcb_get_screen_saver_cookie_t = xcb_get_screen_saver_cookie_t1 /* xproto.h:4555:3 */ 8047 8048 //* Opcode for xcb_get_screen_saver. 8049 8050 // * 8051 // @brief xcb_get_screen_saver_request_t 8052 // 8053 type xcb_get_screen_saver_request_t1 = struct { 8054 Fmajor_opcode uint8_t 8055 Fpad0 uint8_t 8056 Flength uint16_t 8057 } /* xproto.h:4563:9 */ 8058 8059 //* Opcode for xcb_get_screen_saver. 8060 8061 // * 8062 // @brief xcb_get_screen_saver_request_t 8063 // 8064 type xcb_get_screen_saver_request_t = xcb_get_screen_saver_request_t1 /* xproto.h:4567:3 */ 8065 8066 // * 8067 // @brief xcb_get_screen_saver_reply_t 8068 // 8069 type xcb_get_screen_saver_reply_t1 = struct { 8070 Fresponse_type uint8_t 8071 Fpad0 uint8_t 8072 Fsequence uint16_t 8073 Flength uint32_t 8074 Ftimeout uint16_t 8075 Finterval uint16_t 8076 Fprefer_blanking uint8_t 8077 Fallow_exposures uint8_t 8078 Fpad1 [18]uint8_t 8079 } /* xproto.h:4572:9 */ 8080 8081 // * 8082 // @brief xcb_get_screen_saver_reply_t 8083 // 8084 type xcb_get_screen_saver_reply_t = xcb_get_screen_saver_reply_t1 /* xproto.h:4582:3 */ 8085 8086 type xcb_host_mode_t = uint32 /* xproto.h:4587:3 */ 8087 8088 type xcb_family_t = uint32 /* xproto.h:4595:3 */ 8089 8090 //* Opcode for xcb_change_hosts. 8091 8092 // * 8093 // @brief xcb_change_hosts_request_t 8094 // 8095 type xcb_change_hosts_request_t1 = struct { 8096 Fmajor_opcode uint8_t 8097 Fmode uint8_t 8098 Flength uint16_t 8099 Ffamily uint8_t 8100 Fpad0 uint8_t 8101 Faddress_len uint16_t 8102 } /* xproto.h:4603:9 */ 8103 8104 //* Opcode for xcb_change_hosts. 8105 8106 // * 8107 // @brief xcb_change_hosts_request_t 8108 // 8109 type xcb_change_hosts_request_t = xcb_change_hosts_request_t1 /* xproto.h:4610:3 */ 8110 8111 // * 8112 // @brief xcb_host_t 8113 // 8114 type xcb_host_t1 = struct { 8115 Ffamily uint8_t 8116 Fpad0 uint8_t 8117 Faddress_len uint16_t 8118 } /* xproto.h:4615:9 */ 8119 8120 // * 8121 // @brief xcb_host_t 8122 // 8123 type xcb_host_t = xcb_host_t1 /* xproto.h:4619:3 */ 8124 8125 // * 8126 // @brief xcb_host_iterator_t 8127 // 8128 type xcb_host_iterator_t1 = struct { 8129 Fdata uintptr 8130 Frem int32 8131 Findex int32 8132 } /* xproto.h:4624:9 */ 8133 8134 // * 8135 // @brief xcb_host_iterator_t 8136 // 8137 type xcb_host_iterator_t = xcb_host_iterator_t1 /* xproto.h:4628:3 */ 8138 8139 // * 8140 // @brief xcb_list_hosts_cookie_t 8141 // 8142 type xcb_list_hosts_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4633:9 */ 8143 8144 // * 8145 // @brief xcb_list_hosts_cookie_t 8146 // 8147 type xcb_list_hosts_cookie_t = xcb_list_hosts_cookie_t1 /* xproto.h:4635:3 */ 8148 8149 //* Opcode for xcb_list_hosts. 8150 8151 // * 8152 // @brief xcb_list_hosts_request_t 8153 // 8154 type xcb_list_hosts_request_t1 = struct { 8155 Fmajor_opcode uint8_t 8156 Fpad0 uint8_t 8157 Flength uint16_t 8158 } /* xproto.h:4643:9 */ 8159 8160 //* Opcode for xcb_list_hosts. 8161 8162 // * 8163 // @brief xcb_list_hosts_request_t 8164 // 8165 type xcb_list_hosts_request_t = xcb_list_hosts_request_t1 /* xproto.h:4647:3 */ 8166 8167 // * 8168 // @brief xcb_list_hosts_reply_t 8169 // 8170 type xcb_list_hosts_reply_t1 = struct { 8171 Fresponse_type uint8_t 8172 Fmode uint8_t 8173 Fsequence uint16_t 8174 Flength uint32_t 8175 Fhosts_len uint16_t 8176 Fpad0 [22]uint8_t 8177 } /* xproto.h:4652:9 */ 8178 8179 // * 8180 // @brief xcb_list_hosts_reply_t 8181 // 8182 type xcb_list_hosts_reply_t = xcb_list_hosts_reply_t1 /* xproto.h:4659:3 */ 8183 8184 type xcb_access_control_t = uint32 /* xproto.h:4664:3 */ 8185 8186 //* Opcode for xcb_set_access_control. 8187 8188 // * 8189 // @brief xcb_set_access_control_request_t 8190 // 8191 type xcb_set_access_control_request_t1 = struct { 8192 Fmajor_opcode uint8_t 8193 Fmode uint8_t 8194 Flength uint16_t 8195 } /* xproto.h:4672:9 */ 8196 8197 //* Opcode for xcb_set_access_control. 8198 8199 // * 8200 // @brief xcb_set_access_control_request_t 8201 // 8202 type xcb_set_access_control_request_t = xcb_set_access_control_request_t1 /* xproto.h:4676:3 */ 8203 8204 type xcb_close_down_t = uint32 /* xproto.h:4682:3 */ 8205 8206 //* Opcode for xcb_set_close_down_mode. 8207 8208 // * 8209 // @brief xcb_set_close_down_mode_request_t 8210 // 8211 type xcb_set_close_down_mode_request_t1 = struct { 8212 Fmajor_opcode uint8_t 8213 Fmode uint8_t 8214 Flength uint16_t 8215 } /* xproto.h:4690:9 */ 8216 8217 //* Opcode for xcb_set_close_down_mode. 8218 8219 // * 8220 // @brief xcb_set_close_down_mode_request_t 8221 // 8222 type xcb_set_close_down_mode_request_t = xcb_set_close_down_mode_request_t1 /* xproto.h:4694:3 */ 8223 8224 type xcb_kill_t = uint32 /* xproto.h:4698:3 */ 8225 8226 //* Opcode for xcb_kill_client. 8227 8228 // * 8229 // @brief xcb_kill_client_request_t 8230 // 8231 type xcb_kill_client_request_t1 = struct { 8232 Fmajor_opcode uint8_t 8233 Fpad0 uint8_t 8234 Flength uint16_t 8235 Fresource uint32_t 8236 } /* xproto.h:4706:9 */ 8237 8238 //* Opcode for xcb_kill_client. 8239 8240 // * 8241 // @brief xcb_kill_client_request_t 8242 // 8243 type xcb_kill_client_request_t = xcb_kill_client_request_t1 /* xproto.h:4711:3 */ 8244 8245 //* Opcode for xcb_rotate_properties. 8246 8247 // * 8248 // @brief xcb_rotate_properties_request_t 8249 // 8250 type xcb_rotate_properties_request_t1 = struct { 8251 Fmajor_opcode uint8_t 8252 Fpad0 uint8_t 8253 Flength uint16_t 8254 Fwindow xcb_window_t 8255 Fatoms_len uint16_t 8256 Fdelta int16_t 8257 } /* xproto.h:4719:9 */ 8258 8259 //* Opcode for xcb_rotate_properties. 8260 8261 // * 8262 // @brief xcb_rotate_properties_request_t 8263 // 8264 type xcb_rotate_properties_request_t = xcb_rotate_properties_request_t1 /* xproto.h:4726:3 */ 8265 8266 type xcb_screen_saver_t = uint32 /* xproto.h:4731:3 */ 8267 8268 //* Opcode for xcb_force_screen_saver. 8269 8270 // * 8271 // @brief xcb_force_screen_saver_request_t 8272 // 8273 type xcb_force_screen_saver_request_t1 = struct { 8274 Fmajor_opcode uint8_t 8275 Fmode uint8_t 8276 Flength uint16_t 8277 } /* xproto.h:4739:9 */ 8278 8279 //* Opcode for xcb_force_screen_saver. 8280 8281 // * 8282 // @brief xcb_force_screen_saver_request_t 8283 // 8284 type xcb_force_screen_saver_request_t = xcb_force_screen_saver_request_t1 /* xproto.h:4743:3 */ 8285 8286 type xcb_mapping_status_t = uint32 /* xproto.h:4749:3 */ 8287 8288 // * 8289 // @brief xcb_set_pointer_mapping_cookie_t 8290 // 8291 type xcb_set_pointer_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4754:9 */ 8292 8293 // * 8294 // @brief xcb_set_pointer_mapping_cookie_t 8295 // 8296 type xcb_set_pointer_mapping_cookie_t = xcb_set_pointer_mapping_cookie_t1 /* xproto.h:4756:3 */ 8297 8298 //* Opcode for xcb_set_pointer_mapping. 8299 8300 // * 8301 // @brief xcb_set_pointer_mapping_request_t 8302 // 8303 type xcb_set_pointer_mapping_request_t1 = struct { 8304 Fmajor_opcode uint8_t 8305 Fmap_len uint8_t 8306 Flength uint16_t 8307 } /* xproto.h:4764:9 */ 8308 8309 //* Opcode for xcb_set_pointer_mapping. 8310 8311 // * 8312 // @brief xcb_set_pointer_mapping_request_t 8313 // 8314 type xcb_set_pointer_mapping_request_t = xcb_set_pointer_mapping_request_t1 /* xproto.h:4768:3 */ 8315 8316 // * 8317 // @brief xcb_set_pointer_mapping_reply_t 8318 // 8319 type xcb_set_pointer_mapping_reply_t1 = struct { 8320 Fresponse_type uint8_t 8321 Fstatus uint8_t 8322 Fsequence uint16_t 8323 Flength uint32_t 8324 } /* xproto.h:4773:9 */ 8325 8326 // * 8327 // @brief xcb_set_pointer_mapping_reply_t 8328 // 8329 type xcb_set_pointer_mapping_reply_t = xcb_set_pointer_mapping_reply_t1 /* xproto.h:4778:3 */ 8330 8331 // * 8332 // @brief xcb_get_pointer_mapping_cookie_t 8333 // 8334 type xcb_get_pointer_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4783:9 */ 8335 8336 // * 8337 // @brief xcb_get_pointer_mapping_cookie_t 8338 // 8339 type xcb_get_pointer_mapping_cookie_t = xcb_get_pointer_mapping_cookie_t1 /* xproto.h:4785:3 */ 8340 8341 //* Opcode for xcb_get_pointer_mapping. 8342 8343 // * 8344 // @brief xcb_get_pointer_mapping_request_t 8345 // 8346 type xcb_get_pointer_mapping_request_t1 = struct { 8347 Fmajor_opcode uint8_t 8348 Fpad0 uint8_t 8349 Flength uint16_t 8350 } /* xproto.h:4793:9 */ 8351 8352 //* Opcode for xcb_get_pointer_mapping. 8353 8354 // * 8355 // @brief xcb_get_pointer_mapping_request_t 8356 // 8357 type xcb_get_pointer_mapping_request_t = xcb_get_pointer_mapping_request_t1 /* xproto.h:4797:3 */ 8358 8359 // * 8360 // @brief xcb_get_pointer_mapping_reply_t 8361 // 8362 type xcb_get_pointer_mapping_reply_t1 = struct { 8363 Fresponse_type uint8_t 8364 Fmap_len uint8_t 8365 Fsequence uint16_t 8366 Flength uint32_t 8367 Fpad0 [24]uint8_t 8368 } /* xproto.h:4802:9 */ 8369 8370 // * 8371 // @brief xcb_get_pointer_mapping_reply_t 8372 // 8373 type xcb_get_pointer_mapping_reply_t = xcb_get_pointer_mapping_reply_t1 /* xproto.h:4808:3 */ 8374 8375 type xcb_map_index_t = uint32 /* xproto.h:4819:3 */ 8376 8377 // * 8378 // @brief xcb_set_modifier_mapping_cookie_t 8379 // 8380 type xcb_set_modifier_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4824:9 */ 8381 8382 // * 8383 // @brief xcb_set_modifier_mapping_cookie_t 8384 // 8385 type xcb_set_modifier_mapping_cookie_t = xcb_set_modifier_mapping_cookie_t1 /* xproto.h:4826:3 */ 8386 8387 //* Opcode for xcb_set_modifier_mapping. 8388 8389 // * 8390 // @brief xcb_set_modifier_mapping_request_t 8391 // 8392 type xcb_set_modifier_mapping_request_t1 = struct { 8393 Fmajor_opcode uint8_t 8394 Fkeycodes_per_modifier uint8_t 8395 Flength uint16_t 8396 } /* xproto.h:4834:9 */ 8397 8398 //* Opcode for xcb_set_modifier_mapping. 8399 8400 // * 8401 // @brief xcb_set_modifier_mapping_request_t 8402 // 8403 type xcb_set_modifier_mapping_request_t = xcb_set_modifier_mapping_request_t1 /* xproto.h:4838:3 */ 8404 8405 // * 8406 // @brief xcb_set_modifier_mapping_reply_t 8407 // 8408 type xcb_set_modifier_mapping_reply_t1 = struct { 8409 Fresponse_type uint8_t 8410 Fstatus uint8_t 8411 Fsequence uint16_t 8412 Flength uint32_t 8413 } /* xproto.h:4843:9 */ 8414 8415 // * 8416 // @brief xcb_set_modifier_mapping_reply_t 8417 // 8418 type xcb_set_modifier_mapping_reply_t = xcb_set_modifier_mapping_reply_t1 /* xproto.h:4848:3 */ 8419 8420 // * 8421 // @brief xcb_get_modifier_mapping_cookie_t 8422 // 8423 type xcb_get_modifier_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4853:9 */ 8424 8425 // * 8426 // @brief xcb_get_modifier_mapping_cookie_t 8427 // 8428 type xcb_get_modifier_mapping_cookie_t = xcb_get_modifier_mapping_cookie_t1 /* xproto.h:4855:3 */ 8429 8430 //* Opcode for xcb_get_modifier_mapping. 8431 8432 // * 8433 // @brief xcb_get_modifier_mapping_request_t 8434 // 8435 type xcb_get_modifier_mapping_request_t1 = struct { 8436 Fmajor_opcode uint8_t 8437 Fpad0 uint8_t 8438 Flength uint16_t 8439 } /* xproto.h:4863:9 */ 8440 8441 //* Opcode for xcb_get_modifier_mapping. 8442 8443 // * 8444 // @brief xcb_get_modifier_mapping_request_t 8445 // 8446 type xcb_get_modifier_mapping_request_t = xcb_get_modifier_mapping_request_t1 /* xproto.h:4867:3 */ 8447 8448 // * 8449 // @brief xcb_get_modifier_mapping_reply_t 8450 // 8451 type xcb_get_modifier_mapping_reply_t1 = struct { 8452 Fresponse_type uint8_t 8453 Fkeycodes_per_modifier uint8_t 8454 Fsequence uint16_t 8455 Flength uint32_t 8456 Fpad0 [24]uint8_t 8457 } /* xproto.h:4872:9 */ 8458 8459 // * 8460 // @brief xcb_get_modifier_mapping_reply_t 8461 // 8462 type xcb_get_modifier_mapping_reply_t = xcb_get_modifier_mapping_reply_t1 /* xproto.h:4878:3 */ 8463 8464 //* Opcode for xcb_no_operation. 8465 8466 // * 8467 // @brief xcb_no_operation_request_t 8468 // 8469 type xcb_no_operation_request_t1 = struct { 8470 Fmajor_opcode uint8_t 8471 Fpad0 uint8_t 8472 Flength uint16_t 8473 } /* xproto.h:4886:9 */ 8474 8475 //* Opcode for xcb_no_operation. 8476 8477 // * 8478 // @brief xcb_no_operation_request_t 8479 // 8480 type xcb_no_operation_request_t = xcb_no_operation_request_t1 /* xproto.h:4890:3 */ 8481 8482 // * 8483 // @} 8484 8485 //* XCB_NONE is the universal null resource or null atom parameter value for many core X requests 8486 8487 //* XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters 8488 8489 //* XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t 8490 8491 //* XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables 8492 8493 // xcb_auth.c 8494 8495 // * 8496 // @brief Container for authorization information. 8497 // 8498 // A container for authorization information to be sent to the X server. 8499 type xcb_auth_info_t1 = struct { 8500 Fnamelen int32 8501 Fname uintptr 8502 Fdatalen int32 8503 Fdata uintptr 8504 } /* xcb.h:228:9 */ 8505 8506 // * 8507 // @} 8508 8509 //* XCB_NONE is the universal null resource or null atom parameter value for many core X requests 8510 8511 //* XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters 8512 8513 //* XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t 8514 8515 //* XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables 8516 8517 // xcb_auth.c 8518 8519 // * 8520 // @brief Container for authorization information. 8521 // 8522 // A container for authorization information to be sent to the X server. 8523 type xcb_auth_info_t = xcb_auth_info_t1 /* xcb.h:233:3 */ 8524 8525 // * 8526 // @} 8527 8528 func main1(tls *libc.TLS, _ int32, _ uintptr) int32 { /* screen.c:10:1: */ 8529 bp := tls.Alloc(56) 8530 defer tls.Free(56) 8531 8532 var c uintptr 8533 var screen uintptr 8534 // var screen_nbr int32 at bp+40, 4 8535 8536 // var iter xcb_screen_iterator_t at bp+44, 12 8537 8538 // Open the connection to the X server. Use the DISPLAY environment variable 8539 c = xcb.Xxcb_connect(tls, uintptr(0), bp+40 /* &screen_nbr */) 8540 8541 // Get the screen #screen_nbr 8542 *(*xcb_screen_iterator_t)(unsafe.Pointer(bp + 44 /* iter */)) = xcb.Xxcb_setup_roots_iterator(tls, xcb.Xxcb_get_setup(tls, c)) 8543 __1: 8544 if !((*xcb_screen_iterator_t)(unsafe.Pointer(bp+44 /* &iter */)).Frem != 0) { 8545 goto __3 8546 } 8547 if *(*int32)(unsafe.Pointer(bp + 40 /* screen_nbr */)) == 0 { 8548 screen = (*xcb_screen_iterator_t)(unsafe.Pointer(bp + 44 /* &iter */)).Fdata 8549 goto __3 8550 } 8551 goto __2 8552 __2: 8553 *(*int32)(unsafe.Pointer(bp + 40 /* screen_nbr */))-- 8554 xcb.Xxcb_screen_next(tls, bp+44 /* &iter */) 8555 goto __1 8556 goto __3 8557 __3: 8558 ; 8559 8560 libc.Xprintf(tls, ts /* "\n" */, 0) 8561 libc.Xprintf(tls, ts+2 /* "Informations of ..." */, libc.VaList(bp, (*xcb_screen_t)(unsafe.Pointer(screen)).Froot)) 8562 libc.Xprintf(tls, ts+31 /* " width............" */, libc.VaList(bp+8, int32((*xcb_screen_t)(unsafe.Pointer(screen)).Fwidth_in_pixels))) 8563 libc.Xprintf(tls, ts+53 /* " height..........." */, libc.VaList(bp+16, int32((*xcb_screen_t)(unsafe.Pointer(screen)).Fheight_in_pixels))) 8564 libc.Xprintf(tls, ts+75 /* " white pixel......" */, libc.VaList(bp+24, (*xcb_screen_t)(unsafe.Pointer(screen)).Fwhite_pixel)) 8565 libc.Xprintf(tls, ts+98 /* " black pixel......" */, libc.VaList(bp+32, (*xcb_screen_t)(unsafe.Pointer(screen)).Fblack_pixel)) 8566 libc.Xprintf(tls, ts /* "\n" */, 0) 8567 8568 return 0 8569 } 8570 8571 var ts1 = "\n\x00Informations of screen %ld:\n\x00 width.........: %d\n\x00 height........: %d\n\x00 white pixel...: %ld\n\x00 black pixel...: %ld\n\x00" 8572 var ts = (*reflect.StringHeader)(unsafe.Pointer(&ts1)).Data