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