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