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