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

     1  // Code generated by 'ccgo -export-fields F -lmodernc.org/xcb/lib -I/opt/homebrew/Cellar/libxcb/1.14_1/include -o examples/helloworld/helloworld_darwin_arm64.go examples/helloworld/helloworld.c', DO NOT EDIT.
     2  
     3  package main
     4  
     5  import (
     6  	"math"
     7  	"reflect"
     8  	"sync/atomic"
     9  	"unsafe"
    10  
    11  	"modernc.org/libc"
    12  	"modernc.org/libc/sys/types"
    13  	"modernc.org/xcb/lib"
    14  )
    15  
    16  var _ = math.Pi
    17  var _ reflect.Kind
    18  var _ atomic.Value
    19  var _ unsafe.Pointer
    20  var _ *libc.TLS
    21  var _ types.Size_t
    22  
    23  func main() { libc.Start(main1) }
    24  
    25  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
    26  //
    27  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    28  //
    29  // This file contains Original Code and/or Modifications of Original Code
    30  // as defined in and that are subject to the Apple Public Source License
    31  // Version 2.0 (the 'License'). You may not use this file except in
    32  // compliance with the License. The rights granted to you under the License
    33  // may not be used to create, or enable the creation or redistribution of,
    34  // unlawful or unlicensed copies of an Apple operating system, or to
    35  // circumvent, violate, or enable the circumvention or violation of, any
    36  // terms of an Apple operating system software license agreement.
    37  //
    38  // Please obtain a copy of the License at
    39  // http://www.opensource.apple.com/apsl/ and read it before using this file.
    40  //
    41  // The Original Code and all software distributed under the License are
    42  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    43  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    44  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    45  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    46  // Please see the License for the specific language governing rights and
    47  // limitations under the License.
    48  //
    49  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    50  
    51  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
    52  //
    53  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    54  //
    55  // This file contains Original Code and/or Modifications of Original Code
    56  // as defined in and that are subject to the Apple Public Source License
    57  // Version 2.0 (the 'License'). You may not use this file except in
    58  // compliance with the License. The rights granted to you under the License
    59  // may not be used to create, or enable the creation or redistribution of,
    60  // unlawful or unlicensed copies of an Apple operating system, or to
    61  // circumvent, violate, or enable the circumvention or violation of, any
    62  // terms of an Apple operating system software license agreement.
    63  //
    64  // Please obtain a copy of the License at
    65  // http://www.opensource.apple.com/apsl/ and read it before using this file.
    66  //
    67  // The Original Code and all software distributed under the License are
    68  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    69  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    70  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    71  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    72  // Please see the License for the specific language governing rights and
    73  // limitations under the License.
    74  //
    75  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    76  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
    77  //
    78  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    79  //
    80  // This file contains Original Code and/or Modifications of Original Code
    81  // as defined in and that are subject to the Apple Public Source License
    82  // Version 2.0 (the 'License'). You may not use this file except in
    83  // compliance with the License. The rights granted to you under the License
    84  // may not be used to create, or enable the creation or redistribution of,
    85  // unlawful or unlicensed copies of an Apple operating system, or to
    86  // circumvent, violate, or enable the circumvention or violation of, any
    87  // terms of an Apple operating system software license agreement.
    88  //
    89  // Please obtain a copy of the License at
    90  // http://www.opensource.apple.com/apsl/ and read it before using this file.
    91  //
    92  // The Original Code and all software distributed under the License are
    93  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    94  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    95  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    96  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    97  // Please see the License for the specific language governing rights and
    98  // limitations under the License.
    99  //
   100  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   101  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   102  //
   103  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   104  //
   105  // This file contains Original Code and/or Modifications of Original Code
   106  // as defined in and that are subject to the Apple Public Source License
   107  // Version 2.0 (the 'License'). You may not use this file except in
   108  // compliance with the License. The rights granted to you under the License
   109  // may not be used to create, or enable the creation or redistribution of,
   110  // unlawful or unlicensed copies of an Apple operating system, or to
   111  // circumvent, violate, or enable the circumvention or violation of, any
   112  // terms of an Apple operating system software license agreement.
   113  //
   114  // Please obtain a copy of the License at
   115  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   116  //
   117  // The Original Code and all software distributed under the License are
   118  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   119  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   120  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   121  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   122  // Please see the License for the specific language governing rights and
   123  // limitations under the License.
   124  //
   125  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   126  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   127  //
   128  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   129  //
   130  // This file contains Original Code and/or Modifications of Original Code
   131  // as defined in and that are subject to the Apple Public Source License
   132  // Version 2.0 (the 'License'). You may not use this file except in
   133  // compliance with the License. The rights granted to you under the License
   134  // may not be used to create, or enable the creation or redistribution of,
   135  // unlawful or unlicensed copies of an Apple operating system, or to
   136  // circumvent, violate, or enable the circumvention or violation of, any
   137  // terms of an Apple operating system software license agreement.
   138  //
   139  // Please obtain a copy of the License at
   140  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   141  //
   142  // The Original Code and all software distributed under the License are
   143  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   144  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   145  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   146  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   147  // Please see the License for the specific language governing rights and
   148  // limitations under the License.
   149  //
   150  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   151  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   152  //
   153  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   154  //
   155  // This file contains Original Code and/or Modifications of Original Code
   156  // as defined in and that are subject to the Apple Public Source License
   157  // Version 2.0 (the 'License'). You may not use this file except in
   158  // compliance with the License. The rights granted to you under the License
   159  // may not be used to create, or enable the creation or redistribution of,
   160  // unlawful or unlicensed copies of an Apple operating system, or to
   161  // circumvent, violate, or enable the circumvention or violation of, any
   162  // terms of an Apple operating system software license agreement.
   163  //
   164  // Please obtain a copy of the License at
   165  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   166  //
   167  // The Original Code and all software distributed under the License are
   168  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   169  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   170  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   171  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   172  // Please see the License for the specific language governing rights and
   173  // limitations under the License.
   174  //
   175  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   176  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   177  //
   178  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   179  //
   180  // This file contains Original Code and/or Modifications of Original Code
   181  // as defined in and that are subject to the Apple Public Source License
   182  // Version 2.0 (the 'License'). You may not use this file except in
   183  // compliance with the License. The rights granted to you under the License
   184  // may not be used to create, or enable the creation or redistribution of,
   185  // unlawful or unlicensed copies of an Apple operating system, or to
   186  // circumvent, violate, or enable the circumvention or violation of, any
   187  // terms of an Apple operating system software license agreement.
   188  //
   189  // Please obtain a copy of the License at
   190  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   191  //
   192  // The Original Code and all software distributed under the License are
   193  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   194  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   195  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   196  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   197  // Please see the License for the specific language governing rights and
   198  // limitations under the License.
   199  //
   200  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   201  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   202  //
   203  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   204  //
   205  // This file contains Original Code and/or Modifications of Original Code
   206  // as defined in and that are subject to the Apple Public Source License
   207  // Version 2.0 (the 'License'). You may not use this file except in
   208  // compliance with the License. The rights granted to you under the License
   209  // may not be used to create, or enable the creation or redistribution of,
   210  // unlawful or unlicensed copies of an Apple operating system, or to
   211  // circumvent, violate, or enable the circumvention or violation of, any
   212  // terms of an Apple operating system software license agreement.
   213  //
   214  // Please obtain a copy of the License at
   215  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   216  //
   217  // The Original Code and all software distributed under the License are
   218  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   219  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   220  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   221  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   222  // Please see the License for the specific language governing rights and
   223  // limitations under the License.
   224  //
   225  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   226  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   227  //
   228  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   229  //
   230  // This file contains Original Code and/or Modifications of Original Code
   231  // as defined in and that are subject to the Apple Public Source License
   232  // Version 2.0 (the 'License'). You may not use this file except in
   233  // compliance with the License. The rights granted to you under the License
   234  // may not be used to create, or enable the creation or redistribution of,
   235  // unlawful or unlicensed copies of an Apple operating system, or to
   236  // circumvent, violate, or enable the circumvention or violation of, any
   237  // terms of an Apple operating system software license agreement.
   238  //
   239  // Please obtain a copy of the License at
   240  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   241  //
   242  // The Original Code and all software distributed under the License are
   243  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   244  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   245  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   246  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   247  // Please see the License for the specific language governing rights and
   248  // limitations under the License.
   249  //
   250  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   251  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   252  //
   253  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   254  //
   255  // This file contains Original Code and/or Modifications of Original Code
   256  // as defined in and that are subject to the Apple Public Source License
   257  // Version 2.0 (the 'License'). You may not use this file except in
   258  // compliance with the License. The rights granted to you under the License
   259  // may not be used to create, or enable the creation or redistribution of,
   260  // unlawful or unlicensed copies of an Apple operating system, or to
   261  // circumvent, violate, or enable the circumvention or violation of, any
   262  // terms of an Apple operating system software license agreement.
   263  //
   264  // Please obtain a copy of the License at
   265  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   266  //
   267  // The Original Code and all software distributed under the License are
   268  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   269  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   270  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   271  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   272  // Please see the License for the specific language governing rights and
   273  // limitations under the License.
   274  //
   275  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   276  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   277  //
   278  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   279  //
   280  // This file contains Original Code and/or Modifications of Original Code
   281  // as defined in and that are subject to the Apple Public Source License
   282  // Version 2.0 (the 'License'). You may not use this file except in
   283  // compliance with the License. The rights granted to you under the License
   284  // may not be used to create, or enable the creation or redistribution of,
   285  // unlawful or unlicensed copies of an Apple operating system, or to
   286  // circumvent, violate, or enable the circumvention or violation of, any
   287  // terms of an Apple operating system software license agreement.
   288  //
   289  // Please obtain a copy of the License at
   290  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   291  //
   292  // The Original Code and all software distributed under the License are
   293  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   294  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   295  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   296  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   297  // Please see the License for the specific language governing rights and
   298  // limitations under the License.
   299  //
   300  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   301  
   302  // Copyright (c) 2013-2014 Apple Inc. All rights reserved.
   303  //
   304  // @APPLE_LICENSE_HEADER_START@
   305  //
   306  // This file contains Original Code and/or Modifications of Original Code
   307  // as defined in and that are subject to the Apple Public Source License
   308  // Version 2.0 (the 'License'). You may not use this file except in
   309  // compliance with the License. Please obtain a copy of the License at
   310  // http://www.opensource.apple.com/apsl/ and read it before using this
   311  // file.
   312  //
   313  // The Original Code and all software distributed under the License are
   314  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   315  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   316  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   317  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   318  // Please see the License for the specific language governing rights and
   319  // limitations under the License.
   320  //
   321  // @APPLE_LICENSE_HEADER_END@
   322  
   323  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   324  //
   325  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   326  //
   327  // This file contains Original Code and/or Modifications of Original Code
   328  // as defined in and that are subject to the Apple Public Source License
   329  // Version 2.0 (the 'License'). You may not use this file except in
   330  // compliance with the License. The rights granted to you under the License
   331  // may not be used to create, or enable the creation or redistribution of,
   332  // unlawful or unlicensed copies of an Apple operating system, or to
   333  // circumvent, violate, or enable the circumvention or violation of, any
   334  // terms of an Apple operating system software license agreement.
   335  //
   336  // Please obtain a copy of the License at
   337  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   338  //
   339  // The Original Code and all software distributed under the License are
   340  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   341  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   342  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   343  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   344  // Please see the License for the specific language governing rights and
   345  // limitations under the License.
   346  //
   347  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   348  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   349  // Copyright (c) 1991, 1993
   350  //	The Regents of the University of California.  All rights reserved.
   351  //
   352  // This code is derived from software contributed to Berkeley by
   353  // Berkeley Software Design, Inc.
   354  //
   355  // Redistribution and use in source and binary forms, with or without
   356  // modification, are permitted provided that the following conditions
   357  // are met:
   358  // 1. Redistributions of source code must retain the above copyright
   359  //    notice, this list of conditions and the following disclaimer.
   360  // 2. Redistributions in binary form must reproduce the above copyright
   361  //    notice, this list of conditions and the following disclaimer in the
   362  //    documentation and/or other materials provided with the distribution.
   363  // 3. All advertising materials mentioning features or use of this software
   364  //    must display the following acknowledgement:
   365  //	This product includes software developed by the University of
   366  //	California, Berkeley and its contributors.
   367  // 4. Neither the name of the University nor the names of its contributors
   368  //    may be used to endorse or promote products derived from this software
   369  //    without specific prior written permission.
   370  //
   371  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   372  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   373  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   374  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   375  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   376  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   377  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   378  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   379  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   380  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   381  // SUCH DAMAGE.
   382  //
   383  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   384  
   385  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   386  //
   387  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   388  //
   389  // This file contains Original Code and/or Modifications of Original Code
   390  // as defined in and that are subject to the Apple Public Source License
   391  // Version 2.0 (the 'License'). You may not use this file except in
   392  // compliance with the License. The rights granted to you under the License
   393  // may not be used to create, or enable the creation or redistribution of,
   394  // unlawful or unlicensed copies of an Apple operating system, or to
   395  // circumvent, violate, or enable the circumvention or violation of, any
   396  // terms of an Apple operating system software license agreement.
   397  //
   398  // Please obtain a copy of the License at
   399  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   400  //
   401  // The Original Code and all software distributed under the License are
   402  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   403  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   404  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   405  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   406  // Please see the License for the specific language governing rights and
   407  // limitations under the License.
   408  //
   409  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   410  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   411  //
   412  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   413  //
   414  // This file contains Original Code and/or Modifications of Original Code
   415  // as defined in and that are subject to the Apple Public Source License
   416  // Version 2.0 (the 'License'). You may not use this file except in
   417  // compliance with the License. The rights granted to you under the License
   418  // may not be used to create, or enable the creation or redistribution of,
   419  // unlawful or unlicensed copies of an Apple operating system, or to
   420  // circumvent, violate, or enable the circumvention or violation of, any
   421  // terms of an Apple operating system software license agreement.
   422  //
   423  // Please obtain a copy of the License at
   424  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   425  //
   426  // The Original Code and all software distributed under the License are
   427  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   428  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   429  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   430  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   431  // Please see the License for the specific language governing rights and
   432  // limitations under the License.
   433  //
   434  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   435  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
   436  //
   437  // @APPLE_LICENSE_HEADER_START@
   438  //
   439  // This file contains Original Code and/or Modifications of Original Code
   440  // as defined in and that are subject to the Apple Public Source License
   441  // Version 2.0 (the 'License'). You may not use this file except in
   442  // compliance with the License. Please obtain a copy of the License at
   443  // http://www.opensource.apple.com/apsl/ and read it before using this
   444  // file.
   445  //
   446  // The Original Code and all software distributed under the License are
   447  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   448  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   449  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   450  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   451  // Please see the License for the specific language governing rights and
   452  // limitations under the License.
   453  //
   454  // @APPLE_LICENSE_HEADER_END@
   455  
   456  // Copyright (c) 2013-2014 Apple Inc. All rights reserved.
   457  //
   458  // @APPLE_LICENSE_HEADER_START@
   459  //
   460  // This file contains Original Code and/or Modifications of Original Code
   461  // as defined in and that are subject to the Apple Public Source License
   462  // Version 2.0 (the 'License'). You may not use this file except in
   463  // compliance with the License. Please obtain a copy of the License at
   464  // http://www.opensource.apple.com/apsl/ and read it before using this
   465  // file.
   466  //
   467  // The Original Code and all software distributed under the License are
   468  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   469  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   470  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   471  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   472  // Please see the License for the specific language governing rights and
   473  // limitations under the License.
   474  //
   475  // @APPLE_LICENSE_HEADER_END@
   476  
   477  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   478  //
   479  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   480  //
   481  // This file contains Original Code and/or Modifications of Original Code
   482  // as defined in and that are subject to the Apple Public Source License
   483  // Version 2.0 (the 'License'). You may not use this file except in
   484  // compliance with the License. The rights granted to you under the License
   485  // may not be used to create, or enable the creation or redistribution of,
   486  // unlawful or unlicensed copies of an Apple operating system, or to
   487  // circumvent, violate, or enable the circumvention or violation of, any
   488  // terms of an Apple operating system software license agreement.
   489  //
   490  // Please obtain a copy of the License at
   491  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   492  //
   493  // The Original Code and all software distributed under the License are
   494  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   495  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   496  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   497  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   498  // Please see the License for the specific language governing rights and
   499  // limitations under the License.
   500  //
   501  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   502  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   503  // Copyright (c) 1991, 1993
   504  //	The Regents of the University of California.  All rights reserved.
   505  //
   506  // This code is derived from software contributed to Berkeley by
   507  // Berkeley Software Design, Inc.
   508  //
   509  // Redistribution and use in source and binary forms, with or without
   510  // modification, are permitted provided that the following conditions
   511  // are met:
   512  // 1. Redistributions of source code must retain the above copyright
   513  //    notice, this list of conditions and the following disclaimer.
   514  // 2. Redistributions in binary form must reproduce the above copyright
   515  //    notice, this list of conditions and the following disclaimer in the
   516  //    documentation and/or other materials provided with the distribution.
   517  // 3. All advertising materials mentioning features or use of this software
   518  //    must display the following acknowledgement:
   519  //	This product includes software developed by the University of
   520  //	California, Berkeley and its contributors.
   521  // 4. Neither the name of the University nor the names of its contributors
   522  //    may be used to endorse or promote products derived from this software
   523  //    without specific prior written permission.
   524  //
   525  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   526  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   527  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   528  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   529  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   530  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   531  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   532  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   533  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   534  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   535  // SUCH DAMAGE.
   536  //
   537  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   538  
   539  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
   540  //
   541  // @APPLE_LICENSE_HEADER_START@
   542  //
   543  // This file contains Original Code and/or Modifications of Original Code
   544  // as defined in and that are subject to the Apple Public Source License
   545  // Version 2.0 (the 'License'). You may not use this file except in
   546  // compliance with the License. Please obtain a copy of the License at
   547  // http://www.opensource.apple.com/apsl/ and read it before using this
   548  // file.
   549  //
   550  // The Original Code and all software distributed under the License are
   551  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   552  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   553  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   554  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   555  // Please see the License for the specific language governing rights and
   556  // limitations under the License.
   557  //
   558  // @APPLE_LICENSE_HEADER_END@
   559  
   560  // !
   561  // @typedef qos_class_t
   562  //
   563  // @abstract
   564  // An abstract thread quality of service (QOS) classification.
   565  //
   566  // @discussion
   567  // Thread quality of service (QOS) classes are ordered abstract representations
   568  // of the nature of work that is expected to be performed by a pthread, dispatch
   569  // queue, or NSOperation. Each class specifies a maximum thread scheduling
   570  // priority for that band (which may be used in combination with a relative
   571  // priority offset within the band), as well as quality of service
   572  // characteristics for timer latency, CPU throughput, I/O throughput, network
   573  // socket traffic management behavior and more.
   574  //
   575  // A best effort is made to allocate available system resources to every QOS
   576  // class. Quality of service degredation only occurs during system resource
   577  // contention, proportionally to the QOS class. That said, QOS classes
   578  // representing user-initiated work attempt to achieve peak throughput while
   579  // QOS classes for other work attempt to achieve peak energy and thermal
   580  // efficiency, even in the absence of contention. Finally, the use of QOS
   581  // classes does not allow threads to supersede any limits that may be applied
   582  // to the overall process.
   583  
   584  // !
   585  // @constant QOS_CLASS_USER_INTERACTIVE
   586  // @abstract A QOS class which indicates work performed by this thread
   587  // is interactive with the user.
   588  // @discussion Such work is requested to run at high priority relative to other
   589  // work on the system. Specifying this QOS class is a request to run with
   590  // nearly all available system CPU and I/O bandwidth even under contention.
   591  // This is not an energy-efficient QOS class to use for large tasks. The use of
   592  // this QOS class should be limited to critical interaction with the user such
   593  // as handling events on the main event loop, view drawing, animation, etc.
   594  //
   595  // @constant QOS_CLASS_USER_INITIATED
   596  // @abstract A QOS class which indicates work performed by this thread
   597  // was initiated by the user and that the user is likely waiting for the
   598  // results.
   599  // @discussion Such work is requested to run at a priority below critical user-
   600  // interactive work, but relatively higher than other work on the system. This
   601  // is not an energy-efficient QOS class to use for large tasks. Its use
   602  // should be limited to operations of short enough duration that the user is
   603  // unlikely to switch tasks while waiting for the results. Typical
   604  // user-initiated work will have progress indicated by the display of
   605  // placeholder content or modal user interface.
   606  //
   607  // @constant QOS_CLASS_DEFAULT
   608  // @abstract A default QOS class used by the system in cases where more specific
   609  // QOS class information is not available.
   610  // @discussion Such work is requested to run at a priority below critical user-
   611  // interactive and user-initiated work, but relatively higher than utility and
   612  // background tasks. Threads created by pthread_create() without an attribute
   613  // specifying a QOS class will default to QOS_CLASS_DEFAULT. This QOS class
   614  // value is not intended to be used as a work classification, it should only be
   615  // set when propagating or restoring QOS class values provided by the system.
   616  //
   617  // @constant QOS_CLASS_UTILITY
   618  // @abstract A QOS class which indicates work performed by this thread
   619  // may or may not be initiated by the user and that the user is unlikely to be
   620  // immediately waiting for the results.
   621  // @discussion Such work is requested to run at a priority below critical user-
   622  // interactive and user-initiated work, but relatively higher than low-level
   623  // system maintenance tasks. The use of this QOS class indicates the work
   624  // should be run in an energy and thermally-efficient manner. The progress of
   625  // utility work may or may not be indicated to the user, but the effect of such
   626  // work is user-visible.
   627  //
   628  // @constant QOS_CLASS_BACKGROUND
   629  // @abstract A QOS class which indicates work performed by this thread was not
   630  // initiated by the user and that the user may be unaware of the results.
   631  // @discussion Such work is requested to run at a priority below other work.
   632  // The use of this QOS class indicates the work should be run in the most energy
   633  // and thermally-efficient manner.
   634  //
   635  // @constant QOS_CLASS_UNSPECIFIED
   636  // @abstract A QOS class value which indicates the absence or removal of QOS
   637  // class information.
   638  // @discussion As an API return value, may indicate that threads or pthread
   639  // attributes were configured with legacy API incompatible or in conflict with
   640  // the QOS class system.
   641  
   642  const ( /* qos.h:130:1: */
   643  	QOS_CLASS_USER_INTERACTIVE = 33
   644  	QOS_CLASS_USER_INITIATED   = 25
   645  	QOS_CLASS_DEFAULT          = 21
   646  	QOS_CLASS_UTILITY          = 17
   647  	QOS_CLASS_BACKGROUND       = 9
   648  	QOS_CLASS_UNSPECIFIED      = 0
   649  )
   650  
   651  // IO direction for uio_t.
   652  //	UIO_READ - data moves into iovec(s) associated with uio_t
   653  //	UIO_WRITE - data moves out of iovec(s) associated with uio_t
   654  const ( /* uio.h:92:1: */
   655  	UIO_READ  = 0
   656  	UIO_WRITE = 1
   657  )
   658  
   659  const ( /* time.h:153:1: */
   660  	_CLOCK_REALTIME             = 0
   661  	_CLOCK_MONOTONIC            = 6
   662  	_CLOCK_MONOTONIC_RAW        = 4
   663  	_CLOCK_MONOTONIC_RAW_APPROX = 5
   664  	_CLOCK_UPTIME_RAW           = 8
   665  	_CLOCK_UPTIME_RAW_APPROX    = 9
   666  	_CLOCK_PROCESS_CPUTIME_ID   = 12
   667  	_CLOCK_THREAD_CPUTIME_ID    = 16
   668  )
   669  
   670  const ( /* xproto.h:1028:1: */
   671  	XCB_TIME_CURRENT_TIME = 0
   672  )
   673  
   674  const ( /* xproto.h:1032:1: */
   675  	XCB_ATOM_NONE                = 0
   676  	XCB_ATOM_ANY                 = 0
   677  	XCB_ATOM_PRIMARY             = 1
   678  	XCB_ATOM_SECONDARY           = 2
   679  	XCB_ATOM_ARC                 = 3
   680  	XCB_ATOM_ATOM                = 4
   681  	XCB_ATOM_BITMAP              = 5
   682  	XCB_ATOM_CARDINAL            = 6
   683  	XCB_ATOM_COLORMAP            = 7
   684  	XCB_ATOM_CURSOR              = 8
   685  	XCB_ATOM_CUT_BUFFER0         = 9
   686  	XCB_ATOM_CUT_BUFFER1         = 10
   687  	XCB_ATOM_CUT_BUFFER2         = 11
   688  	XCB_ATOM_CUT_BUFFER3         = 12
   689  	XCB_ATOM_CUT_BUFFER4         = 13
   690  	XCB_ATOM_CUT_BUFFER5         = 14
   691  	XCB_ATOM_CUT_BUFFER6         = 15
   692  	XCB_ATOM_CUT_BUFFER7         = 16
   693  	XCB_ATOM_DRAWABLE            = 17
   694  	XCB_ATOM_FONT                = 18
   695  	XCB_ATOM_INTEGER             = 19
   696  	XCB_ATOM_PIXMAP              = 20
   697  	XCB_ATOM_POINT               = 21
   698  	XCB_ATOM_RECTANGLE           = 22
   699  	XCB_ATOM_RESOURCE_MANAGER    = 23
   700  	XCB_ATOM_RGB_COLOR_MAP       = 24
   701  	XCB_ATOM_RGB_BEST_MAP        = 25
   702  	XCB_ATOM_RGB_BLUE_MAP        = 26
   703  	XCB_ATOM_RGB_DEFAULT_MAP     = 27
   704  	XCB_ATOM_RGB_GRAY_MAP        = 28
   705  	XCB_ATOM_RGB_GREEN_MAP       = 29
   706  	XCB_ATOM_RGB_RED_MAP         = 30
   707  	XCB_ATOM_STRING              = 31
   708  	XCB_ATOM_VISUALID            = 32
   709  	XCB_ATOM_WINDOW              = 33
   710  	XCB_ATOM_WM_COMMAND          = 34
   711  	XCB_ATOM_WM_HINTS            = 35
   712  	XCB_ATOM_WM_CLIENT_MACHINE   = 36
   713  	XCB_ATOM_WM_ICON_NAME        = 37
   714  	XCB_ATOM_WM_ICON_SIZE        = 38
   715  	XCB_ATOM_WM_NAME             = 39
   716  	XCB_ATOM_WM_NORMAL_HINTS     = 40
   717  	XCB_ATOM_WM_SIZE_HINTS       = 41
   718  	XCB_ATOM_WM_ZOOM_HINTS       = 42
   719  	XCB_ATOM_MIN_SPACE           = 43
   720  	XCB_ATOM_NORM_SPACE          = 44
   721  	XCB_ATOM_MAX_SPACE           = 45
   722  	XCB_ATOM_END_SPACE           = 46
   723  	XCB_ATOM_SUPERSCRIPT_X       = 47
   724  	XCB_ATOM_SUPERSCRIPT_Y       = 48
   725  	XCB_ATOM_SUBSCRIPT_X         = 49
   726  	XCB_ATOM_SUBSCRIPT_Y         = 50
   727  	XCB_ATOM_UNDERLINE_POSITION  = 51
   728  	XCB_ATOM_UNDERLINE_THICKNESS = 52
   729  	XCB_ATOM_STRIKEOUT_ASCENT    = 53
   730  	XCB_ATOM_STRIKEOUT_DESCENT   = 54
   731  	XCB_ATOM_ITALIC_ANGLE        = 55
   732  	XCB_ATOM_X_HEIGHT            = 56
   733  	XCB_ATOM_QUAD_WIDTH          = 57
   734  	XCB_ATOM_WEIGHT              = 58
   735  	XCB_ATOM_POINT_SIZE          = 59
   736  	XCB_ATOM_RESOLUTION          = 60
   737  	XCB_ATOM_COPYRIGHT           = 61
   738  	XCB_ATOM_NOTICE              = 62
   739  	XCB_ATOM_FONT_NAME           = 63
   740  	XCB_ATOM_FAMILY_NAME         = 64
   741  	XCB_ATOM_FULL_NAME           = 65
   742  	XCB_ATOM_CAP_HEIGHT          = 66
   743  	XCB_ATOM_WM_CLASS            = 67
   744  	XCB_ATOM_WM_TRANSIENT_FOR    = 68
   745  )
   746  
   747  const ( /* xproto.h:1140:1: */
   748  	XCB_COLORMAP_STATE_UNINSTALLED = 0
   749  	//*< The colormap was uninstalled.
   750  
   751  	XCB_COLORMAP_STATE_INSTALLED = 1
   752  )
   753  
   754  const ( /* xproto.h:1149:1: */
   755  	XCB_COLORMAP_NONE = 0
   756  )
   757  
   758  const ( /* xproto.h:1203:1: */
   759  	XCB_MAPPING_MODIFIER = 0
   760  	XCB_MAPPING_KEYBOARD = 1
   761  	XCB_MAPPING_POINTER  = 2
   762  )
   763  
   764  const ( /* xproto.h:1348:1: */
   765  	XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0
   766  	XCB_WINDOW_CLASS_INPUT_OUTPUT     = 1
   767  	XCB_WINDOW_CLASS_INPUT_ONLY       = 2
   768  )
   769  
   770  const ( /* xproto.h:1354:1: */
   771  	XCB_CW_BACK_PIXMAP = 1
   772  	//*< Overrides the default background-pixmap. The background pixmap and window must
   773  	// have the same root and same depth. Any size pixmap can be used, although some
   774  	// sizes may be faster than others.
   775  	//
   776  	// If `XCB_BACK_PIXMAP_NONE` is specified, the window has no defined background.
   777  	// The server may fill the contents with the previous screen contents or with
   778  	// contents of its own choosing.
   779  	//
   780  	// If `XCB_BACK_PIXMAP_PARENT_RELATIVE` is specified, the parent's background is
   781  	// used, but the window must have the same depth as the parent (or a Match error
   782  	// results).   The parent's background is tracked, and the current version is
   783  	// used each time the window background is required.
   784  
   785  	XCB_CW_BACK_PIXEL = 2
   786  	//*< Overrides `BackPixmap`. A pixmap of undefined size filled with the specified
   787  	// background pixel is used for the background. Range-checking is not performed,
   788  	// the background pixel is truncated to the appropriate number of bits.
   789  
   790  	XCB_CW_BORDER_PIXMAP = 4
   791  	//*< Overrides the default border-pixmap. The border pixmap and window must have the
   792  	// same root and the same depth. Any size pixmap can be used, although some sizes
   793  	// may be faster than others.
   794  	//
   795  	// The special value `XCB_COPY_FROM_PARENT` means the parent's border pixmap is
   796  	// copied (subsequent changes to the parent's border attribute do not affect the
   797  	// child), but the window must have the same depth as the parent.
   798  
   799  	XCB_CW_BORDER_PIXEL = 8
   800  	//*< Overrides `BorderPixmap`. A pixmap of undefined size filled with the specified
   801  	// border pixel is used for the border. Range checking is not performed on the
   802  	// border-pixel value, it is truncated to the appropriate number of bits.
   803  
   804  	XCB_CW_BIT_GRAVITY = 16
   805  	//*< Defines which region of the window should be retained if the window is resized.
   806  
   807  	XCB_CW_WIN_GRAVITY = 32
   808  	//*< Defines how the window should be repositioned if the parent is resized (see
   809  	// `ConfigureWindow`).
   810  
   811  	XCB_CW_BACKING_STORE = 64
   812  	//*< A backing-store of `WhenMapped` advises the server that maintaining contents of
   813  	// obscured regions when the window is mapped would be beneficial. A backing-store
   814  	// of `Always` advises the server that maintaining contents even when the window
   815  	// is unmapped would be beneficial. In this case, the server may generate an
   816  	// exposure event when the window is created. A value of `NotUseful` advises the
   817  	// server that maintaining contents is unnecessary, although a server may still
   818  	// choose to maintain contents while the window is mapped. Note that if the server
   819  	// maintains contents, then the server should maintain complete contents not just
   820  	// the region within the parent boundaries, even if the window is larger than its
   821  	// parent. While the server maintains contents, exposure events will not normally
   822  	// be generated, but the server may stop maintaining contents at any time.
   823  
   824  	XCB_CW_BACKING_PLANES = 128
   825  	//*< The backing-planes indicates (with bits set to 1) which bit planes of the
   826  	// window hold dynamic data that must be preserved in backing-stores and during
   827  	// save-unders.
   828  
   829  	XCB_CW_BACKING_PIXEL = 256
   830  	//*< The backing-pixel specifies what value to use in planes not covered by
   831  	// backing-planes. The server is free to save only the specified bit planes in the
   832  	// backing-store or save-under and regenerate the remaining planes with the
   833  	// specified pixel value. Any bits beyond the specified depth of the window in
   834  	// these values are simply ignored.
   835  
   836  	XCB_CW_OVERRIDE_REDIRECT = 512
   837  	//*< The override-redirect specifies whether map and configure requests on this
   838  	// window should override a SubstructureRedirect on the parent, typically to
   839  	// inform a window manager not to tamper with the window.
   840  
   841  	XCB_CW_SAVE_UNDER = 1024
   842  	//*< If 1, the server is advised that when this window is mapped, saving the
   843  	// contents of windows it obscures would be beneficial.
   844  
   845  	XCB_CW_EVENT_MASK = 2048
   846  	//*< The event-mask defines which events the client is interested in for this window
   847  	// (or for some event types, inferiors of the window).
   848  
   849  	XCB_CW_DONT_PROPAGATE = 4096
   850  	//*< The do-not-propagate-mask defines which events should not be propagated to
   851  	// ancestor windows when no client has the event type selected in this window.
   852  
   853  	XCB_CW_COLORMAP = 8192
   854  	//*< The colormap specifies the colormap that best reflects the true colors of the window. Servers
   855  	// capable of supporting multiple hardware colormaps may use this information, and window man-
   856  	// agers may use it for InstallColormap requests. The colormap must have the same visual type
   857  	// and root as the window (or a Match error results). If CopyFromParent is specified, the parent's
   858  	// colormap is copied (subsequent changes to the parent's colormap attribute do not affect the child).
   859  	// However, the window must have the same visual type as the parent (or a Match error results),
   860  	// and the parent must not have a colormap of None (or a Match error results). For an explanation
   861  	// of None, see FreeColormap request. The colormap is copied by sharing the colormap object
   862  	// between the child and the parent, not by making a complete copy of the colormap contents.
   863  
   864  	XCB_CW_CURSOR = 16384
   865  )
   866  
   867  const ( /* xproto.h:1455:1: */
   868  	XCB_BACK_PIXMAP_NONE            = 0
   869  	XCB_BACK_PIXMAP_PARENT_RELATIVE = 1
   870  )
   871  
   872  const ( /* xproto.h:1460:1: */
   873  	XCB_GRAVITY_BIT_FORGET = 0
   874  	XCB_GRAVITY_WIN_UNMAP  = 0
   875  	XCB_GRAVITY_NORTH_WEST = 1
   876  	XCB_GRAVITY_NORTH      = 2
   877  	XCB_GRAVITY_NORTH_EAST = 3
   878  	XCB_GRAVITY_WEST       = 4
   879  	XCB_GRAVITY_CENTER     = 5
   880  	XCB_GRAVITY_EAST       = 6
   881  	XCB_GRAVITY_SOUTH_WEST = 7
   882  	XCB_GRAVITY_SOUTH      = 8
   883  	XCB_GRAVITY_SOUTH_EAST = 9
   884  	XCB_GRAVITY_STATIC     = 10
   885  )
   886  
   887  const ( /* xproto.h:1553:1: */
   888  	XCB_MAP_STATE_UNMAPPED   = 0
   889  	XCB_MAP_STATE_UNVIEWABLE = 1
   890  	XCB_MAP_STATE_VIEWABLE   = 2
   891  )
   892  
   893  const ( /* xproto.h:1630:1: */
   894  	XCB_SET_MODE_INSERT = 0
   895  	XCB_SET_MODE_DELETE = 1
   896  )
   897  
   898  const ( /* xproto.h:1716:1: */
   899  	XCB_CONFIG_WINDOW_X            = 1
   900  	XCB_CONFIG_WINDOW_Y            = 2
   901  	XCB_CONFIG_WINDOW_WIDTH        = 4
   902  	XCB_CONFIG_WINDOW_HEIGHT       = 8
   903  	XCB_CONFIG_WINDOW_BORDER_WIDTH = 16
   904  	XCB_CONFIG_WINDOW_SIBLING      = 32
   905  	XCB_CONFIG_WINDOW_STACK_MODE   = 64
   906  )
   907  
   908  const ( /* xproto.h:1726:1: */
   909  	XCB_STACK_MODE_ABOVE     = 0
   910  	XCB_STACK_MODE_BELOW     = 1
   911  	XCB_STACK_MODE_TOP_IF    = 2
   912  	XCB_STACK_MODE_BOTTOM_IF = 3
   913  	XCB_STACK_MODE_OPPOSITE  = 4
   914  )
   915  
   916  const ( /* xproto.h:1762:1: */
   917  	XCB_CIRCULATE_RAISE_LOWEST  = 0
   918  	XCB_CIRCULATE_LOWER_HIGHEST = 1
   919  )
   920  
   921  const ( /* xproto.h:1915:1: */
   922  	XCB_PROP_MODE_REPLACE = 0
   923  	//*< Discard the previous property value and store the new data.
   924  
   925  	XCB_PROP_MODE_PREPEND = 1
   926  	//*< Insert the new data before the beginning of existing data. The `format` must
   927  	// match existing property value. If the property is undefined, it is treated as
   928  	// defined with the correct type and format with zero-length data.
   929  
   930  	XCB_PROP_MODE_APPEND = 2
   931  )
   932  
   933  const ( /* xproto.h:1963:1: */
   934  	XCB_GET_PROPERTY_TYPE_ANY = 0
   935  )
   936  
   937  const ( /* xproto.h:2100:1: */
   938  	XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0
   939  	XCB_SEND_EVENT_DEST_ITEM_FOCUS     = 1
   940  )
   941  
   942  const ( /* xproto.h:2120:1: */
   943  	XCB_GRAB_MODE_SYNC = 0
   944  	//*< The state of the keyboard appears to freeze: No further keyboard events are
   945  	// generated by the server until the grabbing client issues a releasing
   946  	// `AllowEvents` request or until the keyboard grab is released.
   947  
   948  	XCB_GRAB_MODE_ASYNC = 1
   949  )
   950  
   951  const ( /* xproto.h:2131:1: */
   952  	XCB_GRAB_STATUS_SUCCESS         = 0
   953  	XCB_GRAB_STATUS_ALREADY_GRABBED = 1
   954  	XCB_GRAB_STATUS_INVALID_TIME    = 2
   955  	XCB_GRAB_STATUS_NOT_VIEWABLE    = 3
   956  	XCB_GRAB_STATUS_FROZEN          = 4
   957  )
   958  
   959  const ( /* xproto.h:2139:1: */
   960  	XCB_CURSOR_NONE = 0
   961  )
   962  
   963  const ( /* xproto.h:2192:1: */
   964  	XCB_BUTTON_INDEX_ANY = 0
   965  	//*< Any of the following (or none):
   966  
   967  	XCB_BUTTON_INDEX_1 = 1
   968  	//*< The left mouse button.
   969  
   970  	XCB_BUTTON_INDEX_2 = 2
   971  	//*< The right mouse button.
   972  
   973  	XCB_BUTTON_INDEX_3 = 3
   974  	//*< The middle mouse button.
   975  
   976  	XCB_BUTTON_INDEX_4 = 4
   977  	//*< Scroll wheel. TODO: direction?
   978  
   979  	XCB_BUTTON_INDEX_5 = 5
   980  )
   981  
   982  const ( /* xproto.h:2312:1: */
   983  	XCB_GRAB_ANY = 0
   984  )
   985  
   986  const ( /* xproto.h:2349:1: */
   987  	XCB_ALLOW_ASYNC_POINTER = 0
   988  	//*< For AsyncPointer, if the pointer is frozen by the client, pointer event
   989  	// processing continues normally. If the pointer is frozen twice by the client on
   990  	// behalf of two separate grabs, AsyncPointer thaws for both. AsyncPointer has no
   991  	// effect if the pointer is not frozen by the client, but the pointer need not be
   992  	// grabbed by the client.
   993  	//
   994  	// TODO: rewrite this in more understandable terms.
   995  
   996  	XCB_ALLOW_SYNC_POINTER = 1
   997  	//*< For SyncPointer, if the pointer is frozen and actively grabbed by the client,
   998  	// pointer event processing continues normally until the next ButtonPress or
   999  	// ButtonRelease event is reported to the client, at which time the pointer again
  1000  	// appears to freeze. However, if the reported event causes the pointer grab to be
  1001  	// released, then the pointer does not freeze. SyncPointer has no effect if the
  1002  	// pointer is not frozen by the client or if the pointer is not grabbed by the
  1003  	// client.
  1004  
  1005  	XCB_ALLOW_REPLAY_POINTER = 2
  1006  	//*< For ReplayPointer, if the pointer is actively grabbed by the client and is
  1007  	// frozen as the result of an event having been sent to the client (either from
  1008  	// the activation of a GrabButton or from a previous AllowEvents with mode
  1009  	// SyncPointer but not from a GrabPointer), then the pointer grab is released and
  1010  	// that event is completely reprocessed, this time ignoring any passive grabs at
  1011  	// or above (towards the root) the grab-window of the grab just released. The
  1012  	// request has no effect if the pointer is not grabbed by the client or if the
  1013  	// pointer is not frozen as the result of an event.
  1014  
  1015  	XCB_ALLOW_ASYNC_KEYBOARD = 3
  1016  	//*< For AsyncKeyboard, if the keyboard is frozen by the client, keyboard event
  1017  	// processing continues normally. If the keyboard is frozen twice by the client on
  1018  	// behalf of two separate grabs, AsyncKeyboard thaws for both. AsyncKeyboard has
  1019  	// no effect if the keyboard is not frozen by the client, but the keyboard need
  1020  	// not be grabbed by the client.
  1021  
  1022  	XCB_ALLOW_SYNC_KEYBOARD = 4
  1023  	//*< For SyncKeyboard, if the keyboard is frozen and actively grabbed by the client,
  1024  	// keyboard event processing continues normally until the next KeyPress or
  1025  	// KeyRelease event is reported to the client, at which time the keyboard again
  1026  	// appears to freeze. However, if the reported event causes the keyboard grab to
  1027  	// be released, then the keyboard does not freeze. SyncKeyboard has no effect if
  1028  	// the keyboard is not frozen by the client or if the keyboard is not grabbed by
  1029  	// the client.
  1030  
  1031  	XCB_ALLOW_REPLAY_KEYBOARD = 5
  1032  	//*< For ReplayKeyboard, if the keyboard is actively grabbed by the client and is
  1033  	// frozen as the result of an event having been sent to the client (either from
  1034  	// the activation of a GrabKey or from a previous AllowEvents with mode
  1035  	// SyncKeyboard but not from a GrabKeyboard), then the keyboard grab is released
  1036  	// and that event is completely reprocessed, this time ignoring any passive grabs
  1037  	// at or above (towards the root) the grab-window of the grab just released. The
  1038  	// request has no effect if the keyboard is not grabbed by the client or if the
  1039  	// keyboard is not frozen as the result of an event.
  1040  
  1041  	XCB_ALLOW_ASYNC_BOTH = 6
  1042  	//*< For AsyncBoth, if the pointer and the keyboard are frozen by the client, event
  1043  	// processing for both devices continues normally. If a device is frozen twice by
  1044  	// the client on behalf of two separate grabs, AsyncBoth thaws for both. AsyncBoth
  1045  	// has no effect unless both pointer and keyboard are frozen by the client.
  1046  
  1047  	XCB_ALLOW_SYNC_BOTH = 7
  1048  )
  1049  
  1050  const ( /* xproto.h:2608:1: */
  1051  	XCB_INPUT_FOCUS_NONE = 0
  1052  	//*< The focus reverts to `XCB_NONE`, so no window will have the input focus.
  1053  
  1054  	XCB_INPUT_FOCUS_POINTER_ROOT = 1
  1055  	//*< The focus reverts to `XCB_POINTER_ROOT` respectively. When the focus reverts,
  1056  	// FocusIn and FocusOut events are generated, but the last-focus-change time is
  1057  	// not changed.
  1058  
  1059  	XCB_INPUT_FOCUS_PARENT = 2
  1060  	//*< The focus reverts to the parent (or closest viewable ancestor) and the new
  1061  	// revert_to value is `XCB_INPUT_FOCUS_NONE`.
  1062  
  1063  	XCB_INPUT_FOCUS_FOLLOW_KEYBOARD = 3
  1064  )
  1065  
  1066  const ( /* xproto.h:2728:1: */
  1067  	XCB_FONT_DRAW_LEFT_TO_RIGHT = 0
  1068  	XCB_FONT_DRAW_RIGHT_TO_LEFT = 1
  1069  )
  1070  
  1071  const ( /* xproto.h:290:1: */
  1072  	XCB_VISUAL_CLASS_STATIC_GRAY  = 0
  1073  	XCB_VISUAL_CLASS_GRAY_SCALE   = 1
  1074  	XCB_VISUAL_CLASS_STATIC_COLOR = 2
  1075  	XCB_VISUAL_CLASS_PSEUDO_COLOR = 3
  1076  	XCB_VISUAL_CLASS_TRUE_COLOR   = 4
  1077  	XCB_VISUAL_CLASS_DIRECT_COLOR = 5
  1078  )
  1079  
  1080  const ( /* xproto.h:3022:1: */
  1081  	XCB_GC_FUNCTION = 1
  1082  	//*< TODO: Refer to GX
  1083  
  1084  	XCB_GC_PLANE_MASK = 2
  1085  	//*< In graphics operations, given a source and destination pixel, the result is
  1086  	// computed bitwise on corresponding bits of the pixels; that is, a Boolean
  1087  	// operation is performed in each bit plane. The plane-mask restricts the
  1088  	// operation to a subset of planes, so the result is:
  1089  	//
  1090  	//         ((src FUNC dst) AND plane-mask) OR (dst AND (NOT plane-mask))
  1091  
  1092  	XCB_GC_FOREGROUND = 4
  1093  	//*< Foreground colorpixel.
  1094  
  1095  	XCB_GC_BACKGROUND = 8
  1096  	//*< Background colorpixel.
  1097  
  1098  	XCB_GC_LINE_WIDTH = 16
  1099  	//*< The line-width is measured in pixels and can be greater than or equal to one, a wide line, or the
  1100  	// special value zero, a thin line.
  1101  
  1102  	XCB_GC_LINE_STYLE = 32
  1103  	//*< The line-style defines which sections of a line are drawn:
  1104  	// Solid                The full path of the line is drawn.
  1105  	// DoubleDash           The full path of the line is drawn, but the even dashes are filled differently
  1106  	//                      than the odd dashes (see fill-style), with Butt cap-style used where even and
  1107  	//                      odd dashes meet.
  1108  	// OnOffDash            Only the even dashes are drawn, and cap-style applies to all internal ends of
  1109  	//                      the individual dashes (except NotLast is treated as Butt).
  1110  
  1111  	XCB_GC_CAP_STYLE = 64
  1112  	//*< The cap-style defines how the endpoints of a path are drawn:
  1113  	// NotLast    The result is equivalent to Butt, except that for a line-width of zero the final
  1114  	//            endpoint is not drawn.
  1115  	// Butt       The result is square at the endpoint (perpendicular to the slope of the line)
  1116  	//            with no projection beyond.
  1117  	// Round      The result is a circular arc with its diameter equal to the line-width, centered
  1118  	//            on the endpoint; it is equivalent to Butt for line-width zero.
  1119  	// Projecting The result is square at the end, but the path continues beyond the endpoint for
  1120  	//            a distance equal to half the line-width; it is equivalent to Butt for line-width
  1121  	//            zero.
  1122  
  1123  	XCB_GC_JOIN_STYLE = 128
  1124  	//*< The join-style defines how corners are drawn for wide lines:
  1125  	// Miter               The outer edges of the two lines extend to meet at an angle. However, if the
  1126  	//                     angle is less than 11 degrees, a Bevel join-style is used instead.
  1127  	// Round               The result is a circular arc with a diameter equal to the line-width, centered
  1128  	//                     on the joinpoint.
  1129  	// Bevel               The result is Butt endpoint styles, and then the triangular notch is filled.
  1130  
  1131  	XCB_GC_FILL_STYLE = 256
  1132  	//*< The fill-style defines the contents of the source for line, text, and fill requests. For all text and fill
  1133  	// requests (for example, PolyText8, PolyText16, PolyFillRectangle, FillPoly, and PolyFillArc)
  1134  	// as well as for line requests with line-style Solid, (for example, PolyLine, PolySegment,
  1135  	// PolyRectangle, PolyArc) and for the even dashes for line requests with line-style OnOffDash
  1136  	// or DoubleDash:
  1137  	// Solid                     Foreground
  1138  	// Tiled                     Tile
  1139  	// OpaqueStippled            A tile with the same width and height as stipple but with background
  1140  	//                           everywhere stipple has a zero and with foreground everywhere stipple
  1141  	//                           has a one
  1142  	// Stippled                  Foreground masked by stipple
  1143  	// For the odd dashes for line requests with line-style DoubleDash:
  1144  	// Solid                     Background
  1145  	// Tiled                     Same as for even dashes
  1146  	// OpaqueStippled            Same as for even dashes
  1147  	// Stippled                  Background masked by stipple
  1148  
  1149  	XCB_GC_FILL_RULE = 512
  1150  	//*<
  1151  
  1152  	XCB_GC_TILE = 1024
  1153  	//*< The tile/stipple represents an infinite two-dimensional plane with the tile/stipple replicated in all
  1154  	// dimensions. When that plane is superimposed on the drawable for use in a graphics operation,
  1155  	// the upper-left corner of some instance of the tile/stipple is at the coordinates within the drawable
  1156  	// specified by the tile/stipple origin. The tile/stipple and clip origins are interpreted relative to the
  1157  	// origin of whatever destination drawable is specified in a graphics request.
  1158  	// The tile pixmap must have the same root and depth as the gcontext (or a Match error results).
  1159  	// The stipple pixmap must have depth one and must have the same root as the gcontext (or a
  1160  	// Match error results). For fill-style Stippled (but not fill-style
  1161  	// OpaqueStippled), the stipple pattern is tiled in a single plane and acts as an
  1162  	// additional clip mask to be ANDed with the clip-mask.
  1163  	// Any size pixmap can be used for tiling or stippling, although some sizes may be faster to use than
  1164  	// others.
  1165  
  1166  	XCB_GC_STIPPLE = 2048
  1167  	//*< The tile/stipple represents an infinite two-dimensional plane with the tile/stipple replicated in all
  1168  	// dimensions. When that plane is superimposed on the drawable for use in a graphics operation,
  1169  	// the upper-left corner of some instance of the tile/stipple is at the coordinates within the drawable
  1170  	// specified by the tile/stipple origin. The tile/stipple and clip origins are interpreted relative to the
  1171  	// origin of whatever destination drawable is specified in a graphics request.
  1172  	// The tile pixmap must have the same root and depth as the gcontext (or a Match error results).
  1173  	// The stipple pixmap must have depth one and must have the same root as the gcontext (or a
  1174  	// Match error results). For fill-style Stippled (but not fill-style
  1175  	// OpaqueStippled), the stipple pattern is tiled in a single plane and acts as an
  1176  	// additional clip mask to be ANDed with the clip-mask.
  1177  	// Any size pixmap can be used for tiling or stippling, although some sizes may be faster to use than
  1178  	// others.
  1179  
  1180  	XCB_GC_TILE_STIPPLE_ORIGIN_X = 4096
  1181  	//*< TODO
  1182  
  1183  	XCB_GC_TILE_STIPPLE_ORIGIN_Y = 8192
  1184  	//*< TODO
  1185  
  1186  	XCB_GC_FONT = 16384
  1187  	//*< Which font to use for the `ImageText8` and `ImageText16` requests.
  1188  
  1189  	XCB_GC_SUBWINDOW_MODE = 32768
  1190  	//*< For ClipByChildren, both source and destination windows are additionally
  1191  	// clipped by all viewable InputOutput children. For IncludeInferiors, neither
  1192  	// source nor destination window is
  1193  	// clipped by inferiors. This will result in including subwindow contents in the source and drawing
  1194  	// through subwindow boundaries of the destination. The use of IncludeInferiors with a source or
  1195  	// destination window of one depth with mapped inferiors of differing depth is not illegal, but the
  1196  	// semantics is undefined by the core protocol.
  1197  
  1198  	XCB_GC_GRAPHICS_EXPOSURES = 65536
  1199  	//*< Whether ExposureEvents should be generated (1) or not (0).
  1200  	//
  1201  	// The default is 1.
  1202  
  1203  	XCB_GC_CLIP_ORIGIN_X = 131072
  1204  	//*< TODO
  1205  
  1206  	XCB_GC_CLIP_ORIGIN_Y = 262144
  1207  	//*< TODO
  1208  
  1209  	XCB_GC_CLIP_MASK = 524288
  1210  	//*< The clip-mask restricts writes to the destination drawable. Only pixels where the clip-mask has
  1211  	// bits set to 1 are drawn. Pixels are not drawn outside the area covered by the clip-mask or where
  1212  	// the clip-mask has bits set to 0. The clip-mask affects all graphics requests, but it does not clip
  1213  	// 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
  1214  	// depth 1 and have the same root as the gcontext (or a Match error results). If clip-mask is None,
  1215  	// then pixels are always drawn, regardless of the clip origin. The clip-mask can also be set with the
  1216  	// SetClipRectangles request.
  1217  
  1218  	XCB_GC_DASH_OFFSET = 1048576
  1219  	//*< TODO
  1220  
  1221  	XCB_GC_DASH_LIST = 2097152
  1222  	//*< TODO
  1223  
  1224  	XCB_GC_ARC_MODE = 4194304
  1225  )
  1226  
  1227  const ( /* xproto.h:3171:1: */
  1228  	XCB_GX_CLEAR         = 0
  1229  	XCB_GX_AND           = 1
  1230  	XCB_GX_AND_REVERSE   = 2
  1231  	XCB_GX_COPY          = 3
  1232  	XCB_GX_AND_INVERTED  = 4
  1233  	XCB_GX_NOOP          = 5
  1234  	XCB_GX_XOR           = 6
  1235  	XCB_GX_OR            = 7
  1236  	XCB_GX_NOR           = 8
  1237  	XCB_GX_EQUIV         = 9
  1238  	XCB_GX_INVERT        = 10
  1239  	XCB_GX_OR_REVERSE    = 11
  1240  	XCB_GX_COPY_INVERTED = 12
  1241  	XCB_GX_OR_INVERTED   = 13
  1242  	XCB_GX_NAND          = 14
  1243  	XCB_GX_SET           = 15
  1244  )
  1245  
  1246  const ( /* xproto.h:3190:1: */
  1247  	XCB_LINE_STYLE_SOLID       = 0
  1248  	XCB_LINE_STYLE_ON_OFF_DASH = 1
  1249  	XCB_LINE_STYLE_DOUBLE_DASH = 2
  1250  )
  1251  
  1252  const ( /* xproto.h:3196:1: */
  1253  	XCB_CAP_STYLE_NOT_LAST   = 0
  1254  	XCB_CAP_STYLE_BUTT       = 1
  1255  	XCB_CAP_STYLE_ROUND      = 2
  1256  	XCB_CAP_STYLE_PROJECTING = 3
  1257  )
  1258  
  1259  const ( /* xproto.h:3203:1: */
  1260  	XCB_JOIN_STYLE_MITER = 0
  1261  	XCB_JOIN_STYLE_ROUND = 1
  1262  	XCB_JOIN_STYLE_BEVEL = 2
  1263  )
  1264  
  1265  const ( /* xproto.h:3209:1: */
  1266  	XCB_FILL_STYLE_SOLID           = 0
  1267  	XCB_FILL_STYLE_TILED           = 1
  1268  	XCB_FILL_STYLE_STIPPLED        = 2
  1269  	XCB_FILL_STYLE_OPAQUE_STIPPLED = 3
  1270  )
  1271  
  1272  const ( /* xproto.h:3216:1: */
  1273  	XCB_FILL_RULE_EVEN_ODD = 0
  1274  	XCB_FILL_RULE_WINDING  = 1
  1275  )
  1276  
  1277  const ( /* xproto.h:3221:1: */
  1278  	XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN  = 0
  1279  	XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1
  1280  )
  1281  
  1282  const ( /* xproto.h:3226:1: */
  1283  	XCB_ARC_MODE_CHORD     = 0
  1284  	XCB_ARC_MODE_PIE_SLICE = 1
  1285  )
  1286  
  1287  const ( /* xproto.h:3348:1: */
  1288  	XCB_CLIP_ORDERING_UNSORTED  = 0
  1289  	XCB_CLIP_ORDERING_Y_SORTED  = 1
  1290  	XCB_CLIP_ORDERING_YX_SORTED = 2
  1291  	XCB_CLIP_ORDERING_YX_BANDED = 3
  1292  )
  1293  
  1294  const ( /* xproto.h:341:1: */
  1295  	XCB_EVENT_MASK_NO_EVENT              = 0
  1296  	XCB_EVENT_MASK_KEY_PRESS             = 1
  1297  	XCB_EVENT_MASK_KEY_RELEASE           = 2
  1298  	XCB_EVENT_MASK_BUTTON_PRESS          = 4
  1299  	XCB_EVENT_MASK_BUTTON_RELEASE        = 8
  1300  	XCB_EVENT_MASK_ENTER_WINDOW          = 16
  1301  	XCB_EVENT_MASK_LEAVE_WINDOW          = 32
  1302  	XCB_EVENT_MASK_POINTER_MOTION        = 64
  1303  	XCB_EVENT_MASK_POINTER_MOTION_HINT   = 128
  1304  	XCB_EVENT_MASK_BUTTON_1_MOTION       = 256
  1305  	XCB_EVENT_MASK_BUTTON_2_MOTION       = 512
  1306  	XCB_EVENT_MASK_BUTTON_3_MOTION       = 1024
  1307  	XCB_EVENT_MASK_BUTTON_4_MOTION       = 2048
  1308  	XCB_EVENT_MASK_BUTTON_5_MOTION       = 4096
  1309  	XCB_EVENT_MASK_BUTTON_MOTION         = 8192
  1310  	XCB_EVENT_MASK_KEYMAP_STATE          = 16384
  1311  	XCB_EVENT_MASK_EXPOSURE              = 32768
  1312  	XCB_EVENT_MASK_VISIBILITY_CHANGE     = 65536
  1313  	XCB_EVENT_MASK_STRUCTURE_NOTIFY      = 131072
  1314  	XCB_EVENT_MASK_RESIZE_REDIRECT       = 262144
  1315  	XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY   = 524288
  1316  	XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = 1048576
  1317  	XCB_EVENT_MASK_FOCUS_CHANGE          = 2097152
  1318  	XCB_EVENT_MASK_PROPERTY_CHANGE       = 4194304
  1319  	XCB_EVENT_MASK_COLOR_MAP_CHANGE      = 8388608
  1320  	XCB_EVENT_MASK_OWNER_GRAB_BUTTON     = 16777216
  1321  )
  1322  
  1323  const ( /* xproto.h:3443:1: */
  1324  	XCB_COORD_MODE_ORIGIN = 0
  1325  	//*< Treats all coordinates as relative to the origin.
  1326  
  1327  	XCB_COORD_MODE_PREVIOUS = 1
  1328  )
  1329  
  1330  const ( /* xproto.h:3541:1: */
  1331  	XCB_POLY_SHAPE_COMPLEX   = 0
  1332  	XCB_POLY_SHAPE_NONCONVEX = 1
  1333  	XCB_POLY_SHAPE_CONVEX    = 2
  1334  )
  1335  
  1336  const ( /* xproto.h:3592:1: */
  1337  	XCB_IMAGE_FORMAT_XY_BITMAP = 0
  1338  	XCB_IMAGE_FORMAT_XY_PIXMAP = 1
  1339  	XCB_IMAGE_FORMAT_Z_PIXMAP  = 2
  1340  )
  1341  
  1342  const ( /* xproto.h:370:1: */
  1343  	XCB_BACKING_STORE_NOT_USEFUL  = 0
  1344  	XCB_BACKING_STORE_WHEN_MAPPED = 1
  1345  	XCB_BACKING_STORE_ALWAYS      = 2
  1346  )
  1347  
  1348  const ( /* xproto.h:3720:1: */
  1349  	XCB_COLORMAP_ALLOC_NONE = 0
  1350  	XCB_COLORMAP_ALLOC_ALL  = 1
  1351  )
  1352  
  1353  const ( /* xproto.h:3992:1: */
  1354  	XCB_COLOR_FLAG_RED   = 1
  1355  	XCB_COLOR_FLAG_GREEN = 2
  1356  	XCB_COLOR_FLAG_BLUE  = 4
  1357  )
  1358  
  1359  const ( /* xproto.h:4137:1: */
  1360  	XCB_PIXMAP_NONE = 0
  1361  )
  1362  
  1363  const ( /* xproto.h:4164:1: */
  1364  	XCB_FONT_NONE = 0
  1365  )
  1366  
  1367  const ( /* xproto.h:4223:1: */
  1368  	XCB_QUERY_SHAPE_OF_LARGEST_CURSOR  = 0
  1369  	XCB_QUERY_SHAPE_OF_FASTEST_TILE    = 1
  1370  	XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2
  1371  )
  1372  
  1373  const ( /* xproto.h:4375:1: */
  1374  	XCB_KB_KEY_CLICK_PERCENT = 1
  1375  	XCB_KB_BELL_PERCENT      = 2
  1376  	XCB_KB_BELL_PITCH        = 4
  1377  	XCB_KB_BELL_DURATION     = 8
  1378  	XCB_KB_LED               = 16
  1379  	XCB_KB_LED_MODE          = 32
  1380  	XCB_KB_KEY               = 64
  1381  	XCB_KB_AUTO_REPEAT_MODE  = 128
  1382  )
  1383  
  1384  const ( /* xproto.h:4386:1: */
  1385  	XCB_LED_MODE_OFF = 0
  1386  	XCB_LED_MODE_ON  = 1
  1387  )
  1388  
  1389  const ( /* xproto.h:4391:1: */
  1390  	XCB_AUTO_REPEAT_MODE_OFF     = 0
  1391  	XCB_AUTO_REPEAT_MODE_ON      = 1
  1392  	XCB_AUTO_REPEAT_MODE_DEFAULT = 2
  1393  )
  1394  
  1395  const ( /* xproto.h:4522:1: */
  1396  	XCB_BLANKING_NOT_PREFERRED = 0
  1397  	XCB_BLANKING_PREFERRED     = 1
  1398  	XCB_BLANKING_DEFAULT       = 2
  1399  )
  1400  
  1401  const ( /* xproto.h:4528:1: */
  1402  	XCB_EXPOSURES_NOT_ALLOWED = 0
  1403  	XCB_EXPOSURES_ALLOWED     = 1
  1404  	XCB_EXPOSURES_DEFAULT     = 2
  1405  )
  1406  
  1407  const ( /* xproto.h:4584:1: */
  1408  	XCB_HOST_MODE_INSERT = 0
  1409  	XCB_HOST_MODE_DELETE = 1
  1410  )
  1411  
  1412  const ( /* xproto.h:4589:1: */
  1413  	XCB_FAMILY_INTERNET           = 0
  1414  	XCB_FAMILY_DECNET             = 1
  1415  	XCB_FAMILY_CHAOS              = 2
  1416  	XCB_FAMILY_SERVER_INTERPRETED = 5
  1417  	XCB_FAMILY_INTERNET_6         = 6
  1418  )
  1419  
  1420  const ( /* xproto.h:4661:1: */
  1421  	XCB_ACCESS_CONTROL_DISABLE = 0
  1422  	XCB_ACCESS_CONTROL_ENABLE  = 1
  1423  )
  1424  
  1425  const ( /* xproto.h:4678:1: */
  1426  	XCB_CLOSE_DOWN_DESTROY_ALL      = 0
  1427  	XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1
  1428  	XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2
  1429  )
  1430  
  1431  const ( /* xproto.h:467:1: */
  1432  	XCB_IMAGE_ORDER_LSB_FIRST = 0
  1433  	XCB_IMAGE_ORDER_MSB_FIRST = 1
  1434  )
  1435  
  1436  const ( /* xproto.h:4696:1: */
  1437  	XCB_KILL_ALL_TEMPORARY = 0
  1438  )
  1439  
  1440  const ( /* xproto.h:4728:1: */
  1441  	XCB_SCREEN_SAVER_RESET  = 0
  1442  	XCB_SCREEN_SAVER_ACTIVE = 1
  1443  )
  1444  
  1445  const ( /* xproto.h:4745:1: */
  1446  	XCB_MAPPING_STATUS_SUCCESS = 0
  1447  	XCB_MAPPING_STATUS_BUSY    = 1
  1448  	XCB_MAPPING_STATUS_FAILURE = 2
  1449  )
  1450  
  1451  const ( /* xproto.h:4810:1: */
  1452  	XCB_MAP_INDEX_SHIFT   = 0
  1453  	XCB_MAP_INDEX_LOCK    = 1
  1454  	XCB_MAP_INDEX_CONTROL = 2
  1455  	XCB_MAP_INDEX_1       = 3
  1456  	XCB_MAP_INDEX_2       = 4
  1457  	XCB_MAP_INDEX_3       = 5
  1458  	XCB_MAP_INDEX_4       = 6
  1459  	XCB_MAP_INDEX_5       = 7
  1460  )
  1461  
  1462  const ( /* xproto.h:507:1: */
  1463  	XCB_MOD_MASK_SHIFT   = 1
  1464  	XCB_MOD_MASK_LOCK    = 2
  1465  	XCB_MOD_MASK_CONTROL = 4
  1466  	XCB_MOD_MASK_1       = 8
  1467  	XCB_MOD_MASK_2       = 16
  1468  	XCB_MOD_MASK_3       = 32
  1469  	XCB_MOD_MASK_4       = 64
  1470  	XCB_MOD_MASK_5       = 128
  1471  	XCB_MOD_MASK_ANY     = 32768
  1472  )
  1473  
  1474  const ( /* xproto.h:519:1: */
  1475  	XCB_KEY_BUT_MASK_SHIFT    = 1
  1476  	XCB_KEY_BUT_MASK_LOCK     = 2
  1477  	XCB_KEY_BUT_MASK_CONTROL  = 4
  1478  	XCB_KEY_BUT_MASK_MOD_1    = 8
  1479  	XCB_KEY_BUT_MASK_MOD_2    = 16
  1480  	XCB_KEY_BUT_MASK_MOD_3    = 32
  1481  	XCB_KEY_BUT_MASK_MOD_4    = 64
  1482  	XCB_KEY_BUT_MASK_MOD_5    = 128
  1483  	XCB_KEY_BUT_MASK_BUTTON_1 = 256
  1484  	XCB_KEY_BUT_MASK_BUTTON_2 = 512
  1485  	XCB_KEY_BUT_MASK_BUTTON_3 = 1024
  1486  	XCB_KEY_BUT_MASK_BUTTON_4 = 2048
  1487  	XCB_KEY_BUT_MASK_BUTTON_5 = 4096
  1488  )
  1489  
  1490  const ( /* xproto.h:535:1: */
  1491  	XCB_WINDOW_NONE = 0
  1492  )
  1493  
  1494  const ( /* xproto.h:567:1: */
  1495  	XCB_BUTTON_MASK_1   = 256
  1496  	XCB_BUTTON_MASK_2   = 512
  1497  	XCB_BUTTON_MASK_3   = 1024
  1498  	XCB_BUTTON_MASK_4   = 2048
  1499  	XCB_BUTTON_MASK_5   = 4096
  1500  	XCB_BUTTON_MASK_ANY = 32768
  1501  )
  1502  
  1503  const ( /* xproto.h:604:1: */
  1504  	XCB_MOTION_NORMAL = 0
  1505  	XCB_MOTION_HINT   = 1
  1506  )
  1507  
  1508  const ( /* xproto.h:632:1: */
  1509  	XCB_NOTIFY_DETAIL_ANCESTOR          = 0
  1510  	XCB_NOTIFY_DETAIL_VIRTUAL           = 1
  1511  	XCB_NOTIFY_DETAIL_INFERIOR          = 2
  1512  	XCB_NOTIFY_DETAIL_NONLINEAR         = 3
  1513  	XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4
  1514  	XCB_NOTIFY_DETAIL_POINTER           = 5
  1515  	XCB_NOTIFY_DETAIL_POINTER_ROOT      = 6
  1516  	XCB_NOTIFY_DETAIL_NONE              = 7
  1517  )
  1518  
  1519  const ( /* xproto.h:643:1: */
  1520  	XCB_NOTIFY_MODE_NORMAL        = 0
  1521  	XCB_NOTIFY_MODE_GRAB          = 1
  1522  	XCB_NOTIFY_MODE_UNGRAB        = 2
  1523  	XCB_NOTIFY_MODE_WHILE_GRABBED = 3
  1524  )
  1525  
  1526  const ( /* xproto.h:765:1: */
  1527  	XCB_VISIBILITY_UNOBSCURED         = 0
  1528  	XCB_VISIBILITY_PARTIALLY_OBSCURED = 1
  1529  	XCB_VISIBILITY_FULLY_OBSCURED     = 2
  1530  )
  1531  
  1532  const ( /* xproto.h:960:1: */
  1533  	XCB_PLACE_ON_TOP = 0
  1534  	//*< The window is now on top of all siblings.
  1535  
  1536  	XCB_PLACE_ON_BOTTOM = 1
  1537  )
  1538  
  1539  const ( /* xproto.h:991:1: */
  1540  	XCB_PROPERTY_NEW_VALUE = 0
  1541  	XCB_PROPERTY_DELETE    = 1
  1542  )
  1543  
  1544  type ptrdiff_t = int64 /* <builtin>:3:26 */
  1545  
  1546  type size_t = uint64 /* <builtin>:9:23 */
  1547  
  1548  type wchar_t = int32 /* <builtin>:15:24 */
  1549  
  1550  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  1551  //
  1552  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1553  //
  1554  // This file contains Original Code and/or Modifications of Original Code
  1555  // as defined in and that are subject to the Apple Public Source License
  1556  // Version 2.0 (the 'License'). You may not use this file except in
  1557  // compliance with the License. The rights granted to you under the License
  1558  // may not be used to create, or enable the creation or redistribution of,
  1559  // unlawful or unlicensed copies of an Apple operating system, or to
  1560  // circumvent, violate, or enable the circumvention or violation of, any
  1561  // terms of an Apple operating system software license agreement.
  1562  //
  1563  // Please obtain a copy of the License at
  1564  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1565  //
  1566  // The Original Code and all software distributed under the License are
  1567  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1568  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1569  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1570  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1571  // Please see the License for the specific language governing rights and
  1572  // limitations under the License.
  1573  //
  1574  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1575  
  1576  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1577  //
  1578  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1579  //
  1580  // This file contains Original Code and/or Modifications of Original Code
  1581  // as defined in and that are subject to the Apple Public Source License
  1582  // Version 2.0 (the 'License'). You may not use this file except in
  1583  // compliance with the License. The rights granted to you under the License
  1584  // may not be used to create, or enable the creation or redistribution of,
  1585  // unlawful or unlicensed copies of an Apple operating system, or to
  1586  // circumvent, violate, or enable the circumvention or violation of, any
  1587  // terms of an Apple operating system software license agreement.
  1588  //
  1589  // Please obtain a copy of the License at
  1590  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1591  //
  1592  // The Original Code and all software distributed under the License are
  1593  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1594  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1595  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1596  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1597  // Please see the License for the specific language governing rights and
  1598  // limitations under the License.
  1599  //
  1600  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1601  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1602  // Copyright (c) 1991, 1993
  1603  //	The Regents of the University of California.  All rights reserved.
  1604  //
  1605  // This code is derived from software contributed to Berkeley by
  1606  // Berkeley Software Design, Inc.
  1607  //
  1608  // Redistribution and use in source and binary forms, with or without
  1609  // modification, are permitted provided that the following conditions
  1610  // are met:
  1611  // 1. Redistributions of source code must retain the above copyright
  1612  //    notice, this list of conditions and the following disclaimer.
  1613  // 2. Redistributions in binary form must reproduce the above copyright
  1614  //    notice, this list of conditions and the following disclaimer in the
  1615  //    documentation and/or other materials provided with the distribution.
  1616  // 3. All advertising materials mentioning features or use of this software
  1617  //    must display the following acknowledgement:
  1618  //	This product includes software developed by the University of
  1619  //	California, Berkeley and its contributors.
  1620  // 4. Neither the name of the University nor the names of its contributors
  1621  //    may be used to endorse or promote products derived from this software
  1622  //    without specific prior written permission.
  1623  //
  1624  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1625  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1626  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1627  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1628  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1629  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1630  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1631  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1632  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1633  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1634  // SUCH DAMAGE.
  1635  //
  1636  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1637  
  1638  // pthread opaque structures
  1639  
  1640  type __darwin_pthread_handler_rec = struct {
  1641  	F__routine uintptr
  1642  	F__arg     uintptr
  1643  	F__next    uintptr
  1644  } /* _pthread_types.h:57:1 */
  1645  
  1646  type _opaque_pthread_attr_t = struct {
  1647  	F__sig    int64
  1648  	F__opaque [56]int8
  1649  } /* _pthread_types.h:63:1 */
  1650  
  1651  type _opaque_pthread_cond_t = struct {
  1652  	F__sig    int64
  1653  	F__opaque [40]int8
  1654  } /* _pthread_types.h:68:1 */
  1655  
  1656  type _opaque_pthread_condattr_t = struct {
  1657  	F__sig    int64
  1658  	F__opaque [8]int8
  1659  } /* _pthread_types.h:73:1 */
  1660  
  1661  type _opaque_pthread_mutex_t = struct {
  1662  	F__sig    int64
  1663  	F__opaque [56]int8
  1664  } /* _pthread_types.h:78:1 */
  1665  
  1666  type _opaque_pthread_mutexattr_t = struct {
  1667  	F__sig    int64
  1668  	F__opaque [8]int8
  1669  } /* _pthread_types.h:83:1 */
  1670  
  1671  type _opaque_pthread_once_t = struct {
  1672  	F__sig    int64
  1673  	F__opaque [8]int8
  1674  } /* _pthread_types.h:88:1 */
  1675  
  1676  type _opaque_pthread_rwlock_t = struct {
  1677  	F__sig    int64
  1678  	F__opaque [192]int8
  1679  } /* _pthread_types.h:93:1 */
  1680  
  1681  type _opaque_pthread_rwlockattr_t = struct {
  1682  	F__sig    int64
  1683  	F__opaque [16]int8
  1684  } /* _pthread_types.h:98:1 */
  1685  
  1686  type _opaque_pthread_t = struct {
  1687  	F__sig           int64
  1688  	F__cleanup_stack uintptr
  1689  	F__opaque        [8176]int8
  1690  } /* _pthread_types.h:103:1 */
  1691  
  1692  // Copyright (c) 2000-2013 Apple Inc. All rights reserved.
  1693  //
  1694  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1695  //
  1696  // This file contains Original Code and/or Modifications of Original Code
  1697  // as defined in and that are subject to the Apple Public Source License
  1698  // Version 2.0 (the 'License'). You may not use this file except in
  1699  // compliance with the License. The rights granted to you under the License
  1700  // may not be used to create, or enable the creation or redistribution of,
  1701  // unlawful or unlicensed copies of an Apple operating system, or to
  1702  // circumvent, violate, or enable the circumvention or violation of, any
  1703  // terms of an Apple operating system software license agreement.
  1704  //
  1705  // Please obtain a copy of the License at
  1706  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1707  //
  1708  // The Original Code and all software distributed under the License are
  1709  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1710  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1711  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1712  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1713  // Please see the License for the specific language governing rights and
  1714  // limitations under the License.
  1715  //
  1716  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1717  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  1718  // Copyright (c) 1989, 1993
  1719  //	The Regents of the University of California.  All rights reserved.
  1720  //
  1721  // Redistribution and use in source and binary forms, with or without
  1722  // modification, are permitted provided that the following conditions
  1723  // are met:
  1724  // 1. Redistributions of source code must retain the above copyright
  1725  //    notice, this list of conditions and the following disclaimer.
  1726  // 2. Redistributions in binary form must reproduce the above copyright
  1727  //    notice, this list of conditions and the following disclaimer in the
  1728  //    documentation and/or other materials provided with the distribution.
  1729  // 3. All advertising materials mentioning features or use of this software
  1730  //    must display the following acknowledgement:
  1731  //	This product includes software developed by the University of
  1732  //	California, Berkeley and its contributors.
  1733  // 4. Neither the name of the University nor the names of its contributors
  1734  //    may be used to endorse or promote products derived from this software
  1735  //    without specific prior written permission.
  1736  //
  1737  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1738  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1739  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1740  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1741  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1742  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1743  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1744  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1745  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1746  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1747  // SUCH DAMAGE.
  1748  //
  1749  //	@(#)unistd.h	8.2 (Berkeley) 1/7/94
  1750  
  1751  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1752  //
  1753  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1754  //
  1755  // This file contains Original Code and/or Modifications of Original Code
  1756  // as defined in and that are subject to the Apple Public Source License
  1757  // Version 2.0 (the 'License'). You may not use this file except in
  1758  // compliance with the License. The rights granted to you under the License
  1759  // may not be used to create, or enable the creation or redistribution of,
  1760  // unlawful or unlicensed copies of an Apple operating system, or to
  1761  // circumvent, violate, or enable the circumvention or violation of, any
  1762  // terms of an Apple operating system software license agreement.
  1763  //
  1764  // Please obtain a copy of the License at
  1765  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1766  //
  1767  // The Original Code and all software distributed under the License are
  1768  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1769  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1770  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1771  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1772  // Please see the License for the specific language governing rights and
  1773  // limitations under the License.
  1774  //
  1775  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1776  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1777  // Copyright (c) 1991, 1993
  1778  //	The Regents of the University of California.  All rights reserved.
  1779  //
  1780  // This code is derived from software contributed to Berkeley by
  1781  // Berkeley Software Design, Inc.
  1782  //
  1783  // Redistribution and use in source and binary forms, with or without
  1784  // modification, are permitted provided that the following conditions
  1785  // are met:
  1786  // 1. Redistributions of source code must retain the above copyright
  1787  //    notice, this list of conditions and the following disclaimer.
  1788  // 2. Redistributions in binary form must reproduce the above copyright
  1789  //    notice, this list of conditions and the following disclaimer in the
  1790  //    documentation and/or other materials provided with the distribution.
  1791  // 3. All advertising materials mentioning features or use of this software
  1792  //    must display the following acknowledgement:
  1793  //	This product includes software developed by the University of
  1794  //	California, Berkeley and its contributors.
  1795  // 4. Neither the name of the University nor the names of its contributors
  1796  //    may be used to endorse or promote products derived from this software
  1797  //    without specific prior written permission.
  1798  //
  1799  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1800  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1801  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1802  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1803  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1804  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1805  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1806  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1807  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1808  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1809  // SUCH DAMAGE.
  1810  //
  1811  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1812  
  1813  // Although we have saved user/group IDs, we do not use them in setuid
  1814  // as described in POSIX 1003.1, because the feature does not work for
  1815  // root.  We use the saved IDs in seteuid/setegid, which are not currently
  1816  // part of the POSIX 1003.1 specification.
  1817  
  1818  // execution-time symbolic constants
  1819  // may disable terminal special characters
  1820  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1821  //
  1822  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1823  //
  1824  // This file contains Original Code and/or Modifications of Original Code
  1825  // as defined in and that are subject to the Apple Public Source License
  1826  // Version 2.0 (the 'License'). You may not use this file except in
  1827  // compliance with the License. The rights granted to you under the License
  1828  // may not be used to create, or enable the creation or redistribution of,
  1829  // unlawful or unlicensed copies of an Apple operating system, or to
  1830  // circumvent, violate, or enable the circumvention or violation of, any
  1831  // terms of an Apple operating system software license agreement.
  1832  //
  1833  // Please obtain a copy of the License at
  1834  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1835  //
  1836  // The Original Code and all software distributed under the License are
  1837  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1838  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1839  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1840  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1841  // Please see the License for the specific language governing rights and
  1842  // limitations under the License.
  1843  //
  1844  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1845  
  1846  // access function
  1847  
  1848  // Extended access functions.
  1849  // Note that we depend on these matching the definitions in sys/kauth.h,
  1850  // but with the bits shifted left by 8.
  1851  
  1852  // whence values for lseek(2)
  1853  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1854  //
  1855  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1856  //
  1857  // This file contains Original Code and/or Modifications of Original Code
  1858  // as defined in and that are subject to the Apple Public Source License
  1859  // Version 2.0 (the 'License'). You may not use this file except in
  1860  // compliance with the License. The rights granted to you under the License
  1861  // may not be used to create, or enable the creation or redistribution of,
  1862  // unlawful or unlicensed copies of an Apple operating system, or to
  1863  // circumvent, violate, or enable the circumvention or violation of, any
  1864  // terms of an Apple operating system software license agreement.
  1865  //
  1866  // Please obtain a copy of the License at
  1867  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1868  //
  1869  // The Original Code and all software distributed under the License are
  1870  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1871  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1872  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1873  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1874  // Please see the License for the specific language governing rights and
  1875  // limitations under the License.
  1876  //
  1877  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1878  
  1879  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1880  //
  1881  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1882  //
  1883  // This file contains Original Code and/or Modifications of Original Code
  1884  // as defined in and that are subject to the Apple Public Source License
  1885  // Version 2.0 (the 'License'). You may not use this file except in
  1886  // compliance with the License. The rights granted to you under the License
  1887  // may not be used to create, or enable the creation or redistribution of,
  1888  // unlawful or unlicensed copies of an Apple operating system, or to
  1889  // circumvent, violate, or enable the circumvention or violation of, any
  1890  // terms of an Apple operating system software license agreement.
  1891  //
  1892  // Please obtain a copy of the License at
  1893  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1894  //
  1895  // The Original Code and all software distributed under the License are
  1896  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1897  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1898  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1899  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1900  // Please see the License for the specific language governing rights and
  1901  // limitations under the License.
  1902  //
  1903  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1904  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1905  // Copyright (c) 1991, 1993
  1906  //	The Regents of the University of California.  All rights reserved.
  1907  //
  1908  // This code is derived from software contributed to Berkeley by
  1909  // Berkeley Software Design, Inc.
  1910  //
  1911  // Redistribution and use in source and binary forms, with or without
  1912  // modification, are permitted provided that the following conditions
  1913  // are met:
  1914  // 1. Redistributions of source code must retain the above copyright
  1915  //    notice, this list of conditions and the following disclaimer.
  1916  // 2. Redistributions in binary form must reproduce the above copyright
  1917  //    notice, this list of conditions and the following disclaimer in the
  1918  //    documentation and/or other materials provided with the distribution.
  1919  // 3. All advertising materials mentioning features or use of this software
  1920  //    must display the following acknowledgement:
  1921  //	This product includes software developed by the University of
  1922  //	California, Berkeley and its contributors.
  1923  // 4. Neither the name of the University nor the names of its contributors
  1924  //    may be used to endorse or promote products derived from this software
  1925  //    without specific prior written permission.
  1926  //
  1927  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1928  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1929  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1930  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1931  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1932  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1933  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1934  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1935  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1936  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1937  // SUCH DAMAGE.
  1938  //
  1939  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1940  
  1941  // whence values for lseek(2)
  1942  
  1943  // whence values for lseek(2); renamed by POSIX 1003.1
  1944  
  1945  type accessx_descriptor = struct {
  1946  	Fad_name_offset uint32
  1947  	Fad_flags       int32
  1948  	Fad_pad         [2]int32
  1949  } /* unistd.h:132:1 */
  1950  
  1951  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1952  //
  1953  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1954  //
  1955  // This file contains Original Code and/or Modifications of Original Code
  1956  // as defined in and that are subject to the Apple Public Source License
  1957  // Version 2.0 (the 'License'). You may not use this file except in
  1958  // compliance with the License. The rights granted to you under the License
  1959  // may not be used to create, or enable the creation or redistribution of,
  1960  // unlawful or unlicensed copies of an Apple operating system, or to
  1961  // circumvent, violate, or enable the circumvention or violation of, any
  1962  // terms of an Apple operating system software license agreement.
  1963  //
  1964  // Please obtain a copy of the License at
  1965  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1966  //
  1967  // The Original Code and all software distributed under the License are
  1968  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1969  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1970  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1971  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1972  // Please see the License for the specific language governing rights and
  1973  // limitations under the License.
  1974  //
  1975  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1976  
  1977  type uint64_t = uint64 /* _uint64_t.h:31:28 */
  1978  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1979  //
  1980  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1981  //
  1982  // This file contains Original Code and/or Modifications of Original Code
  1983  // as defined in and that are subject to the Apple Public Source License
  1984  // Version 2.0 (the 'License'). You may not use this file except in
  1985  // compliance with the License. The rights granted to you under the License
  1986  // may not be used to create, or enable the creation or redistribution of,
  1987  // unlawful or unlicensed copies of an Apple operating system, or to
  1988  // circumvent, violate, or enable the circumvention or violation of, any
  1989  // terms of an Apple operating system software license agreement.
  1990  //
  1991  // Please obtain a copy of the License at
  1992  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1993  //
  1994  // The Original Code and all software distributed under the License are
  1995  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1996  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1997  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1998  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1999  // Please see the License for the specific language governing rights and
  2000  // limitations under the License.
  2001  //
  2002  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2003  
  2004  type uint32_t = uint32 /* _uint32_t.h:31:22 */
  2005  
  2006  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2007  //
  2008  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2009  //
  2010  // This file contains Original Code and/or Modifications of Original Code
  2011  // as defined in and that are subject to the Apple Public Source License
  2012  // Version 2.0 (the 'License'). You may not use this file except in
  2013  // compliance with the License. The rights granted to you under the License
  2014  // may not be used to create, or enable the creation or redistribution of,
  2015  // unlawful or unlicensed copies of an Apple operating system, or to
  2016  // circumvent, violate, or enable the circumvention or violation of, any
  2017  // terms of an Apple operating system software license agreement.
  2018  //
  2019  // Please obtain a copy of the License at
  2020  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2021  //
  2022  // The Original Code and all software distributed under the License are
  2023  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2024  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2025  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2026  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2027  // Please see the License for the specific language governing rights and
  2028  // limitations under the License.
  2029  //
  2030  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2031  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2032  //
  2033  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2034  //
  2035  // This file contains Original Code and/or Modifications of Original Code
  2036  // as defined in and that are subject to the Apple Public Source License
  2037  // Version 2.0 (the 'License'). You may not use this file except in
  2038  // compliance with the License. The rights granted to you under the License
  2039  // may not be used to create, or enable the creation or redistribution of,
  2040  // unlawful or unlicensed copies of an Apple operating system, or to
  2041  // circumvent, violate, or enable the circumvention or violation of, any
  2042  // terms of an Apple operating system software license agreement.
  2043  //
  2044  // Please obtain a copy of the License at
  2045  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2046  //
  2047  // The Original Code and all software distributed under the License are
  2048  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2049  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2050  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2051  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2052  // Please see the License for the specific language governing rights and
  2053  // limitations under the License.
  2054  //
  2055  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2056  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2057  //
  2058  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2059  //
  2060  // This file contains Original Code and/or Modifications of Original Code
  2061  // as defined in and that are subject to the Apple Public Source License
  2062  // Version 2.0 (the 'License'). You may not use this file except in
  2063  // compliance with the License. The rights granted to you under the License
  2064  // may not be used to create, or enable the creation or redistribution of,
  2065  // unlawful or unlicensed copies of an Apple operating system, or to
  2066  // circumvent, violate, or enable the circumvention or violation of, any
  2067  // terms of an Apple operating system software license agreement.
  2068  //
  2069  // Please obtain a copy of the License at
  2070  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2071  //
  2072  // The Original Code and all software distributed under the License are
  2073  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2074  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2075  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2076  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2077  // Please see the License for the specific language governing rights and
  2078  // limitations under the License.
  2079  //
  2080  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2081  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2082  //
  2083  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2084  //
  2085  // This file contains Original Code and/or Modifications of Original Code
  2086  // as defined in and that are subject to the Apple Public Source License
  2087  // Version 2.0 (the 'License'). You may not use this file except in
  2088  // compliance with the License. The rights granted to you under the License
  2089  // may not be used to create, or enable the creation or redistribution of,
  2090  // unlawful or unlicensed copies of an Apple operating system, or to
  2091  // circumvent, violate, or enable the circumvention or violation of, any
  2092  // terms of an Apple operating system software license agreement.
  2093  //
  2094  // Please obtain a copy of the License at
  2095  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2096  //
  2097  // The Original Code and all software distributed under the License are
  2098  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2099  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2100  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2101  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2102  // Please see the License for the specific language governing rights and
  2103  // limitations under the License.
  2104  //
  2105  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2106  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2107  
  2108  // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
  2109  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2110  // Copyright (c) 1990, 1993
  2111  //	The Regents of the University of California.  All rights reserved.
  2112  //
  2113  // Redistribution and use in source and binary forms, with or without
  2114  // modification, are permitted provided that the following conditions
  2115  // are met:
  2116  // 1. Redistributions of source code must retain the above copyright
  2117  //    notice, this list of conditions and the following disclaimer.
  2118  // 2. Redistributions in binary form must reproduce the above copyright
  2119  //    notice, this list of conditions and the following disclaimer in the
  2120  //    documentation and/or other materials provided with the distribution.
  2121  // 3. All advertising materials mentioning features or use of this software
  2122  //    must display the following acknowledgement:
  2123  //	This product includes software developed by the University of
  2124  //	California, Berkeley and its contributors.
  2125  // 4. Neither the name of the University nor the names of its contributors
  2126  //    may be used to endorse or promote products derived from this software
  2127  //    without specific prior written permission.
  2128  //
  2129  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2130  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2131  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2132  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  2133  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  2134  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  2135  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2136  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  2137  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  2138  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  2139  // SUCH DAMAGE.
  2140  //
  2141  //	@(#)types.h	8.3 (Berkeley) 1/5/94
  2142  
  2143  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2144  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  2145  //
  2146  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2147  //
  2148  // This file contains Original Code and/or Modifications of Original Code
  2149  // as defined in and that are subject to the Apple Public Source License
  2150  // Version 2.0 (the 'License'). You may not use this file except in
  2151  // compliance with the License. The rights granted to you under the License
  2152  // may not be used to create, or enable the creation or redistribution of,
  2153  // unlawful or unlicensed copies of an Apple operating system, or to
  2154  // circumvent, violate, or enable the circumvention or violation of, any
  2155  // terms of an Apple operating system software license agreement.
  2156  //
  2157  // Please obtain a copy of the License at
  2158  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2159  //
  2160  // The Original Code and all software distributed under the License are
  2161  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2162  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2163  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2164  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2165  // Please see the License for the specific language governing rights and
  2166  // limitations under the License.
  2167  //
  2168  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2169  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2170  // Copyright (c) 1991, 1993
  2171  //	The Regents of the University of California.  All rights reserved.
  2172  //
  2173  // This code is derived from software contributed to Berkeley by
  2174  // Berkeley Software Design, Inc.
  2175  //
  2176  // Redistribution and use in source and binary forms, with or without
  2177  // modification, are permitted provided that the following conditions
  2178  // are met:
  2179  // 1. Redistributions of source code must retain the above copyright
  2180  //    notice, this list of conditions and the following disclaimer.
  2181  // 2. Redistributions in binary form must reproduce the above copyright
  2182  //    notice, this list of conditions and the following disclaimer in the
  2183  //    documentation and/or other materials provided with the distribution.
  2184  // 3. All advertising materials mentioning features or use of this software
  2185  //    must display the following acknowledgement:
  2186  //	This product includes software developed by the University of
  2187  //	California, Berkeley and its contributors.
  2188  // 4. Neither the name of the University nor the names of its contributors
  2189  //    may be used to endorse or promote products derived from this software
  2190  //    without specific prior written permission.
  2191  //
  2192  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2193  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2194  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2195  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  2196  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  2197  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  2198  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2199  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  2200  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  2201  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  2202  // SUCH DAMAGE.
  2203  //
  2204  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  2205  
  2206  // Basic integral types.  Omit the typedef if
  2207  // not possible for a machine/compiler combination.
  2208  // Copyright (c) 2012 Apple Inc. All rights reserved.
  2209  //
  2210  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2211  //
  2212  // This file contains Original Code and/or Modifications of Original Code
  2213  // as defined in and that are subject to the Apple Public Source License
  2214  // Version 2.0 (the 'License'). You may not use this file except in
  2215  // compliance with the License. The rights granted to you under the License
  2216  // may not be used to create, or enable the creation or redistribution of,
  2217  // unlawful or unlicensed copies of an Apple operating system, or to
  2218  // circumvent, violate, or enable the circumvention or violation of, any
  2219  // terms of an Apple operating system software license agreement.
  2220  //
  2221  // Please obtain a copy of the License at
  2222  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2223  //
  2224  // The Original Code and all software distributed under the License are
  2225  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2226  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2227  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2228  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2229  // Please see the License for the specific language governing rights and
  2230  // limitations under the License.
  2231  //
  2232  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2233  type int8_t = int8 /* _int8_t.h:30:31 */
  2234  // Copyright (c) 2012 Apple Inc. All rights reserved.
  2235  //
  2236  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2237  //
  2238  // This file contains Original Code and/or Modifications of Original Code
  2239  // as defined in and that are subject to the Apple Public Source License
  2240  // Version 2.0 (the 'License'). You may not use this file except in
  2241  // compliance with the License. The rights granted to you under the License
  2242  // may not be used to create, or enable the creation or redistribution of,
  2243  // unlawful or unlicensed copies of an Apple operating system, or to
  2244  // circumvent, violate, or enable the circumvention or violation of, any
  2245  // terms of an Apple operating system software license agreement.
  2246  //
  2247  // Please obtain a copy of the License at
  2248  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2249  //
  2250  // The Original Code and all software distributed under the License are
  2251  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2252  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2253  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2254  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2255  // Please see the License for the specific language governing rights and
  2256  // limitations under the License.
  2257  //
  2258  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2259  type int16_t = int16 /* _int16_t.h:30:33 */
  2260  // Copyright (c) 2012 Apple Inc. All rights reserved.
  2261  //
  2262  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2263  //
  2264  // This file contains Original Code and/or Modifications of Original Code
  2265  // as defined in and that are subject to the Apple Public Source License
  2266  // Version 2.0 (the 'License'). You may not use this file except in
  2267  // compliance with the License. The rights granted to you under the License
  2268  // may not be used to create, or enable the creation or redistribution of,
  2269  // unlawful or unlicensed copies of an Apple operating system, or to
  2270  // circumvent, violate, or enable the circumvention or violation of, any
  2271  // terms of an Apple operating system software license agreement.
  2272  //
  2273  // Please obtain a copy of the License at
  2274  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2275  //
  2276  // The Original Code and all software distributed under the License are
  2277  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2278  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2279  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2280  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2281  // Please see the License for the specific language governing rights and
  2282  // limitations under the License.
  2283  //
  2284  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2285  type int32_t = int32 /* _int32_t.h:30:33 */
  2286  // Copyright (c) 2012 Apple Inc. All rights reserved.
  2287  //
  2288  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2289  //
  2290  // This file contains Original Code and/or Modifications of Original Code
  2291  // as defined in and that are subject to the Apple Public Source License
  2292  // Version 2.0 (the 'License'). You may not use this file except in
  2293  // compliance with the License. The rights granted to you under the License
  2294  // may not be used to create, or enable the creation or redistribution of,
  2295  // unlawful or unlicensed copies of an Apple operating system, or to
  2296  // circumvent, violate, or enable the circumvention or violation of, any
  2297  // terms of an Apple operating system software license agreement.
  2298  //
  2299  // Please obtain a copy of the License at
  2300  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2301  //
  2302  // The Original Code and all software distributed under the License are
  2303  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2304  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2305  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2306  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2307  // Please see the License for the specific language governing rights and
  2308  // limitations under the License.
  2309  //
  2310  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2311  type int64_t = int64 /* _int64_t.h:30:33 */
  2312  
  2313  // Copyright (c) 2016 Apple Inc. All rights reserved.
  2314  //
  2315  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2316  //
  2317  // This file contains Original Code and/or Modifications of Original Code
  2318  // as defined in and that are subject to the Apple Public Source License
  2319  // Version 2.0 (the 'License'). You may not use this file except in
  2320  // compliance with the License. The rights granted to you under the License
  2321  // may not be used to create, or enable the creation or redistribution of,
  2322  // unlawful or unlicensed copies of an Apple operating system, or to
  2323  // circumvent, violate, or enable the circumvention or violation of, any
  2324  // terms of an Apple operating system software license agreement.
  2325  //
  2326  // Please obtain a copy of the License at
  2327  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2328  //
  2329  // The Original Code and all software distributed under the License are
  2330  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2331  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2332  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2333  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2334  // Please see the License for the specific language governing rights and
  2335  // limitations under the License.
  2336  //
  2337  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2338  type u_int8_t = uint8 /* _u_int8_t.h:30:33 */
  2339  // Copyright (c) 2012 Apple Inc. All rights reserved.
  2340  //
  2341  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2342  //
  2343  // This file contains Original Code and/or Modifications of Original Code
  2344  // as defined in and that are subject to the Apple Public Source License
  2345  // Version 2.0 (the 'License'). You may not use this file except in
  2346  // compliance with the License. The rights granted to you under the License
  2347  // may not be used to create, or enable the creation or redistribution of,
  2348  // unlawful or unlicensed copies of an Apple operating system, or to
  2349  // circumvent, violate, or enable the circumvention or violation of, any
  2350  // terms of an Apple operating system software license agreement.
  2351  //
  2352  // Please obtain a copy of the License at
  2353  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2354  //
  2355  // The Original Code and all software distributed under the License are
  2356  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2357  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2358  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2359  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2360  // Please see the License for the specific language governing rights and
  2361  // limitations under the License.
  2362  //
  2363  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2364  type u_int16_t = uint16 /* _u_int16_t.h:30:41 */
  2365  // Copyright (c) 2012 Apple Inc. All rights reserved.
  2366  //
  2367  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2368  //
  2369  // This file contains Original Code and/or Modifications of Original Code
  2370  // as defined in and that are subject to the Apple Public Source License
  2371  // Version 2.0 (the 'License'). You may not use this file except in
  2372  // compliance with the License. The rights granted to you under the License
  2373  // may not be used to create, or enable the creation or redistribution of,
  2374  // unlawful or unlicensed copies of an Apple operating system, or to
  2375  // circumvent, violate, or enable the circumvention or violation of, any
  2376  // terms of an Apple operating system software license agreement.
  2377  //
  2378  // Please obtain a copy of the License at
  2379  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2380  //
  2381  // The Original Code and all software distributed under the License are
  2382  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2383  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2384  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2385  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2386  // Please see the License for the specific language governing rights and
  2387  // limitations under the License.
  2388  //
  2389  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2390  type u_int32_t = uint32 /* _u_int32_t.h:30:33 */
  2391  // Copyright (c) 2012 Apple Inc. All rights reserved.
  2392  //
  2393  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2394  //
  2395  // This file contains Original Code and/or Modifications of Original Code
  2396  // as defined in and that are subject to the Apple Public Source License
  2397  // Version 2.0 (the 'License'). You may not use this file except in
  2398  // compliance with the License. The rights granted to you under the License
  2399  // may not be used to create, or enable the creation or redistribution of,
  2400  // unlawful or unlicensed copies of an Apple operating system, or to
  2401  // circumvent, violate, or enable the circumvention or violation of, any
  2402  // terms of an Apple operating system software license agreement.
  2403  //
  2404  // Please obtain a copy of the License at
  2405  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2406  //
  2407  // The Original Code and all software distributed under the License are
  2408  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2409  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2410  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2411  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2412  // Please see the License for the specific language governing rights and
  2413  // limitations under the License.
  2414  //
  2415  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2416  type u_int64_t = uint64 /* _u_int64_t.h:30:33 */
  2417  
  2418  type register_t = int64_t /* types.h:66:33 */
  2419  
  2420  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2421  //
  2422  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2423  //
  2424  // This file contains Original Code and/or Modifications of Original Code
  2425  // as defined in and that are subject to the Apple Public Source License
  2426  // Version 2.0 (the 'License'). You may not use this file except in
  2427  // compliance with the License. The rights granted to you under the License
  2428  // may not be used to create, or enable the creation or redistribution of,
  2429  // unlawful or unlicensed copies of an Apple operating system, or to
  2430  // circumvent, violate, or enable the circumvention or violation of, any
  2431  // terms of an Apple operating system software license agreement.
  2432  //
  2433  // Please obtain a copy of the License at
  2434  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2435  //
  2436  // The Original Code and all software distributed under the License are
  2437  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2438  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2439  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2440  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2441  // Please see the License for the specific language governing rights and
  2442  // limitations under the License.
  2443  //
  2444  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2445  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2446  //
  2447  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2448  //
  2449  // This file contains Original Code and/or Modifications of Original Code
  2450  // as defined in and that are subject to the Apple Public Source License
  2451  // Version 2.0 (the 'License'). You may not use this file except in
  2452  // compliance with the License. The rights granted to you under the License
  2453  // may not be used to create, or enable the creation or redistribution of,
  2454  // unlawful or unlicensed copies of an Apple operating system, or to
  2455  // circumvent, violate, or enable the circumvention or violation of, any
  2456  // terms of an Apple operating system software license agreement.
  2457  //
  2458  // Please obtain a copy of the License at
  2459  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2460  //
  2461  // The Original Code and all software distributed under the License are
  2462  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2463  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2464  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2465  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2466  // Please see the License for the specific language governing rights and
  2467  // limitations under the License.
  2468  //
  2469  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2470  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2471  
  2472  type intptr_t = int64 /* _intptr_t.h:32:33 */
  2473  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2474  //
  2475  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2476  //
  2477  // This file contains Original Code and/or Modifications of Original Code
  2478  // as defined in and that are subject to the Apple Public Source License
  2479  // Version 2.0 (the 'License'). You may not use this file except in
  2480  // compliance with the License. The rights granted to you under the License
  2481  // may not be used to create, or enable the creation or redistribution of,
  2482  // unlawful or unlicensed copies of an Apple operating system, or to
  2483  // circumvent, violate, or enable the circumvention or violation of, any
  2484  // terms of an Apple operating system software license agreement.
  2485  //
  2486  // Please obtain a copy of the License at
  2487  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2488  //
  2489  // The Original Code and all software distributed under the License are
  2490  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2491  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2492  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2493  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2494  // Please see the License for the specific language governing rights and
  2495  // limitations under the License.
  2496  //
  2497  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2498  
  2499  type uintptr_t = uint64 /* _uintptr_t.h:34:33 */
  2500  
  2501  // These types are used for reserving the largest possible size.
  2502  type user_addr_t = u_int64_t  /* types.h:77:33 */
  2503  type user_size_t = u_int64_t  /* types.h:78:33 */
  2504  type user_ssize_t = int64_t   /* types.h:79:33 */
  2505  type user_long_t = int64_t    /* types.h:80:33 */
  2506  type user_ulong_t = u_int64_t /* types.h:81:33 */
  2507  type user_time_t = int64_t    /* types.h:82:33 */
  2508  type user_off_t = int64_t     /* types.h:83:33 */
  2509  
  2510  // This defines the size of syscall arguments after copying into the kernel:
  2511  type syscall_arg_t = u_int64_t /* types.h:104:33 */
  2512  
  2513  type ssize_t = int64 /* _ssize_t.h:31:33 */
  2514  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2515  //
  2516  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2517  //
  2518  // This file contains Original Code and/or Modifications of Original Code
  2519  // as defined in and that are subject to the Apple Public Source License
  2520  // Version 2.0 (the 'License'). You may not use this file except in
  2521  // compliance with the License. The rights granted to you under the License
  2522  // may not be used to create, or enable the creation or redistribution of,
  2523  // unlawful or unlicensed copies of an Apple operating system, or to
  2524  // circumvent, violate, or enable the circumvention or violation of, any
  2525  // terms of an Apple operating system software license agreement.
  2526  //
  2527  // Please obtain a copy of the License at
  2528  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2529  //
  2530  // The Original Code and all software distributed under the License are
  2531  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2532  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2533  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2534  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2535  // Please see the License for the specific language governing rights and
  2536  // limitations under the License.
  2537  //
  2538  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2539  
  2540  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2541  //
  2542  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2543  //
  2544  // This file contains Original Code and/or Modifications of Original Code
  2545  // as defined in and that are subject to the Apple Public Source License
  2546  // Version 2.0 (the 'License'). You may not use this file except in
  2547  // compliance with the License. The rights granted to you under the License
  2548  // may not be used to create, or enable the creation or redistribution of,
  2549  // unlawful or unlicensed copies of an Apple operating system, or to
  2550  // circumvent, violate, or enable the circumvention or violation of, any
  2551  // terms of an Apple operating system software license agreement.
  2552  //
  2553  // Please obtain a copy of the License at
  2554  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2555  //
  2556  // The Original Code and all software distributed under the License are
  2557  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2558  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2559  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2560  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2561  // Please see the License for the specific language governing rights and
  2562  // limitations under the License.
  2563  //
  2564  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2565  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2566  //
  2567  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2568  //
  2569  // This file contains Original Code and/or Modifications of Original Code
  2570  // as defined in and that are subject to the Apple Public Source License
  2571  // Version 2.0 (the 'License'). You may not use this file except in
  2572  // compliance with the License. The rights granted to you under the License
  2573  // may not be used to create, or enable the creation or redistribution of,
  2574  // unlawful or unlicensed copies of an Apple operating system, or to
  2575  // circumvent, violate, or enable the circumvention or violation of, any
  2576  // terms of an Apple operating system software license agreement.
  2577  //
  2578  // Please obtain a copy of the License at
  2579  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2580  //
  2581  // The Original Code and all software distributed under the License are
  2582  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2583  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2584  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2585  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2586  // Please see the License for the specific language governing rights and
  2587  // limitations under the License.
  2588  //
  2589  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2590  
  2591  type uid_t = uint32 /* _uid_t.h:31:31 */
  2592  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2593  //
  2594  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2595  //
  2596  // This file contains Original Code and/or Modifications of Original Code
  2597  // as defined in and that are subject to the Apple Public Source License
  2598  // Version 2.0 (the 'License'). You may not use this file except in
  2599  // compliance with the License. The rights granted to you under the License
  2600  // may not be used to create, or enable the creation or redistribution of,
  2601  // unlawful or unlicensed copies of an Apple operating system, or to
  2602  // circumvent, violate, or enable the circumvention or violation of, any
  2603  // terms of an Apple operating system software license agreement.
  2604  //
  2605  // Please obtain a copy of the License at
  2606  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2607  //
  2608  // The Original Code and all software distributed under the License are
  2609  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2610  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2611  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2612  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2613  // Please see the License for the specific language governing rights and
  2614  // limitations under the License.
  2615  //
  2616  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2617  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2618  //
  2619  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2620  //
  2621  // This file contains Original Code and/or Modifications of Original Code
  2622  // as defined in and that are subject to the Apple Public Source License
  2623  // Version 2.0 (the 'License'). You may not use this file except in
  2624  // compliance with the License. The rights granted to you under the License
  2625  // may not be used to create, or enable the creation or redistribution of,
  2626  // unlawful or unlicensed copies of an Apple operating system, or to
  2627  // circumvent, violate, or enable the circumvention or violation of, any
  2628  // terms of an Apple operating system software license agreement.
  2629  //
  2630  // Please obtain a copy of the License at
  2631  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2632  //
  2633  // The Original Code and all software distributed under the License are
  2634  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2635  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2636  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2637  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2638  // Please see the License for the specific language governing rights and
  2639  // limitations under the License.
  2640  //
  2641  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2642  
  2643  type gid_t = uint32 /* _gid_t.h:31:25 */
  2644  
  2645  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  2646  //
  2647  // @APPLE_LICENSE_HEADER_START@
  2648  //
  2649  // This file contains Original Code and/or Modifications of Original Code
  2650  // as defined in and that are subject to the Apple Public Source License
  2651  // Version 2.0 (the 'License'). You may not use this file except in
  2652  // compliance with the License. Please obtain a copy of the License at
  2653  // http://www.opensource.apple.com/apsl/ and read it before using this
  2654  // file.
  2655  //
  2656  // The Original Code and all software distributed under the License are
  2657  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2658  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2659  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2660  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2661  // Please see the License for the specific language governing rights and
  2662  // limitations under the License.
  2663  //
  2664  // @APPLE_LICENSE_HEADER_END@
  2665  
  2666  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2667  //
  2668  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2669  //
  2670  // This file contains Original Code and/or Modifications of Original Code
  2671  // as defined in and that are subject to the Apple Public Source License
  2672  // Version 2.0 (the 'License'). You may not use this file except in
  2673  // compliance with the License. The rights granted to you under the License
  2674  // may not be used to create, or enable the creation or redistribution of,
  2675  // unlawful or unlicensed copies of an Apple operating system, or to
  2676  // circumvent, violate, or enable the circumvention or violation of, any
  2677  // terms of an Apple operating system software license agreement.
  2678  //
  2679  // Please obtain a copy of the License at
  2680  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2681  //
  2682  // The Original Code and all software distributed under the License are
  2683  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2684  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2685  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2686  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2687  // Please see the License for the specific language governing rights and
  2688  // limitations under the License.
  2689  //
  2690  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2691  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2692  //
  2693  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2694  //
  2695  // This file contains Original Code and/or Modifications of Original Code
  2696  // as defined in and that are subject to the Apple Public Source License
  2697  // Version 2.0 (the 'License'). You may not use this file except in
  2698  // compliance with the License. The rights granted to you under the License
  2699  // may not be used to create, or enable the creation or redistribution of,
  2700  // unlawful or unlicensed copies of an Apple operating system, or to
  2701  // circumvent, violate, or enable the circumvention or violation of, any
  2702  // terms of an Apple operating system software license agreement.
  2703  //
  2704  // Please obtain a copy of the License at
  2705  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2706  //
  2707  // The Original Code and all software distributed under the License are
  2708  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2709  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2710  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2711  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2712  // Please see the License for the specific language governing rights and
  2713  // limitations under the License.
  2714  //
  2715  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2716  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2717  //
  2718  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2719  //
  2720  // This file contains Original Code and/or Modifications of Original Code
  2721  // as defined in and that are subject to the Apple Public Source License
  2722  // Version 2.0 (the 'License'). You may not use this file except in
  2723  // compliance with the License. The rights granted to you under the License
  2724  // may not be used to create, or enable the creation or redistribution of,
  2725  // unlawful or unlicensed copies of an Apple operating system, or to
  2726  // circumvent, violate, or enable the circumvention or violation of, any
  2727  // terms of an Apple operating system software license agreement.
  2728  //
  2729  // Please obtain a copy of the License at
  2730  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2731  //
  2732  // The Original Code and all software distributed under the License are
  2733  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2734  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2735  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2736  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2737  // Please see the License for the specific language governing rights and
  2738  // limitations under the License.
  2739  //
  2740  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2741  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2742  //
  2743  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2744  //
  2745  // This file contains Original Code and/or Modifications of Original Code
  2746  // as defined in and that are subject to the Apple Public Source License
  2747  // Version 2.0 (the 'License'). You may not use this file except in
  2748  // compliance with the License. The rights granted to you under the License
  2749  // may not be used to create, or enable the creation or redistribution of,
  2750  // unlawful or unlicensed copies of an Apple operating system, or to
  2751  // circumvent, violate, or enable the circumvention or violation of, any
  2752  // terms of an Apple operating system software license agreement.
  2753  //
  2754  // Please obtain a copy of the License at
  2755  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2756  //
  2757  // The Original Code and all software distributed under the License are
  2758  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2759  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2760  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2761  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2762  // Please see the License for the specific language governing rights and
  2763  // limitations under the License.
  2764  //
  2765  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2766  
  2767  type off_t = int64 /* _off_t.h:31:33 */
  2768  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2769  //
  2770  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2771  //
  2772  // This file contains Original Code and/or Modifications of Original Code
  2773  // as defined in and that are subject to the Apple Public Source License
  2774  // Version 2.0 (the 'License'). You may not use this file except in
  2775  // compliance with the License. The rights granted to you under the License
  2776  // may not be used to create, or enable the creation or redistribution of,
  2777  // unlawful or unlicensed copies of an Apple operating system, or to
  2778  // circumvent, violate, or enable the circumvention or violation of, any
  2779  // terms of an Apple operating system software license agreement.
  2780  //
  2781  // Please obtain a copy of the License at
  2782  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2783  //
  2784  // The Original Code and all software distributed under the License are
  2785  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2786  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2787  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2788  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2789  // Please see the License for the specific language governing rights and
  2790  // limitations under the License.
  2791  //
  2792  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2793  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2794  //
  2795  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2796  //
  2797  // This file contains Original Code and/or Modifications of Original Code
  2798  // as defined in and that are subject to the Apple Public Source License
  2799  // Version 2.0 (the 'License'). You may not use this file except in
  2800  // compliance with the License. The rights granted to you under the License
  2801  // may not be used to create, or enable the creation or redistribution of,
  2802  // unlawful or unlicensed copies of an Apple operating system, or to
  2803  // circumvent, violate, or enable the circumvention or violation of, any
  2804  // terms of an Apple operating system software license agreement.
  2805  //
  2806  // Please obtain a copy of the License at
  2807  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2808  //
  2809  // The Original Code and all software distributed under the License are
  2810  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2811  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2812  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2813  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2814  // Please see the License for the specific language governing rights and
  2815  // limitations under the License.
  2816  //
  2817  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2818  
  2819  type pid_t = int32 /* _pid_t.h:31:31 */
  2820  // DO NOT REMOVE THIS COMMENT: fixincludes needs to see:
  2821  // _GCC_SIZE_T
  2822  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2823  //
  2824  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2825  //
  2826  // This file contains Original Code and/or Modifications of Original Code
  2827  // as defined in and that are subject to the Apple Public Source License
  2828  // Version 2.0 (the 'License'). You may not use this file except in
  2829  // compliance with the License. The rights granted to you under the License
  2830  // may not be used to create, or enable the creation or redistribution of,
  2831  // unlawful or unlicensed copies of an Apple operating system, or to
  2832  // circumvent, violate, or enable the circumvention or violation of, any
  2833  // terms of an Apple operating system software license agreement.
  2834  //
  2835  // Please obtain a copy of the License at
  2836  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2837  //
  2838  // The Original Code and all software distributed under the License are
  2839  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2840  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2841  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2842  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2843  // Please see the License for the specific language governing rights and
  2844  // limitations under the License.
  2845  //
  2846  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2847  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2848  //
  2849  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2850  //
  2851  // This file contains Original Code and/or Modifications of Original Code
  2852  // as defined in and that are subject to the Apple Public Source License
  2853  // Version 2.0 (the 'License'). You may not use this file except in
  2854  // compliance with the License. The rights granted to you under the License
  2855  // may not be used to create, or enable the creation or redistribution of,
  2856  // unlawful or unlicensed copies of an Apple operating system, or to
  2857  // circumvent, violate, or enable the circumvention or violation of, any
  2858  // terms of an Apple operating system software license agreement.
  2859  //
  2860  // Please obtain a copy of the License at
  2861  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2862  //
  2863  // The Original Code and all software distributed under the License are
  2864  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2865  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2866  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2867  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2868  // Please see the License for the specific language governing rights and
  2869  // limitations under the License.
  2870  //
  2871  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2872  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2873  //
  2874  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2875  //
  2876  // This file contains Original Code and/or Modifications of Original Code
  2877  // as defined in and that are subject to the Apple Public Source License
  2878  // Version 2.0 (the 'License'). You may not use this file except in
  2879  // compliance with the License. The rights granted to you under the License
  2880  // may not be used to create, or enable the creation or redistribution of,
  2881  // unlawful or unlicensed copies of an Apple operating system, or to
  2882  // circumvent, violate, or enable the circumvention or violation of, any
  2883  // terms of an Apple operating system software license agreement.
  2884  //
  2885  // Please obtain a copy of the License at
  2886  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2887  //
  2888  // The Original Code and all software distributed under the License are
  2889  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2890  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2891  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2892  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2893  // Please see the License for the specific language governing rights and
  2894  // limitations under the License.
  2895  //
  2896  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2897  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2898  //
  2899  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2900  //
  2901  // This file contains Original Code and/or Modifications of Original Code
  2902  // as defined in and that are subject to the Apple Public Source License
  2903  // Version 2.0 (the 'License'). You may not use this file except in
  2904  // compliance with the License. The rights granted to you under the License
  2905  // may not be used to create, or enable the creation or redistribution of,
  2906  // unlawful or unlicensed copies of an Apple operating system, or to
  2907  // circumvent, violate, or enable the circumvention or violation of, any
  2908  // terms of an Apple operating system software license agreement.
  2909  //
  2910  // Please obtain a copy of the License at
  2911  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2912  //
  2913  // The Original Code and all software distributed under the License are
  2914  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2915  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2916  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2917  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2918  // Please see the License for the specific language governing rights and
  2919  // limitations under the License.
  2920  //
  2921  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2922  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2923  //
  2924  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2925  //
  2926  // This file contains Original Code and/or Modifications of Original Code
  2927  // as defined in and that are subject to the Apple Public Source License
  2928  // Version 2.0 (the 'License'). You may not use this file except in
  2929  // compliance with the License. The rights granted to you under the License
  2930  // may not be used to create, or enable the creation or redistribution of,
  2931  // unlawful or unlicensed copies of an Apple operating system, or to
  2932  // circumvent, violate, or enable the circumvention or violation of, any
  2933  // terms of an Apple operating system software license agreement.
  2934  //
  2935  // Please obtain a copy of the License at
  2936  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2937  //
  2938  // The Original Code and all software distributed under the License are
  2939  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2940  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2941  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2942  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2943  // Please see the License for the specific language governing rights and
  2944  // limitations under the License.
  2945  //
  2946  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2947  
  2948  type useconds_t = uint32 /* _useconds_t.h:31:33 */
  2949  
  2950  // Darwin extensions
  2951  
  2952  // Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
  2953  //
  2954  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2955  //
  2956  // This file contains Original Code and/or Modifications of Original Code
  2957  // as defined in and that are subject to the Apple Public Source License
  2958  // Version 2.0 (the 'License'). You may not use this file except in
  2959  // compliance with the License. The rights granted to you under the License
  2960  // may not be used to create, or enable the creation or redistribution of,
  2961  // unlawful or unlicensed copies of an Apple operating system, or to
  2962  // circumvent, violate, or enable the circumvention or violation of, any
  2963  // terms of an Apple operating system software license agreement.
  2964  //
  2965  // Please obtain a copy of the License at
  2966  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2967  //
  2968  // The Original Code and all software distributed under the License are
  2969  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2970  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2971  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2972  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2973  // Please see the License for the specific language governing rights and
  2974  // limitations under the License.
  2975  //
  2976  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2977  // Copyright (c) 1992, 1993
  2978  //	The Regents of the University of California.  All rights reserved.
  2979  //
  2980  // Redistribution and use in source and binary forms, with or without
  2981  // modification, are permitted provided that the following conditions
  2982  // are met:
  2983  // 1. Redistributions of source code must retain the above copyright
  2984  //    notice, this list of conditions and the following disclaimer.
  2985  // 2. Redistributions in binary form must reproduce the above copyright
  2986  //    notice, this list of conditions and the following disclaimer in the
  2987  //    documentation and/or other materials provided with the distribution.
  2988  // 3. All advertising materials mentioning features or use of this software
  2989  //    must display the following acknowledgement:
  2990  //	This product includes software developed by the University of
  2991  //	California, Berkeley and its contributors.
  2992  // 4. Neither the name of the University nor the names of its contributors
  2993  //    may be used to endorse or promote products derived from this software
  2994  //    without specific prior written permission.
  2995  //
  2996  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2997  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2998  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2999  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  3000  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  3001  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  3002  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  3003  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  3004  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  3005  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  3006  // SUCH DAMAGE.
  3007  //
  3008  //	@(#)select.h	8.2 (Berkeley) 1/4/94
  3009  
  3010  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  3011  //
  3012  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3013  //
  3014  // This file contains Original Code and/or Modifications of Original Code
  3015  // as defined in and that are subject to the Apple Public Source License
  3016  // Version 2.0 (the 'License'). You may not use this file except in
  3017  // compliance with the License. The rights granted to you under the License
  3018  // may not be used to create, or enable the creation or redistribution of,
  3019  // unlawful or unlicensed copies of an Apple operating system, or to
  3020  // circumvent, violate, or enable the circumvention or violation of, any
  3021  // terms of an Apple operating system software license agreement.
  3022  //
  3023  // Please obtain a copy of the License at
  3024  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3025  //
  3026  // The Original Code and all software distributed under the License are
  3027  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3028  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3029  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3030  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3031  // Please see the License for the specific language governing rights and
  3032  // limitations under the License.
  3033  //
  3034  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3035  
  3036  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  3037  //
  3038  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3039  //
  3040  // This file contains Original Code and/or Modifications of Original Code
  3041  // as defined in and that are subject to the Apple Public Source License
  3042  // Version 2.0 (the 'License'). You may not use this file except in
  3043  // compliance with the License. The rights granted to you under the License
  3044  // may not be used to create, or enable the creation or redistribution of,
  3045  // unlawful or unlicensed copies of an Apple operating system, or to
  3046  // circumvent, violate, or enable the circumvention or violation of, any
  3047  // terms of an Apple operating system software license agreement.
  3048  //
  3049  // Please obtain a copy of the License at
  3050  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3051  //
  3052  // The Original Code and all software distributed under the License are
  3053  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3054  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3055  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3056  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3057  // Please see the License for the specific language governing rights and
  3058  // limitations under the License.
  3059  //
  3060  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3061  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3062  // Copyright (c) 1991, 1993
  3063  //	The Regents of the University of California.  All rights reserved.
  3064  //
  3065  // This code is derived from software contributed to Berkeley by
  3066  // Berkeley Software Design, Inc.
  3067  //
  3068  // Redistribution and use in source and binary forms, with or without
  3069  // modification, are permitted provided that the following conditions
  3070  // are met:
  3071  // 1. Redistributions of source code must retain the above copyright
  3072  //    notice, this list of conditions and the following disclaimer.
  3073  // 2. Redistributions in binary form must reproduce the above copyright
  3074  //    notice, this list of conditions and the following disclaimer in the
  3075  //    documentation and/or other materials provided with the distribution.
  3076  // 3. All advertising materials mentioning features or use of this software
  3077  //    must display the following acknowledgement:
  3078  //	This product includes software developed by the University of
  3079  //	California, Berkeley and its contributors.
  3080  // 4. Neither the name of the University nor the names of its contributors
  3081  //    may be used to endorse or promote products derived from this software
  3082  //    without specific prior written permission.
  3083  //
  3084  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  3085  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  3086  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  3087  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  3088  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  3089  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  3090  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  3091  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  3092  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  3093  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  3094  // SUCH DAMAGE.
  3095  //
  3096  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  3097  
  3098  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3099  //
  3100  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3101  //
  3102  // This file contains Original Code and/or Modifications of Original Code
  3103  // as defined in and that are subject to the Apple Public Source License
  3104  // Version 2.0 (the 'License'). You may not use this file except in
  3105  // compliance with the License. The rights granted to you under the License
  3106  // may not be used to create, or enable the creation or redistribution of,
  3107  // unlawful or unlicensed copies of an Apple operating system, or to
  3108  // circumvent, violate, or enable the circumvention or violation of, any
  3109  // terms of an Apple operating system software license agreement.
  3110  //
  3111  // Please obtain a copy of the License at
  3112  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3113  //
  3114  // The Original Code and all software distributed under the License are
  3115  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3116  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3117  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3118  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3119  // Please see the License for the specific language governing rights and
  3120  // limitations under the License.
  3121  //
  3122  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3123  
  3124  // [XSI] The <sys/select.h> header shall define the fd_set type as a structure.
  3125  // The timespec structure shall be defined as described in <time.h>
  3126  // The <sys/select.h> header shall define the timeval structure.
  3127  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3128  //
  3129  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3130  //
  3131  // This file contains Original Code and/or Modifications of Original Code
  3132  // as defined in and that are subject to the Apple Public Source License
  3133  // Version 2.0 (the 'License'). You may not use this file except in
  3134  // compliance with the License. The rights granted to you under the License
  3135  // may not be used to create, or enable the creation or redistribution of,
  3136  // unlawful or unlicensed copies of an Apple operating system, or to
  3137  // circumvent, violate, or enable the circumvention or violation of, any
  3138  // terms of an Apple operating system software license agreement.
  3139  //
  3140  // Please obtain a copy of the License at
  3141  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3142  //
  3143  // The Original Code and all software distributed under the License are
  3144  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3145  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3146  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3147  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3148  // Please see the License for the specific language governing rights and
  3149  // limitations under the License.
  3150  //
  3151  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3152  
  3153  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3154  //
  3155  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3156  //
  3157  // This file contains Original Code and/or Modifications of Original Code
  3158  // as defined in and that are subject to the Apple Public Source License
  3159  // Version 2.0 (the 'License'). You may not use this file except in
  3160  // compliance with the License. The rights granted to you under the License
  3161  // may not be used to create, or enable the creation or redistribution of,
  3162  // unlawful or unlicensed copies of an Apple operating system, or to
  3163  // circumvent, violate, or enable the circumvention or violation of, any
  3164  // terms of an Apple operating system software license agreement.
  3165  //
  3166  // Please obtain a copy of the License at
  3167  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3168  //
  3169  // The Original Code and all software distributed under the License are
  3170  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3171  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3172  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3173  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3174  // Please see the License for the specific language governing rights and
  3175  // limitations under the License.
  3176  //
  3177  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3178  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3179  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  3180  //
  3181  // @APPLE_LICENSE_HEADER_START@
  3182  //
  3183  // This file contains Original Code and/or Modifications of Original Code
  3184  // as defined in and that are subject to the Apple Public Source License
  3185  // Version 2.0 (the 'License'). You may not use this file except in
  3186  // compliance with the License. Please obtain a copy of the License at
  3187  // http://www.opensource.apple.com/apsl/ and read it before using this
  3188  // file.
  3189  //
  3190  // The Original Code and all software distributed under the License are
  3191  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3192  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3193  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3194  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3195  // Please see the License for the specific language governing rights and
  3196  // limitations under the License.
  3197  //
  3198  // @APPLE_LICENSE_HEADER_END@
  3199  
  3200  // Select uses bit masks of file descriptors in longs.  These macros
  3201  // manipulate such bit fields (the filesystem macros use chars).  The
  3202  // extra protection here is to permit application redefinition above
  3203  // the default size.
  3204  
  3205  type fd_set1 = struct{ Ffds_bits [32]int32 } /* _fd_def.h:50:9 */
  3206  
  3207  // Darwin extensions
  3208  
  3209  // Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
  3210  //
  3211  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3212  //
  3213  // This file contains Original Code and/or Modifications of Original Code
  3214  // as defined in and that are subject to the Apple Public Source License
  3215  // Version 2.0 (the 'License'). You may not use this file except in
  3216  // compliance with the License. The rights granted to you under the License
  3217  // may not be used to create, or enable the creation or redistribution of,
  3218  // unlawful or unlicensed copies of an Apple operating system, or to
  3219  // circumvent, violate, or enable the circumvention or violation of, any
  3220  // terms of an Apple operating system software license agreement.
  3221  //
  3222  // Please obtain a copy of the License at
  3223  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3224  //
  3225  // The Original Code and all software distributed under the License are
  3226  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3227  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3228  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3229  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3230  // Please see the License for the specific language governing rights and
  3231  // limitations under the License.
  3232  //
  3233  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3234  // Copyright (c) 1992, 1993
  3235  //	The Regents of the University of California.  All rights reserved.
  3236  //
  3237  // Redistribution and use in source and binary forms, with or without
  3238  // modification, are permitted provided that the following conditions
  3239  // are met:
  3240  // 1. Redistributions of source code must retain the above copyright
  3241  //    notice, this list of conditions and the following disclaimer.
  3242  // 2. Redistributions in binary form must reproduce the above copyright
  3243  //    notice, this list of conditions and the following disclaimer in the
  3244  //    documentation and/or other materials provided with the distribution.
  3245  // 3. All advertising materials mentioning features or use of this software
  3246  //    must display the following acknowledgement:
  3247  //	This product includes software developed by the University of
  3248  //	California, Berkeley and its contributors.
  3249  // 4. Neither the name of the University nor the names of its contributors
  3250  //    may be used to endorse or promote products derived from this software
  3251  //    without specific prior written permission.
  3252  //
  3253  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  3254  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  3255  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  3256  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  3257  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  3258  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  3259  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  3260  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  3261  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  3262  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  3263  // SUCH DAMAGE.
  3264  //
  3265  //	@(#)select.h	8.2 (Berkeley) 1/4/94
  3266  
  3267  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  3268  //
  3269  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3270  //
  3271  // This file contains Original Code and/or Modifications of Original Code
  3272  // as defined in and that are subject to the Apple Public Source License
  3273  // Version 2.0 (the 'License'). You may not use this file except in
  3274  // compliance with the License. The rights granted to you under the License
  3275  // may not be used to create, or enable the creation or redistribution of,
  3276  // unlawful or unlicensed copies of an Apple operating system, or to
  3277  // circumvent, violate, or enable the circumvention or violation of, any
  3278  // terms of an Apple operating system software license agreement.
  3279  //
  3280  // Please obtain a copy of the License at
  3281  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3282  //
  3283  // The Original Code and all software distributed under the License are
  3284  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3285  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3286  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3287  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3288  // Please see the License for the specific language governing rights and
  3289  // limitations under the License.
  3290  //
  3291  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3292  
  3293  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  3294  //
  3295  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3296  //
  3297  // This file contains Original Code and/or Modifications of Original Code
  3298  // as defined in and that are subject to the Apple Public Source License
  3299  // Version 2.0 (the 'License'). You may not use this file except in
  3300  // compliance with the License. The rights granted to you under the License
  3301  // may not be used to create, or enable the creation or redistribution of,
  3302  // unlawful or unlicensed copies of an Apple operating system, or to
  3303  // circumvent, violate, or enable the circumvention or violation of, any
  3304  // terms of an Apple operating system software license agreement.
  3305  //
  3306  // Please obtain a copy of the License at
  3307  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3308  //
  3309  // The Original Code and all software distributed under the License are
  3310  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3311  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3312  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3313  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3314  // Please see the License for the specific language governing rights and
  3315  // limitations under the License.
  3316  //
  3317  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3318  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3319  // Copyright (c) 1991, 1993
  3320  //	The Regents of the University of California.  All rights reserved.
  3321  //
  3322  // This code is derived from software contributed to Berkeley by
  3323  // Berkeley Software Design, Inc.
  3324  //
  3325  // Redistribution and use in source and binary forms, with or without
  3326  // modification, are permitted provided that the following conditions
  3327  // are met:
  3328  // 1. Redistributions of source code must retain the above copyright
  3329  //    notice, this list of conditions and the following disclaimer.
  3330  // 2. Redistributions in binary form must reproduce the above copyright
  3331  //    notice, this list of conditions and the following disclaimer in the
  3332  //    documentation and/or other materials provided with the distribution.
  3333  // 3. All advertising materials mentioning features or use of this software
  3334  //    must display the following acknowledgement:
  3335  //	This product includes software developed by the University of
  3336  //	California, Berkeley and its contributors.
  3337  // 4. Neither the name of the University nor the names of its contributors
  3338  //    may be used to endorse or promote products derived from this software
  3339  //    without specific prior written permission.
  3340  //
  3341  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  3342  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  3343  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  3344  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  3345  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  3346  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  3347  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  3348  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  3349  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  3350  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  3351  // SUCH DAMAGE.
  3352  //
  3353  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  3354  
  3355  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3356  //
  3357  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3358  //
  3359  // This file contains Original Code and/or Modifications of Original Code
  3360  // as defined in and that are subject to the Apple Public Source License
  3361  // Version 2.0 (the 'License'). You may not use this file except in
  3362  // compliance with the License. The rights granted to you under the License
  3363  // may not be used to create, or enable the creation or redistribution of,
  3364  // unlawful or unlicensed copies of an Apple operating system, or to
  3365  // circumvent, violate, or enable the circumvention or violation of, any
  3366  // terms of an Apple operating system software license agreement.
  3367  //
  3368  // Please obtain a copy of the License at
  3369  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3370  //
  3371  // The Original Code and all software distributed under the License are
  3372  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3373  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3374  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3375  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3376  // Please see the License for the specific language governing rights and
  3377  // limitations under the License.
  3378  //
  3379  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3380  
  3381  // [XSI] The <sys/select.h> header shall define the fd_set type as a structure.
  3382  // The timespec structure shall be defined as described in <time.h>
  3383  // The <sys/select.h> header shall define the timeval structure.
  3384  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3385  //
  3386  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3387  //
  3388  // This file contains Original Code and/or Modifications of Original Code
  3389  // as defined in and that are subject to the Apple Public Source License
  3390  // Version 2.0 (the 'License'). You may not use this file except in
  3391  // compliance with the License. The rights granted to you under the License
  3392  // may not be used to create, or enable the creation or redistribution of,
  3393  // unlawful or unlicensed copies of an Apple operating system, or to
  3394  // circumvent, violate, or enable the circumvention or violation of, any
  3395  // terms of an Apple operating system software license agreement.
  3396  //
  3397  // Please obtain a copy of the License at
  3398  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3399  //
  3400  // The Original Code and all software distributed under the License are
  3401  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3402  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3403  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3404  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3405  // Please see the License for the specific language governing rights and
  3406  // limitations under the License.
  3407  //
  3408  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3409  
  3410  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3411  //
  3412  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3413  //
  3414  // This file contains Original Code and/or Modifications of Original Code
  3415  // as defined in and that are subject to the Apple Public Source License
  3416  // Version 2.0 (the 'License'). You may not use this file except in
  3417  // compliance with the License. The rights granted to you under the License
  3418  // may not be used to create, or enable the creation or redistribution of,
  3419  // unlawful or unlicensed copies of an Apple operating system, or to
  3420  // circumvent, violate, or enable the circumvention or violation of, any
  3421  // terms of an Apple operating system software license agreement.
  3422  //
  3423  // Please obtain a copy of the License at
  3424  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3425  //
  3426  // The Original Code and all software distributed under the License are
  3427  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3428  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3429  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3430  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3431  // Please see the License for the specific language governing rights and
  3432  // limitations under the License.
  3433  //
  3434  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3435  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3436  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  3437  //
  3438  // @APPLE_LICENSE_HEADER_START@
  3439  //
  3440  // This file contains Original Code and/or Modifications of Original Code
  3441  // as defined in and that are subject to the Apple Public Source License
  3442  // Version 2.0 (the 'License'). You may not use this file except in
  3443  // compliance with the License. Please obtain a copy of the License at
  3444  // http://www.opensource.apple.com/apsl/ and read it before using this
  3445  // file.
  3446  //
  3447  // The Original Code and all software distributed under the License are
  3448  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3449  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3450  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3451  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3452  // Please see the License for the specific language governing rights and
  3453  // limitations under the License.
  3454  //
  3455  // @APPLE_LICENSE_HEADER_END@
  3456  
  3457  // Select uses bit masks of file descriptors in longs.  These macros
  3458  // manipulate such bit fields (the filesystem macros use chars).  The
  3459  // extra protection here is to permit application redefinition above
  3460  // the default size.
  3461  
  3462  type fd_set = fd_set1 /* _fd_def.h:52:3 */
  3463  
  3464  // Use the built-in bzero function instead of the library version so that
  3465  // we do not pollute the namespace or introduce prototype warnings.
  3466  
  3467  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3468  //
  3469  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3470  //
  3471  // This file contains Original Code and/or Modifications of Original Code
  3472  // as defined in and that are subject to the Apple Public Source License
  3473  // Version 2.0 (the 'License'). You may not use this file except in
  3474  // compliance with the License. The rights granted to you under the License
  3475  // may not be used to create, or enable the creation or redistribution of,
  3476  // unlawful or unlicensed copies of an Apple operating system, or to
  3477  // circumvent, violate, or enable the circumvention or violation of, any
  3478  // terms of an Apple operating system software license agreement.
  3479  //
  3480  // Please obtain a copy of the License at
  3481  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3482  //
  3483  // The Original Code and all software distributed under the License are
  3484  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3485  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3486  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3487  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3488  // Please see the License for the specific language governing rights and
  3489  // limitations under the License.
  3490  //
  3491  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3492  
  3493  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3494  //
  3495  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3496  //
  3497  // This file contains Original Code and/or Modifications of Original Code
  3498  // as defined in and that are subject to the Apple Public Source License
  3499  // Version 2.0 (the 'License'). You may not use this file except in
  3500  // compliance with the License. The rights granted to you under the License
  3501  // may not be used to create, or enable the creation or redistribution of,
  3502  // unlawful or unlicensed copies of an Apple operating system, or to
  3503  // circumvent, violate, or enable the circumvention or violation of, any
  3504  // terms of an Apple operating system software license agreement.
  3505  //
  3506  // Please obtain a copy of the License at
  3507  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3508  //
  3509  // The Original Code and all software distributed under the License are
  3510  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3511  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3512  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3513  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3514  // Please see the License for the specific language governing rights and
  3515  // limitations under the License.
  3516  //
  3517  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3518  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3519  
  3520  type timespec = struct {
  3521  	Ftv_sec  int64
  3522  	Ftv_nsec int64
  3523  } /* _timespec.h:33:1 */
  3524  
  3525  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3526  //
  3527  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3528  //
  3529  // This file contains Original Code and/or Modifications of Original Code
  3530  // as defined in and that are subject to the Apple Public Source License
  3531  // Version 2.0 (the 'License'). You may not use this file except in
  3532  // compliance with the License. The rights granted to you under the License
  3533  // may not be used to create, or enable the creation or redistribution of,
  3534  // unlawful or unlicensed copies of an Apple operating system, or to
  3535  // circumvent, violate, or enable the circumvention or violation of, any
  3536  // terms of an Apple operating system software license agreement.
  3537  //
  3538  // Please obtain a copy of the License at
  3539  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3540  //
  3541  // The Original Code and all software distributed under the License are
  3542  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3543  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3544  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3545  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3546  // Please see the License for the specific language governing rights and
  3547  // limitations under the License.
  3548  //
  3549  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3550  
  3551  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3552  //
  3553  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3554  //
  3555  // This file contains Original Code and/or Modifications of Original Code
  3556  // as defined in and that are subject to the Apple Public Source License
  3557  // Version 2.0 (the 'License'). You may not use this file except in
  3558  // compliance with the License. The rights granted to you under the License
  3559  // may not be used to create, or enable the creation or redistribution of,
  3560  // unlawful or unlicensed copies of an Apple operating system, or to
  3561  // circumvent, violate, or enable the circumvention or violation of, any
  3562  // terms of an Apple operating system software license agreement.
  3563  //
  3564  // Please obtain a copy of the License at
  3565  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3566  //
  3567  // The Original Code and all software distributed under the License are
  3568  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3569  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3570  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3571  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3572  // Please see the License for the specific language governing rights and
  3573  // limitations under the License.
  3574  //
  3575  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3576  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3577  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3578  //
  3579  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3580  //
  3581  // This file contains Original Code and/or Modifications of Original Code
  3582  // as defined in and that are subject to the Apple Public Source License
  3583  // Version 2.0 (the 'License'). You may not use this file except in
  3584  // compliance with the License. The rights granted to you under the License
  3585  // may not be used to create, or enable the creation or redistribution of,
  3586  // unlawful or unlicensed copies of an Apple operating system, or to
  3587  // circumvent, violate, or enable the circumvention or violation of, any
  3588  // terms of an Apple operating system software license agreement.
  3589  //
  3590  // Please obtain a copy of the License at
  3591  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3592  //
  3593  // The Original Code and all software distributed under the License are
  3594  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3595  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3596  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3597  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3598  // Please see the License for the specific language governing rights and
  3599  // limitations under the License.
  3600  //
  3601  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3602  
  3603  type timeval = struct {
  3604  	Ftv_sec      int64
  3605  	Ftv_usec     int32
  3606  	F__ccgo_pad1 [4]byte
  3607  } /* _timeval.h:34:1 */
  3608  
  3609  // The time_t and suseconds_t types shall be defined as described in
  3610  // <sys/types.h>
  3611  // The sigset_t type shall be defined as described in <signal.h>
  3612  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3613  //
  3614  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3615  //
  3616  // This file contains Original Code and/or Modifications of Original Code
  3617  // as defined in and that are subject to the Apple Public Source License
  3618  // Version 2.0 (the 'License'). You may not use this file except in
  3619  // compliance with the License. The rights granted to you under the License
  3620  // may not be used to create, or enable the creation or redistribution of,
  3621  // unlawful or unlicensed copies of an Apple operating system, or to
  3622  // circumvent, violate, or enable the circumvention or violation of, any
  3623  // terms of an Apple operating system software license agreement.
  3624  //
  3625  // Please obtain a copy of the License at
  3626  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3627  //
  3628  // The Original Code and all software distributed under the License are
  3629  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3630  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3631  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3632  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3633  // Please see the License for the specific language governing rights and
  3634  // limitations under the License.
  3635  //
  3636  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3637  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3638  //
  3639  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3640  //
  3641  // This file contains Original Code and/or Modifications of Original Code
  3642  // as defined in and that are subject to the Apple Public Source License
  3643  // Version 2.0 (the 'License'). You may not use this file except in
  3644  // compliance with the License. The rights granted to you under the License
  3645  // may not be used to create, or enable the creation or redistribution of,
  3646  // unlawful or unlicensed copies of an Apple operating system, or to
  3647  // circumvent, violate, or enable the circumvention or violation of, any
  3648  // terms of an Apple operating system software license agreement.
  3649  //
  3650  // Please obtain a copy of the License at
  3651  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3652  //
  3653  // The Original Code and all software distributed under the License are
  3654  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3655  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3656  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3657  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3658  // Please see the License for the specific language governing rights and
  3659  // limitations under the License.
  3660  //
  3661  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3662  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3663  type time_t = int64 /* _time_t.h:31:33 */
  3664  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3665  //
  3666  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3667  //
  3668  // This file contains Original Code and/or Modifications of Original Code
  3669  // as defined in and that are subject to the Apple Public Source License
  3670  // Version 2.0 (the 'License'). You may not use this file except in
  3671  // compliance with the License. The rights granted to you under the License
  3672  // may not be used to create, or enable the creation or redistribution of,
  3673  // unlawful or unlicensed copies of an Apple operating system, or to
  3674  // circumvent, violate, or enable the circumvention or violation of, any
  3675  // terms of an Apple operating system software license agreement.
  3676  //
  3677  // Please obtain a copy of the License at
  3678  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3679  //
  3680  // The Original Code and all software distributed under the License are
  3681  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3682  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3683  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3684  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3685  // Please see the License for the specific language governing rights and
  3686  // limitations under the License.
  3687  //
  3688  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3689  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3690  //
  3691  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3692  //
  3693  // This file contains Original Code and/or Modifications of Original Code
  3694  // as defined in and that are subject to the Apple Public Source License
  3695  // Version 2.0 (the 'License'). You may not use this file except in
  3696  // compliance with the License. The rights granted to you under the License
  3697  // may not be used to create, or enable the creation or redistribution of,
  3698  // unlawful or unlicensed copies of an Apple operating system, or to
  3699  // circumvent, violate, or enable the circumvention or violation of, any
  3700  // terms of an Apple operating system software license agreement.
  3701  //
  3702  // Please obtain a copy of the License at
  3703  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3704  //
  3705  // The Original Code and all software distributed under the License are
  3706  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3707  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3708  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3709  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3710  // Please see the License for the specific language governing rights and
  3711  // limitations under the License.
  3712  //
  3713  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3714  
  3715  type suseconds_t = int32 /* _suseconds_t.h:31:33 */
  3716  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3717  //
  3718  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3719  //
  3720  // This file contains Original Code and/or Modifications of Original Code
  3721  // as defined in and that are subject to the Apple Public Source License
  3722  // Version 2.0 (the 'License'). You may not use this file except in
  3723  // compliance with the License. The rights granted to you under the License
  3724  // may not be used to create, or enable the creation or redistribution of,
  3725  // unlawful or unlicensed copies of an Apple operating system, or to
  3726  // circumvent, violate, or enable the circumvention or violation of, any
  3727  // terms of an Apple operating system software license agreement.
  3728  //
  3729  // Please obtain a copy of the License at
  3730  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3731  //
  3732  // The Original Code and all software distributed under the License are
  3733  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3734  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3735  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3736  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3737  // Please see the License for the specific language governing rights and
  3738  // limitations under the License.
  3739  //
  3740  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3741  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3742  //
  3743  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3744  //
  3745  // This file contains Original Code and/or Modifications of Original Code
  3746  // as defined in and that are subject to the Apple Public Source License
  3747  // Version 2.0 (the 'License'). You may not use this file except in
  3748  // compliance with the License. The rights granted to you under the License
  3749  // may not be used to create, or enable the creation or redistribution of,
  3750  // unlawful or unlicensed copies of an Apple operating system, or to
  3751  // circumvent, violate, or enable the circumvention or violation of, any
  3752  // terms of an Apple operating system software license agreement.
  3753  //
  3754  // Please obtain a copy of the License at
  3755  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3756  //
  3757  // The Original Code and all software distributed under the License are
  3758  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3759  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3760  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3761  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3762  // Please see the License for the specific language governing rights and
  3763  // limitations under the License.
  3764  //
  3765  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3766  
  3767  type sigset_t = uint32 /* _sigset_t.h:31:41 */
  3768  
  3769  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3770  //
  3771  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3772  //
  3773  // This file contains Original Code and/or Modifications of Original Code
  3774  // as defined in and that are subject to the Apple Public Source License
  3775  // Version 2.0 (the 'License'). You may not use this file except in
  3776  // compliance with the License. The rights granted to you under the License
  3777  // may not be used to create, or enable the creation or redistribution of,
  3778  // unlawful or unlicensed copies of an Apple operating system, or to
  3779  // circumvent, violate, or enable the circumvention or violation of, any
  3780  // terms of an Apple operating system software license agreement.
  3781  //
  3782  // Please obtain a copy of the License at
  3783  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3784  //
  3785  // The Original Code and all software distributed under the License are
  3786  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3787  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3788  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3789  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3790  // Please see the License for the specific language governing rights and
  3791  // limitations under the License.
  3792  //
  3793  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3794  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3795  //
  3796  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3797  //
  3798  // This file contains Original Code and/or Modifications of Original Code
  3799  // as defined in and that are subject to the Apple Public Source License
  3800  // Version 2.0 (the 'License'). You may not use this file except in
  3801  // compliance with the License. The rights granted to you under the License
  3802  // may not be used to create, or enable the creation or redistribution of,
  3803  // unlawful or unlicensed copies of an Apple operating system, or to
  3804  // circumvent, violate, or enable the circumvention or violation of, any
  3805  // terms of an Apple operating system software license agreement.
  3806  //
  3807  // Please obtain a copy of the License at
  3808  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3809  //
  3810  // The Original Code and all software distributed under the License are
  3811  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3812  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3813  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3814  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3815  // Please see the License for the specific language governing rights and
  3816  // limitations under the License.
  3817  //
  3818  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3819  
  3820  type dev_t = int32 /* _dev_t.h:31:31 */ // device number
  3821  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3822  //
  3823  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3824  //
  3825  // This file contains Original Code and/or Modifications of Original Code
  3826  // as defined in and that are subject to the Apple Public Source License
  3827  // Version 2.0 (the 'License'). You may not use this file except in
  3828  // compliance with the License. The rights granted to you under the License
  3829  // may not be used to create, or enable the creation or redistribution of,
  3830  // unlawful or unlicensed copies of an Apple operating system, or to
  3831  // circumvent, violate, or enable the circumvention or violation of, any
  3832  // terms of an Apple operating system software license agreement.
  3833  //
  3834  // Please obtain a copy of the License at
  3835  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3836  //
  3837  // The Original Code and all software distributed under the License are
  3838  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3839  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3840  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3841  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3842  // Please see the License for the specific language governing rights and
  3843  // limitations under the License.
  3844  //
  3845  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3846  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3847  //
  3848  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3849  //
  3850  // This file contains Original Code and/or Modifications of Original Code
  3851  // as defined in and that are subject to the Apple Public Source License
  3852  // Version 2.0 (the 'License'). You may not use this file except in
  3853  // compliance with the License. The rights granted to you under the License
  3854  // may not be used to create, or enable the creation or redistribution of,
  3855  // unlawful or unlicensed copies of an Apple operating system, or to
  3856  // circumvent, violate, or enable the circumvention or violation of, any
  3857  // terms of an Apple operating system software license agreement.
  3858  //
  3859  // Please obtain a copy of the License at
  3860  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3861  //
  3862  // The Original Code and all software distributed under the License are
  3863  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3864  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3865  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3866  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3867  // Please see the License for the specific language governing rights and
  3868  // limitations under the License.
  3869  //
  3870  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3871  
  3872  type mode_t = uint16 /* _mode_t.h:31:33 */
  3873  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3874  //
  3875  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3876  //
  3877  // This file contains Original Code and/or Modifications of Original Code
  3878  // as defined in and that are subject to the Apple Public Source License
  3879  // Version 2.0 (the 'License'). You may not use this file except in
  3880  // compliance with the License. The rights granted to you under the License
  3881  // may not be used to create, or enable the creation or redistribution of,
  3882  // unlawful or unlicensed copies of an Apple operating system, or to
  3883  // circumvent, violate, or enable the circumvention or violation of, any
  3884  // terms of an Apple operating system software license agreement.
  3885  //
  3886  // Please obtain a copy of the License at
  3887  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3888  //
  3889  // The Original Code and all software distributed under the License are
  3890  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3891  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3892  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3893  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3894  // Please see the License for the specific language governing rights and
  3895  // limitations under the License.
  3896  //
  3897  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3898  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3899  //
  3900  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3901  //
  3902  // This file contains Original Code and/or Modifications of Original Code
  3903  // as defined in and that are subject to the Apple Public Source License
  3904  // Version 2.0 (the 'License'). You may not use this file except in
  3905  // compliance with the License. The rights granted to you under the License
  3906  // may not be used to create, or enable the creation or redistribution of,
  3907  // unlawful or unlicensed copies of an Apple operating system, or to
  3908  // circumvent, violate, or enable the circumvention or violation of, any
  3909  // terms of an Apple operating system software license agreement.
  3910  //
  3911  // Please obtain a copy of the License at
  3912  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3913  //
  3914  // The Original Code and all software distributed under the License are
  3915  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3916  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3917  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3918  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3919  // Please see the License for the specific language governing rights and
  3920  // limitations under the License.
  3921  //
  3922  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3923  
  3924  type uuid_t = [16]uint8 /* _uuid_t.h:31:25 */
  3925  
  3926  // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett.
  3927  // All Rights Reserved.
  3928  //
  3929  // Permission is hereby granted, free of charge, to any person obtaining a
  3930  // copy of this software and associated documentation files (the "Software"),
  3931  // to deal in the Software without restriction, including without limitation
  3932  // the rights to use, copy, modify, merge, publish, distribute, sublicense,
  3933  // and/or sell copies of the Software, and to permit persons to whom the
  3934  // Software is furnished to do so, subject to the following conditions:
  3935  //
  3936  // The above copyright notice and this permission notice shall be included in
  3937  // all copies or substantial portions of the Software.
  3938  //
  3939  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  3940  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  3941  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  3942  // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  3943  // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  3944  // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  3945  //
  3946  // Except as contained in this notice, the names of the authors or their
  3947  // institutions shall not be used in advertising or otherwise to promote the
  3948  // sale, use or other dealings in this Software without prior written
  3949  // authorization from the authors.
  3950  
  3951  // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
  3952  //
  3953  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3954  //
  3955  // This file contains Original Code and/or Modifications of Original Code
  3956  // as defined in and that are subject to the Apple Public Source License
  3957  // Version 2.0 (the 'License'). You may not use this file except in
  3958  // compliance with the License. The rights granted to you under the License
  3959  // may not be used to create, or enable the creation or redistribution of,
  3960  // unlawful or unlicensed copies of an Apple operating system, or to
  3961  // circumvent, violate, or enable the circumvention or violation of, any
  3962  // terms of an Apple operating system software license agreement.
  3963  //
  3964  // Please obtain a copy of the License at
  3965  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3966  //
  3967  // The Original Code and all software distributed under the License are
  3968  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3969  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3970  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3971  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3972  // Please see the License for the specific language governing rights and
  3973  // limitations under the License.
  3974  //
  3975  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3976  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  3977  // Copyright (c) 1982, 1986, 1991, 1993, 1994
  3978  //	The Regents of the University of California.  All rights reserved.
  3979  // (c) UNIX System Laboratories, Inc.
  3980  // All or some portions of this file are derived from material licensed
  3981  // to the University of California by American Telephone and Telegraph
  3982  // Co. or Unix System Laboratories, Inc. and are reproduced herein with
  3983  // the permission of UNIX System Laboratories, Inc.
  3984  //
  3985  // Redistribution and use in source and binary forms, with or without
  3986  // modification, are permitted provided that the following conditions
  3987  // are met:
  3988  // 1. Redistributions of source code must retain the above copyright
  3989  //    notice, this list of conditions and the following disclaimer.
  3990  // 2. Redistributions in binary form must reproduce the above copyright
  3991  //    notice, this list of conditions and the following disclaimer in the
  3992  //    documentation and/or other materials provided with the distribution.
  3993  // 3. All advertising materials mentioning features or use of this software
  3994  //    must display the following acknowledgement:
  3995  //	This product includes software developed by the University of
  3996  //	California, Berkeley and its contributors.
  3997  // 4. Neither the name of the University nor the names of its contributors
  3998  //    may be used to endorse or promote products derived from this software
  3999  //    without specific prior written permission.
  4000  //
  4001  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4002  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4003  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4004  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4005  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4006  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4007  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4008  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4009  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4010  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4011  // SUCH DAMAGE.
  4012  //
  4013  //	@(#)types.h	8.4 (Berkeley) 1/21/94
  4014  
  4015  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  4016  //
  4017  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4018  //
  4019  // This file contains Original Code and/or Modifications of Original Code
  4020  // as defined in and that are subject to the Apple Public Source License
  4021  // Version 2.0 (the 'License'). You may not use this file except in
  4022  // compliance with the License. The rights granted to you under the License
  4023  // may not be used to create, or enable the creation or redistribution of,
  4024  // unlawful or unlicensed copies of an Apple operating system, or to
  4025  // circumvent, violate, or enable the circumvention or violation of, any
  4026  // terms of an Apple operating system software license agreement.
  4027  //
  4028  // Please obtain a copy of the License at
  4029  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4030  //
  4031  // The Original Code and all software distributed under the License are
  4032  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4033  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4034  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4035  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4036  // Please see the License for the specific language governing rights and
  4037  // limitations under the License.
  4038  //
  4039  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4040  
  4041  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  4042  //
  4043  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4044  //
  4045  // This file contains Original Code and/or Modifications of Original Code
  4046  // as defined in and that are subject to the Apple Public Source License
  4047  // Version 2.0 (the 'License'). You may not use this file except in
  4048  // compliance with the License. The rights granted to you under the License
  4049  // may not be used to create, or enable the creation or redistribution of,
  4050  // unlawful or unlicensed copies of an Apple operating system, or to
  4051  // circumvent, violate, or enable the circumvention or violation of, any
  4052  // terms of an Apple operating system software license agreement.
  4053  //
  4054  // Please obtain a copy of the License at
  4055  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4056  //
  4057  // The Original Code and all software distributed under the License are
  4058  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4059  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4060  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4061  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4062  // Please see the License for the specific language governing rights and
  4063  // limitations under the License.
  4064  //
  4065  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4066  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4067  // Copyright (c) 1991, 1993
  4068  //	The Regents of the University of California.  All rights reserved.
  4069  //
  4070  // This code is derived from software contributed to Berkeley by
  4071  // Berkeley Software Design, Inc.
  4072  //
  4073  // Redistribution and use in source and binary forms, with or without
  4074  // modification, are permitted provided that the following conditions
  4075  // are met:
  4076  // 1. Redistributions of source code must retain the above copyright
  4077  //    notice, this list of conditions and the following disclaimer.
  4078  // 2. Redistributions in binary form must reproduce the above copyright
  4079  //    notice, this list of conditions and the following disclaimer in the
  4080  //    documentation and/or other materials provided with the distribution.
  4081  // 3. All advertising materials mentioning features or use of this software
  4082  //    must display the following acknowledgement:
  4083  //	This product includes software developed by the University of
  4084  //	California, Berkeley and its contributors.
  4085  // 4. Neither the name of the University nor the names of its contributors
  4086  //    may be used to endorse or promote products derived from this software
  4087  //    without specific prior written permission.
  4088  //
  4089  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4090  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4091  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4092  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4093  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4094  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4095  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4096  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4097  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4098  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4099  // SUCH DAMAGE.
  4100  //
  4101  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  4102  
  4103  // Machine type dependent parameters.
  4104  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4105  //
  4106  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4107  //
  4108  // This file contains Original Code and/or Modifications of Original Code
  4109  // as defined in and that are subject to the Apple Public Source License
  4110  // Version 2.0 (the 'License'). You may not use this file except in
  4111  // compliance with the License. The rights granted to you under the License
  4112  // may not be used to create, or enable the creation or redistribution of,
  4113  // unlawful or unlicensed copies of an Apple operating system, or to
  4114  // circumvent, violate, or enable the circumvention or violation of, any
  4115  // terms of an Apple operating system software license agreement.
  4116  //
  4117  // Please obtain a copy of the License at
  4118  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4119  //
  4120  // The Original Code and all software distributed under the License are
  4121  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4122  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4123  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4124  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4125  // Please see the License for the specific language governing rights and
  4126  // limitations under the License.
  4127  //
  4128  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4129  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4130  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4131  //
  4132  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4133  //
  4134  // This file contains Original Code and/or Modifications of Original Code
  4135  // as defined in and that are subject to the Apple Public Source License
  4136  // Version 2.0 (the 'License'). You may not use this file except in
  4137  // compliance with the License. The rights granted to you under the License
  4138  // may not be used to create, or enable the creation or redistribution of,
  4139  // unlawful or unlicensed copies of an Apple operating system, or to
  4140  // circumvent, violate, or enable the circumvention or violation of, any
  4141  // terms of an Apple operating system software license agreement.
  4142  //
  4143  // Please obtain a copy of the License at
  4144  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4145  //
  4146  // The Original Code and all software distributed under the License are
  4147  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4148  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4149  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4150  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4151  // Please see the License for the specific language governing rights and
  4152  // limitations under the License.
  4153  //
  4154  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4155  
  4156  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4157  //
  4158  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4159  //
  4160  // This file contains Original Code and/or Modifications of Original Code
  4161  // as defined in and that are subject to the Apple Public Source License
  4162  // Version 2.0 (the 'License'). You may not use this file except in
  4163  // compliance with the License. The rights granted to you under the License
  4164  // may not be used to create, or enable the creation or redistribution of,
  4165  // unlawful or unlicensed copies of an Apple operating system, or to
  4166  // circumvent, violate, or enable the circumvention or violation of, any
  4167  // terms of an Apple operating system software license agreement.
  4168  //
  4169  // Please obtain a copy of the License at
  4170  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4171  //
  4172  // The Original Code and all software distributed under the License are
  4173  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4174  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4175  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4176  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4177  // Please see the License for the specific language governing rights and
  4178  // limitations under the License.
  4179  //
  4180  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4181  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4182  
  4183  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4184  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4185  // Copyright (c) 1987, 1991, 1993
  4186  //	The Regents of the University of California.  All rights reserved.
  4187  //
  4188  // Redistribution and use in source and binary forms, with or without
  4189  // modification, are permitted provided that the following conditions
  4190  // are met:
  4191  // 1. Redistributions of source code must retain the above copyright
  4192  //    notice, this list of conditions and the following disclaimer.
  4193  // 2. Redistributions in binary form must reproduce the above copyright
  4194  //    notice, this list of conditions and the following disclaimer in the
  4195  //    documentation and/or other materials provided with the distribution.
  4196  // 3. All advertising materials mentioning features or use of this software
  4197  //    must display the following acknowledgement:
  4198  //	This product includes software developed by the University of
  4199  //	California, Berkeley and its contributors.
  4200  // 4. Neither the name of the University nor the names of its contributors
  4201  //    may be used to endorse or promote products derived from this software
  4202  //    without specific prior written permission.
  4203  //
  4204  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4205  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4206  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4207  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4208  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4209  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4210  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4211  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4212  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4213  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4214  // SUCH DAMAGE.
  4215  //
  4216  //	@(#)endian.h	8.1 (Berkeley) 6/11/93
  4217  
  4218  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  4219  //
  4220  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4221  //
  4222  // This file contains Original Code and/or Modifications of Original Code
  4223  // as defined in and that are subject to the Apple Public Source License
  4224  // Version 2.0 (the 'License'). You may not use this file except in
  4225  // compliance with the License. The rights granted to you under the License
  4226  // may not be used to create, or enable the creation or redistribution of,
  4227  // unlawful or unlicensed copies of an Apple operating system, or to
  4228  // circumvent, violate, or enable the circumvention or violation of, any
  4229  // terms of an Apple operating system software license agreement.
  4230  //
  4231  // Please obtain a copy of the License at
  4232  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4233  //
  4234  // The Original Code and all software distributed under the License are
  4235  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4236  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4237  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4238  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4239  // Please see the License for the specific language governing rights and
  4240  // limitations under the License.
  4241  //
  4242  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4243  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4244  // Copyright (c) 1991, 1993
  4245  //	The Regents of the University of California.  All rights reserved.
  4246  //
  4247  // This code is derived from software contributed to Berkeley by
  4248  // Berkeley Software Design, Inc.
  4249  //
  4250  // Redistribution and use in source and binary forms, with or without
  4251  // modification, are permitted provided that the following conditions
  4252  // are met:
  4253  // 1. Redistributions of source code must retain the above copyright
  4254  //    notice, this list of conditions and the following disclaimer.
  4255  // 2. Redistributions in binary form must reproduce the above copyright
  4256  //    notice, this list of conditions and the following disclaimer in the
  4257  //    documentation and/or other materials provided with the distribution.
  4258  // 3. All advertising materials mentioning features or use of this software
  4259  //    must display the following acknowledgement:
  4260  //	This product includes software developed by the University of
  4261  //	California, Berkeley and its contributors.
  4262  // 4. Neither the name of the University nor the names of its contributors
  4263  //    may be used to endorse or promote products derived from this software
  4264  //    without specific prior written permission.
  4265  //
  4266  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4267  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4268  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4269  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4270  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4271  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4272  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4273  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4274  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4275  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4276  // SUCH DAMAGE.
  4277  //
  4278  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  4279  
  4280  // Define _NOQUAD if the compiler does NOT support 64-bit integers.
  4281  // #define _NOQUAD
  4282  
  4283  // Define the order of 32-bit words in 64-bit words.
  4284  
  4285  // Definitions for byte order, according to byte significance from low
  4286  // address to high.
  4287  
  4288  // Copyright (c) 2004, 2006 Apple Computer, Inc. All rights reserved.
  4289  //
  4290  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4291  //
  4292  // This file contains Original Code and/or Modifications of Original Code
  4293  // as defined in and that are subject to the Apple Public Source License
  4294  // Version 2.0 (the 'License'). You may not use this file except in
  4295  // compliance with the License. The rights granted to you under the License
  4296  // may not be used to create, or enable the creation or redistribution of,
  4297  // unlawful or unlicensed copies of an Apple operating system, or to
  4298  // circumvent, violate, or enable the circumvention or violation of, any
  4299  // terms of an Apple operating system software license agreement.
  4300  //
  4301  // Please obtain a copy of the License at
  4302  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4303  //
  4304  // The Original Code and all software distributed under the License are
  4305  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4306  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4307  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4308  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4309  // Please see the License for the specific language governing rights and
  4310  // limitations under the License.
  4311  //
  4312  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4313  
  4314  // Copyright (c) 1995 NeXT Computer, Inc. All rights reserved.
  4315  // Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
  4316  //
  4317  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4318  //
  4319  // This file contains Original Code and/or Modifications of Original Code
  4320  // as defined in and that are subject to the Apple Public Source License
  4321  // Version 2.0 (the 'License'). You may not use this file except in
  4322  // compliance with the License. The rights granted to you under the License
  4323  // may not be used to create, or enable the creation or redistribution of,
  4324  // unlawful or unlicensed copies of an Apple operating system, or to
  4325  // circumvent, violate, or enable the circumvention or violation of, any
  4326  // terms of an Apple operating system software license agreement.
  4327  //
  4328  // Please obtain a copy of the License at
  4329  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4330  //
  4331  // The Original Code and all software distributed under the License are
  4332  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4333  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4334  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4335  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4336  // Please see the License for the specific language governing rights and
  4337  // limitations under the License.
  4338  //
  4339  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4340  // Copyright (c) 1987, 1991, 1993
  4341  //	The Regents of the University of California.  All rights reserved.
  4342  //
  4343  // Redistribution and use in source and binary forms, with or without
  4344  // modification, are permitted provided that the following conditions
  4345  // are met:
  4346  // 1. Redistributions of source code must retain the above copyright
  4347  //    notice, this list of conditions and the following disclaimer.
  4348  // 2. Redistributions in binary form must reproduce the above copyright
  4349  //    notice, this list of conditions and the following disclaimer in the
  4350  //    documentation and/or other materials provided with the distribution.
  4351  // 3. All advertising materials mentioning features or use of this software
  4352  //    must display the following acknowledgement:
  4353  //	This product includes software developed by the University of
  4354  //	California, Berkeley and its contributors.
  4355  // 4. Neither the name of the University nor the names of its contributors
  4356  //    may be used to endorse or promote products derived from this software
  4357  //    without specific prior written permission.
  4358  //
  4359  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4360  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4361  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4362  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4363  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4364  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4365  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4366  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4367  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4368  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4369  // SUCH DAMAGE.
  4370  
  4371  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  4372  //
  4373  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4374  //
  4375  // This file contains Original Code and/or Modifications of Original Code
  4376  // as defined in and that are subject to the Apple Public Source License
  4377  // Version 2.0 (the 'License'). You may not use this file except in
  4378  // compliance with the License. The rights granted to you under the License
  4379  // may not be used to create, or enable the creation or redistribution of,
  4380  // unlawful or unlicensed copies of an Apple operating system, or to
  4381  // circumvent, violate, or enable the circumvention or violation of, any
  4382  // terms of an Apple operating system software license agreement.
  4383  //
  4384  // Please obtain a copy of the License at
  4385  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4386  //
  4387  // The Original Code and all software distributed under the License are
  4388  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4389  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4390  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4391  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4392  // Please see the License for the specific language governing rights and
  4393  // limitations under the License.
  4394  //
  4395  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4396  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4397  // Copyright (c) 1991, 1993
  4398  //	The Regents of the University of California.  All rights reserved.
  4399  //
  4400  // This code is derived from software contributed to Berkeley by
  4401  // Berkeley Software Design, Inc.
  4402  //
  4403  // Redistribution and use in source and binary forms, with or without
  4404  // modification, are permitted provided that the following conditions
  4405  // are met:
  4406  // 1. Redistributions of source code must retain the above copyright
  4407  //    notice, this list of conditions and the following disclaimer.
  4408  // 2. Redistributions in binary form must reproduce the above copyright
  4409  //    notice, this list of conditions and the following disclaimer in the
  4410  //    documentation and/or other materials provided with the distribution.
  4411  // 3. All advertising materials mentioning features or use of this software
  4412  //    must display the following acknowledgement:
  4413  //	This product includes software developed by the University of
  4414  //	California, Berkeley and its contributors.
  4415  // 4. Neither the name of the University nor the names of its contributors
  4416  //    may be used to endorse or promote products derived from this software
  4417  //    without specific prior written permission.
  4418  //
  4419  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4420  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4421  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4422  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4423  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4424  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4425  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4426  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4427  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4428  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4429  // SUCH DAMAGE.
  4430  //
  4431  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  4432  
  4433  // Macros for network/external number representation conversion.
  4434  
  4435  // Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
  4436  //
  4437  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4438  //
  4439  // This file contains Original Code and/or Modifications of Original Code
  4440  // as defined in and that are subject to the Apple Public Source License
  4441  // Version 2.0 (the 'License'). You may not use this file except in
  4442  // compliance with the License. The rights granted to you under the License
  4443  // may not be used to create, or enable the creation or redistribution of,
  4444  // unlawful or unlicensed copies of an Apple operating system, or to
  4445  // circumvent, violate, or enable the circumvention or violation of, any
  4446  // terms of an Apple operating system software license agreement.
  4447  //
  4448  // Please obtain a copy of the License at
  4449  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4450  //
  4451  // The Original Code and all software distributed under the License are
  4452  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4453  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4454  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4455  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4456  // Please see the License for the specific language governing rights and
  4457  // limitations under the License.
  4458  //
  4459  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4460  
  4461  // This header is normally included from <libkern/OSByteOrder.h>.  However,
  4462  // <sys/_endian.h> also includes this in the case of little-endian
  4463  // architectures, so that we can map OSByteOrder routines to the hton* and ntoh*
  4464  // macros.  This results in the asymmetry below; we only include
  4465  // <libkern/arch/_OSByteOrder.h> for little-endian architectures.
  4466  
  4467  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4468  //
  4469  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4470  //
  4471  // This file contains Original Code and/or Modifications of Original Code
  4472  // as defined in and that are subject to the Apple Public Source License
  4473  // Version 2.0 (the 'License'). You may not use this file except in
  4474  // compliance with the License. The rights granted to you under the License
  4475  // may not be used to create, or enable the creation or redistribution of,
  4476  // unlawful or unlicensed copies of an Apple operating system, or to
  4477  // circumvent, violate, or enable the circumvention or violation of, any
  4478  // terms of an Apple operating system software license agreement.
  4479  //
  4480  // Please obtain a copy of the License at
  4481  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4482  //
  4483  // The Original Code and all software distributed under the License are
  4484  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4485  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4486  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4487  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4488  // Please see the License for the specific language governing rights and
  4489  // limitations under the License.
  4490  //
  4491  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4492  
  4493  // Macros for swapping constant values in the preprocessing stage.
  4494  
  4495  // Copyright (c) 1999-2007 Apple Inc. All rights reserved.
  4496  
  4497  //  DO NOT EDIT THIS FILE.
  4498  //
  4499  //     It has been auto-edited by fixincludes from:
  4500  //
  4501  // 	"/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/stdint.h"
  4502  //
  4503  //     This had to be done to correct non-standard usages in the
  4504  //     original, manufacturer supplied header file.
  4505  
  4506  // Copyright (c) 2000-2010 Apple Inc.
  4507  // All rights reserved.
  4508  
  4509  // from ISO/IEC 988:1999 spec
  4510  
  4511  // 7.18.1.1 Exact-width integer types
  4512  // Copyright (c) 2012 Apple Inc. All rights reserved.
  4513  //
  4514  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4515  //
  4516  // This file contains Original Code and/or Modifications of Original Code
  4517  // as defined in and that are subject to the Apple Public Source License
  4518  // Version 2.0 (the 'License'). You may not use this file except in
  4519  // compliance with the License. The rights granted to you under the License
  4520  // may not be used to create, or enable the creation or redistribution of,
  4521  // unlawful or unlicensed copies of an Apple operating system, or to
  4522  // circumvent, violate, or enable the circumvention or violation of, any
  4523  // terms of an Apple operating system software license agreement.
  4524  //
  4525  // Please obtain a copy of the License at
  4526  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4527  //
  4528  // The Original Code and all software distributed under the License are
  4529  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4530  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4531  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4532  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4533  // Please see the License for the specific language governing rights and
  4534  // limitations under the License.
  4535  //
  4536  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4537  // Copyright (c) 2012 Apple Inc. All rights reserved.
  4538  //
  4539  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4540  //
  4541  // This file contains Original Code and/or Modifications of Original Code
  4542  // as defined in and that are subject to the Apple Public Source License
  4543  // Version 2.0 (the 'License'). You may not use this file except in
  4544  // compliance with the License. The rights granted to you under the License
  4545  // may not be used to create, or enable the creation or redistribution of,
  4546  // unlawful or unlicensed copies of an Apple operating system, or to
  4547  // circumvent, violate, or enable the circumvention or violation of, any
  4548  // terms of an Apple operating system software license agreement.
  4549  //
  4550  // Please obtain a copy of the License at
  4551  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4552  //
  4553  // The Original Code and all software distributed under the License are
  4554  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4555  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4556  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4557  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4558  // Please see the License for the specific language governing rights and
  4559  // limitations under the License.
  4560  //
  4561  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4562  // Copyright (c) 2012 Apple Inc. All rights reserved.
  4563  //
  4564  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4565  //
  4566  // This file contains Original Code and/or Modifications of Original Code
  4567  // as defined in and that are subject to the Apple Public Source License
  4568  // Version 2.0 (the 'License'). You may not use this file except in
  4569  // compliance with the License. The rights granted to you under the License
  4570  // may not be used to create, or enable the creation or redistribution of,
  4571  // unlawful or unlicensed copies of an Apple operating system, or to
  4572  // circumvent, violate, or enable the circumvention or violation of, any
  4573  // terms of an Apple operating system software license agreement.
  4574  //
  4575  // Please obtain a copy of the License at
  4576  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4577  //
  4578  // The Original Code and all software distributed under the License are
  4579  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4580  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4581  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4582  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4583  // Please see the License for the specific language governing rights and
  4584  // limitations under the License.
  4585  //
  4586  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4587  // Copyright (c) 2012 Apple Inc. All rights reserved.
  4588  //
  4589  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4590  //
  4591  // This file contains Original Code and/or Modifications of Original Code
  4592  // as defined in and that are subject to the Apple Public Source License
  4593  // Version 2.0 (the 'License'). You may not use this file except in
  4594  // compliance with the License. The rights granted to you under the License
  4595  // may not be used to create, or enable the creation or redistribution of,
  4596  // unlawful or unlicensed copies of an Apple operating system, or to
  4597  // circumvent, violate, or enable the circumvention or violation of, any
  4598  // terms of an Apple operating system software license agreement.
  4599  //
  4600  // Please obtain a copy of the License at
  4601  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4602  //
  4603  // The Original Code and all software distributed under the License are
  4604  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4605  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4606  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4607  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4608  // Please see the License for the specific language governing rights and
  4609  // limitations under the License.
  4610  //
  4611  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4612  
  4613  // Copyright (c) 2012 Apple Inc. All rights reserved.
  4614  //
  4615  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4616  //
  4617  // This file contains Original Code and/or Modifications of Original Code
  4618  // as defined in and that are subject to the Apple Public Source License
  4619  // Version 2.0 (the 'License'). You may not use this file except in
  4620  // compliance with the License. The rights granted to you under the License
  4621  // may not be used to create, or enable the creation or redistribution of,
  4622  // unlawful or unlicensed copies of an Apple operating system, or to
  4623  // circumvent, violate, or enable the circumvention or violation of, any
  4624  // terms of an Apple operating system software license agreement.
  4625  //
  4626  // Please obtain a copy of the License at
  4627  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4628  //
  4629  // The Original Code and all software distributed under the License are
  4630  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4631  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4632  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4633  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4634  // Please see the License for the specific language governing rights and
  4635  // limitations under the License.
  4636  //
  4637  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4638  
  4639  type uint8_t = uint8 /* _uint8_t.h:31:23 */
  4640  // Copyright (c) 2012 Apple Inc. All rights reserved.
  4641  //
  4642  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4643  //
  4644  // This file contains Original Code and/or Modifications of Original Code
  4645  // as defined in and that are subject to the Apple Public Source License
  4646  // Version 2.0 (the 'License'). You may not use this file except in
  4647  // compliance with the License. The rights granted to you under the License
  4648  // may not be used to create, or enable the creation or redistribution of,
  4649  // unlawful or unlicensed copies of an Apple operating system, or to
  4650  // circumvent, violate, or enable the circumvention or violation of, any
  4651  // terms of an Apple operating system software license agreement.
  4652  //
  4653  // Please obtain a copy of the License at
  4654  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4655  //
  4656  // The Original Code and all software distributed under the License are
  4657  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4658  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4659  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4660  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4661  // Please see the License for the specific language governing rights and
  4662  // limitations under the License.
  4663  //
  4664  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4665  
  4666  type uint16_t = uint16 /* _uint16_t.h:31:24 */
  4667  // Copyright (c) 2012 Apple Inc. All rights reserved.
  4668  //
  4669  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4670  //
  4671  // This file contains Original Code and/or Modifications of Original Code
  4672  // as defined in and that are subject to the Apple Public Source License
  4673  // Version 2.0 (the 'License'). You may not use this file except in
  4674  // compliance with the License. The rights granted to you under the License
  4675  // may not be used to create, or enable the creation or redistribution of,
  4676  // unlawful or unlicensed copies of an Apple operating system, or to
  4677  // circumvent, violate, or enable the circumvention or violation of, any
  4678  // terms of an Apple operating system software license agreement.
  4679  //
  4680  // Please obtain a copy of the License at
  4681  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4682  //
  4683  // The Original Code and all software distributed under the License are
  4684  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4685  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4686  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4687  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4688  // Please see the License for the specific language governing rights and
  4689  // limitations under the License.
  4690  //
  4691  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4692  
  4693  // Copyright (c) 2012 Apple Inc. All rights reserved.
  4694  //
  4695  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4696  //
  4697  // This file contains Original Code and/or Modifications of Original Code
  4698  // as defined in and that are subject to the Apple Public Source License
  4699  // Version 2.0 (the 'License'). You may not use this file except in
  4700  // compliance with the License. The rights granted to you under the License
  4701  // may not be used to create, or enable the creation or redistribution of,
  4702  // unlawful or unlicensed copies of an Apple operating system, or to
  4703  // circumvent, violate, or enable the circumvention or violation of, any
  4704  // terms of an Apple operating system software license agreement.
  4705  //
  4706  // Please obtain a copy of the License at
  4707  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4708  //
  4709  // The Original Code and all software distributed under the License are
  4710  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4711  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4712  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4713  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4714  // Please see the License for the specific language governing rights and
  4715  // limitations under the License.
  4716  //
  4717  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4718  
  4719  // 7.18.1.2 Minimum-width integer types
  4720  type int_least8_t = int8_t     /* stdint.h:38:26 */
  4721  type int_least16_t = int16_t   /* stdint.h:39:25 */
  4722  type int_least32_t = int32_t   /* stdint.h:40:25 */
  4723  type int_least64_t = int64_t   /* stdint.h:41:25 */
  4724  type uint_least8_t = uint8_t   /* stdint.h:42:25 */
  4725  type uint_least16_t = uint16_t /* stdint.h:43:24 */
  4726  type uint_least32_t = uint32_t /* stdint.h:44:24 */
  4727  type uint_least64_t = uint64_t /* stdint.h:45:24 */
  4728  
  4729  // 7.18.1.3 Fastest-width integer types
  4730  type int_fast8_t = int8_t     /* stdint.h:49:27 */
  4731  type int_fast16_t = int16_t   /* stdint.h:50:26 */
  4732  type int_fast32_t = int32_t   /* stdint.h:51:26 */
  4733  type int_fast64_t = int64_t   /* stdint.h:52:26 */
  4734  type uint_fast8_t = uint8_t   /* stdint.h:53:26 */
  4735  type uint_fast16_t = uint16_t /* stdint.h:54:25 */
  4736  type uint_fast32_t = uint32_t /* stdint.h:55:25 */
  4737  type uint_fast64_t = uint64_t /* stdint.h:56:25 */
  4738  
  4739  // 7.18.1.4 Integer types capable of holding object pointers
  4740  
  4741  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4742  //
  4743  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4744  //
  4745  // This file contains Original Code and/or Modifications of Original Code
  4746  // as defined in and that are subject to the Apple Public Source License
  4747  // Version 2.0 (the 'License'). You may not use this file except in
  4748  // compliance with the License. The rights granted to you under the License
  4749  // may not be used to create, or enable the creation or redistribution of,
  4750  // unlawful or unlicensed copies of an Apple operating system, or to
  4751  // circumvent, violate, or enable the circumvention or violation of, any
  4752  // terms of an Apple operating system software license agreement.
  4753  //
  4754  // Please obtain a copy of the License at
  4755  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4756  //
  4757  // The Original Code and all software distributed under the License are
  4758  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4759  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4760  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4761  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4762  // Please see the License for the specific language governing rights and
  4763  // limitations under the License.
  4764  //
  4765  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4766  
  4767  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4768  //
  4769  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4770  //
  4771  // This file contains Original Code and/or Modifications of Original Code
  4772  // as defined in and that are subject to the Apple Public Source License
  4773  // Version 2.0 (the 'License'). You may not use this file except in
  4774  // compliance with the License. The rights granted to you under the License
  4775  // may not be used to create, or enable the creation or redistribution of,
  4776  // unlawful or unlicensed copies of an Apple operating system, or to
  4777  // circumvent, violate, or enable the circumvention or violation of, any
  4778  // terms of an Apple operating system software license agreement.
  4779  //
  4780  // Please obtain a copy of the License at
  4781  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4782  //
  4783  // The Original Code and all software distributed under the License are
  4784  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4785  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4786  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4787  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4788  // Please see the License for the specific language governing rights and
  4789  // limitations under the License.
  4790  //
  4791  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4792  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4793  //
  4794  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4795  //
  4796  // This file contains Original Code and/or Modifications of Original Code
  4797  // as defined in and that are subject to the Apple Public Source License
  4798  // Version 2.0 (the 'License'). You may not use this file except in
  4799  // compliance with the License. The rights granted to you under the License
  4800  // may not be used to create, or enable the creation or redistribution of,
  4801  // unlawful or unlicensed copies of an Apple operating system, or to
  4802  // circumvent, violate, or enable the circumvention or violation of, any
  4803  // terms of an Apple operating system software license agreement.
  4804  //
  4805  // Please obtain a copy of the License at
  4806  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4807  //
  4808  // The Original Code and all software distributed under the License are
  4809  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4810  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4811  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4812  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4813  // Please see the License for the specific language governing rights and
  4814  // limitations under the License.
  4815  //
  4816  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4817  
  4818  // 7.18.1.5 Greatest-width integer types
  4819  // Copyright (c) 2012 Apple Inc. All rights reserved.
  4820  //
  4821  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4822  //
  4823  // This file contains Original Code and/or Modifications of Original Code
  4824  // as defined in and that are subject to the Apple Public Source License
  4825  // Version 2.0 (the 'License'). You may not use this file except in
  4826  // compliance with the License. The rights granted to you under the License
  4827  // may not be used to create, or enable the creation or redistribution of,
  4828  // unlawful or unlicensed copies of an Apple operating system, or to
  4829  // circumvent, violate, or enable the circumvention or violation of, any
  4830  // terms of an Apple operating system software license agreement.
  4831  //
  4832  // Please obtain a copy of the License at
  4833  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4834  //
  4835  // The Original Code and all software distributed under the License are
  4836  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4837  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4838  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4839  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4840  // Please see the License for the specific language governing rights and
  4841  // limitations under the License.
  4842  //
  4843  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4844  
  4845  type intmax_t = int64 /* _intmax_t.h:32:25 */
  4846  // Copyright (c) 2012 Apple Inc. All rights reserved.
  4847  //
  4848  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4849  //
  4850  // This file contains Original Code and/or Modifications of Original Code
  4851  // as defined in and that are subject to the Apple Public Source License
  4852  // Version 2.0 (the 'License'). You may not use this file except in
  4853  // compliance with the License. The rights granted to you under the License
  4854  // may not be used to create, or enable the creation or redistribution of,
  4855  // unlawful or unlicensed copies of an Apple operating system, or to
  4856  // circumvent, violate, or enable the circumvention or violation of, any
  4857  // terms of an Apple operating system software license agreement.
  4858  //
  4859  // Please obtain a copy of the License at
  4860  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4861  //
  4862  // The Original Code and all software distributed under the License are
  4863  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4864  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4865  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4866  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4867  // Please see the License for the specific language governing rights and
  4868  // limitations under the License.
  4869  //
  4870  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4871  
  4872  type uintmax_t = uint64 /* _uintmax_t.h:32:26 */
  4873  
  4874  // 7.18.4 Macros for integer constants
  4875  
  4876  // 7.18.2 Limits of specified-width integer types:
  4877  //   These #defines specify the minimum and maximum limits
  4878  //   of each of the types declared above.
  4879  //
  4880  //   They must have "the same type as would an expression that is an
  4881  //   object of the corresponding type converted according to the integer
  4882  //   promotion".
  4883  
  4884  // 7.18.2.1 Limits of exact-width integer types
  4885  
  4886  //
  4887  //       Note:  the literal "most negative int" cannot be written in C --
  4888  //       the rules in the standard (section 6.4.4.1 in C99) will give it
  4889  //       an unsigned type, so INT32_MIN (and the most negative member of
  4890  //       any larger signed type) must be written via a constant expression.
  4891  //
  4892  
  4893  // 7.18.2.2 Limits of minimum-width integer types
  4894  
  4895  // 7.18.2.3 Limits of fastest minimum-width integer types
  4896  
  4897  // 7.18.2.4 Limits of integer types capable of holding object pointers
  4898  
  4899  // 7.18.2.5 Limits of greatest-width integer types
  4900  
  4901  // 7.18.3 "Other"
  4902  
  4903  // WCHAR_MIN should be 0 if wchar_t is an unsigned type and
  4904  //    (-WCHAR_MAX-1) if wchar_t is a signed type.  Unfortunately,
  4905  //    it turns out that -fshort-wchar changes the signedness of
  4906  //    the type.
  4907  
  4908  // Copyright (c) 2007 Apple Inc. All rights reserved.
  4909  //
  4910  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4911  //
  4912  // This file contains Original Code and/or Modifications of Original Code
  4913  // as defined in and that are subject to the Apple Public Source License
  4914  // Version 2.0 (the 'License'). You may not use this file except in
  4915  // compliance with the License. The rights granted to you under the License
  4916  // may not be used to create, or enable the creation or redistribution of,
  4917  // unlawful or unlicensed copies of an Apple operating system, or to
  4918  // circumvent, violate, or enable the circumvention or violation of, any
  4919  // terms of an Apple operating system software license agreement.
  4920  //
  4921  // Please obtain a copy of the License at
  4922  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4923  //
  4924  // The Original Code and all software distributed under the License are
  4925  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4926  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4927  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4928  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4929  // Please see the License for the specific language governing rights and
  4930  // limitations under the License.
  4931  //
  4932  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4933  
  4934  // Collect the __ARM_ARCH_*__ compiler flags into something easier to use.
  4935  
  4936  // Generic byte swapping functions.
  4937  
  4938  func _OSSwapInt16(tls *libc.TLS, _data uint16_t) uint16_t { /* OSByteOrder.h:15:1: */
  4939  	// Reduces to 'rev16' with clang
  4940  	return uint16_t(int32(_data)<<8 | int32(_data)>>8)
  4941  }
  4942  
  4943  func _OSSwapInt32(tls *libc.TLS, _data uint32_t) uint32_t { /* OSByteOrder.h:25:1: */
  4944  	// This actually generates the best code
  4945  	_data = (_data^(_data>>16|_data<<16))&0xFF00FFFF>>8 ^ (_data>>8 | _data<<24)
  4946  
  4947  	return _data
  4948  }
  4949  
  4950  func _OSSwapInt64(tls *libc.TLS, _data uint64_t) uint64_t { /* OSByteOrder.h:41:1: */
  4951  	bp := tls.Alloc(8)
  4952  	defer tls.Free(8)
  4953  
  4954  	// var _u struct {F_ull uint64_t;} at bp, 8
  4955  
  4956  	// This actually generates the best code
  4957  	*(*uint32_t)(unsafe.Pointer(bp)) = uint32_t(_data >> 32)
  4958  	*(*uint32_t)(unsafe.Pointer(bp + 1*4)) = uint32_t(_data & uint64(0xffffffff))
  4959  	*(*uint32_t)(unsafe.Pointer(bp)) = _OSSwapInt32(tls, *(*uint32_t)(unsafe.Pointer(bp)))
  4960  	*(*uint32_t)(unsafe.Pointer(bp + 1*4)) = _OSSwapInt32(tls, *(*uint32_t)(unsafe.Pointer(bp + 1*4)))
  4961  	return *(*uint64_t)(unsafe.Pointer(bp))
  4962  }
  4963  
  4964  // Functions for byte reversed loads.
  4965  
  4966  type _OSUnalignedU16 = struct{ F__val uint16_t } /* OSByteOrder.h:64:1 */
  4967  
  4968  type _OSUnalignedU32 = struct{ F__val uint32_t } /* OSByteOrder.h:68:1 */
  4969  
  4970  type _OSUnalignedU64 = struct{ F__val uint64_t } /* OSByteOrder.h:72:1 */
  4971  
  4972  // Copyright (c) 2017 Apple Inc. All rights reserved.
  4973  //
  4974  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4975  //
  4976  // This file contains Original Code and/or Modifications of Original Code
  4977  // as defined in and that are subject to the Apple Public Source License
  4978  // Version 2.0 (the 'License'). You may not use this file except in
  4979  // compliance with the License. The rights granted to you under the License
  4980  // may not be used to create, or enable the creation or redistribution of,
  4981  // unlawful or unlicensed copies of an Apple operating system, or to
  4982  // circumvent, violate, or enable the circumvention or violation of, any
  4983  // terms of an Apple operating system software license agreement.
  4984  //
  4985  // Please obtain a copy of the License at
  4986  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4987  //
  4988  // The Original Code and all software distributed under the License are
  4989  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4990  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4991  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4992  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4993  // Please see the License for the specific language governing rights and
  4994  // limitations under the License.
  4995  //
  4996  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4997  type u_char = uint8 /* _u_char.h:30:25 */
  4998  // Copyright (c) 2017 Apple Inc. All rights reserved.
  4999  //
  5000  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5001  //
  5002  // This file contains Original Code and/or Modifications of Original Code
  5003  // as defined in and that are subject to the Apple Public Source License
  5004  // Version 2.0 (the 'License'). You may not use this file except in
  5005  // compliance with the License. The rights granted to you under the License
  5006  // may not be used to create, or enable the creation or redistribution of,
  5007  // unlawful or unlicensed copies of an Apple operating system, or to
  5008  // circumvent, violate, or enable the circumvention or violation of, any
  5009  // terms of an Apple operating system software license agreement.
  5010  //
  5011  // Please obtain a copy of the License at
  5012  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5013  //
  5014  // The Original Code and all software distributed under the License are
  5015  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5016  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5017  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5018  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5019  // Please see the License for the specific language governing rights and
  5020  // limitations under the License.
  5021  //
  5022  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5023  type u_short = uint16 /* _u_short.h:30:25 */
  5024  // Copyright (c) 2017 Apple Inc. All rights reserved.
  5025  //
  5026  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5027  //
  5028  // This file contains Original Code and/or Modifications of Original Code
  5029  // as defined in and that are subject to the Apple Public Source License
  5030  // Version 2.0 (the 'License'). You may not use this file except in
  5031  // compliance with the License. The rights granted to you under the License
  5032  // may not be used to create, or enable the creation or redistribution of,
  5033  // unlawful or unlicensed copies of an Apple operating system, or to
  5034  // circumvent, violate, or enable the circumvention or violation of, any
  5035  // terms of an Apple operating system software license agreement.
  5036  //
  5037  // Please obtain a copy of the License at
  5038  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5039  //
  5040  // The Original Code and all software distributed under the License are
  5041  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5042  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5043  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5044  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5045  // Please see the License for the specific language governing rights and
  5046  // limitations under the License.
  5047  //
  5048  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5049  type u_int = uint32  /* _u_int.h:30:25 */
  5050  type u_long = uint64 /* types.h:88:33 */
  5051  type ushort = uint16 /* types.h:91:33 */ // Sys V compatibility
  5052  type uint = uint32   /* types.h:92:33 */ // Sys V compatibility
  5053  
  5054  type u_quad_t = u_int64_t /* types.h:95:33 */ // quads
  5055  type quad_t = int64_t     /* types.h:96:33 */
  5056  type qaddr_t = uintptr    /* types.h:97:16 */
  5057  
  5058  // Copyright (c) 2017 Apple Inc. All rights reserved.
  5059  //
  5060  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5061  //
  5062  // This file contains Original Code and/or Modifications of Original Code
  5063  // as defined in and that are subject to the Apple Public Source License
  5064  // Version 2.0 (the 'License'). You may not use this file except in
  5065  // compliance with the License. The rights granted to you under the License
  5066  // may not be used to create, or enable the creation or redistribution of,
  5067  // unlawful or unlicensed copies of an Apple operating system, or to
  5068  // circumvent, violate, or enable the circumvention or violation of, any
  5069  // terms of an Apple operating system software license agreement.
  5070  //
  5071  // Please obtain a copy of the License at
  5072  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5073  //
  5074  // The Original Code and all software distributed under the License are
  5075  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5076  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5077  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5078  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5079  // Please see the License for the specific language governing rights and
  5080  // limitations under the License.
  5081  //
  5082  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5083  type caddr_t = uintptr /* _caddr_t.h:30:14 */
  5084  
  5085  type daddr_t = int32_t /* types.h:101:33 */ // disk address
  5086  
  5087  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5088  //
  5089  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5090  //
  5091  // This file contains Original Code and/or Modifications of Original Code
  5092  // as defined in and that are subject to the Apple Public Source License
  5093  // Version 2.0 (the 'License'). You may not use this file except in
  5094  // compliance with the License. The rights granted to you under the License
  5095  // may not be used to create, or enable the creation or redistribution of,
  5096  // unlawful or unlicensed copies of an Apple operating system, or to
  5097  // circumvent, violate, or enable the circumvention or violation of, any
  5098  // terms of an Apple operating system software license agreement.
  5099  //
  5100  // Please obtain a copy of the License at
  5101  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5102  //
  5103  // The Original Code and all software distributed under the License are
  5104  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5105  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5106  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5107  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5108  // Please see the License for the specific language governing rights and
  5109  // limitations under the License.
  5110  //
  5111  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5112  
  5113  type fixpt_t = u_int32_t /* types.h:105:33 */ // fixed point number
  5114  
  5115  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5116  //
  5117  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5118  //
  5119  // This file contains Original Code and/or Modifications of Original Code
  5120  // as defined in and that are subject to the Apple Public Source License
  5121  // Version 2.0 (the 'License'). You may not use this file except in
  5122  // compliance with the License. The rights granted to you under the License
  5123  // may not be used to create, or enable the creation or redistribution of,
  5124  // unlawful or unlicensed copies of an Apple operating system, or to
  5125  // circumvent, violate, or enable the circumvention or violation of, any
  5126  // terms of an Apple operating system software license agreement.
  5127  //
  5128  // Please obtain a copy of the License at
  5129  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5130  //
  5131  // The Original Code and all software distributed under the License are
  5132  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5133  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5134  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5135  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5136  // Please see the License for the specific language governing rights and
  5137  // limitations under the License.
  5138  //
  5139  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5140  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5141  //
  5142  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5143  //
  5144  // This file contains Original Code and/or Modifications of Original Code
  5145  // as defined in and that are subject to the Apple Public Source License
  5146  // Version 2.0 (the 'License'). You may not use this file except in
  5147  // compliance with the License. The rights granted to you under the License
  5148  // may not be used to create, or enable the creation or redistribution of,
  5149  // unlawful or unlicensed copies of an Apple operating system, or to
  5150  // circumvent, violate, or enable the circumvention or violation of, any
  5151  // terms of an Apple operating system software license agreement.
  5152  //
  5153  // Please obtain a copy of the License at
  5154  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5155  //
  5156  // The Original Code and all software distributed under the License are
  5157  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5158  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5159  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5160  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5161  // Please see the License for the specific language governing rights and
  5162  // limitations under the License.
  5163  //
  5164  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5165  
  5166  type blkcnt_t = int64 /* _blkcnt_t.h:31:34 */
  5167  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5168  //
  5169  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5170  //
  5171  // This file contains Original Code and/or Modifications of Original Code
  5172  // as defined in and that are subject to the Apple Public Source License
  5173  // Version 2.0 (the 'License'). You may not use this file except in
  5174  // compliance with the License. The rights granted to you under the License
  5175  // may not be used to create, or enable the creation or redistribution of,
  5176  // unlawful or unlicensed copies of an Apple operating system, or to
  5177  // circumvent, violate, or enable the circumvention or violation of, any
  5178  // terms of an Apple operating system software license agreement.
  5179  //
  5180  // Please obtain a copy of the License at
  5181  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5182  //
  5183  // The Original Code and all software distributed under the License are
  5184  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5185  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5186  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5187  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5188  // Please see the License for the specific language governing rights and
  5189  // limitations under the License.
  5190  //
  5191  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5192  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5193  //
  5194  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5195  //
  5196  // This file contains Original Code and/or Modifications of Original Code
  5197  // as defined in and that are subject to the Apple Public Source License
  5198  // Version 2.0 (the 'License'). You may not use this file except in
  5199  // compliance with the License. The rights granted to you under the License
  5200  // may not be used to create, or enable the creation or redistribution of,
  5201  // unlawful or unlicensed copies of an Apple operating system, or to
  5202  // circumvent, violate, or enable the circumvention or violation of, any
  5203  // terms of an Apple operating system software license agreement.
  5204  //
  5205  // Please obtain a copy of the License at
  5206  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5207  //
  5208  // The Original Code and all software distributed under the License are
  5209  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5210  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5211  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5212  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5213  // Please see the License for the specific language governing rights and
  5214  // limitations under the License.
  5215  //
  5216  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5217  
  5218  type blksize_t = int32 /* _blksize_t.h:31:35 */
  5219  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5220  //
  5221  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5222  //
  5223  // This file contains Original Code and/or Modifications of Original Code
  5224  // as defined in and that are subject to the Apple Public Source License
  5225  // Version 2.0 (the 'License'). You may not use this file except in
  5226  // compliance with the License. The rights granted to you under the License
  5227  // may not be used to create, or enable the creation or redistribution of,
  5228  // unlawful or unlicensed copies of an Apple operating system, or to
  5229  // circumvent, violate, or enable the circumvention or violation of, any
  5230  // terms of an Apple operating system software license agreement.
  5231  //
  5232  // Please obtain a copy of the License at
  5233  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5234  //
  5235  // The Original Code and all software distributed under the License are
  5236  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5237  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5238  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5239  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5240  // Please see the License for the specific language governing rights and
  5241  // limitations under the License.
  5242  //
  5243  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5244  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5245  //
  5246  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5247  //
  5248  // This file contains Original Code and/or Modifications of Original Code
  5249  // as defined in and that are subject to the Apple Public Source License
  5250  // Version 2.0 (the 'License'). You may not use this file except in
  5251  // compliance with the License. The rights granted to you under the License
  5252  // may not be used to create, or enable the creation or redistribution of,
  5253  // unlawful or unlicensed copies of an Apple operating system, or to
  5254  // circumvent, violate, or enable the circumvention or violation of, any
  5255  // terms of an Apple operating system software license agreement.
  5256  //
  5257  // Please obtain a copy of the License at
  5258  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5259  //
  5260  // The Original Code and all software distributed under the License are
  5261  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5262  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5263  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5264  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5265  // Please see the License for the specific language governing rights and
  5266  // limitations under the License.
  5267  //
  5268  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5269  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  5270  //
  5271  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5272  //
  5273  // This file contains Original Code and/or Modifications of Original Code
  5274  // as defined in and that are subject to the Apple Public Source License
  5275  // Version 2.0 (the 'License'). You may not use this file except in
  5276  // compliance with the License. The rights granted to you under the License
  5277  // may not be used to create, or enable the creation or redistribution of,
  5278  // unlawful or unlicensed copies of an Apple operating system, or to
  5279  // circumvent, violate, or enable the circumvention or violation of, any
  5280  // terms of an Apple operating system software license agreement.
  5281  //
  5282  // Please obtain a copy of the License at
  5283  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5284  //
  5285  // The Original Code and all software distributed under the License are
  5286  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5287  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5288  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5289  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5290  // Please see the License for the specific language governing rights and
  5291  // limitations under the License.
  5292  //
  5293  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5294  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  5295  type in_addr_t = uint32 /* _in_addr_t.h:31:25 */ // base type for internet address
  5296  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5297  //
  5298  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5299  //
  5300  // This file contains Original Code and/or Modifications of Original Code
  5301  // as defined in and that are subject to the Apple Public Source License
  5302  // Version 2.0 (the 'License'). You may not use this file except in
  5303  // compliance with the License. The rights granted to you under the License
  5304  // may not be used to create, or enable the creation or redistribution of,
  5305  // unlawful or unlicensed copies of an Apple operating system, or to
  5306  // circumvent, violate, or enable the circumvention or violation of, any
  5307  // terms of an Apple operating system software license agreement.
  5308  //
  5309  // Please obtain a copy of the License at
  5310  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5311  //
  5312  // The Original Code and all software distributed under the License are
  5313  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5314  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5315  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5316  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5317  // Please see the License for the specific language governing rights and
  5318  // limitations under the License.
  5319  //
  5320  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5321  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  5322  //
  5323  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5324  //
  5325  // This file contains Original Code and/or Modifications of Original Code
  5326  // as defined in and that are subject to the Apple Public Source License
  5327  // Version 2.0 (the 'License'). You may not use this file except in
  5328  // compliance with the License. The rights granted to you under the License
  5329  // may not be used to create, or enable the creation or redistribution of,
  5330  // unlawful or unlicensed copies of an Apple operating system, or to
  5331  // circumvent, violate, or enable the circumvention or violation of, any
  5332  // terms of an Apple operating system software license agreement.
  5333  //
  5334  // Please obtain a copy of the License at
  5335  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5336  //
  5337  // The Original Code and all software distributed under the License are
  5338  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5339  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5340  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5341  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5342  // Please see the License for the specific language governing rights and
  5343  // limitations under the License.
  5344  //
  5345  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5346  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  5347  type in_port_t = uint16 /* _in_port_t.h:31:33 */
  5348  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5349  //
  5350  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5351  //
  5352  // This file contains Original Code and/or Modifications of Original Code
  5353  // as defined in and that are subject to the Apple Public Source License
  5354  // Version 2.0 (the 'License'). You may not use this file except in
  5355  // compliance with the License. The rights granted to you under the License
  5356  // may not be used to create, or enable the creation or redistribution of,
  5357  // unlawful or unlicensed copies of an Apple operating system, or to
  5358  // circumvent, violate, or enable the circumvention or violation of, any
  5359  // terms of an Apple operating system software license agreement.
  5360  //
  5361  // Please obtain a copy of the License at
  5362  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5363  //
  5364  // The Original Code and all software distributed under the License are
  5365  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5366  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5367  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5368  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5369  // Please see the License for the specific language governing rights and
  5370  // limitations under the License.
  5371  //
  5372  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5373  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5374  //
  5375  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5376  //
  5377  // This file contains Original Code and/or Modifications of Original Code
  5378  // as defined in and that are subject to the Apple Public Source License
  5379  // Version 2.0 (the 'License'). You may not use this file except in
  5380  // compliance with the License. The rights granted to you under the License
  5381  // may not be used to create, or enable the creation or redistribution of,
  5382  // unlawful or unlicensed copies of an Apple operating system, or to
  5383  // circumvent, violate, or enable the circumvention or violation of, any
  5384  // terms of an Apple operating system software license agreement.
  5385  //
  5386  // Please obtain a copy of the License at
  5387  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5388  //
  5389  // The Original Code and all software distributed under the License are
  5390  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5391  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5392  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5393  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5394  // Please see the License for the specific language governing rights and
  5395  // limitations under the License.
  5396  //
  5397  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5398  
  5399  type ino_t = uint64 /* _ino_t.h:31:33 */ // inode number
  5400  
  5401  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5402  //
  5403  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5404  //
  5405  // This file contains Original Code and/or Modifications of Original Code
  5406  // as defined in and that are subject to the Apple Public Source License
  5407  // Version 2.0 (the 'License'). You may not use this file except in
  5408  // compliance with the License. The rights granted to you under the License
  5409  // may not be used to create, or enable the creation or redistribution of,
  5410  // unlawful or unlicensed copies of an Apple operating system, or to
  5411  // circumvent, violate, or enable the circumvention or violation of, any
  5412  // terms of an Apple operating system software license agreement.
  5413  //
  5414  // Please obtain a copy of the License at
  5415  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5416  //
  5417  // The Original Code and all software distributed under the License are
  5418  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5419  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5420  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5421  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5422  // Please see the License for the specific language governing rights and
  5423  // limitations under the License.
  5424  //
  5425  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5426  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5427  //
  5428  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5429  //
  5430  // This file contains Original Code and/or Modifications of Original Code
  5431  // as defined in and that are subject to the Apple Public Source License
  5432  // Version 2.0 (the 'License'). You may not use this file except in
  5433  // compliance with the License. The rights granted to you under the License
  5434  // may not be used to create, or enable the creation or redistribution of,
  5435  // unlawful or unlicensed copies of an Apple operating system, or to
  5436  // circumvent, violate, or enable the circumvention or violation of, any
  5437  // terms of an Apple operating system software license agreement.
  5438  //
  5439  // Please obtain a copy of the License at
  5440  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5441  //
  5442  // The Original Code and all software distributed under the License are
  5443  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5444  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5445  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5446  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5447  // Please see the License for the specific language governing rights and
  5448  // limitations under the License.
  5449  //
  5450  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5451  
  5452  type ino64_t = uint64 /* _ino64_t.h:31:33 */ // 64bit inode number
  5453  
  5454  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5455  //
  5456  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5457  //
  5458  // This file contains Original Code and/or Modifications of Original Code
  5459  // as defined in and that are subject to the Apple Public Source License
  5460  // Version 2.0 (the 'License'). You may not use this file except in
  5461  // compliance with the License. The rights granted to you under the License
  5462  // may not be used to create, or enable the creation or redistribution of,
  5463  // unlawful or unlicensed copies of an Apple operating system, or to
  5464  // circumvent, violate, or enable the circumvention or violation of, any
  5465  // terms of an Apple operating system software license agreement.
  5466  //
  5467  // Please obtain a copy of the License at
  5468  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5469  //
  5470  // The Original Code and all software distributed under the License are
  5471  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5472  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5473  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5474  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5475  // Please see the License for the specific language governing rights and
  5476  // limitations under the License.
  5477  //
  5478  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5479  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  5480  //
  5481  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5482  //
  5483  // This file contains Original Code and/or Modifications of Original Code
  5484  // as defined in and that are subject to the Apple Public Source License
  5485  // Version 2.0 (the 'License'). You may not use this file except in
  5486  // compliance with the License. The rights granted to you under the License
  5487  // may not be used to create, or enable the creation or redistribution of,
  5488  // unlawful or unlicensed copies of an Apple operating system, or to
  5489  // circumvent, violate, or enable the circumvention or violation of, any
  5490  // terms of an Apple operating system software license agreement.
  5491  //
  5492  // Please obtain a copy of the License at
  5493  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5494  //
  5495  // The Original Code and all software distributed under the License are
  5496  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5497  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5498  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5499  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5500  // Please see the License for the specific language governing rights and
  5501  // limitations under the License.
  5502  //
  5503  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5504  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  5505  type key_t = int32 /* _key_t.h:31:26 */ // IPC key (for Sys V IPC)
  5506  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5507  //
  5508  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5509  //
  5510  // This file contains Original Code and/or Modifications of Original Code
  5511  // as defined in and that are subject to the Apple Public Source License
  5512  // Version 2.0 (the 'License'). You may not use this file except in
  5513  // compliance with the License. The rights granted to you under the License
  5514  // may not be used to create, or enable the creation or redistribution of,
  5515  // unlawful or unlicensed copies of an Apple operating system, or to
  5516  // circumvent, violate, or enable the circumvention or violation of, any
  5517  // terms of an Apple operating system software license agreement.
  5518  //
  5519  // Please obtain a copy of the License at
  5520  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5521  //
  5522  // The Original Code and all software distributed under the License are
  5523  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5524  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5525  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5526  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5527  // Please see the License for the specific language governing rights and
  5528  // limitations under the License.
  5529  //
  5530  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5531  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5532  //
  5533  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5534  //
  5535  // This file contains Original Code and/or Modifications of Original Code
  5536  // as defined in and that are subject to the Apple Public Source License
  5537  // Version 2.0 (the 'License'). You may not use this file except in
  5538  // compliance with the License. The rights granted to you under the License
  5539  // may not be used to create, or enable the creation or redistribution of,
  5540  // unlawful or unlicensed copies of an Apple operating system, or to
  5541  // circumvent, violate, or enable the circumvention or violation of, any
  5542  // terms of an Apple operating system software license agreement.
  5543  //
  5544  // Please obtain a copy of the License at
  5545  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5546  //
  5547  // The Original Code and all software distributed under the License are
  5548  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5549  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5550  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5551  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5552  // Please see the License for the specific language governing rights and
  5553  // limitations under the License.
  5554  //
  5555  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5556  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  5557  //
  5558  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5559  //
  5560  // This file contains Original Code and/or Modifications of Original Code
  5561  // as defined in and that are subject to the Apple Public Source License
  5562  // Version 2.0 (the 'License'). You may not use this file except in
  5563  // compliance with the License. The rights granted to you under the License
  5564  // may not be used to create, or enable the creation or redistribution of,
  5565  // unlawful or unlicensed copies of an Apple operating system, or to
  5566  // circumvent, violate, or enable the circumvention or violation of, any
  5567  // terms of an Apple operating system software license agreement.
  5568  //
  5569  // Please obtain a copy of the License at
  5570  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5571  //
  5572  // The Original Code and all software distributed under the License are
  5573  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5574  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5575  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5576  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5577  // Please see the License for the specific language governing rights and
  5578  // limitations under the License.
  5579  //
  5580  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5581  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  5582  type nlink_t = uint16 /* _nlink_t.h:31:27 */ // link count
  5583  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5584  //
  5585  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5586  //
  5587  // This file contains Original Code and/or Modifications of Original Code
  5588  // as defined in and that are subject to the Apple Public Source License
  5589  // Version 2.0 (the 'License'). You may not use this file except in
  5590  // compliance with the License. The rights granted to you under the License
  5591  // may not be used to create, or enable the creation or redistribution of,
  5592  // unlawful or unlicensed copies of an Apple operating system, or to
  5593  // circumvent, violate, or enable the circumvention or violation of, any
  5594  // terms of an Apple operating system software license agreement.
  5595  //
  5596  // Please obtain a copy of the License at
  5597  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5598  //
  5599  // The Original Code and all software distributed under the License are
  5600  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5601  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5602  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5603  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5604  // Please see the License for the specific language governing rights and
  5605  // limitations under the License.
  5606  //
  5607  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5608  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5609  //
  5610  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5611  //
  5612  // This file contains Original Code and/or Modifications of Original Code
  5613  // as defined in and that are subject to the Apple Public Source License
  5614  // Version 2.0 (the 'License'). You may not use this file except in
  5615  // compliance with the License. The rights granted to you under the License
  5616  // may not be used to create, or enable the creation or redistribution of,
  5617  // unlawful or unlicensed copies of an Apple operating system, or to
  5618  // circumvent, violate, or enable the circumvention or violation of, any
  5619  // terms of an Apple operating system software license agreement.
  5620  //
  5621  // Please obtain a copy of the License at
  5622  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5623  //
  5624  // The Original Code and all software distributed under the License are
  5625  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5626  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5627  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5628  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5629  // Please see the License for the specific language governing rights and
  5630  // limitations under the License.
  5631  //
  5632  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5633  
  5634  type id_t = uint32 /* _id_t.h:31:25 */ // can hold pid_t, gid_t, or uid_t
  5635  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5636  //
  5637  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5638  //
  5639  // This file contains Original Code and/or Modifications of Original Code
  5640  // as defined in and that are subject to the Apple Public Source License
  5641  // Version 2.0 (the 'License'). You may not use this file except in
  5642  // compliance with the License. The rights granted to you under the License
  5643  // may not be used to create, or enable the creation or redistribution of,
  5644  // unlawful or unlicensed copies of an Apple operating system, or to
  5645  // circumvent, violate, or enable the circumvention or violation of, any
  5646  // terms of an Apple operating system software license agreement.
  5647  //
  5648  // Please obtain a copy of the License at
  5649  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5650  //
  5651  // The Original Code and all software distributed under the License are
  5652  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5653  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5654  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5655  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5656  // Please see the License for the specific language governing rights and
  5657  // limitations under the License.
  5658  //
  5659  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5660  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5661  //
  5662  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5663  //
  5664  // This file contains Original Code and/or Modifications of Original Code
  5665  // as defined in and that are subject to the Apple Public Source License
  5666  // Version 2.0 (the 'License'). You may not use this file except in
  5667  // compliance with the License. The rights granted to you under the License
  5668  // may not be used to create, or enable the creation or redistribution of,
  5669  // unlawful or unlicensed copies of an Apple operating system, or to
  5670  // circumvent, violate, or enable the circumvention or violation of, any
  5671  // terms of an Apple operating system software license agreement.
  5672  //
  5673  // Please obtain a copy of the License at
  5674  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5675  //
  5676  // The Original Code and all software distributed under the License are
  5677  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5678  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5679  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5680  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5681  // Please see the License for the specific language governing rights and
  5682  // limitations under the License.
  5683  //
  5684  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5685  
  5686  type segsz_t = int32_t /* types.h:125:33 */ // segment size
  5687  type swblk_t = int32_t /* types.h:126:33 */ // swap offset
  5688  
  5689  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5690  //
  5691  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5692  //
  5693  // This file contains Original Code and/or Modifications of Original Code
  5694  // as defined in and that are subject to the Apple Public Source License
  5695  // Version 2.0 (the 'License'). You may not use this file except in
  5696  // compliance with the License. The rights granted to you under the License
  5697  // may not be used to create, or enable the creation or redistribution of,
  5698  // unlawful or unlicensed copies of an Apple operating system, or to
  5699  // circumvent, violate, or enable the circumvention or violation of, any
  5700  // terms of an Apple operating system software license agreement.
  5701  //
  5702  // Please obtain a copy of the License at
  5703  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5704  //
  5705  // The Original Code and all software distributed under the License are
  5706  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5707  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5708  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5709  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5710  // Please see the License for the specific language governing rights and
  5711  // limitations under the License.
  5712  //
  5713  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5714  
  5715  // Major, minor numbers, dev_t's.
  5716  
  5717  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5718  //
  5719  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5720  //
  5721  // This file contains Original Code and/or Modifications of Original Code
  5722  // as defined in and that are subject to the Apple Public Source License
  5723  // Version 2.0 (the 'License'). You may not use this file except in
  5724  // compliance with the License. The rights granted to you under the License
  5725  // may not be used to create, or enable the creation or redistribution of,
  5726  // unlawful or unlicensed copies of an Apple operating system, or to
  5727  // circumvent, violate, or enable the circumvention or violation of, any
  5728  // terms of an Apple operating system software license agreement.
  5729  //
  5730  // Please obtain a copy of the License at
  5731  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5732  //
  5733  // The Original Code and all software distributed under the License are
  5734  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5735  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5736  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5737  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5738  // Please see the License for the specific language governing rights and
  5739  // limitations under the License.
  5740  //
  5741  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5742  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  5743  //
  5744  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5745  //
  5746  // This file contains Original Code and/or Modifications of Original Code
  5747  // as defined in and that are subject to the Apple Public Source License
  5748  // Version 2.0 (the 'License'). You may not use this file except in
  5749  // compliance with the License. The rights granted to you under the License
  5750  // may not be used to create, or enable the creation or redistribution of,
  5751  // unlawful or unlicensed copies of an Apple operating system, or to
  5752  // circumvent, violate, or enable the circumvention or violation of, any
  5753  // terms of an Apple operating system software license agreement.
  5754  //
  5755  // Please obtain a copy of the License at
  5756  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5757  //
  5758  // The Original Code and all software distributed under the License are
  5759  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5760  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5761  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5762  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5763  // Please see the License for the specific language governing rights and
  5764  // limitations under the License.
  5765  //
  5766  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5767  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  5768  type clock_t = uint64 /* _clock_t.h:31:33 */
  5769  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5770  //
  5771  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5772  //
  5773  // This file contains Original Code and/or Modifications of Original Code
  5774  // as defined in and that are subject to the Apple Public Source License
  5775  // Version 2.0 (the 'License'). You may not use this file except in
  5776  // compliance with the License. The rights granted to you under the License
  5777  // may not be used to create, or enable the creation or redistribution of,
  5778  // unlawful or unlicensed copies of an Apple operating system, or to
  5779  // circumvent, violate, or enable the circumvention or violation of, any
  5780  // terms of an Apple operating system software license agreement.
  5781  //
  5782  // Please obtain a copy of the License at
  5783  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5784  //
  5785  // The Original Code and all software distributed under the License are
  5786  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5787  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5788  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5789  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5790  // Please see the License for the specific language governing rights and
  5791  // limitations under the License.
  5792  //
  5793  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5794  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5795  //
  5796  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5797  //
  5798  // This file contains Original Code and/or Modifications of Original Code
  5799  // as defined in and that are subject to the Apple Public Source License
  5800  // Version 2.0 (the 'License'). You may not use this file except in
  5801  // compliance with the License. The rights granted to you under the License
  5802  // may not be used to create, or enable the creation or redistribution of,
  5803  // unlawful or unlicensed copies of an Apple operating system, or to
  5804  // circumvent, violate, or enable the circumvention or violation of, any
  5805  // terms of an Apple operating system software license agreement.
  5806  //
  5807  // Please obtain a copy of the License at
  5808  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5809  //
  5810  // The Original Code and all software distributed under the License are
  5811  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5812  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5813  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5814  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5815  // Please see the License for the specific language governing rights and
  5816  // limitations under the License.
  5817  //
  5818  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5819  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5820  //
  5821  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5822  //
  5823  // This file contains Original Code and/or Modifications of Original Code
  5824  // as defined in and that are subject to the Apple Public Source License
  5825  // Version 2.0 (the 'License'). You may not use this file except in
  5826  // compliance with the License. The rights granted to you under the License
  5827  // may not be used to create, or enable the creation or redistribution of,
  5828  // unlawful or unlicensed copies of an Apple operating system, or to
  5829  // circumvent, violate, or enable the circumvention or violation of, any
  5830  // terms of an Apple operating system software license agreement.
  5831  //
  5832  // Please obtain a copy of the License at
  5833  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5834  //
  5835  // The Original Code and all software distributed under the License are
  5836  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5837  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5838  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5839  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5840  // Please see the License for the specific language governing rights and
  5841  // limitations under the License.
  5842  //
  5843  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5844  
  5845  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5846  //
  5847  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5848  //
  5849  // This file contains Original Code and/or Modifications of Original Code
  5850  // as defined in and that are subject to the Apple Public Source License
  5851  // Version 2.0 (the 'License'). You may not use this file except in
  5852  // compliance with the License. The rights granted to you under the License
  5853  // may not be used to create, or enable the creation or redistribution of,
  5854  // unlawful or unlicensed copies of an Apple operating system, or to
  5855  // circumvent, violate, or enable the circumvention or violation of, any
  5856  // terms of an Apple operating system software license agreement.
  5857  //
  5858  // Please obtain a copy of the License at
  5859  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5860  //
  5861  // The Original Code and all software distributed under the License are
  5862  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5863  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5864  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5865  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5866  // Please see the License for the specific language governing rights and
  5867  // limitations under the License.
  5868  //
  5869  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5870  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5871  //
  5872  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5873  //
  5874  // This file contains Original Code and/or Modifications of Original Code
  5875  // as defined in and that are subject to the Apple Public Source License
  5876  // Version 2.0 (the 'License'). You may not use this file except in
  5877  // compliance with the License. The rights granted to you under the License
  5878  // may not be used to create, or enable the creation or redistribution of,
  5879  // unlawful or unlicensed copies of an Apple operating system, or to
  5880  // circumvent, violate, or enable the circumvention or violation of, any
  5881  // terms of an Apple operating system software license agreement.
  5882  //
  5883  // Please obtain a copy of the License at
  5884  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5885  //
  5886  // The Original Code and all software distributed under the License are
  5887  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5888  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5889  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5890  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5891  // Please see the License for the specific language governing rights and
  5892  // limitations under the License.
  5893  //
  5894  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5895  
  5896  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5897  //
  5898  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5899  //
  5900  // This file contains Original Code and/or Modifications of Original Code
  5901  // as defined in and that are subject to the Apple Public Source License
  5902  // Version 2.0 (the 'License'). You may not use this file except in
  5903  // compliance with the License. The rights granted to you under the License
  5904  // may not be used to create, or enable the creation or redistribution of,
  5905  // unlawful or unlicensed copies of an Apple operating system, or to
  5906  // circumvent, violate, or enable the circumvention or violation of, any
  5907  // terms of an Apple operating system software license agreement.
  5908  //
  5909  // Please obtain a copy of the License at
  5910  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5911  //
  5912  // The Original Code and all software distributed under the License are
  5913  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5914  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5915  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5916  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5917  // Please see the License for the specific language governing rights and
  5918  // limitations under the License.
  5919  //
  5920  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5921  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  5922  //
  5923  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5924  //
  5925  // This file contains Original Code and/or Modifications of Original Code
  5926  // as defined in and that are subject to the Apple Public Source License
  5927  // Version 2.0 (the 'License'). You may not use this file except in
  5928  // compliance with the License. The rights granted to you under the License
  5929  // may not be used to create, or enable the creation or redistribution of,
  5930  // unlawful or unlicensed copies of an Apple operating system, or to
  5931  // circumvent, violate, or enable the circumvention or violation of, any
  5932  // terms of an Apple operating system software license agreement.
  5933  //
  5934  // Please obtain a copy of the License at
  5935  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5936  //
  5937  // The Original Code and all software distributed under the License are
  5938  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5939  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5940  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5941  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5942  // Please see the License for the specific language governing rights and
  5943  // limitations under the License.
  5944  //
  5945  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5946  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  5947  type rsize_t = uint64 /* _rsize_t.h:31:32 */
  5948  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5949  //
  5950  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5951  //
  5952  // This file contains Original Code and/or Modifications of Original Code
  5953  // as defined in and that are subject to the Apple Public Source License
  5954  // Version 2.0 (the 'License'). You may not use this file except in
  5955  // compliance with the License. The rights granted to you under the License
  5956  // may not be used to create, or enable the creation or redistribution of,
  5957  // unlawful or unlicensed copies of an Apple operating system, or to
  5958  // circumvent, violate, or enable the circumvention or violation of, any
  5959  // terms of an Apple operating system software license agreement.
  5960  //
  5961  // Please obtain a copy of the License at
  5962  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5963  //
  5964  // The Original Code and all software distributed under the License are
  5965  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5966  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5967  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5968  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5969  // Please see the License for the specific language governing rights and
  5970  // limitations under the License.
  5971  //
  5972  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5973  type errno_t = int32 /* _errno_t.h:30:32 */
  5974  
  5975  // This code is present here in order to maintain historical backward
  5976  // compatability, and is intended to be removed at some point in the
  5977  // future; please include <sys/select.h> instead.
  5978  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5979  //
  5980  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5981  //
  5982  // This file contains Original Code and/or Modifications of Original Code
  5983  // as defined in and that are subject to the Apple Public Source License
  5984  // Version 2.0 (the 'License'). You may not use this file except in
  5985  // compliance with the License. The rights granted to you under the License
  5986  // may not be used to create, or enable the creation or redistribution of,
  5987  // unlawful or unlicensed copies of an Apple operating system, or to
  5988  // circumvent, violate, or enable the circumvention or violation of, any
  5989  // terms of an Apple operating system software license agreement.
  5990  //
  5991  // Please obtain a copy of the License at
  5992  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5993  //
  5994  // The Original Code and all software distributed under the License are
  5995  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5996  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5997  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5998  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5999  // Please see the License for the specific language governing rights and
  6000  // limitations under the License.
  6001  //
  6002  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6003  
  6004  type fd_mask = int32 /* types.h:189:25 */
  6005  
  6006  // Select uses bit masks of file descriptors in longs.  These macros
  6007  // manipulate such bit fields (the filesystem macros use chars).  The
  6008  // extra protection here is to permit application redefinition above
  6009  // the default size.
  6010  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6011  //
  6012  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6013  //
  6014  // This file contains Original Code and/or Modifications of Original Code
  6015  // as defined in and that are subject to the Apple Public Source License
  6016  // Version 2.0 (the 'License'). You may not use this file except in
  6017  // compliance with the License. The rights granted to you under the License
  6018  // may not be used to create, or enable the creation or redistribution of,
  6019  // unlawful or unlicensed copies of an Apple operating system, or to
  6020  // circumvent, violate, or enable the circumvention or violation of, any
  6021  // terms of an Apple operating system software license agreement.
  6022  //
  6023  // Please obtain a copy of the License at
  6024  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6025  //
  6026  // The Original Code and all software distributed under the License are
  6027  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6028  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6029  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6030  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6031  // Please see the License for the specific language governing rights and
  6032  // limitations under the License.
  6033  //
  6034  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6035  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6036  //
  6037  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6038  //
  6039  // This file contains Original Code and/or Modifications of Original Code
  6040  // as defined in and that are subject to the Apple Public Source License
  6041  // Version 2.0 (the 'License'). You may not use this file except in
  6042  // compliance with the License. The rights granted to you under the License
  6043  // may not be used to create, or enable the creation or redistribution of,
  6044  // unlawful or unlicensed copies of an Apple operating system, or to
  6045  // circumvent, violate, or enable the circumvention or violation of, any
  6046  // terms of an Apple operating system software license agreement.
  6047  //
  6048  // Please obtain a copy of the License at
  6049  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6050  //
  6051  // The Original Code and all software distributed under the License are
  6052  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6053  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6054  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6055  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6056  // Please see the License for the specific language governing rights and
  6057  // limitations under the License.
  6058  //
  6059  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6060  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6061  //
  6062  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6063  //
  6064  // This file contains Original Code and/or Modifications of Original Code
  6065  // as defined in and that are subject to the Apple Public Source License
  6066  // Version 2.0 (the 'License'). You may not use this file except in
  6067  // compliance with the License. The rights granted to you under the License
  6068  // may not be used to create, or enable the creation or redistribution of,
  6069  // unlawful or unlicensed copies of an Apple operating system, or to
  6070  // circumvent, violate, or enable the circumvention or violation of, any
  6071  // terms of an Apple operating system software license agreement.
  6072  //
  6073  // Please obtain a copy of the License at
  6074  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6075  //
  6076  // The Original Code and all software distributed under the License are
  6077  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6078  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6079  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6080  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6081  // Please see the License for the specific language governing rights and
  6082  // limitations under the License.
  6083  //
  6084  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6085  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6086  //
  6087  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6088  //
  6089  // This file contains Original Code and/or Modifications of Original Code
  6090  // as defined in and that are subject to the Apple Public Source License
  6091  // Version 2.0 (the 'License'). You may not use this file except in
  6092  // compliance with the License. The rights granted to you under the License
  6093  // may not be used to create, or enable the creation or redistribution of,
  6094  // unlawful or unlicensed copies of an Apple operating system, or to
  6095  // circumvent, violate, or enable the circumvention or violation of, any
  6096  // terms of an Apple operating system software license agreement.
  6097  //
  6098  // Please obtain a copy of the License at
  6099  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6100  //
  6101  // The Original Code and all software distributed under the License are
  6102  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6103  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6104  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6105  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6106  // Please see the License for the specific language governing rights and
  6107  // limitations under the License.
  6108  //
  6109  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6110  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6111  //
  6112  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6113  //
  6114  // This file contains Original Code and/or Modifications of Original Code
  6115  // as defined in and that are subject to the Apple Public Source License
  6116  // Version 2.0 (the 'License'). You may not use this file except in
  6117  // compliance with the License. The rights granted to you under the License
  6118  // may not be used to create, or enable the creation or redistribution of,
  6119  // unlawful or unlicensed copies of an Apple operating system, or to
  6120  // circumvent, violate, or enable the circumvention or violation of, any
  6121  // terms of an Apple operating system software license agreement.
  6122  //
  6123  // Please obtain a copy of the License at
  6124  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6125  //
  6126  // The Original Code and all software distributed under the License are
  6127  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6128  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6129  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6130  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6131  // Please see the License for the specific language governing rights and
  6132  // limitations under the License.
  6133  //
  6134  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6135  
  6136  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6137  //
  6138  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6139  //
  6140  // This file contains Original Code and/or Modifications of Original Code
  6141  // as defined in and that are subject to the Apple Public Source License
  6142  // Version 2.0 (the 'License'). You may not use this file except in
  6143  // compliance with the License. The rights granted to you under the License
  6144  // may not be used to create, or enable the creation or redistribution of,
  6145  // unlawful or unlicensed copies of an Apple operating system, or to
  6146  // circumvent, violate, or enable the circumvention or violation of, any
  6147  // terms of an Apple operating system software license agreement.
  6148  //
  6149  // Please obtain a copy of the License at
  6150  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6151  //
  6152  // The Original Code and all software distributed under the License are
  6153  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6154  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6155  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6156  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6157  // Please see the License for the specific language governing rights and
  6158  // limitations under the License.
  6159  //
  6160  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6161  
  6162  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6163  //
  6164  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6165  //
  6166  // This file contains Original Code and/or Modifications of Original Code
  6167  // as defined in and that are subject to the Apple Public Source License
  6168  // Version 2.0 (the 'License'). You may not use this file except in
  6169  // compliance with the License. The rights granted to you under the License
  6170  // may not be used to create, or enable the creation or redistribution of,
  6171  // unlawful or unlicensed copies of an Apple operating system, or to
  6172  // circumvent, violate, or enable the circumvention or violation of, any
  6173  // terms of an Apple operating system software license agreement.
  6174  //
  6175  // Please obtain a copy of the License at
  6176  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6177  //
  6178  // The Original Code and all software distributed under the License are
  6179  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6180  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6181  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6182  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6183  // Please see the License for the specific language governing rights and
  6184  // limitations under the License.
  6185  //
  6186  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6187  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  6188  //
  6189  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6190  //
  6191  // This file contains Original Code and/or Modifications of Original Code
  6192  // as defined in and that are subject to the Apple Public Source License
  6193  // Version 2.0 (the 'License'). You may not use this file except in
  6194  // compliance with the License. The rights granted to you under the License
  6195  // may not be used to create, or enable the creation or redistribution of,
  6196  // unlawful or unlicensed copies of an Apple operating system, or to
  6197  // circumvent, violate, or enable the circumvention or violation of, any
  6198  // terms of an Apple operating system software license agreement.
  6199  //
  6200  // Please obtain a copy of the License at
  6201  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6202  //
  6203  // The Original Code and all software distributed under the License are
  6204  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6205  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6206  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6207  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6208  // Please see the License for the specific language governing rights and
  6209  // limitations under the License.
  6210  //
  6211  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6212  
  6213  type pthread_attr_t = _opaque_pthread_attr_t /* _pthread_attr_t.h:31:33 */
  6214  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6215  //
  6216  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6217  //
  6218  // This file contains Original Code and/or Modifications of Original Code
  6219  // as defined in and that are subject to the Apple Public Source License
  6220  // Version 2.0 (the 'License'). You may not use this file except in
  6221  // compliance with the License. The rights granted to you under the License
  6222  // may not be used to create, or enable the creation or redistribution of,
  6223  // unlawful or unlicensed copies of an Apple operating system, or to
  6224  // circumvent, violate, or enable the circumvention or violation of, any
  6225  // terms of an Apple operating system software license agreement.
  6226  //
  6227  // Please obtain a copy of the License at
  6228  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6229  //
  6230  // The Original Code and all software distributed under the License are
  6231  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6232  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6233  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6234  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6235  // Please see the License for the specific language governing rights and
  6236  // limitations under the License.
  6237  //
  6238  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6239  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  6240  //
  6241  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6242  //
  6243  // This file contains Original Code and/or Modifications of Original Code
  6244  // as defined in and that are subject to the Apple Public Source License
  6245  // Version 2.0 (the 'License'). You may not use this file except in
  6246  // compliance with the License. The rights granted to you under the License
  6247  // may not be used to create, or enable the creation or redistribution of,
  6248  // unlawful or unlicensed copies of an Apple operating system, or to
  6249  // circumvent, violate, or enable the circumvention or violation of, any
  6250  // terms of an Apple operating system software license agreement.
  6251  //
  6252  // Please obtain a copy of the License at
  6253  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6254  //
  6255  // The Original Code and all software distributed under the License are
  6256  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6257  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6258  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6259  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6260  // Please see the License for the specific language governing rights and
  6261  // limitations under the License.
  6262  //
  6263  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6264  
  6265  type pthread_cond_t = _opaque_pthread_cond_t /* _pthread_cond_t.h:31:33 */
  6266  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6267  //
  6268  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6269  //
  6270  // This file contains Original Code and/or Modifications of Original Code
  6271  // as defined in and that are subject to the Apple Public Source License
  6272  // Version 2.0 (the 'License'). You may not use this file except in
  6273  // compliance with the License. The rights granted to you under the License
  6274  // may not be used to create, or enable the creation or redistribution of,
  6275  // unlawful or unlicensed copies of an Apple operating system, or to
  6276  // circumvent, violate, or enable the circumvention or violation of, any
  6277  // terms of an Apple operating system software license agreement.
  6278  //
  6279  // Please obtain a copy of the License at
  6280  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6281  //
  6282  // The Original Code and all software distributed under the License are
  6283  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6284  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6285  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6286  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6287  // Please see the License for the specific language governing rights and
  6288  // limitations under the License.
  6289  //
  6290  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6291  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  6292  //
  6293  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6294  //
  6295  // This file contains Original Code and/or Modifications of Original Code
  6296  // as defined in and that are subject to the Apple Public Source License
  6297  // Version 2.0 (the 'License'). You may not use this file except in
  6298  // compliance with the License. The rights granted to you under the License
  6299  // may not be used to create, or enable the creation or redistribution of,
  6300  // unlawful or unlicensed copies of an Apple operating system, or to
  6301  // circumvent, violate, or enable the circumvention or violation of, any
  6302  // terms of an Apple operating system software license agreement.
  6303  //
  6304  // Please obtain a copy of the License at
  6305  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6306  //
  6307  // The Original Code and all software distributed under the License are
  6308  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6309  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6310  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6311  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6312  // Please see the License for the specific language governing rights and
  6313  // limitations under the License.
  6314  //
  6315  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6316  
  6317  type pthread_condattr_t = _opaque_pthread_condattr_t /* _pthread_condattr_t.h:31:37 */
  6318  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6319  //
  6320  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6321  //
  6322  // This file contains Original Code and/or Modifications of Original Code
  6323  // as defined in and that are subject to the Apple Public Source License
  6324  // Version 2.0 (the 'License'). You may not use this file except in
  6325  // compliance with the License. The rights granted to you under the License
  6326  // may not be used to create, or enable the creation or redistribution of,
  6327  // unlawful or unlicensed copies of an Apple operating system, or to
  6328  // circumvent, violate, or enable the circumvention or violation of, any
  6329  // terms of an Apple operating system software license agreement.
  6330  //
  6331  // Please obtain a copy of the License at
  6332  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6333  //
  6334  // The Original Code and all software distributed under the License are
  6335  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6336  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6337  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6338  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6339  // Please see the License for the specific language governing rights and
  6340  // limitations under the License.
  6341  //
  6342  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6343  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  6344  //
  6345  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6346  //
  6347  // This file contains Original Code and/or Modifications of Original Code
  6348  // as defined in and that are subject to the Apple Public Source License
  6349  // Version 2.0 (the 'License'). You may not use this file except in
  6350  // compliance with the License. The rights granted to you under the License
  6351  // may not be used to create, or enable the creation or redistribution of,
  6352  // unlawful or unlicensed copies of an Apple operating system, or to
  6353  // circumvent, violate, or enable the circumvention or violation of, any
  6354  // terms of an Apple operating system software license agreement.
  6355  //
  6356  // Please obtain a copy of the License at
  6357  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6358  //
  6359  // The Original Code and all software distributed under the License are
  6360  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6361  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6362  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6363  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6364  // Please see the License for the specific language governing rights and
  6365  // limitations under the License.
  6366  //
  6367  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6368  
  6369  type pthread_mutex_t = _opaque_pthread_mutex_t /* _pthread_mutex_t.h:31:34 */
  6370  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6371  //
  6372  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6373  //
  6374  // This file contains Original Code and/or Modifications of Original Code
  6375  // as defined in and that are subject to the Apple Public Source License
  6376  // Version 2.0 (the 'License'). You may not use this file except in
  6377  // compliance with the License. The rights granted to you under the License
  6378  // may not be used to create, or enable the creation or redistribution of,
  6379  // unlawful or unlicensed copies of an Apple operating system, or to
  6380  // circumvent, violate, or enable the circumvention or violation of, any
  6381  // terms of an Apple operating system software license agreement.
  6382  //
  6383  // Please obtain a copy of the License at
  6384  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6385  //
  6386  // The Original Code and all software distributed under the License are
  6387  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6388  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6389  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6390  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6391  // Please see the License for the specific language governing rights and
  6392  // limitations under the License.
  6393  //
  6394  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6395  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  6396  //
  6397  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6398  //
  6399  // This file contains Original Code and/or Modifications of Original Code
  6400  // as defined in and that are subject to the Apple Public Source License
  6401  // Version 2.0 (the 'License'). You may not use this file except in
  6402  // compliance with the License. The rights granted to you under the License
  6403  // may not be used to create, or enable the creation or redistribution of,
  6404  // unlawful or unlicensed copies of an Apple operating system, or to
  6405  // circumvent, violate, or enable the circumvention or violation of, any
  6406  // terms of an Apple operating system software license agreement.
  6407  //
  6408  // Please obtain a copy of the License at
  6409  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6410  //
  6411  // The Original Code and all software distributed under the License are
  6412  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6413  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6414  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6415  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6416  // Please see the License for the specific language governing rights and
  6417  // limitations under the License.
  6418  //
  6419  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6420  
  6421  type pthread_mutexattr_t = _opaque_pthread_mutexattr_t /* _pthread_mutexattr_t.h:31:38 */
  6422  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6423  //
  6424  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6425  //
  6426  // This file contains Original Code and/or Modifications of Original Code
  6427  // as defined in and that are subject to the Apple Public Source License
  6428  // Version 2.0 (the 'License'). You may not use this file except in
  6429  // compliance with the License. The rights granted to you under the License
  6430  // may not be used to create, or enable the creation or redistribution of,
  6431  // unlawful or unlicensed copies of an Apple operating system, or to
  6432  // circumvent, violate, or enable the circumvention or violation of, any
  6433  // terms of an Apple operating system software license agreement.
  6434  //
  6435  // Please obtain a copy of the License at
  6436  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6437  //
  6438  // The Original Code and all software distributed under the License are
  6439  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6440  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6441  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6442  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6443  // Please see the License for the specific language governing rights and
  6444  // limitations under the License.
  6445  //
  6446  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6447  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  6448  //
  6449  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6450  //
  6451  // This file contains Original Code and/or Modifications of Original Code
  6452  // as defined in and that are subject to the Apple Public Source License
  6453  // Version 2.0 (the 'License'). You may not use this file except in
  6454  // compliance with the License. The rights granted to you under the License
  6455  // may not be used to create, or enable the creation or redistribution of,
  6456  // unlawful or unlicensed copies of an Apple operating system, or to
  6457  // circumvent, violate, or enable the circumvention or violation of, any
  6458  // terms of an Apple operating system software license agreement.
  6459  //
  6460  // Please obtain a copy of the License at
  6461  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6462  //
  6463  // The Original Code and all software distributed under the License are
  6464  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6465  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6466  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6467  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6468  // Please see the License for the specific language governing rights and
  6469  // limitations under the License.
  6470  //
  6471  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6472  
  6473  type pthread_once_t = _opaque_pthread_once_t /* _pthread_once_t.h:31:33 */
  6474  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6475  //
  6476  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6477  //
  6478  // This file contains Original Code and/or Modifications of Original Code
  6479  // as defined in and that are subject to the Apple Public Source License
  6480  // Version 2.0 (the 'License'). You may not use this file except in
  6481  // compliance with the License. The rights granted to you under the License
  6482  // may not be used to create, or enable the creation or redistribution of,
  6483  // unlawful or unlicensed copies of an Apple operating system, or to
  6484  // circumvent, violate, or enable the circumvention or violation of, any
  6485  // terms of an Apple operating system software license agreement.
  6486  //
  6487  // Please obtain a copy of the License at
  6488  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6489  //
  6490  // The Original Code and all software distributed under the License are
  6491  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6492  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6493  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6494  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6495  // Please see the License for the specific language governing rights and
  6496  // limitations under the License.
  6497  //
  6498  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6499  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  6500  //
  6501  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6502  //
  6503  // This file contains Original Code and/or Modifications of Original Code
  6504  // as defined in and that are subject to the Apple Public Source License
  6505  // Version 2.0 (the 'License'). You may not use this file except in
  6506  // compliance with the License. The rights granted to you under the License
  6507  // may not be used to create, or enable the creation or redistribution of,
  6508  // unlawful or unlicensed copies of an Apple operating system, or to
  6509  // circumvent, violate, or enable the circumvention or violation of, any
  6510  // terms of an Apple operating system software license agreement.
  6511  //
  6512  // Please obtain a copy of the License at
  6513  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6514  //
  6515  // The Original Code and all software distributed under the License are
  6516  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6517  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6518  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6519  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6520  // Please see the License for the specific language governing rights and
  6521  // limitations under the License.
  6522  //
  6523  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6524  
  6525  type pthread_rwlock_t = _opaque_pthread_rwlock_t /* _pthread_rwlock_t.h:31:35 */
  6526  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6527  //
  6528  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6529  //
  6530  // This file contains Original Code and/or Modifications of Original Code
  6531  // as defined in and that are subject to the Apple Public Source License
  6532  // Version 2.0 (the 'License'). You may not use this file except in
  6533  // compliance with the License. The rights granted to you under the License
  6534  // may not be used to create, or enable the creation or redistribution of,
  6535  // unlawful or unlicensed copies of an Apple operating system, or to
  6536  // circumvent, violate, or enable the circumvention or violation of, any
  6537  // terms of an Apple operating system software license agreement.
  6538  //
  6539  // Please obtain a copy of the License at
  6540  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6541  //
  6542  // The Original Code and all software distributed under the License are
  6543  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6544  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6545  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6546  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6547  // Please see the License for the specific language governing rights and
  6548  // limitations under the License.
  6549  //
  6550  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6551  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  6552  //
  6553  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6554  //
  6555  // This file contains Original Code and/or Modifications of Original Code
  6556  // as defined in and that are subject to the Apple Public Source License
  6557  // Version 2.0 (the 'License'). You may not use this file except in
  6558  // compliance with the License. The rights granted to you under the License
  6559  // may not be used to create, or enable the creation or redistribution of,
  6560  // unlawful or unlicensed copies of an Apple operating system, or to
  6561  // circumvent, violate, or enable the circumvention or violation of, any
  6562  // terms of an Apple operating system software license agreement.
  6563  //
  6564  // Please obtain a copy of the License at
  6565  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6566  //
  6567  // The Original Code and all software distributed under the License are
  6568  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6569  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6570  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6571  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6572  // Please see the License for the specific language governing rights and
  6573  // limitations under the License.
  6574  //
  6575  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6576  
  6577  type pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t /* _pthread_rwlockattr_t.h:31:39 */
  6578  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6579  //
  6580  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6581  //
  6582  // This file contains Original Code and/or Modifications of Original Code
  6583  // as defined in and that are subject to the Apple Public Source License
  6584  // Version 2.0 (the 'License'). You may not use this file except in
  6585  // compliance with the License. The rights granted to you under the License
  6586  // may not be used to create, or enable the creation or redistribution of,
  6587  // unlawful or unlicensed copies of an Apple operating system, or to
  6588  // circumvent, violate, or enable the circumvention or violation of, any
  6589  // terms of an Apple operating system software license agreement.
  6590  //
  6591  // Please obtain a copy of the License at
  6592  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6593  //
  6594  // The Original Code and all software distributed under the License are
  6595  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6596  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6597  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6598  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6599  // Please see the License for the specific language governing rights and
  6600  // limitations under the License.
  6601  //
  6602  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6603  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  6604  //
  6605  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6606  //
  6607  // This file contains Original Code and/or Modifications of Original Code
  6608  // as defined in and that are subject to the Apple Public Source License
  6609  // Version 2.0 (the 'License'). You may not use this file except in
  6610  // compliance with the License. The rights granted to you under the License
  6611  // may not be used to create, or enable the creation or redistribution of,
  6612  // unlawful or unlicensed copies of an Apple operating system, or to
  6613  // circumvent, violate, or enable the circumvention or violation of, any
  6614  // terms of an Apple operating system software license agreement.
  6615  //
  6616  // Please obtain a copy of the License at
  6617  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6618  //
  6619  // The Original Code and all software distributed under the License are
  6620  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6621  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6622  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6623  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6624  // Please see the License for the specific language governing rights and
  6625  // limitations under the License.
  6626  //
  6627  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6628  
  6629  type pthread_t = uintptr /* _pthread_t.h:31:28 */
  6630  
  6631  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6632  //
  6633  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6634  //
  6635  // This file contains Original Code and/or Modifications of Original Code
  6636  // as defined in and that are subject to the Apple Public Source License
  6637  // Version 2.0 (the 'License'). You may not use this file except in
  6638  // compliance with the License. The rights granted to you under the License
  6639  // may not be used to create, or enable the creation or redistribution of,
  6640  // unlawful or unlicensed copies of an Apple operating system, or to
  6641  // circumvent, violate, or enable the circumvention or violation of, any
  6642  // terms of an Apple operating system software license agreement.
  6643  //
  6644  // Please obtain a copy of the License at
  6645  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6646  //
  6647  // The Original Code and all software distributed under the License are
  6648  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6649  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6650  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6651  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6652  // Please see the License for the specific language governing rights and
  6653  // limitations under the License.
  6654  //
  6655  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6656  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  6657  //
  6658  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6659  //
  6660  // This file contains Original Code and/or Modifications of Original Code
  6661  // as defined in and that are subject to the Apple Public Source License
  6662  // Version 2.0 (the 'License'). You may not use this file except in
  6663  // compliance with the License. The rights granted to you under the License
  6664  // may not be used to create, or enable the creation or redistribution of,
  6665  // unlawful or unlicensed copies of an Apple operating system, or to
  6666  // circumvent, violate, or enable the circumvention or violation of, any
  6667  // terms of an Apple operating system software license agreement.
  6668  //
  6669  // Please obtain a copy of the License at
  6670  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6671  //
  6672  // The Original Code and all software distributed under the License are
  6673  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6674  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6675  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6676  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6677  // Please see the License for the specific language governing rights and
  6678  // limitations under the License.
  6679  //
  6680  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6681  
  6682  type pthread_key_t = uint64 /* _pthread_key_t.h:31:32 */
  6683  
  6684  // statvfs and fstatvfs
  6685  
  6686  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6687  //
  6688  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6689  //
  6690  // This file contains Original Code and/or Modifications of Original Code
  6691  // as defined in and that are subject to the Apple Public Source License
  6692  // Version 2.0 (the 'License'). You may not use this file except in
  6693  // compliance with the License. The rights granted to you under the License
  6694  // may not be used to create, or enable the creation or redistribution of,
  6695  // unlawful or unlicensed copies of an Apple operating system, or to
  6696  // circumvent, violate, or enable the circumvention or violation of, any
  6697  // terms of an Apple operating system software license agreement.
  6698  //
  6699  // Please obtain a copy of the License at
  6700  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6701  //
  6702  // The Original Code and all software distributed under the License are
  6703  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6704  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6705  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6706  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6707  // Please see the License for the specific language governing rights and
  6708  // limitations under the License.
  6709  //
  6710  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6711  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  6712  //
  6713  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6714  //
  6715  // This file contains Original Code and/or Modifications of Original Code
  6716  // as defined in and that are subject to the Apple Public Source License
  6717  // Version 2.0 (the 'License'). You may not use this file except in
  6718  // compliance with the License. The rights granted to you under the License
  6719  // may not be used to create, or enable the creation or redistribution of,
  6720  // unlawful or unlicensed copies of an Apple operating system, or to
  6721  // circumvent, violate, or enable the circumvention or violation of, any
  6722  // terms of an Apple operating system software license agreement.
  6723  //
  6724  // Please obtain a copy of the License at
  6725  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6726  //
  6727  // The Original Code and all software distributed under the License are
  6728  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6729  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6730  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6731  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6732  // Please see the License for the specific language governing rights and
  6733  // limitations under the License.
  6734  //
  6735  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6736  
  6737  type fsblkcnt_t = uint32 /* _fsblkcnt_t.h:31:41 */
  6738  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6739  //
  6740  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6741  //
  6742  // This file contains Original Code and/or Modifications of Original Code
  6743  // as defined in and that are subject to the Apple Public Source License
  6744  // Version 2.0 (the 'License'). You may not use this file except in
  6745  // compliance with the License. The rights granted to you under the License
  6746  // may not be used to create, or enable the creation or redistribution of,
  6747  // unlawful or unlicensed copies of an Apple operating system, or to
  6748  // circumvent, violate, or enable the circumvention or violation of, any
  6749  // terms of an Apple operating system software license agreement.
  6750  //
  6751  // Please obtain a copy of the License at
  6752  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6753  //
  6754  // The Original Code and all software distributed under the License are
  6755  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6756  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6757  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6758  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6759  // Please see the License for the specific language governing rights and
  6760  // limitations under the License.
  6761  //
  6762  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6763  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  6764  //
  6765  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6766  //
  6767  // This file contains Original Code and/or Modifications of Original Code
  6768  // as defined in and that are subject to the Apple Public Source License
  6769  // Version 2.0 (the 'License'). You may not use this file except in
  6770  // compliance with the License. The rights granted to you under the License
  6771  // may not be used to create, or enable the creation or redistribution of,
  6772  // unlawful or unlicensed copies of an Apple operating system, or to
  6773  // circumvent, violate, or enable the circumvention or violation of, any
  6774  // terms of an Apple operating system software license agreement.
  6775  //
  6776  // Please obtain a copy of the License at
  6777  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6778  //
  6779  // The Original Code and all software distributed under the License are
  6780  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6781  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6782  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6783  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6784  // Please see the License for the specific language governing rights and
  6785  // limitations under the License.
  6786  //
  6787  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6788  
  6789  type fsfilcnt_t = uint32 /* _fsfilcnt_t.h:31:41 */
  6790  
  6791  // Copyright (c) 2000-2019 Apple Inc. All rights reserved.
  6792  //
  6793  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6794  //
  6795  // This file contains Original Code and/or Modifications of Original Code
  6796  // as defined in and that are subject to the Apple Public Source License
  6797  // Version 2.0 (the 'License'). You may not use this file except in
  6798  // compliance with the License. The rights granted to you under the License
  6799  // may not be used to create, or enable the creation or redistribution of,
  6800  // unlawful or unlicensed copies of an Apple operating system, or to
  6801  // circumvent, violate, or enable the circumvention or violation of, any
  6802  // terms of an Apple operating system software license agreement.
  6803  //
  6804  // Please obtain a copy of the License at
  6805  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6806  //
  6807  // The Original Code and all software distributed under the License are
  6808  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6809  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6810  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6811  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6812  // Please see the License for the specific language governing rights and
  6813  // limitations under the License.
  6814  //
  6815  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6816  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  6817  // Copyright (c) 1982, 1986, 1993, 1994
  6818  //	The Regents of the University of California.  All rights reserved.
  6819  //
  6820  // Redistribution and use in source and binary forms, with or without
  6821  // modification, are permitted provided that the following conditions
  6822  // are met:
  6823  // 1. Redistributions of source code must retain the above copyright
  6824  //    notice, this list of conditions and the following disclaimer.
  6825  // 2. Redistributions in binary form must reproduce the above copyright
  6826  //    notice, this list of conditions and the following disclaimer in the
  6827  //    documentation and/or other materials provided with the distribution.
  6828  // 3. All advertising materials mentioning features or use of this software
  6829  //    must display the following acknowledgement:
  6830  //	This product includes software developed by the University of
  6831  //	California, Berkeley and its contributors.
  6832  // 4. Neither the name of the University nor the names of its contributors
  6833  //    may be used to endorse or promote products derived from this software
  6834  //    without specific prior written permission.
  6835  //
  6836  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6837  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6838  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6839  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6840  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6841  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6842  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6843  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6844  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6845  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6846  // SUCH DAMAGE.
  6847  //
  6848  //	@(#)uio.h	8.5 (Berkeley) 2/22/94
  6849  
  6850  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  6851  //
  6852  // @APPLE_LICENSE_HEADER_START@
  6853  //
  6854  // This file contains Original Code and/or Modifications of Original Code
  6855  // as defined in and that are subject to the Apple Public Source License
  6856  // Version 2.0 (the 'License'). You may not use this file except in
  6857  // compliance with the License. Please obtain a copy of the License at
  6858  // http://www.opensource.apple.com/apsl/ and read it before using this
  6859  // file.
  6860  //
  6861  // The Original Code and all software distributed under the License are
  6862  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6863  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6864  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6865  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6866  // Please see the License for the specific language governing rights and
  6867  // limitations under the License.
  6868  //
  6869  // @APPLE_LICENSE_HEADER_END@
  6870  
  6871  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  6872  //
  6873  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6874  //
  6875  // This file contains Original Code and/or Modifications of Original Code
  6876  // as defined in and that are subject to the Apple Public Source License
  6877  // Version 2.0 (the 'License'). You may not use this file except in
  6878  // compliance with the License. The rights granted to you under the License
  6879  // may not be used to create, or enable the creation or redistribution of,
  6880  // unlawful or unlicensed copies of an Apple operating system, or to
  6881  // circumvent, violate, or enable the circumvention or violation of, any
  6882  // terms of an Apple operating system software license agreement.
  6883  //
  6884  // Please obtain a copy of the License at
  6885  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6886  //
  6887  // The Original Code and all software distributed under the License are
  6888  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6889  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6890  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6891  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6892  // Please see the License for the specific language governing rights and
  6893  // limitations under the License.
  6894  //
  6895  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6896  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  6897  // Copyright (c) 1991, 1993
  6898  //	The Regents of the University of California.  All rights reserved.
  6899  //
  6900  // This code is derived from software contributed to Berkeley by
  6901  // Berkeley Software Design, Inc.
  6902  //
  6903  // Redistribution and use in source and binary forms, with or without
  6904  // modification, are permitted provided that the following conditions
  6905  // are met:
  6906  // 1. Redistributions of source code must retain the above copyright
  6907  //    notice, this list of conditions and the following disclaimer.
  6908  // 2. Redistributions in binary form must reproduce the above copyright
  6909  //    notice, this list of conditions and the following disclaimer in the
  6910  //    documentation and/or other materials provided with the distribution.
  6911  // 3. All advertising materials mentioning features or use of this software
  6912  //    must display the following acknowledgement:
  6913  //	This product includes software developed by the University of
  6914  //	California, Berkeley and its contributors.
  6915  // 4. Neither the name of the University nor the names of its contributors
  6916  //    may be used to endorse or promote products derived from this software
  6917  //    without specific prior written permission.
  6918  //
  6919  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  6920  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  6921  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  6922  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  6923  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  6924  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  6925  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  6926  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  6927  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  6928  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  6929  // SUCH DAMAGE.
  6930  //
  6931  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  6932  
  6933  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  6934  //
  6935  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6936  //
  6937  // This file contains Original Code and/or Modifications of Original Code
  6938  // as defined in and that are subject to the Apple Public Source License
  6939  // Version 2.0 (the 'License'). You may not use this file except in
  6940  // compliance with the License. The rights granted to you under the License
  6941  // may not be used to create, or enable the creation or redistribution of,
  6942  // unlawful or unlicensed copies of an Apple operating system, or to
  6943  // circumvent, violate, or enable the circumvention or violation of, any
  6944  // terms of an Apple operating system software license agreement.
  6945  //
  6946  // Please obtain a copy of the License at
  6947  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6948  //
  6949  // The Original Code and all software distributed under the License are
  6950  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6951  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6952  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6953  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6954  // Please see the License for the specific language governing rights and
  6955  // limitations under the License.
  6956  //
  6957  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6958  
  6959  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6960  //
  6961  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6962  //
  6963  // This file contains Original Code and/or Modifications of Original Code
  6964  // as defined in and that are subject to the Apple Public Source License
  6965  // Version 2.0 (the 'License'). You may not use this file except in
  6966  // compliance with the License. The rights granted to you under the License
  6967  // may not be used to create, or enable the creation or redistribution of,
  6968  // unlawful or unlicensed copies of an Apple operating system, or to
  6969  // circumvent, violate, or enable the circumvention or violation of, any
  6970  // terms of an Apple operating system software license agreement.
  6971  //
  6972  // Please obtain a copy of the License at
  6973  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  6974  //
  6975  // The Original Code and all software distributed under the License are
  6976  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  6977  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  6978  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  6979  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  6980  // Please see the License for the specific language governing rights and
  6981  // limitations under the License.
  6982  //
  6983  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  6984  
  6985  // [XSI] The ssize_t and size_t types shall be defined as described
  6986  // in <sys/types.h>.
  6987  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  6988  //
  6989  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  6990  //
  6991  // This file contains Original Code and/or Modifications of Original Code
  6992  // as defined in and that are subject to the Apple Public Source License
  6993  // Version 2.0 (the 'License'). You may not use this file except in
  6994  // compliance with the License. The rights granted to you under the License
  6995  // may not be used to create, or enable the creation or redistribution of,
  6996  // unlawful or unlicensed copies of an Apple operating system, or to
  6997  // circumvent, violate, or enable the circumvention or violation of, any
  6998  // terms of an Apple operating system software license agreement.
  6999  //
  7000  // Please obtain a copy of the License at
  7001  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7002  //
  7003  // The Original Code and all software distributed under the License are
  7004  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7005  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7006  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7007  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7008  // Please see the License for the specific language governing rights and
  7009  // limitations under the License.
  7010  //
  7011  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7012  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  7013  //
  7014  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7015  //
  7016  // This file contains Original Code and/or Modifications of Original Code
  7017  // as defined in and that are subject to the Apple Public Source License
  7018  // Version 2.0 (the 'License'). You may not use this file except in
  7019  // compliance with the License. The rights granted to you under the License
  7020  // may not be used to create, or enable the creation or redistribution of,
  7021  // unlawful or unlicensed copies of an Apple operating system, or to
  7022  // circumvent, violate, or enable the circumvention or violation of, any
  7023  // terms of an Apple operating system software license agreement.
  7024  //
  7025  // Please obtain a copy of the License at
  7026  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7027  //
  7028  // The Original Code and all software distributed under the License are
  7029  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7030  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7031  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7032  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7033  // Please see the License for the specific language governing rights and
  7034  // limitations under the License.
  7035  //
  7036  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7037  
  7038  // [XSI] Structure whose address is passed as the second parameter to the
  7039  // readv(), preadv(), writev() and pwritev() functions.
  7040  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  7041  //
  7042  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7043  //
  7044  // This file contains Original Code and/or Modifications of Original Code
  7045  // as defined in and that are subject to the Apple Public Source License
  7046  // Version 2.0 (the 'License'). You may not use this file except in
  7047  // compliance with the License. The rights granted to you under the License
  7048  // may not be used to create, or enable the creation or redistribution of,
  7049  // unlawful or unlicensed copies of an Apple operating system, or to
  7050  // circumvent, violate, or enable the circumvention or violation of, any
  7051  // terms of an Apple operating system software license agreement.
  7052  //
  7053  // Please obtain a copy of the License at
  7054  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7055  //
  7056  // The Original Code and all software distributed under the License are
  7057  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7058  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7059  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7060  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7061  // Please see the License for the specific language governing rights and
  7062  // limitations under the License.
  7063  //
  7064  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7065  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  7066  //
  7067  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7068  //
  7069  // This file contains Original Code and/or Modifications of Original Code
  7070  // as defined in and that are subject to the Apple Public Source License
  7071  // Version 2.0 (the 'License'). You may not use this file except in
  7072  // compliance with the License. The rights granted to you under the License
  7073  // may not be used to create, or enable the creation or redistribution of,
  7074  // unlawful or unlicensed copies of an Apple operating system, or to
  7075  // circumvent, violate, or enable the circumvention or violation of, any
  7076  // terms of an Apple operating system software license agreement.
  7077  //
  7078  // Please obtain a copy of the License at
  7079  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7080  //
  7081  // The Original Code and all software distributed under the License are
  7082  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7083  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7084  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7085  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7086  // Please see the License for the specific language governing rights and
  7087  // limitations under the License.
  7088  //
  7089  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7090  type iovec = struct {
  7091  	Fiov_base uintptr
  7092  	Fiov_len  size_t
  7093  } /* _iovec_t.h:31:1 */
  7094  
  7095  // Copyright (c) 2000-2012 Apple Inc. All rights reserved.
  7096  //
  7097  // @APPLE_LICENSE_HEADER_START@
  7098  //
  7099  // This file contains Original Code and/or Modifications of Original Code
  7100  // as defined in and that are subject to the Apple Public Source License
  7101  // Version 2.0 (the 'License'). You may not use this file except in
  7102  // compliance with the License. Please obtain a copy of the License at
  7103  // http://www.opensource.apple.com/apsl/ and read it before using this
  7104  // file.
  7105  //
  7106  // The Original Code and all software distributed under the License are
  7107  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7108  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7109  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7110  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7111  // Please see the License for the specific language governing rights and
  7112  // limitations under the License.
  7113  //
  7114  // @APPLE_LICENSE_HEADER_END@
  7115  // Copyright 1996 1995 by Open Software Foundation, Inc. 1997 1996 1995 1994 1993 1992 1991
  7116  //              All Rights Reserved
  7117  //
  7118  // Permission to use, copy, modify, and distribute this software and
  7119  // its documentation for any purpose and without fee is hereby granted,
  7120  // provided that the above copyright notice appears in all copies and
  7121  // that both the copyright notice and this permission notice appear in
  7122  // supporting documentation.
  7123  //
  7124  // OSF DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
  7125  // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  7126  // FOR A PARTICULAR PURPOSE.
  7127  //
  7128  // IN NO EVENT SHALL OSF BE LIABLE FOR ANY SPECIAL, INDIRECT, OR
  7129  // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  7130  // LOSS OF USE, DATA OR PROFITS, WHETHER IN ACTION OF CONTRACT,
  7131  // NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
  7132  // WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  7133  //
  7134  // MkLinux
  7135  
  7136  // POSIX Threads - IEEE 1003.1c
  7137  
  7138  // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
  7139  //
  7140  // @APPLE_LICENSE_HEADER_START@
  7141  //
  7142  // This file contains Original Code and/or Modifications of Original Code
  7143  // as defined in and that are subject to the Apple Public Source License
  7144  // Version 2.0 (the 'License'). You may not use this file except in
  7145  // compliance with the License. Please obtain a copy of the License at
  7146  // http://www.opensource.apple.com/apsl/ and read it before using this
  7147  // file.
  7148  //
  7149  // The Original Code and all software distributed under the License are
  7150  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7151  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7152  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7153  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7154  // Please see the License for the specific language governing rights and
  7155  // limitations under the License.
  7156  //
  7157  // @APPLE_LICENSE_HEADER_END@
  7158  
  7159  // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
  7160  //
  7161  // @APPLE_LICENSE_HEADER_START@
  7162  //
  7163  // This file contains Original Code and/or Modifications of Original Code
  7164  // as defined in and that are subject to the Apple Public Source License
  7165  // Version 2.0 (the 'License'). You may not use this file except in
  7166  // compliance with the License. Please obtain a copy of the License at
  7167  // http://www.opensource.apple.com/apsl/ and read it before using this
  7168  // file.
  7169  //
  7170  // The Original Code and all software distributed under the License are
  7171  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7172  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7173  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7174  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7175  // Please see the License for the specific language governing rights and
  7176  // limitations under the License.
  7177  //
  7178  // @APPLE_LICENSE_HEADER_END@
  7179  
  7180  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  7181  //
  7182  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7183  //
  7184  // This file contains Original Code and/or Modifications of Original Code
  7185  // as defined in and that are subject to the Apple Public Source License
  7186  // Version 2.0 (the 'License'). You may not use this file except in
  7187  // compliance with the License. The rights granted to you under the License
  7188  // may not be used to create, or enable the creation or redistribution of,
  7189  // unlawful or unlicensed copies of an Apple operating system, or to
  7190  // circumvent, violate, or enable the circumvention or violation of, any
  7191  // terms of an Apple operating system software license agreement.
  7192  //
  7193  // Please obtain a copy of the License at
  7194  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7195  //
  7196  // The Original Code and all software distributed under the License are
  7197  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7198  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7199  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7200  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7201  // Please see the License for the specific language governing rights and
  7202  // limitations under the License.
  7203  //
  7204  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7205  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  7206  // Copyright (c) 1991, 1993
  7207  //	The Regents of the University of California.  All rights reserved.
  7208  //
  7209  // This code is derived from software contributed to Berkeley by
  7210  // Berkeley Software Design, Inc.
  7211  //
  7212  // Redistribution and use in source and binary forms, with or without
  7213  // modification, are permitted provided that the following conditions
  7214  // are met:
  7215  // 1. Redistributions of source code must retain the above copyright
  7216  //    notice, this list of conditions and the following disclaimer.
  7217  // 2. Redistributions in binary form must reproduce the above copyright
  7218  //    notice, this list of conditions and the following disclaimer in the
  7219  //    documentation and/or other materials provided with the distribution.
  7220  // 3. All advertising materials mentioning features or use of this software
  7221  //    must display the following acknowledgement:
  7222  //	This product includes software developed by the University of
  7223  //	California, Berkeley and its contributors.
  7224  // 4. Neither the name of the University nor the names of its contributors
  7225  //    may be used to endorse or promote products derived from this software
  7226  //    without specific prior written permission.
  7227  //
  7228  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  7229  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  7230  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  7231  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  7232  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  7233  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  7234  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  7235  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  7236  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  7237  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  7238  // SUCH DAMAGE.
  7239  //
  7240  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  7241  
  7242  // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
  7243  //
  7244  // @APPLE_LICENSE_HEADER_START@
  7245  //
  7246  // This file contains Original Code and/or Modifications of Original Code
  7247  // as defined in and that are subject to the Apple Public Source License
  7248  // Version 2.0 (the 'License'). You may not use this file except in
  7249  // compliance with the License. Please obtain a copy of the License at
  7250  // http://www.opensource.apple.com/apsl/ and read it before using this
  7251  // file.
  7252  //
  7253  // The Original Code and all software distributed under the License are
  7254  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7255  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7256  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7257  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7258  // Please see the License for the specific language governing rights and
  7259  // limitations under the License.
  7260  //
  7261  // @APPLE_LICENSE_HEADER_END@
  7262  
  7263  // Internal implementation details
  7264  
  7265  // This whole header file will disappear, so don't depend on it...
  7266  
  7267  // [Internal] data structure signatures
  7268  
  7269  // POSIX scheduling policies
  7270  
  7271  // Scheduling paramters
  7272  type sched_param = struct {
  7273  	Fsched_priority int32
  7274  	F__opaque       [4]int8
  7275  } /* sched.h:35:1 */
  7276  
  7277  // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
  7278  //
  7279  // @APPLE_LICENSE_HEADER_START@
  7280  //
  7281  // This file contains Original Code and/or Modifications of Original Code
  7282  // as defined in and that are subject to the Apple Public Source License
  7283  // Version 2.0 (the 'License'). You may not use this file except in
  7284  // compliance with the License. Please obtain a copy of the License at
  7285  // http://www.opensource.apple.com/apsl/ and read it before using this
  7286  // file.
  7287  //
  7288  // The Original Code and all software distributed under the License are
  7289  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7290  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7291  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7292  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7293  // Please see the License for the specific language governing rights and
  7294  // limitations under the License.
  7295  //
  7296  // @APPLE_LICENSE_HEADER_END@
  7297  // Copyright (c) 1989, 1993
  7298  //	The Regents of the University of California.  All rights reserved.
  7299  // (c) UNIX System Laboratories, Inc.
  7300  // All or some portions of this file are derived from material licensed
  7301  // to the University of California by American Telephone and Telegraph
  7302  // Co. or Unix System Laboratories, Inc. and are reproduced herein with
  7303  // the permission of UNIX System Laboratories, Inc.
  7304  //
  7305  // Redistribution and use in source and binary forms, with or without
  7306  // modification, are permitted provided that the following conditions
  7307  // are met:
  7308  // 1. Redistributions of source code must retain the above copyright
  7309  //    notice, this list of conditions and the following disclaimer.
  7310  // 2. Redistributions in binary form must reproduce the above copyright
  7311  //    notice, this list of conditions and the following disclaimer in the
  7312  //    documentation and/or other materials provided with the distribution.
  7313  // 3. All advertising materials mentioning features or use of this software
  7314  //    must display the following acknowledgement:
  7315  //	This product includes software developed by the University of
  7316  //	California, Berkeley and its contributors.
  7317  // 4. Neither the name of the University nor the names of its contributors
  7318  //    may be used to endorse or promote products derived from this software
  7319  //    without specific prior written permission.
  7320  //
  7321  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  7322  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  7323  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  7324  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  7325  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  7326  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  7327  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  7328  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  7329  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  7330  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  7331  // SUCH DAMAGE.
  7332  //
  7333  //	@(#)time.h	8.3 (Berkeley) 1/21/94
  7334  
  7335  // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
  7336  //
  7337  // @APPLE_LICENSE_HEADER_START@
  7338  //
  7339  // This file contains Original Code and/or Modifications of Original Code
  7340  // as defined in and that are subject to the Apple Public Source License
  7341  // Version 2.0 (the 'License'). You may not use this file except in
  7342  // compliance with the License. Please obtain a copy of the License at
  7343  // http://www.opensource.apple.com/apsl/ and read it before using this
  7344  // file.
  7345  //
  7346  // The Original Code and all software distributed under the License are
  7347  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7348  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7349  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7350  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7351  // Please see the License for the specific language governing rights and
  7352  // limitations under the License.
  7353  //
  7354  // @APPLE_LICENSE_HEADER_END@
  7355  
  7356  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  7357  //
  7358  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7359  //
  7360  // This file contains Original Code and/or Modifications of Original Code
  7361  // as defined in and that are subject to the Apple Public Source License
  7362  // Version 2.0 (the 'License'). You may not use this file except in
  7363  // compliance with the License. The rights granted to you under the License
  7364  // may not be used to create, or enable the creation or redistribution of,
  7365  // unlawful or unlicensed copies of an Apple operating system, or to
  7366  // circumvent, violate, or enable the circumvention or violation of, any
  7367  // terms of an Apple operating system software license agreement.
  7368  //
  7369  // Please obtain a copy of the License at
  7370  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7371  //
  7372  // The Original Code and all software distributed under the License are
  7373  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7374  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7375  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7376  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7377  // Please see the License for the specific language governing rights and
  7378  // limitations under the License.
  7379  //
  7380  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7381  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  7382  // Copyright (c) 1991, 1993
  7383  //	The Regents of the University of California.  All rights reserved.
  7384  //
  7385  // This code is derived from software contributed to Berkeley by
  7386  // Berkeley Software Design, Inc.
  7387  //
  7388  // Redistribution and use in source and binary forms, with or without
  7389  // modification, are permitted provided that the following conditions
  7390  // are met:
  7391  // 1. Redistributions of source code must retain the above copyright
  7392  //    notice, this list of conditions and the following disclaimer.
  7393  // 2. Redistributions in binary form must reproduce the above copyright
  7394  //    notice, this list of conditions and the following disclaimer in the
  7395  //    documentation and/or other materials provided with the distribution.
  7396  // 3. All advertising materials mentioning features or use of this software
  7397  //    must display the following acknowledgement:
  7398  //	This product includes software developed by the University of
  7399  //	California, Berkeley and its contributors.
  7400  // 4. Neither the name of the University nor the names of its contributors
  7401  //    may be used to endorse or promote products derived from this software
  7402  //    without specific prior written permission.
  7403  //
  7404  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  7405  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  7406  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  7407  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  7408  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  7409  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  7410  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  7411  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  7412  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  7413  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  7414  // SUCH DAMAGE.
  7415  //
  7416  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  7417  
  7418  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  7419  //
  7420  // @APPLE_LICENSE_HEADER_START@
  7421  //
  7422  // This file contains Original Code and/or Modifications of Original Code
  7423  // as defined in and that are subject to the Apple Public Source License
  7424  // Version 2.0 (the 'License'). You may not use this file except in
  7425  // compliance with the License. Please obtain a copy of the License at
  7426  // http://www.opensource.apple.com/apsl/ and read it before using this
  7427  // file.
  7428  //
  7429  // The Original Code and all software distributed under the License are
  7430  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7431  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7432  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7433  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7434  // Please see the License for the specific language governing rights and
  7435  // limitations under the License.
  7436  //
  7437  // @APPLE_LICENSE_HEADER_END@
  7438  
  7439  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  7440  //
  7441  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7442  //
  7443  // This file contains Original Code and/or Modifications of Original Code
  7444  // as defined in and that are subject to the Apple Public Source License
  7445  // Version 2.0 (the 'License'). You may not use this file except in
  7446  // compliance with the License. The rights granted to you under the License
  7447  // may not be used to create, or enable the creation or redistribution of,
  7448  // unlawful or unlicensed copies of an Apple operating system, or to
  7449  // circumvent, violate, or enable the circumvention or violation of, any
  7450  // terms of an Apple operating system software license agreement.
  7451  //
  7452  // Please obtain a copy of the License at
  7453  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7454  //
  7455  // The Original Code and all software distributed under the License are
  7456  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7457  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7458  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7459  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7460  // Please see the License for the specific language governing rights and
  7461  // limitations under the License.
  7462  //
  7463  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7464  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  7465  //
  7466  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7467  //
  7468  // This file contains Original Code and/or Modifications of Original Code
  7469  // as defined in and that are subject to the Apple Public Source License
  7470  // Version 2.0 (the 'License'). You may not use this file except in
  7471  // compliance with the License. The rights granted to you under the License
  7472  // may not be used to create, or enable the creation or redistribution of,
  7473  // unlawful or unlicensed copies of an Apple operating system, or to
  7474  // circumvent, violate, or enable the circumvention or violation of, any
  7475  // terms of an Apple operating system software license agreement.
  7476  //
  7477  // Please obtain a copy of the License at
  7478  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7479  //
  7480  // The Original Code and all software distributed under the License are
  7481  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7482  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7483  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7484  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7485  // Please see the License for the specific language governing rights and
  7486  // limitations under the License.
  7487  //
  7488  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7489  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  7490  //
  7491  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7492  //
  7493  // This file contains Original Code and/or Modifications of Original Code
  7494  // as defined in and that are subject to the Apple Public Source License
  7495  // Version 2.0 (the 'License'). You may not use this file except in
  7496  // compliance with the License. The rights granted to you under the License
  7497  // may not be used to create, or enable the creation or redistribution of,
  7498  // unlawful or unlicensed copies of an Apple operating system, or to
  7499  // circumvent, violate, or enable the circumvention or violation of, any
  7500  // terms of an Apple operating system software license agreement.
  7501  //
  7502  // Please obtain a copy of the License at
  7503  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7504  //
  7505  // The Original Code and all software distributed under the License are
  7506  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7507  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7508  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7509  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7510  // Please see the License for the specific language governing rights and
  7511  // limitations under the License.
  7512  //
  7513  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7514  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  7515  //
  7516  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7517  //
  7518  // This file contains Original Code and/or Modifications of Original Code
  7519  // as defined in and that are subject to the Apple Public Source License
  7520  // Version 2.0 (the 'License'). You may not use this file except in
  7521  // compliance with the License. The rights granted to you under the License
  7522  // may not be used to create, or enable the creation or redistribution of,
  7523  // unlawful or unlicensed copies of an Apple operating system, or to
  7524  // circumvent, violate, or enable the circumvention or violation of, any
  7525  // terms of an Apple operating system software license agreement.
  7526  //
  7527  // Please obtain a copy of the License at
  7528  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7529  //
  7530  // The Original Code and all software distributed under the License are
  7531  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7532  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7533  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7534  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7535  // Please see the License for the specific language governing rights and
  7536  // limitations under the License.
  7537  //
  7538  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7539  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  7540  //
  7541  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7542  //
  7543  // This file contains Original Code and/or Modifications of Original Code
  7544  // as defined in and that are subject to the Apple Public Source License
  7545  // Version 2.0 (the 'License'). You may not use this file except in
  7546  // compliance with the License. The rights granted to you under the License
  7547  // may not be used to create, or enable the creation or redistribution of,
  7548  // unlawful or unlicensed copies of an Apple operating system, or to
  7549  // circumvent, violate, or enable the circumvention or violation of, any
  7550  // terms of an Apple operating system software license agreement.
  7551  //
  7552  // Please obtain a copy of the License at
  7553  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7554  //
  7555  // The Original Code and all software distributed under the License are
  7556  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7557  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7558  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7559  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7560  // Please see the License for the specific language governing rights and
  7561  // limitations under the License.
  7562  //
  7563  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7564  
  7565  type tm = struct {
  7566  	Ftm_sec      int32
  7567  	Ftm_min      int32
  7568  	Ftm_hour     int32
  7569  	Ftm_mday     int32
  7570  	Ftm_mon      int32
  7571  	Ftm_year     int32
  7572  	Ftm_wday     int32
  7573  	Ftm_yday     int32
  7574  	Ftm_isdst    int32
  7575  	F__ccgo_pad1 [4]byte
  7576  	Ftm_gmtoff   int64
  7577  	Ftm_zone     uintptr
  7578  } /* time.h:75:1 */
  7579  
  7580  type clockid_t = uint32   /* time.h:172:3 */
  7581  type qos_class_t = uint32 /* qos.h:130:1 */
  7582  
  7583  // !
  7584  // @typedef pthread_override_t
  7585  //
  7586  // @abstract
  7587  // An opaque object representing a QOS class override of a thread.
  7588  //
  7589  // @discussion
  7590  // A QOS class override of a target thread expresses that an item of pending
  7591  // work classified with a specific QOS class and relative priority depends on
  7592  // the completion of the work currently being executed by the thread (e.g. due
  7593  // to ordering requirements).
  7594  //
  7595  // While overrides are in effect, the target thread will execute at the maximum
  7596  // QOS class and relative priority of all overrides and of the QOS class
  7597  // requested by the thread itself.
  7598  //
  7599  // A QOS class override does not modify the target thread's requested QOS class
  7600  // value and the effect of an override is not visible to the qos_class_self()
  7601  // and pthread_get_qos_class_np() interfaces.
  7602  
  7603  type pthread_override_t = uintptr /* qos.h:211:34 */
  7604  
  7605  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  7606  //
  7607  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7608  //
  7609  // This file contains Original Code and/or Modifications of Original Code
  7610  // as defined in and that are subject to the Apple Public Source License
  7611  // Version 2.0 (the 'License'). You may not use this file except in
  7612  // compliance with the License. The rights granted to you under the License
  7613  // may not be used to create, or enable the creation or redistribution of,
  7614  // unlawful or unlicensed copies of an Apple operating system, or to
  7615  // circumvent, violate, or enable the circumvention or violation of, any
  7616  // terms of an Apple operating system software license agreement.
  7617  //
  7618  // Please obtain a copy of the License at
  7619  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7620  //
  7621  // The Original Code and all software distributed under the License are
  7622  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7623  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7624  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7625  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7626  // Please see the License for the specific language governing rights and
  7627  // limitations under the License.
  7628  //
  7629  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7630  
  7631  //	mach_port_t - a named port right
  7632  //
  7633  //	In user-space, "rights" are represented by the name of the
  7634  //	right in the Mach port namespace.  Even so, this type is
  7635  //	presented as a unique one to more clearly denote the presence
  7636  //	of a right coming along with the name.
  7637  //
  7638  //	Often, various rights for a port held in a single name space
  7639  //	will coalesce and are, therefore, be identified by a single name
  7640  //	[this is the case for send and receive rights].  But not
  7641  //	always [send-once rights currently get a unique name for
  7642  //	each right].
  7643  //
  7644  //	This definition of mach_port_t is only for user-space.
  7645  //
  7646  
  7647  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  7648  //
  7649  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  7650  //
  7651  // This file contains Original Code and/or Modifications of Original Code
  7652  // as defined in and that are subject to the Apple Public Source License
  7653  // Version 2.0 (the 'License'). You may not use this file except in
  7654  // compliance with the License. The rights granted to you under the License
  7655  // may not be used to create, or enable the creation or redistribution of,
  7656  // unlawful or unlicensed copies of an Apple operating system, or to
  7657  // circumvent, violate, or enable the circumvention or violation of, any
  7658  // terms of an Apple operating system software license agreement.
  7659  //
  7660  // Please obtain a copy of the License at
  7661  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  7662  //
  7663  // The Original Code and all software distributed under the License are
  7664  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  7665  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  7666  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  7667  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  7668  // Please see the License for the specific language governing rights and
  7669  // limitations under the License.
  7670  //
  7671  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  7672  
  7673  type mach_port_t = uint32 /* _mach_port_t.h:50:30 */
  7674  
  7675  // !
  7676  // @typedef pthread_jit_write_callback_t
  7677  // The type of a function that can be supplied to {@link
  7678  // pthread_jit_write_with_callback_np} to write to the MAP_JIT region while it
  7679  // is writeable.
  7680  //
  7681  // @param ctx
  7682  // A pointer to context that will be passed through to the callback function.
  7683  //
  7684  // @result
  7685  // A result code to be returned to the caller of @{link
  7686  // pthread_jit_write_with_callback_np}.  The system does not interpret/act on
  7687  // the value of this result.
  7688  type pthread_jit_write_callback_t = uintptr /* pthread.h:581:13 */ //*< Opaque structure containing all data that  XCB needs to communicate with an X server.
  7689  
  7690  // Other types
  7691  
  7692  // *
  7693  // @brief Generic iterator.
  7694  //
  7695  // A generic iterator structure.
  7696  type xcb_generic_iterator_t = struct {
  7697  	Fdata  uintptr
  7698  	Frem   int32
  7699  	Findex int32
  7700  } /* xcb.h:118:3 */
  7701  
  7702  // *
  7703  // @brief Generic reply.
  7704  //
  7705  // A generic reply structure.
  7706  type xcb_generic_reply_t = struct {
  7707  	Fresponse_type uint8_t
  7708  	Fpad0          uint8_t
  7709  	Fsequence      uint16_t
  7710  	Flength        uint32_t
  7711  } /* xcb.h:130:3 */
  7712  
  7713  // *
  7714  // @brief Generic event.
  7715  //
  7716  // A generic event structure.
  7717  type xcb_generic_event_t = struct {
  7718  	Fresponse_type uint8_t
  7719  	Fpad0          uint8_t
  7720  	Fsequence      uint16_t
  7721  	Fpad           [7]uint32_t
  7722  	Ffull_sequence uint32_t
  7723  } /* xcb.h:143:3 */
  7724  
  7725  // *
  7726  // @brief Raw Generic event.
  7727  //
  7728  // A generic event structure as used on the wire, i.e., without the full_sequence field
  7729  type xcb_raw_generic_event_t = struct {
  7730  	Fresponse_type uint8_t
  7731  	Fpad0          uint8_t
  7732  	Fsequence      uint16_t
  7733  	Fpad           [7]uint32_t
  7734  } /* xcb.h:155:3 */
  7735  
  7736  // *
  7737  // @brief GE event
  7738  //
  7739  // An event as sent by the XGE extension. The length field specifies the
  7740  // number of 4-byte blocks trailing the struct.
  7741  //
  7742  // @deprecated Since some fields in this struct have unfortunate names, it is
  7743  // recommended to use xcb_ge_generic_event_t instead.
  7744  type xcb_ge_event_t = struct {
  7745  	Fresponse_type uint8_t
  7746  	Fpad0          uint8_t
  7747  	Fsequence      uint16_t
  7748  	Flength        uint32_t
  7749  	Fevent_type    uint16_t
  7750  	Fpad1          uint16_t
  7751  	Fpad           [5]uint32_t
  7752  	Ffull_sequence uint32_t
  7753  } /* xcb.h:175:3 */
  7754  
  7755  // *
  7756  // @brief Generic error.
  7757  //
  7758  // A generic error structure.
  7759  type xcb_generic_error_t = struct {
  7760  	Fresponse_type uint8_t
  7761  	Ferror_code    uint8_t
  7762  	Fsequence      uint16_t
  7763  	Fresource_id   uint32_t
  7764  	Fminor_code    uint16_t
  7765  	Fmajor_code    uint8_t
  7766  	Fpad0          uint8_t
  7767  	Fpad           [5]uint32_t
  7768  	Ffull_sequence uint32_t
  7769  } /* xcb.h:192:3 */
  7770  
  7771  // *
  7772  // @brief Generic cookie.
  7773  //
  7774  // A generic cookie structure.
  7775  type xcb_void_cookie_t = struct{ Fsequence uint32 } /* xcb.h:201:3 */
  7776  
  7777  // Include the generated xproto header.
  7778  // This file generated automatically from xproto.xml by c_client.py.
  7779  // Edit at your peril.
  7780  
  7781  // *
  7782  // @defgroup XCB__API XCB  API
  7783  // @brief  XCB Protocol Implementation.
  7784  // @{
  7785  //
  7786  
  7787  // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett.
  7788  // All Rights Reserved.
  7789  //
  7790  // Permission is hereby granted, free of charge, to any person obtaining a
  7791  // copy of this software and associated documentation files (the "Software"),
  7792  // to deal in the Software without restriction, including without limitation
  7793  // the rights to use, copy, modify, merge, publish, distribute, sublicense,
  7794  // and/or sell copies of the Software, and to permit persons to whom the
  7795  // Software is furnished to do so, subject to the following conditions:
  7796  //
  7797  // The above copyright notice and this permission notice shall be included in
  7798  // all copies or substantial portions of the Software.
  7799  //
  7800  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  7801  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  7802  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  7803  // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  7804  // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  7805  // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  7806  //
  7807  // Except as contained in this notice, the names of the authors or their
  7808  // institutions shall not be used in advertising or otherwise to promote the
  7809  // sale, use or other dealings in this Software without prior written
  7810  // authorization from the authors.
  7811  
  7812  // *
  7813  // @brief xcb_char2b_t
  7814  //
  7815  type xcb_char2b_t1 = struct {
  7816  	Fbyte1 uint8_t
  7817  	Fbyte2 uint8_t
  7818  } /* xproto.h:24:9 */
  7819  
  7820  // Include the generated xproto header.
  7821  // This file generated automatically from xproto.xml by c_client.py.
  7822  // Edit at your peril.
  7823  
  7824  // *
  7825  // @defgroup XCB__API XCB  API
  7826  // @brief  XCB Protocol Implementation.
  7827  // @{
  7828  //
  7829  
  7830  // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett.
  7831  // All Rights Reserved.
  7832  //
  7833  // Permission is hereby granted, free of charge, to any person obtaining a
  7834  // copy of this software and associated documentation files (the "Software"),
  7835  // to deal in the Software without restriction, including without limitation
  7836  // the rights to use, copy, modify, merge, publish, distribute, sublicense,
  7837  // and/or sell copies of the Software, and to permit persons to whom the
  7838  // Software is furnished to do so, subject to the following conditions:
  7839  //
  7840  // The above copyright notice and this permission notice shall be included in
  7841  // all copies or substantial portions of the Software.
  7842  //
  7843  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  7844  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  7845  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  7846  // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  7847  // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  7848  // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  7849  //
  7850  // Except as contained in this notice, the names of the authors or their
  7851  // institutions shall not be used in advertising or otherwise to promote the
  7852  // sale, use or other dealings in this Software without prior written
  7853  // authorization from the authors.
  7854  
  7855  // *
  7856  // @brief xcb_char2b_t
  7857  //
  7858  type xcb_char2b_t = xcb_char2b_t1 /* xproto.h:27:3 */
  7859  
  7860  // *
  7861  // @brief xcb_char2b_iterator_t
  7862  //
  7863  type xcb_char2b_iterator_t1 = struct {
  7864  	Fdata  uintptr
  7865  	Frem   int32
  7866  	Findex int32
  7867  } /* xproto.h:32:9 */
  7868  
  7869  // *
  7870  // @brief xcb_char2b_iterator_t
  7871  //
  7872  type xcb_char2b_iterator_t = xcb_char2b_iterator_t1 /* xproto.h:36:3 */
  7873  
  7874  type xcb_window_t = uint32_t /* xproto.h:38:18 */
  7875  
  7876  // *
  7877  // @brief xcb_window_iterator_t
  7878  //
  7879  type xcb_window_iterator_t1 = struct {
  7880  	Fdata  uintptr
  7881  	Frem   int32
  7882  	Findex int32
  7883  } /* xproto.h:43:9 */
  7884  
  7885  // *
  7886  // @brief xcb_window_iterator_t
  7887  //
  7888  type xcb_window_iterator_t = xcb_window_iterator_t1 /* xproto.h:47:3 */
  7889  
  7890  type xcb_pixmap_t = uint32_t /* xproto.h:49:18 */
  7891  
  7892  // *
  7893  // @brief xcb_pixmap_iterator_t
  7894  //
  7895  type xcb_pixmap_iterator_t1 = struct {
  7896  	Fdata  uintptr
  7897  	Frem   int32
  7898  	Findex int32
  7899  } /* xproto.h:54:9 */
  7900  
  7901  // *
  7902  // @brief xcb_pixmap_iterator_t
  7903  //
  7904  type xcb_pixmap_iterator_t = xcb_pixmap_iterator_t1 /* xproto.h:58:3 */
  7905  
  7906  type xcb_cursor_t = uint32_t /* xproto.h:60:18 */
  7907  
  7908  // *
  7909  // @brief xcb_cursor_iterator_t
  7910  //
  7911  type xcb_cursor_iterator_t1 = struct {
  7912  	Fdata  uintptr
  7913  	Frem   int32
  7914  	Findex int32
  7915  } /* xproto.h:65:9 */
  7916  
  7917  // *
  7918  // @brief xcb_cursor_iterator_t
  7919  //
  7920  type xcb_cursor_iterator_t = xcb_cursor_iterator_t1 /* xproto.h:69:3 */
  7921  
  7922  type xcb_font_t = uint32_t /* xproto.h:71:18 */
  7923  
  7924  // *
  7925  // @brief xcb_font_iterator_t
  7926  //
  7927  type xcb_font_iterator_t1 = struct {
  7928  	Fdata  uintptr
  7929  	Frem   int32
  7930  	Findex int32
  7931  } /* xproto.h:76:9 */
  7932  
  7933  // *
  7934  // @brief xcb_font_iterator_t
  7935  //
  7936  type xcb_font_iterator_t = xcb_font_iterator_t1 /* xproto.h:80:3 */
  7937  
  7938  type xcb_gcontext_t = uint32_t /* xproto.h:82:18 */
  7939  
  7940  // *
  7941  // @brief xcb_gcontext_iterator_t
  7942  //
  7943  type xcb_gcontext_iterator_t1 = struct {
  7944  	Fdata  uintptr
  7945  	Frem   int32
  7946  	Findex int32
  7947  } /* xproto.h:87:9 */
  7948  
  7949  // *
  7950  // @brief xcb_gcontext_iterator_t
  7951  //
  7952  type xcb_gcontext_iterator_t = xcb_gcontext_iterator_t1 /* xproto.h:91:3 */
  7953  
  7954  type xcb_colormap_t = uint32_t /* xproto.h:93:18 */
  7955  
  7956  // *
  7957  // @brief xcb_colormap_iterator_t
  7958  //
  7959  type xcb_colormap_iterator_t1 = struct {
  7960  	Fdata  uintptr
  7961  	Frem   int32
  7962  	Findex int32
  7963  } /* xproto.h:98:9 */
  7964  
  7965  // *
  7966  // @brief xcb_colormap_iterator_t
  7967  //
  7968  type xcb_colormap_iterator_t = xcb_colormap_iterator_t1 /* xproto.h:102:3 */
  7969  
  7970  type xcb_atom_t = uint32_t /* xproto.h:104:18 */
  7971  
  7972  // *
  7973  // @brief xcb_atom_iterator_t
  7974  //
  7975  type xcb_atom_iterator_t1 = struct {
  7976  	Fdata  uintptr
  7977  	Frem   int32
  7978  	Findex int32
  7979  } /* xproto.h:109:9 */
  7980  
  7981  // *
  7982  // @brief xcb_atom_iterator_t
  7983  //
  7984  type xcb_atom_iterator_t = xcb_atom_iterator_t1 /* xproto.h:113:3 */
  7985  
  7986  type xcb_drawable_t = uint32_t /* xproto.h:115:18 */
  7987  
  7988  // *
  7989  // @brief xcb_drawable_iterator_t
  7990  //
  7991  type xcb_drawable_iterator_t1 = struct {
  7992  	Fdata  uintptr
  7993  	Frem   int32
  7994  	Findex int32
  7995  } /* xproto.h:120:9 */
  7996  
  7997  // *
  7998  // @brief xcb_drawable_iterator_t
  7999  //
  8000  type xcb_drawable_iterator_t = xcb_drawable_iterator_t1 /* xproto.h:124:3 */
  8001  
  8002  type xcb_fontable_t = uint32_t /* xproto.h:126:18 */
  8003  
  8004  // *
  8005  // @brief xcb_fontable_iterator_t
  8006  //
  8007  type xcb_fontable_iterator_t1 = struct {
  8008  	Fdata  uintptr
  8009  	Frem   int32
  8010  	Findex int32
  8011  } /* xproto.h:131:9 */
  8012  
  8013  // *
  8014  // @brief xcb_fontable_iterator_t
  8015  //
  8016  type xcb_fontable_iterator_t = xcb_fontable_iterator_t1 /* xproto.h:135:3 */
  8017  
  8018  type xcb_bool32_t = uint32_t /* xproto.h:137:18 */
  8019  
  8020  // *
  8021  // @brief xcb_bool32_iterator_t
  8022  //
  8023  type xcb_bool32_iterator_t1 = struct {
  8024  	Fdata  uintptr
  8025  	Frem   int32
  8026  	Findex int32
  8027  } /* xproto.h:142:9 */
  8028  
  8029  // *
  8030  // @brief xcb_bool32_iterator_t
  8031  //
  8032  type xcb_bool32_iterator_t = xcb_bool32_iterator_t1 /* xproto.h:146:3 */
  8033  
  8034  type xcb_visualid_t = uint32_t /* xproto.h:148:18 */
  8035  
  8036  // *
  8037  // @brief xcb_visualid_iterator_t
  8038  //
  8039  type xcb_visualid_iterator_t1 = struct {
  8040  	Fdata  uintptr
  8041  	Frem   int32
  8042  	Findex int32
  8043  } /* xproto.h:153:9 */
  8044  
  8045  // *
  8046  // @brief xcb_visualid_iterator_t
  8047  //
  8048  type xcb_visualid_iterator_t = xcb_visualid_iterator_t1 /* xproto.h:157:3 */
  8049  
  8050  type xcb_timestamp_t = uint32_t /* xproto.h:159:18 */
  8051  
  8052  // *
  8053  // @brief xcb_timestamp_iterator_t
  8054  //
  8055  type xcb_timestamp_iterator_t1 = struct {
  8056  	Fdata  uintptr
  8057  	Frem   int32
  8058  	Findex int32
  8059  } /* xproto.h:164:9 */
  8060  
  8061  // *
  8062  // @brief xcb_timestamp_iterator_t
  8063  //
  8064  type xcb_timestamp_iterator_t = xcb_timestamp_iterator_t1 /* xproto.h:168:3 */
  8065  
  8066  type xcb_keysym_t = uint32_t /* xproto.h:170:18 */
  8067  
  8068  // *
  8069  // @brief xcb_keysym_iterator_t
  8070  //
  8071  type xcb_keysym_iterator_t1 = struct {
  8072  	Fdata  uintptr
  8073  	Frem   int32
  8074  	Findex int32
  8075  } /* xproto.h:175:9 */
  8076  
  8077  // *
  8078  // @brief xcb_keysym_iterator_t
  8079  //
  8080  type xcb_keysym_iterator_t = xcb_keysym_iterator_t1 /* xproto.h:179:3 */
  8081  
  8082  type xcb_keycode_t = uint8_t /* xproto.h:181:17 */
  8083  
  8084  // *
  8085  // @brief xcb_keycode_iterator_t
  8086  //
  8087  type xcb_keycode_iterator_t1 = struct {
  8088  	Fdata  uintptr
  8089  	Frem   int32
  8090  	Findex int32
  8091  } /* xproto.h:186:9 */
  8092  
  8093  // *
  8094  // @brief xcb_keycode_iterator_t
  8095  //
  8096  type xcb_keycode_iterator_t = xcb_keycode_iterator_t1 /* xproto.h:190:3 */
  8097  
  8098  type xcb_keycode32_t = uint32_t /* xproto.h:192:18 */
  8099  
  8100  // *
  8101  // @brief xcb_keycode32_iterator_t
  8102  //
  8103  type xcb_keycode32_iterator_t1 = struct {
  8104  	Fdata  uintptr
  8105  	Frem   int32
  8106  	Findex int32
  8107  } /* xproto.h:197:9 */
  8108  
  8109  // *
  8110  // @brief xcb_keycode32_iterator_t
  8111  //
  8112  type xcb_keycode32_iterator_t = xcb_keycode32_iterator_t1 /* xproto.h:201:3 */
  8113  
  8114  type xcb_button_t = uint8_t /* xproto.h:203:17 */
  8115  
  8116  // *
  8117  // @brief xcb_button_iterator_t
  8118  //
  8119  type xcb_button_iterator_t1 = struct {
  8120  	Fdata  uintptr
  8121  	Frem   int32
  8122  	Findex int32
  8123  } /* xproto.h:208:9 */
  8124  
  8125  // *
  8126  // @brief xcb_button_iterator_t
  8127  //
  8128  type xcb_button_iterator_t = xcb_button_iterator_t1 /* xproto.h:212:3 */
  8129  
  8130  // *
  8131  // @brief xcb_point_t
  8132  //
  8133  type xcb_point_t1 = struct {
  8134  	Fx int16_t
  8135  	Fy int16_t
  8136  } /* xproto.h:217:9 */
  8137  
  8138  // *
  8139  // @brief xcb_point_t
  8140  //
  8141  type xcb_point_t = xcb_point_t1 /* xproto.h:220:3 */
  8142  
  8143  // *
  8144  // @brief xcb_point_iterator_t
  8145  //
  8146  type xcb_point_iterator_t1 = struct {
  8147  	Fdata  uintptr
  8148  	Frem   int32
  8149  	Findex int32
  8150  } /* xproto.h:225:9 */
  8151  
  8152  // *
  8153  // @brief xcb_point_iterator_t
  8154  //
  8155  type xcb_point_iterator_t = xcb_point_iterator_t1 /* xproto.h:229:3 */
  8156  
  8157  // *
  8158  // @brief xcb_rectangle_t
  8159  //
  8160  type xcb_rectangle_t1 = struct {
  8161  	Fx      int16_t
  8162  	Fy      int16_t
  8163  	Fwidth  uint16_t
  8164  	Fheight uint16_t
  8165  } /* xproto.h:234:9 */
  8166  
  8167  // *
  8168  // @brief xcb_rectangle_t
  8169  //
  8170  type xcb_rectangle_t = xcb_rectangle_t1 /* xproto.h:239:3 */
  8171  
  8172  // *
  8173  // @brief xcb_rectangle_iterator_t
  8174  //
  8175  type xcb_rectangle_iterator_t1 = struct {
  8176  	Fdata  uintptr
  8177  	Frem   int32
  8178  	Findex int32
  8179  } /* xproto.h:244:9 */
  8180  
  8181  // *
  8182  // @brief xcb_rectangle_iterator_t
  8183  //
  8184  type xcb_rectangle_iterator_t = xcb_rectangle_iterator_t1 /* xproto.h:248:3 */
  8185  
  8186  // *
  8187  // @brief xcb_arc_t
  8188  //
  8189  type xcb_arc_t1 = struct {
  8190  	Fx      int16_t
  8191  	Fy      int16_t
  8192  	Fwidth  uint16_t
  8193  	Fheight uint16_t
  8194  	Fangle1 int16_t
  8195  	Fangle2 int16_t
  8196  } /* xproto.h:253:9 */
  8197  
  8198  // *
  8199  // @brief xcb_arc_t
  8200  //
  8201  type xcb_arc_t = xcb_arc_t1 /* xproto.h:260:3 */
  8202  
  8203  // *
  8204  // @brief xcb_arc_iterator_t
  8205  //
  8206  type xcb_arc_iterator_t1 = struct {
  8207  	Fdata  uintptr
  8208  	Frem   int32
  8209  	Findex int32
  8210  } /* xproto.h:265:9 */
  8211  
  8212  // *
  8213  // @brief xcb_arc_iterator_t
  8214  //
  8215  type xcb_arc_iterator_t = xcb_arc_iterator_t1 /* xproto.h:269:3 */
  8216  
  8217  // *
  8218  // @brief xcb_format_t
  8219  //
  8220  type xcb_format_t1 = struct {
  8221  	Fdepth          uint8_t
  8222  	Fbits_per_pixel uint8_t
  8223  	Fscanline_pad   uint8_t
  8224  	Fpad0           [5]uint8_t
  8225  } /* xproto.h:274:9 */
  8226  
  8227  // *
  8228  // @brief xcb_format_t
  8229  //
  8230  type xcb_format_t = xcb_format_t1 /* xproto.h:279:3 */
  8231  
  8232  // *
  8233  // @brief xcb_format_iterator_t
  8234  //
  8235  type xcb_format_iterator_t1 = struct {
  8236  	Fdata  uintptr
  8237  	Frem   int32
  8238  	Findex int32
  8239  } /* xproto.h:284:9 */
  8240  
  8241  // *
  8242  // @brief xcb_format_iterator_t
  8243  //
  8244  type xcb_format_iterator_t = xcb_format_iterator_t1 /* xproto.h:288:3 */
  8245  
  8246  type xcb_visual_class_t = uint32 /* xproto.h:297:3 */
  8247  
  8248  // *
  8249  // @brief xcb_visualtype_t
  8250  //
  8251  type xcb_visualtype_t1 = struct {
  8252  	Fvisual_id          xcb_visualid_t
  8253  	F_class             uint8_t
  8254  	Fbits_per_rgb_value uint8_t
  8255  	Fcolormap_entries   uint16_t
  8256  	Fred_mask           uint32_t
  8257  	Fgreen_mask         uint32_t
  8258  	Fblue_mask          uint32_t
  8259  	Fpad0               [4]uint8_t
  8260  } /* xproto.h:302:9 */
  8261  
  8262  // *
  8263  // @brief xcb_visualtype_t
  8264  //
  8265  type xcb_visualtype_t = xcb_visualtype_t1 /* xproto.h:311:3 */
  8266  
  8267  // *
  8268  // @brief xcb_visualtype_iterator_t
  8269  //
  8270  type xcb_visualtype_iterator_t1 = struct {
  8271  	Fdata  uintptr
  8272  	Frem   int32
  8273  	Findex int32
  8274  } /* xproto.h:316:9 */
  8275  
  8276  // *
  8277  // @brief xcb_visualtype_iterator_t
  8278  //
  8279  type xcb_visualtype_iterator_t = xcb_visualtype_iterator_t1 /* xproto.h:320:3 */
  8280  
  8281  // *
  8282  // @brief xcb_depth_t
  8283  //
  8284  type xcb_depth_t1 = struct {
  8285  	Fdepth       uint8_t
  8286  	Fpad0        uint8_t
  8287  	Fvisuals_len uint16_t
  8288  	Fpad1        [4]uint8_t
  8289  } /* xproto.h:325:9 */
  8290  
  8291  // *
  8292  // @brief xcb_depth_t
  8293  //
  8294  type xcb_depth_t = xcb_depth_t1 /* xproto.h:330:3 */
  8295  
  8296  // *
  8297  // @brief xcb_depth_iterator_t
  8298  //
  8299  type xcb_depth_iterator_t1 = struct {
  8300  	Fdata  uintptr
  8301  	Frem   int32
  8302  	Findex int32
  8303  } /* xproto.h:335:9 */
  8304  
  8305  // *
  8306  // @brief xcb_depth_iterator_t
  8307  //
  8308  type xcb_depth_iterator_t = xcb_depth_iterator_t1 /* xproto.h:339:3 */
  8309  
  8310  type xcb_event_mask_t = uint32 /* xproto.h:368:3 */
  8311  
  8312  type xcb_backing_store_t = uint32 /* xproto.h:374:3 */
  8313  
  8314  // *
  8315  // @brief xcb_screen_t
  8316  //
  8317  type xcb_screen_t1 = struct {
  8318  	Froot                  xcb_window_t
  8319  	Fdefault_colormap      xcb_colormap_t
  8320  	Fwhite_pixel           uint32_t
  8321  	Fblack_pixel           uint32_t
  8322  	Fcurrent_input_masks   uint32_t
  8323  	Fwidth_in_pixels       uint16_t
  8324  	Fheight_in_pixels      uint16_t
  8325  	Fwidth_in_millimeters  uint16_t
  8326  	Fheight_in_millimeters uint16_t
  8327  	Fmin_installed_maps    uint16_t
  8328  	Fmax_installed_maps    uint16_t
  8329  	Froot_visual           xcb_visualid_t
  8330  	Fbacking_stores        uint8_t
  8331  	Fsave_unders           uint8_t
  8332  	Froot_depth            uint8_t
  8333  	Fallowed_depths_len    uint8_t
  8334  } /* xproto.h:379:9 */
  8335  
  8336  // *
  8337  // @brief xcb_screen_t
  8338  //
  8339  type xcb_screen_t = xcb_screen_t1 /* xproto.h:396:3 */
  8340  
  8341  // *
  8342  // @brief xcb_screen_iterator_t
  8343  //
  8344  type xcb_screen_iterator_t1 = struct {
  8345  	Fdata  uintptr
  8346  	Frem   int32
  8347  	Findex int32
  8348  } /* xproto.h:401:9 */
  8349  
  8350  // *
  8351  // @brief xcb_screen_iterator_t
  8352  //
  8353  type xcb_screen_iterator_t = xcb_screen_iterator_t1 /* xproto.h:405:3 */
  8354  
  8355  // *
  8356  // @brief xcb_setup_request_t
  8357  //
  8358  type xcb_setup_request_t1 = struct {
  8359  	Fbyte_order                      uint8_t
  8360  	Fpad0                            uint8_t
  8361  	Fprotocol_major_version          uint16_t
  8362  	Fprotocol_minor_version          uint16_t
  8363  	Fauthorization_protocol_name_len uint16_t
  8364  	Fauthorization_protocol_data_len uint16_t
  8365  	Fpad1                            [2]uint8_t
  8366  } /* xproto.h:410:9 */
  8367  
  8368  // *
  8369  // @brief xcb_setup_request_t
  8370  //
  8371  type xcb_setup_request_t = xcb_setup_request_t1 /* xproto.h:418:3 */
  8372  
  8373  // *
  8374  // @brief xcb_setup_request_iterator_t
  8375  //
  8376  type xcb_setup_request_iterator_t1 = struct {
  8377  	Fdata  uintptr
  8378  	Frem   int32
  8379  	Findex int32
  8380  } /* xproto.h:423:9 */
  8381  
  8382  // *
  8383  // @brief xcb_setup_request_iterator_t
  8384  //
  8385  type xcb_setup_request_iterator_t = xcb_setup_request_iterator_t1 /* xproto.h:427:3 */
  8386  
  8387  // *
  8388  // @brief xcb_setup_failed_t
  8389  //
  8390  type xcb_setup_failed_t1 = struct {
  8391  	Fstatus                 uint8_t
  8392  	Freason_len             uint8_t
  8393  	Fprotocol_major_version uint16_t
  8394  	Fprotocol_minor_version uint16_t
  8395  	Flength                 uint16_t
  8396  } /* xproto.h:432:9 */
  8397  
  8398  // *
  8399  // @brief xcb_setup_failed_t
  8400  //
  8401  type xcb_setup_failed_t = xcb_setup_failed_t1 /* xproto.h:438:3 */
  8402  
  8403  // *
  8404  // @brief xcb_setup_failed_iterator_t
  8405  //
  8406  type xcb_setup_failed_iterator_t1 = struct {
  8407  	Fdata  uintptr
  8408  	Frem   int32
  8409  	Findex int32
  8410  } /* xproto.h:443:9 */
  8411  
  8412  // *
  8413  // @brief xcb_setup_failed_iterator_t
  8414  //
  8415  type xcb_setup_failed_iterator_t = xcb_setup_failed_iterator_t1 /* xproto.h:447:3 */
  8416  
  8417  // *
  8418  // @brief xcb_setup_authenticate_t
  8419  //
  8420  type xcb_setup_authenticate_t1 = struct {
  8421  	Fstatus uint8_t
  8422  	Fpad0   [5]uint8_t
  8423  	Flength uint16_t
  8424  } /* xproto.h:452:9 */
  8425  
  8426  // *
  8427  // @brief xcb_setup_authenticate_t
  8428  //
  8429  type xcb_setup_authenticate_t = xcb_setup_authenticate_t1 /* xproto.h:456:3 */
  8430  
  8431  // *
  8432  // @brief xcb_setup_authenticate_iterator_t
  8433  //
  8434  type xcb_setup_authenticate_iterator_t1 = struct {
  8435  	Fdata  uintptr
  8436  	Frem   int32
  8437  	Findex int32
  8438  } /* xproto.h:461:9 */
  8439  
  8440  // *
  8441  // @brief xcb_setup_authenticate_iterator_t
  8442  //
  8443  type xcb_setup_authenticate_iterator_t = xcb_setup_authenticate_iterator_t1 /* xproto.h:465:3 */
  8444  
  8445  type xcb_image_order_t = uint32 /* xproto.h:470:3 */
  8446  
  8447  // *
  8448  // @brief xcb_setup_t
  8449  //
  8450  type xcb_setup_t1 = struct {
  8451  	Fstatus                      uint8_t
  8452  	Fpad0                        uint8_t
  8453  	Fprotocol_major_version      uint16_t
  8454  	Fprotocol_minor_version      uint16_t
  8455  	Flength                      uint16_t
  8456  	Frelease_number              uint32_t
  8457  	Fresource_id_base            uint32_t
  8458  	Fresource_id_mask            uint32_t
  8459  	Fmotion_buffer_size          uint32_t
  8460  	Fvendor_len                  uint16_t
  8461  	Fmaximum_request_length      uint16_t
  8462  	Froots_len                   uint8_t
  8463  	Fpixmap_formats_len          uint8_t
  8464  	Fimage_byte_order            uint8_t
  8465  	Fbitmap_format_bit_order     uint8_t
  8466  	Fbitmap_format_scanline_unit uint8_t
  8467  	Fbitmap_format_scanline_pad  uint8_t
  8468  	Fmin_keycode                 xcb_keycode_t
  8469  	Fmax_keycode                 xcb_keycode_t
  8470  	Fpad1                        [4]uint8_t
  8471  } /* xproto.h:475:9 */
  8472  
  8473  // *
  8474  // @brief xcb_setup_t
  8475  //
  8476  type xcb_setup_t = xcb_setup_t1 /* xproto.h:496:3 */
  8477  
  8478  // *
  8479  // @brief xcb_setup_iterator_t
  8480  //
  8481  type xcb_setup_iterator_t1 = struct {
  8482  	Fdata  uintptr
  8483  	Frem   int32
  8484  	Findex int32
  8485  } /* xproto.h:501:9 */
  8486  
  8487  // *
  8488  // @brief xcb_setup_iterator_t
  8489  //
  8490  type xcb_setup_iterator_t = xcb_setup_iterator_t1 /* xproto.h:505:3 */
  8491  
  8492  type xcb_mod_mask_t = uint32 /* xproto.h:517:3 */
  8493  
  8494  type xcb_key_but_mask_t = uint32 /* xproto.h:533:3 */
  8495  
  8496  type xcb_window_enum_t = uint32 /* xproto.h:537:3 */
  8497  
  8498  //* Opcode for xcb_key_press.
  8499  
  8500  // *
  8501  // @brief xcb_key_press_event_t
  8502  //
  8503  type xcb_key_press_event_t1 = struct {
  8504  	Fresponse_type uint8_t
  8505  	Fdetail        xcb_keycode_t
  8506  	Fsequence      uint16_t
  8507  	Ftime          xcb_timestamp_t
  8508  	Froot          xcb_window_t
  8509  	Fevent         xcb_window_t
  8510  	Fchild         xcb_window_t
  8511  	Froot_x        int16_t
  8512  	Froot_y        int16_t
  8513  	Fevent_x       int16_t
  8514  	Fevent_y       int16_t
  8515  	Fstate         uint16_t
  8516  	Fsame_screen   uint8_t
  8517  	Fpad0          uint8_t
  8518  } /* xproto.h:545:9 */
  8519  
  8520  //* Opcode for xcb_key_press.
  8521  
  8522  // *
  8523  // @brief xcb_key_press_event_t
  8524  //
  8525  type xcb_key_press_event_t = xcb_key_press_event_t1 /* xproto.h:560:3 */
  8526  
  8527  //* Opcode for xcb_key_release.
  8528  
  8529  type xcb_key_release_event_t = xcb_key_press_event_t /* xproto.h:565:31 */
  8530  
  8531  type xcb_button_mask_t = uint32 /* xproto.h:574:3 */
  8532  
  8533  //* Opcode for xcb_button_press.
  8534  
  8535  // *
  8536  // @brief xcb_button_press_event_t
  8537  //
  8538  type xcb_button_press_event_t1 = struct {
  8539  	Fresponse_type uint8_t
  8540  	Fdetail        xcb_button_t
  8541  	Fsequence      uint16_t
  8542  	Ftime          xcb_timestamp_t
  8543  	Froot          xcb_window_t
  8544  	Fevent         xcb_window_t
  8545  	Fchild         xcb_window_t
  8546  	Froot_x        int16_t
  8547  	Froot_y        int16_t
  8548  	Fevent_x       int16_t
  8549  	Fevent_y       int16_t
  8550  	Fstate         uint16_t
  8551  	Fsame_screen   uint8_t
  8552  	Fpad0          uint8_t
  8553  } /* xproto.h:582:9 */
  8554  
  8555  //* Opcode for xcb_button_press.
  8556  
  8557  // *
  8558  // @brief xcb_button_press_event_t
  8559  //
  8560  type xcb_button_press_event_t = xcb_button_press_event_t1 /* xproto.h:597:3 */
  8561  
  8562  //* Opcode for xcb_button_release.
  8563  
  8564  type xcb_button_release_event_t = xcb_button_press_event_t /* xproto.h:602:34 */
  8565  
  8566  type xcb_motion_t = uint32 /* xproto.h:607:3 */
  8567  
  8568  //* Opcode for xcb_motion_notify.
  8569  
  8570  // *
  8571  // @brief xcb_motion_notify_event_t
  8572  //
  8573  type xcb_motion_notify_event_t1 = struct {
  8574  	Fresponse_type uint8_t
  8575  	Fdetail        uint8_t
  8576  	Fsequence      uint16_t
  8577  	Ftime          xcb_timestamp_t
  8578  	Froot          xcb_window_t
  8579  	Fevent         xcb_window_t
  8580  	Fchild         xcb_window_t
  8581  	Froot_x        int16_t
  8582  	Froot_y        int16_t
  8583  	Fevent_x       int16_t
  8584  	Fevent_y       int16_t
  8585  	Fstate         uint16_t
  8586  	Fsame_screen   uint8_t
  8587  	Fpad0          uint8_t
  8588  } /* xproto.h:615:9 */
  8589  
  8590  //* Opcode for xcb_motion_notify.
  8591  
  8592  // *
  8593  // @brief xcb_motion_notify_event_t
  8594  //
  8595  type xcb_motion_notify_event_t = xcb_motion_notify_event_t1 /* xproto.h:630:3 */
  8596  
  8597  type xcb_notify_detail_t = uint32 /* xproto.h:641:3 */
  8598  
  8599  type xcb_notify_mode_t = uint32 /* xproto.h:648:3 */
  8600  
  8601  //* Opcode for xcb_enter_notify.
  8602  
  8603  // *
  8604  // @brief xcb_enter_notify_event_t
  8605  //
  8606  type xcb_enter_notify_event_t1 = struct {
  8607  	Fresponse_type     uint8_t
  8608  	Fdetail            uint8_t
  8609  	Fsequence          uint16_t
  8610  	Ftime              xcb_timestamp_t
  8611  	Froot              xcb_window_t
  8612  	Fevent             xcb_window_t
  8613  	Fchild             xcb_window_t
  8614  	Froot_x            int16_t
  8615  	Froot_y            int16_t
  8616  	Fevent_x           int16_t
  8617  	Fevent_y           int16_t
  8618  	Fstate             uint16_t
  8619  	Fmode              uint8_t
  8620  	Fsame_screen_focus uint8_t
  8621  } /* xproto.h:656:9 */
  8622  
  8623  //* Opcode for xcb_enter_notify.
  8624  
  8625  // *
  8626  // @brief xcb_enter_notify_event_t
  8627  //
  8628  type xcb_enter_notify_event_t = xcb_enter_notify_event_t1 /* xproto.h:671:3 */
  8629  
  8630  //* Opcode for xcb_leave_notify.
  8631  
  8632  type xcb_leave_notify_event_t = xcb_enter_notify_event_t /* xproto.h:676:34 */
  8633  
  8634  //* Opcode for xcb_focus_in.
  8635  
  8636  // *
  8637  // @brief xcb_focus_in_event_t
  8638  //
  8639  type xcb_focus_in_event_t1 = struct {
  8640  	Fresponse_type uint8_t
  8641  	Fdetail        uint8_t
  8642  	Fsequence      uint16_t
  8643  	Fevent         xcb_window_t
  8644  	Fmode          uint8_t
  8645  	Fpad0          [3]uint8_t
  8646  } /* xproto.h:684:9 */
  8647  
  8648  //* Opcode for xcb_focus_in.
  8649  
  8650  // *
  8651  // @brief xcb_focus_in_event_t
  8652  //
  8653  type xcb_focus_in_event_t = xcb_focus_in_event_t1 /* xproto.h:691:3 */
  8654  
  8655  //* Opcode for xcb_focus_out.
  8656  
  8657  type xcb_focus_out_event_t = xcb_focus_in_event_t /* xproto.h:696:30 */
  8658  
  8659  //* Opcode for xcb_keymap_notify.
  8660  
  8661  // *
  8662  // @brief xcb_keymap_notify_event_t
  8663  //
  8664  type xcb_keymap_notify_event_t1 = struct {
  8665  	Fresponse_type uint8_t
  8666  	Fkeys          [31]uint8_t
  8667  } /* xproto.h:704:9 */
  8668  
  8669  //* Opcode for xcb_keymap_notify.
  8670  
  8671  // *
  8672  // @brief xcb_keymap_notify_event_t
  8673  //
  8674  type xcb_keymap_notify_event_t = xcb_keymap_notify_event_t1 /* xproto.h:707:3 */
  8675  
  8676  //* Opcode for xcb_expose.
  8677  
  8678  // *
  8679  // @brief xcb_expose_event_t
  8680  //
  8681  type xcb_expose_event_t1 = struct {
  8682  	Fresponse_type uint8_t
  8683  	Fpad0          uint8_t
  8684  	Fsequence      uint16_t
  8685  	Fwindow        xcb_window_t
  8686  	Fx             uint16_t
  8687  	Fy             uint16_t
  8688  	Fwidth         uint16_t
  8689  	Fheight        uint16_t
  8690  	Fcount         uint16_t
  8691  	Fpad1          [2]uint8_t
  8692  } /* xproto.h:715:9 */
  8693  
  8694  //* Opcode for xcb_expose.
  8695  
  8696  // *
  8697  // @brief xcb_expose_event_t
  8698  //
  8699  type xcb_expose_event_t = xcb_expose_event_t1 /* xproto.h:726:3 */
  8700  
  8701  //* Opcode for xcb_graphics_exposure.
  8702  
  8703  // *
  8704  // @brief xcb_graphics_exposure_event_t
  8705  //
  8706  type xcb_graphics_exposure_event_t1 = struct {
  8707  	Fresponse_type uint8_t
  8708  	Fpad0          uint8_t
  8709  	Fsequence      uint16_t
  8710  	Fdrawable      xcb_drawable_t
  8711  	Fx             uint16_t
  8712  	Fy             uint16_t
  8713  	Fwidth         uint16_t
  8714  	Fheight        uint16_t
  8715  	Fminor_opcode  uint16_t
  8716  	Fcount         uint16_t
  8717  	Fmajor_opcode  uint8_t
  8718  	Fpad1          [3]uint8_t
  8719  } /* xproto.h:734:9 */
  8720  
  8721  //* Opcode for xcb_graphics_exposure.
  8722  
  8723  // *
  8724  // @brief xcb_graphics_exposure_event_t
  8725  //
  8726  type xcb_graphics_exposure_event_t = xcb_graphics_exposure_event_t1 /* xproto.h:747:3 */
  8727  
  8728  //* Opcode for xcb_no_exposure.
  8729  
  8730  // *
  8731  // @brief xcb_no_exposure_event_t
  8732  //
  8733  type xcb_no_exposure_event_t1 = struct {
  8734  	Fresponse_type uint8_t
  8735  	Fpad0          uint8_t
  8736  	Fsequence      uint16_t
  8737  	Fdrawable      xcb_drawable_t
  8738  	Fminor_opcode  uint16_t
  8739  	Fmajor_opcode  uint8_t
  8740  	Fpad1          uint8_t
  8741  } /* xproto.h:755:9 */
  8742  
  8743  //* Opcode for xcb_no_exposure.
  8744  
  8745  // *
  8746  // @brief xcb_no_exposure_event_t
  8747  //
  8748  type xcb_no_exposure_event_t = xcb_no_exposure_event_t1 /* xproto.h:763:3 */
  8749  
  8750  type xcb_visibility_t = uint32 /* xproto.h:769:3 */
  8751  
  8752  //* Opcode for xcb_visibility_notify.
  8753  
  8754  // *
  8755  // @brief xcb_visibility_notify_event_t
  8756  //
  8757  type xcb_visibility_notify_event_t1 = struct {
  8758  	Fresponse_type uint8_t
  8759  	Fpad0          uint8_t
  8760  	Fsequence      uint16_t
  8761  	Fwindow        xcb_window_t
  8762  	Fstate         uint8_t
  8763  	Fpad1          [3]uint8_t
  8764  } /* xproto.h:777:9 */
  8765  
  8766  //* Opcode for xcb_visibility_notify.
  8767  
  8768  // *
  8769  // @brief xcb_visibility_notify_event_t
  8770  //
  8771  type xcb_visibility_notify_event_t = xcb_visibility_notify_event_t1 /* xproto.h:784:3 */
  8772  
  8773  //* Opcode for xcb_create_notify.
  8774  
  8775  // *
  8776  // @brief xcb_create_notify_event_t
  8777  //
  8778  type xcb_create_notify_event_t1 = struct {
  8779  	Fresponse_type     uint8_t
  8780  	Fpad0              uint8_t
  8781  	Fsequence          uint16_t
  8782  	Fparent            xcb_window_t
  8783  	Fwindow            xcb_window_t
  8784  	Fx                 int16_t
  8785  	Fy                 int16_t
  8786  	Fwidth             uint16_t
  8787  	Fheight            uint16_t
  8788  	Fborder_width      uint16_t
  8789  	Foverride_redirect uint8_t
  8790  	Fpad1              uint8_t
  8791  } /* xproto.h:792:9 */
  8792  
  8793  //* Opcode for xcb_create_notify.
  8794  
  8795  // *
  8796  // @brief xcb_create_notify_event_t
  8797  //
  8798  type xcb_create_notify_event_t = xcb_create_notify_event_t1 /* xproto.h:805:3 */
  8799  
  8800  //* Opcode for xcb_destroy_notify.
  8801  
  8802  // *
  8803  // @brief xcb_destroy_notify_event_t
  8804  //
  8805  type xcb_destroy_notify_event_t1 = struct {
  8806  	Fresponse_type uint8_t
  8807  	Fpad0          uint8_t
  8808  	Fsequence      uint16_t
  8809  	Fevent         xcb_window_t
  8810  	Fwindow        xcb_window_t
  8811  } /* xproto.h:813:9 */
  8812  
  8813  //* Opcode for xcb_destroy_notify.
  8814  
  8815  // *
  8816  // @brief xcb_destroy_notify_event_t
  8817  //
  8818  type xcb_destroy_notify_event_t = xcb_destroy_notify_event_t1 /* xproto.h:819:3 */
  8819  
  8820  //* Opcode for xcb_unmap_notify.
  8821  
  8822  // *
  8823  // @brief xcb_unmap_notify_event_t
  8824  //
  8825  type xcb_unmap_notify_event_t1 = struct {
  8826  	Fresponse_type  uint8_t
  8827  	Fpad0           uint8_t
  8828  	Fsequence       uint16_t
  8829  	Fevent          xcb_window_t
  8830  	Fwindow         xcb_window_t
  8831  	Ffrom_configure uint8_t
  8832  	Fpad1           [3]uint8_t
  8833  } /* xproto.h:827:9 */
  8834  
  8835  //* Opcode for xcb_unmap_notify.
  8836  
  8837  // *
  8838  // @brief xcb_unmap_notify_event_t
  8839  //
  8840  type xcb_unmap_notify_event_t = xcb_unmap_notify_event_t1 /* xproto.h:835:3 */
  8841  
  8842  //* Opcode for xcb_map_notify.
  8843  
  8844  // *
  8845  // @brief xcb_map_notify_event_t
  8846  //
  8847  type xcb_map_notify_event_t1 = struct {
  8848  	Fresponse_type     uint8_t
  8849  	Fpad0              uint8_t
  8850  	Fsequence          uint16_t
  8851  	Fevent             xcb_window_t
  8852  	Fwindow            xcb_window_t
  8853  	Foverride_redirect uint8_t
  8854  	Fpad1              [3]uint8_t
  8855  } /* xproto.h:843:9 */
  8856  
  8857  //* Opcode for xcb_map_notify.
  8858  
  8859  // *
  8860  // @brief xcb_map_notify_event_t
  8861  //
  8862  type xcb_map_notify_event_t = xcb_map_notify_event_t1 /* xproto.h:851:3 */
  8863  
  8864  //* Opcode for xcb_map_request.
  8865  
  8866  // *
  8867  // @brief xcb_map_request_event_t
  8868  //
  8869  type xcb_map_request_event_t1 = struct {
  8870  	Fresponse_type uint8_t
  8871  	Fpad0          uint8_t
  8872  	Fsequence      uint16_t
  8873  	Fparent        xcb_window_t
  8874  	Fwindow        xcb_window_t
  8875  } /* xproto.h:859:9 */
  8876  
  8877  //* Opcode for xcb_map_request.
  8878  
  8879  // *
  8880  // @brief xcb_map_request_event_t
  8881  //
  8882  type xcb_map_request_event_t = xcb_map_request_event_t1 /* xproto.h:865:3 */
  8883  
  8884  //* Opcode for xcb_reparent_notify.
  8885  
  8886  // *
  8887  // @brief xcb_reparent_notify_event_t
  8888  //
  8889  type xcb_reparent_notify_event_t1 = struct {
  8890  	Fresponse_type     uint8_t
  8891  	Fpad0              uint8_t
  8892  	Fsequence          uint16_t
  8893  	Fevent             xcb_window_t
  8894  	Fwindow            xcb_window_t
  8895  	Fparent            xcb_window_t
  8896  	Fx                 int16_t
  8897  	Fy                 int16_t
  8898  	Foverride_redirect uint8_t
  8899  	Fpad1              [3]uint8_t
  8900  } /* xproto.h:873:9 */
  8901  
  8902  //* Opcode for xcb_reparent_notify.
  8903  
  8904  // *
  8905  // @brief xcb_reparent_notify_event_t
  8906  //
  8907  type xcb_reparent_notify_event_t = xcb_reparent_notify_event_t1 /* xproto.h:884:3 */
  8908  
  8909  //* Opcode for xcb_configure_notify.
  8910  
  8911  // *
  8912  // @brief xcb_configure_notify_event_t
  8913  //
  8914  type xcb_configure_notify_event_t1 = struct {
  8915  	Fresponse_type     uint8_t
  8916  	Fpad0              uint8_t
  8917  	Fsequence          uint16_t
  8918  	Fevent             xcb_window_t
  8919  	Fwindow            xcb_window_t
  8920  	Fabove_sibling     xcb_window_t
  8921  	Fx                 int16_t
  8922  	Fy                 int16_t
  8923  	Fwidth             uint16_t
  8924  	Fheight            uint16_t
  8925  	Fborder_width      uint16_t
  8926  	Foverride_redirect uint8_t
  8927  	Fpad1              uint8_t
  8928  } /* xproto.h:892:9 */
  8929  
  8930  //* Opcode for xcb_configure_notify.
  8931  
  8932  // *
  8933  // @brief xcb_configure_notify_event_t
  8934  //
  8935  type xcb_configure_notify_event_t = xcb_configure_notify_event_t1 /* xproto.h:906:3 */
  8936  
  8937  //* Opcode for xcb_configure_request.
  8938  
  8939  // *
  8940  // @brief xcb_configure_request_event_t
  8941  //
  8942  type xcb_configure_request_event_t1 = struct {
  8943  	Fresponse_type uint8_t
  8944  	Fstack_mode    uint8_t
  8945  	Fsequence      uint16_t
  8946  	Fparent        xcb_window_t
  8947  	Fwindow        xcb_window_t
  8948  	Fsibling       xcb_window_t
  8949  	Fx             int16_t
  8950  	Fy             int16_t
  8951  	Fwidth         uint16_t
  8952  	Fheight        uint16_t
  8953  	Fborder_width  uint16_t
  8954  	Fvalue_mask    uint16_t
  8955  } /* xproto.h:914:9 */
  8956  
  8957  //* Opcode for xcb_configure_request.
  8958  
  8959  // *
  8960  // @brief xcb_configure_request_event_t
  8961  //
  8962  type xcb_configure_request_event_t = xcb_configure_request_event_t1 /* xproto.h:927:3 */
  8963  
  8964  //* Opcode for xcb_gravity_notify.
  8965  
  8966  // *
  8967  // @brief xcb_gravity_notify_event_t
  8968  //
  8969  type xcb_gravity_notify_event_t1 = struct {
  8970  	Fresponse_type uint8_t
  8971  	Fpad0          uint8_t
  8972  	Fsequence      uint16_t
  8973  	Fevent         xcb_window_t
  8974  	Fwindow        xcb_window_t
  8975  	Fx             int16_t
  8976  	Fy             int16_t
  8977  } /* xproto.h:935:9 */
  8978  
  8979  //* Opcode for xcb_gravity_notify.
  8980  
  8981  // *
  8982  // @brief xcb_gravity_notify_event_t
  8983  //
  8984  type xcb_gravity_notify_event_t = xcb_gravity_notify_event_t1 /* xproto.h:943:3 */
  8985  
  8986  //* Opcode for xcb_resize_request.
  8987  
  8988  // *
  8989  // @brief xcb_resize_request_event_t
  8990  //
  8991  type xcb_resize_request_event_t1 = struct {
  8992  	Fresponse_type uint8_t
  8993  	Fpad0          uint8_t
  8994  	Fsequence      uint16_t
  8995  	Fwindow        xcb_window_t
  8996  	Fwidth         uint16_t
  8997  	Fheight        uint16_t
  8998  } /* xproto.h:951:9 */
  8999  
  9000  //* Opcode for xcb_resize_request.
  9001  
  9002  // *
  9003  // @brief xcb_resize_request_event_t
  9004  //
  9005  type xcb_resize_request_event_t = xcb_resize_request_event_t1 /* xproto.h:958:3 */
  9006  
  9007  type xcb_place_t = uint32 /* xproto.h:967:3 */
  9008  
  9009  //* Opcode for xcb_circulate_notify.
  9010  
  9011  // *
  9012  // @brief xcb_circulate_notify_event_t
  9013  //
  9014  type xcb_circulate_notify_event_t1 = struct {
  9015  	Fresponse_type uint8_t
  9016  	Fpad0          uint8_t
  9017  	Fsequence      uint16_t
  9018  	Fevent         xcb_window_t
  9019  	Fwindow        xcb_window_t
  9020  	Fpad1          [4]uint8_t
  9021  	Fplace         uint8_t
  9022  	Fpad2          [3]uint8_t
  9023  } /* xproto.h:975:9 */
  9024  
  9025  //* Opcode for xcb_circulate_notify.
  9026  
  9027  // *
  9028  // @brief xcb_circulate_notify_event_t
  9029  //
  9030  type xcb_circulate_notify_event_t = xcb_circulate_notify_event_t1 /* xproto.h:984:3 */
  9031  
  9032  //* Opcode for xcb_circulate_request.
  9033  
  9034  type xcb_circulate_request_event_t = xcb_circulate_notify_event_t /* xproto.h:989:38 */
  9035  
  9036  type xcb_property_t = uint32 /* xproto.h:994:3 */
  9037  
  9038  //* Opcode for xcb_property_notify.
  9039  
  9040  // *
  9041  // @brief xcb_property_notify_event_t
  9042  //
  9043  type xcb_property_notify_event_t1 = struct {
  9044  	Fresponse_type uint8_t
  9045  	Fpad0          uint8_t
  9046  	Fsequence      uint16_t
  9047  	Fwindow        xcb_window_t
  9048  	Fatom          xcb_atom_t
  9049  	Ftime          xcb_timestamp_t
  9050  	Fstate         uint8_t
  9051  	Fpad1          [3]uint8_t
  9052  } /* xproto.h:1002:9 */
  9053  
  9054  //* Opcode for xcb_property_notify.
  9055  
  9056  // *
  9057  // @brief xcb_property_notify_event_t
  9058  //
  9059  type xcb_property_notify_event_t = xcb_property_notify_event_t1 /* xproto.h:1011:3 */
  9060  
  9061  //* Opcode for xcb_selection_clear.
  9062  
  9063  // *
  9064  // @brief xcb_selection_clear_event_t
  9065  //
  9066  type xcb_selection_clear_event_t1 = struct {
  9067  	Fresponse_type uint8_t
  9068  	Fpad0          uint8_t
  9069  	Fsequence      uint16_t
  9070  	Ftime          xcb_timestamp_t
  9071  	Fowner         xcb_window_t
  9072  	Fselection     xcb_atom_t
  9073  } /* xproto.h:1019:9 */
  9074  
  9075  //* Opcode for xcb_selection_clear.
  9076  
  9077  // *
  9078  // @brief xcb_selection_clear_event_t
  9079  //
  9080  type xcb_selection_clear_event_t = xcb_selection_clear_event_t1 /* xproto.h:1026:3 */
  9081  
  9082  type xcb_time_t = uint32 /* xproto.h:1030:3 */
  9083  
  9084  type xcb_atom_enum_t = uint32 /* xproto.h:1103:3 */
  9085  
  9086  //* Opcode for xcb_selection_request.
  9087  
  9088  // *
  9089  // @brief xcb_selection_request_event_t
  9090  //
  9091  type xcb_selection_request_event_t1 = struct {
  9092  	Fresponse_type uint8_t
  9093  	Fpad0          uint8_t
  9094  	Fsequence      uint16_t
  9095  	Ftime          xcb_timestamp_t
  9096  	Fowner         xcb_window_t
  9097  	Frequestor     xcb_window_t
  9098  	Fselection     xcb_atom_t
  9099  	Ftarget        xcb_atom_t
  9100  	Fproperty      xcb_atom_t
  9101  } /* xproto.h:1111:9 */
  9102  
  9103  //* Opcode for xcb_selection_request.
  9104  
  9105  // *
  9106  // @brief xcb_selection_request_event_t
  9107  //
  9108  type xcb_selection_request_event_t = xcb_selection_request_event_t1 /* xproto.h:1121:3 */
  9109  
  9110  //* Opcode for xcb_selection_notify.
  9111  
  9112  // *
  9113  // @brief xcb_selection_notify_event_t
  9114  //
  9115  type xcb_selection_notify_event_t1 = struct {
  9116  	Fresponse_type uint8_t
  9117  	Fpad0          uint8_t
  9118  	Fsequence      uint16_t
  9119  	Ftime          xcb_timestamp_t
  9120  	Frequestor     xcb_window_t
  9121  	Fselection     xcb_atom_t
  9122  	Ftarget        xcb_atom_t
  9123  	Fproperty      xcb_atom_t
  9124  } /* xproto.h:1129:9 */
  9125  
  9126  //* Opcode for xcb_selection_notify.
  9127  
  9128  // *
  9129  // @brief xcb_selection_notify_event_t
  9130  //
  9131  type xcb_selection_notify_event_t = xcb_selection_notify_event_t1 /* xproto.h:1138:3 */
  9132  
  9133  type xcb_colormap_state_t = uint32 /* xproto.h:1147:3 */
  9134  
  9135  type xcb_colormap_enum_t = uint32 /* xproto.h:1151:3 */
  9136  
  9137  //* Opcode for xcb_colormap_notify.
  9138  
  9139  // *
  9140  // @brief xcb_colormap_notify_event_t
  9141  //
  9142  type xcb_colormap_notify_event_t1 = struct {
  9143  	Fresponse_type uint8_t
  9144  	Fpad0          uint8_t
  9145  	Fsequence      uint16_t
  9146  	Fwindow        xcb_window_t
  9147  	Fcolormap      xcb_colormap_t
  9148  	F_new          uint8_t
  9149  	Fstate         uint8_t
  9150  	Fpad1          [2]uint8_t
  9151  } /* xproto.h:1159:9 */
  9152  
  9153  //* Opcode for xcb_colormap_notify.
  9154  
  9155  // *
  9156  // @brief xcb_colormap_notify_event_t
  9157  //
  9158  type xcb_colormap_notify_event_t = xcb_colormap_notify_event_t1 /* xproto.h:1168:3 */
  9159  
  9160  // *
  9161  // @brief xcb_client_message_data_t
  9162  //
  9163  type xcb_client_message_data_t1 = struct {
  9164  	F__ccgo_pad1 [0]uint32
  9165  	Fdata8       [20]uint8_t
  9166  } /* xproto.h:1173:9 */
  9167  
  9168  // *
  9169  // @brief xcb_client_message_data_t
  9170  //
  9171  type xcb_client_message_data_t = xcb_client_message_data_t1 /* xproto.h:1177:3 */
  9172  
  9173  // *
  9174  // @brief xcb_client_message_data_iterator_t
  9175  //
  9176  type xcb_client_message_data_iterator_t1 = struct {
  9177  	Fdata  uintptr
  9178  	Frem   int32
  9179  	Findex int32
  9180  } /* xproto.h:1182:9 */
  9181  
  9182  // *
  9183  // @brief xcb_client_message_data_iterator_t
  9184  //
  9185  type xcb_client_message_data_iterator_t = xcb_client_message_data_iterator_t1 /* xproto.h:1186:3 */
  9186  
  9187  //* Opcode for xcb_client_message.
  9188  
  9189  // *
  9190  // @brief xcb_client_message_event_t
  9191  //
  9192  type xcb_client_message_event_t1 = struct {
  9193  	Fresponse_type uint8_t
  9194  	Fformat        uint8_t
  9195  	Fsequence      uint16_t
  9196  	Fwindow        xcb_window_t
  9197  	Ftype          xcb_atom_t
  9198  	Fdata          xcb_client_message_data_t
  9199  } /* xproto.h:1194:9 */
  9200  
  9201  //* Opcode for xcb_client_message.
  9202  
  9203  // *
  9204  // @brief xcb_client_message_event_t
  9205  //
  9206  type xcb_client_message_event_t = xcb_client_message_event_t1 /* xproto.h:1201:3 */
  9207  
  9208  type xcb_mapping_t = uint32 /* xproto.h:1207:3 */
  9209  
  9210  //* Opcode for xcb_mapping_notify.
  9211  
  9212  // *
  9213  // @brief xcb_mapping_notify_event_t
  9214  //
  9215  type xcb_mapping_notify_event_t1 = struct {
  9216  	Fresponse_type uint8_t
  9217  	Fpad0          uint8_t
  9218  	Fsequence      uint16_t
  9219  	Frequest       uint8_t
  9220  	Ffirst_keycode xcb_keycode_t
  9221  	Fcount         uint8_t
  9222  	Fpad1          uint8_t
  9223  } /* xproto.h:1215:9 */
  9224  
  9225  //* Opcode for xcb_mapping_notify.
  9226  
  9227  // *
  9228  // @brief xcb_mapping_notify_event_t
  9229  //
  9230  type xcb_mapping_notify_event_t = xcb_mapping_notify_event_t1 /* xproto.h:1223:3 */
  9231  
  9232  //* Opcode for xcb_ge_generic.
  9233  
  9234  // *
  9235  // @brief xcb_ge_generic_event_t
  9236  //
  9237  type xcb_ge_generic_event_t1 = struct {
  9238  	Fresponse_type uint8_t
  9239  	Fextension     uint8_t
  9240  	Fsequence      uint16_t
  9241  	Flength        uint32_t
  9242  	Fevent_type    uint16_t
  9243  	Fpad0          [22]uint8_t
  9244  	Ffull_sequence uint32_t
  9245  } /* xproto.h:1231:9 */
  9246  
  9247  //* Opcode for xcb_ge_generic.
  9248  
  9249  // *
  9250  // @brief xcb_ge_generic_event_t
  9251  //
  9252  type xcb_ge_generic_event_t = xcb_ge_generic_event_t1 /* xproto.h:1239:3 */
  9253  
  9254  //* Opcode for xcb_request.
  9255  
  9256  // *
  9257  // @brief xcb_request_error_t
  9258  //
  9259  type xcb_request_error_t1 = struct {
  9260  	Fresponse_type uint8_t
  9261  	Ferror_code    uint8_t
  9262  	Fsequence      uint16_t
  9263  	Fbad_value     uint32_t
  9264  	Fminor_opcode  uint16_t
  9265  	Fmajor_opcode  uint8_t
  9266  	Fpad0          uint8_t
  9267  } /* xproto.h:1247:9 */
  9268  
  9269  //* Opcode for xcb_request.
  9270  
  9271  // *
  9272  // @brief xcb_request_error_t
  9273  //
  9274  type xcb_request_error_t = xcb_request_error_t1 /* xproto.h:1255:3 */
  9275  
  9276  //* Opcode for xcb_value.
  9277  
  9278  // *
  9279  // @brief xcb_value_error_t
  9280  //
  9281  type xcb_value_error_t1 = struct {
  9282  	Fresponse_type uint8_t
  9283  	Ferror_code    uint8_t
  9284  	Fsequence      uint16_t
  9285  	Fbad_value     uint32_t
  9286  	Fminor_opcode  uint16_t
  9287  	Fmajor_opcode  uint8_t
  9288  	Fpad0          uint8_t
  9289  } /* xproto.h:1263:9 */
  9290  
  9291  //* Opcode for xcb_value.
  9292  
  9293  // *
  9294  // @brief xcb_value_error_t
  9295  //
  9296  type xcb_value_error_t = xcb_value_error_t1 /* xproto.h:1271:3 */
  9297  
  9298  //* Opcode for xcb_window.
  9299  
  9300  type xcb_window_error_t = xcb_value_error_t /* xproto.h:1276:27 */
  9301  
  9302  //* Opcode for xcb_pixmap.
  9303  
  9304  type xcb_pixmap_error_t = xcb_value_error_t /* xproto.h:1281:27 */
  9305  
  9306  //* Opcode for xcb_atom.
  9307  
  9308  type xcb_atom_error_t = xcb_value_error_t /* xproto.h:1286:27 */
  9309  
  9310  //* Opcode for xcb_cursor.
  9311  
  9312  type xcb_cursor_error_t = xcb_value_error_t /* xproto.h:1291:27 */
  9313  
  9314  //* Opcode for xcb_font.
  9315  
  9316  type xcb_font_error_t = xcb_value_error_t /* xproto.h:1296:27 */
  9317  
  9318  //* Opcode for xcb_match.
  9319  
  9320  type xcb_match_error_t = xcb_request_error_t /* xproto.h:1301:29 */
  9321  
  9322  //* Opcode for xcb_drawable.
  9323  
  9324  type xcb_drawable_error_t = xcb_value_error_t /* xproto.h:1306:27 */
  9325  
  9326  //* Opcode for xcb_access.
  9327  
  9328  type xcb_access_error_t = xcb_request_error_t /* xproto.h:1311:29 */
  9329  
  9330  //* Opcode for xcb_alloc.
  9331  
  9332  type xcb_alloc_error_t = xcb_request_error_t /* xproto.h:1316:29 */
  9333  
  9334  //* Opcode for xcb_colormap.
  9335  
  9336  type xcb_colormap_error_t = xcb_value_error_t /* xproto.h:1321:27 */
  9337  
  9338  //* Opcode for xcb_g_context.
  9339  
  9340  type xcb_g_context_error_t = xcb_value_error_t /* xproto.h:1326:27 */
  9341  
  9342  //* Opcode for xcb_id_choice.
  9343  
  9344  type xcb_id_choice_error_t = xcb_value_error_t /* xproto.h:1331:27 */
  9345  
  9346  //* Opcode for xcb_name.
  9347  
  9348  type xcb_name_error_t = xcb_request_error_t /* xproto.h:1336:29 */
  9349  
  9350  //* Opcode for xcb_length.
  9351  
  9352  type xcb_length_error_t = xcb_request_error_t /* xproto.h:1341:29 */
  9353  
  9354  //* Opcode for xcb_implementation.
  9355  
  9356  type xcb_implementation_error_t = xcb_request_error_t /* xproto.h:1346:29 */
  9357  
  9358  type xcb_window_class_t = uint32 /* xproto.h:1352:3 */
  9359  
  9360  type xcb_cw_t = uint32 /* xproto.h:1453:3 */
  9361  
  9362  type xcb_back_pixmap_t = uint32 /* xproto.h:1458:3 */
  9363  
  9364  type xcb_gravity_t = uint32 /* xproto.h:1473:3 */
  9365  
  9366  // *
  9367  // @brief xcb_create_window_value_list_t
  9368  //
  9369  type xcb_create_window_value_list_t1 = struct {
  9370  	Fbackground_pixmap     xcb_pixmap_t
  9371  	Fbackground_pixel      uint32_t
  9372  	Fborder_pixmap         xcb_pixmap_t
  9373  	Fborder_pixel          uint32_t
  9374  	Fbit_gravity           uint32_t
  9375  	Fwin_gravity           uint32_t
  9376  	Fbacking_store         uint32_t
  9377  	Fbacking_planes        uint32_t
  9378  	Fbacking_pixel         uint32_t
  9379  	Foverride_redirect     xcb_bool32_t
  9380  	Fsave_under            xcb_bool32_t
  9381  	Fevent_mask            uint32_t
  9382  	Fdo_not_propogate_mask uint32_t
  9383  	Fcolormap              xcb_colormap_t
  9384  	Fcursor                xcb_cursor_t
  9385  } /* xproto.h:1478:9 */
  9386  
  9387  // *
  9388  // @brief xcb_create_window_value_list_t
  9389  //
  9390  type xcb_create_window_value_list_t = xcb_create_window_value_list_t1 /* xproto.h:1494:3 */
  9391  
  9392  //* Opcode for xcb_create_window.
  9393  
  9394  // *
  9395  // @brief xcb_create_window_request_t
  9396  //
  9397  type xcb_create_window_request_t1 = struct {
  9398  	Fmajor_opcode uint8_t
  9399  	Fdepth        uint8_t
  9400  	Flength       uint16_t
  9401  	Fwid          xcb_window_t
  9402  	Fparent       xcb_window_t
  9403  	Fx            int16_t
  9404  	Fy            int16_t
  9405  	Fwidth        uint16_t
  9406  	Fheight       uint16_t
  9407  	Fborder_width uint16_t
  9408  	F_class       uint16_t
  9409  	Fvisual       xcb_visualid_t
  9410  	Fvalue_mask   uint32_t
  9411  } /* xproto.h:1502:9 */
  9412  
  9413  //* Opcode for xcb_create_window.
  9414  
  9415  // *
  9416  // @brief xcb_create_window_request_t
  9417  //
  9418  type xcb_create_window_request_t = xcb_create_window_request_t1 /* xproto.h:1516:3 */
  9419  
  9420  // *
  9421  // @brief xcb_change_window_attributes_value_list_t
  9422  //
  9423  type xcb_change_window_attributes_value_list_t1 = struct {
  9424  	Fbackground_pixmap     xcb_pixmap_t
  9425  	Fbackground_pixel      uint32_t
  9426  	Fborder_pixmap         xcb_pixmap_t
  9427  	Fborder_pixel          uint32_t
  9428  	Fbit_gravity           uint32_t
  9429  	Fwin_gravity           uint32_t
  9430  	Fbacking_store         uint32_t
  9431  	Fbacking_planes        uint32_t
  9432  	Fbacking_pixel         uint32_t
  9433  	Foverride_redirect     xcb_bool32_t
  9434  	Fsave_under            xcb_bool32_t
  9435  	Fevent_mask            uint32_t
  9436  	Fdo_not_propogate_mask uint32_t
  9437  	Fcolormap              xcb_colormap_t
  9438  	Fcursor                xcb_cursor_t
  9439  } /* xproto.h:1521:9 */
  9440  
  9441  // *
  9442  // @brief xcb_change_window_attributes_value_list_t
  9443  //
  9444  type xcb_change_window_attributes_value_list_t = xcb_change_window_attributes_value_list_t1 /* xproto.h:1537:3 */
  9445  
  9446  //* Opcode for xcb_change_window_attributes.
  9447  
  9448  // *
  9449  // @brief xcb_change_window_attributes_request_t
  9450  //
  9451  type xcb_change_window_attributes_request_t1 = struct {
  9452  	Fmajor_opcode uint8_t
  9453  	Fpad0         uint8_t
  9454  	Flength       uint16_t
  9455  	Fwindow       xcb_window_t
  9456  	Fvalue_mask   uint32_t
  9457  } /* xproto.h:1545:9 */
  9458  
  9459  //* Opcode for xcb_change_window_attributes.
  9460  
  9461  // *
  9462  // @brief xcb_change_window_attributes_request_t
  9463  //
  9464  type xcb_change_window_attributes_request_t = xcb_change_window_attributes_request_t1 /* xproto.h:1551:3 */
  9465  
  9466  type xcb_map_state_t = uint32 /* xproto.h:1557:3 */
  9467  
  9468  // *
  9469  // @brief xcb_get_window_attributes_cookie_t
  9470  //
  9471  type xcb_get_window_attributes_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1562:9 */
  9472  
  9473  // *
  9474  // @brief xcb_get_window_attributes_cookie_t
  9475  //
  9476  type xcb_get_window_attributes_cookie_t = xcb_get_window_attributes_cookie_t1 /* xproto.h:1564:3 */
  9477  
  9478  //* Opcode for xcb_get_window_attributes.
  9479  
  9480  // *
  9481  // @brief xcb_get_window_attributes_request_t
  9482  //
  9483  type xcb_get_window_attributes_request_t1 = struct {
  9484  	Fmajor_opcode uint8_t
  9485  	Fpad0         uint8_t
  9486  	Flength       uint16_t
  9487  	Fwindow       xcb_window_t
  9488  } /* xproto.h:1572:9 */
  9489  
  9490  //* Opcode for xcb_get_window_attributes.
  9491  
  9492  // *
  9493  // @brief xcb_get_window_attributes_request_t
  9494  //
  9495  type xcb_get_window_attributes_request_t = xcb_get_window_attributes_request_t1 /* xproto.h:1577:3 */
  9496  
  9497  // *
  9498  // @brief xcb_get_window_attributes_reply_t
  9499  //
  9500  type xcb_get_window_attributes_reply_t1 = struct {
  9501  	Fresponse_type         uint8_t
  9502  	Fbacking_store         uint8_t
  9503  	Fsequence              uint16_t
  9504  	Flength                uint32_t
  9505  	Fvisual                xcb_visualid_t
  9506  	F_class                uint16_t
  9507  	Fbit_gravity           uint8_t
  9508  	Fwin_gravity           uint8_t
  9509  	Fbacking_planes        uint32_t
  9510  	Fbacking_pixel         uint32_t
  9511  	Fsave_under            uint8_t
  9512  	Fmap_is_installed      uint8_t
  9513  	Fmap_state             uint8_t
  9514  	Foverride_redirect     uint8_t
  9515  	Fcolormap              xcb_colormap_t
  9516  	Fall_event_masks       uint32_t
  9517  	Fyour_event_mask       uint32_t
  9518  	Fdo_not_propagate_mask uint16_t
  9519  	Fpad0                  [2]uint8_t
  9520  } /* xproto.h:1582:9 */
  9521  
  9522  // *
  9523  // @brief xcb_get_window_attributes_reply_t
  9524  //
  9525  type xcb_get_window_attributes_reply_t = xcb_get_window_attributes_reply_t1 /* xproto.h:1602:3 */
  9526  
  9527  //* Opcode for xcb_destroy_window.
  9528  
  9529  // *
  9530  // @brief xcb_destroy_window_request_t
  9531  //
  9532  type xcb_destroy_window_request_t1 = struct {
  9533  	Fmajor_opcode uint8_t
  9534  	Fpad0         uint8_t
  9535  	Flength       uint16_t
  9536  	Fwindow       xcb_window_t
  9537  } /* xproto.h:1610:9 */
  9538  
  9539  //* Opcode for xcb_destroy_window.
  9540  
  9541  // *
  9542  // @brief xcb_destroy_window_request_t
  9543  //
  9544  type xcb_destroy_window_request_t = xcb_destroy_window_request_t1 /* xproto.h:1615:3 */
  9545  
  9546  //* Opcode for xcb_destroy_subwindows.
  9547  
  9548  // *
  9549  // @brief xcb_destroy_subwindows_request_t
  9550  //
  9551  type xcb_destroy_subwindows_request_t1 = struct {
  9552  	Fmajor_opcode uint8_t
  9553  	Fpad0         uint8_t
  9554  	Flength       uint16_t
  9555  	Fwindow       xcb_window_t
  9556  } /* xproto.h:1623:9 */
  9557  
  9558  //* Opcode for xcb_destroy_subwindows.
  9559  
  9560  // *
  9561  // @brief xcb_destroy_subwindows_request_t
  9562  //
  9563  type xcb_destroy_subwindows_request_t = xcb_destroy_subwindows_request_t1 /* xproto.h:1628:3 */
  9564  
  9565  type xcb_set_mode_t = uint32 /* xproto.h:1633:3 */
  9566  
  9567  //* Opcode for xcb_change_save_set.
  9568  
  9569  // *
  9570  // @brief xcb_change_save_set_request_t
  9571  //
  9572  type xcb_change_save_set_request_t1 = struct {
  9573  	Fmajor_opcode uint8_t
  9574  	Fmode         uint8_t
  9575  	Flength       uint16_t
  9576  	Fwindow       xcb_window_t
  9577  } /* xproto.h:1641:9 */
  9578  
  9579  //* Opcode for xcb_change_save_set.
  9580  
  9581  // *
  9582  // @brief xcb_change_save_set_request_t
  9583  //
  9584  type xcb_change_save_set_request_t = xcb_change_save_set_request_t1 /* xproto.h:1646:3 */
  9585  
  9586  //* Opcode for xcb_reparent_window.
  9587  
  9588  // *
  9589  // @brief xcb_reparent_window_request_t
  9590  //
  9591  type xcb_reparent_window_request_t1 = struct {
  9592  	Fmajor_opcode uint8_t
  9593  	Fpad0         uint8_t
  9594  	Flength       uint16_t
  9595  	Fwindow       xcb_window_t
  9596  	Fparent       xcb_window_t
  9597  	Fx            int16_t
  9598  	Fy            int16_t
  9599  } /* xproto.h:1654:9 */
  9600  
  9601  //* Opcode for xcb_reparent_window.
  9602  
  9603  // *
  9604  // @brief xcb_reparent_window_request_t
  9605  //
  9606  type xcb_reparent_window_request_t = xcb_reparent_window_request_t1 /* xproto.h:1662:3 */
  9607  
  9608  //* Opcode for xcb_map_window.
  9609  
  9610  // *
  9611  // @brief xcb_map_window_request_t
  9612  //
  9613  type xcb_map_window_request_t1 = struct {
  9614  	Fmajor_opcode uint8_t
  9615  	Fpad0         uint8_t
  9616  	Flength       uint16_t
  9617  	Fwindow       xcb_window_t
  9618  } /* xproto.h:1670:9 */
  9619  
  9620  //* Opcode for xcb_map_window.
  9621  
  9622  // *
  9623  // @brief xcb_map_window_request_t
  9624  //
  9625  type xcb_map_window_request_t = xcb_map_window_request_t1 /* xproto.h:1675:3 */
  9626  
  9627  //* Opcode for xcb_map_subwindows.
  9628  
  9629  // *
  9630  // @brief xcb_map_subwindows_request_t
  9631  //
  9632  type xcb_map_subwindows_request_t1 = struct {
  9633  	Fmajor_opcode uint8_t
  9634  	Fpad0         uint8_t
  9635  	Flength       uint16_t
  9636  	Fwindow       xcb_window_t
  9637  } /* xproto.h:1683:9 */
  9638  
  9639  //* Opcode for xcb_map_subwindows.
  9640  
  9641  // *
  9642  // @brief xcb_map_subwindows_request_t
  9643  //
  9644  type xcb_map_subwindows_request_t = xcb_map_subwindows_request_t1 /* xproto.h:1688:3 */
  9645  
  9646  //* Opcode for xcb_unmap_window.
  9647  
  9648  // *
  9649  // @brief xcb_unmap_window_request_t
  9650  //
  9651  type xcb_unmap_window_request_t1 = struct {
  9652  	Fmajor_opcode uint8_t
  9653  	Fpad0         uint8_t
  9654  	Flength       uint16_t
  9655  	Fwindow       xcb_window_t
  9656  } /* xproto.h:1696:9 */
  9657  
  9658  //* Opcode for xcb_unmap_window.
  9659  
  9660  // *
  9661  // @brief xcb_unmap_window_request_t
  9662  //
  9663  type xcb_unmap_window_request_t = xcb_unmap_window_request_t1 /* xproto.h:1701:3 */
  9664  
  9665  //* Opcode for xcb_unmap_subwindows.
  9666  
  9667  // *
  9668  // @brief xcb_unmap_subwindows_request_t
  9669  //
  9670  type xcb_unmap_subwindows_request_t1 = struct {
  9671  	Fmajor_opcode uint8_t
  9672  	Fpad0         uint8_t
  9673  	Flength       uint16_t
  9674  	Fwindow       xcb_window_t
  9675  } /* xproto.h:1709:9 */
  9676  
  9677  //* Opcode for xcb_unmap_subwindows.
  9678  
  9679  // *
  9680  // @brief xcb_unmap_subwindows_request_t
  9681  //
  9682  type xcb_unmap_subwindows_request_t = xcb_unmap_subwindows_request_t1 /* xproto.h:1714:3 */
  9683  
  9684  type xcb_config_window_t = uint32 /* xproto.h:1724:3 */
  9685  
  9686  type xcb_stack_mode_t = uint32 /* xproto.h:1732:3 */
  9687  
  9688  // *
  9689  // @brief xcb_configure_window_value_list_t
  9690  //
  9691  type xcb_configure_window_value_list_t1 = struct {
  9692  	Fx            int32_t
  9693  	Fy            int32_t
  9694  	Fwidth        uint32_t
  9695  	Fheight       uint32_t
  9696  	Fborder_width uint32_t
  9697  	Fsibling      xcb_window_t
  9698  	Fstack_mode   uint32_t
  9699  } /* xproto.h:1737:9 */
  9700  
  9701  // *
  9702  // @brief xcb_configure_window_value_list_t
  9703  //
  9704  type xcb_configure_window_value_list_t = xcb_configure_window_value_list_t1 /* xproto.h:1745:3 */
  9705  
  9706  //* Opcode for xcb_configure_window.
  9707  
  9708  // *
  9709  // @brief xcb_configure_window_request_t
  9710  //
  9711  type xcb_configure_window_request_t1 = struct {
  9712  	Fmajor_opcode uint8_t
  9713  	Fpad0         uint8_t
  9714  	Flength       uint16_t
  9715  	Fwindow       xcb_window_t
  9716  	Fvalue_mask   uint16_t
  9717  	Fpad1         [2]uint8_t
  9718  } /* xproto.h:1753:9 */
  9719  
  9720  //* Opcode for xcb_configure_window.
  9721  
  9722  // *
  9723  // @brief xcb_configure_window_request_t
  9724  //
  9725  type xcb_configure_window_request_t = xcb_configure_window_request_t1 /* xproto.h:1760:3 */
  9726  
  9727  type xcb_circulate_t = uint32 /* xproto.h:1765:3 */
  9728  
  9729  //* Opcode for xcb_circulate_window.
  9730  
  9731  // *
  9732  // @brief xcb_circulate_window_request_t
  9733  //
  9734  type xcb_circulate_window_request_t1 = struct {
  9735  	Fmajor_opcode uint8_t
  9736  	Fdirection    uint8_t
  9737  	Flength       uint16_t
  9738  	Fwindow       xcb_window_t
  9739  } /* xproto.h:1773:9 */
  9740  
  9741  //* Opcode for xcb_circulate_window.
  9742  
  9743  // *
  9744  // @brief xcb_circulate_window_request_t
  9745  //
  9746  type xcb_circulate_window_request_t = xcb_circulate_window_request_t1 /* xproto.h:1778:3 */
  9747  
  9748  // *
  9749  // @brief xcb_get_geometry_cookie_t
  9750  //
  9751  type xcb_get_geometry_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1783:9 */
  9752  
  9753  // *
  9754  // @brief xcb_get_geometry_cookie_t
  9755  //
  9756  type xcb_get_geometry_cookie_t = xcb_get_geometry_cookie_t1 /* xproto.h:1785:3 */
  9757  
  9758  //* Opcode for xcb_get_geometry.
  9759  
  9760  // *
  9761  // @brief xcb_get_geometry_request_t
  9762  //
  9763  type xcb_get_geometry_request_t1 = struct {
  9764  	Fmajor_opcode uint8_t
  9765  	Fpad0         uint8_t
  9766  	Flength       uint16_t
  9767  	Fdrawable     xcb_drawable_t
  9768  } /* xproto.h:1793:9 */
  9769  
  9770  //* Opcode for xcb_get_geometry.
  9771  
  9772  // *
  9773  // @brief xcb_get_geometry_request_t
  9774  //
  9775  type xcb_get_geometry_request_t = xcb_get_geometry_request_t1 /* xproto.h:1798:3 */
  9776  
  9777  // *
  9778  // @brief xcb_get_geometry_reply_t
  9779  //
  9780  type xcb_get_geometry_reply_t1 = struct {
  9781  	Fresponse_type uint8_t
  9782  	Fdepth         uint8_t
  9783  	Fsequence      uint16_t
  9784  	Flength        uint32_t
  9785  	Froot          xcb_window_t
  9786  	Fx             int16_t
  9787  	Fy             int16_t
  9788  	Fwidth         uint16_t
  9789  	Fheight        uint16_t
  9790  	Fborder_width  uint16_t
  9791  	Fpad0          [2]uint8_t
  9792  } /* xproto.h:1803:9 */
  9793  
  9794  // *
  9795  // @brief xcb_get_geometry_reply_t
  9796  //
  9797  type xcb_get_geometry_reply_t = xcb_get_geometry_reply_t1 /* xproto.h:1815:3 */
  9798  
  9799  // *
  9800  // @brief xcb_query_tree_cookie_t
  9801  //
  9802  type xcb_query_tree_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1820:9 */
  9803  
  9804  // *
  9805  // @brief xcb_query_tree_cookie_t
  9806  //
  9807  type xcb_query_tree_cookie_t = xcb_query_tree_cookie_t1 /* xproto.h:1822:3 */
  9808  
  9809  //* Opcode for xcb_query_tree.
  9810  
  9811  // *
  9812  // @brief xcb_query_tree_request_t
  9813  //
  9814  type xcb_query_tree_request_t1 = struct {
  9815  	Fmajor_opcode uint8_t
  9816  	Fpad0         uint8_t
  9817  	Flength       uint16_t
  9818  	Fwindow       xcb_window_t
  9819  } /* xproto.h:1830:9 */
  9820  
  9821  //* Opcode for xcb_query_tree.
  9822  
  9823  // *
  9824  // @brief xcb_query_tree_request_t
  9825  //
  9826  type xcb_query_tree_request_t = xcb_query_tree_request_t1 /* xproto.h:1835:3 */
  9827  
  9828  // *
  9829  // @brief xcb_query_tree_reply_t
  9830  //
  9831  type xcb_query_tree_reply_t1 = struct {
  9832  	Fresponse_type uint8_t
  9833  	Fpad0          uint8_t
  9834  	Fsequence      uint16_t
  9835  	Flength        uint32_t
  9836  	Froot          xcb_window_t
  9837  	Fparent        xcb_window_t
  9838  	Fchildren_len  uint16_t
  9839  	Fpad1          [14]uint8_t
  9840  } /* xproto.h:1840:9 */
  9841  
  9842  // *
  9843  // @brief xcb_query_tree_reply_t
  9844  //
  9845  type xcb_query_tree_reply_t = xcb_query_tree_reply_t1 /* xproto.h:1849:3 */
  9846  
  9847  // *
  9848  // @brief xcb_intern_atom_cookie_t
  9849  //
  9850  type xcb_intern_atom_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1854:9 */
  9851  
  9852  // *
  9853  // @brief xcb_intern_atom_cookie_t
  9854  //
  9855  type xcb_intern_atom_cookie_t = xcb_intern_atom_cookie_t1 /* xproto.h:1856:3 */
  9856  
  9857  //* Opcode for xcb_intern_atom.
  9858  
  9859  // *
  9860  // @brief xcb_intern_atom_request_t
  9861  //
  9862  type xcb_intern_atom_request_t1 = struct {
  9863  	Fmajor_opcode   uint8_t
  9864  	Fonly_if_exists uint8_t
  9865  	Flength         uint16_t
  9866  	Fname_len       uint16_t
  9867  	Fpad0           [2]uint8_t
  9868  } /* xproto.h:1864:9 */
  9869  
  9870  //* Opcode for xcb_intern_atom.
  9871  
  9872  // *
  9873  // @brief xcb_intern_atom_request_t
  9874  //
  9875  type xcb_intern_atom_request_t = xcb_intern_atom_request_t1 /* xproto.h:1870:3 */
  9876  
  9877  // *
  9878  // @brief xcb_intern_atom_reply_t
  9879  //
  9880  type xcb_intern_atom_reply_t1 = struct {
  9881  	Fresponse_type uint8_t
  9882  	Fpad0          uint8_t
  9883  	Fsequence      uint16_t
  9884  	Flength        uint32_t
  9885  	Fatom          xcb_atom_t
  9886  } /* xproto.h:1875:9 */
  9887  
  9888  // *
  9889  // @brief xcb_intern_atom_reply_t
  9890  //
  9891  type xcb_intern_atom_reply_t = xcb_intern_atom_reply_t1 /* xproto.h:1881:3 */
  9892  
  9893  // *
  9894  // @brief xcb_get_atom_name_cookie_t
  9895  //
  9896  type xcb_get_atom_name_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1886:9 */
  9897  
  9898  // *
  9899  // @brief xcb_get_atom_name_cookie_t
  9900  //
  9901  type xcb_get_atom_name_cookie_t = xcb_get_atom_name_cookie_t1 /* xproto.h:1888:3 */
  9902  
  9903  //* Opcode for xcb_get_atom_name.
  9904  
  9905  // *
  9906  // @brief xcb_get_atom_name_request_t
  9907  //
  9908  type xcb_get_atom_name_request_t1 = struct {
  9909  	Fmajor_opcode uint8_t
  9910  	Fpad0         uint8_t
  9911  	Flength       uint16_t
  9912  	Fatom         xcb_atom_t
  9913  } /* xproto.h:1896:9 */
  9914  
  9915  //* Opcode for xcb_get_atom_name.
  9916  
  9917  // *
  9918  // @brief xcb_get_atom_name_request_t
  9919  //
  9920  type xcb_get_atom_name_request_t = xcb_get_atom_name_request_t1 /* xproto.h:1901:3 */
  9921  
  9922  // *
  9923  // @brief xcb_get_atom_name_reply_t
  9924  //
  9925  type xcb_get_atom_name_reply_t1 = struct {
  9926  	Fresponse_type uint8_t
  9927  	Fpad0          uint8_t
  9928  	Fsequence      uint16_t
  9929  	Flength        uint32_t
  9930  	Fname_len      uint16_t
  9931  	Fpad1          [22]uint8_t
  9932  } /* xproto.h:1906:9 */
  9933  
  9934  // *
  9935  // @brief xcb_get_atom_name_reply_t
  9936  //
  9937  type xcb_get_atom_name_reply_t = xcb_get_atom_name_reply_t1 /* xproto.h:1913:3 */
  9938  
  9939  type xcb_prop_mode_t = uint32 /* xproto.h:1929:3 */
  9940  
  9941  //* Opcode for xcb_change_property.
  9942  
  9943  // *
  9944  // @brief xcb_change_property_request_t
  9945  //
  9946  type xcb_change_property_request_t1 = struct {
  9947  	Fmajor_opcode uint8_t
  9948  	Fmode         uint8_t
  9949  	Flength       uint16_t
  9950  	Fwindow       xcb_window_t
  9951  	Fproperty     xcb_atom_t
  9952  	Ftype         xcb_atom_t
  9953  	Fformat       uint8_t
  9954  	Fpad0         [3]uint8_t
  9955  	Fdata_len     uint32_t
  9956  } /* xproto.h:1937:9 */
  9957  
  9958  //* Opcode for xcb_change_property.
  9959  
  9960  // *
  9961  // @brief xcb_change_property_request_t
  9962  //
  9963  type xcb_change_property_request_t = xcb_change_property_request_t1 /* xproto.h:1947:3 */
  9964  
  9965  //* Opcode for xcb_delete_property.
  9966  
  9967  // *
  9968  // @brief xcb_delete_property_request_t
  9969  //
  9970  type xcb_delete_property_request_t1 = struct {
  9971  	Fmajor_opcode uint8_t
  9972  	Fpad0         uint8_t
  9973  	Flength       uint16_t
  9974  	Fwindow       xcb_window_t
  9975  	Fproperty     xcb_atom_t
  9976  } /* xproto.h:1955:9 */
  9977  
  9978  //* Opcode for xcb_delete_property.
  9979  
  9980  // *
  9981  // @brief xcb_delete_property_request_t
  9982  //
  9983  type xcb_delete_property_request_t = xcb_delete_property_request_t1 /* xproto.h:1961:3 */
  9984  
  9985  type xcb_get_property_type_t = uint32 /* xproto.h:1965:3 */
  9986  
  9987  // *
  9988  // @brief xcb_get_property_cookie_t
  9989  //
  9990  type xcb_get_property_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1970:9 */
  9991  
  9992  // *
  9993  // @brief xcb_get_property_cookie_t
  9994  //
  9995  type xcb_get_property_cookie_t = xcb_get_property_cookie_t1 /* xproto.h:1972:3 */
  9996  
  9997  //* Opcode for xcb_get_property.
  9998  
  9999  // *
 10000  // @brief xcb_get_property_request_t
 10001  //
 10002  type xcb_get_property_request_t1 = struct {
 10003  	Fmajor_opcode uint8_t
 10004  	F_delete      uint8_t
 10005  	Flength       uint16_t
 10006  	Fwindow       xcb_window_t
 10007  	Fproperty     xcb_atom_t
 10008  	Ftype         xcb_atom_t
 10009  	Flong_offset  uint32_t
 10010  	Flong_length  uint32_t
 10011  } /* xproto.h:1980:9 */
 10012  
 10013  //* Opcode for xcb_get_property.
 10014  
 10015  // *
 10016  // @brief xcb_get_property_request_t
 10017  //
 10018  type xcb_get_property_request_t = xcb_get_property_request_t1 /* xproto.h:1989:3 */
 10019  
 10020  // *
 10021  // @brief xcb_get_property_reply_t
 10022  //
 10023  type xcb_get_property_reply_t1 = struct {
 10024  	Fresponse_type uint8_t
 10025  	Fformat        uint8_t
 10026  	Fsequence      uint16_t
 10027  	Flength        uint32_t
 10028  	Ftype          xcb_atom_t
 10029  	Fbytes_after   uint32_t
 10030  	Fvalue_len     uint32_t
 10031  	Fpad0          [12]uint8_t
 10032  } /* xproto.h:1994:9 */
 10033  
 10034  // *
 10035  // @brief xcb_get_property_reply_t
 10036  //
 10037  type xcb_get_property_reply_t = xcb_get_property_reply_t1 /* xproto.h:2003:3 */
 10038  
 10039  // *
 10040  // @brief xcb_list_properties_cookie_t
 10041  //
 10042  type xcb_list_properties_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2008:9 */
 10043  
 10044  // *
 10045  // @brief xcb_list_properties_cookie_t
 10046  //
 10047  type xcb_list_properties_cookie_t = xcb_list_properties_cookie_t1 /* xproto.h:2010:3 */
 10048  
 10049  //* Opcode for xcb_list_properties.
 10050  
 10051  // *
 10052  // @brief xcb_list_properties_request_t
 10053  //
 10054  type xcb_list_properties_request_t1 = struct {
 10055  	Fmajor_opcode uint8_t
 10056  	Fpad0         uint8_t
 10057  	Flength       uint16_t
 10058  	Fwindow       xcb_window_t
 10059  } /* xproto.h:2018:9 */
 10060  
 10061  //* Opcode for xcb_list_properties.
 10062  
 10063  // *
 10064  // @brief xcb_list_properties_request_t
 10065  //
 10066  type xcb_list_properties_request_t = xcb_list_properties_request_t1 /* xproto.h:2023:3 */
 10067  
 10068  // *
 10069  // @brief xcb_list_properties_reply_t
 10070  //
 10071  type xcb_list_properties_reply_t1 = struct {
 10072  	Fresponse_type uint8_t
 10073  	Fpad0          uint8_t
 10074  	Fsequence      uint16_t
 10075  	Flength        uint32_t
 10076  	Fatoms_len     uint16_t
 10077  	Fpad1          [22]uint8_t
 10078  } /* xproto.h:2028:9 */
 10079  
 10080  // *
 10081  // @brief xcb_list_properties_reply_t
 10082  //
 10083  type xcb_list_properties_reply_t = xcb_list_properties_reply_t1 /* xproto.h:2035:3 */
 10084  
 10085  //* Opcode for xcb_set_selection_owner.
 10086  
 10087  // *
 10088  // @brief xcb_set_selection_owner_request_t
 10089  //
 10090  type xcb_set_selection_owner_request_t1 = struct {
 10091  	Fmajor_opcode uint8_t
 10092  	Fpad0         uint8_t
 10093  	Flength       uint16_t
 10094  	Fowner        xcb_window_t
 10095  	Fselection    xcb_atom_t
 10096  	Ftime         xcb_timestamp_t
 10097  } /* xproto.h:2043:9 */
 10098  
 10099  //* Opcode for xcb_set_selection_owner.
 10100  
 10101  // *
 10102  // @brief xcb_set_selection_owner_request_t
 10103  //
 10104  type xcb_set_selection_owner_request_t = xcb_set_selection_owner_request_t1 /* xproto.h:2050:3 */
 10105  
 10106  // *
 10107  // @brief xcb_get_selection_owner_cookie_t
 10108  //
 10109  type xcb_get_selection_owner_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2055:9 */
 10110  
 10111  // *
 10112  // @brief xcb_get_selection_owner_cookie_t
 10113  //
 10114  type xcb_get_selection_owner_cookie_t = xcb_get_selection_owner_cookie_t1 /* xproto.h:2057:3 */
 10115  
 10116  //* Opcode for xcb_get_selection_owner.
 10117  
 10118  // *
 10119  // @brief xcb_get_selection_owner_request_t
 10120  //
 10121  type xcb_get_selection_owner_request_t1 = struct {
 10122  	Fmajor_opcode uint8_t
 10123  	Fpad0         uint8_t
 10124  	Flength       uint16_t
 10125  	Fselection    xcb_atom_t
 10126  } /* xproto.h:2065:9 */
 10127  
 10128  //* Opcode for xcb_get_selection_owner.
 10129  
 10130  // *
 10131  // @brief xcb_get_selection_owner_request_t
 10132  //
 10133  type xcb_get_selection_owner_request_t = xcb_get_selection_owner_request_t1 /* xproto.h:2070:3 */
 10134  
 10135  // *
 10136  // @brief xcb_get_selection_owner_reply_t
 10137  //
 10138  type xcb_get_selection_owner_reply_t1 = struct {
 10139  	Fresponse_type uint8_t
 10140  	Fpad0          uint8_t
 10141  	Fsequence      uint16_t
 10142  	Flength        uint32_t
 10143  	Fowner         xcb_window_t
 10144  } /* xproto.h:2075:9 */
 10145  
 10146  // *
 10147  // @brief xcb_get_selection_owner_reply_t
 10148  //
 10149  type xcb_get_selection_owner_reply_t = xcb_get_selection_owner_reply_t1 /* xproto.h:2081:3 */
 10150  
 10151  //* Opcode for xcb_convert_selection.
 10152  
 10153  // *
 10154  // @brief xcb_convert_selection_request_t
 10155  //
 10156  type xcb_convert_selection_request_t1 = struct {
 10157  	Fmajor_opcode uint8_t
 10158  	Fpad0         uint8_t
 10159  	Flength       uint16_t
 10160  	Frequestor    xcb_window_t
 10161  	Fselection    xcb_atom_t
 10162  	Ftarget       xcb_atom_t
 10163  	Fproperty     xcb_atom_t
 10164  	Ftime         xcb_timestamp_t
 10165  } /* xproto.h:2089:9 */
 10166  
 10167  //* Opcode for xcb_convert_selection.
 10168  
 10169  // *
 10170  // @brief xcb_convert_selection_request_t
 10171  //
 10172  type xcb_convert_selection_request_t = xcb_convert_selection_request_t1 /* xproto.h:2098:3 */
 10173  
 10174  type xcb_send_event_dest_t = uint32 /* xproto.h:2103:3 */
 10175  
 10176  //* Opcode for xcb_send_event.
 10177  
 10178  // *
 10179  // @brief xcb_send_event_request_t
 10180  //
 10181  type xcb_send_event_request_t1 = struct {
 10182  	Fmajor_opcode uint8_t
 10183  	Fpropagate    uint8_t
 10184  	Flength       uint16_t
 10185  	Fdestination  xcb_window_t
 10186  	Fevent_mask   uint32_t
 10187  	Fevent        [32]int8
 10188  } /* xproto.h:2111:9 */
 10189  
 10190  //* Opcode for xcb_send_event.
 10191  
 10192  // *
 10193  // @brief xcb_send_event_request_t
 10194  //
 10195  type xcb_send_event_request_t = xcb_send_event_request_t1 /* xproto.h:2118:3 */
 10196  
 10197  type xcb_grab_mode_t = uint32 /* xproto.h:2129:3 */
 10198  
 10199  type xcb_grab_status_t = uint32 /* xproto.h:2137:3 */
 10200  
 10201  type xcb_cursor_enum_t = uint32 /* xproto.h:2141:3 */
 10202  
 10203  // *
 10204  // @brief xcb_grab_pointer_cookie_t
 10205  //
 10206  type xcb_grab_pointer_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2146:9 */
 10207  
 10208  // *
 10209  // @brief xcb_grab_pointer_cookie_t
 10210  //
 10211  type xcb_grab_pointer_cookie_t = xcb_grab_pointer_cookie_t1 /* xproto.h:2148:3 */
 10212  
 10213  //* Opcode for xcb_grab_pointer.
 10214  
 10215  // *
 10216  // @brief xcb_grab_pointer_request_t
 10217  //
 10218  type xcb_grab_pointer_request_t1 = struct {
 10219  	Fmajor_opcode  uint8_t
 10220  	Fowner_events  uint8_t
 10221  	Flength        uint16_t
 10222  	Fgrab_window   xcb_window_t
 10223  	Fevent_mask    uint16_t
 10224  	Fpointer_mode  uint8_t
 10225  	Fkeyboard_mode uint8_t
 10226  	Fconfine_to    xcb_window_t
 10227  	Fcursor        xcb_cursor_t
 10228  	Ftime          xcb_timestamp_t
 10229  } /* xproto.h:2156:9 */
 10230  
 10231  //* Opcode for xcb_grab_pointer.
 10232  
 10233  // *
 10234  // @brief xcb_grab_pointer_request_t
 10235  //
 10236  type xcb_grab_pointer_request_t = xcb_grab_pointer_request_t1 /* xproto.h:2167:3 */
 10237  
 10238  // *
 10239  // @brief xcb_grab_pointer_reply_t
 10240  //
 10241  type xcb_grab_pointer_reply_t1 = struct {
 10242  	Fresponse_type uint8_t
 10243  	Fstatus        uint8_t
 10244  	Fsequence      uint16_t
 10245  	Flength        uint32_t
 10246  } /* xproto.h:2172:9 */
 10247  
 10248  // *
 10249  // @brief xcb_grab_pointer_reply_t
 10250  //
 10251  type xcb_grab_pointer_reply_t = xcb_grab_pointer_reply_t1 /* xproto.h:2177:3 */
 10252  
 10253  //* Opcode for xcb_ungrab_pointer.
 10254  
 10255  // *
 10256  // @brief xcb_ungrab_pointer_request_t
 10257  //
 10258  type xcb_ungrab_pointer_request_t1 = struct {
 10259  	Fmajor_opcode uint8_t
 10260  	Fpad0         uint8_t
 10261  	Flength       uint16_t
 10262  	Ftime         xcb_timestamp_t
 10263  } /* xproto.h:2185:9 */
 10264  
 10265  //* Opcode for xcb_ungrab_pointer.
 10266  
 10267  // *
 10268  // @brief xcb_ungrab_pointer_request_t
 10269  //
 10270  type xcb_ungrab_pointer_request_t = xcb_ungrab_pointer_request_t1 /* xproto.h:2190:3 */
 10271  
 10272  type xcb_button_index_t = uint32 /* xproto.h:2211:3 */
 10273  
 10274  //* Opcode for xcb_grab_button.
 10275  
 10276  // *
 10277  // @brief xcb_grab_button_request_t
 10278  //
 10279  type xcb_grab_button_request_t1 = struct {
 10280  	Fmajor_opcode  uint8_t
 10281  	Fowner_events  uint8_t
 10282  	Flength        uint16_t
 10283  	Fgrab_window   xcb_window_t
 10284  	Fevent_mask    uint16_t
 10285  	Fpointer_mode  uint8_t
 10286  	Fkeyboard_mode uint8_t
 10287  	Fconfine_to    xcb_window_t
 10288  	Fcursor        xcb_cursor_t
 10289  	Fbutton        uint8_t
 10290  	Fpad0          uint8_t
 10291  	Fmodifiers     uint16_t
 10292  } /* xproto.h:2219:9 */
 10293  
 10294  //* Opcode for xcb_grab_button.
 10295  
 10296  // *
 10297  // @brief xcb_grab_button_request_t
 10298  //
 10299  type xcb_grab_button_request_t = xcb_grab_button_request_t1 /* xproto.h:2232:3 */
 10300  
 10301  //* Opcode for xcb_ungrab_button.
 10302  
 10303  // *
 10304  // @brief xcb_ungrab_button_request_t
 10305  //
 10306  type xcb_ungrab_button_request_t1 = struct {
 10307  	Fmajor_opcode uint8_t
 10308  	Fbutton       uint8_t
 10309  	Flength       uint16_t
 10310  	Fgrab_window  xcb_window_t
 10311  	Fmodifiers    uint16_t
 10312  	Fpad0         [2]uint8_t
 10313  } /* xproto.h:2240:9 */
 10314  
 10315  //* Opcode for xcb_ungrab_button.
 10316  
 10317  // *
 10318  // @brief xcb_ungrab_button_request_t
 10319  //
 10320  type xcb_ungrab_button_request_t = xcb_ungrab_button_request_t1 /* xproto.h:2247:3 */
 10321  
 10322  //* Opcode for xcb_change_active_pointer_grab.
 10323  
 10324  // *
 10325  // @brief xcb_change_active_pointer_grab_request_t
 10326  //
 10327  type xcb_change_active_pointer_grab_request_t1 = struct {
 10328  	Fmajor_opcode uint8_t
 10329  	Fpad0         uint8_t
 10330  	Flength       uint16_t
 10331  	Fcursor       xcb_cursor_t
 10332  	Ftime         xcb_timestamp_t
 10333  	Fevent_mask   uint16_t
 10334  	Fpad1         [2]uint8_t
 10335  } /* xproto.h:2255:9 */
 10336  
 10337  //* Opcode for xcb_change_active_pointer_grab.
 10338  
 10339  // *
 10340  // @brief xcb_change_active_pointer_grab_request_t
 10341  //
 10342  type xcb_change_active_pointer_grab_request_t = xcb_change_active_pointer_grab_request_t1 /* xproto.h:2263:3 */
 10343  
 10344  // *
 10345  // @brief xcb_grab_keyboard_cookie_t
 10346  //
 10347  type xcb_grab_keyboard_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2268:9 */
 10348  
 10349  // *
 10350  // @brief xcb_grab_keyboard_cookie_t
 10351  //
 10352  type xcb_grab_keyboard_cookie_t = xcb_grab_keyboard_cookie_t1 /* xproto.h:2270:3 */
 10353  
 10354  //* Opcode for xcb_grab_keyboard.
 10355  
 10356  // *
 10357  // @brief xcb_grab_keyboard_request_t
 10358  //
 10359  type xcb_grab_keyboard_request_t1 = struct {
 10360  	Fmajor_opcode  uint8_t
 10361  	Fowner_events  uint8_t
 10362  	Flength        uint16_t
 10363  	Fgrab_window   xcb_window_t
 10364  	Ftime          xcb_timestamp_t
 10365  	Fpointer_mode  uint8_t
 10366  	Fkeyboard_mode uint8_t
 10367  	Fpad0          [2]uint8_t
 10368  } /* xproto.h:2278:9 */
 10369  
 10370  //* Opcode for xcb_grab_keyboard.
 10371  
 10372  // *
 10373  // @brief xcb_grab_keyboard_request_t
 10374  //
 10375  type xcb_grab_keyboard_request_t = xcb_grab_keyboard_request_t1 /* xproto.h:2287:3 */
 10376  
 10377  // *
 10378  // @brief xcb_grab_keyboard_reply_t
 10379  //
 10380  type xcb_grab_keyboard_reply_t1 = struct {
 10381  	Fresponse_type uint8_t
 10382  	Fstatus        uint8_t
 10383  	Fsequence      uint16_t
 10384  	Flength        uint32_t
 10385  } /* xproto.h:2292:9 */
 10386  
 10387  // *
 10388  // @brief xcb_grab_keyboard_reply_t
 10389  //
 10390  type xcb_grab_keyboard_reply_t = xcb_grab_keyboard_reply_t1 /* xproto.h:2297:3 */
 10391  
 10392  //* Opcode for xcb_ungrab_keyboard.
 10393  
 10394  // *
 10395  // @brief xcb_ungrab_keyboard_request_t
 10396  //
 10397  type xcb_ungrab_keyboard_request_t1 = struct {
 10398  	Fmajor_opcode uint8_t
 10399  	Fpad0         uint8_t
 10400  	Flength       uint16_t
 10401  	Ftime         xcb_timestamp_t
 10402  } /* xproto.h:2305:9 */
 10403  
 10404  //* Opcode for xcb_ungrab_keyboard.
 10405  
 10406  // *
 10407  // @brief xcb_ungrab_keyboard_request_t
 10408  //
 10409  type xcb_ungrab_keyboard_request_t = xcb_ungrab_keyboard_request_t1 /* xproto.h:2310:3 */
 10410  
 10411  type xcb_grab_t = uint32 /* xproto.h:2314:3 */
 10412  
 10413  //* Opcode for xcb_grab_key.
 10414  
 10415  // *
 10416  // @brief xcb_grab_key_request_t
 10417  //
 10418  type xcb_grab_key_request_t1 = struct {
 10419  	Fmajor_opcode  uint8_t
 10420  	Fowner_events  uint8_t
 10421  	Flength        uint16_t
 10422  	Fgrab_window   xcb_window_t
 10423  	Fmodifiers     uint16_t
 10424  	Fkey           xcb_keycode_t
 10425  	Fpointer_mode  uint8_t
 10426  	Fkeyboard_mode uint8_t
 10427  	Fpad0          [3]uint8_t
 10428  } /* xproto.h:2322:9 */
 10429  
 10430  //* Opcode for xcb_grab_key.
 10431  
 10432  // *
 10433  // @brief xcb_grab_key_request_t
 10434  //
 10435  type xcb_grab_key_request_t = xcb_grab_key_request_t1 /* xproto.h:2332:3 */
 10436  
 10437  //* Opcode for xcb_ungrab_key.
 10438  
 10439  // *
 10440  // @brief xcb_ungrab_key_request_t
 10441  //
 10442  type xcb_ungrab_key_request_t1 = struct {
 10443  	Fmajor_opcode uint8_t
 10444  	Fkey          xcb_keycode_t
 10445  	Flength       uint16_t
 10446  	Fgrab_window  xcb_window_t
 10447  	Fmodifiers    uint16_t
 10448  	Fpad0         [2]uint8_t
 10449  } /* xproto.h:2340:9 */
 10450  
 10451  //* Opcode for xcb_ungrab_key.
 10452  
 10453  // *
 10454  // @brief xcb_ungrab_key_request_t
 10455  //
 10456  type xcb_ungrab_key_request_t = xcb_ungrab_key_request_t1 /* xproto.h:2347:3 */
 10457  
 10458  type xcb_allow_t = uint32 /* xproto.h:2423:3 */
 10459  
 10460  //* Opcode for xcb_allow_events.
 10461  
 10462  // *
 10463  // @brief xcb_allow_events_request_t
 10464  //
 10465  type xcb_allow_events_request_t1 = struct {
 10466  	Fmajor_opcode uint8_t
 10467  	Fmode         uint8_t
 10468  	Flength       uint16_t
 10469  	Ftime         xcb_timestamp_t
 10470  } /* xproto.h:2431:9 */
 10471  
 10472  //* Opcode for xcb_allow_events.
 10473  
 10474  // *
 10475  // @brief xcb_allow_events_request_t
 10476  //
 10477  type xcb_allow_events_request_t = xcb_allow_events_request_t1 /* xproto.h:2436:3 */
 10478  
 10479  //* Opcode for xcb_grab_server.
 10480  
 10481  // *
 10482  // @brief xcb_grab_server_request_t
 10483  //
 10484  type xcb_grab_server_request_t1 = struct {
 10485  	Fmajor_opcode uint8_t
 10486  	Fpad0         uint8_t
 10487  	Flength       uint16_t
 10488  } /* xproto.h:2444:9 */
 10489  
 10490  //* Opcode for xcb_grab_server.
 10491  
 10492  // *
 10493  // @brief xcb_grab_server_request_t
 10494  //
 10495  type xcb_grab_server_request_t = xcb_grab_server_request_t1 /* xproto.h:2448:3 */
 10496  
 10497  //* Opcode for xcb_ungrab_server.
 10498  
 10499  // *
 10500  // @brief xcb_ungrab_server_request_t
 10501  //
 10502  type xcb_ungrab_server_request_t1 = struct {
 10503  	Fmajor_opcode uint8_t
 10504  	Fpad0         uint8_t
 10505  	Flength       uint16_t
 10506  } /* xproto.h:2456:9 */
 10507  
 10508  //* Opcode for xcb_ungrab_server.
 10509  
 10510  // *
 10511  // @brief xcb_ungrab_server_request_t
 10512  //
 10513  type xcb_ungrab_server_request_t = xcb_ungrab_server_request_t1 /* xproto.h:2460:3 */
 10514  
 10515  // *
 10516  // @brief xcb_query_pointer_cookie_t
 10517  //
 10518  type xcb_query_pointer_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2465:9 */
 10519  
 10520  // *
 10521  // @brief xcb_query_pointer_cookie_t
 10522  //
 10523  type xcb_query_pointer_cookie_t = xcb_query_pointer_cookie_t1 /* xproto.h:2467:3 */
 10524  
 10525  //* Opcode for xcb_query_pointer.
 10526  
 10527  // *
 10528  // @brief xcb_query_pointer_request_t
 10529  //
 10530  type xcb_query_pointer_request_t1 = struct {
 10531  	Fmajor_opcode uint8_t
 10532  	Fpad0         uint8_t
 10533  	Flength       uint16_t
 10534  	Fwindow       xcb_window_t
 10535  } /* xproto.h:2475:9 */
 10536  
 10537  //* Opcode for xcb_query_pointer.
 10538  
 10539  // *
 10540  // @brief xcb_query_pointer_request_t
 10541  //
 10542  type xcb_query_pointer_request_t = xcb_query_pointer_request_t1 /* xproto.h:2480:3 */
 10543  
 10544  // *
 10545  // @brief xcb_query_pointer_reply_t
 10546  //
 10547  type xcb_query_pointer_reply_t1 = struct {
 10548  	Fresponse_type uint8_t
 10549  	Fsame_screen   uint8_t
 10550  	Fsequence      uint16_t
 10551  	Flength        uint32_t
 10552  	Froot          xcb_window_t
 10553  	Fchild         xcb_window_t
 10554  	Froot_x        int16_t
 10555  	Froot_y        int16_t
 10556  	Fwin_x         int16_t
 10557  	Fwin_y         int16_t
 10558  	Fmask          uint16_t
 10559  	Fpad0          [2]uint8_t
 10560  } /* xproto.h:2485:9 */
 10561  
 10562  // *
 10563  // @brief xcb_query_pointer_reply_t
 10564  //
 10565  type xcb_query_pointer_reply_t = xcb_query_pointer_reply_t1 /* xproto.h:2498:3 */
 10566  
 10567  // *
 10568  // @brief xcb_timecoord_t
 10569  //
 10570  type xcb_timecoord_t1 = struct {
 10571  	Ftime xcb_timestamp_t
 10572  	Fx    int16_t
 10573  	Fy    int16_t
 10574  } /* xproto.h:2503:9 */
 10575  
 10576  // *
 10577  // @brief xcb_timecoord_t
 10578  //
 10579  type xcb_timecoord_t = xcb_timecoord_t1 /* xproto.h:2507:3 */
 10580  
 10581  // *
 10582  // @brief xcb_timecoord_iterator_t
 10583  //
 10584  type xcb_timecoord_iterator_t1 = struct {
 10585  	Fdata  uintptr
 10586  	Frem   int32
 10587  	Findex int32
 10588  } /* xproto.h:2512:9 */
 10589  
 10590  // *
 10591  // @brief xcb_timecoord_iterator_t
 10592  //
 10593  type xcb_timecoord_iterator_t = xcb_timecoord_iterator_t1 /* xproto.h:2516:3 */
 10594  
 10595  // *
 10596  // @brief xcb_get_motion_events_cookie_t
 10597  //
 10598  type xcb_get_motion_events_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2521:9 */
 10599  
 10600  // *
 10601  // @brief xcb_get_motion_events_cookie_t
 10602  //
 10603  type xcb_get_motion_events_cookie_t = xcb_get_motion_events_cookie_t1 /* xproto.h:2523:3 */
 10604  
 10605  //* Opcode for xcb_get_motion_events.
 10606  
 10607  // *
 10608  // @brief xcb_get_motion_events_request_t
 10609  //
 10610  type xcb_get_motion_events_request_t1 = struct {
 10611  	Fmajor_opcode uint8_t
 10612  	Fpad0         uint8_t
 10613  	Flength       uint16_t
 10614  	Fwindow       xcb_window_t
 10615  	Fstart        xcb_timestamp_t
 10616  	Fstop         xcb_timestamp_t
 10617  } /* xproto.h:2531:9 */
 10618  
 10619  //* Opcode for xcb_get_motion_events.
 10620  
 10621  // *
 10622  // @brief xcb_get_motion_events_request_t
 10623  //
 10624  type xcb_get_motion_events_request_t = xcb_get_motion_events_request_t1 /* xproto.h:2538:3 */
 10625  
 10626  // *
 10627  // @brief xcb_get_motion_events_reply_t
 10628  //
 10629  type xcb_get_motion_events_reply_t1 = struct {
 10630  	Fresponse_type uint8_t
 10631  	Fpad0          uint8_t
 10632  	Fsequence      uint16_t
 10633  	Flength        uint32_t
 10634  	Fevents_len    uint32_t
 10635  	Fpad1          [20]uint8_t
 10636  } /* xproto.h:2543:9 */
 10637  
 10638  // *
 10639  // @brief xcb_get_motion_events_reply_t
 10640  //
 10641  type xcb_get_motion_events_reply_t = xcb_get_motion_events_reply_t1 /* xproto.h:2550:3 */
 10642  
 10643  // *
 10644  // @brief xcb_translate_coordinates_cookie_t
 10645  //
 10646  type xcb_translate_coordinates_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2555:9 */
 10647  
 10648  // *
 10649  // @brief xcb_translate_coordinates_cookie_t
 10650  //
 10651  type xcb_translate_coordinates_cookie_t = xcb_translate_coordinates_cookie_t1 /* xproto.h:2557:3 */
 10652  
 10653  //* Opcode for xcb_translate_coordinates.
 10654  
 10655  // *
 10656  // @brief xcb_translate_coordinates_request_t
 10657  //
 10658  type xcb_translate_coordinates_request_t1 = struct {
 10659  	Fmajor_opcode uint8_t
 10660  	Fpad0         uint8_t
 10661  	Flength       uint16_t
 10662  	Fsrc_window   xcb_window_t
 10663  	Fdst_window   xcb_window_t
 10664  	Fsrc_x        int16_t
 10665  	Fsrc_y        int16_t
 10666  } /* xproto.h:2565:9 */
 10667  
 10668  //* Opcode for xcb_translate_coordinates.
 10669  
 10670  // *
 10671  // @brief xcb_translate_coordinates_request_t
 10672  //
 10673  type xcb_translate_coordinates_request_t = xcb_translate_coordinates_request_t1 /* xproto.h:2573:3 */
 10674  
 10675  // *
 10676  // @brief xcb_translate_coordinates_reply_t
 10677  //
 10678  type xcb_translate_coordinates_reply_t1 = struct {
 10679  	Fresponse_type uint8_t
 10680  	Fsame_screen   uint8_t
 10681  	Fsequence      uint16_t
 10682  	Flength        uint32_t
 10683  	Fchild         xcb_window_t
 10684  	Fdst_x         int16_t
 10685  	Fdst_y         int16_t
 10686  } /* xproto.h:2578:9 */
 10687  
 10688  // *
 10689  // @brief xcb_translate_coordinates_reply_t
 10690  //
 10691  type xcb_translate_coordinates_reply_t = xcb_translate_coordinates_reply_t1 /* xproto.h:2586:3 */
 10692  
 10693  //* Opcode for xcb_warp_pointer.
 10694  
 10695  // *
 10696  // @brief xcb_warp_pointer_request_t
 10697  //
 10698  type xcb_warp_pointer_request_t1 = struct {
 10699  	Fmajor_opcode uint8_t
 10700  	Fpad0         uint8_t
 10701  	Flength       uint16_t
 10702  	Fsrc_window   xcb_window_t
 10703  	Fdst_window   xcb_window_t
 10704  	Fsrc_x        int16_t
 10705  	Fsrc_y        int16_t
 10706  	Fsrc_width    uint16_t
 10707  	Fsrc_height   uint16_t
 10708  	Fdst_x        int16_t
 10709  	Fdst_y        int16_t
 10710  } /* xproto.h:2594:9 */
 10711  
 10712  //* Opcode for xcb_warp_pointer.
 10713  
 10714  // *
 10715  // @brief xcb_warp_pointer_request_t
 10716  //
 10717  type xcb_warp_pointer_request_t = xcb_warp_pointer_request_t1 /* xproto.h:2606:3 */
 10718  
 10719  type xcb_input_focus_t = uint32 /* xproto.h:2624:3 */
 10720  
 10721  //* Opcode for xcb_set_input_focus.
 10722  
 10723  // *
 10724  // @brief xcb_set_input_focus_request_t
 10725  //
 10726  type xcb_set_input_focus_request_t1 = struct {
 10727  	Fmajor_opcode uint8_t
 10728  	Frevert_to    uint8_t
 10729  	Flength       uint16_t
 10730  	Ffocus        xcb_window_t
 10731  	Ftime         xcb_timestamp_t
 10732  } /* xproto.h:2632:9 */
 10733  
 10734  //* Opcode for xcb_set_input_focus.
 10735  
 10736  // *
 10737  // @brief xcb_set_input_focus_request_t
 10738  //
 10739  type xcb_set_input_focus_request_t = xcb_set_input_focus_request_t1 /* xproto.h:2638:3 */
 10740  
 10741  // *
 10742  // @brief xcb_get_input_focus_cookie_t
 10743  //
 10744  type xcb_get_input_focus_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2643:9 */
 10745  
 10746  // *
 10747  // @brief xcb_get_input_focus_cookie_t
 10748  //
 10749  type xcb_get_input_focus_cookie_t = xcb_get_input_focus_cookie_t1 /* xproto.h:2645:3 */
 10750  
 10751  //* Opcode for xcb_get_input_focus.
 10752  
 10753  // *
 10754  // @brief xcb_get_input_focus_request_t
 10755  //
 10756  type xcb_get_input_focus_request_t1 = struct {
 10757  	Fmajor_opcode uint8_t
 10758  	Fpad0         uint8_t
 10759  	Flength       uint16_t
 10760  } /* xproto.h:2653:9 */
 10761  
 10762  //* Opcode for xcb_get_input_focus.
 10763  
 10764  // *
 10765  // @brief xcb_get_input_focus_request_t
 10766  //
 10767  type xcb_get_input_focus_request_t = xcb_get_input_focus_request_t1 /* xproto.h:2657:3 */
 10768  
 10769  // *
 10770  // @brief xcb_get_input_focus_reply_t
 10771  //
 10772  type xcb_get_input_focus_reply_t1 = struct {
 10773  	Fresponse_type uint8_t
 10774  	Frevert_to     uint8_t
 10775  	Fsequence      uint16_t
 10776  	Flength        uint32_t
 10777  	Ffocus         xcb_window_t
 10778  } /* xproto.h:2662:9 */
 10779  
 10780  // *
 10781  // @brief xcb_get_input_focus_reply_t
 10782  //
 10783  type xcb_get_input_focus_reply_t = xcb_get_input_focus_reply_t1 /* xproto.h:2668:3 */
 10784  
 10785  // *
 10786  // @brief xcb_query_keymap_cookie_t
 10787  //
 10788  type xcb_query_keymap_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2673:9 */
 10789  
 10790  // *
 10791  // @brief xcb_query_keymap_cookie_t
 10792  //
 10793  type xcb_query_keymap_cookie_t = xcb_query_keymap_cookie_t1 /* xproto.h:2675:3 */
 10794  
 10795  //* Opcode for xcb_query_keymap.
 10796  
 10797  // *
 10798  // @brief xcb_query_keymap_request_t
 10799  //
 10800  type xcb_query_keymap_request_t1 = struct {
 10801  	Fmajor_opcode uint8_t
 10802  	Fpad0         uint8_t
 10803  	Flength       uint16_t
 10804  } /* xproto.h:2683:9 */
 10805  
 10806  //* Opcode for xcb_query_keymap.
 10807  
 10808  // *
 10809  // @brief xcb_query_keymap_request_t
 10810  //
 10811  type xcb_query_keymap_request_t = xcb_query_keymap_request_t1 /* xproto.h:2687:3 */
 10812  
 10813  // *
 10814  // @brief xcb_query_keymap_reply_t
 10815  //
 10816  type xcb_query_keymap_reply_t1 = struct {
 10817  	Fresponse_type uint8_t
 10818  	Fpad0          uint8_t
 10819  	Fsequence      uint16_t
 10820  	Flength        uint32_t
 10821  	Fkeys          [32]uint8_t
 10822  } /* xproto.h:2692:9 */
 10823  
 10824  // *
 10825  // @brief xcb_query_keymap_reply_t
 10826  //
 10827  type xcb_query_keymap_reply_t = xcb_query_keymap_reply_t1 /* xproto.h:2698:3 */
 10828  
 10829  //* Opcode for xcb_open_font.
 10830  
 10831  // *
 10832  // @brief xcb_open_font_request_t
 10833  //
 10834  type xcb_open_font_request_t1 = struct {
 10835  	Fmajor_opcode uint8_t
 10836  	Fpad0         uint8_t
 10837  	Flength       uint16_t
 10838  	Ffid          xcb_font_t
 10839  	Fname_len     uint16_t
 10840  	Fpad1         [2]uint8_t
 10841  } /* xproto.h:2706:9 */
 10842  
 10843  //* Opcode for xcb_open_font.
 10844  
 10845  // *
 10846  // @brief xcb_open_font_request_t
 10847  //
 10848  type xcb_open_font_request_t = xcb_open_font_request_t1 /* xproto.h:2713:3 */
 10849  
 10850  //* Opcode for xcb_close_font.
 10851  
 10852  // *
 10853  // @brief xcb_close_font_request_t
 10854  //
 10855  type xcb_close_font_request_t1 = struct {
 10856  	Fmajor_opcode uint8_t
 10857  	Fpad0         uint8_t
 10858  	Flength       uint16_t
 10859  	Ffont         xcb_font_t
 10860  } /* xproto.h:2721:9 */
 10861  
 10862  //* Opcode for xcb_close_font.
 10863  
 10864  // *
 10865  // @brief xcb_close_font_request_t
 10866  //
 10867  type xcb_close_font_request_t = xcb_close_font_request_t1 /* xproto.h:2726:3 */
 10868  
 10869  type xcb_font_draw_t = uint32 /* xproto.h:2731:3 */
 10870  
 10871  // *
 10872  // @brief xcb_fontprop_t
 10873  //
 10874  type xcb_fontprop_t1 = struct {
 10875  	Fname  xcb_atom_t
 10876  	Fvalue uint32_t
 10877  } /* xproto.h:2736:9 */
 10878  
 10879  // *
 10880  // @brief xcb_fontprop_t
 10881  //
 10882  type xcb_fontprop_t = xcb_fontprop_t1 /* xproto.h:2739:3 */
 10883  
 10884  // *
 10885  // @brief xcb_fontprop_iterator_t
 10886  //
 10887  type xcb_fontprop_iterator_t1 = struct {
 10888  	Fdata  uintptr
 10889  	Frem   int32
 10890  	Findex int32
 10891  } /* xproto.h:2744:9 */
 10892  
 10893  // *
 10894  // @brief xcb_fontprop_iterator_t
 10895  //
 10896  type xcb_fontprop_iterator_t = xcb_fontprop_iterator_t1 /* xproto.h:2748:3 */
 10897  
 10898  // *
 10899  // @brief xcb_charinfo_t
 10900  //
 10901  type xcb_charinfo_t1 = struct {
 10902  	Fleft_side_bearing  int16_t
 10903  	Fright_side_bearing int16_t
 10904  	Fcharacter_width    int16_t
 10905  	Fascent             int16_t
 10906  	Fdescent            int16_t
 10907  	Fattributes         uint16_t
 10908  } /* xproto.h:2753:9 */
 10909  
 10910  // *
 10911  // @brief xcb_charinfo_t
 10912  //
 10913  type xcb_charinfo_t = xcb_charinfo_t1 /* xproto.h:2760:3 */
 10914  
 10915  // *
 10916  // @brief xcb_charinfo_iterator_t
 10917  //
 10918  type xcb_charinfo_iterator_t1 = struct {
 10919  	Fdata  uintptr
 10920  	Frem   int32
 10921  	Findex int32
 10922  } /* xproto.h:2765:9 */
 10923  
 10924  // *
 10925  // @brief xcb_charinfo_iterator_t
 10926  //
 10927  type xcb_charinfo_iterator_t = xcb_charinfo_iterator_t1 /* xproto.h:2769:3 */
 10928  
 10929  // *
 10930  // @brief xcb_query_font_cookie_t
 10931  //
 10932  type xcb_query_font_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2774:9 */
 10933  
 10934  // *
 10935  // @brief xcb_query_font_cookie_t
 10936  //
 10937  type xcb_query_font_cookie_t = xcb_query_font_cookie_t1 /* xproto.h:2776:3 */
 10938  
 10939  //* Opcode for xcb_query_font.
 10940  
 10941  // *
 10942  // @brief xcb_query_font_request_t
 10943  //
 10944  type xcb_query_font_request_t1 = struct {
 10945  	Fmajor_opcode uint8_t
 10946  	Fpad0         uint8_t
 10947  	Flength       uint16_t
 10948  	Ffont         xcb_fontable_t
 10949  } /* xproto.h:2784:9 */
 10950  
 10951  //* Opcode for xcb_query_font.
 10952  
 10953  // *
 10954  // @brief xcb_query_font_request_t
 10955  //
 10956  type xcb_query_font_request_t = xcb_query_font_request_t1 /* xproto.h:2789:3 */
 10957  
 10958  // *
 10959  // @brief xcb_query_font_reply_t
 10960  //
 10961  type xcb_query_font_reply_t1 = struct {
 10962  	Fresponse_type     uint8_t
 10963  	Fpad0              uint8_t
 10964  	Fsequence          uint16_t
 10965  	Flength            uint32_t
 10966  	Fmin_bounds        xcb_charinfo_t
 10967  	Fpad1              [4]uint8_t
 10968  	Fmax_bounds        xcb_charinfo_t
 10969  	Fpad2              [4]uint8_t
 10970  	Fmin_char_or_byte2 uint16_t
 10971  	Fmax_char_or_byte2 uint16_t
 10972  	Fdefault_char      uint16_t
 10973  	Fproperties_len    uint16_t
 10974  	Fdraw_direction    uint8_t
 10975  	Fmin_byte1         uint8_t
 10976  	Fmax_byte1         uint8_t
 10977  	Fall_chars_exist   uint8_t
 10978  	Ffont_ascent       int16_t
 10979  	Ffont_descent      int16_t
 10980  	Fchar_infos_len    uint32_t
 10981  } /* xproto.h:2794:9 */
 10982  
 10983  // *
 10984  // @brief xcb_query_font_reply_t
 10985  //
 10986  type xcb_query_font_reply_t = xcb_query_font_reply_t1 /* xproto.h:2814:3 */
 10987  
 10988  // *
 10989  // @brief xcb_query_text_extents_cookie_t
 10990  //
 10991  type xcb_query_text_extents_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2819:9 */
 10992  
 10993  // *
 10994  // @brief xcb_query_text_extents_cookie_t
 10995  //
 10996  type xcb_query_text_extents_cookie_t = xcb_query_text_extents_cookie_t1 /* xproto.h:2821:3 */
 10997  
 10998  //* Opcode for xcb_query_text_extents.
 10999  
 11000  // *
 11001  // @brief xcb_query_text_extents_request_t
 11002  //
 11003  type xcb_query_text_extents_request_t1 = struct {
 11004  	Fmajor_opcode uint8_t
 11005  	Fodd_length   uint8_t
 11006  	Flength       uint16_t
 11007  	Ffont         xcb_fontable_t
 11008  } /* xproto.h:2829:9 */
 11009  
 11010  //* Opcode for xcb_query_text_extents.
 11011  
 11012  // *
 11013  // @brief xcb_query_text_extents_request_t
 11014  //
 11015  type xcb_query_text_extents_request_t = xcb_query_text_extents_request_t1 /* xproto.h:2834:3 */
 11016  
 11017  // *
 11018  // @brief xcb_query_text_extents_reply_t
 11019  //
 11020  type xcb_query_text_extents_reply_t1 = struct {
 11021  	Fresponse_type   uint8_t
 11022  	Fdraw_direction  uint8_t
 11023  	Fsequence        uint16_t
 11024  	Flength          uint32_t
 11025  	Ffont_ascent     int16_t
 11026  	Ffont_descent    int16_t
 11027  	Foverall_ascent  int16_t
 11028  	Foverall_descent int16_t
 11029  	Foverall_width   int32_t
 11030  	Foverall_left    int32_t
 11031  	Foverall_right   int32_t
 11032  } /* xproto.h:2839:9 */
 11033  
 11034  // *
 11035  // @brief xcb_query_text_extents_reply_t
 11036  //
 11037  type xcb_query_text_extents_reply_t = xcb_query_text_extents_reply_t1 /* xproto.h:2851:3 */
 11038  
 11039  // *
 11040  // @brief xcb_str_t
 11041  //
 11042  type xcb_str_t1 = struct{ Fname_len uint8_t } /* xproto.h:2856:9 */
 11043  
 11044  // *
 11045  // @brief xcb_str_t
 11046  //
 11047  type xcb_str_t = xcb_str_t1 /* xproto.h:2858:3 */
 11048  
 11049  // *
 11050  // @brief xcb_str_iterator_t
 11051  //
 11052  type xcb_str_iterator_t1 = struct {
 11053  	Fdata  uintptr
 11054  	Frem   int32
 11055  	Findex int32
 11056  } /* xproto.h:2863:9 */
 11057  
 11058  // *
 11059  // @brief xcb_str_iterator_t
 11060  //
 11061  type xcb_str_iterator_t = xcb_str_iterator_t1 /* xproto.h:2867:3 */
 11062  
 11063  // *
 11064  // @brief xcb_list_fonts_cookie_t
 11065  //
 11066  type xcb_list_fonts_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2872:9 */
 11067  
 11068  // *
 11069  // @brief xcb_list_fonts_cookie_t
 11070  //
 11071  type xcb_list_fonts_cookie_t = xcb_list_fonts_cookie_t1 /* xproto.h:2874:3 */
 11072  
 11073  //* Opcode for xcb_list_fonts.
 11074  
 11075  // *
 11076  // @brief xcb_list_fonts_request_t
 11077  //
 11078  type xcb_list_fonts_request_t1 = struct {
 11079  	Fmajor_opcode uint8_t
 11080  	Fpad0         uint8_t
 11081  	Flength       uint16_t
 11082  	Fmax_names    uint16_t
 11083  	Fpattern_len  uint16_t
 11084  } /* xproto.h:2882:9 */
 11085  
 11086  //* Opcode for xcb_list_fonts.
 11087  
 11088  // *
 11089  // @brief xcb_list_fonts_request_t
 11090  //
 11091  type xcb_list_fonts_request_t = xcb_list_fonts_request_t1 /* xproto.h:2888:3 */
 11092  
 11093  // *
 11094  // @brief xcb_list_fonts_reply_t
 11095  //
 11096  type xcb_list_fonts_reply_t1 = struct {
 11097  	Fresponse_type uint8_t
 11098  	Fpad0          uint8_t
 11099  	Fsequence      uint16_t
 11100  	Flength        uint32_t
 11101  	Fnames_len     uint16_t
 11102  	Fpad1          [22]uint8_t
 11103  } /* xproto.h:2893:9 */
 11104  
 11105  // *
 11106  // @brief xcb_list_fonts_reply_t
 11107  //
 11108  type xcb_list_fonts_reply_t = xcb_list_fonts_reply_t1 /* xproto.h:2900:3 */
 11109  
 11110  // *
 11111  // @brief xcb_list_fonts_with_info_cookie_t
 11112  //
 11113  type xcb_list_fonts_with_info_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2905:9 */
 11114  
 11115  // *
 11116  // @brief xcb_list_fonts_with_info_cookie_t
 11117  //
 11118  type xcb_list_fonts_with_info_cookie_t = xcb_list_fonts_with_info_cookie_t1 /* xproto.h:2907:3 */
 11119  
 11120  //* Opcode for xcb_list_fonts_with_info.
 11121  
 11122  // *
 11123  // @brief xcb_list_fonts_with_info_request_t
 11124  //
 11125  type xcb_list_fonts_with_info_request_t1 = struct {
 11126  	Fmajor_opcode uint8_t
 11127  	Fpad0         uint8_t
 11128  	Flength       uint16_t
 11129  	Fmax_names    uint16_t
 11130  	Fpattern_len  uint16_t
 11131  } /* xproto.h:2915:9 */
 11132  
 11133  //* Opcode for xcb_list_fonts_with_info.
 11134  
 11135  // *
 11136  // @brief xcb_list_fonts_with_info_request_t
 11137  //
 11138  type xcb_list_fonts_with_info_request_t = xcb_list_fonts_with_info_request_t1 /* xproto.h:2921:3 */
 11139  
 11140  // *
 11141  // @brief xcb_list_fonts_with_info_reply_t
 11142  //
 11143  type xcb_list_fonts_with_info_reply_t1 = struct {
 11144  	Fresponse_type     uint8_t
 11145  	Fname_len          uint8_t
 11146  	Fsequence          uint16_t
 11147  	Flength            uint32_t
 11148  	Fmin_bounds        xcb_charinfo_t
 11149  	Fpad0              [4]uint8_t
 11150  	Fmax_bounds        xcb_charinfo_t
 11151  	Fpad1              [4]uint8_t
 11152  	Fmin_char_or_byte2 uint16_t
 11153  	Fmax_char_or_byte2 uint16_t
 11154  	Fdefault_char      uint16_t
 11155  	Fproperties_len    uint16_t
 11156  	Fdraw_direction    uint8_t
 11157  	Fmin_byte1         uint8_t
 11158  	Fmax_byte1         uint8_t
 11159  	Fall_chars_exist   uint8_t
 11160  	Ffont_ascent       int16_t
 11161  	Ffont_descent      int16_t
 11162  	Freplies_hint      uint32_t
 11163  } /* xproto.h:2926:9 */
 11164  
 11165  // *
 11166  // @brief xcb_list_fonts_with_info_reply_t
 11167  //
 11168  type xcb_list_fonts_with_info_reply_t = xcb_list_fonts_with_info_reply_t1 /* xproto.h:2946:3 */
 11169  
 11170  //* Opcode for xcb_set_font_path.
 11171  
 11172  // *
 11173  // @brief xcb_set_font_path_request_t
 11174  //
 11175  type xcb_set_font_path_request_t1 = struct {
 11176  	Fmajor_opcode uint8_t
 11177  	Fpad0         uint8_t
 11178  	Flength       uint16_t
 11179  	Ffont_qty     uint16_t
 11180  	Fpad1         [2]uint8_t
 11181  } /* xproto.h:2954:9 */
 11182  
 11183  //* Opcode for xcb_set_font_path.
 11184  
 11185  // *
 11186  // @brief xcb_set_font_path_request_t
 11187  //
 11188  type xcb_set_font_path_request_t = xcb_set_font_path_request_t1 /* xproto.h:2960:3 */
 11189  
 11190  // *
 11191  // @brief xcb_get_font_path_cookie_t
 11192  //
 11193  type xcb_get_font_path_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2965:9 */
 11194  
 11195  // *
 11196  // @brief xcb_get_font_path_cookie_t
 11197  //
 11198  type xcb_get_font_path_cookie_t = xcb_get_font_path_cookie_t1 /* xproto.h:2967:3 */
 11199  
 11200  //* Opcode for xcb_get_font_path.
 11201  
 11202  // *
 11203  // @brief xcb_get_font_path_request_t
 11204  //
 11205  type xcb_get_font_path_request_t1 = struct {
 11206  	Fmajor_opcode uint8_t
 11207  	Fpad0         uint8_t
 11208  	Flength       uint16_t
 11209  } /* xproto.h:2975:9 */
 11210  
 11211  //* Opcode for xcb_get_font_path.
 11212  
 11213  // *
 11214  // @brief xcb_get_font_path_request_t
 11215  //
 11216  type xcb_get_font_path_request_t = xcb_get_font_path_request_t1 /* xproto.h:2979:3 */
 11217  
 11218  // *
 11219  // @brief xcb_get_font_path_reply_t
 11220  //
 11221  type xcb_get_font_path_reply_t1 = struct {
 11222  	Fresponse_type uint8_t
 11223  	Fpad0          uint8_t
 11224  	Fsequence      uint16_t
 11225  	Flength        uint32_t
 11226  	Fpath_len      uint16_t
 11227  	Fpad1          [22]uint8_t
 11228  } /* xproto.h:2984:9 */
 11229  
 11230  // *
 11231  // @brief xcb_get_font_path_reply_t
 11232  //
 11233  type xcb_get_font_path_reply_t = xcb_get_font_path_reply_t1 /* xproto.h:2991:3 */
 11234  
 11235  //* Opcode for xcb_create_pixmap.
 11236  
 11237  // *
 11238  // @brief xcb_create_pixmap_request_t
 11239  //
 11240  type xcb_create_pixmap_request_t1 = struct {
 11241  	Fmajor_opcode uint8_t
 11242  	Fdepth        uint8_t
 11243  	Flength       uint16_t
 11244  	Fpid          xcb_pixmap_t
 11245  	Fdrawable     xcb_drawable_t
 11246  	Fwidth        uint16_t
 11247  	Fheight       uint16_t
 11248  } /* xproto.h:2999:9 */
 11249  
 11250  //* Opcode for xcb_create_pixmap.
 11251  
 11252  // *
 11253  // @brief xcb_create_pixmap_request_t
 11254  //
 11255  type xcb_create_pixmap_request_t = xcb_create_pixmap_request_t1 /* xproto.h:3007:3 */
 11256  
 11257  //* Opcode for xcb_free_pixmap.
 11258  
 11259  // *
 11260  // @brief xcb_free_pixmap_request_t
 11261  //
 11262  type xcb_free_pixmap_request_t1 = struct {
 11263  	Fmajor_opcode uint8_t
 11264  	Fpad0         uint8_t
 11265  	Flength       uint16_t
 11266  	Fpixmap       xcb_pixmap_t
 11267  } /* xproto.h:3015:9 */
 11268  
 11269  //* Opcode for xcb_free_pixmap.
 11270  
 11271  // *
 11272  // @brief xcb_free_pixmap_request_t
 11273  //
 11274  type xcb_free_pixmap_request_t = xcb_free_pixmap_request_t1 /* xproto.h:3020:3 */
 11275  
 11276  type xcb_gc_t = uint32 /* xproto.h:3169:3 */
 11277  
 11278  type xcb_gx_t = uint32 /* xproto.h:3188:3 */
 11279  
 11280  type xcb_line_style_t = uint32 /* xproto.h:3194:3 */
 11281  
 11282  type xcb_cap_style_t = uint32 /* xproto.h:3201:3 */
 11283  
 11284  type xcb_join_style_t = uint32 /* xproto.h:3207:3 */
 11285  
 11286  type xcb_fill_style_t = uint32 /* xproto.h:3214:3 */
 11287  
 11288  type xcb_fill_rule_t = uint32 /* xproto.h:3219:3 */
 11289  
 11290  type xcb_subwindow_mode_t = uint32 /* xproto.h:3224:3 */
 11291  
 11292  type xcb_arc_mode_t = uint32 /* xproto.h:3229:3 */
 11293  
 11294  // *
 11295  // @brief xcb_create_gc_value_list_t
 11296  //
 11297  type xcb_create_gc_value_list_t1 = struct {
 11298  	Ffunction              uint32_t
 11299  	Fplane_mask            uint32_t
 11300  	Fforeground            uint32_t
 11301  	Fbackground            uint32_t
 11302  	Fline_width            uint32_t
 11303  	Fline_style            uint32_t
 11304  	Fcap_style             uint32_t
 11305  	Fjoin_style            uint32_t
 11306  	Ffill_style            uint32_t
 11307  	Ffill_rule             uint32_t
 11308  	Ftile                  xcb_pixmap_t
 11309  	Fstipple               xcb_pixmap_t
 11310  	Ftile_stipple_x_origin int32_t
 11311  	Ftile_stipple_y_origin int32_t
 11312  	Ffont                  xcb_font_t
 11313  	Fsubwindow_mode        uint32_t
 11314  	Fgraphics_exposures    xcb_bool32_t
 11315  	Fclip_x_origin         int32_t
 11316  	Fclip_y_origin         int32_t
 11317  	Fclip_mask             xcb_pixmap_t
 11318  	Fdash_offset           uint32_t
 11319  	Fdashes                uint32_t
 11320  	Farc_mode              uint32_t
 11321  } /* xproto.h:3234:9 */
 11322  
 11323  // *
 11324  // @brief xcb_create_gc_value_list_t
 11325  //
 11326  type xcb_create_gc_value_list_t = xcb_create_gc_value_list_t1 /* xproto.h:3258:3 */
 11327  
 11328  //* Opcode for xcb_create_gc.
 11329  
 11330  // *
 11331  // @brief xcb_create_gc_request_t
 11332  //
 11333  type xcb_create_gc_request_t1 = struct {
 11334  	Fmajor_opcode uint8_t
 11335  	Fpad0         uint8_t
 11336  	Flength       uint16_t
 11337  	Fcid          xcb_gcontext_t
 11338  	Fdrawable     xcb_drawable_t
 11339  	Fvalue_mask   uint32_t
 11340  } /* xproto.h:3266:9 */
 11341  
 11342  //* Opcode for xcb_create_gc.
 11343  
 11344  // *
 11345  // @brief xcb_create_gc_request_t
 11346  //
 11347  type xcb_create_gc_request_t = xcb_create_gc_request_t1 /* xproto.h:3273:3 */
 11348  
 11349  // *
 11350  // @brief xcb_change_gc_value_list_t
 11351  //
 11352  type xcb_change_gc_value_list_t1 = struct {
 11353  	Ffunction              uint32_t
 11354  	Fplane_mask            uint32_t
 11355  	Fforeground            uint32_t
 11356  	Fbackground            uint32_t
 11357  	Fline_width            uint32_t
 11358  	Fline_style            uint32_t
 11359  	Fcap_style             uint32_t
 11360  	Fjoin_style            uint32_t
 11361  	Ffill_style            uint32_t
 11362  	Ffill_rule             uint32_t
 11363  	Ftile                  xcb_pixmap_t
 11364  	Fstipple               xcb_pixmap_t
 11365  	Ftile_stipple_x_origin int32_t
 11366  	Ftile_stipple_y_origin int32_t
 11367  	Ffont                  xcb_font_t
 11368  	Fsubwindow_mode        uint32_t
 11369  	Fgraphics_exposures    xcb_bool32_t
 11370  	Fclip_x_origin         int32_t
 11371  	Fclip_y_origin         int32_t
 11372  	Fclip_mask             xcb_pixmap_t
 11373  	Fdash_offset           uint32_t
 11374  	Fdashes                uint32_t
 11375  	Farc_mode              uint32_t
 11376  } /* xproto.h:3278:9 */
 11377  
 11378  // *
 11379  // @brief xcb_change_gc_value_list_t
 11380  //
 11381  type xcb_change_gc_value_list_t = xcb_change_gc_value_list_t1 /* xproto.h:3302:3 */
 11382  
 11383  //* Opcode for xcb_change_gc.
 11384  
 11385  // *
 11386  // @brief xcb_change_gc_request_t
 11387  //
 11388  type xcb_change_gc_request_t1 = struct {
 11389  	Fmajor_opcode uint8_t
 11390  	Fpad0         uint8_t
 11391  	Flength       uint16_t
 11392  	Fgc           xcb_gcontext_t
 11393  	Fvalue_mask   uint32_t
 11394  } /* xproto.h:3310:9 */
 11395  
 11396  //* Opcode for xcb_change_gc.
 11397  
 11398  // *
 11399  // @brief xcb_change_gc_request_t
 11400  //
 11401  type xcb_change_gc_request_t = xcb_change_gc_request_t1 /* xproto.h:3316:3 */
 11402  
 11403  //* Opcode for xcb_copy_gc.
 11404  
 11405  // *
 11406  // @brief xcb_copy_gc_request_t
 11407  //
 11408  type xcb_copy_gc_request_t1 = struct {
 11409  	Fmajor_opcode uint8_t
 11410  	Fpad0         uint8_t
 11411  	Flength       uint16_t
 11412  	Fsrc_gc       xcb_gcontext_t
 11413  	Fdst_gc       xcb_gcontext_t
 11414  	Fvalue_mask   uint32_t
 11415  } /* xproto.h:3324:9 */
 11416  
 11417  //* Opcode for xcb_copy_gc.
 11418  
 11419  // *
 11420  // @brief xcb_copy_gc_request_t
 11421  //
 11422  type xcb_copy_gc_request_t = xcb_copy_gc_request_t1 /* xproto.h:3331:3 */
 11423  
 11424  //* Opcode for xcb_set_dashes.
 11425  
 11426  // *
 11427  // @brief xcb_set_dashes_request_t
 11428  //
 11429  type xcb_set_dashes_request_t1 = struct {
 11430  	Fmajor_opcode uint8_t
 11431  	Fpad0         uint8_t
 11432  	Flength       uint16_t
 11433  	Fgc           xcb_gcontext_t
 11434  	Fdash_offset  uint16_t
 11435  	Fdashes_len   uint16_t
 11436  } /* xproto.h:3339:9 */
 11437  
 11438  //* Opcode for xcb_set_dashes.
 11439  
 11440  // *
 11441  // @brief xcb_set_dashes_request_t
 11442  //
 11443  type xcb_set_dashes_request_t = xcb_set_dashes_request_t1 /* xproto.h:3346:3 */
 11444  
 11445  type xcb_clip_ordering_t = uint32 /* xproto.h:3353:3 */
 11446  
 11447  //* Opcode for xcb_set_clip_rectangles.
 11448  
 11449  // *
 11450  // @brief xcb_set_clip_rectangles_request_t
 11451  //
 11452  type xcb_set_clip_rectangles_request_t1 = struct {
 11453  	Fmajor_opcode  uint8_t
 11454  	Fordering      uint8_t
 11455  	Flength        uint16_t
 11456  	Fgc            xcb_gcontext_t
 11457  	Fclip_x_origin int16_t
 11458  	Fclip_y_origin int16_t
 11459  } /* xproto.h:3361:9 */
 11460  
 11461  //* Opcode for xcb_set_clip_rectangles.
 11462  
 11463  // *
 11464  // @brief xcb_set_clip_rectangles_request_t
 11465  //
 11466  type xcb_set_clip_rectangles_request_t = xcb_set_clip_rectangles_request_t1 /* xproto.h:3368:3 */
 11467  
 11468  //* Opcode for xcb_free_gc.
 11469  
 11470  // *
 11471  // @brief xcb_free_gc_request_t
 11472  //
 11473  type xcb_free_gc_request_t1 = struct {
 11474  	Fmajor_opcode uint8_t
 11475  	Fpad0         uint8_t
 11476  	Flength       uint16_t
 11477  	Fgc           xcb_gcontext_t
 11478  } /* xproto.h:3376:9 */
 11479  
 11480  //* Opcode for xcb_free_gc.
 11481  
 11482  // *
 11483  // @brief xcb_free_gc_request_t
 11484  //
 11485  type xcb_free_gc_request_t = xcb_free_gc_request_t1 /* xproto.h:3381:3 */
 11486  
 11487  //* Opcode for xcb_clear_area.
 11488  
 11489  // *
 11490  // @brief xcb_clear_area_request_t
 11491  //
 11492  type xcb_clear_area_request_t1 = struct {
 11493  	Fmajor_opcode uint8_t
 11494  	Fexposures    uint8_t
 11495  	Flength       uint16_t
 11496  	Fwindow       xcb_window_t
 11497  	Fx            int16_t
 11498  	Fy            int16_t
 11499  	Fwidth        uint16_t
 11500  	Fheight       uint16_t
 11501  } /* xproto.h:3389:9 */
 11502  
 11503  //* Opcode for xcb_clear_area.
 11504  
 11505  // *
 11506  // @brief xcb_clear_area_request_t
 11507  //
 11508  type xcb_clear_area_request_t = xcb_clear_area_request_t1 /* xproto.h:3398:3 */
 11509  
 11510  //* Opcode for xcb_copy_area.
 11511  
 11512  // *
 11513  // @brief xcb_copy_area_request_t
 11514  //
 11515  type xcb_copy_area_request_t1 = struct {
 11516  	Fmajor_opcode uint8_t
 11517  	Fpad0         uint8_t
 11518  	Flength       uint16_t
 11519  	Fsrc_drawable xcb_drawable_t
 11520  	Fdst_drawable xcb_drawable_t
 11521  	Fgc           xcb_gcontext_t
 11522  	Fsrc_x        int16_t
 11523  	Fsrc_y        int16_t
 11524  	Fdst_x        int16_t
 11525  	Fdst_y        int16_t
 11526  	Fwidth        uint16_t
 11527  	Fheight       uint16_t
 11528  } /* xproto.h:3406:9 */
 11529  
 11530  //* Opcode for xcb_copy_area.
 11531  
 11532  // *
 11533  // @brief xcb_copy_area_request_t
 11534  //
 11535  type xcb_copy_area_request_t = xcb_copy_area_request_t1 /* xproto.h:3419:3 */
 11536  
 11537  //* Opcode for xcb_copy_plane.
 11538  
 11539  // *
 11540  // @brief xcb_copy_plane_request_t
 11541  //
 11542  type xcb_copy_plane_request_t1 = struct {
 11543  	Fmajor_opcode uint8_t
 11544  	Fpad0         uint8_t
 11545  	Flength       uint16_t
 11546  	Fsrc_drawable xcb_drawable_t
 11547  	Fdst_drawable xcb_drawable_t
 11548  	Fgc           xcb_gcontext_t
 11549  	Fsrc_x        int16_t
 11550  	Fsrc_y        int16_t
 11551  	Fdst_x        int16_t
 11552  	Fdst_y        int16_t
 11553  	Fwidth        uint16_t
 11554  	Fheight       uint16_t
 11555  	Fbit_plane    uint32_t
 11556  } /* xproto.h:3427:9 */
 11557  
 11558  //* Opcode for xcb_copy_plane.
 11559  
 11560  // *
 11561  // @brief xcb_copy_plane_request_t
 11562  //
 11563  type xcb_copy_plane_request_t = xcb_copy_plane_request_t1 /* xproto.h:3441:3 */
 11564  
 11565  type xcb_coord_mode_t = uint32 /* xproto.h:3450:3 */
 11566  
 11567  //* Opcode for xcb_poly_point.
 11568  
 11569  // *
 11570  // @brief xcb_poly_point_request_t
 11571  //
 11572  type xcb_poly_point_request_t1 = struct {
 11573  	Fmajor_opcode    uint8_t
 11574  	Fcoordinate_mode uint8_t
 11575  	Flength          uint16_t
 11576  	Fdrawable        xcb_drawable_t
 11577  	Fgc              xcb_gcontext_t
 11578  } /* xproto.h:3458:9 */
 11579  
 11580  //* Opcode for xcb_poly_point.
 11581  
 11582  // *
 11583  // @brief xcb_poly_point_request_t
 11584  //
 11585  type xcb_poly_point_request_t = xcb_poly_point_request_t1 /* xproto.h:3464:3 */
 11586  
 11587  //* Opcode for xcb_poly_line.
 11588  
 11589  // *
 11590  // @brief xcb_poly_line_request_t
 11591  //
 11592  type xcb_poly_line_request_t1 = struct {
 11593  	Fmajor_opcode    uint8_t
 11594  	Fcoordinate_mode uint8_t
 11595  	Flength          uint16_t
 11596  	Fdrawable        xcb_drawable_t
 11597  	Fgc              xcb_gcontext_t
 11598  } /* xproto.h:3472:9 */
 11599  
 11600  //* Opcode for xcb_poly_line.
 11601  
 11602  // *
 11603  // @brief xcb_poly_line_request_t
 11604  //
 11605  type xcb_poly_line_request_t = xcb_poly_line_request_t1 /* xproto.h:3478:3 */
 11606  
 11607  // *
 11608  // @brief xcb_segment_t
 11609  //
 11610  type xcb_segment_t1 = struct {
 11611  	Fx1 int16_t
 11612  	Fy1 int16_t
 11613  	Fx2 int16_t
 11614  	Fy2 int16_t
 11615  } /* xproto.h:3483:9 */
 11616  
 11617  // *
 11618  // @brief xcb_segment_t
 11619  //
 11620  type xcb_segment_t = xcb_segment_t1 /* xproto.h:3488:3 */
 11621  
 11622  // *
 11623  // @brief xcb_segment_iterator_t
 11624  //
 11625  type xcb_segment_iterator_t1 = struct {
 11626  	Fdata  uintptr
 11627  	Frem   int32
 11628  	Findex int32
 11629  } /* xproto.h:3493:9 */
 11630  
 11631  // *
 11632  // @brief xcb_segment_iterator_t
 11633  //
 11634  type xcb_segment_iterator_t = xcb_segment_iterator_t1 /* xproto.h:3497:3 */
 11635  
 11636  //* Opcode for xcb_poly_segment.
 11637  
 11638  // *
 11639  // @brief xcb_poly_segment_request_t
 11640  //
 11641  type xcb_poly_segment_request_t1 = struct {
 11642  	Fmajor_opcode uint8_t
 11643  	Fpad0         uint8_t
 11644  	Flength       uint16_t
 11645  	Fdrawable     xcb_drawable_t
 11646  	Fgc           xcb_gcontext_t
 11647  } /* xproto.h:3505:9 */
 11648  
 11649  //* Opcode for xcb_poly_segment.
 11650  
 11651  // *
 11652  // @brief xcb_poly_segment_request_t
 11653  //
 11654  type xcb_poly_segment_request_t = xcb_poly_segment_request_t1 /* xproto.h:3511:3 */
 11655  
 11656  //* Opcode for xcb_poly_rectangle.
 11657  
 11658  // *
 11659  // @brief xcb_poly_rectangle_request_t
 11660  //
 11661  type xcb_poly_rectangle_request_t1 = struct {
 11662  	Fmajor_opcode uint8_t
 11663  	Fpad0         uint8_t
 11664  	Flength       uint16_t
 11665  	Fdrawable     xcb_drawable_t
 11666  	Fgc           xcb_gcontext_t
 11667  } /* xproto.h:3519:9 */
 11668  
 11669  //* Opcode for xcb_poly_rectangle.
 11670  
 11671  // *
 11672  // @brief xcb_poly_rectangle_request_t
 11673  //
 11674  type xcb_poly_rectangle_request_t = xcb_poly_rectangle_request_t1 /* xproto.h:3525:3 */
 11675  
 11676  //* Opcode for xcb_poly_arc.
 11677  
 11678  // *
 11679  // @brief xcb_poly_arc_request_t
 11680  //
 11681  type xcb_poly_arc_request_t1 = struct {
 11682  	Fmajor_opcode uint8_t
 11683  	Fpad0         uint8_t
 11684  	Flength       uint16_t
 11685  	Fdrawable     xcb_drawable_t
 11686  	Fgc           xcb_gcontext_t
 11687  } /* xproto.h:3533:9 */
 11688  
 11689  //* Opcode for xcb_poly_arc.
 11690  
 11691  // *
 11692  // @brief xcb_poly_arc_request_t
 11693  //
 11694  type xcb_poly_arc_request_t = xcb_poly_arc_request_t1 /* xproto.h:3539:3 */
 11695  
 11696  type xcb_poly_shape_t = uint32 /* xproto.h:3545:3 */
 11697  
 11698  //* Opcode for xcb_fill_poly.
 11699  
 11700  // *
 11701  // @brief xcb_fill_poly_request_t
 11702  //
 11703  type xcb_fill_poly_request_t1 = struct {
 11704  	Fmajor_opcode    uint8_t
 11705  	Fpad0            uint8_t
 11706  	Flength          uint16_t
 11707  	Fdrawable        xcb_drawable_t
 11708  	Fgc              xcb_gcontext_t
 11709  	Fshape           uint8_t
 11710  	Fcoordinate_mode uint8_t
 11711  	Fpad1            [2]uint8_t
 11712  } /* xproto.h:3553:9 */
 11713  
 11714  //* Opcode for xcb_fill_poly.
 11715  
 11716  // *
 11717  // @brief xcb_fill_poly_request_t
 11718  //
 11719  type xcb_fill_poly_request_t = xcb_fill_poly_request_t1 /* xproto.h:3562:3 */
 11720  
 11721  //* Opcode for xcb_poly_fill_rectangle.
 11722  
 11723  // *
 11724  // @brief xcb_poly_fill_rectangle_request_t
 11725  //
 11726  type xcb_poly_fill_rectangle_request_t1 = struct {
 11727  	Fmajor_opcode uint8_t
 11728  	Fpad0         uint8_t
 11729  	Flength       uint16_t
 11730  	Fdrawable     xcb_drawable_t
 11731  	Fgc           xcb_gcontext_t
 11732  } /* xproto.h:3570:9 */
 11733  
 11734  //* Opcode for xcb_poly_fill_rectangle.
 11735  
 11736  // *
 11737  // @brief xcb_poly_fill_rectangle_request_t
 11738  //
 11739  type xcb_poly_fill_rectangle_request_t = xcb_poly_fill_rectangle_request_t1 /* xproto.h:3576:3 */
 11740  
 11741  //* Opcode for xcb_poly_fill_arc.
 11742  
 11743  // *
 11744  // @brief xcb_poly_fill_arc_request_t
 11745  //
 11746  type xcb_poly_fill_arc_request_t1 = struct {
 11747  	Fmajor_opcode uint8_t
 11748  	Fpad0         uint8_t
 11749  	Flength       uint16_t
 11750  	Fdrawable     xcb_drawable_t
 11751  	Fgc           xcb_gcontext_t
 11752  } /* xproto.h:3584:9 */
 11753  
 11754  //* Opcode for xcb_poly_fill_arc.
 11755  
 11756  // *
 11757  // @brief xcb_poly_fill_arc_request_t
 11758  //
 11759  type xcb_poly_fill_arc_request_t = xcb_poly_fill_arc_request_t1 /* xproto.h:3590:3 */
 11760  
 11761  type xcb_image_format_t = uint32 /* xproto.h:3596:3 */
 11762  
 11763  //* Opcode for xcb_put_image.
 11764  
 11765  // *
 11766  // @brief xcb_put_image_request_t
 11767  //
 11768  type xcb_put_image_request_t1 = struct {
 11769  	Fmajor_opcode uint8_t
 11770  	Fformat       uint8_t
 11771  	Flength       uint16_t
 11772  	Fdrawable     xcb_drawable_t
 11773  	Fgc           xcb_gcontext_t
 11774  	Fwidth        uint16_t
 11775  	Fheight       uint16_t
 11776  	Fdst_x        int16_t
 11777  	Fdst_y        int16_t
 11778  	Fleft_pad     uint8_t
 11779  	Fdepth        uint8_t
 11780  	Fpad0         [2]uint8_t
 11781  } /* xproto.h:3604:9 */
 11782  
 11783  //* Opcode for xcb_put_image.
 11784  
 11785  // *
 11786  // @brief xcb_put_image_request_t
 11787  //
 11788  type xcb_put_image_request_t = xcb_put_image_request_t1 /* xproto.h:3617:3 */
 11789  
 11790  // *
 11791  // @brief xcb_get_image_cookie_t
 11792  //
 11793  type xcb_get_image_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3622:9 */
 11794  
 11795  // *
 11796  // @brief xcb_get_image_cookie_t
 11797  //
 11798  type xcb_get_image_cookie_t = xcb_get_image_cookie_t1 /* xproto.h:3624:3 */
 11799  
 11800  //* Opcode for xcb_get_image.
 11801  
 11802  // *
 11803  // @brief xcb_get_image_request_t
 11804  //
 11805  type xcb_get_image_request_t1 = struct {
 11806  	Fmajor_opcode uint8_t
 11807  	Fformat       uint8_t
 11808  	Flength       uint16_t
 11809  	Fdrawable     xcb_drawable_t
 11810  	Fx            int16_t
 11811  	Fy            int16_t
 11812  	Fwidth        uint16_t
 11813  	Fheight       uint16_t
 11814  	Fplane_mask   uint32_t
 11815  } /* xproto.h:3632:9 */
 11816  
 11817  //* Opcode for xcb_get_image.
 11818  
 11819  // *
 11820  // @brief xcb_get_image_request_t
 11821  //
 11822  type xcb_get_image_request_t = xcb_get_image_request_t1 /* xproto.h:3642:3 */
 11823  
 11824  // *
 11825  // @brief xcb_get_image_reply_t
 11826  //
 11827  type xcb_get_image_reply_t1 = struct {
 11828  	Fresponse_type uint8_t
 11829  	Fdepth         uint8_t
 11830  	Fsequence      uint16_t
 11831  	Flength        uint32_t
 11832  	Fvisual        xcb_visualid_t
 11833  	Fpad0          [20]uint8_t
 11834  } /* xproto.h:3647:9 */
 11835  
 11836  // *
 11837  // @brief xcb_get_image_reply_t
 11838  //
 11839  type xcb_get_image_reply_t = xcb_get_image_reply_t1 /* xproto.h:3654:3 */
 11840  
 11841  //* Opcode for xcb_poly_text_8.
 11842  
 11843  // *
 11844  // @brief xcb_poly_text_8_request_t
 11845  //
 11846  type xcb_poly_text_8_request_t1 = struct {
 11847  	Fmajor_opcode uint8_t
 11848  	Fpad0         uint8_t
 11849  	Flength       uint16_t
 11850  	Fdrawable     xcb_drawable_t
 11851  	Fgc           xcb_gcontext_t
 11852  	Fx            int16_t
 11853  	Fy            int16_t
 11854  } /* xproto.h:3662:9 */
 11855  
 11856  //* Opcode for xcb_poly_text_8.
 11857  
 11858  // *
 11859  // @brief xcb_poly_text_8_request_t
 11860  //
 11861  type xcb_poly_text_8_request_t = xcb_poly_text_8_request_t1 /* xproto.h:3670:3 */
 11862  
 11863  //* Opcode for xcb_poly_text_16.
 11864  
 11865  // *
 11866  // @brief xcb_poly_text_16_request_t
 11867  //
 11868  type xcb_poly_text_16_request_t1 = struct {
 11869  	Fmajor_opcode uint8_t
 11870  	Fpad0         uint8_t
 11871  	Flength       uint16_t
 11872  	Fdrawable     xcb_drawable_t
 11873  	Fgc           xcb_gcontext_t
 11874  	Fx            int16_t
 11875  	Fy            int16_t
 11876  } /* xproto.h:3678:9 */
 11877  
 11878  //* Opcode for xcb_poly_text_16.
 11879  
 11880  // *
 11881  // @brief xcb_poly_text_16_request_t
 11882  //
 11883  type xcb_poly_text_16_request_t = xcb_poly_text_16_request_t1 /* xproto.h:3686:3 */
 11884  
 11885  //* Opcode for xcb_image_text_8.
 11886  
 11887  // *
 11888  // @brief xcb_image_text_8_request_t
 11889  //
 11890  type xcb_image_text_8_request_t1 = struct {
 11891  	Fmajor_opcode uint8_t
 11892  	Fstring_len   uint8_t
 11893  	Flength       uint16_t
 11894  	Fdrawable     xcb_drawable_t
 11895  	Fgc           xcb_gcontext_t
 11896  	Fx            int16_t
 11897  	Fy            int16_t
 11898  } /* xproto.h:3694:9 */
 11899  
 11900  //* Opcode for xcb_image_text_8.
 11901  
 11902  // *
 11903  // @brief xcb_image_text_8_request_t
 11904  //
 11905  type xcb_image_text_8_request_t = xcb_image_text_8_request_t1 /* xproto.h:3702:3 */
 11906  
 11907  //* Opcode for xcb_image_text_16.
 11908  
 11909  // *
 11910  // @brief xcb_image_text_16_request_t
 11911  //
 11912  type xcb_image_text_16_request_t1 = struct {
 11913  	Fmajor_opcode uint8_t
 11914  	Fstring_len   uint8_t
 11915  	Flength       uint16_t
 11916  	Fdrawable     xcb_drawable_t
 11917  	Fgc           xcb_gcontext_t
 11918  	Fx            int16_t
 11919  	Fy            int16_t
 11920  } /* xproto.h:3710:9 */
 11921  
 11922  //* Opcode for xcb_image_text_16.
 11923  
 11924  // *
 11925  // @brief xcb_image_text_16_request_t
 11926  //
 11927  type xcb_image_text_16_request_t = xcb_image_text_16_request_t1 /* xproto.h:3718:3 */
 11928  
 11929  type xcb_colormap_alloc_t = uint32 /* xproto.h:3723:3 */
 11930  
 11931  //* Opcode for xcb_create_colormap.
 11932  
 11933  // *
 11934  // @brief xcb_create_colormap_request_t
 11935  //
 11936  type xcb_create_colormap_request_t1 = struct {
 11937  	Fmajor_opcode uint8_t
 11938  	Falloc        uint8_t
 11939  	Flength       uint16_t
 11940  	Fmid          xcb_colormap_t
 11941  	Fwindow       xcb_window_t
 11942  	Fvisual       xcb_visualid_t
 11943  } /* xproto.h:3731:9 */
 11944  
 11945  //* Opcode for xcb_create_colormap.
 11946  
 11947  // *
 11948  // @brief xcb_create_colormap_request_t
 11949  //
 11950  type xcb_create_colormap_request_t = xcb_create_colormap_request_t1 /* xproto.h:3738:3 */
 11951  
 11952  //* Opcode for xcb_free_colormap.
 11953  
 11954  // *
 11955  // @brief xcb_free_colormap_request_t
 11956  //
 11957  type xcb_free_colormap_request_t1 = struct {
 11958  	Fmajor_opcode uint8_t
 11959  	Fpad0         uint8_t
 11960  	Flength       uint16_t
 11961  	Fcmap         xcb_colormap_t
 11962  } /* xproto.h:3746:9 */
 11963  
 11964  //* Opcode for xcb_free_colormap.
 11965  
 11966  // *
 11967  // @brief xcb_free_colormap_request_t
 11968  //
 11969  type xcb_free_colormap_request_t = xcb_free_colormap_request_t1 /* xproto.h:3751:3 */
 11970  
 11971  //* Opcode for xcb_copy_colormap_and_free.
 11972  
 11973  // *
 11974  // @brief xcb_copy_colormap_and_free_request_t
 11975  //
 11976  type xcb_copy_colormap_and_free_request_t1 = struct {
 11977  	Fmajor_opcode uint8_t
 11978  	Fpad0         uint8_t
 11979  	Flength       uint16_t
 11980  	Fmid          xcb_colormap_t
 11981  	Fsrc_cmap     xcb_colormap_t
 11982  } /* xproto.h:3759:9 */
 11983  
 11984  //* Opcode for xcb_copy_colormap_and_free.
 11985  
 11986  // *
 11987  // @brief xcb_copy_colormap_and_free_request_t
 11988  //
 11989  type xcb_copy_colormap_and_free_request_t = xcb_copy_colormap_and_free_request_t1 /* xproto.h:3765:3 */
 11990  
 11991  //* Opcode for xcb_install_colormap.
 11992  
 11993  // *
 11994  // @brief xcb_install_colormap_request_t
 11995  //
 11996  type xcb_install_colormap_request_t1 = struct {
 11997  	Fmajor_opcode uint8_t
 11998  	Fpad0         uint8_t
 11999  	Flength       uint16_t
 12000  	Fcmap         xcb_colormap_t
 12001  } /* xproto.h:3773:9 */
 12002  
 12003  //* Opcode for xcb_install_colormap.
 12004  
 12005  // *
 12006  // @brief xcb_install_colormap_request_t
 12007  //
 12008  type xcb_install_colormap_request_t = xcb_install_colormap_request_t1 /* xproto.h:3778:3 */
 12009  
 12010  //* Opcode for xcb_uninstall_colormap.
 12011  
 12012  // *
 12013  // @brief xcb_uninstall_colormap_request_t
 12014  //
 12015  type xcb_uninstall_colormap_request_t1 = struct {
 12016  	Fmajor_opcode uint8_t
 12017  	Fpad0         uint8_t
 12018  	Flength       uint16_t
 12019  	Fcmap         xcb_colormap_t
 12020  } /* xproto.h:3786:9 */
 12021  
 12022  //* Opcode for xcb_uninstall_colormap.
 12023  
 12024  // *
 12025  // @brief xcb_uninstall_colormap_request_t
 12026  //
 12027  type xcb_uninstall_colormap_request_t = xcb_uninstall_colormap_request_t1 /* xproto.h:3791:3 */
 12028  
 12029  // *
 12030  // @brief xcb_list_installed_colormaps_cookie_t
 12031  //
 12032  type xcb_list_installed_colormaps_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3796:9 */
 12033  
 12034  // *
 12035  // @brief xcb_list_installed_colormaps_cookie_t
 12036  //
 12037  type xcb_list_installed_colormaps_cookie_t = xcb_list_installed_colormaps_cookie_t1 /* xproto.h:3798:3 */
 12038  
 12039  //* Opcode for xcb_list_installed_colormaps.
 12040  
 12041  // *
 12042  // @brief xcb_list_installed_colormaps_request_t
 12043  //
 12044  type xcb_list_installed_colormaps_request_t1 = struct {
 12045  	Fmajor_opcode uint8_t
 12046  	Fpad0         uint8_t
 12047  	Flength       uint16_t
 12048  	Fwindow       xcb_window_t
 12049  } /* xproto.h:3806:9 */
 12050  
 12051  //* Opcode for xcb_list_installed_colormaps.
 12052  
 12053  // *
 12054  // @brief xcb_list_installed_colormaps_request_t
 12055  //
 12056  type xcb_list_installed_colormaps_request_t = xcb_list_installed_colormaps_request_t1 /* xproto.h:3811:3 */
 12057  
 12058  // *
 12059  // @brief xcb_list_installed_colormaps_reply_t
 12060  //
 12061  type xcb_list_installed_colormaps_reply_t1 = struct {
 12062  	Fresponse_type uint8_t
 12063  	Fpad0          uint8_t
 12064  	Fsequence      uint16_t
 12065  	Flength        uint32_t
 12066  	Fcmaps_len     uint16_t
 12067  	Fpad1          [22]uint8_t
 12068  } /* xproto.h:3816:9 */
 12069  
 12070  // *
 12071  // @brief xcb_list_installed_colormaps_reply_t
 12072  //
 12073  type xcb_list_installed_colormaps_reply_t = xcb_list_installed_colormaps_reply_t1 /* xproto.h:3823:3 */
 12074  
 12075  // *
 12076  // @brief xcb_alloc_color_cookie_t
 12077  //
 12078  type xcb_alloc_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3828:9 */
 12079  
 12080  // *
 12081  // @brief xcb_alloc_color_cookie_t
 12082  //
 12083  type xcb_alloc_color_cookie_t = xcb_alloc_color_cookie_t1 /* xproto.h:3830:3 */
 12084  
 12085  //* Opcode for xcb_alloc_color.
 12086  
 12087  // *
 12088  // @brief xcb_alloc_color_request_t
 12089  //
 12090  type xcb_alloc_color_request_t1 = struct {
 12091  	Fmajor_opcode uint8_t
 12092  	Fpad0         uint8_t
 12093  	Flength       uint16_t
 12094  	Fcmap         xcb_colormap_t
 12095  	Fred          uint16_t
 12096  	Fgreen        uint16_t
 12097  	Fblue         uint16_t
 12098  	Fpad1         [2]uint8_t
 12099  } /* xproto.h:3838:9 */
 12100  
 12101  //* Opcode for xcb_alloc_color.
 12102  
 12103  // *
 12104  // @brief xcb_alloc_color_request_t
 12105  //
 12106  type xcb_alloc_color_request_t = xcb_alloc_color_request_t1 /* xproto.h:3847:3 */
 12107  
 12108  // *
 12109  // @brief xcb_alloc_color_reply_t
 12110  //
 12111  type xcb_alloc_color_reply_t1 = struct {
 12112  	Fresponse_type uint8_t
 12113  	Fpad0          uint8_t
 12114  	Fsequence      uint16_t
 12115  	Flength        uint32_t
 12116  	Fred           uint16_t
 12117  	Fgreen         uint16_t
 12118  	Fblue          uint16_t
 12119  	Fpad1          [2]uint8_t
 12120  	Fpixel         uint32_t
 12121  } /* xproto.h:3852:9 */
 12122  
 12123  // *
 12124  // @brief xcb_alloc_color_reply_t
 12125  //
 12126  type xcb_alloc_color_reply_t = xcb_alloc_color_reply_t1 /* xproto.h:3862:3 */
 12127  
 12128  // *
 12129  // @brief xcb_alloc_named_color_cookie_t
 12130  //
 12131  type xcb_alloc_named_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3867:9 */
 12132  
 12133  // *
 12134  // @brief xcb_alloc_named_color_cookie_t
 12135  //
 12136  type xcb_alloc_named_color_cookie_t = xcb_alloc_named_color_cookie_t1 /* xproto.h:3869:3 */
 12137  
 12138  //* Opcode for xcb_alloc_named_color.
 12139  
 12140  // *
 12141  // @brief xcb_alloc_named_color_request_t
 12142  //
 12143  type xcb_alloc_named_color_request_t1 = struct {
 12144  	Fmajor_opcode uint8_t
 12145  	Fpad0         uint8_t
 12146  	Flength       uint16_t
 12147  	Fcmap         xcb_colormap_t
 12148  	Fname_len     uint16_t
 12149  	Fpad1         [2]uint8_t
 12150  } /* xproto.h:3877:9 */
 12151  
 12152  //* Opcode for xcb_alloc_named_color.
 12153  
 12154  // *
 12155  // @brief xcb_alloc_named_color_request_t
 12156  //
 12157  type xcb_alloc_named_color_request_t = xcb_alloc_named_color_request_t1 /* xproto.h:3884:3 */
 12158  
 12159  // *
 12160  // @brief xcb_alloc_named_color_reply_t
 12161  //
 12162  type xcb_alloc_named_color_reply_t1 = struct {
 12163  	Fresponse_type uint8_t
 12164  	Fpad0          uint8_t
 12165  	Fsequence      uint16_t
 12166  	Flength        uint32_t
 12167  	Fpixel         uint32_t
 12168  	Fexact_red     uint16_t
 12169  	Fexact_green   uint16_t
 12170  	Fexact_blue    uint16_t
 12171  	Fvisual_red    uint16_t
 12172  	Fvisual_green  uint16_t
 12173  	Fvisual_blue   uint16_t
 12174  } /* xproto.h:3889:9 */
 12175  
 12176  // *
 12177  // @brief xcb_alloc_named_color_reply_t
 12178  //
 12179  type xcb_alloc_named_color_reply_t = xcb_alloc_named_color_reply_t1 /* xproto.h:3901:3 */
 12180  
 12181  // *
 12182  // @brief xcb_alloc_color_cells_cookie_t
 12183  //
 12184  type xcb_alloc_color_cells_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3906:9 */
 12185  
 12186  // *
 12187  // @brief xcb_alloc_color_cells_cookie_t
 12188  //
 12189  type xcb_alloc_color_cells_cookie_t = xcb_alloc_color_cells_cookie_t1 /* xproto.h:3908:3 */
 12190  
 12191  //* Opcode for xcb_alloc_color_cells.
 12192  
 12193  // *
 12194  // @brief xcb_alloc_color_cells_request_t
 12195  //
 12196  type xcb_alloc_color_cells_request_t1 = struct {
 12197  	Fmajor_opcode uint8_t
 12198  	Fcontiguous   uint8_t
 12199  	Flength       uint16_t
 12200  	Fcmap         xcb_colormap_t
 12201  	Fcolors       uint16_t
 12202  	Fplanes       uint16_t
 12203  } /* xproto.h:3916:9 */
 12204  
 12205  //* Opcode for xcb_alloc_color_cells.
 12206  
 12207  // *
 12208  // @brief xcb_alloc_color_cells_request_t
 12209  //
 12210  type xcb_alloc_color_cells_request_t = xcb_alloc_color_cells_request_t1 /* xproto.h:3923:3 */
 12211  
 12212  // *
 12213  // @brief xcb_alloc_color_cells_reply_t
 12214  //
 12215  type xcb_alloc_color_cells_reply_t1 = struct {
 12216  	Fresponse_type uint8_t
 12217  	Fpad0          uint8_t
 12218  	Fsequence      uint16_t
 12219  	Flength        uint32_t
 12220  	Fpixels_len    uint16_t
 12221  	Fmasks_len     uint16_t
 12222  	Fpad1          [20]uint8_t
 12223  } /* xproto.h:3928:9 */
 12224  
 12225  // *
 12226  // @brief xcb_alloc_color_cells_reply_t
 12227  //
 12228  type xcb_alloc_color_cells_reply_t = xcb_alloc_color_cells_reply_t1 /* xproto.h:3936:3 */
 12229  
 12230  // *
 12231  // @brief xcb_alloc_color_planes_cookie_t
 12232  //
 12233  type xcb_alloc_color_planes_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3941:9 */
 12234  
 12235  // *
 12236  // @brief xcb_alloc_color_planes_cookie_t
 12237  //
 12238  type xcb_alloc_color_planes_cookie_t = xcb_alloc_color_planes_cookie_t1 /* xproto.h:3943:3 */
 12239  
 12240  //* Opcode for xcb_alloc_color_planes.
 12241  
 12242  // *
 12243  // @brief xcb_alloc_color_planes_request_t
 12244  //
 12245  type xcb_alloc_color_planes_request_t1 = struct {
 12246  	Fmajor_opcode uint8_t
 12247  	Fcontiguous   uint8_t
 12248  	Flength       uint16_t
 12249  	Fcmap         xcb_colormap_t
 12250  	Fcolors       uint16_t
 12251  	Freds         uint16_t
 12252  	Fgreens       uint16_t
 12253  	Fblues        uint16_t
 12254  } /* xproto.h:3951:9 */
 12255  
 12256  //* Opcode for xcb_alloc_color_planes.
 12257  
 12258  // *
 12259  // @brief xcb_alloc_color_planes_request_t
 12260  //
 12261  type xcb_alloc_color_planes_request_t = xcb_alloc_color_planes_request_t1 /* xproto.h:3960:3 */
 12262  
 12263  // *
 12264  // @brief xcb_alloc_color_planes_reply_t
 12265  //
 12266  type xcb_alloc_color_planes_reply_t1 = struct {
 12267  	Fresponse_type uint8_t
 12268  	Fpad0          uint8_t
 12269  	Fsequence      uint16_t
 12270  	Flength        uint32_t
 12271  	Fpixels_len    uint16_t
 12272  	Fpad1          [2]uint8_t
 12273  	Fred_mask      uint32_t
 12274  	Fgreen_mask    uint32_t
 12275  	Fblue_mask     uint32_t
 12276  	Fpad2          [8]uint8_t
 12277  } /* xproto.h:3965:9 */
 12278  
 12279  // *
 12280  // @brief xcb_alloc_color_planes_reply_t
 12281  //
 12282  type xcb_alloc_color_planes_reply_t = xcb_alloc_color_planes_reply_t1 /* xproto.h:3976:3 */
 12283  
 12284  //* Opcode for xcb_free_colors.
 12285  
 12286  // *
 12287  // @brief xcb_free_colors_request_t
 12288  //
 12289  type xcb_free_colors_request_t1 = struct {
 12290  	Fmajor_opcode uint8_t
 12291  	Fpad0         uint8_t
 12292  	Flength       uint16_t
 12293  	Fcmap         xcb_colormap_t
 12294  	Fplane_mask   uint32_t
 12295  } /* xproto.h:3984:9 */
 12296  
 12297  //* Opcode for xcb_free_colors.
 12298  
 12299  // *
 12300  // @brief xcb_free_colors_request_t
 12301  //
 12302  type xcb_free_colors_request_t = xcb_free_colors_request_t1 /* xproto.h:3990:3 */
 12303  
 12304  type xcb_color_flag_t = uint32 /* xproto.h:3996:3 */
 12305  
 12306  // *
 12307  // @brief xcb_coloritem_t
 12308  //
 12309  type xcb_coloritem_t1 = struct {
 12310  	Fpixel uint32_t
 12311  	Fred   uint16_t
 12312  	Fgreen uint16_t
 12313  	Fblue  uint16_t
 12314  	Fflags uint8_t
 12315  	Fpad0  uint8_t
 12316  } /* xproto.h:4001:9 */
 12317  
 12318  // *
 12319  // @brief xcb_coloritem_t
 12320  //
 12321  type xcb_coloritem_t = xcb_coloritem_t1 /* xproto.h:4008:3 */
 12322  
 12323  // *
 12324  // @brief xcb_coloritem_iterator_t
 12325  //
 12326  type xcb_coloritem_iterator_t1 = struct {
 12327  	Fdata  uintptr
 12328  	Frem   int32
 12329  	Findex int32
 12330  } /* xproto.h:4013:9 */
 12331  
 12332  // *
 12333  // @brief xcb_coloritem_iterator_t
 12334  //
 12335  type xcb_coloritem_iterator_t = xcb_coloritem_iterator_t1 /* xproto.h:4017:3 */
 12336  
 12337  //* Opcode for xcb_store_colors.
 12338  
 12339  // *
 12340  // @brief xcb_store_colors_request_t
 12341  //
 12342  type xcb_store_colors_request_t1 = struct {
 12343  	Fmajor_opcode uint8_t
 12344  	Fpad0         uint8_t
 12345  	Flength       uint16_t
 12346  	Fcmap         xcb_colormap_t
 12347  } /* xproto.h:4025:9 */
 12348  
 12349  //* Opcode for xcb_store_colors.
 12350  
 12351  // *
 12352  // @brief xcb_store_colors_request_t
 12353  //
 12354  type xcb_store_colors_request_t = xcb_store_colors_request_t1 /* xproto.h:4030:3 */
 12355  
 12356  //* Opcode for xcb_store_named_color.
 12357  
 12358  // *
 12359  // @brief xcb_store_named_color_request_t
 12360  //
 12361  type xcb_store_named_color_request_t1 = struct {
 12362  	Fmajor_opcode uint8_t
 12363  	Fflags        uint8_t
 12364  	Flength       uint16_t
 12365  	Fcmap         xcb_colormap_t
 12366  	Fpixel        uint32_t
 12367  	Fname_len     uint16_t
 12368  	Fpad0         [2]uint8_t
 12369  } /* xproto.h:4038:9 */
 12370  
 12371  //* Opcode for xcb_store_named_color.
 12372  
 12373  // *
 12374  // @brief xcb_store_named_color_request_t
 12375  //
 12376  type xcb_store_named_color_request_t = xcb_store_named_color_request_t1 /* xproto.h:4046:3 */
 12377  
 12378  // *
 12379  // @brief xcb_rgb_t
 12380  //
 12381  type xcb_rgb_t1 = struct {
 12382  	Fred   uint16_t
 12383  	Fgreen uint16_t
 12384  	Fblue  uint16_t
 12385  	Fpad0  [2]uint8_t
 12386  } /* xproto.h:4051:9 */
 12387  
 12388  // *
 12389  // @brief xcb_rgb_t
 12390  //
 12391  type xcb_rgb_t = xcb_rgb_t1 /* xproto.h:4056:3 */
 12392  
 12393  // *
 12394  // @brief xcb_rgb_iterator_t
 12395  //
 12396  type xcb_rgb_iterator_t1 = struct {
 12397  	Fdata  uintptr
 12398  	Frem   int32
 12399  	Findex int32
 12400  } /* xproto.h:4061:9 */
 12401  
 12402  // *
 12403  // @brief xcb_rgb_iterator_t
 12404  //
 12405  type xcb_rgb_iterator_t = xcb_rgb_iterator_t1 /* xproto.h:4065:3 */
 12406  
 12407  // *
 12408  // @brief xcb_query_colors_cookie_t
 12409  //
 12410  type xcb_query_colors_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4070:9 */
 12411  
 12412  // *
 12413  // @brief xcb_query_colors_cookie_t
 12414  //
 12415  type xcb_query_colors_cookie_t = xcb_query_colors_cookie_t1 /* xproto.h:4072:3 */
 12416  
 12417  //* Opcode for xcb_query_colors.
 12418  
 12419  // *
 12420  // @brief xcb_query_colors_request_t
 12421  //
 12422  type xcb_query_colors_request_t1 = struct {
 12423  	Fmajor_opcode uint8_t
 12424  	Fpad0         uint8_t
 12425  	Flength       uint16_t
 12426  	Fcmap         xcb_colormap_t
 12427  } /* xproto.h:4080:9 */
 12428  
 12429  //* Opcode for xcb_query_colors.
 12430  
 12431  // *
 12432  // @brief xcb_query_colors_request_t
 12433  //
 12434  type xcb_query_colors_request_t = xcb_query_colors_request_t1 /* xproto.h:4085:3 */
 12435  
 12436  // *
 12437  // @brief xcb_query_colors_reply_t
 12438  //
 12439  type xcb_query_colors_reply_t1 = struct {
 12440  	Fresponse_type uint8_t
 12441  	Fpad0          uint8_t
 12442  	Fsequence      uint16_t
 12443  	Flength        uint32_t
 12444  	Fcolors_len    uint16_t
 12445  	Fpad1          [22]uint8_t
 12446  } /* xproto.h:4090:9 */
 12447  
 12448  // *
 12449  // @brief xcb_query_colors_reply_t
 12450  //
 12451  type xcb_query_colors_reply_t = xcb_query_colors_reply_t1 /* xproto.h:4097:3 */
 12452  
 12453  // *
 12454  // @brief xcb_lookup_color_cookie_t
 12455  //
 12456  type xcb_lookup_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4102:9 */
 12457  
 12458  // *
 12459  // @brief xcb_lookup_color_cookie_t
 12460  //
 12461  type xcb_lookup_color_cookie_t = xcb_lookup_color_cookie_t1 /* xproto.h:4104:3 */
 12462  
 12463  //* Opcode for xcb_lookup_color.
 12464  
 12465  // *
 12466  // @brief xcb_lookup_color_request_t
 12467  //
 12468  type xcb_lookup_color_request_t1 = struct {
 12469  	Fmajor_opcode uint8_t
 12470  	Fpad0         uint8_t
 12471  	Flength       uint16_t
 12472  	Fcmap         xcb_colormap_t
 12473  	Fname_len     uint16_t
 12474  	Fpad1         [2]uint8_t
 12475  } /* xproto.h:4112:9 */
 12476  
 12477  //* Opcode for xcb_lookup_color.
 12478  
 12479  // *
 12480  // @brief xcb_lookup_color_request_t
 12481  //
 12482  type xcb_lookup_color_request_t = xcb_lookup_color_request_t1 /* xproto.h:4119:3 */
 12483  
 12484  // *
 12485  // @brief xcb_lookup_color_reply_t
 12486  //
 12487  type xcb_lookup_color_reply_t1 = struct {
 12488  	Fresponse_type uint8_t
 12489  	Fpad0          uint8_t
 12490  	Fsequence      uint16_t
 12491  	Flength        uint32_t
 12492  	Fexact_red     uint16_t
 12493  	Fexact_green   uint16_t
 12494  	Fexact_blue    uint16_t
 12495  	Fvisual_red    uint16_t
 12496  	Fvisual_green  uint16_t
 12497  	Fvisual_blue   uint16_t
 12498  } /* xproto.h:4124:9 */
 12499  
 12500  // *
 12501  // @brief xcb_lookup_color_reply_t
 12502  //
 12503  type xcb_lookup_color_reply_t = xcb_lookup_color_reply_t1 /* xproto.h:4135:3 */
 12504  
 12505  type xcb_pixmap_enum_t = uint32 /* xproto.h:4139:3 */
 12506  
 12507  //* Opcode for xcb_create_cursor.
 12508  
 12509  // *
 12510  // @brief xcb_create_cursor_request_t
 12511  //
 12512  type xcb_create_cursor_request_t1 = struct {
 12513  	Fmajor_opcode uint8_t
 12514  	Fpad0         uint8_t
 12515  	Flength       uint16_t
 12516  	Fcid          xcb_cursor_t
 12517  	Fsource       xcb_pixmap_t
 12518  	Fmask         xcb_pixmap_t
 12519  	Ffore_red     uint16_t
 12520  	Ffore_green   uint16_t
 12521  	Ffore_blue    uint16_t
 12522  	Fback_red     uint16_t
 12523  	Fback_green   uint16_t
 12524  	Fback_blue    uint16_t
 12525  	Fx            uint16_t
 12526  	Fy            uint16_t
 12527  } /* xproto.h:4147:9 */
 12528  
 12529  //* Opcode for xcb_create_cursor.
 12530  
 12531  // *
 12532  // @brief xcb_create_cursor_request_t
 12533  //
 12534  type xcb_create_cursor_request_t = xcb_create_cursor_request_t1 /* xproto.h:4162:3 */
 12535  
 12536  type xcb_font_enum_t = uint32 /* xproto.h:4166:3 */
 12537  
 12538  //* Opcode for xcb_create_glyph_cursor.
 12539  
 12540  // *
 12541  // @brief xcb_create_glyph_cursor_request_t
 12542  //
 12543  type xcb_create_glyph_cursor_request_t1 = struct {
 12544  	Fmajor_opcode uint8_t
 12545  	Fpad0         uint8_t
 12546  	Flength       uint16_t
 12547  	Fcid          xcb_cursor_t
 12548  	Fsource_font  xcb_font_t
 12549  	Fmask_font    xcb_font_t
 12550  	Fsource_char  uint16_t
 12551  	Fmask_char    uint16_t
 12552  	Ffore_red     uint16_t
 12553  	Ffore_green   uint16_t
 12554  	Ffore_blue    uint16_t
 12555  	Fback_red     uint16_t
 12556  	Fback_green   uint16_t
 12557  	Fback_blue    uint16_t
 12558  } /* xproto.h:4174:9 */
 12559  
 12560  //* Opcode for xcb_create_glyph_cursor.
 12561  
 12562  // *
 12563  // @brief xcb_create_glyph_cursor_request_t
 12564  //
 12565  type xcb_create_glyph_cursor_request_t = xcb_create_glyph_cursor_request_t1 /* xproto.h:4189:3 */
 12566  
 12567  //* Opcode for xcb_free_cursor.
 12568  
 12569  // *
 12570  // @brief xcb_free_cursor_request_t
 12571  //
 12572  type xcb_free_cursor_request_t1 = struct {
 12573  	Fmajor_opcode uint8_t
 12574  	Fpad0         uint8_t
 12575  	Flength       uint16_t
 12576  	Fcursor       xcb_cursor_t
 12577  } /* xproto.h:4197:9 */
 12578  
 12579  //* Opcode for xcb_free_cursor.
 12580  
 12581  // *
 12582  // @brief xcb_free_cursor_request_t
 12583  //
 12584  type xcb_free_cursor_request_t = xcb_free_cursor_request_t1 /* xproto.h:4202:3 */
 12585  
 12586  //* Opcode for xcb_recolor_cursor.
 12587  
 12588  // *
 12589  // @brief xcb_recolor_cursor_request_t
 12590  //
 12591  type xcb_recolor_cursor_request_t1 = struct {
 12592  	Fmajor_opcode uint8_t
 12593  	Fpad0         uint8_t
 12594  	Flength       uint16_t
 12595  	Fcursor       xcb_cursor_t
 12596  	Ffore_red     uint16_t
 12597  	Ffore_green   uint16_t
 12598  	Ffore_blue    uint16_t
 12599  	Fback_red     uint16_t
 12600  	Fback_green   uint16_t
 12601  	Fback_blue    uint16_t
 12602  } /* xproto.h:4210:9 */
 12603  
 12604  //* Opcode for xcb_recolor_cursor.
 12605  
 12606  // *
 12607  // @brief xcb_recolor_cursor_request_t
 12608  //
 12609  type xcb_recolor_cursor_request_t = xcb_recolor_cursor_request_t1 /* xproto.h:4221:3 */
 12610  
 12611  type xcb_query_shape_of_t = uint32 /* xproto.h:4227:3 */
 12612  
 12613  // *
 12614  // @brief xcb_query_best_size_cookie_t
 12615  //
 12616  type xcb_query_best_size_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4232:9 */
 12617  
 12618  // *
 12619  // @brief xcb_query_best_size_cookie_t
 12620  //
 12621  type xcb_query_best_size_cookie_t = xcb_query_best_size_cookie_t1 /* xproto.h:4234:3 */
 12622  
 12623  //* Opcode for xcb_query_best_size.
 12624  
 12625  // *
 12626  // @brief xcb_query_best_size_request_t
 12627  //
 12628  type xcb_query_best_size_request_t1 = struct {
 12629  	Fmajor_opcode uint8_t
 12630  	F_class       uint8_t
 12631  	Flength       uint16_t
 12632  	Fdrawable     xcb_drawable_t
 12633  	Fwidth        uint16_t
 12634  	Fheight       uint16_t
 12635  } /* xproto.h:4242:9 */
 12636  
 12637  //* Opcode for xcb_query_best_size.
 12638  
 12639  // *
 12640  // @brief xcb_query_best_size_request_t
 12641  //
 12642  type xcb_query_best_size_request_t = xcb_query_best_size_request_t1 /* xproto.h:4249:3 */
 12643  
 12644  // *
 12645  // @brief xcb_query_best_size_reply_t
 12646  //
 12647  type xcb_query_best_size_reply_t1 = struct {
 12648  	Fresponse_type uint8_t
 12649  	Fpad0          uint8_t
 12650  	Fsequence      uint16_t
 12651  	Flength        uint32_t
 12652  	Fwidth         uint16_t
 12653  	Fheight        uint16_t
 12654  } /* xproto.h:4254:9 */
 12655  
 12656  // *
 12657  // @brief xcb_query_best_size_reply_t
 12658  //
 12659  type xcb_query_best_size_reply_t = xcb_query_best_size_reply_t1 /* xproto.h:4261:3 */
 12660  
 12661  // *
 12662  // @brief xcb_query_extension_cookie_t
 12663  //
 12664  type xcb_query_extension_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4266:9 */
 12665  
 12666  // *
 12667  // @brief xcb_query_extension_cookie_t
 12668  //
 12669  type xcb_query_extension_cookie_t = xcb_query_extension_cookie_t1 /* xproto.h:4268:3 */
 12670  
 12671  //* Opcode for xcb_query_extension.
 12672  
 12673  // *
 12674  // @brief xcb_query_extension_request_t
 12675  //
 12676  type xcb_query_extension_request_t1 = struct {
 12677  	Fmajor_opcode uint8_t
 12678  	Fpad0         uint8_t
 12679  	Flength       uint16_t
 12680  	Fname_len     uint16_t
 12681  	Fpad1         [2]uint8_t
 12682  } /* xproto.h:4276:9 */
 12683  
 12684  //* Opcode for xcb_query_extension.
 12685  
 12686  // *
 12687  // @brief xcb_query_extension_request_t
 12688  //
 12689  type xcb_query_extension_request_t = xcb_query_extension_request_t1 /* xproto.h:4282:3 */
 12690  
 12691  // *
 12692  // @brief xcb_query_extension_reply_t
 12693  //
 12694  type xcb_query_extension_reply_t1 = struct {
 12695  	Fresponse_type uint8_t
 12696  	Fpad0          uint8_t
 12697  	Fsequence      uint16_t
 12698  	Flength        uint32_t
 12699  	Fpresent       uint8_t
 12700  	Fmajor_opcode  uint8_t
 12701  	Ffirst_event   uint8_t
 12702  	Ffirst_error   uint8_t
 12703  } /* xproto.h:4287:9 */
 12704  
 12705  // *
 12706  // @brief xcb_query_extension_reply_t
 12707  //
 12708  type xcb_query_extension_reply_t = xcb_query_extension_reply_t1 /* xproto.h:4296:3 */
 12709  
 12710  // *
 12711  // @brief xcb_list_extensions_cookie_t
 12712  //
 12713  type xcb_list_extensions_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4301:9 */
 12714  
 12715  // *
 12716  // @brief xcb_list_extensions_cookie_t
 12717  //
 12718  type xcb_list_extensions_cookie_t = xcb_list_extensions_cookie_t1 /* xproto.h:4303:3 */
 12719  
 12720  //* Opcode for xcb_list_extensions.
 12721  
 12722  // *
 12723  // @brief xcb_list_extensions_request_t
 12724  //
 12725  type xcb_list_extensions_request_t1 = struct {
 12726  	Fmajor_opcode uint8_t
 12727  	Fpad0         uint8_t
 12728  	Flength       uint16_t
 12729  } /* xproto.h:4311:9 */
 12730  
 12731  //* Opcode for xcb_list_extensions.
 12732  
 12733  // *
 12734  // @brief xcb_list_extensions_request_t
 12735  //
 12736  type xcb_list_extensions_request_t = xcb_list_extensions_request_t1 /* xproto.h:4315:3 */
 12737  
 12738  // *
 12739  // @brief xcb_list_extensions_reply_t
 12740  //
 12741  type xcb_list_extensions_reply_t1 = struct {
 12742  	Fresponse_type uint8_t
 12743  	Fnames_len     uint8_t
 12744  	Fsequence      uint16_t
 12745  	Flength        uint32_t
 12746  	Fpad0          [24]uint8_t
 12747  } /* xproto.h:4320:9 */
 12748  
 12749  // *
 12750  // @brief xcb_list_extensions_reply_t
 12751  //
 12752  type xcb_list_extensions_reply_t = xcb_list_extensions_reply_t1 /* xproto.h:4326:3 */
 12753  
 12754  //* Opcode for xcb_change_keyboard_mapping.
 12755  
 12756  // *
 12757  // @brief xcb_change_keyboard_mapping_request_t
 12758  //
 12759  type xcb_change_keyboard_mapping_request_t1 = struct {
 12760  	Fmajor_opcode        uint8_t
 12761  	Fkeycode_count       uint8_t
 12762  	Flength              uint16_t
 12763  	Ffirst_keycode       xcb_keycode_t
 12764  	Fkeysyms_per_keycode uint8_t
 12765  	Fpad0                [2]uint8_t
 12766  } /* xproto.h:4334:9 */
 12767  
 12768  //* Opcode for xcb_change_keyboard_mapping.
 12769  
 12770  // *
 12771  // @brief xcb_change_keyboard_mapping_request_t
 12772  //
 12773  type xcb_change_keyboard_mapping_request_t = xcb_change_keyboard_mapping_request_t1 /* xproto.h:4341:3 */
 12774  
 12775  // *
 12776  // @brief xcb_get_keyboard_mapping_cookie_t
 12777  //
 12778  type xcb_get_keyboard_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4346:9 */
 12779  
 12780  // *
 12781  // @brief xcb_get_keyboard_mapping_cookie_t
 12782  //
 12783  type xcb_get_keyboard_mapping_cookie_t = xcb_get_keyboard_mapping_cookie_t1 /* xproto.h:4348:3 */
 12784  
 12785  //* Opcode for xcb_get_keyboard_mapping.
 12786  
 12787  // *
 12788  // @brief xcb_get_keyboard_mapping_request_t
 12789  //
 12790  type xcb_get_keyboard_mapping_request_t1 = struct {
 12791  	Fmajor_opcode  uint8_t
 12792  	Fpad0          uint8_t
 12793  	Flength        uint16_t
 12794  	Ffirst_keycode xcb_keycode_t
 12795  	Fcount         uint8_t
 12796  } /* xproto.h:4356:9 */
 12797  
 12798  //* Opcode for xcb_get_keyboard_mapping.
 12799  
 12800  // *
 12801  // @brief xcb_get_keyboard_mapping_request_t
 12802  //
 12803  type xcb_get_keyboard_mapping_request_t = xcb_get_keyboard_mapping_request_t1 /* xproto.h:4362:3 */
 12804  
 12805  // *
 12806  // @brief xcb_get_keyboard_mapping_reply_t
 12807  //
 12808  type xcb_get_keyboard_mapping_reply_t1 = struct {
 12809  	Fresponse_type       uint8_t
 12810  	Fkeysyms_per_keycode uint8_t
 12811  	Fsequence            uint16_t
 12812  	Flength              uint32_t
 12813  	Fpad0                [24]uint8_t
 12814  } /* xproto.h:4367:9 */
 12815  
 12816  // *
 12817  // @brief xcb_get_keyboard_mapping_reply_t
 12818  //
 12819  type xcb_get_keyboard_mapping_reply_t = xcb_get_keyboard_mapping_reply_t1 /* xproto.h:4373:3 */
 12820  
 12821  type xcb_kb_t = uint32 /* xproto.h:4384:3 */
 12822  
 12823  type xcb_led_mode_t = uint32 /* xproto.h:4389:3 */
 12824  
 12825  type xcb_auto_repeat_mode_t = uint32 /* xproto.h:4395:3 */
 12826  
 12827  // *
 12828  // @brief xcb_change_keyboard_control_value_list_t
 12829  //
 12830  type xcb_change_keyboard_control_value_list_t1 = struct {
 12831  	Fkey_click_percent int32_t
 12832  	Fbell_percent      int32_t
 12833  	Fbell_pitch        int32_t
 12834  	Fbell_duration     int32_t
 12835  	Fled               uint32_t
 12836  	Fled_mode          uint32_t
 12837  	Fkey               xcb_keycode32_t
 12838  	Fauto_repeat_mode  uint32_t
 12839  } /* xproto.h:4400:9 */
 12840  
 12841  // *
 12842  // @brief xcb_change_keyboard_control_value_list_t
 12843  //
 12844  type xcb_change_keyboard_control_value_list_t = xcb_change_keyboard_control_value_list_t1 /* xproto.h:4409:3 */
 12845  
 12846  //* Opcode for xcb_change_keyboard_control.
 12847  
 12848  // *
 12849  // @brief xcb_change_keyboard_control_request_t
 12850  //
 12851  type xcb_change_keyboard_control_request_t1 = struct {
 12852  	Fmajor_opcode uint8_t
 12853  	Fpad0         uint8_t
 12854  	Flength       uint16_t
 12855  	Fvalue_mask   uint32_t
 12856  } /* xproto.h:4417:9 */
 12857  
 12858  //* Opcode for xcb_change_keyboard_control.
 12859  
 12860  // *
 12861  // @brief xcb_change_keyboard_control_request_t
 12862  //
 12863  type xcb_change_keyboard_control_request_t = xcb_change_keyboard_control_request_t1 /* xproto.h:4422:3 */
 12864  
 12865  // *
 12866  // @brief xcb_get_keyboard_control_cookie_t
 12867  //
 12868  type xcb_get_keyboard_control_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4427:9 */
 12869  
 12870  // *
 12871  // @brief xcb_get_keyboard_control_cookie_t
 12872  //
 12873  type xcb_get_keyboard_control_cookie_t = xcb_get_keyboard_control_cookie_t1 /* xproto.h:4429:3 */
 12874  
 12875  //* Opcode for xcb_get_keyboard_control.
 12876  
 12877  // *
 12878  // @brief xcb_get_keyboard_control_request_t
 12879  //
 12880  type xcb_get_keyboard_control_request_t1 = struct {
 12881  	Fmajor_opcode uint8_t
 12882  	Fpad0         uint8_t
 12883  	Flength       uint16_t
 12884  } /* xproto.h:4437:9 */
 12885  
 12886  //* Opcode for xcb_get_keyboard_control.
 12887  
 12888  // *
 12889  // @brief xcb_get_keyboard_control_request_t
 12890  //
 12891  type xcb_get_keyboard_control_request_t = xcb_get_keyboard_control_request_t1 /* xproto.h:4441:3 */
 12892  
 12893  // *
 12894  // @brief xcb_get_keyboard_control_reply_t
 12895  //
 12896  type xcb_get_keyboard_control_reply_t1 = struct {
 12897  	Fresponse_type      uint8_t
 12898  	Fglobal_auto_repeat uint8_t
 12899  	Fsequence           uint16_t
 12900  	Flength             uint32_t
 12901  	Fled_mask           uint32_t
 12902  	Fkey_click_percent  uint8_t
 12903  	Fbell_percent       uint8_t
 12904  	Fbell_pitch         uint16_t
 12905  	Fbell_duration      uint16_t
 12906  	Fpad0               [2]uint8_t
 12907  	Fauto_repeats       [32]uint8_t
 12908  } /* xproto.h:4446:9 */
 12909  
 12910  // *
 12911  // @brief xcb_get_keyboard_control_reply_t
 12912  //
 12913  type xcb_get_keyboard_control_reply_t = xcb_get_keyboard_control_reply_t1 /* xproto.h:4458:3 */
 12914  
 12915  //* Opcode for xcb_bell.
 12916  
 12917  // *
 12918  // @brief xcb_bell_request_t
 12919  //
 12920  type xcb_bell_request_t1 = struct {
 12921  	Fmajor_opcode uint8_t
 12922  	Fpercent      int8_t
 12923  	Flength       uint16_t
 12924  } /* xproto.h:4466:9 */
 12925  
 12926  //* Opcode for xcb_bell.
 12927  
 12928  // *
 12929  // @brief xcb_bell_request_t
 12930  //
 12931  type xcb_bell_request_t = xcb_bell_request_t1 /* xproto.h:4470:3 */
 12932  
 12933  //* Opcode for xcb_change_pointer_control.
 12934  
 12935  // *
 12936  // @brief xcb_change_pointer_control_request_t
 12937  //
 12938  type xcb_change_pointer_control_request_t1 = struct {
 12939  	Fmajor_opcode             uint8_t
 12940  	Fpad0                     uint8_t
 12941  	Flength                   uint16_t
 12942  	Facceleration_numerator   int16_t
 12943  	Facceleration_denominator int16_t
 12944  	Fthreshold                int16_t
 12945  	Fdo_acceleration          uint8_t
 12946  	Fdo_threshold             uint8_t
 12947  } /* xproto.h:4478:9 */
 12948  
 12949  //* Opcode for xcb_change_pointer_control.
 12950  
 12951  // *
 12952  // @brief xcb_change_pointer_control_request_t
 12953  //
 12954  type xcb_change_pointer_control_request_t = xcb_change_pointer_control_request_t1 /* xproto.h:4487:3 */
 12955  
 12956  // *
 12957  // @brief xcb_get_pointer_control_cookie_t
 12958  //
 12959  type xcb_get_pointer_control_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4492:9 */
 12960  
 12961  // *
 12962  // @brief xcb_get_pointer_control_cookie_t
 12963  //
 12964  type xcb_get_pointer_control_cookie_t = xcb_get_pointer_control_cookie_t1 /* xproto.h:4494:3 */
 12965  
 12966  //* Opcode for xcb_get_pointer_control.
 12967  
 12968  // *
 12969  // @brief xcb_get_pointer_control_request_t
 12970  //
 12971  type xcb_get_pointer_control_request_t1 = struct {
 12972  	Fmajor_opcode uint8_t
 12973  	Fpad0         uint8_t
 12974  	Flength       uint16_t
 12975  } /* xproto.h:4502:9 */
 12976  
 12977  //* Opcode for xcb_get_pointer_control.
 12978  
 12979  // *
 12980  // @brief xcb_get_pointer_control_request_t
 12981  //
 12982  type xcb_get_pointer_control_request_t = xcb_get_pointer_control_request_t1 /* xproto.h:4506:3 */
 12983  
 12984  // *
 12985  // @brief xcb_get_pointer_control_reply_t
 12986  //
 12987  type xcb_get_pointer_control_reply_t1 = struct {
 12988  	Fresponse_type            uint8_t
 12989  	Fpad0                     uint8_t
 12990  	Fsequence                 uint16_t
 12991  	Flength                   uint32_t
 12992  	Facceleration_numerator   uint16_t
 12993  	Facceleration_denominator uint16_t
 12994  	Fthreshold                uint16_t
 12995  	Fpad1                     [18]uint8_t
 12996  } /* xproto.h:4511:9 */
 12997  
 12998  // *
 12999  // @brief xcb_get_pointer_control_reply_t
 13000  //
 13001  type xcb_get_pointer_control_reply_t = xcb_get_pointer_control_reply_t1 /* xproto.h:4520:3 */
 13002  
 13003  type xcb_blanking_t = uint32 /* xproto.h:4526:3 */
 13004  
 13005  type xcb_exposures_t = uint32 /* xproto.h:4532:3 */
 13006  
 13007  //* Opcode for xcb_set_screen_saver.
 13008  
 13009  // *
 13010  // @brief xcb_set_screen_saver_request_t
 13011  //
 13012  type xcb_set_screen_saver_request_t1 = struct {
 13013  	Fmajor_opcode    uint8_t
 13014  	Fpad0            uint8_t
 13015  	Flength          uint16_t
 13016  	Ftimeout         int16_t
 13017  	Finterval        int16_t
 13018  	Fprefer_blanking uint8_t
 13019  	Fallow_exposures uint8_t
 13020  } /* xproto.h:4540:9 */
 13021  
 13022  //* Opcode for xcb_set_screen_saver.
 13023  
 13024  // *
 13025  // @brief xcb_set_screen_saver_request_t
 13026  //
 13027  type xcb_set_screen_saver_request_t = xcb_set_screen_saver_request_t1 /* xproto.h:4548:3 */
 13028  
 13029  // *
 13030  // @brief xcb_get_screen_saver_cookie_t
 13031  //
 13032  type xcb_get_screen_saver_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4553:9 */
 13033  
 13034  // *
 13035  // @brief xcb_get_screen_saver_cookie_t
 13036  //
 13037  type xcb_get_screen_saver_cookie_t = xcb_get_screen_saver_cookie_t1 /* xproto.h:4555:3 */
 13038  
 13039  //* Opcode for xcb_get_screen_saver.
 13040  
 13041  // *
 13042  // @brief xcb_get_screen_saver_request_t
 13043  //
 13044  type xcb_get_screen_saver_request_t1 = struct {
 13045  	Fmajor_opcode uint8_t
 13046  	Fpad0         uint8_t
 13047  	Flength       uint16_t
 13048  } /* xproto.h:4563:9 */
 13049  
 13050  //* Opcode for xcb_get_screen_saver.
 13051  
 13052  // *
 13053  // @brief xcb_get_screen_saver_request_t
 13054  //
 13055  type xcb_get_screen_saver_request_t = xcb_get_screen_saver_request_t1 /* xproto.h:4567:3 */
 13056  
 13057  // *
 13058  // @brief xcb_get_screen_saver_reply_t
 13059  //
 13060  type xcb_get_screen_saver_reply_t1 = struct {
 13061  	Fresponse_type   uint8_t
 13062  	Fpad0            uint8_t
 13063  	Fsequence        uint16_t
 13064  	Flength          uint32_t
 13065  	Ftimeout         uint16_t
 13066  	Finterval        uint16_t
 13067  	Fprefer_blanking uint8_t
 13068  	Fallow_exposures uint8_t
 13069  	Fpad1            [18]uint8_t
 13070  } /* xproto.h:4572:9 */
 13071  
 13072  // *
 13073  // @brief xcb_get_screen_saver_reply_t
 13074  //
 13075  type xcb_get_screen_saver_reply_t = xcb_get_screen_saver_reply_t1 /* xproto.h:4582:3 */
 13076  
 13077  type xcb_host_mode_t = uint32 /* xproto.h:4587:3 */
 13078  
 13079  type xcb_family_t = uint32 /* xproto.h:4595:3 */
 13080  
 13081  //* Opcode for xcb_change_hosts.
 13082  
 13083  // *
 13084  // @brief xcb_change_hosts_request_t
 13085  //
 13086  type xcb_change_hosts_request_t1 = struct {
 13087  	Fmajor_opcode uint8_t
 13088  	Fmode         uint8_t
 13089  	Flength       uint16_t
 13090  	Ffamily       uint8_t
 13091  	Fpad0         uint8_t
 13092  	Faddress_len  uint16_t
 13093  } /* xproto.h:4603:9 */
 13094  
 13095  //* Opcode for xcb_change_hosts.
 13096  
 13097  // *
 13098  // @brief xcb_change_hosts_request_t
 13099  //
 13100  type xcb_change_hosts_request_t = xcb_change_hosts_request_t1 /* xproto.h:4610:3 */
 13101  
 13102  // *
 13103  // @brief xcb_host_t
 13104  //
 13105  type xcb_host_t1 = struct {
 13106  	Ffamily      uint8_t
 13107  	Fpad0        uint8_t
 13108  	Faddress_len uint16_t
 13109  } /* xproto.h:4615:9 */
 13110  
 13111  // *
 13112  // @brief xcb_host_t
 13113  //
 13114  type xcb_host_t = xcb_host_t1 /* xproto.h:4619:3 */
 13115  
 13116  // *
 13117  // @brief xcb_host_iterator_t
 13118  //
 13119  type xcb_host_iterator_t1 = struct {
 13120  	Fdata  uintptr
 13121  	Frem   int32
 13122  	Findex int32
 13123  } /* xproto.h:4624:9 */
 13124  
 13125  // *
 13126  // @brief xcb_host_iterator_t
 13127  //
 13128  type xcb_host_iterator_t = xcb_host_iterator_t1 /* xproto.h:4628:3 */
 13129  
 13130  // *
 13131  // @brief xcb_list_hosts_cookie_t
 13132  //
 13133  type xcb_list_hosts_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4633:9 */
 13134  
 13135  // *
 13136  // @brief xcb_list_hosts_cookie_t
 13137  //
 13138  type xcb_list_hosts_cookie_t = xcb_list_hosts_cookie_t1 /* xproto.h:4635:3 */
 13139  
 13140  //* Opcode for xcb_list_hosts.
 13141  
 13142  // *
 13143  // @brief xcb_list_hosts_request_t
 13144  //
 13145  type xcb_list_hosts_request_t1 = struct {
 13146  	Fmajor_opcode uint8_t
 13147  	Fpad0         uint8_t
 13148  	Flength       uint16_t
 13149  } /* xproto.h:4643:9 */
 13150  
 13151  //* Opcode for xcb_list_hosts.
 13152  
 13153  // *
 13154  // @brief xcb_list_hosts_request_t
 13155  //
 13156  type xcb_list_hosts_request_t = xcb_list_hosts_request_t1 /* xproto.h:4647:3 */
 13157  
 13158  // *
 13159  // @brief xcb_list_hosts_reply_t
 13160  //
 13161  type xcb_list_hosts_reply_t1 = struct {
 13162  	Fresponse_type uint8_t
 13163  	Fmode          uint8_t
 13164  	Fsequence      uint16_t
 13165  	Flength        uint32_t
 13166  	Fhosts_len     uint16_t
 13167  	Fpad0          [22]uint8_t
 13168  } /* xproto.h:4652:9 */
 13169  
 13170  // *
 13171  // @brief xcb_list_hosts_reply_t
 13172  //
 13173  type xcb_list_hosts_reply_t = xcb_list_hosts_reply_t1 /* xproto.h:4659:3 */
 13174  
 13175  type xcb_access_control_t = uint32 /* xproto.h:4664:3 */
 13176  
 13177  //* Opcode for xcb_set_access_control.
 13178  
 13179  // *
 13180  // @brief xcb_set_access_control_request_t
 13181  //
 13182  type xcb_set_access_control_request_t1 = struct {
 13183  	Fmajor_opcode uint8_t
 13184  	Fmode         uint8_t
 13185  	Flength       uint16_t
 13186  } /* xproto.h:4672:9 */
 13187  
 13188  //* Opcode for xcb_set_access_control.
 13189  
 13190  // *
 13191  // @brief xcb_set_access_control_request_t
 13192  //
 13193  type xcb_set_access_control_request_t = xcb_set_access_control_request_t1 /* xproto.h:4676:3 */
 13194  
 13195  type xcb_close_down_t = uint32 /* xproto.h:4682:3 */
 13196  
 13197  //* Opcode for xcb_set_close_down_mode.
 13198  
 13199  // *
 13200  // @brief xcb_set_close_down_mode_request_t
 13201  //
 13202  type xcb_set_close_down_mode_request_t1 = struct {
 13203  	Fmajor_opcode uint8_t
 13204  	Fmode         uint8_t
 13205  	Flength       uint16_t
 13206  } /* xproto.h:4690:9 */
 13207  
 13208  //* Opcode for xcb_set_close_down_mode.
 13209  
 13210  // *
 13211  // @brief xcb_set_close_down_mode_request_t
 13212  //
 13213  type xcb_set_close_down_mode_request_t = xcb_set_close_down_mode_request_t1 /* xproto.h:4694:3 */
 13214  
 13215  type xcb_kill_t = uint32 /* xproto.h:4698:3 */
 13216  
 13217  //* Opcode for xcb_kill_client.
 13218  
 13219  // *
 13220  // @brief xcb_kill_client_request_t
 13221  //
 13222  type xcb_kill_client_request_t1 = struct {
 13223  	Fmajor_opcode uint8_t
 13224  	Fpad0         uint8_t
 13225  	Flength       uint16_t
 13226  	Fresource     uint32_t
 13227  } /* xproto.h:4706:9 */
 13228  
 13229  //* Opcode for xcb_kill_client.
 13230  
 13231  // *
 13232  // @brief xcb_kill_client_request_t
 13233  //
 13234  type xcb_kill_client_request_t = xcb_kill_client_request_t1 /* xproto.h:4711:3 */
 13235  
 13236  //* Opcode for xcb_rotate_properties.
 13237  
 13238  // *
 13239  // @brief xcb_rotate_properties_request_t
 13240  //
 13241  type xcb_rotate_properties_request_t1 = struct {
 13242  	Fmajor_opcode uint8_t
 13243  	Fpad0         uint8_t
 13244  	Flength       uint16_t
 13245  	Fwindow       xcb_window_t
 13246  	Fatoms_len    uint16_t
 13247  	Fdelta        int16_t
 13248  } /* xproto.h:4719:9 */
 13249  
 13250  //* Opcode for xcb_rotate_properties.
 13251  
 13252  // *
 13253  // @brief xcb_rotate_properties_request_t
 13254  //
 13255  type xcb_rotate_properties_request_t = xcb_rotate_properties_request_t1 /* xproto.h:4726:3 */
 13256  
 13257  type xcb_screen_saver_t = uint32 /* xproto.h:4731:3 */
 13258  
 13259  //* Opcode for xcb_force_screen_saver.
 13260  
 13261  // *
 13262  // @brief xcb_force_screen_saver_request_t
 13263  //
 13264  type xcb_force_screen_saver_request_t1 = struct {
 13265  	Fmajor_opcode uint8_t
 13266  	Fmode         uint8_t
 13267  	Flength       uint16_t
 13268  } /* xproto.h:4739:9 */
 13269  
 13270  //* Opcode for xcb_force_screen_saver.
 13271  
 13272  // *
 13273  // @brief xcb_force_screen_saver_request_t
 13274  //
 13275  type xcb_force_screen_saver_request_t = xcb_force_screen_saver_request_t1 /* xproto.h:4743:3 */
 13276  
 13277  type xcb_mapping_status_t = uint32 /* xproto.h:4749:3 */
 13278  
 13279  // *
 13280  // @brief xcb_set_pointer_mapping_cookie_t
 13281  //
 13282  type xcb_set_pointer_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4754:9 */
 13283  
 13284  // *
 13285  // @brief xcb_set_pointer_mapping_cookie_t
 13286  //
 13287  type xcb_set_pointer_mapping_cookie_t = xcb_set_pointer_mapping_cookie_t1 /* xproto.h:4756:3 */
 13288  
 13289  //* Opcode for xcb_set_pointer_mapping.
 13290  
 13291  // *
 13292  // @brief xcb_set_pointer_mapping_request_t
 13293  //
 13294  type xcb_set_pointer_mapping_request_t1 = struct {
 13295  	Fmajor_opcode uint8_t
 13296  	Fmap_len      uint8_t
 13297  	Flength       uint16_t
 13298  } /* xproto.h:4764:9 */
 13299  
 13300  //* Opcode for xcb_set_pointer_mapping.
 13301  
 13302  // *
 13303  // @brief xcb_set_pointer_mapping_request_t
 13304  //
 13305  type xcb_set_pointer_mapping_request_t = xcb_set_pointer_mapping_request_t1 /* xproto.h:4768:3 */
 13306  
 13307  // *
 13308  // @brief xcb_set_pointer_mapping_reply_t
 13309  //
 13310  type xcb_set_pointer_mapping_reply_t1 = struct {
 13311  	Fresponse_type uint8_t
 13312  	Fstatus        uint8_t
 13313  	Fsequence      uint16_t
 13314  	Flength        uint32_t
 13315  } /* xproto.h:4773:9 */
 13316  
 13317  // *
 13318  // @brief xcb_set_pointer_mapping_reply_t
 13319  //
 13320  type xcb_set_pointer_mapping_reply_t = xcb_set_pointer_mapping_reply_t1 /* xproto.h:4778:3 */
 13321  
 13322  // *
 13323  // @brief xcb_get_pointer_mapping_cookie_t
 13324  //
 13325  type xcb_get_pointer_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4783:9 */
 13326  
 13327  // *
 13328  // @brief xcb_get_pointer_mapping_cookie_t
 13329  //
 13330  type xcb_get_pointer_mapping_cookie_t = xcb_get_pointer_mapping_cookie_t1 /* xproto.h:4785:3 */
 13331  
 13332  //* Opcode for xcb_get_pointer_mapping.
 13333  
 13334  // *
 13335  // @brief xcb_get_pointer_mapping_request_t
 13336  //
 13337  type xcb_get_pointer_mapping_request_t1 = struct {
 13338  	Fmajor_opcode uint8_t
 13339  	Fpad0         uint8_t
 13340  	Flength       uint16_t
 13341  } /* xproto.h:4793:9 */
 13342  
 13343  //* Opcode for xcb_get_pointer_mapping.
 13344  
 13345  // *
 13346  // @brief xcb_get_pointer_mapping_request_t
 13347  //
 13348  type xcb_get_pointer_mapping_request_t = xcb_get_pointer_mapping_request_t1 /* xproto.h:4797:3 */
 13349  
 13350  // *
 13351  // @brief xcb_get_pointer_mapping_reply_t
 13352  //
 13353  type xcb_get_pointer_mapping_reply_t1 = struct {
 13354  	Fresponse_type uint8_t
 13355  	Fmap_len       uint8_t
 13356  	Fsequence      uint16_t
 13357  	Flength        uint32_t
 13358  	Fpad0          [24]uint8_t
 13359  } /* xproto.h:4802:9 */
 13360  
 13361  // *
 13362  // @brief xcb_get_pointer_mapping_reply_t
 13363  //
 13364  type xcb_get_pointer_mapping_reply_t = xcb_get_pointer_mapping_reply_t1 /* xproto.h:4808:3 */
 13365  
 13366  type xcb_map_index_t = uint32 /* xproto.h:4819:3 */
 13367  
 13368  // *
 13369  // @brief xcb_set_modifier_mapping_cookie_t
 13370  //
 13371  type xcb_set_modifier_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4824:9 */
 13372  
 13373  // *
 13374  // @brief xcb_set_modifier_mapping_cookie_t
 13375  //
 13376  type xcb_set_modifier_mapping_cookie_t = xcb_set_modifier_mapping_cookie_t1 /* xproto.h:4826:3 */
 13377  
 13378  //* Opcode for xcb_set_modifier_mapping.
 13379  
 13380  // *
 13381  // @brief xcb_set_modifier_mapping_request_t
 13382  //
 13383  type xcb_set_modifier_mapping_request_t1 = struct {
 13384  	Fmajor_opcode          uint8_t
 13385  	Fkeycodes_per_modifier uint8_t
 13386  	Flength                uint16_t
 13387  } /* xproto.h:4834:9 */
 13388  
 13389  //* Opcode for xcb_set_modifier_mapping.
 13390  
 13391  // *
 13392  // @brief xcb_set_modifier_mapping_request_t
 13393  //
 13394  type xcb_set_modifier_mapping_request_t = xcb_set_modifier_mapping_request_t1 /* xproto.h:4838:3 */
 13395  
 13396  // *
 13397  // @brief xcb_set_modifier_mapping_reply_t
 13398  //
 13399  type xcb_set_modifier_mapping_reply_t1 = struct {
 13400  	Fresponse_type uint8_t
 13401  	Fstatus        uint8_t
 13402  	Fsequence      uint16_t
 13403  	Flength        uint32_t
 13404  } /* xproto.h:4843:9 */
 13405  
 13406  // *
 13407  // @brief xcb_set_modifier_mapping_reply_t
 13408  //
 13409  type xcb_set_modifier_mapping_reply_t = xcb_set_modifier_mapping_reply_t1 /* xproto.h:4848:3 */
 13410  
 13411  // *
 13412  // @brief xcb_get_modifier_mapping_cookie_t
 13413  //
 13414  type xcb_get_modifier_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4853:9 */
 13415  
 13416  // *
 13417  // @brief xcb_get_modifier_mapping_cookie_t
 13418  //
 13419  type xcb_get_modifier_mapping_cookie_t = xcb_get_modifier_mapping_cookie_t1 /* xproto.h:4855:3 */
 13420  
 13421  //* Opcode for xcb_get_modifier_mapping.
 13422  
 13423  // *
 13424  // @brief xcb_get_modifier_mapping_request_t
 13425  //
 13426  type xcb_get_modifier_mapping_request_t1 = struct {
 13427  	Fmajor_opcode uint8_t
 13428  	Fpad0         uint8_t
 13429  	Flength       uint16_t
 13430  } /* xproto.h:4863:9 */
 13431  
 13432  //* Opcode for xcb_get_modifier_mapping.
 13433  
 13434  // *
 13435  // @brief xcb_get_modifier_mapping_request_t
 13436  //
 13437  type xcb_get_modifier_mapping_request_t = xcb_get_modifier_mapping_request_t1 /* xproto.h:4867:3 */
 13438  
 13439  // *
 13440  // @brief xcb_get_modifier_mapping_reply_t
 13441  //
 13442  type xcb_get_modifier_mapping_reply_t1 = struct {
 13443  	Fresponse_type         uint8_t
 13444  	Fkeycodes_per_modifier uint8_t
 13445  	Fsequence              uint16_t
 13446  	Flength                uint32_t
 13447  	Fpad0                  [24]uint8_t
 13448  } /* xproto.h:4872:9 */
 13449  
 13450  // *
 13451  // @brief xcb_get_modifier_mapping_reply_t
 13452  //
 13453  type xcb_get_modifier_mapping_reply_t = xcb_get_modifier_mapping_reply_t1 /* xproto.h:4878:3 */
 13454  
 13455  //* Opcode for xcb_no_operation.
 13456  
 13457  // *
 13458  // @brief xcb_no_operation_request_t
 13459  //
 13460  type xcb_no_operation_request_t1 = struct {
 13461  	Fmajor_opcode uint8_t
 13462  	Fpad0         uint8_t
 13463  	Flength       uint16_t
 13464  } /* xproto.h:4886:9 */
 13465  
 13466  //* Opcode for xcb_no_operation.
 13467  
 13468  // *
 13469  // @brief xcb_no_operation_request_t
 13470  //
 13471  type xcb_no_operation_request_t = xcb_no_operation_request_t1 /* xproto.h:4890:3 */
 13472  
 13473  // *
 13474  // @}
 13475  
 13476  //* XCB_NONE is the universal null resource or null atom parameter value for many core X requests
 13477  
 13478  //* XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters
 13479  
 13480  //* XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t
 13481  
 13482  //* XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables
 13483  
 13484  // xcb_auth.c
 13485  
 13486  // *
 13487  // @brief Container for authorization information.
 13488  //
 13489  // A container for authorization information to be sent to the X server.
 13490  type xcb_auth_info_t1 = struct {
 13491  	Fnamelen     int32
 13492  	F__ccgo_pad1 [4]byte
 13493  	Fname        uintptr
 13494  	Fdatalen     int32
 13495  	F__ccgo_pad2 [4]byte
 13496  	Fdata        uintptr
 13497  } /* xcb.h:228:9 */
 13498  
 13499  // *
 13500  // @}
 13501  
 13502  //* XCB_NONE is the universal null resource or null atom parameter value for many core X requests
 13503  
 13504  //* XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters
 13505  
 13506  //* XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t
 13507  
 13508  //* XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables
 13509  
 13510  // xcb_auth.c
 13511  
 13512  // *
 13513  // @brief Container for authorization information.
 13514  //
 13515  // A container for authorization information to be sent to the X server.
 13516  type xcb_auth_info_t = xcb_auth_info_t1 /* xcb.h:233:3 */
 13517  
 13518  // *
 13519  // @}
 13520  
 13521  func main1(tls *libc.TLS, _ int32, _ uintptr) int32 { /* helloworld.c:10:1: */
 13522  	var c uintptr
 13523  	var screen uintptr
 13524  	var win xcb_window_t
 13525  
 13526  	// Open the connection to the X server
 13527  	c = xcb.Xxcb_connect(tls, uintptr(0), uintptr(0))
 13528  
 13529  	// Get the first screen
 13530  	screen = xcb.Xxcb_setup_roots_iterator(tls, xcb.Xxcb_get_setup(tls, c)).Fdata
 13531  
 13532  	// Ask for our window's Id
 13533  	win = xcb.Xxcb_generate_id(tls, c)
 13534  
 13535  	// Create the window
 13536  	xcb.Xxcb_create_window(tls, c, // Connection
 13537  		uint8(0), // depth (same as root)
 13538  		win,      // window Id
 13539  		(*xcb_screen_t)(unsafe.Pointer(screen)).Froot, // parent window
 13540  		int16(0), int16(0), // x, y
 13541  		uint16(150), uint16(150), // width, height
 13542  		uint16(10),                    // border_width
 13543  		XCB_WINDOW_CLASS_INPUT_OUTPUT, // class
 13544  		(*xcb_screen_t)(unsafe.Pointer(screen)).Froot_visual, // visual
 13545  		uint32(0), uintptr(0)) // masks, not used yet
 13546  
 13547  	// Map the window on the screen
 13548  	xcb.Xxcb_map_window(tls, c, win)
 13549  
 13550  	// Make sure commands are sent before we pause, so window is shown
 13551  	xcb.Xxcb_flush(tls, c)
 13552  
 13553  	libc.Xpause(tls) // hold client until Ctrl-C
 13554  
 13555  	return 0
 13556  }