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