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