modernc.org/xcb@v1.0.15/examples/helloworld/helloworld_linux_386.go (about)

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