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