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