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