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