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