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