modernc.org/xcb@v1.0.15/examples/screen/screen_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/screen/screen_darwin_arm64.go examples/screen/screen.c', DO NOT EDIT. 2 3 package main 4 5 import ( 6 "math" 7 "reflect" 8 "sync/atomic" 9 "unsafe" 10 11 "modernc.org/libc" 12 "modernc.org/libc/sys/types" 13 "modernc.org/xcb/lib" 14 ) 15 16 var _ = math.Pi 17 var _ reflect.Kind 18 var _ atomic.Value 19 var _ unsafe.Pointer 20 var _ *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 // DO NOT REMOVE THIS COMMENT: fixincludes needs to see: 1693 // __gnuc_va_list and include <stdarg.h> 1694 // Copyright (c) 2012 Apple Inc. All rights reserved. 1695 // 1696 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1697 // 1698 // This file contains Original Code and/or Modifications of Original Code 1699 // as defined in and that are subject to the Apple Public Source License 1700 // Version 2.0 (the 'License'). You may not use this file except in 1701 // compliance with the License. The rights granted to you under the License 1702 // may not be used to create, or enable the creation or redistribution of, 1703 // unlawful or unlicensed copies of an Apple operating system, or to 1704 // circumvent, violate, or enable the circumvention or violation of, any 1705 // terms of an Apple operating system software license agreement. 1706 // 1707 // Please obtain a copy of the License at 1708 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1709 // 1710 // The Original Code and all software distributed under the License are 1711 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1712 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1713 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1714 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1715 // Please see the License for the specific language governing rights and 1716 // limitations under the License. 1717 // 1718 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1719 1720 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 1721 // 1722 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1723 // 1724 // This file contains Original Code and/or Modifications of Original Code 1725 // as defined in and that are subject to the Apple Public Source License 1726 // Version 2.0 (the 'License'). You may not use this file except in 1727 // compliance with the License. The rights granted to you under the License 1728 // may not be used to create, or enable the creation or redistribution of, 1729 // unlawful or unlicensed copies of an Apple operating system, or to 1730 // circumvent, violate, or enable the circumvention or violation of, any 1731 // terms of an Apple operating system software license agreement. 1732 // 1733 // Please obtain a copy of the License at 1734 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1735 // 1736 // The Original Code and all software distributed under the License are 1737 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1738 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1739 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1740 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1741 // Please see the License for the specific language governing rights and 1742 // limitations under the License. 1743 // 1744 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1745 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1746 1747 // Copyright (c) 2000-2008 Apple Inc. All rights reserved. 1748 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1749 // Copyright (c) 1990, 1993 1750 // The Regents of the University of California. All rights reserved. 1751 // 1752 // Redistribution and use in source and binary forms, with or without 1753 // modification, are permitted provided that the following conditions 1754 // are met: 1755 // 1. Redistributions of source code must retain the above copyright 1756 // notice, this list of conditions and the following disclaimer. 1757 // 2. Redistributions in binary form must reproduce the above copyright 1758 // notice, this list of conditions and the following disclaimer in the 1759 // documentation and/or other materials provided with the distribution. 1760 // 3. All advertising materials mentioning features or use of this software 1761 // must display the following acknowledgement: 1762 // This product includes software developed by the University of 1763 // California, Berkeley and its contributors. 1764 // 4. Neither the name of the University nor the names of its contributors 1765 // may be used to endorse or promote products derived from this software 1766 // without specific prior written permission. 1767 // 1768 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1769 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1770 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1771 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1772 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1773 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1774 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1775 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1776 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1777 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1778 // SUCH DAMAGE. 1779 // 1780 // @(#)types.h 8.3 (Berkeley) 1/5/94 1781 1782 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 1783 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 1784 // 1785 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1786 // 1787 // This file contains Original Code and/or Modifications of Original Code 1788 // as defined in and that are subject to the Apple Public Source License 1789 // Version 2.0 (the 'License'). You may not use this file except in 1790 // compliance with the License. The rights granted to you under the License 1791 // may not be used to create, or enable the creation or redistribution of, 1792 // unlawful or unlicensed copies of an Apple operating system, or to 1793 // circumvent, violate, or enable the circumvention or violation of, any 1794 // terms of an Apple operating system software license agreement. 1795 // 1796 // Please obtain a copy of the License at 1797 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1798 // 1799 // The Original Code and all software distributed under the License are 1800 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1801 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1802 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1803 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1804 // Please see the License for the specific language governing rights and 1805 // limitations under the License. 1806 // 1807 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1808 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1809 // Copyright (c) 1991, 1993 1810 // The Regents of the University of California. All rights reserved. 1811 // 1812 // This code is derived from software contributed to Berkeley by 1813 // Berkeley Software Design, Inc. 1814 // 1815 // Redistribution and use in source and binary forms, with or without 1816 // modification, are permitted provided that the following conditions 1817 // are met: 1818 // 1. Redistributions of source code must retain the above copyright 1819 // notice, this list of conditions and the following disclaimer. 1820 // 2. Redistributions in binary form must reproduce the above copyright 1821 // notice, this list of conditions and the following disclaimer in the 1822 // documentation and/or other materials provided with the distribution. 1823 // 3. All advertising materials mentioning features or use of this software 1824 // must display the following acknowledgement: 1825 // This product includes software developed by the University of 1826 // California, Berkeley and its contributors. 1827 // 4. Neither the name of the University nor the names of its contributors 1828 // may be used to endorse or promote products derived from this software 1829 // without specific prior written permission. 1830 // 1831 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1832 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1833 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1834 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1835 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1836 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1837 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1838 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1839 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1840 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1841 // SUCH DAMAGE. 1842 // 1843 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 1844 1845 // Basic integral types. Omit the typedef if 1846 // not possible for a machine/compiler combination. 1847 // Copyright (c) 2012 Apple Inc. All rights reserved. 1848 // 1849 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1850 // 1851 // This file contains Original Code and/or Modifications of Original Code 1852 // as defined in and that are subject to the Apple Public Source License 1853 // Version 2.0 (the 'License'). You may not use this file except in 1854 // compliance with the License. The rights granted to you under the License 1855 // may not be used to create, or enable the creation or redistribution of, 1856 // unlawful or unlicensed copies of an Apple operating system, or to 1857 // circumvent, violate, or enable the circumvention or violation of, any 1858 // terms of an Apple operating system software license agreement. 1859 // 1860 // Please obtain a copy of the License at 1861 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1862 // 1863 // The Original Code and all software distributed under the License are 1864 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1865 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1866 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1867 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1868 // Please see the License for the specific language governing rights and 1869 // limitations under the License. 1870 // 1871 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1872 type int8_t = int8 /* _int8_t.h:30:31 */ 1873 // Copyright (c) 2012 Apple Inc. All rights reserved. 1874 // 1875 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1876 // 1877 // This file contains Original Code and/or Modifications of Original Code 1878 // as defined in and that are subject to the Apple Public Source License 1879 // Version 2.0 (the 'License'). You may not use this file except in 1880 // compliance with the License. The rights granted to you under the License 1881 // may not be used to create, or enable the creation or redistribution of, 1882 // unlawful or unlicensed copies of an Apple operating system, or to 1883 // circumvent, violate, or enable the circumvention or violation of, any 1884 // terms of an Apple operating system software license agreement. 1885 // 1886 // Please obtain a copy of the License at 1887 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1888 // 1889 // The Original Code and all software distributed under the License are 1890 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1891 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1892 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1893 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1894 // Please see the License for the specific language governing rights and 1895 // limitations under the License. 1896 // 1897 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1898 type int16_t = int16 /* _int16_t.h:30:33 */ 1899 // Copyright (c) 2012 Apple Inc. All rights reserved. 1900 // 1901 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1902 // 1903 // This file contains Original Code and/or Modifications of Original Code 1904 // as defined in and that are subject to the Apple Public Source License 1905 // Version 2.0 (the 'License'). You may not use this file except in 1906 // compliance with the License. The rights granted to you under the License 1907 // may not be used to create, or enable the creation or redistribution of, 1908 // unlawful or unlicensed copies of an Apple operating system, or to 1909 // circumvent, violate, or enable the circumvention or violation of, any 1910 // terms of an Apple operating system software license agreement. 1911 // 1912 // Please obtain a copy of the License at 1913 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1914 // 1915 // The Original Code and all software distributed under the License are 1916 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1917 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1918 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1919 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1920 // Please see the License for the specific language governing rights and 1921 // limitations under the License. 1922 // 1923 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1924 type int32_t = int32 /* _int32_t.h:30:33 */ 1925 // Copyright (c) 2012 Apple Inc. All rights reserved. 1926 // 1927 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1928 // 1929 // This file contains Original Code and/or Modifications of Original Code 1930 // as defined in and that are subject to the Apple Public Source License 1931 // Version 2.0 (the 'License'). You may not use this file except in 1932 // compliance with the License. The rights granted to you under the License 1933 // may not be used to create, or enable the creation or redistribution of, 1934 // unlawful or unlicensed copies of an Apple operating system, or to 1935 // circumvent, violate, or enable the circumvention or violation of, any 1936 // terms of an Apple operating system software license agreement. 1937 // 1938 // Please obtain a copy of the License at 1939 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1940 // 1941 // The Original Code and all software distributed under the License are 1942 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1943 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1944 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1945 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1946 // Please see the License for the specific language governing rights and 1947 // limitations under the License. 1948 // 1949 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1950 type int64_t = int64 /* _int64_t.h:30:33 */ 1951 1952 // Copyright (c) 2016 Apple Inc. All rights reserved. 1953 // 1954 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1955 // 1956 // This file contains Original Code and/or Modifications of Original Code 1957 // as defined in and that are subject to the Apple Public Source License 1958 // Version 2.0 (the 'License'). You may not use this file except in 1959 // compliance with the License. The rights granted to you under the License 1960 // may not be used to create, or enable the creation or redistribution of, 1961 // unlawful or unlicensed copies of an Apple operating system, or to 1962 // circumvent, violate, or enable the circumvention or violation of, any 1963 // terms of an Apple operating system software license agreement. 1964 // 1965 // Please obtain a copy of the License at 1966 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1967 // 1968 // The Original Code and all software distributed under the License are 1969 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1970 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1971 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1972 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1973 // Please see the License for the specific language governing rights and 1974 // limitations under the License. 1975 // 1976 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1977 type u_int8_t = uint8 /* _u_int8_t.h:30:33 */ 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 type u_int16_t = uint16 /* _u_int16_t.h:30:41 */ 2004 // Copyright (c) 2012 Apple Inc. All rights reserved. 2005 // 2006 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2007 // 2008 // This file contains Original Code and/or Modifications of Original Code 2009 // as defined in and that are subject to the Apple Public Source License 2010 // Version 2.0 (the 'License'). You may not use this file except in 2011 // compliance with the License. The rights granted to you under the License 2012 // may not be used to create, or enable the creation or redistribution of, 2013 // unlawful or unlicensed copies of an Apple operating system, or to 2014 // circumvent, violate, or enable the circumvention or violation of, any 2015 // terms of an Apple operating system software license agreement. 2016 // 2017 // Please obtain a copy of the License at 2018 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2019 // 2020 // The Original Code and all software distributed under the License are 2021 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2022 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2023 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2024 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2025 // Please see the License for the specific language governing rights and 2026 // limitations under the License. 2027 // 2028 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2029 type u_int32_t = uint32 /* _u_int32_t.h:30:33 */ 2030 // Copyright (c) 2012 Apple Inc. All rights reserved. 2031 // 2032 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2033 // 2034 // This file contains Original Code and/or Modifications of Original Code 2035 // as defined in and that are subject to the Apple Public Source License 2036 // Version 2.0 (the 'License'). You may not use this file except in 2037 // compliance with the License. The rights granted to you under the License 2038 // may not be used to create, or enable the creation or redistribution of, 2039 // unlawful or unlicensed copies of an Apple operating system, or to 2040 // circumvent, violate, or enable the circumvention or violation of, any 2041 // terms of an Apple operating system software license agreement. 2042 // 2043 // Please obtain a copy of the License at 2044 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2045 // 2046 // The Original Code and all software distributed under the License are 2047 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2048 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2049 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2050 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2051 // Please see the License for the specific language governing rights and 2052 // limitations under the License. 2053 // 2054 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2055 type u_int64_t = uint64 /* _u_int64_t.h:30:33 */ 2056 2057 type register_t = int64_t /* types.h:66:33 */ 2058 2059 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 2060 // 2061 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2062 // 2063 // This file contains Original Code and/or Modifications of Original Code 2064 // as defined in and that are subject to the Apple Public Source License 2065 // Version 2.0 (the 'License'). You may not use this file except in 2066 // compliance with the License. The rights granted to you under the License 2067 // may not be used to create, or enable the creation or redistribution of, 2068 // unlawful or unlicensed copies of an Apple operating system, or to 2069 // circumvent, violate, or enable the circumvention or violation of, any 2070 // terms of an Apple operating system software license agreement. 2071 // 2072 // Please obtain a copy of the License at 2073 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2074 // 2075 // The Original Code and all software distributed under the License are 2076 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2077 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2078 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2079 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2080 // Please see the License for the specific language governing rights and 2081 // limitations under the License. 2082 // 2083 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2084 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 2085 // 2086 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2087 // 2088 // This file contains Original Code and/or Modifications of Original Code 2089 // as defined in and that are subject to the Apple Public Source License 2090 // Version 2.0 (the 'License'). You may not use this file except in 2091 // compliance with the License. The rights granted to you under the License 2092 // may not be used to create, or enable the creation or redistribution of, 2093 // unlawful or unlicensed copies of an Apple operating system, or to 2094 // circumvent, violate, or enable the circumvention or violation of, any 2095 // terms of an Apple operating system software license agreement. 2096 // 2097 // Please obtain a copy of the License at 2098 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2099 // 2100 // The Original Code and all software distributed under the License are 2101 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2102 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2103 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2104 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2105 // Please see the License for the specific language governing rights and 2106 // limitations under the License. 2107 // 2108 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2109 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2110 2111 type intptr_t = int64 /* _intptr_t.h:32:33 */ 2112 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 2113 // 2114 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2115 // 2116 // This file contains Original Code and/or Modifications of Original Code 2117 // as defined in and that are subject to the Apple Public Source License 2118 // Version 2.0 (the 'License'). You may not use this file except in 2119 // compliance with the License. The rights granted to you under the License 2120 // may not be used to create, or enable the creation or redistribution of, 2121 // unlawful or unlicensed copies of an Apple operating system, or to 2122 // circumvent, violate, or enable the circumvention or violation of, any 2123 // terms of an Apple operating system software license agreement. 2124 // 2125 // Please obtain a copy of the License at 2126 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2127 // 2128 // The Original Code and all software distributed under the License are 2129 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2130 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2131 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2132 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2133 // Please see the License for the specific language governing rights and 2134 // limitations under the License. 2135 // 2136 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2137 2138 type uintptr_t = uint64 /* _uintptr_t.h:34:33 */ 2139 2140 // These types are used for reserving the largest possible size. 2141 type user_addr_t = u_int64_t /* types.h:77:33 */ 2142 type user_size_t = u_int64_t /* types.h:78:33 */ 2143 type user_ssize_t = int64_t /* types.h:79:33 */ 2144 type user_long_t = int64_t /* types.h:80:33 */ 2145 type user_ulong_t = u_int64_t /* types.h:81:33 */ 2146 type user_time_t = int64_t /* types.h:82:33 */ 2147 type user_off_t = int64_t /* types.h:83:33 */ 2148 2149 // This defines the size of syscall arguments after copying into the kernel: 2150 type syscall_arg_t = u_int64_t /* types.h:104:33 */ 2151 2152 type va_list = uintptr /* _va_list.h:32:26 */ 2153 2154 type fpos_t = int64 /* _stdio.h:81:25 */ 2155 2156 // NB: to fit things in six character monocase externals, the stdio 2157 // code uses the prefix `__s' for stdio objects, typically followed 2158 // by a three-character attempt at a mnemonic. 2159 2160 // stdio buffers 2161 type __sbuf = struct { 2162 F_base uintptr 2163 F_size int32 2164 F__ccgo_pad1 [4]byte 2165 } /* _stdio.h:92:1 */ 2166 2167 // stdio state variables. 2168 // 2169 // The following always hold: 2170 // 2171 // if (_flags&(__SLBF|__SWR)) == (__SLBF|__SWR), 2172 // _lbfsize is -_bf._size, else _lbfsize is 0 2173 // if _flags&__SRD, _w is 0 2174 // if _flags&__SWR, _r is 0 2175 // 2176 // This ensures that the getc and putc macros (or inline functions) never 2177 // try to write or read from a file that is in `read' or `write' mode. 2178 // (Moreover, they can, and do, automatically switch from read mode to 2179 // write mode, and back, on "r+" and "w+" files.) 2180 // 2181 // _lbfsize is used only to make the inline line-buffered output stream 2182 // code as compact as possible. 2183 // 2184 // _ub, _up, and _ur are used when ungetc() pushes back more characters 2185 // than fit in the current _bf, or when ungetc() pushes back a character 2186 // that does not match the previous one in _bf. When this happens, 2187 // _ub._base becomes non-nil (i.e., a stream has ungetc() data iff 2188 // _ub._base!=NULL) and _up and _ur save the current values of _p and _r. 2189 // 2190 // NB: see WARNING above before changing the layout of this structure! 2191 type __sFILE = struct { 2192 F_p uintptr 2193 F_r int32 2194 F_w int32 2195 F_flags int16 2196 F_file int16 2197 F__ccgo_pad1 [4]byte 2198 F_bf struct { 2199 F_base uintptr 2200 F_size int32 2201 F__ccgo_pad1 [4]byte 2202 } 2203 F_lbfsize int32 2204 F__ccgo_pad2 [4]byte 2205 F_cookie uintptr 2206 F_close uintptr 2207 F_read uintptr 2208 F_seek uintptr 2209 F_write uintptr 2210 F_ub struct { 2211 F_base uintptr 2212 F_size int32 2213 F__ccgo_pad1 [4]byte 2214 } 2215 F_extra uintptr 2216 F_ur int32 2217 F_ubuf [3]uint8 2218 F_nbuf [1]uint8 2219 F_lb struct { 2220 F_base uintptr 2221 F_size int32 2222 F__ccgo_pad1 [4]byte 2223 } 2224 F_blksize int32 2225 F__ccgo_pad3 [4]byte 2226 F_offset fpos_t 2227 } /* _stdio.h:126:9 */ 2228 2229 // stdio state variables. 2230 // 2231 // The following always hold: 2232 // 2233 // if (_flags&(__SLBF|__SWR)) == (__SLBF|__SWR), 2234 // _lbfsize is -_bf._size, else _lbfsize is 0 2235 // if _flags&__SRD, _w is 0 2236 // if _flags&__SWR, _r is 0 2237 // 2238 // This ensures that the getc and putc macros (or inline functions) never 2239 // try to write or read from a file that is in `read' or `write' mode. 2240 // (Moreover, they can, and do, automatically switch from read mode to 2241 // write mode, and back, on "r+" and "w+" files.) 2242 // 2243 // _lbfsize is used only to make the inline line-buffered output stream 2244 // code as compact as possible. 2245 // 2246 // _ub, _up, and _ur are used when ungetc() pushes back more characters 2247 // than fit in the current _bf, or when ungetc() pushes back a character 2248 // that does not match the previous one in _bf. When this happens, 2249 // _ub._base becomes non-nil (i.e., a stream has ungetc() data iff 2250 // _ub._base!=NULL) and _up and _ur save the current values of _p and _r. 2251 // 2252 // NB: see WARNING above before changing the layout of this structure! 2253 type FILE = __sFILE /* _stdio.h:157:3 */ 2254 2255 // Additional functionality provided by: 2256 // POSIX.1-2001 2257 // ISO C99 2258 2259 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 2260 // 2261 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2262 // 2263 // This file contains Original Code and/or Modifications of Original Code 2264 // as defined in and that are subject to the Apple Public Source License 2265 // Version 2.0 (the 'License'). You may not use this file except in 2266 // compliance with the License. The rights granted to you under the License 2267 // may not be used to create, or enable the creation or redistribution of, 2268 // unlawful or unlicensed copies of an Apple operating system, or to 2269 // circumvent, violate, or enable the circumvention or violation of, any 2270 // terms of an Apple operating system software license agreement. 2271 // 2272 // Please obtain a copy of the License at 2273 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2274 // 2275 // The Original Code and all software distributed under the License are 2276 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2277 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2278 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2279 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2280 // Please see the License for the specific language governing rights and 2281 // limitations under the License. 2282 // 2283 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2284 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 2285 // 2286 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2287 // 2288 // This file contains Original Code and/or Modifications of Original Code 2289 // as defined in and that are subject to the Apple Public Source License 2290 // Version 2.0 (the 'License'). You may not use this file except in 2291 // compliance with the License. The rights granted to you under the License 2292 // may not be used to create, or enable the creation or redistribution of, 2293 // unlawful or unlicensed copies of an Apple operating system, or to 2294 // circumvent, violate, or enable the circumvention or violation of, any 2295 // terms of an Apple operating system software license agreement. 2296 // 2297 // Please obtain a copy of the License at 2298 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2299 // 2300 // The Original Code and all software distributed under the License are 2301 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2302 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2303 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2304 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2305 // Please see the License for the specific language governing rights and 2306 // limitations under the License. 2307 // 2308 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2309 2310 type off_t = int64 /* _off_t.h:31:33 */ 2311 2312 // Additional functionality provided by: 2313 // POSIX.1-2008 2314 2315 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 2316 // 2317 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2318 // 2319 // This file contains Original Code and/or Modifications of Original Code 2320 // as defined in and that are subject to the Apple Public Source License 2321 // Version 2.0 (the 'License'). You may not use this file except in 2322 // compliance with the License. The rights granted to you under the License 2323 // may not be used to create, or enable the creation or redistribution of, 2324 // unlawful or unlicensed copies of an Apple operating system, or to 2325 // circumvent, violate, or enable the circumvention or violation of, any 2326 // terms of an Apple operating system software license agreement. 2327 // 2328 // Please obtain a copy of the License at 2329 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2330 // 2331 // The Original Code and all software distributed under the License are 2332 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2333 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2334 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2335 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2336 // Please see the License for the specific language governing rights and 2337 // limitations under the License. 2338 // 2339 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2340 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 2341 // 2342 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2343 // 2344 // This file contains Original Code and/or Modifications of Original Code 2345 // as defined in and that are subject to the Apple Public Source License 2346 // Version 2.0 (the 'License'). You may not use this file except in 2347 // compliance with the License. The rights granted to you under the License 2348 // may not be used to create, or enable the creation or redistribution of, 2349 // unlawful or unlicensed copies of an Apple operating system, or to 2350 // circumvent, violate, or enable the circumvention or violation of, any 2351 // terms of an Apple operating system software license agreement. 2352 // 2353 // Please obtain a copy of the License at 2354 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2355 // 2356 // The Original Code and all software distributed under the License are 2357 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2358 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2359 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2360 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2361 // Please see the License for the specific language governing rights and 2362 // limitations under the License. 2363 // 2364 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2365 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2366 type ssize_t = int64 /* _ssize_t.h:31:33 */ 2367 2368 // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. 2369 // All Rights Reserved. 2370 // 2371 // Permission is hereby granted, free of charge, to any person obtaining a 2372 // copy of this software and associated documentation files (the "Software"), 2373 // to deal in the Software without restriction, including without limitation 2374 // the rights to use, copy, modify, merge, publish, distribute, sublicense, 2375 // and/or sell copies of the Software, and to permit persons to whom the 2376 // Software is furnished to do so, subject to the following conditions: 2377 // 2378 // The above copyright notice and this permission notice shall be included in 2379 // all copies or substantial portions of the Software. 2380 // 2381 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 2382 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 2383 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 2384 // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 2385 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 2386 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 2387 // 2388 // Except as contained in this notice, the names of the authors or their 2389 // institutions shall not be used in advertising or otherwise to promote the 2390 // sale, use or other dealings in this Software without prior written 2391 // authorization from the authors. 2392 2393 // Copyright (c) 2000-2008 Apple Inc. All rights reserved. 2394 // 2395 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2396 // 2397 // This file contains Original Code and/or Modifications of Original Code 2398 // as defined in and that are subject to the Apple Public Source License 2399 // Version 2.0 (the 'License'). You may not use this file except in 2400 // compliance with the License. The rights granted to you under the License 2401 // may not be used to create, or enable the creation or redistribution of, 2402 // unlawful or unlicensed copies of an Apple operating system, or to 2403 // circumvent, violate, or enable the circumvention or violation of, any 2404 // terms of an Apple operating system software license agreement. 2405 // 2406 // Please obtain a copy of the License at 2407 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2408 // 2409 // The Original Code and all software distributed under the License are 2410 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2411 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2412 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2413 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2414 // Please see the License for the specific language governing rights and 2415 // limitations under the License. 2416 // 2417 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2418 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 2419 // Copyright (c) 1982, 1986, 1991, 1993, 1994 2420 // The Regents of the University of California. All rights reserved. 2421 // (c) UNIX System Laboratories, Inc. 2422 // All or some portions of this file are derived from material licensed 2423 // to the University of California by American Telephone and Telegraph 2424 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 2425 // the permission of UNIX System Laboratories, Inc. 2426 // 2427 // Redistribution and use in source and binary forms, with or without 2428 // modification, are permitted provided that the following conditions 2429 // are met: 2430 // 1. Redistributions of source code must retain the above copyright 2431 // notice, this list of conditions and the following disclaimer. 2432 // 2. Redistributions in binary form must reproduce the above copyright 2433 // notice, this list of conditions and the following disclaimer in the 2434 // documentation and/or other materials provided with the distribution. 2435 // 3. All advertising materials mentioning features or use of this software 2436 // must display the following acknowledgement: 2437 // This product includes software developed by the University of 2438 // California, Berkeley and its contributors. 2439 // 4. Neither the name of the University nor the names of its contributors 2440 // may be used to endorse or promote products derived from this software 2441 // without specific prior written permission. 2442 // 2443 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2444 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2445 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2446 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2447 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2448 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2449 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2450 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2451 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2452 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2453 // SUCH DAMAGE. 2454 // 2455 // @(#)types.h 8.4 (Berkeley) 1/21/94 2456 2457 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 2458 // 2459 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2460 // 2461 // This file contains Original Code and/or Modifications of Original Code 2462 // as defined in and that are subject to the Apple Public Source License 2463 // Version 2.0 (the 'License'). You may not use this file except in 2464 // compliance with the License. The rights granted to you under the License 2465 // may not be used to create, or enable the creation or redistribution of, 2466 // unlawful or unlicensed copies of an Apple operating system, or to 2467 // circumvent, violate, or enable the circumvention or violation of, any 2468 // terms of an Apple operating system software license agreement. 2469 // 2470 // Please obtain a copy of the License at 2471 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2472 // 2473 // The Original Code and all software distributed under the License are 2474 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2475 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2476 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2477 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2478 // Please see the License for the specific language governing rights and 2479 // limitations under the License. 2480 // 2481 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2482 2483 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 2484 // 2485 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2486 // 2487 // This file contains Original Code and/or Modifications of Original Code 2488 // as defined in and that are subject to the Apple Public Source License 2489 // Version 2.0 (the 'License'). You may not use this file except in 2490 // compliance with the License. The rights granted to you under the License 2491 // may not be used to create, or enable the creation or redistribution of, 2492 // unlawful or unlicensed copies of an Apple operating system, or to 2493 // circumvent, violate, or enable the circumvention or violation of, any 2494 // terms of an Apple operating system software license agreement. 2495 // 2496 // Please obtain a copy of the License at 2497 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2498 // 2499 // The Original Code and all software distributed under the License are 2500 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2501 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2502 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2503 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2504 // Please see the License for the specific language governing rights and 2505 // limitations under the License. 2506 // 2507 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2508 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2509 // Copyright (c) 1991, 1993 2510 // The Regents of the University of California. All rights reserved. 2511 // 2512 // This code is derived from software contributed to Berkeley by 2513 // Berkeley Software Design, Inc. 2514 // 2515 // Redistribution and use in source and binary forms, with or without 2516 // modification, are permitted provided that the following conditions 2517 // are met: 2518 // 1. Redistributions of source code must retain the above copyright 2519 // notice, this list of conditions and the following disclaimer. 2520 // 2. Redistributions in binary form must reproduce the above copyright 2521 // notice, this list of conditions and the following disclaimer in the 2522 // documentation and/or other materials provided with the distribution. 2523 // 3. All advertising materials mentioning features or use of this software 2524 // must display the following acknowledgement: 2525 // This product includes software developed by the University of 2526 // California, Berkeley and its contributors. 2527 // 4. Neither the name of the University nor the names of its contributors 2528 // may be used to endorse or promote products derived from this software 2529 // without specific prior written permission. 2530 // 2531 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2532 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2533 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2534 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2535 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2536 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2537 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2538 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2539 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2540 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2541 // SUCH DAMAGE. 2542 // 2543 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2544 2545 // Machine type dependent parameters. 2546 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 2547 // 2548 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2549 // 2550 // This file contains Original Code and/or Modifications of Original Code 2551 // as defined in and that are subject to the Apple Public Source License 2552 // Version 2.0 (the 'License'). You may not use this file except in 2553 // compliance with the License. The rights granted to you under the License 2554 // may not be used to create, or enable the creation or redistribution of, 2555 // unlawful or unlicensed copies of an Apple operating system, or to 2556 // circumvent, violate, or enable the circumvention or violation of, any 2557 // terms of an Apple operating system software license agreement. 2558 // 2559 // Please obtain a copy of the License at 2560 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2561 // 2562 // The Original Code and all software distributed under the License are 2563 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2564 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2565 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2566 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2567 // Please see the License for the specific language governing rights and 2568 // limitations under the License. 2569 // 2570 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2571 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2572 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 2573 // 2574 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2575 // 2576 // This file contains Original Code and/or Modifications of Original Code 2577 // as defined in and that are subject to the Apple Public Source License 2578 // Version 2.0 (the 'License'). You may not use this file except in 2579 // compliance with the License. The rights granted to you under the License 2580 // may not be used to create, or enable the creation or redistribution of, 2581 // unlawful or unlicensed copies of an Apple operating system, or to 2582 // circumvent, violate, or enable the circumvention or violation of, any 2583 // terms of an Apple operating system software license agreement. 2584 // 2585 // Please obtain a copy of the License at 2586 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2587 // 2588 // The Original Code and all software distributed under the License are 2589 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2590 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2591 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2592 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2593 // Please see the License for the specific language governing rights and 2594 // limitations under the License. 2595 // 2596 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2597 2598 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 2599 // 2600 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2601 // 2602 // This file contains Original Code and/or Modifications of Original Code 2603 // as defined in and that are subject to the Apple Public Source License 2604 // Version 2.0 (the 'License'). You may not use this file except in 2605 // compliance with the License. The rights granted to you under the License 2606 // may not be used to create, or enable the creation or redistribution of, 2607 // unlawful or unlicensed copies of an Apple operating system, or to 2608 // circumvent, violate, or enable the circumvention or violation of, any 2609 // terms of an Apple operating system software license agreement. 2610 // 2611 // Please obtain a copy of the License at 2612 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2613 // 2614 // The Original Code and all software distributed under the License are 2615 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2616 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2617 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2618 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2619 // Please see the License for the specific language governing rights and 2620 // limitations under the License. 2621 // 2622 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2623 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2624 2625 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 2626 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2627 // Copyright (c) 1987, 1991, 1993 2628 // The Regents of the University of California. All rights reserved. 2629 // 2630 // Redistribution and use in source and binary forms, with or without 2631 // modification, are permitted provided that the following conditions 2632 // are met: 2633 // 1. Redistributions of source code must retain the above copyright 2634 // notice, this list of conditions and the following disclaimer. 2635 // 2. Redistributions in binary form must reproduce the above copyright 2636 // notice, this list of conditions and the following disclaimer in the 2637 // documentation and/or other materials provided with the distribution. 2638 // 3. All advertising materials mentioning features or use of this software 2639 // must display the following acknowledgement: 2640 // This product includes software developed by the University of 2641 // California, Berkeley and its contributors. 2642 // 4. Neither the name of the University nor the names of its contributors 2643 // may be used to endorse or promote products derived from this software 2644 // without specific prior written permission. 2645 // 2646 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2647 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2648 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2649 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2650 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2651 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2652 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2653 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2654 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2655 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2656 // SUCH DAMAGE. 2657 // 2658 // @(#)endian.h 8.1 (Berkeley) 6/11/93 2659 2660 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 2661 // 2662 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2663 // 2664 // This file contains Original Code and/or Modifications of Original Code 2665 // as defined in and that are subject to the Apple Public Source License 2666 // Version 2.0 (the 'License'). You may not use this file except in 2667 // compliance with the License. The rights granted to you under the License 2668 // may not be used to create, or enable the creation or redistribution of, 2669 // unlawful or unlicensed copies of an Apple operating system, or to 2670 // circumvent, violate, or enable the circumvention or violation of, any 2671 // terms of an Apple operating system software license agreement. 2672 // 2673 // Please obtain a copy of the License at 2674 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2675 // 2676 // The Original Code and all software distributed under the License are 2677 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2678 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2679 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2680 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2681 // Please see the License for the specific language governing rights and 2682 // limitations under the License. 2683 // 2684 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2685 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2686 // Copyright (c) 1991, 1993 2687 // The Regents of the University of California. All rights reserved. 2688 // 2689 // This code is derived from software contributed to Berkeley by 2690 // Berkeley Software Design, Inc. 2691 // 2692 // Redistribution and use in source and binary forms, with or without 2693 // modification, are permitted provided that the following conditions 2694 // are met: 2695 // 1. Redistributions of source code must retain the above copyright 2696 // notice, this list of conditions and the following disclaimer. 2697 // 2. Redistributions in binary form must reproduce the above copyright 2698 // notice, this list of conditions and the following disclaimer in the 2699 // documentation and/or other materials provided with the distribution. 2700 // 3. All advertising materials mentioning features or use of this software 2701 // must display the following acknowledgement: 2702 // This product includes software developed by the University of 2703 // California, Berkeley and its contributors. 2704 // 4. Neither the name of the University nor the names of its contributors 2705 // may be used to endorse or promote products derived from this software 2706 // without specific prior written permission. 2707 // 2708 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2709 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2710 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2711 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2712 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2713 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2714 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2715 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2716 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2717 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2718 // SUCH DAMAGE. 2719 // 2720 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2721 2722 // Define _NOQUAD if the compiler does NOT support 64-bit integers. 2723 // #define _NOQUAD 2724 2725 // Define the order of 32-bit words in 64-bit words. 2726 2727 // Definitions for byte order, according to byte significance from low 2728 // address to high. 2729 2730 // Copyright (c) 2004, 2006 Apple Computer, Inc. All rights reserved. 2731 // 2732 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2733 // 2734 // This file contains Original Code and/or Modifications of Original Code 2735 // as defined in and that are subject to the Apple Public Source License 2736 // Version 2.0 (the 'License'). You may not use this file except in 2737 // compliance with the License. The rights granted to you under the License 2738 // may not be used to create, or enable the creation or redistribution of, 2739 // unlawful or unlicensed copies of an Apple operating system, or to 2740 // circumvent, violate, or enable the circumvention or violation of, any 2741 // terms of an Apple operating system software license agreement. 2742 // 2743 // Please obtain a copy of the License at 2744 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2745 // 2746 // The Original Code and all software distributed under the License are 2747 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2748 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2749 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2750 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2751 // Please see the License for the specific language governing rights and 2752 // limitations under the License. 2753 // 2754 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2755 2756 // Copyright (c) 1995 NeXT Computer, Inc. All rights reserved. 2757 // Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved. 2758 // 2759 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2760 // 2761 // This file contains Original Code and/or Modifications of Original Code 2762 // as defined in and that are subject to the Apple Public Source License 2763 // Version 2.0 (the 'License'). You may not use this file except in 2764 // compliance with the License. The rights granted to you under the License 2765 // may not be used to create, or enable the creation or redistribution of, 2766 // unlawful or unlicensed copies of an Apple operating system, or to 2767 // circumvent, violate, or enable the circumvention or violation of, any 2768 // terms of an Apple operating system software license agreement. 2769 // 2770 // Please obtain a copy of the License at 2771 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2772 // 2773 // The Original Code and all software distributed under the License are 2774 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2775 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2776 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2777 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2778 // Please see the License for the specific language governing rights and 2779 // limitations under the License. 2780 // 2781 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2782 // Copyright (c) 1987, 1991, 1993 2783 // The Regents of the University of California. All rights reserved. 2784 // 2785 // Redistribution and use in source and binary forms, with or without 2786 // modification, are permitted provided that the following conditions 2787 // are met: 2788 // 1. Redistributions of source code must retain the above copyright 2789 // notice, this list of conditions and the following disclaimer. 2790 // 2. Redistributions in binary form must reproduce the above copyright 2791 // notice, this list of conditions and the following disclaimer in the 2792 // documentation and/or other materials provided with the distribution. 2793 // 3. All advertising materials mentioning features or use of this software 2794 // must display the following acknowledgement: 2795 // This product includes software developed by the University of 2796 // California, Berkeley and its contributors. 2797 // 4. Neither the name of the University nor the names of its contributors 2798 // may be used to endorse or promote products derived from this software 2799 // without specific prior written permission. 2800 // 2801 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2802 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2803 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2804 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2805 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2806 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2807 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2808 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2809 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2810 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2811 // SUCH DAMAGE. 2812 2813 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 2814 // 2815 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2816 // 2817 // This file contains Original Code and/or Modifications of Original Code 2818 // as defined in and that are subject to the Apple Public Source License 2819 // Version 2.0 (the 'License'). You may not use this file except in 2820 // compliance with the License. The rights granted to you under the License 2821 // may not be used to create, or enable the creation or redistribution of, 2822 // unlawful or unlicensed copies of an Apple operating system, or to 2823 // circumvent, violate, or enable the circumvention or violation of, any 2824 // terms of an Apple operating system software license agreement. 2825 // 2826 // Please obtain a copy of the License at 2827 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2828 // 2829 // The Original Code and all software distributed under the License are 2830 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2831 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2832 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2833 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2834 // Please see the License for the specific language governing rights and 2835 // limitations under the License. 2836 // 2837 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2838 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2839 // Copyright (c) 1991, 1993 2840 // The Regents of the University of California. All rights reserved. 2841 // 2842 // This code is derived from software contributed to Berkeley by 2843 // Berkeley Software Design, Inc. 2844 // 2845 // Redistribution and use in source and binary forms, with or without 2846 // modification, are permitted provided that the following conditions 2847 // are met: 2848 // 1. Redistributions of source code must retain the above copyright 2849 // notice, this list of conditions and the following disclaimer. 2850 // 2. Redistributions in binary form must reproduce the above copyright 2851 // notice, this list of conditions and the following disclaimer in the 2852 // documentation and/or other materials provided with the distribution. 2853 // 3. All advertising materials mentioning features or use of this software 2854 // must display the following acknowledgement: 2855 // This product includes software developed by the University of 2856 // California, Berkeley and its contributors. 2857 // 4. Neither the name of the University nor the names of its contributors 2858 // may be used to endorse or promote products derived from this software 2859 // without specific prior written permission. 2860 // 2861 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2862 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2863 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2864 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2865 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2866 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2867 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2868 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2869 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2870 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2871 // SUCH DAMAGE. 2872 // 2873 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2874 2875 // Macros for network/external number representation conversion. 2876 2877 // Copyright (c) 2006 Apple Computer, Inc. All rights reserved. 2878 // 2879 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2880 // 2881 // This file contains Original Code and/or Modifications of Original Code 2882 // as defined in and that are subject to the Apple Public Source License 2883 // Version 2.0 (the 'License'). You may not use this file except in 2884 // compliance with the License. The rights granted to you under the License 2885 // may not be used to create, or enable the creation or redistribution of, 2886 // unlawful or unlicensed copies of an Apple operating system, or to 2887 // circumvent, violate, or enable the circumvention or violation of, any 2888 // terms of an Apple operating system software license agreement. 2889 // 2890 // Please obtain a copy of the License at 2891 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2892 // 2893 // The Original Code and all software distributed under the License are 2894 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2895 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2896 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2897 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2898 // Please see the License for the specific language governing rights and 2899 // limitations under the License. 2900 // 2901 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2902 2903 // This header is normally included from <libkern/OSByteOrder.h>. However, 2904 // <sys/_endian.h> also includes this in the case of little-endian 2905 // architectures, so that we can map OSByteOrder routines to the hton* and ntoh* 2906 // macros. This results in the asymmetry below; we only include 2907 // <libkern/arch/_OSByteOrder.h> for little-endian architectures. 2908 2909 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 2910 // 2911 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2912 // 2913 // This file contains Original Code and/or Modifications of Original Code 2914 // as defined in and that are subject to the Apple Public Source License 2915 // Version 2.0 (the 'License'). You may not use this file except in 2916 // compliance with the License. The rights granted to you under the License 2917 // may not be used to create, or enable the creation or redistribution of, 2918 // unlawful or unlicensed copies of an Apple operating system, or to 2919 // circumvent, violate, or enable the circumvention or violation of, any 2920 // terms of an Apple operating system software license agreement. 2921 // 2922 // Please obtain a copy of the License at 2923 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2924 // 2925 // The Original Code and all software distributed under the License are 2926 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2927 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2928 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2929 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2930 // Please see the License for the specific language governing rights and 2931 // limitations under the License. 2932 // 2933 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2934 2935 // Macros for swapping constant values in the preprocessing stage. 2936 2937 // Copyright (c) 1999-2007 Apple Inc. All rights reserved. 2938 2939 // DO NOT EDIT THIS FILE. 2940 // 2941 // It has been auto-edited by fixincludes from: 2942 // 2943 // "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/stdint.h" 2944 // 2945 // This had to be done to correct non-standard usages in the 2946 // original, manufacturer supplied header file. 2947 2948 // Copyright (c) 2000-2010 Apple Inc. 2949 // All rights reserved. 2950 2951 // from ISO/IEC 988:1999 spec 2952 2953 // 7.18.1.1 Exact-width integer types 2954 // Copyright (c) 2012 Apple Inc. All rights reserved. 2955 // 2956 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2957 // 2958 // This file contains Original Code and/or Modifications of Original Code 2959 // as defined in and that are subject to the Apple Public Source License 2960 // Version 2.0 (the 'License'). You may not use this file except in 2961 // compliance with the License. The rights granted to you under the License 2962 // may not be used to create, or enable the creation or redistribution of, 2963 // unlawful or unlicensed copies of an Apple operating system, or to 2964 // circumvent, violate, or enable the circumvention or violation of, any 2965 // terms of an Apple operating system software license agreement. 2966 // 2967 // Please obtain a copy of the License at 2968 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2969 // 2970 // The Original Code and all software distributed under the License are 2971 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2972 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2973 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2974 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2975 // Please see the License for the specific language governing rights and 2976 // limitations under the License. 2977 // 2978 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2979 // Copyright (c) 2012 Apple Inc. All rights reserved. 2980 // 2981 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2982 // 2983 // This file contains Original Code and/or Modifications of Original Code 2984 // as defined in and that are subject to the Apple Public Source License 2985 // Version 2.0 (the 'License'). You may not use this file except in 2986 // compliance with the License. The rights granted to you under the License 2987 // may not be used to create, or enable the creation or redistribution of, 2988 // unlawful or unlicensed copies of an Apple operating system, or to 2989 // circumvent, violate, or enable the circumvention or violation of, any 2990 // terms of an Apple operating system software license agreement. 2991 // 2992 // Please obtain a copy of the License at 2993 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2994 // 2995 // The Original Code and all software distributed under the License are 2996 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2997 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2998 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2999 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3000 // Please see the License for the specific language governing rights and 3001 // limitations under the License. 3002 // 3003 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3004 // Copyright (c) 2012 Apple Inc. All rights reserved. 3005 // 3006 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3007 // 3008 // This file contains Original Code and/or Modifications of Original Code 3009 // as defined in and that are subject to the Apple Public Source License 3010 // Version 2.0 (the 'License'). You may not use this file except in 3011 // compliance with the License. The rights granted to you under the License 3012 // may not be used to create, or enable the creation or redistribution of, 3013 // unlawful or unlicensed copies of an Apple operating system, or to 3014 // circumvent, violate, or enable the circumvention or violation of, any 3015 // terms of an Apple operating system software license agreement. 3016 // 3017 // Please obtain a copy of the License at 3018 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3019 // 3020 // The Original Code and all software distributed under the License are 3021 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3022 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3023 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3024 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3025 // Please see the License for the specific language governing rights and 3026 // limitations under the License. 3027 // 3028 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3029 // Copyright (c) 2012 Apple Inc. All rights reserved. 3030 // 3031 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3032 // 3033 // This file contains Original Code and/or Modifications of Original Code 3034 // as defined in and that are subject to the Apple Public Source License 3035 // Version 2.0 (the 'License'). You may not use this file except in 3036 // compliance with the License. The rights granted to you under the License 3037 // may not be used to create, or enable the creation or redistribution of, 3038 // unlawful or unlicensed copies of an Apple operating system, or to 3039 // circumvent, violate, or enable the circumvention or violation of, any 3040 // terms of an Apple operating system software license agreement. 3041 // 3042 // Please obtain a copy of the License at 3043 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3044 // 3045 // The Original Code and all software distributed under the License are 3046 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3047 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3048 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3049 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3050 // Please see the License for the specific language governing rights and 3051 // limitations under the License. 3052 // 3053 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3054 3055 // Copyright (c) 2012 Apple Inc. All rights reserved. 3056 // 3057 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3058 // 3059 // This file contains Original Code and/or Modifications of Original Code 3060 // as defined in and that are subject to the Apple Public Source License 3061 // Version 2.0 (the 'License'). You may not use this file except in 3062 // compliance with the License. The rights granted to you under the License 3063 // may not be used to create, or enable the creation or redistribution of, 3064 // unlawful or unlicensed copies of an Apple operating system, or to 3065 // circumvent, violate, or enable the circumvention or violation of, any 3066 // terms of an Apple operating system software license agreement. 3067 // 3068 // Please obtain a copy of the License at 3069 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3070 // 3071 // The Original Code and all software distributed under the License are 3072 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3073 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3074 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3075 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3076 // Please see the License for the specific language governing rights and 3077 // limitations under the License. 3078 // 3079 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3080 3081 type uint8_t = uint8 /* _uint8_t.h:31:23 */ 3082 // Copyright (c) 2012 Apple Inc. All rights reserved. 3083 // 3084 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3085 // 3086 // This file contains Original Code and/or Modifications of Original Code 3087 // as defined in and that are subject to the Apple Public Source License 3088 // Version 2.0 (the 'License'). You may not use this file except in 3089 // compliance with the License. The rights granted to you under the License 3090 // may not be used to create, or enable the creation or redistribution of, 3091 // unlawful or unlicensed copies of an Apple operating system, or to 3092 // circumvent, violate, or enable the circumvention or violation of, any 3093 // terms of an Apple operating system software license agreement. 3094 // 3095 // Please obtain a copy of the License at 3096 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3097 // 3098 // The Original Code and all software distributed under the License are 3099 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3100 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3101 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3102 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3103 // Please see the License for the specific language governing rights and 3104 // limitations under the License. 3105 // 3106 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3107 3108 type uint16_t = uint16 /* _uint16_t.h:31:24 */ 3109 // Copyright (c) 2012 Apple Inc. All rights reserved. 3110 // 3111 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3112 // 3113 // This file contains Original Code and/or Modifications of Original Code 3114 // as defined in and that are subject to the Apple Public Source License 3115 // Version 2.0 (the 'License'). You may not use this file except in 3116 // compliance with the License. The rights granted to you under the License 3117 // may not be used to create, or enable the creation or redistribution of, 3118 // unlawful or unlicensed copies of an Apple operating system, or to 3119 // circumvent, violate, or enable the circumvention or violation of, any 3120 // terms of an Apple operating system software license agreement. 3121 // 3122 // Please obtain a copy of the License at 3123 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3124 // 3125 // The Original Code and all software distributed under the License are 3126 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3127 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3128 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3129 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3130 // Please see the License for the specific language governing rights and 3131 // limitations under the License. 3132 // 3133 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3134 3135 type uint32_t = uint32 /* _uint32_t.h:31:22 */ 3136 // Copyright (c) 2012 Apple Inc. All rights reserved. 3137 // 3138 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3139 // 3140 // This file contains Original Code and/or Modifications of Original Code 3141 // as defined in and that are subject to the Apple Public Source License 3142 // Version 2.0 (the 'License'). You may not use this file except in 3143 // compliance with the License. The rights granted to you under the License 3144 // may not be used to create, or enable the creation or redistribution of, 3145 // unlawful or unlicensed copies of an Apple operating system, or to 3146 // circumvent, violate, or enable the circumvention or violation of, any 3147 // terms of an Apple operating system software license agreement. 3148 // 3149 // Please obtain a copy of the License at 3150 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3151 // 3152 // The Original Code and all software distributed under the License are 3153 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3154 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3155 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3156 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3157 // Please see the License for the specific language governing rights and 3158 // limitations under the License. 3159 // 3160 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3161 3162 type uint64_t = uint64 /* _uint64_t.h:31:28 */ 3163 3164 // 7.18.1.2 Minimum-width integer types 3165 type int_least8_t = int8_t /* stdint.h:38:26 */ 3166 type int_least16_t = int16_t /* stdint.h:39:25 */ 3167 type int_least32_t = int32_t /* stdint.h:40:25 */ 3168 type int_least64_t = int64_t /* stdint.h:41:25 */ 3169 type uint_least8_t = uint8_t /* stdint.h:42:25 */ 3170 type uint_least16_t = uint16_t /* stdint.h:43:24 */ 3171 type uint_least32_t = uint32_t /* stdint.h:44:24 */ 3172 type uint_least64_t = uint64_t /* stdint.h:45:24 */ 3173 3174 // 7.18.1.3 Fastest-width integer types 3175 type int_fast8_t = int8_t /* stdint.h:49:27 */ 3176 type int_fast16_t = int16_t /* stdint.h:50:26 */ 3177 type int_fast32_t = int32_t /* stdint.h:51:26 */ 3178 type int_fast64_t = int64_t /* stdint.h:52:26 */ 3179 type uint_fast8_t = uint8_t /* stdint.h:53:26 */ 3180 type uint_fast16_t = uint16_t /* stdint.h:54:25 */ 3181 type uint_fast32_t = uint32_t /* stdint.h:55:25 */ 3182 type uint_fast64_t = uint64_t /* stdint.h:56:25 */ 3183 3184 // 7.18.1.4 Integer types capable of holding object pointers 3185 3186 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 3187 // 3188 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3189 // 3190 // This file contains Original Code and/or Modifications of Original Code 3191 // as defined in and that are subject to the Apple Public Source License 3192 // Version 2.0 (the 'License'). You may not use this file except in 3193 // compliance with the License. The rights granted to you under the License 3194 // may not be used to create, or enable the creation or redistribution of, 3195 // unlawful or unlicensed copies of an Apple operating system, or to 3196 // circumvent, violate, or enable the circumvention or violation of, any 3197 // terms of an Apple operating system software license agreement. 3198 // 3199 // Please obtain a copy of the License at 3200 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3201 // 3202 // The Original Code and all software distributed under the License are 3203 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3204 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3205 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3206 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3207 // Please see the License for the specific language governing rights and 3208 // limitations under the License. 3209 // 3210 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3211 3212 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3213 // 3214 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3215 // 3216 // This file contains Original Code and/or Modifications of Original Code 3217 // as defined in and that are subject to the Apple Public Source License 3218 // Version 2.0 (the 'License'). You may not use this file except in 3219 // compliance with the License. The rights granted to you under the License 3220 // may not be used to create, or enable the creation or redistribution of, 3221 // unlawful or unlicensed copies of an Apple operating system, or to 3222 // circumvent, violate, or enable the circumvention or violation of, any 3223 // terms of an Apple operating system software license agreement. 3224 // 3225 // Please obtain a copy of the License at 3226 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3227 // 3228 // The Original Code and all software distributed under the License are 3229 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3230 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3231 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3232 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3233 // Please see the License for the specific language governing rights and 3234 // limitations under the License. 3235 // 3236 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3237 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3238 // 3239 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3240 // 3241 // This file contains Original Code and/or Modifications of Original Code 3242 // as defined in and that are subject to the Apple Public Source License 3243 // Version 2.0 (the 'License'). You may not use this file except in 3244 // compliance with the License. The rights granted to you under the License 3245 // may not be used to create, or enable the creation or redistribution of, 3246 // unlawful or unlicensed copies of an Apple operating system, or to 3247 // circumvent, violate, or enable the circumvention or violation of, any 3248 // terms of an Apple operating system software license agreement. 3249 // 3250 // Please obtain a copy of the License at 3251 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3252 // 3253 // The Original Code and all software distributed under the License are 3254 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3255 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3256 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3257 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3258 // Please see the License for the specific language governing rights and 3259 // limitations under the License. 3260 // 3261 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3262 3263 // 7.18.1.5 Greatest-width integer types 3264 // Copyright (c) 2012 Apple Inc. All rights reserved. 3265 // 3266 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3267 // 3268 // This file contains Original Code and/or Modifications of Original Code 3269 // as defined in and that are subject to the Apple Public Source License 3270 // Version 2.0 (the 'License'). You may not use this file except in 3271 // compliance with the License. The rights granted to you under the License 3272 // may not be used to create, or enable the creation or redistribution of, 3273 // unlawful or unlicensed copies of an Apple operating system, or to 3274 // circumvent, violate, or enable the circumvention or violation of, any 3275 // terms of an Apple operating system software license agreement. 3276 // 3277 // Please obtain a copy of the License at 3278 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3279 // 3280 // The Original Code and all software distributed under the License are 3281 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3282 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3283 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3284 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3285 // Please see the License for the specific language governing rights and 3286 // limitations under the License. 3287 // 3288 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3289 3290 type intmax_t = int64 /* _intmax_t.h:32:25 */ 3291 // Copyright (c) 2012 Apple Inc. All rights reserved. 3292 // 3293 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3294 // 3295 // This file contains Original Code and/or Modifications of Original Code 3296 // as defined in and that are subject to the Apple Public Source License 3297 // Version 2.0 (the 'License'). You may not use this file except in 3298 // compliance with the License. The rights granted to you under the License 3299 // may not be used to create, or enable the creation or redistribution of, 3300 // unlawful or unlicensed copies of an Apple operating system, or to 3301 // circumvent, violate, or enable the circumvention or violation of, any 3302 // terms of an Apple operating system software license agreement. 3303 // 3304 // Please obtain a copy of the License at 3305 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3306 // 3307 // The Original Code and all software distributed under the License are 3308 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3309 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3310 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3311 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3312 // Please see the License for the specific language governing rights and 3313 // limitations under the License. 3314 // 3315 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3316 3317 type uintmax_t = uint64 /* _uintmax_t.h:32:26 */ 3318 3319 // 7.18.4 Macros for integer constants 3320 3321 // 7.18.2 Limits of specified-width integer types: 3322 // These #defines specify the minimum and maximum limits 3323 // of each of the types declared above. 3324 // 3325 // They must have "the same type as would an expression that is an 3326 // object of the corresponding type converted according to the integer 3327 // promotion". 3328 3329 // 7.18.2.1 Limits of exact-width integer types 3330 3331 // 3332 // Note: the literal "most negative int" cannot be written in C -- 3333 // the rules in the standard (section 6.4.4.1 in C99) will give it 3334 // an unsigned type, so INT32_MIN (and the most negative member of 3335 // any larger signed type) must be written via a constant expression. 3336 // 3337 3338 // 7.18.2.2 Limits of minimum-width integer types 3339 3340 // 7.18.2.3 Limits of fastest minimum-width integer types 3341 3342 // 7.18.2.4 Limits of integer types capable of holding object pointers 3343 3344 // 7.18.2.5 Limits of greatest-width integer types 3345 3346 // 7.18.3 "Other" 3347 3348 // WCHAR_MIN should be 0 if wchar_t is an unsigned type and 3349 // (-WCHAR_MAX-1) if wchar_t is a signed type. Unfortunately, 3350 // it turns out that -fshort-wchar changes the signedness of 3351 // the type. 3352 3353 // Copyright (c) 2007 Apple Inc. All rights reserved. 3354 // 3355 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3356 // 3357 // This file contains Original Code and/or Modifications of Original Code 3358 // as defined in and that are subject to the Apple Public Source License 3359 // Version 2.0 (the 'License'). You may not use this file except in 3360 // compliance with the License. The rights granted to you under the License 3361 // may not be used to create, or enable the creation or redistribution of, 3362 // unlawful or unlicensed copies of an Apple operating system, or to 3363 // circumvent, violate, or enable the circumvention or violation of, any 3364 // terms of an Apple operating system software license agreement. 3365 // 3366 // Please obtain a copy of the License at 3367 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3368 // 3369 // The Original Code and all software distributed under the License are 3370 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3371 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3372 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3373 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3374 // Please see the License for the specific language governing rights and 3375 // limitations under the License. 3376 // 3377 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3378 3379 // Collect the __ARM_ARCH_*__ compiler flags into something easier to use. 3380 3381 // Generic byte swapping functions. 3382 3383 func _OSSwapInt16(tls *libc.TLS, _data uint16_t) uint16_t { /* OSByteOrder.h:15:1: */ 3384 // Reduces to 'rev16' with clang 3385 return uint16_t(int32(_data)<<8 | int32(_data)>>8) 3386 } 3387 3388 func _OSSwapInt32(tls *libc.TLS, _data uint32_t) uint32_t { /* OSByteOrder.h:25:1: */ 3389 // This actually generates the best code 3390 _data = (_data^(_data>>16|_data<<16))&0xFF00FFFF>>8 ^ (_data>>8 | _data<<24) 3391 3392 return _data 3393 } 3394 3395 func _OSSwapInt64(tls *libc.TLS, _data uint64_t) uint64_t { /* OSByteOrder.h:41:1: */ 3396 bp := tls.Alloc(8) 3397 defer tls.Free(8) 3398 3399 // var _u struct {F_ull uint64_t;} at bp, 8 3400 3401 // This actually generates the best code 3402 *(*uint32_t)(unsafe.Pointer(bp)) = uint32_t(_data >> 32) 3403 *(*uint32_t)(unsafe.Pointer(bp + 1*4)) = uint32_t(_data & uint64(0xffffffff)) 3404 *(*uint32_t)(unsafe.Pointer(bp)) = _OSSwapInt32(tls, *(*uint32_t)(unsafe.Pointer(bp))) 3405 *(*uint32_t)(unsafe.Pointer(bp + 1*4)) = _OSSwapInt32(tls, *(*uint32_t)(unsafe.Pointer(bp + 1*4))) 3406 return *(*uint64_t)(unsafe.Pointer(bp)) 3407 } 3408 3409 // Functions for byte reversed loads. 3410 3411 type _OSUnalignedU16 = struct{ F__val uint16_t } /* OSByteOrder.h:64:1 */ 3412 3413 type _OSUnalignedU32 = struct{ F__val uint32_t } /* OSByteOrder.h:68:1 */ 3414 3415 type _OSUnalignedU64 = struct{ F__val uint64_t } /* OSByteOrder.h:72:1 */ 3416 3417 // Copyright (c) 2017 Apple Inc. All rights reserved. 3418 // 3419 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3420 // 3421 // This file contains Original Code and/or Modifications of Original Code 3422 // as defined in and that are subject to the Apple Public Source License 3423 // Version 2.0 (the 'License'). You may not use this file except in 3424 // compliance with the License. The rights granted to you under the License 3425 // may not be used to create, or enable the creation or redistribution of, 3426 // unlawful or unlicensed copies of an Apple operating system, or to 3427 // circumvent, violate, or enable the circumvention or violation of, any 3428 // terms of an Apple operating system software license agreement. 3429 // 3430 // Please obtain a copy of the License at 3431 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3432 // 3433 // The Original Code and all software distributed under the License are 3434 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3435 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3436 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3437 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3438 // Please see the License for the specific language governing rights and 3439 // limitations under the License. 3440 // 3441 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3442 type u_char = uint8 /* _u_char.h:30:25 */ 3443 // Copyright (c) 2017 Apple Inc. All rights reserved. 3444 // 3445 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3446 // 3447 // This file contains Original Code and/or Modifications of Original Code 3448 // as defined in and that are subject to the Apple Public Source License 3449 // Version 2.0 (the 'License'). You may not use this file except in 3450 // compliance with the License. The rights granted to you under the License 3451 // may not be used to create, or enable the creation or redistribution of, 3452 // unlawful or unlicensed copies of an Apple operating system, or to 3453 // circumvent, violate, or enable the circumvention or violation of, any 3454 // terms of an Apple operating system software license agreement. 3455 // 3456 // Please obtain a copy of the License at 3457 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3458 // 3459 // The Original Code and all software distributed under the License are 3460 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3461 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3462 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3463 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3464 // Please see the License for the specific language governing rights and 3465 // limitations under the License. 3466 // 3467 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3468 type u_short = uint16 /* _u_short.h:30:25 */ 3469 // Copyright (c) 2017 Apple Inc. All rights reserved. 3470 // 3471 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3472 // 3473 // This file contains Original Code and/or Modifications of Original Code 3474 // as defined in and that are subject to the Apple Public Source License 3475 // Version 2.0 (the 'License'). You may not use this file except in 3476 // compliance with the License. The rights granted to you under the License 3477 // may not be used to create, or enable the creation or redistribution of, 3478 // unlawful or unlicensed copies of an Apple operating system, or to 3479 // circumvent, violate, or enable the circumvention or violation of, any 3480 // terms of an Apple operating system software license agreement. 3481 // 3482 // Please obtain a copy of the License at 3483 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3484 // 3485 // The Original Code and all software distributed under the License are 3486 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3487 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3488 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3489 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3490 // Please see the License for the specific language governing rights and 3491 // limitations under the License. 3492 // 3493 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3494 type u_int = uint32 /* _u_int.h:30:25 */ 3495 type u_long = uint64 /* types.h:88:33 */ 3496 type ushort = uint16 /* types.h:91:33 */ // Sys V compatibility 3497 type uint = uint32 /* types.h:92:33 */ // Sys V compatibility 3498 3499 type u_quad_t = u_int64_t /* types.h:95:33 */ // quads 3500 type quad_t = int64_t /* types.h:96:33 */ 3501 type qaddr_t = uintptr /* types.h:97:16 */ 3502 3503 // Copyright (c) 2017 Apple Inc. All rights reserved. 3504 // 3505 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3506 // 3507 // This file contains Original Code and/or Modifications of Original Code 3508 // as defined in and that are subject to the Apple Public Source License 3509 // Version 2.0 (the 'License'). You may not use this file except in 3510 // compliance with the License. The rights granted to you under the License 3511 // may not be used to create, or enable the creation or redistribution of, 3512 // unlawful or unlicensed copies of an Apple operating system, or to 3513 // circumvent, violate, or enable the circumvention or violation of, any 3514 // terms of an Apple operating system software license agreement. 3515 // 3516 // Please obtain a copy of the License at 3517 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3518 // 3519 // The Original Code and all software distributed under the License are 3520 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3521 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3522 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3523 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3524 // Please see the License for the specific language governing rights and 3525 // limitations under the License. 3526 // 3527 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3528 type caddr_t = uintptr /* _caddr_t.h:30:14 */ 3529 3530 type daddr_t = int32_t /* types.h:101:33 */ // disk address 3531 3532 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3533 // 3534 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3535 // 3536 // This file contains Original Code and/or Modifications of Original Code 3537 // as defined in and that are subject to the Apple Public Source License 3538 // Version 2.0 (the 'License'). You may not use this file except in 3539 // compliance with the License. The rights granted to you under the License 3540 // may not be used to create, or enable the creation or redistribution of, 3541 // unlawful or unlicensed copies of an Apple operating system, or to 3542 // circumvent, violate, or enable the circumvention or violation of, any 3543 // terms of an Apple operating system software license agreement. 3544 // 3545 // Please obtain a copy of the License at 3546 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3547 // 3548 // The Original Code and all software distributed under the License are 3549 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3550 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3551 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3552 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3553 // Please see the License for the specific language governing rights and 3554 // limitations under the License. 3555 // 3556 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3557 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 3558 // 3559 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3560 // 3561 // This file contains Original Code and/or Modifications of Original Code 3562 // as defined in and that are subject to the Apple Public Source License 3563 // Version 2.0 (the 'License'). You may not use this file except in 3564 // compliance with the License. The rights granted to you under the License 3565 // may not be used to create, or enable the creation or redistribution of, 3566 // unlawful or unlicensed copies of an Apple operating system, or to 3567 // circumvent, violate, or enable the circumvention or violation of, any 3568 // terms of an Apple operating system software license agreement. 3569 // 3570 // Please obtain a copy of the License at 3571 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3572 // 3573 // The Original Code and all software distributed under the License are 3574 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3575 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3576 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3577 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3578 // Please see the License for the specific language governing rights and 3579 // limitations under the License. 3580 // 3581 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3582 3583 type dev_t = int32 /* _dev_t.h:31:31 */ // device number 3584 3585 type fixpt_t = u_int32_t /* types.h:105:33 */ // fixed point number 3586 3587 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3588 // 3589 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3590 // 3591 // This file contains Original Code and/or Modifications of Original Code 3592 // as defined in and that are subject to the Apple Public Source License 3593 // Version 2.0 (the 'License'). You may not use this file except in 3594 // compliance with the License. The rights granted to you under the License 3595 // may not be used to create, or enable the creation or redistribution of, 3596 // unlawful or unlicensed copies of an Apple operating system, or to 3597 // circumvent, violate, or enable the circumvention or violation of, any 3598 // terms of an Apple operating system software license agreement. 3599 // 3600 // Please obtain a copy of the License at 3601 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3602 // 3603 // The Original Code and all software distributed under the License are 3604 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3605 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3606 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3607 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3608 // Please see the License for the specific language governing rights and 3609 // limitations under the License. 3610 // 3611 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3612 // Copyright (c) 2003-2007 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 3638 type blkcnt_t = int64 /* _blkcnt_t.h:31:34 */ 3639 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3640 // 3641 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3642 // 3643 // This file contains Original Code and/or Modifications of Original Code 3644 // as defined in and that are subject to the Apple Public Source License 3645 // Version 2.0 (the 'License'). You may not use this file except in 3646 // compliance with the License. The rights granted to you under the License 3647 // may not be used to create, or enable the creation or redistribution of, 3648 // unlawful or unlicensed copies of an Apple operating system, or to 3649 // circumvent, violate, or enable the circumvention or violation of, any 3650 // terms of an Apple operating system software license agreement. 3651 // 3652 // Please obtain a copy of the License at 3653 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3654 // 3655 // The Original Code and all software distributed under the License are 3656 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3657 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3658 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3659 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3660 // Please see the License for the specific language governing rights and 3661 // limitations under the License. 3662 // 3663 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3664 // Copyright (c) 2003-2007 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 3690 type blksize_t = int32 /* _blksize_t.h:31:35 */ 3691 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3692 // 3693 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3694 // 3695 // This file contains Original Code and/or Modifications of Original Code 3696 // as defined in and that are subject to the Apple Public Source License 3697 // Version 2.0 (the 'License'). You may not use this file except in 3698 // compliance with the License. The rights granted to you under the License 3699 // may not be used to create, or enable the creation or redistribution of, 3700 // unlawful or unlicensed copies of an Apple operating system, or to 3701 // circumvent, violate, or enable the circumvention or violation of, any 3702 // terms of an Apple operating system software license agreement. 3703 // 3704 // Please obtain a copy of the License at 3705 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3706 // 3707 // The Original Code and all software distributed under the License are 3708 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3709 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3710 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3711 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3712 // Please see the License for the specific language governing rights and 3713 // limitations under the License. 3714 // 3715 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3716 // Copyright (c) 2003-2007 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 3742 type gid_t = uint32 /* _gid_t.h:31:25 */ 3743 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3744 // 3745 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3746 // 3747 // This file contains Original Code and/or Modifications of Original Code 3748 // as defined in and that are subject to the Apple Public Source License 3749 // Version 2.0 (the 'License'). You may not use this file except in 3750 // compliance with the License. The rights granted to you under the License 3751 // may not be used to create, or enable the creation or redistribution of, 3752 // unlawful or unlicensed copies of an Apple operating system, or to 3753 // circumvent, violate, or enable the circumvention or violation of, any 3754 // terms of an Apple operating system software license agreement. 3755 // 3756 // Please obtain a copy of the License at 3757 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3758 // 3759 // The Original Code and all software distributed under the License are 3760 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3761 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3762 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3763 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3764 // Please see the License for the specific language governing rights and 3765 // limitations under the License. 3766 // 3767 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3768 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 3769 // 3770 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3771 // 3772 // This file contains Original Code and/or Modifications of Original Code 3773 // as defined in and that are subject to the Apple Public Source License 3774 // Version 2.0 (the 'License'). You may not use this file except in 3775 // compliance with the License. The rights granted to you under the License 3776 // may not be used to create, or enable the creation or redistribution of, 3777 // unlawful or unlicensed copies of an Apple operating system, or to 3778 // circumvent, violate, or enable the circumvention or violation of, any 3779 // terms of an Apple operating system software license agreement. 3780 // 3781 // Please obtain a copy of the License at 3782 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3783 // 3784 // The Original Code and all software distributed under the License are 3785 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3786 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3787 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3788 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3789 // Please see the License for the specific language governing rights and 3790 // limitations under the License. 3791 // 3792 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3793 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 3794 type in_addr_t = uint32 /* _in_addr_t.h:31:25 */ // base type for internet address 3795 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3796 // 3797 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3798 // 3799 // This file contains Original Code and/or Modifications of Original Code 3800 // as defined in and that are subject to the Apple Public Source License 3801 // Version 2.0 (the 'License'). You may not use this file except in 3802 // compliance with the License. The rights granted to you under the License 3803 // may not be used to create, or enable the creation or redistribution of, 3804 // unlawful or unlicensed copies of an Apple operating system, or to 3805 // circumvent, violate, or enable the circumvention or violation of, any 3806 // terms of an Apple operating system software license agreement. 3807 // 3808 // Please obtain a copy of the License at 3809 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3810 // 3811 // The Original Code and all software distributed under the License are 3812 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3813 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3814 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3815 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3816 // Please see the License for the specific language governing rights and 3817 // limitations under the License. 3818 // 3819 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3820 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 3821 // 3822 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3823 // 3824 // This file contains Original Code and/or Modifications of Original Code 3825 // as defined in and that are subject to the Apple Public Source License 3826 // Version 2.0 (the 'License'). You may not use this file except in 3827 // compliance with the License. The rights granted to you under the License 3828 // may not be used to create, or enable the creation or redistribution of, 3829 // unlawful or unlicensed copies of an Apple operating system, or to 3830 // circumvent, violate, or enable the circumvention or violation of, any 3831 // terms of an Apple operating system software license agreement. 3832 // 3833 // Please obtain a copy of the License at 3834 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3835 // 3836 // The Original Code and all software distributed under the License are 3837 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3838 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3839 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3840 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3841 // Please see the License for the specific language governing rights and 3842 // limitations under the License. 3843 // 3844 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3845 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 3846 type in_port_t = uint16 /* _in_port_t.h:31:33 */ 3847 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3848 // 3849 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3850 // 3851 // This file contains Original Code and/or Modifications of Original Code 3852 // as defined in and that are subject to the Apple Public Source License 3853 // Version 2.0 (the 'License'). You may not use this file except in 3854 // compliance with the License. The rights granted to you under the License 3855 // may not be used to create, or enable the creation or redistribution of, 3856 // unlawful or unlicensed copies of an Apple operating system, or to 3857 // circumvent, violate, or enable the circumvention or violation of, any 3858 // terms of an Apple operating system software license agreement. 3859 // 3860 // Please obtain a copy of the License at 3861 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3862 // 3863 // The Original Code and all software distributed under the License are 3864 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3865 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3866 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3867 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3868 // Please see the License for the specific language governing rights and 3869 // limitations under the License. 3870 // 3871 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3872 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 3873 // 3874 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3875 // 3876 // This file contains Original Code and/or Modifications of Original Code 3877 // as defined in and that are subject to the Apple Public Source License 3878 // Version 2.0 (the 'License'). You may not use this file except in 3879 // compliance with the License. The rights granted to you under the License 3880 // may not be used to create, or enable the creation or redistribution of, 3881 // unlawful or unlicensed copies of an Apple operating system, or to 3882 // circumvent, violate, or enable the circumvention or violation of, any 3883 // terms of an Apple operating system software license agreement. 3884 // 3885 // Please obtain a copy of the License at 3886 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3887 // 3888 // The Original Code and all software distributed under the License are 3889 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3890 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3891 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3892 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3893 // Please see the License for the specific language governing rights and 3894 // limitations under the License. 3895 // 3896 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3897 3898 type ino_t = uint64 /* _ino_t.h:31:33 */ // inode number 3899 3900 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3901 // 3902 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3903 // 3904 // This file contains Original Code and/or Modifications of Original Code 3905 // as defined in and that are subject to the Apple Public Source License 3906 // Version 2.0 (the 'License'). You may not use this file except in 3907 // compliance with the License. The rights granted to you under the License 3908 // may not be used to create, or enable the creation or redistribution of, 3909 // unlawful or unlicensed copies of an Apple operating system, or to 3910 // circumvent, violate, or enable the circumvention or violation of, any 3911 // terms of an Apple operating system software license agreement. 3912 // 3913 // Please obtain a copy of the License at 3914 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3915 // 3916 // The Original Code and all software distributed under the License are 3917 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3918 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3919 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3920 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3921 // Please see the License for the specific language governing rights and 3922 // limitations under the License. 3923 // 3924 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3925 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 3926 // 3927 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3928 // 3929 // This file contains Original Code and/or Modifications of Original Code 3930 // as defined in and that are subject to the Apple Public Source License 3931 // Version 2.0 (the 'License'). You may not use this file except in 3932 // compliance with the License. The rights granted to you under the License 3933 // may not be used to create, or enable the creation or redistribution of, 3934 // unlawful or unlicensed copies of an Apple operating system, or to 3935 // circumvent, violate, or enable the circumvention or violation of, any 3936 // terms of an Apple operating system software license agreement. 3937 // 3938 // Please obtain a copy of the License at 3939 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3940 // 3941 // The Original Code and all software distributed under the License are 3942 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3943 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3944 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3945 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3946 // Please see the License for the specific language governing rights and 3947 // limitations under the License. 3948 // 3949 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3950 3951 type ino64_t = uint64 /* _ino64_t.h:31:33 */ // 64bit inode number 3952 3953 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3954 // 3955 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3956 // 3957 // This file contains Original Code and/or Modifications of Original Code 3958 // as defined in and that are subject to the Apple Public Source License 3959 // Version 2.0 (the 'License'). You may not use this file except in 3960 // compliance with the License. The rights granted to you under the License 3961 // may not be used to create, or enable the creation or redistribution of, 3962 // unlawful or unlicensed copies of an Apple operating system, or to 3963 // circumvent, violate, or enable the circumvention or violation of, any 3964 // terms of an Apple operating system software license agreement. 3965 // 3966 // Please obtain a copy of the License at 3967 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3968 // 3969 // The Original Code and all software distributed under the License are 3970 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3971 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3972 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3973 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3974 // Please see the License for the specific language governing rights and 3975 // limitations under the License. 3976 // 3977 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3978 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 3979 // 3980 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3981 // 3982 // This file contains Original Code and/or Modifications of Original Code 3983 // as defined in and that are subject to the Apple Public Source License 3984 // Version 2.0 (the 'License'). You may not use this file except in 3985 // compliance with the License. The rights granted to you under the License 3986 // may not be used to create, or enable the creation or redistribution of, 3987 // unlawful or unlicensed copies of an Apple operating system, or to 3988 // circumvent, violate, or enable the circumvention or violation of, any 3989 // terms of an Apple operating system software license agreement. 3990 // 3991 // Please obtain a copy of the License at 3992 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3993 // 3994 // The Original Code and all software distributed under the License are 3995 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3996 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3997 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3998 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3999 // Please see the License for the specific language governing rights and 4000 // limitations under the License. 4001 // 4002 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4003 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4004 type key_t = int32 /* _key_t.h:31:26 */ // IPC key (for Sys V IPC) 4005 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4006 // 4007 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4008 // 4009 // This file contains Original Code and/or Modifications of Original Code 4010 // as defined in and that are subject to the Apple Public Source License 4011 // Version 2.0 (the 'License'). You may not use this file except in 4012 // compliance with the License. The rights granted to you under the License 4013 // may not be used to create, or enable the creation or redistribution of, 4014 // unlawful or unlicensed copies of an Apple operating system, or to 4015 // circumvent, violate, or enable the circumvention or violation of, any 4016 // terms of an Apple operating system software license agreement. 4017 // 4018 // Please obtain a copy of the License at 4019 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4020 // 4021 // The Original Code and all software distributed under the License are 4022 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4023 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4024 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4025 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4026 // Please see the License for the specific language governing rights and 4027 // limitations under the License. 4028 // 4029 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4030 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 4031 // 4032 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4033 // 4034 // This file contains Original Code and/or Modifications of Original Code 4035 // as defined in and that are subject to the Apple Public Source License 4036 // Version 2.0 (the 'License'). You may not use this file except in 4037 // compliance with the License. The rights granted to you under the License 4038 // may not be used to create, or enable the creation or redistribution of, 4039 // unlawful or unlicensed copies of an Apple operating system, or to 4040 // circumvent, violate, or enable the circumvention or violation of, any 4041 // terms of an Apple operating system software license agreement. 4042 // 4043 // Please obtain a copy of the License at 4044 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4045 // 4046 // The Original Code and all software distributed under the License are 4047 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4048 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4049 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4050 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4051 // Please see the License for the specific language governing rights and 4052 // limitations under the License. 4053 // 4054 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4055 4056 type mode_t = uint16 /* _mode_t.h:31:33 */ 4057 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4058 // 4059 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4060 // 4061 // This file contains Original Code and/or Modifications of Original Code 4062 // as defined in and that are subject to the Apple Public Source License 4063 // Version 2.0 (the 'License'). You may not use this file except in 4064 // compliance with the License. The rights granted to you under the License 4065 // may not be used to create, or enable the creation or redistribution of, 4066 // unlawful or unlicensed copies of an Apple operating system, or to 4067 // circumvent, violate, or enable the circumvention or violation of, any 4068 // terms of an Apple operating system software license agreement. 4069 // 4070 // Please obtain a copy of the License at 4071 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4072 // 4073 // The Original Code and all software distributed under the License are 4074 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4075 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4076 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4077 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4078 // Please see the License for the specific language governing rights and 4079 // limitations under the License. 4080 // 4081 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4082 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 4083 // 4084 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4085 // 4086 // This file contains Original Code and/or Modifications of Original Code 4087 // as defined in and that are subject to the Apple Public Source License 4088 // Version 2.0 (the 'License'). You may not use this file except in 4089 // compliance with the License. The rights granted to you under the License 4090 // may not be used to create, or enable the creation or redistribution of, 4091 // unlawful or unlicensed copies of an Apple operating system, or to 4092 // circumvent, violate, or enable the circumvention or violation of, any 4093 // terms of an Apple operating system software license agreement. 4094 // 4095 // Please obtain a copy of the License at 4096 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4097 // 4098 // The Original Code and all software distributed under the License are 4099 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4100 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4101 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4102 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4103 // Please see the License for the specific language governing rights and 4104 // limitations under the License. 4105 // 4106 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4107 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4108 type nlink_t = uint16 /* _nlink_t.h:31:27 */ // link count 4109 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4110 // 4111 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4112 // 4113 // This file contains Original Code and/or Modifications of Original Code 4114 // as defined in and that are subject to the Apple Public Source License 4115 // Version 2.0 (the 'License'). You may not use this file except in 4116 // compliance with the License. The rights granted to you under the License 4117 // may not be used to create, or enable the creation or redistribution of, 4118 // unlawful or unlicensed copies of an Apple operating system, or to 4119 // circumvent, violate, or enable the circumvention or violation of, any 4120 // terms of an Apple operating system software license agreement. 4121 // 4122 // Please obtain a copy of the License at 4123 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4124 // 4125 // The Original Code and all software distributed under the License are 4126 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4127 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4128 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4129 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4130 // Please see the License for the specific language governing rights and 4131 // limitations under the License. 4132 // 4133 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4134 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 4135 // 4136 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4137 // 4138 // This file contains Original Code and/or Modifications of Original Code 4139 // as defined in and that are subject to the Apple Public Source License 4140 // Version 2.0 (the 'License'). You may not use this file except in 4141 // compliance with the License. The rights granted to you under the License 4142 // may not be used to create, or enable the creation or redistribution of, 4143 // unlawful or unlicensed copies of an Apple operating system, or to 4144 // circumvent, violate, or enable the circumvention or violation of, any 4145 // terms of an Apple operating system software license agreement. 4146 // 4147 // Please obtain a copy of the License at 4148 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4149 // 4150 // The Original Code and all software distributed under the License are 4151 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4152 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4153 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4154 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4155 // Please see the License for the specific language governing rights and 4156 // limitations under the License. 4157 // 4158 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4159 4160 type id_t = uint32 /* _id_t.h:31:25 */ // can hold pid_t, gid_t, or uid_t 4161 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4162 // 4163 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4164 // 4165 // This file contains Original Code and/or Modifications of Original Code 4166 // as defined in and that are subject to the Apple Public Source License 4167 // Version 2.0 (the 'License'). You may not use this file except in 4168 // compliance with the License. The rights granted to you under the License 4169 // may not be used to create, or enable the creation or redistribution of, 4170 // unlawful or unlicensed copies of an Apple operating system, or to 4171 // circumvent, violate, or enable the circumvention or violation of, any 4172 // terms of an Apple operating system software license agreement. 4173 // 4174 // Please obtain a copy of the License at 4175 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4176 // 4177 // The Original Code and all software distributed under the License are 4178 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4179 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4180 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4181 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4182 // Please see the License for the specific language governing rights and 4183 // limitations under the License. 4184 // 4185 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4186 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 4187 // 4188 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4189 // 4190 // This file contains Original Code and/or Modifications of Original Code 4191 // as defined in and that are subject to the Apple Public Source License 4192 // Version 2.0 (the 'License'). You may not use this file except in 4193 // compliance with the License. The rights granted to you under the License 4194 // may not be used to create, or enable the creation or redistribution of, 4195 // unlawful or unlicensed copies of an Apple operating system, or to 4196 // circumvent, violate, or enable the circumvention or violation of, any 4197 // terms of an Apple operating system software license agreement. 4198 // 4199 // Please obtain a copy of the License at 4200 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4201 // 4202 // The Original Code and all software distributed under the License are 4203 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4204 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4205 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4206 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4207 // Please see the License for the specific language governing rights and 4208 // limitations under the License. 4209 // 4210 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4211 4212 type pid_t = int32 /* _pid_t.h:31:31 */ 4213 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4214 // 4215 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4216 // 4217 // This file contains Original Code and/or Modifications of Original Code 4218 // as defined in and that are subject to the Apple Public Source License 4219 // Version 2.0 (the 'License'). You may not use this file except in 4220 // compliance with the License. The rights granted to you under the License 4221 // may not be used to create, or enable the creation or redistribution of, 4222 // unlawful or unlicensed copies of an Apple operating system, or to 4223 // circumvent, violate, or enable the circumvention or violation of, any 4224 // terms of an Apple operating system software license agreement. 4225 // 4226 // Please obtain a copy of the License at 4227 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4228 // 4229 // The Original Code and all software distributed under the License are 4230 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4231 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4232 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4233 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4234 // Please see the License for the specific language governing rights and 4235 // limitations under the License. 4236 // 4237 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4238 4239 type segsz_t = int32_t /* types.h:125:33 */ // segment size 4240 type swblk_t = int32_t /* types.h:126:33 */ // swap offset 4241 4242 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4243 // 4244 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4245 // 4246 // This file contains Original Code and/or Modifications of Original Code 4247 // as defined in and that are subject to the Apple Public Source License 4248 // Version 2.0 (the 'License'). You may not use this file except in 4249 // compliance with the License. The rights granted to you under the License 4250 // may not be used to create, or enable the creation or redistribution of, 4251 // unlawful or unlicensed copies of an Apple operating system, or to 4252 // circumvent, violate, or enable the circumvention or violation of, any 4253 // terms of an Apple operating system software license agreement. 4254 // 4255 // Please obtain a copy of the License at 4256 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4257 // 4258 // The Original Code and all software distributed under the License are 4259 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4260 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4261 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4262 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4263 // Please see the License for the specific language governing rights and 4264 // limitations under the License. 4265 // 4266 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4267 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 4268 // 4269 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4270 // 4271 // This file contains Original Code and/or Modifications of Original Code 4272 // as defined in and that are subject to the Apple Public Source License 4273 // Version 2.0 (the 'License'). You may not use this file except in 4274 // compliance with the License. The rights granted to you under the License 4275 // may not be used to create, or enable the creation or redistribution of, 4276 // unlawful or unlicensed copies of an Apple operating system, or to 4277 // circumvent, violate, or enable the circumvention or violation of, any 4278 // terms of an Apple operating system software license agreement. 4279 // 4280 // Please obtain a copy of the License at 4281 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4282 // 4283 // The Original Code and all software distributed under the License are 4284 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4285 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4286 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4287 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4288 // Please see the License for the specific language governing rights and 4289 // limitations under the License. 4290 // 4291 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4292 4293 type uid_t = uint32 /* _uid_t.h:31:31 */ 4294 4295 // Major, minor numbers, dev_t's. 4296 4297 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4298 // 4299 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4300 // 4301 // This file contains Original Code and/or Modifications of Original Code 4302 // as defined in and that are subject to the Apple Public Source License 4303 // Version 2.0 (the 'License'). You may not use this file except in 4304 // compliance with the License. The rights granted to you under the License 4305 // may not be used to create, or enable the creation or redistribution of, 4306 // unlawful or unlicensed copies of an Apple operating system, or to 4307 // circumvent, violate, or enable the circumvention or violation of, any 4308 // terms of an Apple operating system software license agreement. 4309 // 4310 // Please obtain a copy of the License at 4311 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4312 // 4313 // The Original Code and all software distributed under the License are 4314 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4315 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4316 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4317 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4318 // Please see the License for the specific language governing rights and 4319 // limitations under the License. 4320 // 4321 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4322 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 4323 // 4324 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4325 // 4326 // This file contains Original Code and/or Modifications of Original Code 4327 // as defined in and that are subject to the Apple Public Source License 4328 // Version 2.0 (the 'License'). You may not use this file except in 4329 // compliance with the License. The rights granted to you under the License 4330 // may not be used to create, or enable the creation or redistribution of, 4331 // unlawful or unlicensed copies of an Apple operating system, or to 4332 // circumvent, violate, or enable the circumvention or violation of, any 4333 // terms of an Apple operating system software license agreement. 4334 // 4335 // Please obtain a copy of the License at 4336 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4337 // 4338 // The Original Code and all software distributed under the License are 4339 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4340 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4341 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4342 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4343 // Please see the License for the specific language governing rights and 4344 // limitations under the License. 4345 // 4346 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4347 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4348 type clock_t = uint64 /* _clock_t.h:31:33 */ 4349 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4350 // 4351 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4352 // 4353 // This file contains Original Code and/or Modifications of Original Code 4354 // as defined in and that are subject to the Apple Public Source License 4355 // Version 2.0 (the 'License'). You may not use this file except in 4356 // compliance with the License. The rights granted to you under the License 4357 // may not be used to create, or enable the creation or redistribution of, 4358 // unlawful or unlicensed copies of an Apple operating system, or to 4359 // circumvent, violate, or enable the circumvention or violation of, any 4360 // terms of an Apple operating system software license agreement. 4361 // 4362 // Please obtain a copy of the License at 4363 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4364 // 4365 // The Original Code and all software distributed under the License are 4366 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4367 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4368 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4369 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4370 // Please see the License for the specific language governing rights and 4371 // limitations under the License. 4372 // 4373 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4374 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4375 // 4376 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4377 // 4378 // This file contains Original Code and/or Modifications of Original Code 4379 // as defined in and that are subject to the Apple Public Source License 4380 // Version 2.0 (the 'License'). You may not use this file except in 4381 // compliance with the License. The rights granted to you under the License 4382 // may not be used to create, or enable the creation or redistribution of, 4383 // unlawful or unlicensed copies of an Apple operating system, or to 4384 // circumvent, violate, or enable the circumvention or violation of, any 4385 // terms of an Apple operating system software license agreement. 4386 // 4387 // Please obtain a copy of the License at 4388 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4389 // 4390 // The Original Code and all software distributed under the License are 4391 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4392 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4393 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4394 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4395 // Please see the License for the specific language governing rights and 4396 // limitations under the License. 4397 // 4398 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4399 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4400 // 4401 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4402 // 4403 // This file contains Original Code and/or Modifications of Original Code 4404 // as defined in and that are subject to the Apple Public Source License 4405 // Version 2.0 (the 'License'). You may not use this file except in 4406 // compliance with the License. The rights granted to you under the License 4407 // may not be used to create, or enable the creation or redistribution of, 4408 // unlawful or unlicensed copies of an Apple operating system, or to 4409 // circumvent, violate, or enable the circumvention or violation of, any 4410 // terms of an Apple operating system software license agreement. 4411 // 4412 // Please obtain a copy of the License at 4413 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4414 // 4415 // The Original Code and all software distributed under the License are 4416 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4417 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4418 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4419 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4420 // Please see the License for the specific language governing rights and 4421 // limitations under the License. 4422 // 4423 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4424 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 4425 // 4426 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4427 // 4428 // This file contains Original Code and/or Modifications of Original Code 4429 // as defined in and that are subject to the Apple Public Source License 4430 // Version 2.0 (the 'License'). You may not use this file except in 4431 // compliance with the License. The rights granted to you under the License 4432 // may not be used to create, or enable the creation or redistribution of, 4433 // unlawful or unlicensed copies of an Apple operating system, or to 4434 // circumvent, violate, or enable the circumvention or violation of, any 4435 // terms of an Apple operating system software license agreement. 4436 // 4437 // Please obtain a copy of the License at 4438 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4439 // 4440 // The Original Code and all software distributed under the License are 4441 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4442 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4443 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4444 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4445 // Please see the License for the specific language governing rights and 4446 // limitations under the License. 4447 // 4448 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4449 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4450 type time_t = int64 /* _time_t.h:31:33 */ 4451 4452 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4453 // 4454 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4455 // 4456 // This file contains Original Code and/or Modifications of Original Code 4457 // as defined in and that are subject to the Apple Public Source License 4458 // Version 2.0 (the 'License'). You may not use this file except in 4459 // compliance with the License. The rights granted to you under the License 4460 // may not be used to create, or enable the creation or redistribution of, 4461 // unlawful or unlicensed copies of an Apple operating system, or to 4462 // circumvent, violate, or enable the circumvention or violation of, any 4463 // terms of an Apple operating system software license agreement. 4464 // 4465 // Please obtain a copy of the License at 4466 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4467 // 4468 // The Original Code and all software distributed under the License are 4469 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4470 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4471 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4472 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4473 // Please see the License for the specific language governing rights and 4474 // limitations under the License. 4475 // 4476 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4477 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 4478 // 4479 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4480 // 4481 // This file contains Original Code and/or Modifications of Original Code 4482 // as defined in and that are subject to the Apple Public Source License 4483 // Version 2.0 (the 'License'). You may not use this file except in 4484 // compliance with the License. The rights granted to you under the License 4485 // may not be used to create, or enable the creation or redistribution of, 4486 // unlawful or unlicensed copies of an Apple operating system, or to 4487 // circumvent, violate, or enable the circumvention or violation of, any 4488 // terms of an Apple operating system software license agreement. 4489 // 4490 // Please obtain a copy of the License at 4491 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4492 // 4493 // The Original Code and all software distributed under the License are 4494 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4495 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4496 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4497 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4498 // Please see the License for the specific language governing rights and 4499 // limitations under the License. 4500 // 4501 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4502 4503 type useconds_t = uint32 /* _useconds_t.h:31:33 */ 4504 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4505 // 4506 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4507 // 4508 // This file contains Original Code and/or Modifications of Original Code 4509 // as defined in and that are subject to the Apple Public Source License 4510 // Version 2.0 (the 'License'). You may not use this file except in 4511 // compliance with the License. The rights granted to you under the License 4512 // may not be used to create, or enable the creation or redistribution of, 4513 // unlawful or unlicensed copies of an Apple operating system, or to 4514 // circumvent, violate, or enable the circumvention or violation of, any 4515 // terms of an Apple operating system software license agreement. 4516 // 4517 // Please obtain a copy of the License at 4518 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4519 // 4520 // The Original Code and all software distributed under the License are 4521 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4522 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4523 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4524 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4525 // Please see the License for the specific language governing rights and 4526 // limitations under the License. 4527 // 4528 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4529 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 4530 // 4531 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4532 // 4533 // This file contains Original Code and/or Modifications of Original Code 4534 // as defined in and that are subject to the Apple Public Source License 4535 // Version 2.0 (the 'License'). You may not use this file except in 4536 // compliance with the License. The rights granted to you under the License 4537 // may not be used to create, or enable the creation or redistribution of, 4538 // unlawful or unlicensed copies of an Apple operating system, or to 4539 // circumvent, violate, or enable the circumvention or violation of, any 4540 // terms of an Apple operating system software license agreement. 4541 // 4542 // Please obtain a copy of the License at 4543 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4544 // 4545 // The Original Code and all software distributed under the License are 4546 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4547 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4548 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4549 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4550 // Please see the License for the specific language governing rights and 4551 // limitations under the License. 4552 // 4553 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4554 4555 type suseconds_t = int32 /* _suseconds_t.h:31:33 */ 4556 4557 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4558 // 4559 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4560 // 4561 // This file contains Original Code and/or Modifications of Original Code 4562 // as defined in and that are subject to the Apple Public Source License 4563 // Version 2.0 (the 'License'). You may not use this file except in 4564 // compliance with the License. The rights granted to you under the License 4565 // may not be used to create, or enable the creation or redistribution of, 4566 // unlawful or unlicensed copies of an Apple operating system, or to 4567 // circumvent, violate, or enable the circumvention or violation of, any 4568 // terms of an Apple operating system software license agreement. 4569 // 4570 // Please obtain a copy of the License at 4571 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4572 // 4573 // The Original Code and all software distributed under the License are 4574 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4575 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4576 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4577 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4578 // Please see the License for the specific language governing rights and 4579 // limitations under the License. 4580 // 4581 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4582 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 4583 // 4584 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4585 // 4586 // This file contains Original Code and/or Modifications of Original Code 4587 // as defined in and that are subject to the Apple Public Source License 4588 // Version 2.0 (the 'License'). You may not use this file except in 4589 // compliance with the License. The rights granted to you under the License 4590 // may not be used to create, or enable the creation or redistribution of, 4591 // unlawful or unlicensed copies of an Apple operating system, or to 4592 // circumvent, violate, or enable the circumvention or violation of, any 4593 // terms of an Apple operating system software license agreement. 4594 // 4595 // Please obtain a copy of the License at 4596 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4597 // 4598 // The Original Code and all software distributed under the License are 4599 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4600 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4601 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4602 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4603 // Please see the License for the specific language governing rights and 4604 // limitations under the License. 4605 // 4606 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4607 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4608 type rsize_t = uint64 /* _rsize_t.h:31:32 */ 4609 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4610 // 4611 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4612 // 4613 // This file contains Original Code and/or Modifications of Original Code 4614 // as defined in and that are subject to the Apple Public Source License 4615 // Version 2.0 (the 'License'). You may not use this file except in 4616 // compliance with the License. The rights granted to you under the License 4617 // may not be used to create, or enable the creation or redistribution of, 4618 // unlawful or unlicensed copies of an Apple operating system, or to 4619 // circumvent, violate, or enable the circumvention or violation of, any 4620 // terms of an Apple operating system software license agreement. 4621 // 4622 // Please obtain a copy of the License at 4623 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4624 // 4625 // The Original Code and all software distributed under the License are 4626 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4627 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4628 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4629 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4630 // Please see the License for the specific language governing rights and 4631 // limitations under the License. 4632 // 4633 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4634 type errno_t = int32 /* _errno_t.h:30:32 */ 4635 4636 // This code is present here in order to maintain historical backward 4637 // compatability, and is intended to be removed at some point in the 4638 // future; please include <sys/select.h> instead. 4639 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4640 // 4641 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4642 // 4643 // This file contains Original Code and/or Modifications of Original Code 4644 // as defined in and that are subject to the Apple Public Source License 4645 // Version 2.0 (the 'License'). You may not use this file except in 4646 // compliance with the License. The rights granted to you under the License 4647 // may not be used to create, or enable the creation or redistribution of, 4648 // unlawful or unlicensed copies of an Apple operating system, or to 4649 // circumvent, violate, or enable the circumvention or violation of, any 4650 // terms of an Apple operating system software license agreement. 4651 // 4652 // Please obtain a copy of the License at 4653 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4654 // 4655 // The Original Code and all software distributed under the License are 4656 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4657 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4658 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4659 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4660 // Please see the License for the specific language governing rights and 4661 // limitations under the License. 4662 // 4663 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4664 4665 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 4666 // 4667 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4668 // 4669 // This file contains Original Code and/or Modifications of Original Code 4670 // as defined in and that are subject to the Apple Public Source License 4671 // Version 2.0 (the 'License'). You may not use this file except in 4672 // compliance with the License. The rights granted to you under the License 4673 // may not be used to create, or enable the creation or redistribution of, 4674 // unlawful or unlicensed copies of an Apple operating system, or to 4675 // circumvent, violate, or enable the circumvention or violation of, any 4676 // terms of an Apple operating system software license agreement. 4677 // 4678 // Please obtain a copy of the License at 4679 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4680 // 4681 // The Original Code and all software distributed under the License are 4682 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4683 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4684 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4685 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4686 // Please see the License for the specific language governing rights and 4687 // limitations under the License. 4688 // 4689 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4690 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4691 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 4692 // 4693 // @APPLE_LICENSE_HEADER_START@ 4694 // 4695 // This file contains Original Code and/or Modifications of Original Code 4696 // as defined in and that are subject to the Apple Public Source License 4697 // Version 2.0 (the 'License'). You may not use this file except in 4698 // compliance with the License. Please obtain a copy of the License at 4699 // http://www.opensource.apple.com/apsl/ and read it before using this 4700 // file. 4701 // 4702 // The Original Code and all software distributed under the License are 4703 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4704 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4705 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4706 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4707 // Please see the License for the specific language governing rights and 4708 // limitations under the License. 4709 // 4710 // @APPLE_LICENSE_HEADER_END@ 4711 4712 // Select uses bit masks of file descriptors in longs. These macros 4713 // manipulate such bit fields (the filesystem macros use chars). The 4714 // extra protection here is to permit application redefinition above 4715 // the default size. 4716 4717 type fd_set1 = struct{ Ffds_bits [32]int32 } /* _fd_def.h:50:9 */ 4718 4719 // This code is present here in order to maintain historical backward 4720 // compatability, and is intended to be removed at some point in the 4721 // future; please include <sys/select.h> instead. 4722 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4723 // 4724 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4725 // 4726 // This file contains Original Code and/or Modifications of Original Code 4727 // as defined in and that are subject to the Apple Public Source License 4728 // Version 2.0 (the 'License'). You may not use this file except in 4729 // compliance with the License. The rights granted to you under the License 4730 // may not be used to create, or enable the creation or redistribution of, 4731 // unlawful or unlicensed copies of an Apple operating system, or to 4732 // circumvent, violate, or enable the circumvention or violation of, any 4733 // terms of an Apple operating system software license agreement. 4734 // 4735 // Please obtain a copy of the License at 4736 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4737 // 4738 // The Original Code and all software distributed under the License are 4739 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4740 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4741 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4742 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4743 // Please see the License for the specific language governing rights and 4744 // limitations under the License. 4745 // 4746 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4747 4748 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 4749 // 4750 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4751 // 4752 // This file contains Original Code and/or Modifications of Original Code 4753 // as defined in and that are subject to the Apple Public Source License 4754 // Version 2.0 (the 'License'). You may not use this file except in 4755 // compliance with the License. The rights granted to you under the License 4756 // may not be used to create, or enable the creation or redistribution of, 4757 // unlawful or unlicensed copies of an Apple operating system, or to 4758 // circumvent, violate, or enable the circumvention or violation of, any 4759 // terms of an Apple operating system software license agreement. 4760 // 4761 // Please obtain a copy of the License at 4762 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4763 // 4764 // The Original Code and all software distributed under the License are 4765 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4766 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4767 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4768 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4769 // Please see the License for the specific language governing rights and 4770 // limitations under the License. 4771 // 4772 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4773 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4774 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 4775 // 4776 // @APPLE_LICENSE_HEADER_START@ 4777 // 4778 // This file contains Original Code and/or Modifications of Original Code 4779 // as defined in and that are subject to the Apple Public Source License 4780 // Version 2.0 (the 'License'). You may not use this file except in 4781 // compliance with the License. Please obtain a copy of the License at 4782 // http://www.opensource.apple.com/apsl/ and read it before using this 4783 // file. 4784 // 4785 // The Original Code and all software distributed under the License are 4786 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4787 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4788 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4789 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4790 // Please see the License for the specific language governing rights and 4791 // limitations under the License. 4792 // 4793 // @APPLE_LICENSE_HEADER_END@ 4794 4795 // Select uses bit masks of file descriptors in longs. These macros 4796 // manipulate such bit fields (the filesystem macros use chars). The 4797 // extra protection here is to permit application redefinition above 4798 // the default size. 4799 4800 type fd_set = fd_set1 /* _fd_def.h:52:3 */ 4801 4802 // Use the built-in bzero function instead of the library version so that 4803 // we do not pollute the namespace or introduce prototype warnings. 4804 4805 type fd_mask = int32 /* types.h:189:25 */ 4806 4807 // Select uses bit masks of file descriptors in longs. These macros 4808 // manipulate such bit fields (the filesystem macros use chars). The 4809 // extra protection here is to permit application redefinition above 4810 // the default size. 4811 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4812 // 4813 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4814 // 4815 // This file contains Original Code and/or Modifications of Original Code 4816 // as defined in and that are subject to the Apple Public Source License 4817 // Version 2.0 (the 'License'). You may not use this file except in 4818 // compliance with the License. The rights granted to you under the License 4819 // may not be used to create, or enable the creation or redistribution of, 4820 // unlawful or unlicensed copies of an Apple operating system, or to 4821 // circumvent, violate, or enable the circumvention or violation of, any 4822 // terms of an Apple operating system software license agreement. 4823 // 4824 // Please obtain a copy of the License at 4825 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4826 // 4827 // The Original Code and all software distributed under the License are 4828 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4829 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4830 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4831 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4832 // Please see the License for the specific language governing rights and 4833 // limitations under the License. 4834 // 4835 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4836 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4837 // 4838 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4839 // 4840 // This file contains Original Code and/or Modifications of Original Code 4841 // as defined in and that are subject to the Apple Public Source License 4842 // Version 2.0 (the 'License'). You may not use this file except in 4843 // compliance with the License. The rights granted to you under the License 4844 // may not be used to create, or enable the creation or redistribution of, 4845 // unlawful or unlicensed copies of an Apple operating system, or to 4846 // circumvent, violate, or enable the circumvention or violation of, any 4847 // terms of an Apple operating system software license agreement. 4848 // 4849 // Please obtain a copy of the License at 4850 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4851 // 4852 // The Original Code and all software distributed under the License are 4853 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4854 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4855 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4856 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4857 // Please see the License for the specific language governing rights and 4858 // limitations under the License. 4859 // 4860 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4861 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4862 // 4863 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4864 // 4865 // This file contains Original Code and/or Modifications of Original Code 4866 // as defined in and that are subject to the Apple Public Source License 4867 // Version 2.0 (the 'License'). You may not use this file except in 4868 // compliance with the License. The rights granted to you under the License 4869 // may not be used to create, or enable the creation or redistribution of, 4870 // unlawful or unlicensed copies of an Apple operating system, or to 4871 // circumvent, violate, or enable the circumvention or violation of, any 4872 // terms of an Apple operating system software license agreement. 4873 // 4874 // Please obtain a copy of the License at 4875 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4876 // 4877 // The Original Code and all software distributed under the License are 4878 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4879 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4880 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4881 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4882 // Please see the License for the specific language governing rights and 4883 // limitations under the License. 4884 // 4885 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4886 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4887 // 4888 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4889 // 4890 // This file contains Original Code and/or Modifications of Original Code 4891 // as defined in and that are subject to the Apple Public Source License 4892 // Version 2.0 (the 'License'). You may not use this file except in 4893 // compliance with the License. The rights granted to you under the License 4894 // may not be used to create, or enable the creation or redistribution of, 4895 // unlawful or unlicensed copies of an Apple operating system, or to 4896 // circumvent, violate, or enable the circumvention or violation of, any 4897 // terms of an Apple operating system software license agreement. 4898 // 4899 // Please obtain a copy of the License at 4900 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4901 // 4902 // The Original Code and all software distributed under the License are 4903 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4904 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4905 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4906 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4907 // Please see the License for the specific language governing rights and 4908 // limitations under the License. 4909 // 4910 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4911 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4912 // 4913 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4914 // 4915 // This file contains Original Code and/or Modifications of Original Code 4916 // as defined in and that are subject to the Apple Public Source License 4917 // Version 2.0 (the 'License'). You may not use this file except in 4918 // compliance with the License. The rights granted to you under the License 4919 // may not be used to create, or enable the creation or redistribution of, 4920 // unlawful or unlicensed copies of an Apple operating system, or to 4921 // circumvent, violate, or enable the circumvention or violation of, any 4922 // terms of an Apple operating system software license agreement. 4923 // 4924 // Please obtain a copy of the License at 4925 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4926 // 4927 // The Original Code and all software distributed under the License are 4928 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4929 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4930 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4931 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4932 // Please see the License for the specific language governing rights and 4933 // limitations under the License. 4934 // 4935 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4936 4937 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4938 // 4939 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4940 // 4941 // This file contains Original Code and/or Modifications of Original Code 4942 // as defined in and that are subject to the Apple Public Source License 4943 // Version 2.0 (the 'License'). You may not use this file except in 4944 // compliance with the License. The rights granted to you under the License 4945 // may not be used to create, or enable the creation or redistribution of, 4946 // unlawful or unlicensed copies of an Apple operating system, or to 4947 // circumvent, violate, or enable the circumvention or violation of, any 4948 // terms of an Apple operating system software license agreement. 4949 // 4950 // Please obtain a copy of the License at 4951 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4952 // 4953 // The Original Code and all software distributed under the License are 4954 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4955 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4956 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4957 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4958 // Please see the License for the specific language governing rights and 4959 // limitations under the License. 4960 // 4961 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4962 4963 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4964 // 4965 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4966 // 4967 // This file contains Original Code and/or Modifications of Original Code 4968 // as defined in and that are subject to the Apple Public Source License 4969 // Version 2.0 (the 'License'). You may not use this file except in 4970 // compliance with the License. The rights granted to you under the License 4971 // may not be used to create, or enable the creation or redistribution of, 4972 // unlawful or unlicensed copies of an Apple operating system, or to 4973 // circumvent, violate, or enable the circumvention or violation of, any 4974 // terms of an Apple operating system software license agreement. 4975 // 4976 // Please obtain a copy of the License at 4977 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4978 // 4979 // The Original Code and all software distributed under the License are 4980 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4981 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4982 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4983 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4984 // Please see the License for the specific language governing rights and 4985 // limitations under the License. 4986 // 4987 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4988 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 4989 // 4990 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4991 // 4992 // This file contains Original Code and/or Modifications of Original Code 4993 // as defined in and that are subject to the Apple Public Source License 4994 // Version 2.0 (the 'License'). You may not use this file except in 4995 // compliance with the License. The rights granted to you under the License 4996 // may not be used to create, or enable the creation or redistribution of, 4997 // unlawful or unlicensed copies of an Apple operating system, or to 4998 // circumvent, violate, or enable the circumvention or violation of, any 4999 // terms of an Apple operating system software license agreement. 5000 // 5001 // Please obtain a copy of the License at 5002 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5003 // 5004 // The Original Code and all software distributed under the License are 5005 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5006 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5007 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5008 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5009 // Please see the License for the specific language governing rights and 5010 // limitations under the License. 5011 // 5012 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5013 5014 type pthread_attr_t = _opaque_pthread_attr_t /* _pthread_attr_t.h:31:33 */ 5015 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5016 // 5017 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5018 // 5019 // This file contains Original Code and/or Modifications of Original Code 5020 // as defined in and that are subject to the Apple Public Source License 5021 // Version 2.0 (the 'License'). You may not use this file except in 5022 // compliance with the License. The rights granted to you under the License 5023 // may not be used to create, or enable the creation or redistribution of, 5024 // unlawful or unlicensed copies of an Apple operating system, or to 5025 // circumvent, violate, or enable the circumvention or violation of, any 5026 // terms of an Apple operating system software license agreement. 5027 // 5028 // Please obtain a copy of the License at 5029 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5030 // 5031 // The Original Code and all software distributed under the License are 5032 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5033 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5034 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5035 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5036 // Please see the License for the specific language governing rights and 5037 // limitations under the License. 5038 // 5039 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5040 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 5041 // 5042 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5043 // 5044 // This file contains Original Code and/or Modifications of Original Code 5045 // as defined in and that are subject to the Apple Public Source License 5046 // Version 2.0 (the 'License'). You may not use this file except in 5047 // compliance with the License. The rights granted to you under the License 5048 // may not be used to create, or enable the creation or redistribution of, 5049 // unlawful or unlicensed copies of an Apple operating system, or to 5050 // circumvent, violate, or enable the circumvention or violation of, any 5051 // terms of an Apple operating system software license agreement. 5052 // 5053 // Please obtain a copy of the License at 5054 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5055 // 5056 // The Original Code and all software distributed under the License are 5057 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5058 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5059 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5060 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5061 // Please see the License for the specific language governing rights and 5062 // limitations under the License. 5063 // 5064 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5065 5066 type pthread_cond_t = _opaque_pthread_cond_t /* _pthread_cond_t.h:31:33 */ 5067 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5068 // 5069 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5070 // 5071 // This file contains Original Code and/or Modifications of Original Code 5072 // as defined in and that are subject to the Apple Public Source License 5073 // Version 2.0 (the 'License'). You may not use this file except in 5074 // compliance with the License. The rights granted to you under the License 5075 // may not be used to create, or enable the creation or redistribution of, 5076 // unlawful or unlicensed copies of an Apple operating system, or to 5077 // circumvent, violate, or enable the circumvention or violation of, any 5078 // terms of an Apple operating system software license agreement. 5079 // 5080 // Please obtain a copy of the License at 5081 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5082 // 5083 // The Original Code and all software distributed under the License are 5084 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5085 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5086 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5087 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5088 // Please see the License for the specific language governing rights and 5089 // limitations under the License. 5090 // 5091 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5092 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 5093 // 5094 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5095 // 5096 // This file contains Original Code and/or Modifications of Original Code 5097 // as defined in and that are subject to the Apple Public Source License 5098 // Version 2.0 (the 'License'). You may not use this file except in 5099 // compliance with the License. The rights granted to you under the License 5100 // may not be used to create, or enable the creation or redistribution of, 5101 // unlawful or unlicensed copies of an Apple operating system, or to 5102 // circumvent, violate, or enable the circumvention or violation of, any 5103 // terms of an Apple operating system software license agreement. 5104 // 5105 // Please obtain a copy of the License at 5106 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5107 // 5108 // The Original Code and all software distributed under the License are 5109 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5110 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5111 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5112 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5113 // Please see the License for the specific language governing rights and 5114 // limitations under the License. 5115 // 5116 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5117 5118 type pthread_condattr_t = _opaque_pthread_condattr_t /* _pthread_condattr_t.h:31:37 */ 5119 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5120 // 5121 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5122 // 5123 // This file contains Original Code and/or Modifications of Original Code 5124 // as defined in and that are subject to the Apple Public Source License 5125 // Version 2.0 (the 'License'). You may not use this file except in 5126 // compliance with the License. The rights granted to you under the License 5127 // may not be used to create, or enable the creation or redistribution of, 5128 // unlawful or unlicensed copies of an Apple operating system, or to 5129 // circumvent, violate, or enable the circumvention or violation of, any 5130 // terms of an Apple operating system software license agreement. 5131 // 5132 // Please obtain a copy of the License at 5133 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5134 // 5135 // The Original Code and all software distributed under the License are 5136 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5137 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5138 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5139 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5140 // Please see the License for the specific language governing rights and 5141 // limitations under the License. 5142 // 5143 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5144 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 5145 // 5146 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5147 // 5148 // This file contains Original Code and/or Modifications of Original Code 5149 // as defined in and that are subject to the Apple Public Source License 5150 // Version 2.0 (the 'License'). You may not use this file except in 5151 // compliance with the License. The rights granted to you under the License 5152 // may not be used to create, or enable the creation or redistribution of, 5153 // unlawful or unlicensed copies of an Apple operating system, or to 5154 // circumvent, violate, or enable the circumvention or violation of, any 5155 // terms of an Apple operating system software license agreement. 5156 // 5157 // Please obtain a copy of the License at 5158 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5159 // 5160 // The Original Code and all software distributed under the License are 5161 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5162 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5163 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5164 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5165 // Please see the License for the specific language governing rights and 5166 // limitations under the License. 5167 // 5168 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5169 5170 type pthread_mutex_t = _opaque_pthread_mutex_t /* _pthread_mutex_t.h:31:34 */ 5171 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5172 // 5173 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5174 // 5175 // This file contains Original Code and/or Modifications of Original Code 5176 // as defined in and that are subject to the Apple Public Source License 5177 // Version 2.0 (the 'License'). You may not use this file except in 5178 // compliance with the License. The rights granted to you under the License 5179 // may not be used to create, or enable the creation or redistribution of, 5180 // unlawful or unlicensed copies of an Apple operating system, or to 5181 // circumvent, violate, or enable the circumvention or violation of, any 5182 // terms of an Apple operating system software license agreement. 5183 // 5184 // Please obtain a copy of the License at 5185 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5186 // 5187 // The Original Code and all software distributed under the License are 5188 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5189 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5190 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5191 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5192 // Please see the License for the specific language governing rights and 5193 // limitations under the License. 5194 // 5195 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5196 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 5197 // 5198 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5199 // 5200 // This file contains Original Code and/or Modifications of Original Code 5201 // as defined in and that are subject to the Apple Public Source License 5202 // Version 2.0 (the 'License'). You may not use this file except in 5203 // compliance with the License. The rights granted to you under the License 5204 // may not be used to create, or enable the creation or redistribution of, 5205 // unlawful or unlicensed copies of an Apple operating system, or to 5206 // circumvent, violate, or enable the circumvention or violation of, any 5207 // terms of an Apple operating system software license agreement. 5208 // 5209 // Please obtain a copy of the License at 5210 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5211 // 5212 // The Original Code and all software distributed under the License are 5213 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5214 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5215 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5216 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5217 // Please see the License for the specific language governing rights and 5218 // limitations under the License. 5219 // 5220 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5221 5222 type pthread_mutexattr_t = _opaque_pthread_mutexattr_t /* _pthread_mutexattr_t.h:31:38 */ 5223 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5224 // 5225 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5226 // 5227 // This file contains Original Code and/or Modifications of Original Code 5228 // as defined in and that are subject to the Apple Public Source License 5229 // Version 2.0 (the 'License'). You may not use this file except in 5230 // compliance with the License. The rights granted to you under the License 5231 // may not be used to create, or enable the creation or redistribution of, 5232 // unlawful or unlicensed copies of an Apple operating system, or to 5233 // circumvent, violate, or enable the circumvention or violation of, any 5234 // terms of an Apple operating system software license agreement. 5235 // 5236 // Please obtain a copy of the License at 5237 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5238 // 5239 // The Original Code and all software distributed under the License are 5240 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5241 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5242 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5243 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5244 // Please see the License for the specific language governing rights and 5245 // limitations under the License. 5246 // 5247 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5248 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 5249 // 5250 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5251 // 5252 // This file contains Original Code and/or Modifications of Original Code 5253 // as defined in and that are subject to the Apple Public Source License 5254 // Version 2.0 (the 'License'). You may not use this file except in 5255 // compliance with the License. The rights granted to you under the License 5256 // may not be used to create, or enable the creation or redistribution of, 5257 // unlawful or unlicensed copies of an Apple operating system, or to 5258 // circumvent, violate, or enable the circumvention or violation of, any 5259 // terms of an Apple operating system software license agreement. 5260 // 5261 // Please obtain a copy of the License at 5262 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5263 // 5264 // The Original Code and all software distributed under the License are 5265 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5266 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5267 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5268 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5269 // Please see the License for the specific language governing rights and 5270 // limitations under the License. 5271 // 5272 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5273 5274 type pthread_once_t = _opaque_pthread_once_t /* _pthread_once_t.h:31:33 */ 5275 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5276 // 5277 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5278 // 5279 // This file contains Original Code and/or Modifications of Original Code 5280 // as defined in and that are subject to the Apple Public Source License 5281 // Version 2.0 (the 'License'). You may not use this file except in 5282 // compliance with the License. The rights granted to you under the License 5283 // may not be used to create, or enable the creation or redistribution of, 5284 // unlawful or unlicensed copies of an Apple operating system, or to 5285 // circumvent, violate, or enable the circumvention or violation of, any 5286 // terms of an Apple operating system software license agreement. 5287 // 5288 // Please obtain a copy of the License at 5289 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5290 // 5291 // The Original Code and all software distributed under the License are 5292 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5293 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5294 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5295 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5296 // Please see the License for the specific language governing rights and 5297 // limitations under the License. 5298 // 5299 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5300 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 5301 // 5302 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5303 // 5304 // This file contains Original Code and/or Modifications of Original Code 5305 // as defined in and that are subject to the Apple Public Source License 5306 // Version 2.0 (the 'License'). You may not use this file except in 5307 // compliance with the License. The rights granted to you under the License 5308 // may not be used to create, or enable the creation or redistribution of, 5309 // unlawful or unlicensed copies of an Apple operating system, or to 5310 // circumvent, violate, or enable the circumvention or violation of, any 5311 // terms of an Apple operating system software license agreement. 5312 // 5313 // Please obtain a copy of the License at 5314 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5315 // 5316 // The Original Code and all software distributed under the License are 5317 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5318 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5319 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5320 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5321 // Please see the License for the specific language governing rights and 5322 // limitations under the License. 5323 // 5324 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5325 5326 type pthread_rwlock_t = _opaque_pthread_rwlock_t /* _pthread_rwlock_t.h:31:35 */ 5327 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5328 // 5329 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5330 // 5331 // This file contains Original Code and/or Modifications of Original Code 5332 // as defined in and that are subject to the Apple Public Source License 5333 // Version 2.0 (the 'License'). You may not use this file except in 5334 // compliance with the License. The rights granted to you under the License 5335 // may not be used to create, or enable the creation or redistribution of, 5336 // unlawful or unlicensed copies of an Apple operating system, or to 5337 // circumvent, violate, or enable the circumvention or violation of, any 5338 // terms of an Apple operating system software license agreement. 5339 // 5340 // Please obtain a copy of the License at 5341 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5342 // 5343 // The Original Code and all software distributed under the License are 5344 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5345 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5346 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5347 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5348 // Please see the License for the specific language governing rights and 5349 // limitations under the License. 5350 // 5351 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5352 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 5353 // 5354 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5355 // 5356 // This file contains Original Code and/or Modifications of Original Code 5357 // as defined in and that are subject to the Apple Public Source License 5358 // Version 2.0 (the 'License'). You may not use this file except in 5359 // compliance with the License. The rights granted to you under the License 5360 // may not be used to create, or enable the creation or redistribution of, 5361 // unlawful or unlicensed copies of an Apple operating system, or to 5362 // circumvent, violate, or enable the circumvention or violation of, any 5363 // terms of an Apple operating system software license agreement. 5364 // 5365 // Please obtain a copy of the License at 5366 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5367 // 5368 // The Original Code and all software distributed under the License are 5369 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5370 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5371 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5372 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5373 // Please see the License for the specific language governing rights and 5374 // limitations under the License. 5375 // 5376 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5377 5378 type pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t /* _pthread_rwlockattr_t.h:31:39 */ 5379 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5380 // 5381 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5382 // 5383 // This file contains Original Code and/or Modifications of Original Code 5384 // as defined in and that are subject to the Apple Public Source License 5385 // Version 2.0 (the 'License'). You may not use this file except in 5386 // compliance with the License. The rights granted to you under the License 5387 // may not be used to create, or enable the creation or redistribution of, 5388 // unlawful or unlicensed copies of an Apple operating system, or to 5389 // circumvent, violate, or enable the circumvention or violation of, any 5390 // terms of an Apple operating system software license agreement. 5391 // 5392 // Please obtain a copy of the License at 5393 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5394 // 5395 // The Original Code and all software distributed under the License are 5396 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5397 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5398 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5399 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5400 // Please see the License for the specific language governing rights and 5401 // limitations under the License. 5402 // 5403 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5404 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 5405 // 5406 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5407 // 5408 // This file contains Original Code and/or Modifications of Original Code 5409 // as defined in and that are subject to the Apple Public Source License 5410 // Version 2.0 (the 'License'). You may not use this file except in 5411 // compliance with the License. The rights granted to you under the License 5412 // may not be used to create, or enable the creation or redistribution of, 5413 // unlawful or unlicensed copies of an Apple operating system, or to 5414 // circumvent, violate, or enable the circumvention or violation of, any 5415 // terms of an Apple operating system software license agreement. 5416 // 5417 // Please obtain a copy of the License at 5418 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5419 // 5420 // The Original Code and all software distributed under the License are 5421 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5422 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5423 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5424 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5425 // Please see the License for the specific language governing rights and 5426 // limitations under the License. 5427 // 5428 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5429 5430 type pthread_t = uintptr /* _pthread_t.h:31:28 */ 5431 5432 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5433 // 5434 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5435 // 5436 // This file contains Original Code and/or Modifications of Original Code 5437 // as defined in and that are subject to the Apple Public Source License 5438 // Version 2.0 (the 'License'). You may not use this file except in 5439 // compliance with the License. The rights granted to you under the License 5440 // may not be used to create, or enable the creation or redistribution of, 5441 // unlawful or unlicensed copies of an Apple operating system, or to 5442 // circumvent, violate, or enable the circumvention or violation of, any 5443 // terms of an Apple operating system software license agreement. 5444 // 5445 // Please obtain a copy of the License at 5446 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5447 // 5448 // The Original Code and all software distributed under the License are 5449 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5450 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5451 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5452 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5453 // Please see the License for the specific language governing rights and 5454 // limitations under the License. 5455 // 5456 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5457 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 5458 // 5459 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5460 // 5461 // This file contains Original Code and/or Modifications of Original Code 5462 // as defined in and that are subject to the Apple Public Source License 5463 // Version 2.0 (the 'License'). You may not use this file except in 5464 // compliance with the License. The rights granted to you under the License 5465 // may not be used to create, or enable the creation or redistribution of, 5466 // unlawful or unlicensed copies of an Apple operating system, or to 5467 // circumvent, violate, or enable the circumvention or violation of, any 5468 // terms of an Apple operating system software license agreement. 5469 // 5470 // Please obtain a copy of the License at 5471 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5472 // 5473 // The Original Code and all software distributed under the License are 5474 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5475 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5476 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5477 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5478 // Please see the License for the specific language governing rights and 5479 // limitations under the License. 5480 // 5481 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5482 5483 type pthread_key_t = uint64 /* _pthread_key_t.h:31:32 */ 5484 5485 // statvfs and fstatvfs 5486 5487 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5488 // 5489 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5490 // 5491 // This file contains Original Code and/or Modifications of Original Code 5492 // as defined in and that are subject to the Apple Public Source License 5493 // Version 2.0 (the 'License'). You may not use this file except in 5494 // compliance with the License. The rights granted to you under the License 5495 // may not be used to create, or enable the creation or redistribution of, 5496 // unlawful or unlicensed copies of an Apple operating system, or to 5497 // circumvent, violate, or enable the circumvention or violation of, any 5498 // terms of an Apple operating system software license agreement. 5499 // 5500 // Please obtain a copy of the License at 5501 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5502 // 5503 // The Original Code and all software distributed under the License are 5504 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5505 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5506 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5507 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5508 // Please see the License for the specific language governing rights and 5509 // limitations under the License. 5510 // 5511 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5512 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5513 // 5514 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5515 // 5516 // This file contains Original Code and/or Modifications of Original Code 5517 // as defined in and that are subject to the Apple Public Source License 5518 // Version 2.0 (the 'License'). You may not use this file except in 5519 // compliance with the License. The rights granted to you under the License 5520 // may not be used to create, or enable the creation or redistribution of, 5521 // unlawful or unlicensed copies of an Apple operating system, or to 5522 // circumvent, violate, or enable the circumvention or violation of, any 5523 // terms of an Apple operating system software license agreement. 5524 // 5525 // Please obtain a copy of the License at 5526 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5527 // 5528 // The Original Code and all software distributed under the License are 5529 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5530 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5531 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5532 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5533 // Please see the License for the specific language governing rights and 5534 // limitations under the License. 5535 // 5536 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5537 5538 type fsblkcnt_t = uint32 /* _fsblkcnt_t.h:31:41 */ 5539 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5540 // 5541 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5542 // 5543 // This file contains Original Code and/or Modifications of Original Code 5544 // as defined in and that are subject to the Apple Public Source License 5545 // Version 2.0 (the 'License'). You may not use this file except in 5546 // compliance with the License. The rights granted to you under the License 5547 // may not be used to create, or enable the creation or redistribution of, 5548 // unlawful or unlicensed copies of an Apple operating system, or to 5549 // circumvent, violate, or enable the circumvention or violation of, any 5550 // terms of an Apple operating system software license agreement. 5551 // 5552 // Please obtain a copy of the License at 5553 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5554 // 5555 // The Original Code and all software distributed under the License are 5556 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5557 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5558 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5559 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5560 // Please see the License for the specific language governing rights and 5561 // limitations under the License. 5562 // 5563 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5564 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5565 // 5566 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5567 // 5568 // This file contains Original Code and/or Modifications of Original Code 5569 // as defined in and that are subject to the Apple Public Source License 5570 // Version 2.0 (the 'License'). You may not use this file except in 5571 // compliance with the License. The rights granted to you under the License 5572 // may not be used to create, or enable the creation or redistribution of, 5573 // unlawful or unlicensed copies of an Apple operating system, or to 5574 // circumvent, violate, or enable the circumvention or violation of, any 5575 // terms of an Apple operating system software license agreement. 5576 // 5577 // Please obtain a copy of the License at 5578 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5579 // 5580 // The Original Code and all software distributed under the License are 5581 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5582 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5583 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5584 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5585 // Please see the License for the specific language governing rights and 5586 // limitations under the License. 5587 // 5588 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5589 5590 type fsfilcnt_t = uint32 /* _fsfilcnt_t.h:31:41 */ 5591 5592 // Copyright (c) 2000-2019 Apple Inc. All rights reserved. 5593 // 5594 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5595 // 5596 // This file contains Original Code and/or Modifications of Original Code 5597 // as defined in and that are subject to the Apple Public Source License 5598 // Version 2.0 (the 'License'). You may not use this file except in 5599 // compliance with the License. The rights granted to you under the License 5600 // may not be used to create, or enable the creation or redistribution of, 5601 // unlawful or unlicensed copies of an Apple operating system, or to 5602 // circumvent, violate, or enable the circumvention or violation of, any 5603 // terms of an Apple operating system software license agreement. 5604 // 5605 // Please obtain a copy of the License at 5606 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5607 // 5608 // The Original Code and all software distributed under the License are 5609 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5610 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5611 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5612 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5613 // Please see the License for the specific language governing rights and 5614 // limitations under the License. 5615 // 5616 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5617 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 5618 // Copyright (c) 1982, 1986, 1993, 1994 5619 // The Regents of the University of California. All rights reserved. 5620 // 5621 // Redistribution and use in source and binary forms, with or without 5622 // modification, are permitted provided that the following conditions 5623 // are met: 5624 // 1. Redistributions of source code must retain the above copyright 5625 // notice, this list of conditions and the following disclaimer. 5626 // 2. Redistributions in binary form must reproduce the above copyright 5627 // notice, this list of conditions and the following disclaimer in the 5628 // documentation and/or other materials provided with the distribution. 5629 // 3. All advertising materials mentioning features or use of this software 5630 // must display the following acknowledgement: 5631 // This product includes software developed by the University of 5632 // California, Berkeley and its contributors. 5633 // 4. Neither the name of the University nor the names of its contributors 5634 // may be used to endorse or promote products derived from this software 5635 // without specific prior written permission. 5636 // 5637 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 5638 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 5639 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 5640 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 5641 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 5642 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 5643 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 5644 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 5645 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 5646 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 5647 // SUCH DAMAGE. 5648 // 5649 // @(#)uio.h 8.5 (Berkeley) 2/22/94 5650 5651 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 5652 // 5653 // @APPLE_LICENSE_HEADER_START@ 5654 // 5655 // This file contains Original Code and/or Modifications of Original Code 5656 // as defined in and that are subject to the Apple Public Source License 5657 // Version 2.0 (the 'License'). You may not use this file except in 5658 // compliance with the License. Please obtain a copy of the License at 5659 // http://www.opensource.apple.com/apsl/ and read it before using this 5660 // file. 5661 // 5662 // The Original Code and all software distributed under the License are 5663 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5664 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5665 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5666 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5667 // Please see the License for the specific language governing rights and 5668 // limitations under the License. 5669 // 5670 // @APPLE_LICENSE_HEADER_END@ 5671 5672 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 5673 // 5674 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5675 // 5676 // This file contains Original Code and/or Modifications of Original Code 5677 // as defined in and that are subject to the Apple Public Source License 5678 // Version 2.0 (the 'License'). You may not use this file except in 5679 // compliance with the License. The rights granted to you under the License 5680 // may not be used to create, or enable the creation or redistribution of, 5681 // unlawful or unlicensed copies of an Apple operating system, or to 5682 // circumvent, violate, or enable the circumvention or violation of, any 5683 // terms of an Apple operating system software license agreement. 5684 // 5685 // Please obtain a copy of the License at 5686 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5687 // 5688 // The Original Code and all software distributed under the License are 5689 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5690 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5691 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5692 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5693 // Please see the License for the specific language governing rights and 5694 // limitations under the License. 5695 // 5696 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5697 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 5698 // Copyright (c) 1991, 1993 5699 // The Regents of the University of California. All rights reserved. 5700 // 5701 // This code is derived from software contributed to Berkeley by 5702 // Berkeley Software Design, Inc. 5703 // 5704 // Redistribution and use in source and binary forms, with or without 5705 // modification, are permitted provided that the following conditions 5706 // are met: 5707 // 1. Redistributions of source code must retain the above copyright 5708 // notice, this list of conditions and the following disclaimer. 5709 // 2. Redistributions in binary form must reproduce the above copyright 5710 // notice, this list of conditions and the following disclaimer in the 5711 // documentation and/or other materials provided with the distribution. 5712 // 3. All advertising materials mentioning features or use of this software 5713 // must display the following acknowledgement: 5714 // This product includes software developed by the University of 5715 // California, Berkeley and its contributors. 5716 // 4. Neither the name of the University nor the names of its contributors 5717 // may be used to endorse or promote products derived from this software 5718 // without specific prior written permission. 5719 // 5720 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 5721 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 5722 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 5723 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 5724 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 5725 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 5726 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 5727 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 5728 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 5729 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 5730 // SUCH DAMAGE. 5731 // 5732 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 5733 5734 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5735 // 5736 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5737 // 5738 // This file contains Original Code and/or Modifications of Original Code 5739 // as defined in and that are subject to the Apple Public Source License 5740 // Version 2.0 (the 'License'). You may not use this file except in 5741 // compliance with the License. The rights granted to you under the License 5742 // may not be used to create, or enable the creation or redistribution of, 5743 // unlawful or unlicensed copies of an Apple operating system, or to 5744 // circumvent, violate, or enable the circumvention or violation of, any 5745 // terms of an Apple operating system software license agreement. 5746 // 5747 // Please obtain a copy of the License at 5748 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5749 // 5750 // The Original Code and all software distributed under the License are 5751 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5752 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5753 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5754 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5755 // Please see the License for the specific language governing rights and 5756 // limitations under the License. 5757 // 5758 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5759 5760 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5761 // 5762 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5763 // 5764 // This file contains Original Code and/or Modifications of Original Code 5765 // as defined in and that are subject to the Apple Public Source License 5766 // Version 2.0 (the 'License'). You may not use this file except in 5767 // compliance with the License. The rights granted to you under the License 5768 // may not be used to create, or enable the creation or redistribution of, 5769 // unlawful or unlicensed copies of an Apple operating system, or to 5770 // circumvent, violate, or enable the circumvention or violation of, any 5771 // terms of an Apple operating system software license agreement. 5772 // 5773 // Please obtain a copy of the License at 5774 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5775 // 5776 // The Original Code and all software distributed under the License are 5777 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5778 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5779 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5780 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5781 // Please see the License for the specific language governing rights and 5782 // limitations under the License. 5783 // 5784 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5785 5786 // [XSI] The ssize_t and size_t types shall be defined as described 5787 // in <sys/types.h>. 5788 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5789 // 5790 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5791 // 5792 // This file contains Original Code and/or Modifications of Original Code 5793 // as defined in and that are subject to the Apple Public Source License 5794 // Version 2.0 (the 'License'). You may not use this file except in 5795 // compliance with the License. The rights granted to you under the License 5796 // may not be used to create, or enable the creation or redistribution of, 5797 // unlawful or unlicensed copies of an Apple operating system, or to 5798 // circumvent, violate, or enable the circumvention or violation of, any 5799 // terms of an Apple operating system software license agreement. 5800 // 5801 // Please obtain a copy of the License at 5802 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5803 // 5804 // The Original Code and all software distributed under the License are 5805 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5806 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5807 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5808 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5809 // Please see the License for the specific language governing rights and 5810 // limitations under the License. 5811 // 5812 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5813 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5814 // 5815 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5816 // 5817 // This file contains Original Code and/or Modifications of Original Code 5818 // as defined in and that are subject to the Apple Public Source License 5819 // Version 2.0 (the 'License'). You may not use this file except in 5820 // compliance with the License. The rights granted to you under the License 5821 // may not be used to create, or enable the creation or redistribution of, 5822 // unlawful or unlicensed copies of an Apple operating system, or to 5823 // circumvent, violate, or enable the circumvention or violation of, any 5824 // terms of an Apple operating system software license agreement. 5825 // 5826 // Please obtain a copy of the License at 5827 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5828 // 5829 // The Original Code and all software distributed under the License are 5830 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5831 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5832 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5833 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5834 // Please see the License for the specific language governing rights and 5835 // limitations under the License. 5836 // 5837 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5838 5839 // [XSI] Structure whose address is passed as the second parameter to the 5840 // readv(), preadv(), writev() and pwritev() functions. 5841 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5842 // 5843 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5844 // 5845 // This file contains Original Code and/or Modifications of Original Code 5846 // as defined in and that are subject to the Apple Public Source License 5847 // Version 2.0 (the 'License'). You may not use this file except in 5848 // compliance with the License. The rights granted to you under the License 5849 // may not be used to create, or enable the creation or redistribution of, 5850 // unlawful or unlicensed copies of an Apple operating system, or to 5851 // circumvent, violate, or enable the circumvention or violation of, any 5852 // terms of an Apple operating system software license agreement. 5853 // 5854 // Please obtain a copy of the License at 5855 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5856 // 5857 // The Original Code and all software distributed under the License are 5858 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5859 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5860 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5861 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5862 // Please see the License for the specific language governing rights and 5863 // limitations under the License. 5864 // 5865 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5866 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5867 // 5868 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5869 // 5870 // This file contains Original Code and/or Modifications of Original Code 5871 // as defined in and that are subject to the Apple Public Source License 5872 // Version 2.0 (the 'License'). You may not use this file except in 5873 // compliance with the License. The rights granted to you under the License 5874 // may not be used to create, or enable the creation or redistribution of, 5875 // unlawful or unlicensed copies of an Apple operating system, or to 5876 // circumvent, violate, or enable the circumvention or violation of, any 5877 // terms of an Apple operating system software license agreement. 5878 // 5879 // Please obtain a copy of the License at 5880 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5881 // 5882 // The Original Code and all software distributed under the License are 5883 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5884 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5885 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5886 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5887 // Please see the License for the specific language governing rights and 5888 // limitations under the License. 5889 // 5890 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5891 type iovec = struct { 5892 Fiov_base uintptr 5893 Fiov_len size_t 5894 } /* _iovec_t.h:31:1 */ 5895 5896 // Copyright (c) 2000-2012 Apple Inc. All rights reserved. 5897 // 5898 // @APPLE_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. Please obtain a copy of the License at 5904 // http://www.opensource.apple.com/apsl/ and read it before using this 5905 // file. 5906 // 5907 // The Original Code and all software distributed under the License are 5908 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5909 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5910 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5911 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5912 // Please see the License for the specific language governing rights and 5913 // limitations under the License. 5914 // 5915 // @APPLE_LICENSE_HEADER_END@ 5916 // Copyright 1996 1995 by Open Software Foundation, Inc. 1997 1996 1995 1994 1993 1992 1991 5917 // All Rights Reserved 5918 // 5919 // Permission to use, copy, modify, and distribute this software and 5920 // its documentation for any purpose and without fee is hereby granted, 5921 // provided that the above copyright notice appears in all copies and 5922 // that both the copyright notice and this permission notice appear in 5923 // supporting documentation. 5924 // 5925 // OSF DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE 5926 // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 5927 // FOR A PARTICULAR PURPOSE. 5928 // 5929 // IN NO EVENT SHALL OSF BE LIABLE FOR ANY SPECIAL, INDIRECT, OR 5930 // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 5931 // LOSS OF USE, DATA OR PROFITS, WHETHER IN ACTION OF CONTRACT, 5932 // NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 5933 // WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 5934 // 5935 // MkLinux 5936 5937 // POSIX Threads - IEEE 1003.1c 5938 5939 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 5940 // 5941 // @APPLE_LICENSE_HEADER_START@ 5942 // 5943 // This file contains Original Code and/or Modifications of Original Code 5944 // as defined in and that are subject to the Apple Public Source License 5945 // Version 2.0 (the 'License'). You may not use this file except in 5946 // compliance with the License. Please obtain a copy of the License at 5947 // http://www.opensource.apple.com/apsl/ and read it before using this 5948 // file. 5949 // 5950 // The Original Code and all software distributed under the License are 5951 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5952 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5953 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5954 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5955 // Please see the License for the specific language governing rights and 5956 // limitations under the License. 5957 // 5958 // @APPLE_LICENSE_HEADER_END@ 5959 5960 // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved. 5961 // 5962 // @APPLE_LICENSE_HEADER_START@ 5963 // 5964 // This file contains Original Code and/or Modifications of Original Code 5965 // as defined in and that are subject to the Apple Public Source License 5966 // Version 2.0 (the 'License'). You may not use this file except in 5967 // compliance with the License. Please obtain a copy of the License at 5968 // http://www.opensource.apple.com/apsl/ and read it before using this 5969 // file. 5970 // 5971 // The Original Code and all software distributed under the License are 5972 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5973 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5974 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5975 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5976 // Please see the License for the specific language governing rights and 5977 // limitations under the License. 5978 // 5979 // @APPLE_LICENSE_HEADER_END@ 5980 5981 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 5982 // 5983 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5984 // 5985 // This file contains Original Code and/or Modifications of Original Code 5986 // as defined in and that are subject to the Apple Public Source License 5987 // Version 2.0 (the 'License'). You may not use this file except in 5988 // compliance with the License. The rights granted to you under the License 5989 // may not be used to create, or enable the creation or redistribution of, 5990 // unlawful or unlicensed copies of an Apple operating system, or to 5991 // circumvent, violate, or enable the circumvention or violation of, any 5992 // terms of an Apple operating system software license agreement. 5993 // 5994 // Please obtain a copy of the License at 5995 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5996 // 5997 // The Original Code and all software distributed under the License are 5998 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5999 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6000 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6001 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6002 // Please see the License for the specific language governing rights and 6003 // limitations under the License. 6004 // 6005 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6006 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6007 // Copyright (c) 1991, 1993 6008 // The Regents of the University of California. All rights reserved. 6009 // 6010 // This code is derived from software contributed to Berkeley by 6011 // Berkeley Software Design, Inc. 6012 // 6013 // Redistribution and use in source and binary forms, with or without 6014 // modification, are permitted provided that the following conditions 6015 // are met: 6016 // 1. Redistributions of source code must retain the above copyright 6017 // notice, this list of conditions and the following disclaimer. 6018 // 2. Redistributions in binary form must reproduce the above copyright 6019 // notice, this list of conditions and the following disclaimer in the 6020 // documentation and/or other materials provided with the distribution. 6021 // 3. All advertising materials mentioning features or use of this software 6022 // must display the following acknowledgement: 6023 // This product includes software developed by the University of 6024 // California, Berkeley and its contributors. 6025 // 4. Neither the name of the University nor the names of its contributors 6026 // may be used to endorse or promote products derived from this software 6027 // without specific prior written permission. 6028 // 6029 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 6030 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 6031 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 6032 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 6033 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 6034 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 6035 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 6036 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 6037 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 6038 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 6039 // SUCH DAMAGE. 6040 // 6041 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 6042 6043 // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved. 6044 // 6045 // @APPLE_LICENSE_HEADER_START@ 6046 // 6047 // This file contains Original Code and/or Modifications of Original Code 6048 // as defined in and that are subject to the Apple Public Source License 6049 // Version 2.0 (the 'License'). You may not use this file except in 6050 // compliance with the License. Please obtain a copy of the License at 6051 // http://www.opensource.apple.com/apsl/ and read it before using this 6052 // file. 6053 // 6054 // The Original Code and all software distributed under the License are 6055 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6056 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6057 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6058 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6059 // Please see the License for the specific language governing rights and 6060 // limitations under the License. 6061 // 6062 // @APPLE_LICENSE_HEADER_END@ 6063 6064 // Internal implementation details 6065 6066 // This whole header file will disappear, so don't depend on it... 6067 6068 // [Internal] data structure signatures 6069 6070 // POSIX scheduling policies 6071 6072 // Scheduling paramters 6073 type sched_param = struct { 6074 Fsched_priority int32 6075 F__opaque [4]int8 6076 } /* sched.h:35:1 */ 6077 6078 // Copyright (c) 2000 Apple Computer, Inc. All rights reserved. 6079 // 6080 // @APPLE_LICENSE_HEADER_START@ 6081 // 6082 // This file contains Original Code and/or Modifications of Original Code 6083 // as defined in and that are subject to the Apple Public Source License 6084 // Version 2.0 (the 'License'). You may not use this file except in 6085 // compliance with the License. Please obtain a copy of the License at 6086 // http://www.opensource.apple.com/apsl/ and read it before using this 6087 // file. 6088 // 6089 // The Original Code and all software distributed under the License are 6090 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6091 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6092 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6093 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6094 // Please see the License for the specific language governing rights and 6095 // limitations under the License. 6096 // 6097 // @APPLE_LICENSE_HEADER_END@ 6098 // Copyright (c) 1989, 1993 6099 // The Regents of the University of California. All rights reserved. 6100 // (c) UNIX System Laboratories, Inc. 6101 // All or some portions of this file are derived from material licensed 6102 // to the University of California by American Telephone and Telegraph 6103 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 6104 // the permission of UNIX System Laboratories, Inc. 6105 // 6106 // Redistribution and use in source and binary forms, with or without 6107 // modification, are permitted provided that the following conditions 6108 // are met: 6109 // 1. Redistributions of source code must retain the above copyright 6110 // notice, this list of conditions and the following disclaimer. 6111 // 2. Redistributions in binary form must reproduce the above copyright 6112 // notice, this list of conditions and the following disclaimer in the 6113 // documentation and/or other materials provided with the distribution. 6114 // 3. All advertising materials mentioning features or use of this software 6115 // must display the following acknowledgement: 6116 // This product includes software developed by the University of 6117 // California, Berkeley and its contributors. 6118 // 4. Neither the name of the University nor the names of its contributors 6119 // may be used to endorse or promote products derived from this software 6120 // without specific prior written permission. 6121 // 6122 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 6123 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 6124 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 6125 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 6126 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 6127 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 6128 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 6129 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 6130 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 6131 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 6132 // SUCH DAMAGE. 6133 // 6134 // @(#)time.h 8.3 (Berkeley) 1/21/94 6135 6136 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 6137 // 6138 // @APPLE_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. Please obtain a copy of the License at 6144 // http://www.opensource.apple.com/apsl/ and read it before using this 6145 // file. 6146 // 6147 // The Original Code and all software distributed under the License are 6148 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6149 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6150 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6151 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6152 // Please see the License for the specific language governing rights and 6153 // limitations under the License. 6154 // 6155 // @APPLE_LICENSE_HEADER_END@ 6156 6157 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 6158 // 6159 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6160 // 6161 // This file contains Original Code and/or Modifications of Original Code 6162 // as defined in and that are subject to the Apple Public Source License 6163 // Version 2.0 (the 'License'). You may not use this file except in 6164 // compliance with the License. The rights granted to you under the License 6165 // may not be used to create, or enable the creation or redistribution of, 6166 // unlawful or unlicensed copies of an Apple operating system, or to 6167 // circumvent, violate, or enable the circumvention or violation of, any 6168 // terms of an Apple operating system software license agreement. 6169 // 6170 // Please obtain a copy of the License at 6171 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6172 // 6173 // The Original Code and all software distributed under the License are 6174 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6175 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6176 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6177 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6178 // Please see the License for the specific language governing rights and 6179 // limitations under the License. 6180 // 6181 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6182 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6183 // Copyright (c) 1991, 1993 6184 // The Regents of the University of California. All rights reserved. 6185 // 6186 // This code is derived from software contributed to Berkeley by 6187 // Berkeley Software Design, Inc. 6188 // 6189 // Redistribution and use in source and binary forms, with or without 6190 // modification, are permitted provided that the following conditions 6191 // are met: 6192 // 1. Redistributions of source code must retain the above copyright 6193 // notice, this list of conditions and the following disclaimer. 6194 // 2. Redistributions in binary form must reproduce the above copyright 6195 // notice, this list of conditions and the following disclaimer in the 6196 // documentation and/or other materials provided with the distribution. 6197 // 3. All advertising materials mentioning features or use of this software 6198 // must display the following acknowledgement: 6199 // This product includes software developed by the University of 6200 // California, Berkeley and its contributors. 6201 // 4. Neither the name of the University nor the names of its contributors 6202 // may be used to endorse or promote products derived from this software 6203 // without specific prior written permission. 6204 // 6205 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 6206 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 6207 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 6208 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 6209 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 6210 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 6211 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 6212 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 6213 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 6214 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 6215 // SUCH DAMAGE. 6216 // 6217 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 6218 6219 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 6220 // 6221 // @APPLE_LICENSE_HEADER_START@ 6222 // 6223 // This file contains Original Code and/or Modifications of Original Code 6224 // as defined in and that are subject to the Apple Public Source License 6225 // Version 2.0 (the 'License'). You may not use this file except in 6226 // compliance with the License. Please obtain a copy of the License at 6227 // http://www.opensource.apple.com/apsl/ and read it before using this 6228 // 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_LICENSE_HEADER_END@ 6239 6240 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6241 // 6242 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6243 // 6244 // This file contains Original Code and/or Modifications of Original Code 6245 // as defined in and that are subject to the Apple Public Source License 6246 // Version 2.0 (the 'License'). You may not use this file except in 6247 // compliance with the License. The rights granted to you under the License 6248 // may not be used to create, or enable the creation or redistribution of, 6249 // unlawful or unlicensed copies of an Apple operating system, or to 6250 // circumvent, violate, or enable the circumvention or violation of, any 6251 // terms of an Apple operating system software license agreement. 6252 // 6253 // Please obtain a copy of the License at 6254 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6255 // 6256 // The Original Code and all software distributed under the License are 6257 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6258 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6259 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6260 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6261 // Please see the License for the specific language governing rights and 6262 // limitations under the License. 6263 // 6264 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6265 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6266 // 6267 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6268 // 6269 // This file contains Original Code and/or Modifications of Original Code 6270 // as defined in and that are subject to the Apple Public Source License 6271 // Version 2.0 (the 'License'). You may not use this file except in 6272 // compliance with the License. The rights granted to you under the License 6273 // may not be used to create, or enable the creation or redistribution of, 6274 // unlawful or unlicensed copies of an Apple operating system, or to 6275 // circumvent, violate, or enable the circumvention or violation of, any 6276 // terms of an Apple operating system software license agreement. 6277 // 6278 // Please obtain a copy of the License at 6279 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6280 // 6281 // The Original Code and all software distributed under the License are 6282 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6283 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6284 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6285 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6286 // Please see the License for the specific language governing rights and 6287 // limitations under the License. 6288 // 6289 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6290 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6291 // 6292 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6293 // 6294 // This file contains Original Code and/or Modifications of Original Code 6295 // as defined in and that are subject to the Apple Public Source License 6296 // Version 2.0 (the 'License'). You may not use this file except in 6297 // compliance with the License. The rights granted to you under the License 6298 // may not be used to create, or enable the creation or redistribution of, 6299 // unlawful or unlicensed copies of an Apple operating system, or to 6300 // circumvent, violate, or enable the circumvention or violation of, any 6301 // terms of an Apple operating system software license agreement. 6302 // 6303 // Please obtain a copy of the License at 6304 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6305 // 6306 // The Original Code and all software distributed under the License are 6307 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6308 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6309 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6310 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6311 // Please see the License for the specific language governing rights and 6312 // limitations under the License. 6313 // 6314 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6315 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6316 // 6317 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6318 // 6319 // This file contains Original Code and/or Modifications of Original Code 6320 // as defined in and that are subject to the Apple Public Source License 6321 // Version 2.0 (the 'License'). You may not use this file except in 6322 // compliance with the License. The rights granted to you under the License 6323 // may not be used to create, or enable the creation or redistribution of, 6324 // unlawful or unlicensed copies of an Apple operating system, or to 6325 // circumvent, violate, or enable the circumvention or violation of, any 6326 // terms of an Apple operating system software license agreement. 6327 // 6328 // Please obtain a copy of the License at 6329 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6330 // 6331 // The Original Code and all software distributed under the License are 6332 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6333 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6334 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6335 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6336 // Please see the License for the specific language governing rights and 6337 // limitations under the License. 6338 // 6339 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6340 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6341 // 6342 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6343 // 6344 // This file contains Original Code and/or Modifications of Original Code 6345 // as defined in and that are subject to the Apple Public Source License 6346 // Version 2.0 (the 'License'). You may not use this file except in 6347 // compliance with the License. The rights granted to you under the License 6348 // may not be used to create, or enable the creation or redistribution of, 6349 // unlawful or unlicensed copies of an Apple operating system, or to 6350 // circumvent, violate, or enable the circumvention or violation of, any 6351 // terms of an Apple operating system software license agreement. 6352 // 6353 // Please obtain a copy of the License at 6354 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6355 // 6356 // The Original Code and all software distributed under the License are 6357 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6358 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6359 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6360 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6361 // Please see the License for the specific language governing rights and 6362 // limitations under the License. 6363 // 6364 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6365 6366 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 6367 // 6368 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6369 // 6370 // This file contains Original Code and/or Modifications of Original Code 6371 // as defined in and that are subject to the Apple Public Source License 6372 // Version 2.0 (the 'License'). You may not use this file except in 6373 // compliance with the License. The rights granted to you under the License 6374 // may not be used to create, or enable the creation or redistribution of, 6375 // unlawful or unlicensed copies of an Apple operating system, or to 6376 // circumvent, violate, or enable the circumvention or violation of, any 6377 // terms of an Apple operating system software license agreement. 6378 // 6379 // Please obtain a copy of the License at 6380 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6381 // 6382 // The Original Code and all software distributed under the License are 6383 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6384 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6385 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6386 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6387 // Please see the License for the specific language governing rights and 6388 // limitations under the License. 6389 // 6390 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6391 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6392 6393 type timespec = struct { 6394 Ftv_sec int64 6395 Ftv_nsec int64 6396 } /* _timespec.h:33:1 */ 6397 6398 type tm = struct { 6399 Ftm_sec int32 6400 Ftm_min int32 6401 Ftm_hour int32 6402 Ftm_mday int32 6403 Ftm_mon int32 6404 Ftm_year int32 6405 Ftm_wday int32 6406 Ftm_yday int32 6407 Ftm_isdst int32 6408 F__ccgo_pad1 [4]byte 6409 Ftm_gmtoff int64 6410 Ftm_zone uintptr 6411 } /* time.h:75:1 */ 6412 6413 type clockid_t = uint32 /* time.h:172:3 */ 6414 type qos_class_t = uint32 /* qos.h:130:1 */ 6415 6416 // ! 6417 // @typedef pthread_override_t 6418 // 6419 // @abstract 6420 // An opaque object representing a QOS class override of a thread. 6421 // 6422 // @discussion 6423 // A QOS class override of a target thread expresses that an item of pending 6424 // work classified with a specific QOS class and relative priority depends on 6425 // the completion of the work currently being executed by the thread (e.g. due 6426 // to ordering requirements). 6427 // 6428 // While overrides are in effect, the target thread will execute at the maximum 6429 // QOS class and relative priority of all overrides and of the QOS class 6430 // requested by the thread itself. 6431 // 6432 // A QOS class override does not modify the target thread's requested QOS class 6433 // value and the effect of an override is not visible to the qos_class_self() 6434 // and pthread_get_qos_class_np() interfaces. 6435 6436 type pthread_override_t = uintptr /* qos.h:211:34 */ 6437 6438 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6439 // 6440 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6441 // 6442 // This file contains Original Code and/or Modifications of Original Code 6443 // as defined in and that are subject to the Apple Public Source License 6444 // Version 2.0 (the 'License'). You may not use this file except in 6445 // compliance with the License. The rights granted to you under the License 6446 // may not be used to create, or enable the creation or redistribution of, 6447 // unlawful or unlicensed copies of an Apple operating system, or to 6448 // circumvent, violate, or enable the circumvention or violation of, any 6449 // terms of an Apple operating system software license agreement. 6450 // 6451 // Please obtain a copy of the License at 6452 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6453 // 6454 // The Original Code and all software distributed under the License are 6455 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6456 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6457 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6458 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6459 // Please see the License for the specific language governing rights and 6460 // limitations under the License. 6461 // 6462 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6463 6464 // mach_port_t - a named port right 6465 // 6466 // In user-space, "rights" are represented by the name of the 6467 // right in the Mach port namespace. Even so, this type is 6468 // presented as a unique one to more clearly denote the presence 6469 // of a right coming along with the name. 6470 // 6471 // Often, various rights for a port held in a single name space 6472 // will coalesce and are, therefore, be identified by a single name 6473 // [this is the case for send and receive rights]. But not 6474 // always [send-once rights currently get a unique name for 6475 // each right]. 6476 // 6477 // This definition of mach_port_t is only for user-space. 6478 // 6479 6480 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6481 // 6482 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6483 // 6484 // This file contains Original Code and/or Modifications of Original Code 6485 // as defined in and that are subject to the Apple Public Source License 6486 // Version 2.0 (the 'License'). You may not use this file except in 6487 // compliance with the License. The rights granted to you under the License 6488 // may not be used to create, or enable the creation or redistribution of, 6489 // unlawful or unlicensed copies of an Apple operating system, or to 6490 // circumvent, violate, or enable the circumvention or violation of, any 6491 // terms of an Apple operating system software license agreement. 6492 // 6493 // Please obtain a copy of the License at 6494 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6495 // 6496 // The Original Code and all software distributed under the License are 6497 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6498 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6499 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6500 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6501 // Please see the License for the specific language governing rights and 6502 // limitations under the License. 6503 // 6504 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6505 6506 type mach_port_t = uint32 /* _mach_port_t.h:50:30 */ 6507 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6508 // 6509 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6510 // 6511 // This file contains Original Code and/or Modifications of Original Code 6512 // as defined in and that are subject to the Apple Public Source License 6513 // Version 2.0 (the 'License'). You may not use this file except in 6514 // compliance with the License. The rights granted to you under the License 6515 // may not be used to create, or enable the creation or redistribution of, 6516 // unlawful or unlicensed copies of an Apple operating system, or to 6517 // circumvent, violate, or enable the circumvention or violation of, any 6518 // terms of an Apple operating system software license agreement. 6519 // 6520 // Please obtain a copy of the License at 6521 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6522 // 6523 // The Original Code and all software distributed under the License are 6524 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6525 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6526 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6527 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6528 // Please see the License for the specific language governing rights and 6529 // limitations under the License. 6530 // 6531 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6532 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6533 // 6534 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6535 // 6536 // This file contains Original Code and/or Modifications of Original Code 6537 // as defined in and that are subject to the Apple Public Source License 6538 // Version 2.0 (the 'License'). You may not use this file except in 6539 // compliance with the License. The rights granted to you under the License 6540 // may not be used to create, or enable the creation or redistribution of, 6541 // unlawful or unlicensed copies of an Apple operating system, or to 6542 // circumvent, violate, or enable the circumvention or violation of, any 6543 // terms of an Apple operating system software license agreement. 6544 // 6545 // Please obtain a copy of the License at 6546 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6547 // 6548 // The Original Code and all software distributed under the License are 6549 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6550 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6551 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6552 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6553 // Please see the License for the specific language governing rights and 6554 // limitations under the License. 6555 // 6556 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6557 6558 type sigset_t = uint32 /* _sigset_t.h:31:41 */ 6559 6560 // ! 6561 // @typedef pthread_jit_write_callback_t 6562 // The type of a function that can be supplied to {@link 6563 // pthread_jit_write_with_callback_np} to write to the MAP_JIT region while it 6564 // is writeable. 6565 // 6566 // @param ctx 6567 // A pointer to context that will be passed through to the callback function. 6568 // 6569 // @result 6570 // A result code to be returned to the caller of @{link 6571 // pthread_jit_write_with_callback_np}. The system does not interpret/act on 6572 // the value of this result. 6573 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. 6574 6575 // Other types 6576 6577 // * 6578 // @brief Generic iterator. 6579 // 6580 // A generic iterator structure. 6581 type xcb_generic_iterator_t = struct { 6582 Fdata uintptr 6583 Frem int32 6584 Findex int32 6585 } /* xcb.h:118:3 */ 6586 6587 // * 6588 // @brief Generic reply. 6589 // 6590 // A generic reply structure. 6591 type xcb_generic_reply_t = struct { 6592 Fresponse_type uint8_t 6593 Fpad0 uint8_t 6594 Fsequence uint16_t 6595 Flength uint32_t 6596 } /* xcb.h:130:3 */ 6597 6598 // * 6599 // @brief Generic event. 6600 // 6601 // A generic event structure. 6602 type xcb_generic_event_t = struct { 6603 Fresponse_type uint8_t 6604 Fpad0 uint8_t 6605 Fsequence uint16_t 6606 Fpad [7]uint32_t 6607 Ffull_sequence uint32_t 6608 } /* xcb.h:143:3 */ 6609 6610 // * 6611 // @brief Raw Generic event. 6612 // 6613 // A generic event structure as used on the wire, i.e., without the full_sequence field 6614 type xcb_raw_generic_event_t = struct { 6615 Fresponse_type uint8_t 6616 Fpad0 uint8_t 6617 Fsequence uint16_t 6618 Fpad [7]uint32_t 6619 } /* xcb.h:155:3 */ 6620 6621 // * 6622 // @brief GE event 6623 // 6624 // An event as sent by the XGE extension. The length field specifies the 6625 // number of 4-byte blocks trailing the struct. 6626 // 6627 // @deprecated Since some fields in this struct have unfortunate names, it is 6628 // recommended to use xcb_ge_generic_event_t instead. 6629 type xcb_ge_event_t = struct { 6630 Fresponse_type uint8_t 6631 Fpad0 uint8_t 6632 Fsequence uint16_t 6633 Flength uint32_t 6634 Fevent_type uint16_t 6635 Fpad1 uint16_t 6636 Fpad [5]uint32_t 6637 Ffull_sequence uint32_t 6638 } /* xcb.h:175:3 */ 6639 6640 // * 6641 // @brief Generic error. 6642 // 6643 // A generic error structure. 6644 type xcb_generic_error_t = struct { 6645 Fresponse_type uint8_t 6646 Ferror_code uint8_t 6647 Fsequence uint16_t 6648 Fresource_id uint32_t 6649 Fminor_code uint16_t 6650 Fmajor_code uint8_t 6651 Fpad0 uint8_t 6652 Fpad [5]uint32_t 6653 Ffull_sequence uint32_t 6654 } /* xcb.h:192:3 */ 6655 6656 // * 6657 // @brief Generic cookie. 6658 // 6659 // A generic cookie structure. 6660 type xcb_void_cookie_t = struct{ Fsequence uint32 } /* xcb.h:201:3 */ 6661 6662 // Include the generated xproto header. 6663 // This file generated automatically from xproto.xml by c_client.py. 6664 // Edit at your peril. 6665 6666 // * 6667 // @defgroup XCB__API XCB API 6668 // @brief XCB Protocol Implementation. 6669 // @{ 6670 // 6671 6672 // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. 6673 // All Rights Reserved. 6674 // 6675 // Permission is hereby granted, free of charge, to any person obtaining a 6676 // copy of this software and associated documentation files (the "Software"), 6677 // to deal in the Software without restriction, including without limitation 6678 // the rights to use, copy, modify, merge, publish, distribute, sublicense, 6679 // and/or sell copies of the Software, and to permit persons to whom the 6680 // Software is furnished to do so, subject to the following conditions: 6681 // 6682 // The above copyright notice and this permission notice shall be included in 6683 // all copies or substantial portions of the Software. 6684 // 6685 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 6686 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 6687 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 6688 // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 6689 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 6690 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 6691 // 6692 // Except as contained in this notice, the names of the authors or their 6693 // institutions shall not be used in advertising or otherwise to promote the 6694 // sale, use or other dealings in this Software without prior written 6695 // authorization from the authors. 6696 6697 // * 6698 // @brief xcb_char2b_t 6699 // 6700 type xcb_char2b_t1 = struct { 6701 Fbyte1 uint8_t 6702 Fbyte2 uint8_t 6703 } /* xproto.h:24:9 */ 6704 6705 // Include the generated xproto header. 6706 // This file generated automatically from xproto.xml by c_client.py. 6707 // Edit at your peril. 6708 6709 // * 6710 // @defgroup XCB__API XCB API 6711 // @brief XCB Protocol Implementation. 6712 // @{ 6713 // 6714 6715 // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. 6716 // All Rights Reserved. 6717 // 6718 // Permission is hereby granted, free of charge, to any person obtaining a 6719 // copy of this software and associated documentation files (the "Software"), 6720 // to deal in the Software without restriction, including without limitation 6721 // the rights to use, copy, modify, merge, publish, distribute, sublicense, 6722 // and/or sell copies of the Software, and to permit persons to whom the 6723 // Software is furnished to do so, subject to the following conditions: 6724 // 6725 // The above copyright notice and this permission notice shall be included in 6726 // all copies or substantial portions of the Software. 6727 // 6728 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 6729 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 6730 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 6731 // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 6732 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 6733 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 6734 // 6735 // Except as contained in this notice, the names of the authors or their 6736 // institutions shall not be used in advertising or otherwise to promote the 6737 // sale, use or other dealings in this Software without prior written 6738 // authorization from the authors. 6739 6740 // * 6741 // @brief xcb_char2b_t 6742 // 6743 type xcb_char2b_t = xcb_char2b_t1 /* xproto.h:27:3 */ 6744 6745 // * 6746 // @brief xcb_char2b_iterator_t 6747 // 6748 type xcb_char2b_iterator_t1 = struct { 6749 Fdata uintptr 6750 Frem int32 6751 Findex int32 6752 } /* xproto.h:32:9 */ 6753 6754 // * 6755 // @brief xcb_char2b_iterator_t 6756 // 6757 type xcb_char2b_iterator_t = xcb_char2b_iterator_t1 /* xproto.h:36:3 */ 6758 6759 type xcb_window_t = uint32_t /* xproto.h:38:18 */ 6760 6761 // * 6762 // @brief xcb_window_iterator_t 6763 // 6764 type xcb_window_iterator_t1 = struct { 6765 Fdata uintptr 6766 Frem int32 6767 Findex int32 6768 } /* xproto.h:43:9 */ 6769 6770 // * 6771 // @brief xcb_window_iterator_t 6772 // 6773 type xcb_window_iterator_t = xcb_window_iterator_t1 /* xproto.h:47:3 */ 6774 6775 type xcb_pixmap_t = uint32_t /* xproto.h:49:18 */ 6776 6777 // * 6778 // @brief xcb_pixmap_iterator_t 6779 // 6780 type xcb_pixmap_iterator_t1 = struct { 6781 Fdata uintptr 6782 Frem int32 6783 Findex int32 6784 } /* xproto.h:54:9 */ 6785 6786 // * 6787 // @brief xcb_pixmap_iterator_t 6788 // 6789 type xcb_pixmap_iterator_t = xcb_pixmap_iterator_t1 /* xproto.h:58:3 */ 6790 6791 type xcb_cursor_t = uint32_t /* xproto.h:60:18 */ 6792 6793 // * 6794 // @brief xcb_cursor_iterator_t 6795 // 6796 type xcb_cursor_iterator_t1 = struct { 6797 Fdata uintptr 6798 Frem int32 6799 Findex int32 6800 } /* xproto.h:65:9 */ 6801 6802 // * 6803 // @brief xcb_cursor_iterator_t 6804 // 6805 type xcb_cursor_iterator_t = xcb_cursor_iterator_t1 /* xproto.h:69:3 */ 6806 6807 type xcb_font_t = uint32_t /* xproto.h:71:18 */ 6808 6809 // * 6810 // @brief xcb_font_iterator_t 6811 // 6812 type xcb_font_iterator_t1 = struct { 6813 Fdata uintptr 6814 Frem int32 6815 Findex int32 6816 } /* xproto.h:76:9 */ 6817 6818 // * 6819 // @brief xcb_font_iterator_t 6820 // 6821 type xcb_font_iterator_t = xcb_font_iterator_t1 /* xproto.h:80:3 */ 6822 6823 type xcb_gcontext_t = uint32_t /* xproto.h:82:18 */ 6824 6825 // * 6826 // @brief xcb_gcontext_iterator_t 6827 // 6828 type xcb_gcontext_iterator_t1 = struct { 6829 Fdata uintptr 6830 Frem int32 6831 Findex int32 6832 } /* xproto.h:87:9 */ 6833 6834 // * 6835 // @brief xcb_gcontext_iterator_t 6836 // 6837 type xcb_gcontext_iterator_t = xcb_gcontext_iterator_t1 /* xproto.h:91:3 */ 6838 6839 type xcb_colormap_t = uint32_t /* xproto.h:93:18 */ 6840 6841 // * 6842 // @brief xcb_colormap_iterator_t 6843 // 6844 type xcb_colormap_iterator_t1 = struct { 6845 Fdata uintptr 6846 Frem int32 6847 Findex int32 6848 } /* xproto.h:98:9 */ 6849 6850 // * 6851 // @brief xcb_colormap_iterator_t 6852 // 6853 type xcb_colormap_iterator_t = xcb_colormap_iterator_t1 /* xproto.h:102:3 */ 6854 6855 type xcb_atom_t = uint32_t /* xproto.h:104:18 */ 6856 6857 // * 6858 // @brief xcb_atom_iterator_t 6859 // 6860 type xcb_atom_iterator_t1 = struct { 6861 Fdata uintptr 6862 Frem int32 6863 Findex int32 6864 } /* xproto.h:109:9 */ 6865 6866 // * 6867 // @brief xcb_atom_iterator_t 6868 // 6869 type xcb_atom_iterator_t = xcb_atom_iterator_t1 /* xproto.h:113:3 */ 6870 6871 type xcb_drawable_t = uint32_t /* xproto.h:115:18 */ 6872 6873 // * 6874 // @brief xcb_drawable_iterator_t 6875 // 6876 type xcb_drawable_iterator_t1 = struct { 6877 Fdata uintptr 6878 Frem int32 6879 Findex int32 6880 } /* xproto.h:120:9 */ 6881 6882 // * 6883 // @brief xcb_drawable_iterator_t 6884 // 6885 type xcb_drawable_iterator_t = xcb_drawable_iterator_t1 /* xproto.h:124:3 */ 6886 6887 type xcb_fontable_t = uint32_t /* xproto.h:126:18 */ 6888 6889 // * 6890 // @brief xcb_fontable_iterator_t 6891 // 6892 type xcb_fontable_iterator_t1 = struct { 6893 Fdata uintptr 6894 Frem int32 6895 Findex int32 6896 } /* xproto.h:131:9 */ 6897 6898 // * 6899 // @brief xcb_fontable_iterator_t 6900 // 6901 type xcb_fontable_iterator_t = xcb_fontable_iterator_t1 /* xproto.h:135:3 */ 6902 6903 type xcb_bool32_t = uint32_t /* xproto.h:137:18 */ 6904 6905 // * 6906 // @brief xcb_bool32_iterator_t 6907 // 6908 type xcb_bool32_iterator_t1 = struct { 6909 Fdata uintptr 6910 Frem int32 6911 Findex int32 6912 } /* xproto.h:142:9 */ 6913 6914 // * 6915 // @brief xcb_bool32_iterator_t 6916 // 6917 type xcb_bool32_iterator_t = xcb_bool32_iterator_t1 /* xproto.h:146:3 */ 6918 6919 type xcb_visualid_t = uint32_t /* xproto.h:148:18 */ 6920 6921 // * 6922 // @brief xcb_visualid_iterator_t 6923 // 6924 type xcb_visualid_iterator_t1 = struct { 6925 Fdata uintptr 6926 Frem int32 6927 Findex int32 6928 } /* xproto.h:153:9 */ 6929 6930 // * 6931 // @brief xcb_visualid_iterator_t 6932 // 6933 type xcb_visualid_iterator_t = xcb_visualid_iterator_t1 /* xproto.h:157:3 */ 6934 6935 type xcb_timestamp_t = uint32_t /* xproto.h:159:18 */ 6936 6937 // * 6938 // @brief xcb_timestamp_iterator_t 6939 // 6940 type xcb_timestamp_iterator_t1 = struct { 6941 Fdata uintptr 6942 Frem int32 6943 Findex int32 6944 } /* xproto.h:164:9 */ 6945 6946 // * 6947 // @brief xcb_timestamp_iterator_t 6948 // 6949 type xcb_timestamp_iterator_t = xcb_timestamp_iterator_t1 /* xproto.h:168:3 */ 6950 6951 type xcb_keysym_t = uint32_t /* xproto.h:170:18 */ 6952 6953 // * 6954 // @brief xcb_keysym_iterator_t 6955 // 6956 type xcb_keysym_iterator_t1 = struct { 6957 Fdata uintptr 6958 Frem int32 6959 Findex int32 6960 } /* xproto.h:175:9 */ 6961 6962 // * 6963 // @brief xcb_keysym_iterator_t 6964 // 6965 type xcb_keysym_iterator_t = xcb_keysym_iterator_t1 /* xproto.h:179:3 */ 6966 6967 type xcb_keycode_t = uint8_t /* xproto.h:181:17 */ 6968 6969 // * 6970 // @brief xcb_keycode_iterator_t 6971 // 6972 type xcb_keycode_iterator_t1 = struct { 6973 Fdata uintptr 6974 Frem int32 6975 Findex int32 6976 } /* xproto.h:186:9 */ 6977 6978 // * 6979 // @brief xcb_keycode_iterator_t 6980 // 6981 type xcb_keycode_iterator_t = xcb_keycode_iterator_t1 /* xproto.h:190:3 */ 6982 6983 type xcb_keycode32_t = uint32_t /* xproto.h:192:18 */ 6984 6985 // * 6986 // @brief xcb_keycode32_iterator_t 6987 // 6988 type xcb_keycode32_iterator_t1 = struct { 6989 Fdata uintptr 6990 Frem int32 6991 Findex int32 6992 } /* xproto.h:197:9 */ 6993 6994 // * 6995 // @brief xcb_keycode32_iterator_t 6996 // 6997 type xcb_keycode32_iterator_t = xcb_keycode32_iterator_t1 /* xproto.h:201:3 */ 6998 6999 type xcb_button_t = uint8_t /* xproto.h:203:17 */ 7000 7001 // * 7002 // @brief xcb_button_iterator_t 7003 // 7004 type xcb_button_iterator_t1 = struct { 7005 Fdata uintptr 7006 Frem int32 7007 Findex int32 7008 } /* xproto.h:208:9 */ 7009 7010 // * 7011 // @brief xcb_button_iterator_t 7012 // 7013 type xcb_button_iterator_t = xcb_button_iterator_t1 /* xproto.h:212:3 */ 7014 7015 // * 7016 // @brief xcb_point_t 7017 // 7018 type xcb_point_t1 = struct { 7019 Fx int16_t 7020 Fy int16_t 7021 } /* xproto.h:217:9 */ 7022 7023 // * 7024 // @brief xcb_point_t 7025 // 7026 type xcb_point_t = xcb_point_t1 /* xproto.h:220:3 */ 7027 7028 // * 7029 // @brief xcb_point_iterator_t 7030 // 7031 type xcb_point_iterator_t1 = struct { 7032 Fdata uintptr 7033 Frem int32 7034 Findex int32 7035 } /* xproto.h:225:9 */ 7036 7037 // * 7038 // @brief xcb_point_iterator_t 7039 // 7040 type xcb_point_iterator_t = xcb_point_iterator_t1 /* xproto.h:229:3 */ 7041 7042 // * 7043 // @brief xcb_rectangle_t 7044 // 7045 type xcb_rectangle_t1 = struct { 7046 Fx int16_t 7047 Fy int16_t 7048 Fwidth uint16_t 7049 Fheight uint16_t 7050 } /* xproto.h:234:9 */ 7051 7052 // * 7053 // @brief xcb_rectangle_t 7054 // 7055 type xcb_rectangle_t = xcb_rectangle_t1 /* xproto.h:239:3 */ 7056 7057 // * 7058 // @brief xcb_rectangle_iterator_t 7059 // 7060 type xcb_rectangle_iterator_t1 = struct { 7061 Fdata uintptr 7062 Frem int32 7063 Findex int32 7064 } /* xproto.h:244:9 */ 7065 7066 // * 7067 // @brief xcb_rectangle_iterator_t 7068 // 7069 type xcb_rectangle_iterator_t = xcb_rectangle_iterator_t1 /* xproto.h:248:3 */ 7070 7071 // * 7072 // @brief xcb_arc_t 7073 // 7074 type xcb_arc_t1 = struct { 7075 Fx int16_t 7076 Fy int16_t 7077 Fwidth uint16_t 7078 Fheight uint16_t 7079 Fangle1 int16_t 7080 Fangle2 int16_t 7081 } /* xproto.h:253:9 */ 7082 7083 // * 7084 // @brief xcb_arc_t 7085 // 7086 type xcb_arc_t = xcb_arc_t1 /* xproto.h:260:3 */ 7087 7088 // * 7089 // @brief xcb_arc_iterator_t 7090 // 7091 type xcb_arc_iterator_t1 = struct { 7092 Fdata uintptr 7093 Frem int32 7094 Findex int32 7095 } /* xproto.h:265:9 */ 7096 7097 // * 7098 // @brief xcb_arc_iterator_t 7099 // 7100 type xcb_arc_iterator_t = xcb_arc_iterator_t1 /* xproto.h:269:3 */ 7101 7102 // * 7103 // @brief xcb_format_t 7104 // 7105 type xcb_format_t1 = struct { 7106 Fdepth uint8_t 7107 Fbits_per_pixel uint8_t 7108 Fscanline_pad uint8_t 7109 Fpad0 [5]uint8_t 7110 } /* xproto.h:274:9 */ 7111 7112 // * 7113 // @brief xcb_format_t 7114 // 7115 type xcb_format_t = xcb_format_t1 /* xproto.h:279:3 */ 7116 7117 // * 7118 // @brief xcb_format_iterator_t 7119 // 7120 type xcb_format_iterator_t1 = struct { 7121 Fdata uintptr 7122 Frem int32 7123 Findex int32 7124 } /* xproto.h:284:9 */ 7125 7126 // * 7127 // @brief xcb_format_iterator_t 7128 // 7129 type xcb_format_iterator_t = xcb_format_iterator_t1 /* xproto.h:288:3 */ 7130 7131 type xcb_visual_class_t = uint32 /* xproto.h:297:3 */ 7132 7133 // * 7134 // @brief xcb_visualtype_t 7135 // 7136 type xcb_visualtype_t1 = struct { 7137 Fvisual_id xcb_visualid_t 7138 F_class uint8_t 7139 Fbits_per_rgb_value uint8_t 7140 Fcolormap_entries uint16_t 7141 Fred_mask uint32_t 7142 Fgreen_mask uint32_t 7143 Fblue_mask uint32_t 7144 Fpad0 [4]uint8_t 7145 } /* xproto.h:302:9 */ 7146 7147 // * 7148 // @brief xcb_visualtype_t 7149 // 7150 type xcb_visualtype_t = xcb_visualtype_t1 /* xproto.h:311:3 */ 7151 7152 // * 7153 // @brief xcb_visualtype_iterator_t 7154 // 7155 type xcb_visualtype_iterator_t1 = struct { 7156 Fdata uintptr 7157 Frem int32 7158 Findex int32 7159 } /* xproto.h:316:9 */ 7160 7161 // * 7162 // @brief xcb_visualtype_iterator_t 7163 // 7164 type xcb_visualtype_iterator_t = xcb_visualtype_iterator_t1 /* xproto.h:320:3 */ 7165 7166 // * 7167 // @brief xcb_depth_t 7168 // 7169 type xcb_depth_t1 = struct { 7170 Fdepth uint8_t 7171 Fpad0 uint8_t 7172 Fvisuals_len uint16_t 7173 Fpad1 [4]uint8_t 7174 } /* xproto.h:325:9 */ 7175 7176 // * 7177 // @brief xcb_depth_t 7178 // 7179 type xcb_depth_t = xcb_depth_t1 /* xproto.h:330:3 */ 7180 7181 // * 7182 // @brief xcb_depth_iterator_t 7183 // 7184 type xcb_depth_iterator_t1 = struct { 7185 Fdata uintptr 7186 Frem int32 7187 Findex int32 7188 } /* xproto.h:335:9 */ 7189 7190 // * 7191 // @brief xcb_depth_iterator_t 7192 // 7193 type xcb_depth_iterator_t = xcb_depth_iterator_t1 /* xproto.h:339:3 */ 7194 7195 type xcb_event_mask_t = uint32 /* xproto.h:368:3 */ 7196 7197 type xcb_backing_store_t = uint32 /* xproto.h:374:3 */ 7198 7199 // * 7200 // @brief xcb_screen_t 7201 // 7202 type xcb_screen_t1 = struct { 7203 Froot xcb_window_t 7204 Fdefault_colormap xcb_colormap_t 7205 Fwhite_pixel uint32_t 7206 Fblack_pixel uint32_t 7207 Fcurrent_input_masks uint32_t 7208 Fwidth_in_pixels uint16_t 7209 Fheight_in_pixels uint16_t 7210 Fwidth_in_millimeters uint16_t 7211 Fheight_in_millimeters uint16_t 7212 Fmin_installed_maps uint16_t 7213 Fmax_installed_maps uint16_t 7214 Froot_visual xcb_visualid_t 7215 Fbacking_stores uint8_t 7216 Fsave_unders uint8_t 7217 Froot_depth uint8_t 7218 Fallowed_depths_len uint8_t 7219 } /* xproto.h:379:9 */ 7220 7221 // * 7222 // @brief xcb_screen_t 7223 // 7224 type xcb_screen_t = xcb_screen_t1 /* xproto.h:396:3 */ 7225 7226 // * 7227 // @brief xcb_screen_iterator_t 7228 // 7229 type xcb_screen_iterator_t1 = struct { 7230 Fdata uintptr 7231 Frem int32 7232 Findex int32 7233 } /* xproto.h:401:9 */ 7234 7235 // * 7236 // @brief xcb_screen_iterator_t 7237 // 7238 type xcb_screen_iterator_t = xcb_screen_iterator_t1 /* xproto.h:405:3 */ 7239 7240 // * 7241 // @brief xcb_setup_request_t 7242 // 7243 type xcb_setup_request_t1 = struct { 7244 Fbyte_order uint8_t 7245 Fpad0 uint8_t 7246 Fprotocol_major_version uint16_t 7247 Fprotocol_minor_version uint16_t 7248 Fauthorization_protocol_name_len uint16_t 7249 Fauthorization_protocol_data_len uint16_t 7250 Fpad1 [2]uint8_t 7251 } /* xproto.h:410:9 */ 7252 7253 // * 7254 // @brief xcb_setup_request_t 7255 // 7256 type xcb_setup_request_t = xcb_setup_request_t1 /* xproto.h:418:3 */ 7257 7258 // * 7259 // @brief xcb_setup_request_iterator_t 7260 // 7261 type xcb_setup_request_iterator_t1 = struct { 7262 Fdata uintptr 7263 Frem int32 7264 Findex int32 7265 } /* xproto.h:423:9 */ 7266 7267 // * 7268 // @brief xcb_setup_request_iterator_t 7269 // 7270 type xcb_setup_request_iterator_t = xcb_setup_request_iterator_t1 /* xproto.h:427:3 */ 7271 7272 // * 7273 // @brief xcb_setup_failed_t 7274 // 7275 type xcb_setup_failed_t1 = struct { 7276 Fstatus uint8_t 7277 Freason_len uint8_t 7278 Fprotocol_major_version uint16_t 7279 Fprotocol_minor_version uint16_t 7280 Flength uint16_t 7281 } /* xproto.h:432:9 */ 7282 7283 // * 7284 // @brief xcb_setup_failed_t 7285 // 7286 type xcb_setup_failed_t = xcb_setup_failed_t1 /* xproto.h:438:3 */ 7287 7288 // * 7289 // @brief xcb_setup_failed_iterator_t 7290 // 7291 type xcb_setup_failed_iterator_t1 = struct { 7292 Fdata uintptr 7293 Frem int32 7294 Findex int32 7295 } /* xproto.h:443:9 */ 7296 7297 // * 7298 // @brief xcb_setup_failed_iterator_t 7299 // 7300 type xcb_setup_failed_iterator_t = xcb_setup_failed_iterator_t1 /* xproto.h:447:3 */ 7301 7302 // * 7303 // @brief xcb_setup_authenticate_t 7304 // 7305 type xcb_setup_authenticate_t1 = struct { 7306 Fstatus uint8_t 7307 Fpad0 [5]uint8_t 7308 Flength uint16_t 7309 } /* xproto.h:452:9 */ 7310 7311 // * 7312 // @brief xcb_setup_authenticate_t 7313 // 7314 type xcb_setup_authenticate_t = xcb_setup_authenticate_t1 /* xproto.h:456:3 */ 7315 7316 // * 7317 // @brief xcb_setup_authenticate_iterator_t 7318 // 7319 type xcb_setup_authenticate_iterator_t1 = struct { 7320 Fdata uintptr 7321 Frem int32 7322 Findex int32 7323 } /* xproto.h:461:9 */ 7324 7325 // * 7326 // @brief xcb_setup_authenticate_iterator_t 7327 // 7328 type xcb_setup_authenticate_iterator_t = xcb_setup_authenticate_iterator_t1 /* xproto.h:465:3 */ 7329 7330 type xcb_image_order_t = uint32 /* xproto.h:470:3 */ 7331 7332 // * 7333 // @brief xcb_setup_t 7334 // 7335 type xcb_setup_t1 = struct { 7336 Fstatus uint8_t 7337 Fpad0 uint8_t 7338 Fprotocol_major_version uint16_t 7339 Fprotocol_minor_version uint16_t 7340 Flength uint16_t 7341 Frelease_number uint32_t 7342 Fresource_id_base uint32_t 7343 Fresource_id_mask uint32_t 7344 Fmotion_buffer_size uint32_t 7345 Fvendor_len uint16_t 7346 Fmaximum_request_length uint16_t 7347 Froots_len uint8_t 7348 Fpixmap_formats_len uint8_t 7349 Fimage_byte_order uint8_t 7350 Fbitmap_format_bit_order uint8_t 7351 Fbitmap_format_scanline_unit uint8_t 7352 Fbitmap_format_scanline_pad uint8_t 7353 Fmin_keycode xcb_keycode_t 7354 Fmax_keycode xcb_keycode_t 7355 Fpad1 [4]uint8_t 7356 } /* xproto.h:475:9 */ 7357 7358 // * 7359 // @brief xcb_setup_t 7360 // 7361 type xcb_setup_t = xcb_setup_t1 /* xproto.h:496:3 */ 7362 7363 // * 7364 // @brief xcb_setup_iterator_t 7365 // 7366 type xcb_setup_iterator_t1 = struct { 7367 Fdata uintptr 7368 Frem int32 7369 Findex int32 7370 } /* xproto.h:501:9 */ 7371 7372 // * 7373 // @brief xcb_setup_iterator_t 7374 // 7375 type xcb_setup_iterator_t = xcb_setup_iterator_t1 /* xproto.h:505:3 */ 7376 7377 type xcb_mod_mask_t = uint32 /* xproto.h:517:3 */ 7378 7379 type xcb_key_but_mask_t = uint32 /* xproto.h:533:3 */ 7380 7381 type xcb_window_enum_t = uint32 /* xproto.h:537:3 */ 7382 7383 //* Opcode for xcb_key_press. 7384 7385 // * 7386 // @brief xcb_key_press_event_t 7387 // 7388 type xcb_key_press_event_t1 = struct { 7389 Fresponse_type uint8_t 7390 Fdetail xcb_keycode_t 7391 Fsequence uint16_t 7392 Ftime xcb_timestamp_t 7393 Froot xcb_window_t 7394 Fevent xcb_window_t 7395 Fchild xcb_window_t 7396 Froot_x int16_t 7397 Froot_y int16_t 7398 Fevent_x int16_t 7399 Fevent_y int16_t 7400 Fstate uint16_t 7401 Fsame_screen uint8_t 7402 Fpad0 uint8_t 7403 } /* xproto.h:545:9 */ 7404 7405 //* Opcode for xcb_key_press. 7406 7407 // * 7408 // @brief xcb_key_press_event_t 7409 // 7410 type xcb_key_press_event_t = xcb_key_press_event_t1 /* xproto.h:560:3 */ 7411 7412 //* Opcode for xcb_key_release. 7413 7414 type xcb_key_release_event_t = xcb_key_press_event_t /* xproto.h:565:31 */ 7415 7416 type xcb_button_mask_t = uint32 /* xproto.h:574:3 */ 7417 7418 //* Opcode for xcb_button_press. 7419 7420 // * 7421 // @brief xcb_button_press_event_t 7422 // 7423 type xcb_button_press_event_t1 = struct { 7424 Fresponse_type uint8_t 7425 Fdetail xcb_button_t 7426 Fsequence uint16_t 7427 Ftime xcb_timestamp_t 7428 Froot xcb_window_t 7429 Fevent xcb_window_t 7430 Fchild xcb_window_t 7431 Froot_x int16_t 7432 Froot_y int16_t 7433 Fevent_x int16_t 7434 Fevent_y int16_t 7435 Fstate uint16_t 7436 Fsame_screen uint8_t 7437 Fpad0 uint8_t 7438 } /* xproto.h:582:9 */ 7439 7440 //* Opcode for xcb_button_press. 7441 7442 // * 7443 // @brief xcb_button_press_event_t 7444 // 7445 type xcb_button_press_event_t = xcb_button_press_event_t1 /* xproto.h:597:3 */ 7446 7447 //* Opcode for xcb_button_release. 7448 7449 type xcb_button_release_event_t = xcb_button_press_event_t /* xproto.h:602:34 */ 7450 7451 type xcb_motion_t = uint32 /* xproto.h:607:3 */ 7452 7453 //* Opcode for xcb_motion_notify. 7454 7455 // * 7456 // @brief xcb_motion_notify_event_t 7457 // 7458 type xcb_motion_notify_event_t1 = struct { 7459 Fresponse_type uint8_t 7460 Fdetail uint8_t 7461 Fsequence uint16_t 7462 Ftime xcb_timestamp_t 7463 Froot xcb_window_t 7464 Fevent xcb_window_t 7465 Fchild xcb_window_t 7466 Froot_x int16_t 7467 Froot_y int16_t 7468 Fevent_x int16_t 7469 Fevent_y int16_t 7470 Fstate uint16_t 7471 Fsame_screen uint8_t 7472 Fpad0 uint8_t 7473 } /* xproto.h:615:9 */ 7474 7475 //* Opcode for xcb_motion_notify. 7476 7477 // * 7478 // @brief xcb_motion_notify_event_t 7479 // 7480 type xcb_motion_notify_event_t = xcb_motion_notify_event_t1 /* xproto.h:630:3 */ 7481 7482 type xcb_notify_detail_t = uint32 /* xproto.h:641:3 */ 7483 7484 type xcb_notify_mode_t = uint32 /* xproto.h:648:3 */ 7485 7486 //* Opcode for xcb_enter_notify. 7487 7488 // * 7489 // @brief xcb_enter_notify_event_t 7490 // 7491 type xcb_enter_notify_event_t1 = struct { 7492 Fresponse_type uint8_t 7493 Fdetail uint8_t 7494 Fsequence uint16_t 7495 Ftime xcb_timestamp_t 7496 Froot xcb_window_t 7497 Fevent xcb_window_t 7498 Fchild xcb_window_t 7499 Froot_x int16_t 7500 Froot_y int16_t 7501 Fevent_x int16_t 7502 Fevent_y int16_t 7503 Fstate uint16_t 7504 Fmode uint8_t 7505 Fsame_screen_focus uint8_t 7506 } /* xproto.h:656:9 */ 7507 7508 //* Opcode for xcb_enter_notify. 7509 7510 // * 7511 // @brief xcb_enter_notify_event_t 7512 // 7513 type xcb_enter_notify_event_t = xcb_enter_notify_event_t1 /* xproto.h:671:3 */ 7514 7515 //* Opcode for xcb_leave_notify. 7516 7517 type xcb_leave_notify_event_t = xcb_enter_notify_event_t /* xproto.h:676:34 */ 7518 7519 //* Opcode for xcb_focus_in. 7520 7521 // * 7522 // @brief xcb_focus_in_event_t 7523 // 7524 type xcb_focus_in_event_t1 = struct { 7525 Fresponse_type uint8_t 7526 Fdetail uint8_t 7527 Fsequence uint16_t 7528 Fevent xcb_window_t 7529 Fmode uint8_t 7530 Fpad0 [3]uint8_t 7531 } /* xproto.h:684:9 */ 7532 7533 //* Opcode for xcb_focus_in. 7534 7535 // * 7536 // @brief xcb_focus_in_event_t 7537 // 7538 type xcb_focus_in_event_t = xcb_focus_in_event_t1 /* xproto.h:691:3 */ 7539 7540 //* Opcode for xcb_focus_out. 7541 7542 type xcb_focus_out_event_t = xcb_focus_in_event_t /* xproto.h:696:30 */ 7543 7544 //* Opcode for xcb_keymap_notify. 7545 7546 // * 7547 // @brief xcb_keymap_notify_event_t 7548 // 7549 type xcb_keymap_notify_event_t1 = struct { 7550 Fresponse_type uint8_t 7551 Fkeys [31]uint8_t 7552 } /* xproto.h:704:9 */ 7553 7554 //* Opcode for xcb_keymap_notify. 7555 7556 // * 7557 // @brief xcb_keymap_notify_event_t 7558 // 7559 type xcb_keymap_notify_event_t = xcb_keymap_notify_event_t1 /* xproto.h:707:3 */ 7560 7561 //* Opcode for xcb_expose. 7562 7563 // * 7564 // @brief xcb_expose_event_t 7565 // 7566 type xcb_expose_event_t1 = struct { 7567 Fresponse_type uint8_t 7568 Fpad0 uint8_t 7569 Fsequence uint16_t 7570 Fwindow xcb_window_t 7571 Fx uint16_t 7572 Fy uint16_t 7573 Fwidth uint16_t 7574 Fheight uint16_t 7575 Fcount uint16_t 7576 Fpad1 [2]uint8_t 7577 } /* xproto.h:715:9 */ 7578 7579 //* Opcode for xcb_expose. 7580 7581 // * 7582 // @brief xcb_expose_event_t 7583 // 7584 type xcb_expose_event_t = xcb_expose_event_t1 /* xproto.h:726:3 */ 7585 7586 //* Opcode for xcb_graphics_exposure. 7587 7588 // * 7589 // @brief xcb_graphics_exposure_event_t 7590 // 7591 type xcb_graphics_exposure_event_t1 = struct { 7592 Fresponse_type uint8_t 7593 Fpad0 uint8_t 7594 Fsequence uint16_t 7595 Fdrawable xcb_drawable_t 7596 Fx uint16_t 7597 Fy uint16_t 7598 Fwidth uint16_t 7599 Fheight uint16_t 7600 Fminor_opcode uint16_t 7601 Fcount uint16_t 7602 Fmajor_opcode uint8_t 7603 Fpad1 [3]uint8_t 7604 } /* xproto.h:734:9 */ 7605 7606 //* Opcode for xcb_graphics_exposure. 7607 7608 // * 7609 // @brief xcb_graphics_exposure_event_t 7610 // 7611 type xcb_graphics_exposure_event_t = xcb_graphics_exposure_event_t1 /* xproto.h:747:3 */ 7612 7613 //* Opcode for xcb_no_exposure. 7614 7615 // * 7616 // @brief xcb_no_exposure_event_t 7617 // 7618 type xcb_no_exposure_event_t1 = struct { 7619 Fresponse_type uint8_t 7620 Fpad0 uint8_t 7621 Fsequence uint16_t 7622 Fdrawable xcb_drawable_t 7623 Fminor_opcode uint16_t 7624 Fmajor_opcode uint8_t 7625 Fpad1 uint8_t 7626 } /* xproto.h:755:9 */ 7627 7628 //* Opcode for xcb_no_exposure. 7629 7630 // * 7631 // @brief xcb_no_exposure_event_t 7632 // 7633 type xcb_no_exposure_event_t = xcb_no_exposure_event_t1 /* xproto.h:763:3 */ 7634 7635 type xcb_visibility_t = uint32 /* xproto.h:769:3 */ 7636 7637 //* Opcode for xcb_visibility_notify. 7638 7639 // * 7640 // @brief xcb_visibility_notify_event_t 7641 // 7642 type xcb_visibility_notify_event_t1 = struct { 7643 Fresponse_type uint8_t 7644 Fpad0 uint8_t 7645 Fsequence uint16_t 7646 Fwindow xcb_window_t 7647 Fstate uint8_t 7648 Fpad1 [3]uint8_t 7649 } /* xproto.h:777:9 */ 7650 7651 //* Opcode for xcb_visibility_notify. 7652 7653 // * 7654 // @brief xcb_visibility_notify_event_t 7655 // 7656 type xcb_visibility_notify_event_t = xcb_visibility_notify_event_t1 /* xproto.h:784:3 */ 7657 7658 //* Opcode for xcb_create_notify. 7659 7660 // * 7661 // @brief xcb_create_notify_event_t 7662 // 7663 type xcb_create_notify_event_t1 = struct { 7664 Fresponse_type uint8_t 7665 Fpad0 uint8_t 7666 Fsequence uint16_t 7667 Fparent xcb_window_t 7668 Fwindow xcb_window_t 7669 Fx int16_t 7670 Fy int16_t 7671 Fwidth uint16_t 7672 Fheight uint16_t 7673 Fborder_width uint16_t 7674 Foverride_redirect uint8_t 7675 Fpad1 uint8_t 7676 } /* xproto.h:792:9 */ 7677 7678 //* Opcode for xcb_create_notify. 7679 7680 // * 7681 // @brief xcb_create_notify_event_t 7682 // 7683 type xcb_create_notify_event_t = xcb_create_notify_event_t1 /* xproto.h:805:3 */ 7684 7685 //* Opcode for xcb_destroy_notify. 7686 7687 // * 7688 // @brief xcb_destroy_notify_event_t 7689 // 7690 type xcb_destroy_notify_event_t1 = struct { 7691 Fresponse_type uint8_t 7692 Fpad0 uint8_t 7693 Fsequence uint16_t 7694 Fevent xcb_window_t 7695 Fwindow xcb_window_t 7696 } /* xproto.h:813:9 */ 7697 7698 //* Opcode for xcb_destroy_notify. 7699 7700 // * 7701 // @brief xcb_destroy_notify_event_t 7702 // 7703 type xcb_destroy_notify_event_t = xcb_destroy_notify_event_t1 /* xproto.h:819:3 */ 7704 7705 //* Opcode for xcb_unmap_notify. 7706 7707 // * 7708 // @brief xcb_unmap_notify_event_t 7709 // 7710 type xcb_unmap_notify_event_t1 = struct { 7711 Fresponse_type uint8_t 7712 Fpad0 uint8_t 7713 Fsequence uint16_t 7714 Fevent xcb_window_t 7715 Fwindow xcb_window_t 7716 Ffrom_configure uint8_t 7717 Fpad1 [3]uint8_t 7718 } /* xproto.h:827:9 */ 7719 7720 //* Opcode for xcb_unmap_notify. 7721 7722 // * 7723 // @brief xcb_unmap_notify_event_t 7724 // 7725 type xcb_unmap_notify_event_t = xcb_unmap_notify_event_t1 /* xproto.h:835:3 */ 7726 7727 //* Opcode for xcb_map_notify. 7728 7729 // * 7730 // @brief xcb_map_notify_event_t 7731 // 7732 type xcb_map_notify_event_t1 = struct { 7733 Fresponse_type uint8_t 7734 Fpad0 uint8_t 7735 Fsequence uint16_t 7736 Fevent xcb_window_t 7737 Fwindow xcb_window_t 7738 Foverride_redirect uint8_t 7739 Fpad1 [3]uint8_t 7740 } /* xproto.h:843:9 */ 7741 7742 //* Opcode for xcb_map_notify. 7743 7744 // * 7745 // @brief xcb_map_notify_event_t 7746 // 7747 type xcb_map_notify_event_t = xcb_map_notify_event_t1 /* xproto.h:851:3 */ 7748 7749 //* Opcode for xcb_map_request. 7750 7751 // * 7752 // @brief xcb_map_request_event_t 7753 // 7754 type xcb_map_request_event_t1 = struct { 7755 Fresponse_type uint8_t 7756 Fpad0 uint8_t 7757 Fsequence uint16_t 7758 Fparent xcb_window_t 7759 Fwindow xcb_window_t 7760 } /* xproto.h:859:9 */ 7761 7762 //* Opcode for xcb_map_request. 7763 7764 // * 7765 // @brief xcb_map_request_event_t 7766 // 7767 type xcb_map_request_event_t = xcb_map_request_event_t1 /* xproto.h:865:3 */ 7768 7769 //* Opcode for xcb_reparent_notify. 7770 7771 // * 7772 // @brief xcb_reparent_notify_event_t 7773 // 7774 type xcb_reparent_notify_event_t1 = struct { 7775 Fresponse_type uint8_t 7776 Fpad0 uint8_t 7777 Fsequence uint16_t 7778 Fevent xcb_window_t 7779 Fwindow xcb_window_t 7780 Fparent xcb_window_t 7781 Fx int16_t 7782 Fy int16_t 7783 Foverride_redirect uint8_t 7784 Fpad1 [3]uint8_t 7785 } /* xproto.h:873:9 */ 7786 7787 //* Opcode for xcb_reparent_notify. 7788 7789 // * 7790 // @brief xcb_reparent_notify_event_t 7791 // 7792 type xcb_reparent_notify_event_t = xcb_reparent_notify_event_t1 /* xproto.h:884:3 */ 7793 7794 //* Opcode for xcb_configure_notify. 7795 7796 // * 7797 // @brief xcb_configure_notify_event_t 7798 // 7799 type xcb_configure_notify_event_t1 = struct { 7800 Fresponse_type uint8_t 7801 Fpad0 uint8_t 7802 Fsequence uint16_t 7803 Fevent xcb_window_t 7804 Fwindow xcb_window_t 7805 Fabove_sibling xcb_window_t 7806 Fx int16_t 7807 Fy int16_t 7808 Fwidth uint16_t 7809 Fheight uint16_t 7810 Fborder_width uint16_t 7811 Foverride_redirect uint8_t 7812 Fpad1 uint8_t 7813 } /* xproto.h:892:9 */ 7814 7815 //* Opcode for xcb_configure_notify. 7816 7817 // * 7818 // @brief xcb_configure_notify_event_t 7819 // 7820 type xcb_configure_notify_event_t = xcb_configure_notify_event_t1 /* xproto.h:906:3 */ 7821 7822 //* Opcode for xcb_configure_request. 7823 7824 // * 7825 // @brief xcb_configure_request_event_t 7826 // 7827 type xcb_configure_request_event_t1 = struct { 7828 Fresponse_type uint8_t 7829 Fstack_mode uint8_t 7830 Fsequence uint16_t 7831 Fparent xcb_window_t 7832 Fwindow xcb_window_t 7833 Fsibling xcb_window_t 7834 Fx int16_t 7835 Fy int16_t 7836 Fwidth uint16_t 7837 Fheight uint16_t 7838 Fborder_width uint16_t 7839 Fvalue_mask uint16_t 7840 } /* xproto.h:914:9 */ 7841 7842 //* Opcode for xcb_configure_request. 7843 7844 // * 7845 // @brief xcb_configure_request_event_t 7846 // 7847 type xcb_configure_request_event_t = xcb_configure_request_event_t1 /* xproto.h:927:3 */ 7848 7849 //* Opcode for xcb_gravity_notify. 7850 7851 // * 7852 // @brief xcb_gravity_notify_event_t 7853 // 7854 type xcb_gravity_notify_event_t1 = struct { 7855 Fresponse_type uint8_t 7856 Fpad0 uint8_t 7857 Fsequence uint16_t 7858 Fevent xcb_window_t 7859 Fwindow xcb_window_t 7860 Fx int16_t 7861 Fy int16_t 7862 } /* xproto.h:935:9 */ 7863 7864 //* Opcode for xcb_gravity_notify. 7865 7866 // * 7867 // @brief xcb_gravity_notify_event_t 7868 // 7869 type xcb_gravity_notify_event_t = xcb_gravity_notify_event_t1 /* xproto.h:943:3 */ 7870 7871 //* Opcode for xcb_resize_request. 7872 7873 // * 7874 // @brief xcb_resize_request_event_t 7875 // 7876 type xcb_resize_request_event_t1 = struct { 7877 Fresponse_type uint8_t 7878 Fpad0 uint8_t 7879 Fsequence uint16_t 7880 Fwindow xcb_window_t 7881 Fwidth uint16_t 7882 Fheight uint16_t 7883 } /* xproto.h:951:9 */ 7884 7885 //* Opcode for xcb_resize_request. 7886 7887 // * 7888 // @brief xcb_resize_request_event_t 7889 // 7890 type xcb_resize_request_event_t = xcb_resize_request_event_t1 /* xproto.h:958:3 */ 7891 7892 type xcb_place_t = uint32 /* xproto.h:967:3 */ 7893 7894 //* Opcode for xcb_circulate_notify. 7895 7896 // * 7897 // @brief xcb_circulate_notify_event_t 7898 // 7899 type xcb_circulate_notify_event_t1 = struct { 7900 Fresponse_type uint8_t 7901 Fpad0 uint8_t 7902 Fsequence uint16_t 7903 Fevent xcb_window_t 7904 Fwindow xcb_window_t 7905 Fpad1 [4]uint8_t 7906 Fplace uint8_t 7907 Fpad2 [3]uint8_t 7908 } /* xproto.h:975:9 */ 7909 7910 //* Opcode for xcb_circulate_notify. 7911 7912 // * 7913 // @brief xcb_circulate_notify_event_t 7914 // 7915 type xcb_circulate_notify_event_t = xcb_circulate_notify_event_t1 /* xproto.h:984:3 */ 7916 7917 //* Opcode for xcb_circulate_request. 7918 7919 type xcb_circulate_request_event_t = xcb_circulate_notify_event_t /* xproto.h:989:38 */ 7920 7921 type xcb_property_t = uint32 /* xproto.h:994:3 */ 7922 7923 //* Opcode for xcb_property_notify. 7924 7925 // * 7926 // @brief xcb_property_notify_event_t 7927 // 7928 type xcb_property_notify_event_t1 = struct { 7929 Fresponse_type uint8_t 7930 Fpad0 uint8_t 7931 Fsequence uint16_t 7932 Fwindow xcb_window_t 7933 Fatom xcb_atom_t 7934 Ftime xcb_timestamp_t 7935 Fstate uint8_t 7936 Fpad1 [3]uint8_t 7937 } /* xproto.h:1002:9 */ 7938 7939 //* Opcode for xcb_property_notify. 7940 7941 // * 7942 // @brief xcb_property_notify_event_t 7943 // 7944 type xcb_property_notify_event_t = xcb_property_notify_event_t1 /* xproto.h:1011:3 */ 7945 7946 //* Opcode for xcb_selection_clear. 7947 7948 // * 7949 // @brief xcb_selection_clear_event_t 7950 // 7951 type xcb_selection_clear_event_t1 = struct { 7952 Fresponse_type uint8_t 7953 Fpad0 uint8_t 7954 Fsequence uint16_t 7955 Ftime xcb_timestamp_t 7956 Fowner xcb_window_t 7957 Fselection xcb_atom_t 7958 } /* xproto.h:1019:9 */ 7959 7960 //* Opcode for xcb_selection_clear. 7961 7962 // * 7963 // @brief xcb_selection_clear_event_t 7964 // 7965 type xcb_selection_clear_event_t = xcb_selection_clear_event_t1 /* xproto.h:1026:3 */ 7966 7967 type xcb_time_t = uint32 /* xproto.h:1030:3 */ 7968 7969 type xcb_atom_enum_t = uint32 /* xproto.h:1103:3 */ 7970 7971 //* Opcode for xcb_selection_request. 7972 7973 // * 7974 // @brief xcb_selection_request_event_t 7975 // 7976 type xcb_selection_request_event_t1 = struct { 7977 Fresponse_type uint8_t 7978 Fpad0 uint8_t 7979 Fsequence uint16_t 7980 Ftime xcb_timestamp_t 7981 Fowner xcb_window_t 7982 Frequestor xcb_window_t 7983 Fselection xcb_atom_t 7984 Ftarget xcb_atom_t 7985 Fproperty xcb_atom_t 7986 } /* xproto.h:1111:9 */ 7987 7988 //* Opcode for xcb_selection_request. 7989 7990 // * 7991 // @brief xcb_selection_request_event_t 7992 // 7993 type xcb_selection_request_event_t = xcb_selection_request_event_t1 /* xproto.h:1121:3 */ 7994 7995 //* Opcode for xcb_selection_notify. 7996 7997 // * 7998 // @brief xcb_selection_notify_event_t 7999 // 8000 type xcb_selection_notify_event_t1 = struct { 8001 Fresponse_type uint8_t 8002 Fpad0 uint8_t 8003 Fsequence uint16_t 8004 Ftime xcb_timestamp_t 8005 Frequestor xcb_window_t 8006 Fselection xcb_atom_t 8007 Ftarget xcb_atom_t 8008 Fproperty xcb_atom_t 8009 } /* xproto.h:1129:9 */ 8010 8011 //* Opcode for xcb_selection_notify. 8012 8013 // * 8014 // @brief xcb_selection_notify_event_t 8015 // 8016 type xcb_selection_notify_event_t = xcb_selection_notify_event_t1 /* xproto.h:1138:3 */ 8017 8018 type xcb_colormap_state_t = uint32 /* xproto.h:1147:3 */ 8019 8020 type xcb_colormap_enum_t = uint32 /* xproto.h:1151:3 */ 8021 8022 //* Opcode for xcb_colormap_notify. 8023 8024 // * 8025 // @brief xcb_colormap_notify_event_t 8026 // 8027 type xcb_colormap_notify_event_t1 = struct { 8028 Fresponse_type uint8_t 8029 Fpad0 uint8_t 8030 Fsequence uint16_t 8031 Fwindow xcb_window_t 8032 Fcolormap xcb_colormap_t 8033 F_new uint8_t 8034 Fstate uint8_t 8035 Fpad1 [2]uint8_t 8036 } /* xproto.h:1159:9 */ 8037 8038 //* Opcode for xcb_colormap_notify. 8039 8040 // * 8041 // @brief xcb_colormap_notify_event_t 8042 // 8043 type xcb_colormap_notify_event_t = xcb_colormap_notify_event_t1 /* xproto.h:1168:3 */ 8044 8045 // * 8046 // @brief xcb_client_message_data_t 8047 // 8048 type xcb_client_message_data_t1 = struct { 8049 F__ccgo_pad1 [0]uint32 8050 Fdata8 [20]uint8_t 8051 } /* xproto.h:1173:9 */ 8052 8053 // * 8054 // @brief xcb_client_message_data_t 8055 // 8056 type xcb_client_message_data_t = xcb_client_message_data_t1 /* xproto.h:1177:3 */ 8057 8058 // * 8059 // @brief xcb_client_message_data_iterator_t 8060 // 8061 type xcb_client_message_data_iterator_t1 = struct { 8062 Fdata uintptr 8063 Frem int32 8064 Findex int32 8065 } /* xproto.h:1182:9 */ 8066 8067 // * 8068 // @brief xcb_client_message_data_iterator_t 8069 // 8070 type xcb_client_message_data_iterator_t = xcb_client_message_data_iterator_t1 /* xproto.h:1186:3 */ 8071 8072 //* Opcode for xcb_client_message. 8073 8074 // * 8075 // @brief xcb_client_message_event_t 8076 // 8077 type xcb_client_message_event_t1 = struct { 8078 Fresponse_type uint8_t 8079 Fformat uint8_t 8080 Fsequence uint16_t 8081 Fwindow xcb_window_t 8082 Ftype xcb_atom_t 8083 Fdata xcb_client_message_data_t 8084 } /* xproto.h:1194:9 */ 8085 8086 //* Opcode for xcb_client_message. 8087 8088 // * 8089 // @brief xcb_client_message_event_t 8090 // 8091 type xcb_client_message_event_t = xcb_client_message_event_t1 /* xproto.h:1201:3 */ 8092 8093 type xcb_mapping_t = uint32 /* xproto.h:1207:3 */ 8094 8095 //* Opcode for xcb_mapping_notify. 8096 8097 // * 8098 // @brief xcb_mapping_notify_event_t 8099 // 8100 type xcb_mapping_notify_event_t1 = struct { 8101 Fresponse_type uint8_t 8102 Fpad0 uint8_t 8103 Fsequence uint16_t 8104 Frequest uint8_t 8105 Ffirst_keycode xcb_keycode_t 8106 Fcount uint8_t 8107 Fpad1 uint8_t 8108 } /* xproto.h:1215:9 */ 8109 8110 //* Opcode for xcb_mapping_notify. 8111 8112 // * 8113 // @brief xcb_mapping_notify_event_t 8114 // 8115 type xcb_mapping_notify_event_t = xcb_mapping_notify_event_t1 /* xproto.h:1223:3 */ 8116 8117 //* Opcode for xcb_ge_generic. 8118 8119 // * 8120 // @brief xcb_ge_generic_event_t 8121 // 8122 type xcb_ge_generic_event_t1 = struct { 8123 Fresponse_type uint8_t 8124 Fextension uint8_t 8125 Fsequence uint16_t 8126 Flength uint32_t 8127 Fevent_type uint16_t 8128 Fpad0 [22]uint8_t 8129 Ffull_sequence uint32_t 8130 } /* xproto.h:1231:9 */ 8131 8132 //* Opcode for xcb_ge_generic. 8133 8134 // * 8135 // @brief xcb_ge_generic_event_t 8136 // 8137 type xcb_ge_generic_event_t = xcb_ge_generic_event_t1 /* xproto.h:1239:3 */ 8138 8139 //* Opcode for xcb_request. 8140 8141 // * 8142 // @brief xcb_request_error_t 8143 // 8144 type xcb_request_error_t1 = struct { 8145 Fresponse_type uint8_t 8146 Ferror_code uint8_t 8147 Fsequence uint16_t 8148 Fbad_value uint32_t 8149 Fminor_opcode uint16_t 8150 Fmajor_opcode uint8_t 8151 Fpad0 uint8_t 8152 } /* xproto.h:1247:9 */ 8153 8154 //* Opcode for xcb_request. 8155 8156 // * 8157 // @brief xcb_request_error_t 8158 // 8159 type xcb_request_error_t = xcb_request_error_t1 /* xproto.h:1255:3 */ 8160 8161 //* Opcode for xcb_value. 8162 8163 // * 8164 // @brief xcb_value_error_t 8165 // 8166 type xcb_value_error_t1 = struct { 8167 Fresponse_type uint8_t 8168 Ferror_code uint8_t 8169 Fsequence uint16_t 8170 Fbad_value uint32_t 8171 Fminor_opcode uint16_t 8172 Fmajor_opcode uint8_t 8173 Fpad0 uint8_t 8174 } /* xproto.h:1263:9 */ 8175 8176 //* Opcode for xcb_value. 8177 8178 // * 8179 // @brief xcb_value_error_t 8180 // 8181 type xcb_value_error_t = xcb_value_error_t1 /* xproto.h:1271:3 */ 8182 8183 //* Opcode for xcb_window. 8184 8185 type xcb_window_error_t = xcb_value_error_t /* xproto.h:1276:27 */ 8186 8187 //* Opcode for xcb_pixmap. 8188 8189 type xcb_pixmap_error_t = xcb_value_error_t /* xproto.h:1281:27 */ 8190 8191 //* Opcode for xcb_atom. 8192 8193 type xcb_atom_error_t = xcb_value_error_t /* xproto.h:1286:27 */ 8194 8195 //* Opcode for xcb_cursor. 8196 8197 type xcb_cursor_error_t = xcb_value_error_t /* xproto.h:1291:27 */ 8198 8199 //* Opcode for xcb_font. 8200 8201 type xcb_font_error_t = xcb_value_error_t /* xproto.h:1296:27 */ 8202 8203 //* Opcode for xcb_match. 8204 8205 type xcb_match_error_t = xcb_request_error_t /* xproto.h:1301:29 */ 8206 8207 //* Opcode for xcb_drawable. 8208 8209 type xcb_drawable_error_t = xcb_value_error_t /* xproto.h:1306:27 */ 8210 8211 //* Opcode for xcb_access. 8212 8213 type xcb_access_error_t = xcb_request_error_t /* xproto.h:1311:29 */ 8214 8215 //* Opcode for xcb_alloc. 8216 8217 type xcb_alloc_error_t = xcb_request_error_t /* xproto.h:1316:29 */ 8218 8219 //* Opcode for xcb_colormap. 8220 8221 type xcb_colormap_error_t = xcb_value_error_t /* xproto.h:1321:27 */ 8222 8223 //* Opcode for xcb_g_context. 8224 8225 type xcb_g_context_error_t = xcb_value_error_t /* xproto.h:1326:27 */ 8226 8227 //* Opcode for xcb_id_choice. 8228 8229 type xcb_id_choice_error_t = xcb_value_error_t /* xproto.h:1331:27 */ 8230 8231 //* Opcode for xcb_name. 8232 8233 type xcb_name_error_t = xcb_request_error_t /* xproto.h:1336:29 */ 8234 8235 //* Opcode for xcb_length. 8236 8237 type xcb_length_error_t = xcb_request_error_t /* xproto.h:1341:29 */ 8238 8239 //* Opcode for xcb_implementation. 8240 8241 type xcb_implementation_error_t = xcb_request_error_t /* xproto.h:1346:29 */ 8242 8243 type xcb_window_class_t = uint32 /* xproto.h:1352:3 */ 8244 8245 type xcb_cw_t = uint32 /* xproto.h:1453:3 */ 8246 8247 type xcb_back_pixmap_t = uint32 /* xproto.h:1458:3 */ 8248 8249 type xcb_gravity_t = uint32 /* xproto.h:1473:3 */ 8250 8251 // * 8252 // @brief xcb_create_window_value_list_t 8253 // 8254 type xcb_create_window_value_list_t1 = struct { 8255 Fbackground_pixmap xcb_pixmap_t 8256 Fbackground_pixel uint32_t 8257 Fborder_pixmap xcb_pixmap_t 8258 Fborder_pixel uint32_t 8259 Fbit_gravity uint32_t 8260 Fwin_gravity uint32_t 8261 Fbacking_store uint32_t 8262 Fbacking_planes uint32_t 8263 Fbacking_pixel uint32_t 8264 Foverride_redirect xcb_bool32_t 8265 Fsave_under xcb_bool32_t 8266 Fevent_mask uint32_t 8267 Fdo_not_propogate_mask uint32_t 8268 Fcolormap xcb_colormap_t 8269 Fcursor xcb_cursor_t 8270 } /* xproto.h:1478:9 */ 8271 8272 // * 8273 // @brief xcb_create_window_value_list_t 8274 // 8275 type xcb_create_window_value_list_t = xcb_create_window_value_list_t1 /* xproto.h:1494:3 */ 8276 8277 //* Opcode for xcb_create_window. 8278 8279 // * 8280 // @brief xcb_create_window_request_t 8281 // 8282 type xcb_create_window_request_t1 = struct { 8283 Fmajor_opcode uint8_t 8284 Fdepth uint8_t 8285 Flength uint16_t 8286 Fwid xcb_window_t 8287 Fparent xcb_window_t 8288 Fx int16_t 8289 Fy int16_t 8290 Fwidth uint16_t 8291 Fheight uint16_t 8292 Fborder_width uint16_t 8293 F_class uint16_t 8294 Fvisual xcb_visualid_t 8295 Fvalue_mask uint32_t 8296 } /* xproto.h:1502:9 */ 8297 8298 //* Opcode for xcb_create_window. 8299 8300 // * 8301 // @brief xcb_create_window_request_t 8302 // 8303 type xcb_create_window_request_t = xcb_create_window_request_t1 /* xproto.h:1516:3 */ 8304 8305 // * 8306 // @brief xcb_change_window_attributes_value_list_t 8307 // 8308 type xcb_change_window_attributes_value_list_t1 = struct { 8309 Fbackground_pixmap xcb_pixmap_t 8310 Fbackground_pixel uint32_t 8311 Fborder_pixmap xcb_pixmap_t 8312 Fborder_pixel uint32_t 8313 Fbit_gravity uint32_t 8314 Fwin_gravity uint32_t 8315 Fbacking_store uint32_t 8316 Fbacking_planes uint32_t 8317 Fbacking_pixel uint32_t 8318 Foverride_redirect xcb_bool32_t 8319 Fsave_under xcb_bool32_t 8320 Fevent_mask uint32_t 8321 Fdo_not_propogate_mask uint32_t 8322 Fcolormap xcb_colormap_t 8323 Fcursor xcb_cursor_t 8324 } /* xproto.h:1521:9 */ 8325 8326 // * 8327 // @brief xcb_change_window_attributes_value_list_t 8328 // 8329 type xcb_change_window_attributes_value_list_t = xcb_change_window_attributes_value_list_t1 /* xproto.h:1537:3 */ 8330 8331 //* Opcode for xcb_change_window_attributes. 8332 8333 // * 8334 // @brief xcb_change_window_attributes_request_t 8335 // 8336 type xcb_change_window_attributes_request_t1 = struct { 8337 Fmajor_opcode uint8_t 8338 Fpad0 uint8_t 8339 Flength uint16_t 8340 Fwindow xcb_window_t 8341 Fvalue_mask uint32_t 8342 } /* xproto.h:1545:9 */ 8343 8344 //* Opcode for xcb_change_window_attributes. 8345 8346 // * 8347 // @brief xcb_change_window_attributes_request_t 8348 // 8349 type xcb_change_window_attributes_request_t = xcb_change_window_attributes_request_t1 /* xproto.h:1551:3 */ 8350 8351 type xcb_map_state_t = uint32 /* xproto.h:1557:3 */ 8352 8353 // * 8354 // @brief xcb_get_window_attributes_cookie_t 8355 // 8356 type xcb_get_window_attributes_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1562:9 */ 8357 8358 // * 8359 // @brief xcb_get_window_attributes_cookie_t 8360 // 8361 type xcb_get_window_attributes_cookie_t = xcb_get_window_attributes_cookie_t1 /* xproto.h:1564:3 */ 8362 8363 //* Opcode for xcb_get_window_attributes. 8364 8365 // * 8366 // @brief xcb_get_window_attributes_request_t 8367 // 8368 type xcb_get_window_attributes_request_t1 = struct { 8369 Fmajor_opcode uint8_t 8370 Fpad0 uint8_t 8371 Flength uint16_t 8372 Fwindow xcb_window_t 8373 } /* xproto.h:1572:9 */ 8374 8375 //* Opcode for xcb_get_window_attributes. 8376 8377 // * 8378 // @brief xcb_get_window_attributes_request_t 8379 // 8380 type xcb_get_window_attributes_request_t = xcb_get_window_attributes_request_t1 /* xproto.h:1577:3 */ 8381 8382 // * 8383 // @brief xcb_get_window_attributes_reply_t 8384 // 8385 type xcb_get_window_attributes_reply_t1 = struct { 8386 Fresponse_type uint8_t 8387 Fbacking_store uint8_t 8388 Fsequence uint16_t 8389 Flength uint32_t 8390 Fvisual xcb_visualid_t 8391 F_class uint16_t 8392 Fbit_gravity uint8_t 8393 Fwin_gravity uint8_t 8394 Fbacking_planes uint32_t 8395 Fbacking_pixel uint32_t 8396 Fsave_under uint8_t 8397 Fmap_is_installed uint8_t 8398 Fmap_state uint8_t 8399 Foverride_redirect uint8_t 8400 Fcolormap xcb_colormap_t 8401 Fall_event_masks uint32_t 8402 Fyour_event_mask uint32_t 8403 Fdo_not_propagate_mask uint16_t 8404 Fpad0 [2]uint8_t 8405 } /* xproto.h:1582:9 */ 8406 8407 // * 8408 // @brief xcb_get_window_attributes_reply_t 8409 // 8410 type xcb_get_window_attributes_reply_t = xcb_get_window_attributes_reply_t1 /* xproto.h:1602:3 */ 8411 8412 //* Opcode for xcb_destroy_window. 8413 8414 // * 8415 // @brief xcb_destroy_window_request_t 8416 // 8417 type xcb_destroy_window_request_t1 = struct { 8418 Fmajor_opcode uint8_t 8419 Fpad0 uint8_t 8420 Flength uint16_t 8421 Fwindow xcb_window_t 8422 } /* xproto.h:1610:9 */ 8423 8424 //* Opcode for xcb_destroy_window. 8425 8426 // * 8427 // @brief xcb_destroy_window_request_t 8428 // 8429 type xcb_destroy_window_request_t = xcb_destroy_window_request_t1 /* xproto.h:1615:3 */ 8430 8431 //* Opcode for xcb_destroy_subwindows. 8432 8433 // * 8434 // @brief xcb_destroy_subwindows_request_t 8435 // 8436 type xcb_destroy_subwindows_request_t1 = struct { 8437 Fmajor_opcode uint8_t 8438 Fpad0 uint8_t 8439 Flength uint16_t 8440 Fwindow xcb_window_t 8441 } /* xproto.h:1623:9 */ 8442 8443 //* Opcode for xcb_destroy_subwindows. 8444 8445 // * 8446 // @brief xcb_destroy_subwindows_request_t 8447 // 8448 type xcb_destroy_subwindows_request_t = xcb_destroy_subwindows_request_t1 /* xproto.h:1628:3 */ 8449 8450 type xcb_set_mode_t = uint32 /* xproto.h:1633:3 */ 8451 8452 //* Opcode for xcb_change_save_set. 8453 8454 // * 8455 // @brief xcb_change_save_set_request_t 8456 // 8457 type xcb_change_save_set_request_t1 = struct { 8458 Fmajor_opcode uint8_t 8459 Fmode uint8_t 8460 Flength uint16_t 8461 Fwindow xcb_window_t 8462 } /* xproto.h:1641:9 */ 8463 8464 //* Opcode for xcb_change_save_set. 8465 8466 // * 8467 // @brief xcb_change_save_set_request_t 8468 // 8469 type xcb_change_save_set_request_t = xcb_change_save_set_request_t1 /* xproto.h:1646:3 */ 8470 8471 //* Opcode for xcb_reparent_window. 8472 8473 // * 8474 // @brief xcb_reparent_window_request_t 8475 // 8476 type xcb_reparent_window_request_t1 = struct { 8477 Fmajor_opcode uint8_t 8478 Fpad0 uint8_t 8479 Flength uint16_t 8480 Fwindow xcb_window_t 8481 Fparent xcb_window_t 8482 Fx int16_t 8483 Fy int16_t 8484 } /* xproto.h:1654:9 */ 8485 8486 //* Opcode for xcb_reparent_window. 8487 8488 // * 8489 // @brief xcb_reparent_window_request_t 8490 // 8491 type xcb_reparent_window_request_t = xcb_reparent_window_request_t1 /* xproto.h:1662:3 */ 8492 8493 //* Opcode for xcb_map_window. 8494 8495 // * 8496 // @brief xcb_map_window_request_t 8497 // 8498 type xcb_map_window_request_t1 = struct { 8499 Fmajor_opcode uint8_t 8500 Fpad0 uint8_t 8501 Flength uint16_t 8502 Fwindow xcb_window_t 8503 } /* xproto.h:1670:9 */ 8504 8505 //* Opcode for xcb_map_window. 8506 8507 // * 8508 // @brief xcb_map_window_request_t 8509 // 8510 type xcb_map_window_request_t = xcb_map_window_request_t1 /* xproto.h:1675:3 */ 8511 8512 //* Opcode for xcb_map_subwindows. 8513 8514 // * 8515 // @brief xcb_map_subwindows_request_t 8516 // 8517 type xcb_map_subwindows_request_t1 = struct { 8518 Fmajor_opcode uint8_t 8519 Fpad0 uint8_t 8520 Flength uint16_t 8521 Fwindow xcb_window_t 8522 } /* xproto.h:1683:9 */ 8523 8524 //* Opcode for xcb_map_subwindows. 8525 8526 // * 8527 // @brief xcb_map_subwindows_request_t 8528 // 8529 type xcb_map_subwindows_request_t = xcb_map_subwindows_request_t1 /* xproto.h:1688:3 */ 8530 8531 //* Opcode for xcb_unmap_window. 8532 8533 // * 8534 // @brief xcb_unmap_window_request_t 8535 // 8536 type xcb_unmap_window_request_t1 = struct { 8537 Fmajor_opcode uint8_t 8538 Fpad0 uint8_t 8539 Flength uint16_t 8540 Fwindow xcb_window_t 8541 } /* xproto.h:1696:9 */ 8542 8543 //* Opcode for xcb_unmap_window. 8544 8545 // * 8546 // @brief xcb_unmap_window_request_t 8547 // 8548 type xcb_unmap_window_request_t = xcb_unmap_window_request_t1 /* xproto.h:1701:3 */ 8549 8550 //* Opcode for xcb_unmap_subwindows. 8551 8552 // * 8553 // @brief xcb_unmap_subwindows_request_t 8554 // 8555 type xcb_unmap_subwindows_request_t1 = struct { 8556 Fmajor_opcode uint8_t 8557 Fpad0 uint8_t 8558 Flength uint16_t 8559 Fwindow xcb_window_t 8560 } /* xproto.h:1709:9 */ 8561 8562 //* Opcode for xcb_unmap_subwindows. 8563 8564 // * 8565 // @brief xcb_unmap_subwindows_request_t 8566 // 8567 type xcb_unmap_subwindows_request_t = xcb_unmap_subwindows_request_t1 /* xproto.h:1714:3 */ 8568 8569 type xcb_config_window_t = uint32 /* xproto.h:1724:3 */ 8570 8571 type xcb_stack_mode_t = uint32 /* xproto.h:1732:3 */ 8572 8573 // * 8574 // @brief xcb_configure_window_value_list_t 8575 // 8576 type xcb_configure_window_value_list_t1 = struct { 8577 Fx int32_t 8578 Fy int32_t 8579 Fwidth uint32_t 8580 Fheight uint32_t 8581 Fborder_width uint32_t 8582 Fsibling xcb_window_t 8583 Fstack_mode uint32_t 8584 } /* xproto.h:1737:9 */ 8585 8586 // * 8587 // @brief xcb_configure_window_value_list_t 8588 // 8589 type xcb_configure_window_value_list_t = xcb_configure_window_value_list_t1 /* xproto.h:1745:3 */ 8590 8591 //* Opcode for xcb_configure_window. 8592 8593 // * 8594 // @brief xcb_configure_window_request_t 8595 // 8596 type xcb_configure_window_request_t1 = struct { 8597 Fmajor_opcode uint8_t 8598 Fpad0 uint8_t 8599 Flength uint16_t 8600 Fwindow xcb_window_t 8601 Fvalue_mask uint16_t 8602 Fpad1 [2]uint8_t 8603 } /* xproto.h:1753:9 */ 8604 8605 //* Opcode for xcb_configure_window. 8606 8607 // * 8608 // @brief xcb_configure_window_request_t 8609 // 8610 type xcb_configure_window_request_t = xcb_configure_window_request_t1 /* xproto.h:1760:3 */ 8611 8612 type xcb_circulate_t = uint32 /* xproto.h:1765:3 */ 8613 8614 //* Opcode for xcb_circulate_window. 8615 8616 // * 8617 // @brief xcb_circulate_window_request_t 8618 // 8619 type xcb_circulate_window_request_t1 = struct { 8620 Fmajor_opcode uint8_t 8621 Fdirection uint8_t 8622 Flength uint16_t 8623 Fwindow xcb_window_t 8624 } /* xproto.h:1773:9 */ 8625 8626 //* Opcode for xcb_circulate_window. 8627 8628 // * 8629 // @brief xcb_circulate_window_request_t 8630 // 8631 type xcb_circulate_window_request_t = xcb_circulate_window_request_t1 /* xproto.h:1778:3 */ 8632 8633 // * 8634 // @brief xcb_get_geometry_cookie_t 8635 // 8636 type xcb_get_geometry_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1783:9 */ 8637 8638 // * 8639 // @brief xcb_get_geometry_cookie_t 8640 // 8641 type xcb_get_geometry_cookie_t = xcb_get_geometry_cookie_t1 /* xproto.h:1785:3 */ 8642 8643 //* Opcode for xcb_get_geometry. 8644 8645 // * 8646 // @brief xcb_get_geometry_request_t 8647 // 8648 type xcb_get_geometry_request_t1 = struct { 8649 Fmajor_opcode uint8_t 8650 Fpad0 uint8_t 8651 Flength uint16_t 8652 Fdrawable xcb_drawable_t 8653 } /* xproto.h:1793:9 */ 8654 8655 //* Opcode for xcb_get_geometry. 8656 8657 // * 8658 // @brief xcb_get_geometry_request_t 8659 // 8660 type xcb_get_geometry_request_t = xcb_get_geometry_request_t1 /* xproto.h:1798:3 */ 8661 8662 // * 8663 // @brief xcb_get_geometry_reply_t 8664 // 8665 type xcb_get_geometry_reply_t1 = struct { 8666 Fresponse_type uint8_t 8667 Fdepth uint8_t 8668 Fsequence uint16_t 8669 Flength uint32_t 8670 Froot xcb_window_t 8671 Fx int16_t 8672 Fy int16_t 8673 Fwidth uint16_t 8674 Fheight uint16_t 8675 Fborder_width uint16_t 8676 Fpad0 [2]uint8_t 8677 } /* xproto.h:1803:9 */ 8678 8679 // * 8680 // @brief xcb_get_geometry_reply_t 8681 // 8682 type xcb_get_geometry_reply_t = xcb_get_geometry_reply_t1 /* xproto.h:1815:3 */ 8683 8684 // * 8685 // @brief xcb_query_tree_cookie_t 8686 // 8687 type xcb_query_tree_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1820:9 */ 8688 8689 // * 8690 // @brief xcb_query_tree_cookie_t 8691 // 8692 type xcb_query_tree_cookie_t = xcb_query_tree_cookie_t1 /* xproto.h:1822:3 */ 8693 8694 //* Opcode for xcb_query_tree. 8695 8696 // * 8697 // @brief xcb_query_tree_request_t 8698 // 8699 type xcb_query_tree_request_t1 = struct { 8700 Fmajor_opcode uint8_t 8701 Fpad0 uint8_t 8702 Flength uint16_t 8703 Fwindow xcb_window_t 8704 } /* xproto.h:1830:9 */ 8705 8706 //* Opcode for xcb_query_tree. 8707 8708 // * 8709 // @brief xcb_query_tree_request_t 8710 // 8711 type xcb_query_tree_request_t = xcb_query_tree_request_t1 /* xproto.h:1835:3 */ 8712 8713 // * 8714 // @brief xcb_query_tree_reply_t 8715 // 8716 type xcb_query_tree_reply_t1 = struct { 8717 Fresponse_type uint8_t 8718 Fpad0 uint8_t 8719 Fsequence uint16_t 8720 Flength uint32_t 8721 Froot xcb_window_t 8722 Fparent xcb_window_t 8723 Fchildren_len uint16_t 8724 Fpad1 [14]uint8_t 8725 } /* xproto.h:1840:9 */ 8726 8727 // * 8728 // @brief xcb_query_tree_reply_t 8729 // 8730 type xcb_query_tree_reply_t = xcb_query_tree_reply_t1 /* xproto.h:1849:3 */ 8731 8732 // * 8733 // @brief xcb_intern_atom_cookie_t 8734 // 8735 type xcb_intern_atom_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1854:9 */ 8736 8737 // * 8738 // @brief xcb_intern_atom_cookie_t 8739 // 8740 type xcb_intern_atom_cookie_t = xcb_intern_atom_cookie_t1 /* xproto.h:1856:3 */ 8741 8742 //* Opcode for xcb_intern_atom. 8743 8744 // * 8745 // @brief xcb_intern_atom_request_t 8746 // 8747 type xcb_intern_atom_request_t1 = struct { 8748 Fmajor_opcode uint8_t 8749 Fonly_if_exists uint8_t 8750 Flength uint16_t 8751 Fname_len uint16_t 8752 Fpad0 [2]uint8_t 8753 } /* xproto.h:1864:9 */ 8754 8755 //* Opcode for xcb_intern_atom. 8756 8757 // * 8758 // @brief xcb_intern_atom_request_t 8759 // 8760 type xcb_intern_atom_request_t = xcb_intern_atom_request_t1 /* xproto.h:1870:3 */ 8761 8762 // * 8763 // @brief xcb_intern_atom_reply_t 8764 // 8765 type xcb_intern_atom_reply_t1 = struct { 8766 Fresponse_type uint8_t 8767 Fpad0 uint8_t 8768 Fsequence uint16_t 8769 Flength uint32_t 8770 Fatom xcb_atom_t 8771 } /* xproto.h:1875:9 */ 8772 8773 // * 8774 // @brief xcb_intern_atom_reply_t 8775 // 8776 type xcb_intern_atom_reply_t = xcb_intern_atom_reply_t1 /* xproto.h:1881:3 */ 8777 8778 // * 8779 // @brief xcb_get_atom_name_cookie_t 8780 // 8781 type xcb_get_atom_name_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1886:9 */ 8782 8783 // * 8784 // @brief xcb_get_atom_name_cookie_t 8785 // 8786 type xcb_get_atom_name_cookie_t = xcb_get_atom_name_cookie_t1 /* xproto.h:1888:3 */ 8787 8788 //* Opcode for xcb_get_atom_name. 8789 8790 // * 8791 // @brief xcb_get_atom_name_request_t 8792 // 8793 type xcb_get_atom_name_request_t1 = struct { 8794 Fmajor_opcode uint8_t 8795 Fpad0 uint8_t 8796 Flength uint16_t 8797 Fatom xcb_atom_t 8798 } /* xproto.h:1896:9 */ 8799 8800 //* Opcode for xcb_get_atom_name. 8801 8802 // * 8803 // @brief xcb_get_atom_name_request_t 8804 // 8805 type xcb_get_atom_name_request_t = xcb_get_atom_name_request_t1 /* xproto.h:1901:3 */ 8806 8807 // * 8808 // @brief xcb_get_atom_name_reply_t 8809 // 8810 type xcb_get_atom_name_reply_t1 = struct { 8811 Fresponse_type uint8_t 8812 Fpad0 uint8_t 8813 Fsequence uint16_t 8814 Flength uint32_t 8815 Fname_len uint16_t 8816 Fpad1 [22]uint8_t 8817 } /* xproto.h:1906:9 */ 8818 8819 // * 8820 // @brief xcb_get_atom_name_reply_t 8821 // 8822 type xcb_get_atom_name_reply_t = xcb_get_atom_name_reply_t1 /* xproto.h:1913:3 */ 8823 8824 type xcb_prop_mode_t = uint32 /* xproto.h:1929:3 */ 8825 8826 //* Opcode for xcb_change_property. 8827 8828 // * 8829 // @brief xcb_change_property_request_t 8830 // 8831 type xcb_change_property_request_t1 = struct { 8832 Fmajor_opcode uint8_t 8833 Fmode uint8_t 8834 Flength uint16_t 8835 Fwindow xcb_window_t 8836 Fproperty xcb_atom_t 8837 Ftype xcb_atom_t 8838 Fformat uint8_t 8839 Fpad0 [3]uint8_t 8840 Fdata_len uint32_t 8841 } /* xproto.h:1937:9 */ 8842 8843 //* Opcode for xcb_change_property. 8844 8845 // * 8846 // @brief xcb_change_property_request_t 8847 // 8848 type xcb_change_property_request_t = xcb_change_property_request_t1 /* xproto.h:1947:3 */ 8849 8850 //* Opcode for xcb_delete_property. 8851 8852 // * 8853 // @brief xcb_delete_property_request_t 8854 // 8855 type xcb_delete_property_request_t1 = struct { 8856 Fmajor_opcode uint8_t 8857 Fpad0 uint8_t 8858 Flength uint16_t 8859 Fwindow xcb_window_t 8860 Fproperty xcb_atom_t 8861 } /* xproto.h:1955:9 */ 8862 8863 //* Opcode for xcb_delete_property. 8864 8865 // * 8866 // @brief xcb_delete_property_request_t 8867 // 8868 type xcb_delete_property_request_t = xcb_delete_property_request_t1 /* xproto.h:1961:3 */ 8869 8870 type xcb_get_property_type_t = uint32 /* xproto.h:1965:3 */ 8871 8872 // * 8873 // @brief xcb_get_property_cookie_t 8874 // 8875 type xcb_get_property_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1970:9 */ 8876 8877 // * 8878 // @brief xcb_get_property_cookie_t 8879 // 8880 type xcb_get_property_cookie_t = xcb_get_property_cookie_t1 /* xproto.h:1972:3 */ 8881 8882 //* Opcode for xcb_get_property. 8883 8884 // * 8885 // @brief xcb_get_property_request_t 8886 // 8887 type xcb_get_property_request_t1 = struct { 8888 Fmajor_opcode uint8_t 8889 F_delete uint8_t 8890 Flength uint16_t 8891 Fwindow xcb_window_t 8892 Fproperty xcb_atom_t 8893 Ftype xcb_atom_t 8894 Flong_offset uint32_t 8895 Flong_length uint32_t 8896 } /* xproto.h:1980:9 */ 8897 8898 //* Opcode for xcb_get_property. 8899 8900 // * 8901 // @brief xcb_get_property_request_t 8902 // 8903 type xcb_get_property_request_t = xcb_get_property_request_t1 /* xproto.h:1989:3 */ 8904 8905 // * 8906 // @brief xcb_get_property_reply_t 8907 // 8908 type xcb_get_property_reply_t1 = struct { 8909 Fresponse_type uint8_t 8910 Fformat uint8_t 8911 Fsequence uint16_t 8912 Flength uint32_t 8913 Ftype xcb_atom_t 8914 Fbytes_after uint32_t 8915 Fvalue_len uint32_t 8916 Fpad0 [12]uint8_t 8917 } /* xproto.h:1994:9 */ 8918 8919 // * 8920 // @brief xcb_get_property_reply_t 8921 // 8922 type xcb_get_property_reply_t = xcb_get_property_reply_t1 /* xproto.h:2003:3 */ 8923 8924 // * 8925 // @brief xcb_list_properties_cookie_t 8926 // 8927 type xcb_list_properties_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2008:9 */ 8928 8929 // * 8930 // @brief xcb_list_properties_cookie_t 8931 // 8932 type xcb_list_properties_cookie_t = xcb_list_properties_cookie_t1 /* xproto.h:2010:3 */ 8933 8934 //* Opcode for xcb_list_properties. 8935 8936 // * 8937 // @brief xcb_list_properties_request_t 8938 // 8939 type xcb_list_properties_request_t1 = struct { 8940 Fmajor_opcode uint8_t 8941 Fpad0 uint8_t 8942 Flength uint16_t 8943 Fwindow xcb_window_t 8944 } /* xproto.h:2018:9 */ 8945 8946 //* Opcode for xcb_list_properties. 8947 8948 // * 8949 // @brief xcb_list_properties_request_t 8950 // 8951 type xcb_list_properties_request_t = xcb_list_properties_request_t1 /* xproto.h:2023:3 */ 8952 8953 // * 8954 // @brief xcb_list_properties_reply_t 8955 // 8956 type xcb_list_properties_reply_t1 = struct { 8957 Fresponse_type uint8_t 8958 Fpad0 uint8_t 8959 Fsequence uint16_t 8960 Flength uint32_t 8961 Fatoms_len uint16_t 8962 Fpad1 [22]uint8_t 8963 } /* xproto.h:2028:9 */ 8964 8965 // * 8966 // @brief xcb_list_properties_reply_t 8967 // 8968 type xcb_list_properties_reply_t = xcb_list_properties_reply_t1 /* xproto.h:2035:3 */ 8969 8970 //* Opcode for xcb_set_selection_owner. 8971 8972 // * 8973 // @brief xcb_set_selection_owner_request_t 8974 // 8975 type xcb_set_selection_owner_request_t1 = struct { 8976 Fmajor_opcode uint8_t 8977 Fpad0 uint8_t 8978 Flength uint16_t 8979 Fowner xcb_window_t 8980 Fselection xcb_atom_t 8981 Ftime xcb_timestamp_t 8982 } /* xproto.h:2043:9 */ 8983 8984 //* Opcode for xcb_set_selection_owner. 8985 8986 // * 8987 // @brief xcb_set_selection_owner_request_t 8988 // 8989 type xcb_set_selection_owner_request_t = xcb_set_selection_owner_request_t1 /* xproto.h:2050:3 */ 8990 8991 // * 8992 // @brief xcb_get_selection_owner_cookie_t 8993 // 8994 type xcb_get_selection_owner_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2055:9 */ 8995 8996 // * 8997 // @brief xcb_get_selection_owner_cookie_t 8998 // 8999 type xcb_get_selection_owner_cookie_t = xcb_get_selection_owner_cookie_t1 /* xproto.h:2057:3 */ 9000 9001 //* Opcode for xcb_get_selection_owner. 9002 9003 // * 9004 // @brief xcb_get_selection_owner_request_t 9005 // 9006 type xcb_get_selection_owner_request_t1 = struct { 9007 Fmajor_opcode uint8_t 9008 Fpad0 uint8_t 9009 Flength uint16_t 9010 Fselection xcb_atom_t 9011 } /* xproto.h:2065:9 */ 9012 9013 //* Opcode for xcb_get_selection_owner. 9014 9015 // * 9016 // @brief xcb_get_selection_owner_request_t 9017 // 9018 type xcb_get_selection_owner_request_t = xcb_get_selection_owner_request_t1 /* xproto.h:2070:3 */ 9019 9020 // * 9021 // @brief xcb_get_selection_owner_reply_t 9022 // 9023 type xcb_get_selection_owner_reply_t1 = struct { 9024 Fresponse_type uint8_t 9025 Fpad0 uint8_t 9026 Fsequence uint16_t 9027 Flength uint32_t 9028 Fowner xcb_window_t 9029 } /* xproto.h:2075:9 */ 9030 9031 // * 9032 // @brief xcb_get_selection_owner_reply_t 9033 // 9034 type xcb_get_selection_owner_reply_t = xcb_get_selection_owner_reply_t1 /* xproto.h:2081:3 */ 9035 9036 //* Opcode for xcb_convert_selection. 9037 9038 // * 9039 // @brief xcb_convert_selection_request_t 9040 // 9041 type xcb_convert_selection_request_t1 = struct { 9042 Fmajor_opcode uint8_t 9043 Fpad0 uint8_t 9044 Flength uint16_t 9045 Frequestor xcb_window_t 9046 Fselection xcb_atom_t 9047 Ftarget xcb_atom_t 9048 Fproperty xcb_atom_t 9049 Ftime xcb_timestamp_t 9050 } /* xproto.h:2089:9 */ 9051 9052 //* Opcode for xcb_convert_selection. 9053 9054 // * 9055 // @brief xcb_convert_selection_request_t 9056 // 9057 type xcb_convert_selection_request_t = xcb_convert_selection_request_t1 /* xproto.h:2098:3 */ 9058 9059 type xcb_send_event_dest_t = uint32 /* xproto.h:2103:3 */ 9060 9061 //* Opcode for xcb_send_event. 9062 9063 // * 9064 // @brief xcb_send_event_request_t 9065 // 9066 type xcb_send_event_request_t1 = struct { 9067 Fmajor_opcode uint8_t 9068 Fpropagate uint8_t 9069 Flength uint16_t 9070 Fdestination xcb_window_t 9071 Fevent_mask uint32_t 9072 Fevent [32]int8 9073 } /* xproto.h:2111:9 */ 9074 9075 //* Opcode for xcb_send_event. 9076 9077 // * 9078 // @brief xcb_send_event_request_t 9079 // 9080 type xcb_send_event_request_t = xcb_send_event_request_t1 /* xproto.h:2118:3 */ 9081 9082 type xcb_grab_mode_t = uint32 /* xproto.h:2129:3 */ 9083 9084 type xcb_grab_status_t = uint32 /* xproto.h:2137:3 */ 9085 9086 type xcb_cursor_enum_t = uint32 /* xproto.h:2141:3 */ 9087 9088 // * 9089 // @brief xcb_grab_pointer_cookie_t 9090 // 9091 type xcb_grab_pointer_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2146:9 */ 9092 9093 // * 9094 // @brief xcb_grab_pointer_cookie_t 9095 // 9096 type xcb_grab_pointer_cookie_t = xcb_grab_pointer_cookie_t1 /* xproto.h:2148:3 */ 9097 9098 //* Opcode for xcb_grab_pointer. 9099 9100 // * 9101 // @brief xcb_grab_pointer_request_t 9102 // 9103 type xcb_grab_pointer_request_t1 = struct { 9104 Fmajor_opcode uint8_t 9105 Fowner_events uint8_t 9106 Flength uint16_t 9107 Fgrab_window xcb_window_t 9108 Fevent_mask uint16_t 9109 Fpointer_mode uint8_t 9110 Fkeyboard_mode uint8_t 9111 Fconfine_to xcb_window_t 9112 Fcursor xcb_cursor_t 9113 Ftime xcb_timestamp_t 9114 } /* xproto.h:2156:9 */ 9115 9116 //* Opcode for xcb_grab_pointer. 9117 9118 // * 9119 // @brief xcb_grab_pointer_request_t 9120 // 9121 type xcb_grab_pointer_request_t = xcb_grab_pointer_request_t1 /* xproto.h:2167:3 */ 9122 9123 // * 9124 // @brief xcb_grab_pointer_reply_t 9125 // 9126 type xcb_grab_pointer_reply_t1 = struct { 9127 Fresponse_type uint8_t 9128 Fstatus uint8_t 9129 Fsequence uint16_t 9130 Flength uint32_t 9131 } /* xproto.h:2172:9 */ 9132 9133 // * 9134 // @brief xcb_grab_pointer_reply_t 9135 // 9136 type xcb_grab_pointer_reply_t = xcb_grab_pointer_reply_t1 /* xproto.h:2177:3 */ 9137 9138 //* Opcode for xcb_ungrab_pointer. 9139 9140 // * 9141 // @brief xcb_ungrab_pointer_request_t 9142 // 9143 type xcb_ungrab_pointer_request_t1 = struct { 9144 Fmajor_opcode uint8_t 9145 Fpad0 uint8_t 9146 Flength uint16_t 9147 Ftime xcb_timestamp_t 9148 } /* xproto.h:2185:9 */ 9149 9150 //* Opcode for xcb_ungrab_pointer. 9151 9152 // * 9153 // @brief xcb_ungrab_pointer_request_t 9154 // 9155 type xcb_ungrab_pointer_request_t = xcb_ungrab_pointer_request_t1 /* xproto.h:2190:3 */ 9156 9157 type xcb_button_index_t = uint32 /* xproto.h:2211:3 */ 9158 9159 //* Opcode for xcb_grab_button. 9160 9161 // * 9162 // @brief xcb_grab_button_request_t 9163 // 9164 type xcb_grab_button_request_t1 = struct { 9165 Fmajor_opcode uint8_t 9166 Fowner_events uint8_t 9167 Flength uint16_t 9168 Fgrab_window xcb_window_t 9169 Fevent_mask uint16_t 9170 Fpointer_mode uint8_t 9171 Fkeyboard_mode uint8_t 9172 Fconfine_to xcb_window_t 9173 Fcursor xcb_cursor_t 9174 Fbutton uint8_t 9175 Fpad0 uint8_t 9176 Fmodifiers uint16_t 9177 } /* xproto.h:2219:9 */ 9178 9179 //* Opcode for xcb_grab_button. 9180 9181 // * 9182 // @brief xcb_grab_button_request_t 9183 // 9184 type xcb_grab_button_request_t = xcb_grab_button_request_t1 /* xproto.h:2232:3 */ 9185 9186 //* Opcode for xcb_ungrab_button. 9187 9188 // * 9189 // @brief xcb_ungrab_button_request_t 9190 // 9191 type xcb_ungrab_button_request_t1 = struct { 9192 Fmajor_opcode uint8_t 9193 Fbutton uint8_t 9194 Flength uint16_t 9195 Fgrab_window xcb_window_t 9196 Fmodifiers uint16_t 9197 Fpad0 [2]uint8_t 9198 } /* xproto.h:2240:9 */ 9199 9200 //* Opcode for xcb_ungrab_button. 9201 9202 // * 9203 // @brief xcb_ungrab_button_request_t 9204 // 9205 type xcb_ungrab_button_request_t = xcb_ungrab_button_request_t1 /* xproto.h:2247:3 */ 9206 9207 //* Opcode for xcb_change_active_pointer_grab. 9208 9209 // * 9210 // @brief xcb_change_active_pointer_grab_request_t 9211 // 9212 type xcb_change_active_pointer_grab_request_t1 = struct { 9213 Fmajor_opcode uint8_t 9214 Fpad0 uint8_t 9215 Flength uint16_t 9216 Fcursor xcb_cursor_t 9217 Ftime xcb_timestamp_t 9218 Fevent_mask uint16_t 9219 Fpad1 [2]uint8_t 9220 } /* xproto.h:2255:9 */ 9221 9222 //* Opcode for xcb_change_active_pointer_grab. 9223 9224 // * 9225 // @brief xcb_change_active_pointer_grab_request_t 9226 // 9227 type xcb_change_active_pointer_grab_request_t = xcb_change_active_pointer_grab_request_t1 /* xproto.h:2263:3 */ 9228 9229 // * 9230 // @brief xcb_grab_keyboard_cookie_t 9231 // 9232 type xcb_grab_keyboard_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2268:9 */ 9233 9234 // * 9235 // @brief xcb_grab_keyboard_cookie_t 9236 // 9237 type xcb_grab_keyboard_cookie_t = xcb_grab_keyboard_cookie_t1 /* xproto.h:2270:3 */ 9238 9239 //* Opcode for xcb_grab_keyboard. 9240 9241 // * 9242 // @brief xcb_grab_keyboard_request_t 9243 // 9244 type xcb_grab_keyboard_request_t1 = struct { 9245 Fmajor_opcode uint8_t 9246 Fowner_events uint8_t 9247 Flength uint16_t 9248 Fgrab_window xcb_window_t 9249 Ftime xcb_timestamp_t 9250 Fpointer_mode uint8_t 9251 Fkeyboard_mode uint8_t 9252 Fpad0 [2]uint8_t 9253 } /* xproto.h:2278:9 */ 9254 9255 //* Opcode for xcb_grab_keyboard. 9256 9257 // * 9258 // @brief xcb_grab_keyboard_request_t 9259 // 9260 type xcb_grab_keyboard_request_t = xcb_grab_keyboard_request_t1 /* xproto.h:2287:3 */ 9261 9262 // * 9263 // @brief xcb_grab_keyboard_reply_t 9264 // 9265 type xcb_grab_keyboard_reply_t1 = struct { 9266 Fresponse_type uint8_t 9267 Fstatus uint8_t 9268 Fsequence uint16_t 9269 Flength uint32_t 9270 } /* xproto.h:2292:9 */ 9271 9272 // * 9273 // @brief xcb_grab_keyboard_reply_t 9274 // 9275 type xcb_grab_keyboard_reply_t = xcb_grab_keyboard_reply_t1 /* xproto.h:2297:3 */ 9276 9277 //* Opcode for xcb_ungrab_keyboard. 9278 9279 // * 9280 // @brief xcb_ungrab_keyboard_request_t 9281 // 9282 type xcb_ungrab_keyboard_request_t1 = struct { 9283 Fmajor_opcode uint8_t 9284 Fpad0 uint8_t 9285 Flength uint16_t 9286 Ftime xcb_timestamp_t 9287 } /* xproto.h:2305:9 */ 9288 9289 //* Opcode for xcb_ungrab_keyboard. 9290 9291 // * 9292 // @brief xcb_ungrab_keyboard_request_t 9293 // 9294 type xcb_ungrab_keyboard_request_t = xcb_ungrab_keyboard_request_t1 /* xproto.h:2310:3 */ 9295 9296 type xcb_grab_t = uint32 /* xproto.h:2314:3 */ 9297 9298 //* Opcode for xcb_grab_key. 9299 9300 // * 9301 // @brief xcb_grab_key_request_t 9302 // 9303 type xcb_grab_key_request_t1 = struct { 9304 Fmajor_opcode uint8_t 9305 Fowner_events uint8_t 9306 Flength uint16_t 9307 Fgrab_window xcb_window_t 9308 Fmodifiers uint16_t 9309 Fkey xcb_keycode_t 9310 Fpointer_mode uint8_t 9311 Fkeyboard_mode uint8_t 9312 Fpad0 [3]uint8_t 9313 } /* xproto.h:2322:9 */ 9314 9315 //* Opcode for xcb_grab_key. 9316 9317 // * 9318 // @brief xcb_grab_key_request_t 9319 // 9320 type xcb_grab_key_request_t = xcb_grab_key_request_t1 /* xproto.h:2332:3 */ 9321 9322 //* Opcode for xcb_ungrab_key. 9323 9324 // * 9325 // @brief xcb_ungrab_key_request_t 9326 // 9327 type xcb_ungrab_key_request_t1 = struct { 9328 Fmajor_opcode uint8_t 9329 Fkey xcb_keycode_t 9330 Flength uint16_t 9331 Fgrab_window xcb_window_t 9332 Fmodifiers uint16_t 9333 Fpad0 [2]uint8_t 9334 } /* xproto.h:2340:9 */ 9335 9336 //* Opcode for xcb_ungrab_key. 9337 9338 // * 9339 // @brief xcb_ungrab_key_request_t 9340 // 9341 type xcb_ungrab_key_request_t = xcb_ungrab_key_request_t1 /* xproto.h:2347:3 */ 9342 9343 type xcb_allow_t = uint32 /* xproto.h:2423:3 */ 9344 9345 //* Opcode for xcb_allow_events. 9346 9347 // * 9348 // @brief xcb_allow_events_request_t 9349 // 9350 type xcb_allow_events_request_t1 = struct { 9351 Fmajor_opcode uint8_t 9352 Fmode uint8_t 9353 Flength uint16_t 9354 Ftime xcb_timestamp_t 9355 } /* xproto.h:2431:9 */ 9356 9357 //* Opcode for xcb_allow_events. 9358 9359 // * 9360 // @brief xcb_allow_events_request_t 9361 // 9362 type xcb_allow_events_request_t = xcb_allow_events_request_t1 /* xproto.h:2436:3 */ 9363 9364 //* Opcode for xcb_grab_server. 9365 9366 // * 9367 // @brief xcb_grab_server_request_t 9368 // 9369 type xcb_grab_server_request_t1 = struct { 9370 Fmajor_opcode uint8_t 9371 Fpad0 uint8_t 9372 Flength uint16_t 9373 } /* xproto.h:2444:9 */ 9374 9375 //* Opcode for xcb_grab_server. 9376 9377 // * 9378 // @brief xcb_grab_server_request_t 9379 // 9380 type xcb_grab_server_request_t = xcb_grab_server_request_t1 /* xproto.h:2448:3 */ 9381 9382 //* Opcode for xcb_ungrab_server. 9383 9384 // * 9385 // @brief xcb_ungrab_server_request_t 9386 // 9387 type xcb_ungrab_server_request_t1 = struct { 9388 Fmajor_opcode uint8_t 9389 Fpad0 uint8_t 9390 Flength uint16_t 9391 } /* xproto.h:2456:9 */ 9392 9393 //* Opcode for xcb_ungrab_server. 9394 9395 // * 9396 // @brief xcb_ungrab_server_request_t 9397 // 9398 type xcb_ungrab_server_request_t = xcb_ungrab_server_request_t1 /* xproto.h:2460:3 */ 9399 9400 // * 9401 // @brief xcb_query_pointer_cookie_t 9402 // 9403 type xcb_query_pointer_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2465:9 */ 9404 9405 // * 9406 // @brief xcb_query_pointer_cookie_t 9407 // 9408 type xcb_query_pointer_cookie_t = xcb_query_pointer_cookie_t1 /* xproto.h:2467:3 */ 9409 9410 //* Opcode for xcb_query_pointer. 9411 9412 // * 9413 // @brief xcb_query_pointer_request_t 9414 // 9415 type xcb_query_pointer_request_t1 = struct { 9416 Fmajor_opcode uint8_t 9417 Fpad0 uint8_t 9418 Flength uint16_t 9419 Fwindow xcb_window_t 9420 } /* xproto.h:2475:9 */ 9421 9422 //* Opcode for xcb_query_pointer. 9423 9424 // * 9425 // @brief xcb_query_pointer_request_t 9426 // 9427 type xcb_query_pointer_request_t = xcb_query_pointer_request_t1 /* xproto.h:2480:3 */ 9428 9429 // * 9430 // @brief xcb_query_pointer_reply_t 9431 // 9432 type xcb_query_pointer_reply_t1 = struct { 9433 Fresponse_type uint8_t 9434 Fsame_screen uint8_t 9435 Fsequence uint16_t 9436 Flength uint32_t 9437 Froot xcb_window_t 9438 Fchild xcb_window_t 9439 Froot_x int16_t 9440 Froot_y int16_t 9441 Fwin_x int16_t 9442 Fwin_y int16_t 9443 Fmask uint16_t 9444 Fpad0 [2]uint8_t 9445 } /* xproto.h:2485:9 */ 9446 9447 // * 9448 // @brief xcb_query_pointer_reply_t 9449 // 9450 type xcb_query_pointer_reply_t = xcb_query_pointer_reply_t1 /* xproto.h:2498:3 */ 9451 9452 // * 9453 // @brief xcb_timecoord_t 9454 // 9455 type xcb_timecoord_t1 = struct { 9456 Ftime xcb_timestamp_t 9457 Fx int16_t 9458 Fy int16_t 9459 } /* xproto.h:2503:9 */ 9460 9461 // * 9462 // @brief xcb_timecoord_t 9463 // 9464 type xcb_timecoord_t = xcb_timecoord_t1 /* xproto.h:2507:3 */ 9465 9466 // * 9467 // @brief xcb_timecoord_iterator_t 9468 // 9469 type xcb_timecoord_iterator_t1 = struct { 9470 Fdata uintptr 9471 Frem int32 9472 Findex int32 9473 } /* xproto.h:2512:9 */ 9474 9475 // * 9476 // @brief xcb_timecoord_iterator_t 9477 // 9478 type xcb_timecoord_iterator_t = xcb_timecoord_iterator_t1 /* xproto.h:2516:3 */ 9479 9480 // * 9481 // @brief xcb_get_motion_events_cookie_t 9482 // 9483 type xcb_get_motion_events_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2521:9 */ 9484 9485 // * 9486 // @brief xcb_get_motion_events_cookie_t 9487 // 9488 type xcb_get_motion_events_cookie_t = xcb_get_motion_events_cookie_t1 /* xproto.h:2523:3 */ 9489 9490 //* Opcode for xcb_get_motion_events. 9491 9492 // * 9493 // @brief xcb_get_motion_events_request_t 9494 // 9495 type xcb_get_motion_events_request_t1 = struct { 9496 Fmajor_opcode uint8_t 9497 Fpad0 uint8_t 9498 Flength uint16_t 9499 Fwindow xcb_window_t 9500 Fstart xcb_timestamp_t 9501 Fstop xcb_timestamp_t 9502 } /* xproto.h:2531:9 */ 9503 9504 //* Opcode for xcb_get_motion_events. 9505 9506 // * 9507 // @brief xcb_get_motion_events_request_t 9508 // 9509 type xcb_get_motion_events_request_t = xcb_get_motion_events_request_t1 /* xproto.h:2538:3 */ 9510 9511 // * 9512 // @brief xcb_get_motion_events_reply_t 9513 // 9514 type xcb_get_motion_events_reply_t1 = struct { 9515 Fresponse_type uint8_t 9516 Fpad0 uint8_t 9517 Fsequence uint16_t 9518 Flength uint32_t 9519 Fevents_len uint32_t 9520 Fpad1 [20]uint8_t 9521 } /* xproto.h:2543:9 */ 9522 9523 // * 9524 // @brief xcb_get_motion_events_reply_t 9525 // 9526 type xcb_get_motion_events_reply_t = xcb_get_motion_events_reply_t1 /* xproto.h:2550:3 */ 9527 9528 // * 9529 // @brief xcb_translate_coordinates_cookie_t 9530 // 9531 type xcb_translate_coordinates_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2555:9 */ 9532 9533 // * 9534 // @brief xcb_translate_coordinates_cookie_t 9535 // 9536 type xcb_translate_coordinates_cookie_t = xcb_translate_coordinates_cookie_t1 /* xproto.h:2557:3 */ 9537 9538 //* Opcode for xcb_translate_coordinates. 9539 9540 // * 9541 // @brief xcb_translate_coordinates_request_t 9542 // 9543 type xcb_translate_coordinates_request_t1 = struct { 9544 Fmajor_opcode uint8_t 9545 Fpad0 uint8_t 9546 Flength uint16_t 9547 Fsrc_window xcb_window_t 9548 Fdst_window xcb_window_t 9549 Fsrc_x int16_t 9550 Fsrc_y int16_t 9551 } /* xproto.h:2565:9 */ 9552 9553 //* Opcode for xcb_translate_coordinates. 9554 9555 // * 9556 // @brief xcb_translate_coordinates_request_t 9557 // 9558 type xcb_translate_coordinates_request_t = xcb_translate_coordinates_request_t1 /* xproto.h:2573:3 */ 9559 9560 // * 9561 // @brief xcb_translate_coordinates_reply_t 9562 // 9563 type xcb_translate_coordinates_reply_t1 = struct { 9564 Fresponse_type uint8_t 9565 Fsame_screen uint8_t 9566 Fsequence uint16_t 9567 Flength uint32_t 9568 Fchild xcb_window_t 9569 Fdst_x int16_t 9570 Fdst_y int16_t 9571 } /* xproto.h:2578:9 */ 9572 9573 // * 9574 // @brief xcb_translate_coordinates_reply_t 9575 // 9576 type xcb_translate_coordinates_reply_t = xcb_translate_coordinates_reply_t1 /* xproto.h:2586:3 */ 9577 9578 //* Opcode for xcb_warp_pointer. 9579 9580 // * 9581 // @brief xcb_warp_pointer_request_t 9582 // 9583 type xcb_warp_pointer_request_t1 = struct { 9584 Fmajor_opcode uint8_t 9585 Fpad0 uint8_t 9586 Flength uint16_t 9587 Fsrc_window xcb_window_t 9588 Fdst_window xcb_window_t 9589 Fsrc_x int16_t 9590 Fsrc_y int16_t 9591 Fsrc_width uint16_t 9592 Fsrc_height uint16_t 9593 Fdst_x int16_t 9594 Fdst_y int16_t 9595 } /* xproto.h:2594:9 */ 9596 9597 //* Opcode for xcb_warp_pointer. 9598 9599 // * 9600 // @brief xcb_warp_pointer_request_t 9601 // 9602 type xcb_warp_pointer_request_t = xcb_warp_pointer_request_t1 /* xproto.h:2606:3 */ 9603 9604 type xcb_input_focus_t = uint32 /* xproto.h:2624:3 */ 9605 9606 //* Opcode for xcb_set_input_focus. 9607 9608 // * 9609 // @brief xcb_set_input_focus_request_t 9610 // 9611 type xcb_set_input_focus_request_t1 = struct { 9612 Fmajor_opcode uint8_t 9613 Frevert_to uint8_t 9614 Flength uint16_t 9615 Ffocus xcb_window_t 9616 Ftime xcb_timestamp_t 9617 } /* xproto.h:2632:9 */ 9618 9619 //* Opcode for xcb_set_input_focus. 9620 9621 // * 9622 // @brief xcb_set_input_focus_request_t 9623 // 9624 type xcb_set_input_focus_request_t = xcb_set_input_focus_request_t1 /* xproto.h:2638:3 */ 9625 9626 // * 9627 // @brief xcb_get_input_focus_cookie_t 9628 // 9629 type xcb_get_input_focus_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2643:9 */ 9630 9631 // * 9632 // @brief xcb_get_input_focus_cookie_t 9633 // 9634 type xcb_get_input_focus_cookie_t = xcb_get_input_focus_cookie_t1 /* xproto.h:2645:3 */ 9635 9636 //* Opcode for xcb_get_input_focus. 9637 9638 // * 9639 // @brief xcb_get_input_focus_request_t 9640 // 9641 type xcb_get_input_focus_request_t1 = struct { 9642 Fmajor_opcode uint8_t 9643 Fpad0 uint8_t 9644 Flength uint16_t 9645 } /* xproto.h:2653:9 */ 9646 9647 //* Opcode for xcb_get_input_focus. 9648 9649 // * 9650 // @brief xcb_get_input_focus_request_t 9651 // 9652 type xcb_get_input_focus_request_t = xcb_get_input_focus_request_t1 /* xproto.h:2657:3 */ 9653 9654 // * 9655 // @brief xcb_get_input_focus_reply_t 9656 // 9657 type xcb_get_input_focus_reply_t1 = struct { 9658 Fresponse_type uint8_t 9659 Frevert_to uint8_t 9660 Fsequence uint16_t 9661 Flength uint32_t 9662 Ffocus xcb_window_t 9663 } /* xproto.h:2662:9 */ 9664 9665 // * 9666 // @brief xcb_get_input_focus_reply_t 9667 // 9668 type xcb_get_input_focus_reply_t = xcb_get_input_focus_reply_t1 /* xproto.h:2668:3 */ 9669 9670 // * 9671 // @brief xcb_query_keymap_cookie_t 9672 // 9673 type xcb_query_keymap_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2673:9 */ 9674 9675 // * 9676 // @brief xcb_query_keymap_cookie_t 9677 // 9678 type xcb_query_keymap_cookie_t = xcb_query_keymap_cookie_t1 /* xproto.h:2675:3 */ 9679 9680 //* Opcode for xcb_query_keymap. 9681 9682 // * 9683 // @brief xcb_query_keymap_request_t 9684 // 9685 type xcb_query_keymap_request_t1 = struct { 9686 Fmajor_opcode uint8_t 9687 Fpad0 uint8_t 9688 Flength uint16_t 9689 } /* xproto.h:2683:9 */ 9690 9691 //* Opcode for xcb_query_keymap. 9692 9693 // * 9694 // @brief xcb_query_keymap_request_t 9695 // 9696 type xcb_query_keymap_request_t = xcb_query_keymap_request_t1 /* xproto.h:2687:3 */ 9697 9698 // * 9699 // @brief xcb_query_keymap_reply_t 9700 // 9701 type xcb_query_keymap_reply_t1 = struct { 9702 Fresponse_type uint8_t 9703 Fpad0 uint8_t 9704 Fsequence uint16_t 9705 Flength uint32_t 9706 Fkeys [32]uint8_t 9707 } /* xproto.h:2692:9 */ 9708 9709 // * 9710 // @brief xcb_query_keymap_reply_t 9711 // 9712 type xcb_query_keymap_reply_t = xcb_query_keymap_reply_t1 /* xproto.h:2698:3 */ 9713 9714 //* Opcode for xcb_open_font. 9715 9716 // * 9717 // @brief xcb_open_font_request_t 9718 // 9719 type xcb_open_font_request_t1 = struct { 9720 Fmajor_opcode uint8_t 9721 Fpad0 uint8_t 9722 Flength uint16_t 9723 Ffid xcb_font_t 9724 Fname_len uint16_t 9725 Fpad1 [2]uint8_t 9726 } /* xproto.h:2706:9 */ 9727 9728 //* Opcode for xcb_open_font. 9729 9730 // * 9731 // @brief xcb_open_font_request_t 9732 // 9733 type xcb_open_font_request_t = xcb_open_font_request_t1 /* xproto.h:2713:3 */ 9734 9735 //* Opcode for xcb_close_font. 9736 9737 // * 9738 // @brief xcb_close_font_request_t 9739 // 9740 type xcb_close_font_request_t1 = struct { 9741 Fmajor_opcode uint8_t 9742 Fpad0 uint8_t 9743 Flength uint16_t 9744 Ffont xcb_font_t 9745 } /* xproto.h:2721:9 */ 9746 9747 //* Opcode for xcb_close_font. 9748 9749 // * 9750 // @brief xcb_close_font_request_t 9751 // 9752 type xcb_close_font_request_t = xcb_close_font_request_t1 /* xproto.h:2726:3 */ 9753 9754 type xcb_font_draw_t = uint32 /* xproto.h:2731:3 */ 9755 9756 // * 9757 // @brief xcb_fontprop_t 9758 // 9759 type xcb_fontprop_t1 = struct { 9760 Fname xcb_atom_t 9761 Fvalue uint32_t 9762 } /* xproto.h:2736:9 */ 9763 9764 // * 9765 // @brief xcb_fontprop_t 9766 // 9767 type xcb_fontprop_t = xcb_fontprop_t1 /* xproto.h:2739:3 */ 9768 9769 // * 9770 // @brief xcb_fontprop_iterator_t 9771 // 9772 type xcb_fontprop_iterator_t1 = struct { 9773 Fdata uintptr 9774 Frem int32 9775 Findex int32 9776 } /* xproto.h:2744:9 */ 9777 9778 // * 9779 // @brief xcb_fontprop_iterator_t 9780 // 9781 type xcb_fontprop_iterator_t = xcb_fontprop_iterator_t1 /* xproto.h:2748:3 */ 9782 9783 // * 9784 // @brief xcb_charinfo_t 9785 // 9786 type xcb_charinfo_t1 = struct { 9787 Fleft_side_bearing int16_t 9788 Fright_side_bearing int16_t 9789 Fcharacter_width int16_t 9790 Fascent int16_t 9791 Fdescent int16_t 9792 Fattributes uint16_t 9793 } /* xproto.h:2753:9 */ 9794 9795 // * 9796 // @brief xcb_charinfo_t 9797 // 9798 type xcb_charinfo_t = xcb_charinfo_t1 /* xproto.h:2760:3 */ 9799 9800 // * 9801 // @brief xcb_charinfo_iterator_t 9802 // 9803 type xcb_charinfo_iterator_t1 = struct { 9804 Fdata uintptr 9805 Frem int32 9806 Findex int32 9807 } /* xproto.h:2765:9 */ 9808 9809 // * 9810 // @brief xcb_charinfo_iterator_t 9811 // 9812 type xcb_charinfo_iterator_t = xcb_charinfo_iterator_t1 /* xproto.h:2769:3 */ 9813 9814 // * 9815 // @brief xcb_query_font_cookie_t 9816 // 9817 type xcb_query_font_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2774:9 */ 9818 9819 // * 9820 // @brief xcb_query_font_cookie_t 9821 // 9822 type xcb_query_font_cookie_t = xcb_query_font_cookie_t1 /* xproto.h:2776:3 */ 9823 9824 //* Opcode for xcb_query_font. 9825 9826 // * 9827 // @brief xcb_query_font_request_t 9828 // 9829 type xcb_query_font_request_t1 = struct { 9830 Fmajor_opcode uint8_t 9831 Fpad0 uint8_t 9832 Flength uint16_t 9833 Ffont xcb_fontable_t 9834 } /* xproto.h:2784:9 */ 9835 9836 //* Opcode for xcb_query_font. 9837 9838 // * 9839 // @brief xcb_query_font_request_t 9840 // 9841 type xcb_query_font_request_t = xcb_query_font_request_t1 /* xproto.h:2789:3 */ 9842 9843 // * 9844 // @brief xcb_query_font_reply_t 9845 // 9846 type xcb_query_font_reply_t1 = struct { 9847 Fresponse_type uint8_t 9848 Fpad0 uint8_t 9849 Fsequence uint16_t 9850 Flength uint32_t 9851 Fmin_bounds xcb_charinfo_t 9852 Fpad1 [4]uint8_t 9853 Fmax_bounds xcb_charinfo_t 9854 Fpad2 [4]uint8_t 9855 Fmin_char_or_byte2 uint16_t 9856 Fmax_char_or_byte2 uint16_t 9857 Fdefault_char uint16_t 9858 Fproperties_len uint16_t 9859 Fdraw_direction uint8_t 9860 Fmin_byte1 uint8_t 9861 Fmax_byte1 uint8_t 9862 Fall_chars_exist uint8_t 9863 Ffont_ascent int16_t 9864 Ffont_descent int16_t 9865 Fchar_infos_len uint32_t 9866 } /* xproto.h:2794:9 */ 9867 9868 // * 9869 // @brief xcb_query_font_reply_t 9870 // 9871 type xcb_query_font_reply_t = xcb_query_font_reply_t1 /* xproto.h:2814:3 */ 9872 9873 // * 9874 // @brief xcb_query_text_extents_cookie_t 9875 // 9876 type xcb_query_text_extents_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2819:9 */ 9877 9878 // * 9879 // @brief xcb_query_text_extents_cookie_t 9880 // 9881 type xcb_query_text_extents_cookie_t = xcb_query_text_extents_cookie_t1 /* xproto.h:2821:3 */ 9882 9883 //* Opcode for xcb_query_text_extents. 9884 9885 // * 9886 // @brief xcb_query_text_extents_request_t 9887 // 9888 type xcb_query_text_extents_request_t1 = struct { 9889 Fmajor_opcode uint8_t 9890 Fodd_length uint8_t 9891 Flength uint16_t 9892 Ffont xcb_fontable_t 9893 } /* xproto.h:2829:9 */ 9894 9895 //* Opcode for xcb_query_text_extents. 9896 9897 // * 9898 // @brief xcb_query_text_extents_request_t 9899 // 9900 type xcb_query_text_extents_request_t = xcb_query_text_extents_request_t1 /* xproto.h:2834:3 */ 9901 9902 // * 9903 // @brief xcb_query_text_extents_reply_t 9904 // 9905 type xcb_query_text_extents_reply_t1 = struct { 9906 Fresponse_type uint8_t 9907 Fdraw_direction uint8_t 9908 Fsequence uint16_t 9909 Flength uint32_t 9910 Ffont_ascent int16_t 9911 Ffont_descent int16_t 9912 Foverall_ascent int16_t 9913 Foverall_descent int16_t 9914 Foverall_width int32_t 9915 Foverall_left int32_t 9916 Foverall_right int32_t 9917 } /* xproto.h:2839:9 */ 9918 9919 // * 9920 // @brief xcb_query_text_extents_reply_t 9921 // 9922 type xcb_query_text_extents_reply_t = xcb_query_text_extents_reply_t1 /* xproto.h:2851:3 */ 9923 9924 // * 9925 // @brief xcb_str_t 9926 // 9927 type xcb_str_t1 = struct{ Fname_len uint8_t } /* xproto.h:2856:9 */ 9928 9929 // * 9930 // @brief xcb_str_t 9931 // 9932 type xcb_str_t = xcb_str_t1 /* xproto.h:2858:3 */ 9933 9934 // * 9935 // @brief xcb_str_iterator_t 9936 // 9937 type xcb_str_iterator_t1 = struct { 9938 Fdata uintptr 9939 Frem int32 9940 Findex int32 9941 } /* xproto.h:2863:9 */ 9942 9943 // * 9944 // @brief xcb_str_iterator_t 9945 // 9946 type xcb_str_iterator_t = xcb_str_iterator_t1 /* xproto.h:2867:3 */ 9947 9948 // * 9949 // @brief xcb_list_fonts_cookie_t 9950 // 9951 type xcb_list_fonts_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2872:9 */ 9952 9953 // * 9954 // @brief xcb_list_fonts_cookie_t 9955 // 9956 type xcb_list_fonts_cookie_t = xcb_list_fonts_cookie_t1 /* xproto.h:2874:3 */ 9957 9958 //* Opcode for xcb_list_fonts. 9959 9960 // * 9961 // @brief xcb_list_fonts_request_t 9962 // 9963 type xcb_list_fonts_request_t1 = struct { 9964 Fmajor_opcode uint8_t 9965 Fpad0 uint8_t 9966 Flength uint16_t 9967 Fmax_names uint16_t 9968 Fpattern_len uint16_t 9969 } /* xproto.h:2882:9 */ 9970 9971 //* Opcode for xcb_list_fonts. 9972 9973 // * 9974 // @brief xcb_list_fonts_request_t 9975 // 9976 type xcb_list_fonts_request_t = xcb_list_fonts_request_t1 /* xproto.h:2888:3 */ 9977 9978 // * 9979 // @brief xcb_list_fonts_reply_t 9980 // 9981 type xcb_list_fonts_reply_t1 = struct { 9982 Fresponse_type uint8_t 9983 Fpad0 uint8_t 9984 Fsequence uint16_t 9985 Flength uint32_t 9986 Fnames_len uint16_t 9987 Fpad1 [22]uint8_t 9988 } /* xproto.h:2893:9 */ 9989 9990 // * 9991 // @brief xcb_list_fonts_reply_t 9992 // 9993 type xcb_list_fonts_reply_t = xcb_list_fonts_reply_t1 /* xproto.h:2900:3 */ 9994 9995 // * 9996 // @brief xcb_list_fonts_with_info_cookie_t 9997 // 9998 type xcb_list_fonts_with_info_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2905:9 */ 9999 10000 // * 10001 // @brief xcb_list_fonts_with_info_cookie_t 10002 // 10003 type xcb_list_fonts_with_info_cookie_t = xcb_list_fonts_with_info_cookie_t1 /* xproto.h:2907:3 */ 10004 10005 //* Opcode for xcb_list_fonts_with_info. 10006 10007 // * 10008 // @brief xcb_list_fonts_with_info_request_t 10009 // 10010 type xcb_list_fonts_with_info_request_t1 = struct { 10011 Fmajor_opcode uint8_t 10012 Fpad0 uint8_t 10013 Flength uint16_t 10014 Fmax_names uint16_t 10015 Fpattern_len uint16_t 10016 } /* xproto.h:2915:9 */ 10017 10018 //* Opcode for xcb_list_fonts_with_info. 10019 10020 // * 10021 // @brief xcb_list_fonts_with_info_request_t 10022 // 10023 type xcb_list_fonts_with_info_request_t = xcb_list_fonts_with_info_request_t1 /* xproto.h:2921:3 */ 10024 10025 // * 10026 // @brief xcb_list_fonts_with_info_reply_t 10027 // 10028 type xcb_list_fonts_with_info_reply_t1 = struct { 10029 Fresponse_type uint8_t 10030 Fname_len uint8_t 10031 Fsequence uint16_t 10032 Flength uint32_t 10033 Fmin_bounds xcb_charinfo_t 10034 Fpad0 [4]uint8_t 10035 Fmax_bounds xcb_charinfo_t 10036 Fpad1 [4]uint8_t 10037 Fmin_char_or_byte2 uint16_t 10038 Fmax_char_or_byte2 uint16_t 10039 Fdefault_char uint16_t 10040 Fproperties_len uint16_t 10041 Fdraw_direction uint8_t 10042 Fmin_byte1 uint8_t 10043 Fmax_byte1 uint8_t 10044 Fall_chars_exist uint8_t 10045 Ffont_ascent int16_t 10046 Ffont_descent int16_t 10047 Freplies_hint uint32_t 10048 } /* xproto.h:2926:9 */ 10049 10050 // * 10051 // @brief xcb_list_fonts_with_info_reply_t 10052 // 10053 type xcb_list_fonts_with_info_reply_t = xcb_list_fonts_with_info_reply_t1 /* xproto.h:2946:3 */ 10054 10055 //* Opcode for xcb_set_font_path. 10056 10057 // * 10058 // @brief xcb_set_font_path_request_t 10059 // 10060 type xcb_set_font_path_request_t1 = struct { 10061 Fmajor_opcode uint8_t 10062 Fpad0 uint8_t 10063 Flength uint16_t 10064 Ffont_qty uint16_t 10065 Fpad1 [2]uint8_t 10066 } /* xproto.h:2954:9 */ 10067 10068 //* Opcode for xcb_set_font_path. 10069 10070 // * 10071 // @brief xcb_set_font_path_request_t 10072 // 10073 type xcb_set_font_path_request_t = xcb_set_font_path_request_t1 /* xproto.h:2960:3 */ 10074 10075 // * 10076 // @brief xcb_get_font_path_cookie_t 10077 // 10078 type xcb_get_font_path_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2965:9 */ 10079 10080 // * 10081 // @brief xcb_get_font_path_cookie_t 10082 // 10083 type xcb_get_font_path_cookie_t = xcb_get_font_path_cookie_t1 /* xproto.h:2967:3 */ 10084 10085 //* Opcode for xcb_get_font_path. 10086 10087 // * 10088 // @brief xcb_get_font_path_request_t 10089 // 10090 type xcb_get_font_path_request_t1 = struct { 10091 Fmajor_opcode uint8_t 10092 Fpad0 uint8_t 10093 Flength uint16_t 10094 } /* xproto.h:2975:9 */ 10095 10096 //* Opcode for xcb_get_font_path. 10097 10098 // * 10099 // @brief xcb_get_font_path_request_t 10100 // 10101 type xcb_get_font_path_request_t = xcb_get_font_path_request_t1 /* xproto.h:2979:3 */ 10102 10103 // * 10104 // @brief xcb_get_font_path_reply_t 10105 // 10106 type xcb_get_font_path_reply_t1 = struct { 10107 Fresponse_type uint8_t 10108 Fpad0 uint8_t 10109 Fsequence uint16_t 10110 Flength uint32_t 10111 Fpath_len uint16_t 10112 Fpad1 [22]uint8_t 10113 } /* xproto.h:2984:9 */ 10114 10115 // * 10116 // @brief xcb_get_font_path_reply_t 10117 // 10118 type xcb_get_font_path_reply_t = xcb_get_font_path_reply_t1 /* xproto.h:2991:3 */ 10119 10120 //* Opcode for xcb_create_pixmap. 10121 10122 // * 10123 // @brief xcb_create_pixmap_request_t 10124 // 10125 type xcb_create_pixmap_request_t1 = struct { 10126 Fmajor_opcode uint8_t 10127 Fdepth uint8_t 10128 Flength uint16_t 10129 Fpid xcb_pixmap_t 10130 Fdrawable xcb_drawable_t 10131 Fwidth uint16_t 10132 Fheight uint16_t 10133 } /* xproto.h:2999:9 */ 10134 10135 //* Opcode for xcb_create_pixmap. 10136 10137 // * 10138 // @brief xcb_create_pixmap_request_t 10139 // 10140 type xcb_create_pixmap_request_t = xcb_create_pixmap_request_t1 /* xproto.h:3007:3 */ 10141 10142 //* Opcode for xcb_free_pixmap. 10143 10144 // * 10145 // @brief xcb_free_pixmap_request_t 10146 // 10147 type xcb_free_pixmap_request_t1 = struct { 10148 Fmajor_opcode uint8_t 10149 Fpad0 uint8_t 10150 Flength uint16_t 10151 Fpixmap xcb_pixmap_t 10152 } /* xproto.h:3015:9 */ 10153 10154 //* Opcode for xcb_free_pixmap. 10155 10156 // * 10157 // @brief xcb_free_pixmap_request_t 10158 // 10159 type xcb_free_pixmap_request_t = xcb_free_pixmap_request_t1 /* xproto.h:3020:3 */ 10160 10161 type xcb_gc_t = uint32 /* xproto.h:3169:3 */ 10162 10163 type xcb_gx_t = uint32 /* xproto.h:3188:3 */ 10164 10165 type xcb_line_style_t = uint32 /* xproto.h:3194:3 */ 10166 10167 type xcb_cap_style_t = uint32 /* xproto.h:3201:3 */ 10168 10169 type xcb_join_style_t = uint32 /* xproto.h:3207:3 */ 10170 10171 type xcb_fill_style_t = uint32 /* xproto.h:3214:3 */ 10172 10173 type xcb_fill_rule_t = uint32 /* xproto.h:3219:3 */ 10174 10175 type xcb_subwindow_mode_t = uint32 /* xproto.h:3224:3 */ 10176 10177 type xcb_arc_mode_t = uint32 /* xproto.h:3229:3 */ 10178 10179 // * 10180 // @brief xcb_create_gc_value_list_t 10181 // 10182 type xcb_create_gc_value_list_t1 = struct { 10183 Ffunction uint32_t 10184 Fplane_mask uint32_t 10185 Fforeground uint32_t 10186 Fbackground uint32_t 10187 Fline_width uint32_t 10188 Fline_style uint32_t 10189 Fcap_style uint32_t 10190 Fjoin_style uint32_t 10191 Ffill_style uint32_t 10192 Ffill_rule uint32_t 10193 Ftile xcb_pixmap_t 10194 Fstipple xcb_pixmap_t 10195 Ftile_stipple_x_origin int32_t 10196 Ftile_stipple_y_origin int32_t 10197 Ffont xcb_font_t 10198 Fsubwindow_mode uint32_t 10199 Fgraphics_exposures xcb_bool32_t 10200 Fclip_x_origin int32_t 10201 Fclip_y_origin int32_t 10202 Fclip_mask xcb_pixmap_t 10203 Fdash_offset uint32_t 10204 Fdashes uint32_t 10205 Farc_mode uint32_t 10206 } /* xproto.h:3234:9 */ 10207 10208 // * 10209 // @brief xcb_create_gc_value_list_t 10210 // 10211 type xcb_create_gc_value_list_t = xcb_create_gc_value_list_t1 /* xproto.h:3258:3 */ 10212 10213 //* Opcode for xcb_create_gc. 10214 10215 // * 10216 // @brief xcb_create_gc_request_t 10217 // 10218 type xcb_create_gc_request_t1 = struct { 10219 Fmajor_opcode uint8_t 10220 Fpad0 uint8_t 10221 Flength uint16_t 10222 Fcid xcb_gcontext_t 10223 Fdrawable xcb_drawable_t 10224 Fvalue_mask uint32_t 10225 } /* xproto.h:3266:9 */ 10226 10227 //* Opcode for xcb_create_gc. 10228 10229 // * 10230 // @brief xcb_create_gc_request_t 10231 // 10232 type xcb_create_gc_request_t = xcb_create_gc_request_t1 /* xproto.h:3273:3 */ 10233 10234 // * 10235 // @brief xcb_change_gc_value_list_t 10236 // 10237 type xcb_change_gc_value_list_t1 = struct { 10238 Ffunction uint32_t 10239 Fplane_mask uint32_t 10240 Fforeground uint32_t 10241 Fbackground uint32_t 10242 Fline_width uint32_t 10243 Fline_style uint32_t 10244 Fcap_style uint32_t 10245 Fjoin_style uint32_t 10246 Ffill_style uint32_t 10247 Ffill_rule uint32_t 10248 Ftile xcb_pixmap_t 10249 Fstipple xcb_pixmap_t 10250 Ftile_stipple_x_origin int32_t 10251 Ftile_stipple_y_origin int32_t 10252 Ffont xcb_font_t 10253 Fsubwindow_mode uint32_t 10254 Fgraphics_exposures xcb_bool32_t 10255 Fclip_x_origin int32_t 10256 Fclip_y_origin int32_t 10257 Fclip_mask xcb_pixmap_t 10258 Fdash_offset uint32_t 10259 Fdashes uint32_t 10260 Farc_mode uint32_t 10261 } /* xproto.h:3278:9 */ 10262 10263 // * 10264 // @brief xcb_change_gc_value_list_t 10265 // 10266 type xcb_change_gc_value_list_t = xcb_change_gc_value_list_t1 /* xproto.h:3302:3 */ 10267 10268 //* Opcode for xcb_change_gc. 10269 10270 // * 10271 // @brief xcb_change_gc_request_t 10272 // 10273 type xcb_change_gc_request_t1 = struct { 10274 Fmajor_opcode uint8_t 10275 Fpad0 uint8_t 10276 Flength uint16_t 10277 Fgc xcb_gcontext_t 10278 Fvalue_mask uint32_t 10279 } /* xproto.h:3310:9 */ 10280 10281 //* Opcode for xcb_change_gc. 10282 10283 // * 10284 // @brief xcb_change_gc_request_t 10285 // 10286 type xcb_change_gc_request_t = xcb_change_gc_request_t1 /* xproto.h:3316:3 */ 10287 10288 //* Opcode for xcb_copy_gc. 10289 10290 // * 10291 // @brief xcb_copy_gc_request_t 10292 // 10293 type xcb_copy_gc_request_t1 = struct { 10294 Fmajor_opcode uint8_t 10295 Fpad0 uint8_t 10296 Flength uint16_t 10297 Fsrc_gc xcb_gcontext_t 10298 Fdst_gc xcb_gcontext_t 10299 Fvalue_mask uint32_t 10300 } /* xproto.h:3324:9 */ 10301 10302 //* Opcode for xcb_copy_gc. 10303 10304 // * 10305 // @brief xcb_copy_gc_request_t 10306 // 10307 type xcb_copy_gc_request_t = xcb_copy_gc_request_t1 /* xproto.h:3331:3 */ 10308 10309 //* Opcode for xcb_set_dashes. 10310 10311 // * 10312 // @brief xcb_set_dashes_request_t 10313 // 10314 type xcb_set_dashes_request_t1 = struct { 10315 Fmajor_opcode uint8_t 10316 Fpad0 uint8_t 10317 Flength uint16_t 10318 Fgc xcb_gcontext_t 10319 Fdash_offset uint16_t 10320 Fdashes_len uint16_t 10321 } /* xproto.h:3339:9 */ 10322 10323 //* Opcode for xcb_set_dashes. 10324 10325 // * 10326 // @brief xcb_set_dashes_request_t 10327 // 10328 type xcb_set_dashes_request_t = xcb_set_dashes_request_t1 /* xproto.h:3346:3 */ 10329 10330 type xcb_clip_ordering_t = uint32 /* xproto.h:3353:3 */ 10331 10332 //* Opcode for xcb_set_clip_rectangles. 10333 10334 // * 10335 // @brief xcb_set_clip_rectangles_request_t 10336 // 10337 type xcb_set_clip_rectangles_request_t1 = struct { 10338 Fmajor_opcode uint8_t 10339 Fordering uint8_t 10340 Flength uint16_t 10341 Fgc xcb_gcontext_t 10342 Fclip_x_origin int16_t 10343 Fclip_y_origin int16_t 10344 } /* xproto.h:3361:9 */ 10345 10346 //* Opcode for xcb_set_clip_rectangles. 10347 10348 // * 10349 // @brief xcb_set_clip_rectangles_request_t 10350 // 10351 type xcb_set_clip_rectangles_request_t = xcb_set_clip_rectangles_request_t1 /* xproto.h:3368:3 */ 10352 10353 //* Opcode for xcb_free_gc. 10354 10355 // * 10356 // @brief xcb_free_gc_request_t 10357 // 10358 type xcb_free_gc_request_t1 = struct { 10359 Fmajor_opcode uint8_t 10360 Fpad0 uint8_t 10361 Flength uint16_t 10362 Fgc xcb_gcontext_t 10363 } /* xproto.h:3376:9 */ 10364 10365 //* Opcode for xcb_free_gc. 10366 10367 // * 10368 // @brief xcb_free_gc_request_t 10369 // 10370 type xcb_free_gc_request_t = xcb_free_gc_request_t1 /* xproto.h:3381:3 */ 10371 10372 //* Opcode for xcb_clear_area. 10373 10374 // * 10375 // @brief xcb_clear_area_request_t 10376 // 10377 type xcb_clear_area_request_t1 = struct { 10378 Fmajor_opcode uint8_t 10379 Fexposures uint8_t 10380 Flength uint16_t 10381 Fwindow xcb_window_t 10382 Fx int16_t 10383 Fy int16_t 10384 Fwidth uint16_t 10385 Fheight uint16_t 10386 } /* xproto.h:3389:9 */ 10387 10388 //* Opcode for xcb_clear_area. 10389 10390 // * 10391 // @brief xcb_clear_area_request_t 10392 // 10393 type xcb_clear_area_request_t = xcb_clear_area_request_t1 /* xproto.h:3398:3 */ 10394 10395 //* Opcode for xcb_copy_area. 10396 10397 // * 10398 // @brief xcb_copy_area_request_t 10399 // 10400 type xcb_copy_area_request_t1 = struct { 10401 Fmajor_opcode uint8_t 10402 Fpad0 uint8_t 10403 Flength uint16_t 10404 Fsrc_drawable xcb_drawable_t 10405 Fdst_drawable xcb_drawable_t 10406 Fgc xcb_gcontext_t 10407 Fsrc_x int16_t 10408 Fsrc_y int16_t 10409 Fdst_x int16_t 10410 Fdst_y int16_t 10411 Fwidth uint16_t 10412 Fheight uint16_t 10413 } /* xproto.h:3406:9 */ 10414 10415 //* Opcode for xcb_copy_area. 10416 10417 // * 10418 // @brief xcb_copy_area_request_t 10419 // 10420 type xcb_copy_area_request_t = xcb_copy_area_request_t1 /* xproto.h:3419:3 */ 10421 10422 //* Opcode for xcb_copy_plane. 10423 10424 // * 10425 // @brief xcb_copy_plane_request_t 10426 // 10427 type xcb_copy_plane_request_t1 = struct { 10428 Fmajor_opcode uint8_t 10429 Fpad0 uint8_t 10430 Flength uint16_t 10431 Fsrc_drawable xcb_drawable_t 10432 Fdst_drawable xcb_drawable_t 10433 Fgc xcb_gcontext_t 10434 Fsrc_x int16_t 10435 Fsrc_y int16_t 10436 Fdst_x int16_t 10437 Fdst_y int16_t 10438 Fwidth uint16_t 10439 Fheight uint16_t 10440 Fbit_plane uint32_t 10441 } /* xproto.h:3427:9 */ 10442 10443 //* Opcode for xcb_copy_plane. 10444 10445 // * 10446 // @brief xcb_copy_plane_request_t 10447 // 10448 type xcb_copy_plane_request_t = xcb_copy_plane_request_t1 /* xproto.h:3441:3 */ 10449 10450 type xcb_coord_mode_t = uint32 /* xproto.h:3450:3 */ 10451 10452 //* Opcode for xcb_poly_point. 10453 10454 // * 10455 // @brief xcb_poly_point_request_t 10456 // 10457 type xcb_poly_point_request_t1 = struct { 10458 Fmajor_opcode uint8_t 10459 Fcoordinate_mode uint8_t 10460 Flength uint16_t 10461 Fdrawable xcb_drawable_t 10462 Fgc xcb_gcontext_t 10463 } /* xproto.h:3458:9 */ 10464 10465 //* Opcode for xcb_poly_point. 10466 10467 // * 10468 // @brief xcb_poly_point_request_t 10469 // 10470 type xcb_poly_point_request_t = xcb_poly_point_request_t1 /* xproto.h:3464:3 */ 10471 10472 //* Opcode for xcb_poly_line. 10473 10474 // * 10475 // @brief xcb_poly_line_request_t 10476 // 10477 type xcb_poly_line_request_t1 = struct { 10478 Fmajor_opcode uint8_t 10479 Fcoordinate_mode uint8_t 10480 Flength uint16_t 10481 Fdrawable xcb_drawable_t 10482 Fgc xcb_gcontext_t 10483 } /* xproto.h:3472:9 */ 10484 10485 //* Opcode for xcb_poly_line. 10486 10487 // * 10488 // @brief xcb_poly_line_request_t 10489 // 10490 type xcb_poly_line_request_t = xcb_poly_line_request_t1 /* xproto.h:3478:3 */ 10491 10492 // * 10493 // @brief xcb_segment_t 10494 // 10495 type xcb_segment_t1 = struct { 10496 Fx1 int16_t 10497 Fy1 int16_t 10498 Fx2 int16_t 10499 Fy2 int16_t 10500 } /* xproto.h:3483:9 */ 10501 10502 // * 10503 // @brief xcb_segment_t 10504 // 10505 type xcb_segment_t = xcb_segment_t1 /* xproto.h:3488:3 */ 10506 10507 // * 10508 // @brief xcb_segment_iterator_t 10509 // 10510 type xcb_segment_iterator_t1 = struct { 10511 Fdata uintptr 10512 Frem int32 10513 Findex int32 10514 } /* xproto.h:3493:9 */ 10515 10516 // * 10517 // @brief xcb_segment_iterator_t 10518 // 10519 type xcb_segment_iterator_t = xcb_segment_iterator_t1 /* xproto.h:3497:3 */ 10520 10521 //* Opcode for xcb_poly_segment. 10522 10523 // * 10524 // @brief xcb_poly_segment_request_t 10525 // 10526 type xcb_poly_segment_request_t1 = struct { 10527 Fmajor_opcode uint8_t 10528 Fpad0 uint8_t 10529 Flength uint16_t 10530 Fdrawable xcb_drawable_t 10531 Fgc xcb_gcontext_t 10532 } /* xproto.h:3505:9 */ 10533 10534 //* Opcode for xcb_poly_segment. 10535 10536 // * 10537 // @brief xcb_poly_segment_request_t 10538 // 10539 type xcb_poly_segment_request_t = xcb_poly_segment_request_t1 /* xproto.h:3511:3 */ 10540 10541 //* Opcode for xcb_poly_rectangle. 10542 10543 // * 10544 // @brief xcb_poly_rectangle_request_t 10545 // 10546 type xcb_poly_rectangle_request_t1 = struct { 10547 Fmajor_opcode uint8_t 10548 Fpad0 uint8_t 10549 Flength uint16_t 10550 Fdrawable xcb_drawable_t 10551 Fgc xcb_gcontext_t 10552 } /* xproto.h:3519:9 */ 10553 10554 //* Opcode for xcb_poly_rectangle. 10555 10556 // * 10557 // @brief xcb_poly_rectangle_request_t 10558 // 10559 type xcb_poly_rectangle_request_t = xcb_poly_rectangle_request_t1 /* xproto.h:3525:3 */ 10560 10561 //* Opcode for xcb_poly_arc. 10562 10563 // * 10564 // @brief xcb_poly_arc_request_t 10565 // 10566 type xcb_poly_arc_request_t1 = struct { 10567 Fmajor_opcode uint8_t 10568 Fpad0 uint8_t 10569 Flength uint16_t 10570 Fdrawable xcb_drawable_t 10571 Fgc xcb_gcontext_t 10572 } /* xproto.h:3533:9 */ 10573 10574 //* Opcode for xcb_poly_arc. 10575 10576 // * 10577 // @brief xcb_poly_arc_request_t 10578 // 10579 type xcb_poly_arc_request_t = xcb_poly_arc_request_t1 /* xproto.h:3539:3 */ 10580 10581 type xcb_poly_shape_t = uint32 /* xproto.h:3545:3 */ 10582 10583 //* Opcode for xcb_fill_poly. 10584 10585 // * 10586 // @brief xcb_fill_poly_request_t 10587 // 10588 type xcb_fill_poly_request_t1 = struct { 10589 Fmajor_opcode uint8_t 10590 Fpad0 uint8_t 10591 Flength uint16_t 10592 Fdrawable xcb_drawable_t 10593 Fgc xcb_gcontext_t 10594 Fshape uint8_t 10595 Fcoordinate_mode uint8_t 10596 Fpad1 [2]uint8_t 10597 } /* xproto.h:3553:9 */ 10598 10599 //* Opcode for xcb_fill_poly. 10600 10601 // * 10602 // @brief xcb_fill_poly_request_t 10603 // 10604 type xcb_fill_poly_request_t = xcb_fill_poly_request_t1 /* xproto.h:3562:3 */ 10605 10606 //* Opcode for xcb_poly_fill_rectangle. 10607 10608 // * 10609 // @brief xcb_poly_fill_rectangle_request_t 10610 // 10611 type xcb_poly_fill_rectangle_request_t1 = struct { 10612 Fmajor_opcode uint8_t 10613 Fpad0 uint8_t 10614 Flength uint16_t 10615 Fdrawable xcb_drawable_t 10616 Fgc xcb_gcontext_t 10617 } /* xproto.h:3570:9 */ 10618 10619 //* Opcode for xcb_poly_fill_rectangle. 10620 10621 // * 10622 // @brief xcb_poly_fill_rectangle_request_t 10623 // 10624 type xcb_poly_fill_rectangle_request_t = xcb_poly_fill_rectangle_request_t1 /* xproto.h:3576:3 */ 10625 10626 //* Opcode for xcb_poly_fill_arc. 10627 10628 // * 10629 // @brief xcb_poly_fill_arc_request_t 10630 // 10631 type xcb_poly_fill_arc_request_t1 = struct { 10632 Fmajor_opcode uint8_t 10633 Fpad0 uint8_t 10634 Flength uint16_t 10635 Fdrawable xcb_drawable_t 10636 Fgc xcb_gcontext_t 10637 } /* xproto.h:3584:9 */ 10638 10639 //* Opcode for xcb_poly_fill_arc. 10640 10641 // * 10642 // @brief xcb_poly_fill_arc_request_t 10643 // 10644 type xcb_poly_fill_arc_request_t = xcb_poly_fill_arc_request_t1 /* xproto.h:3590:3 */ 10645 10646 type xcb_image_format_t = uint32 /* xproto.h:3596:3 */ 10647 10648 //* Opcode for xcb_put_image. 10649 10650 // * 10651 // @brief xcb_put_image_request_t 10652 // 10653 type xcb_put_image_request_t1 = struct { 10654 Fmajor_opcode uint8_t 10655 Fformat uint8_t 10656 Flength uint16_t 10657 Fdrawable xcb_drawable_t 10658 Fgc xcb_gcontext_t 10659 Fwidth uint16_t 10660 Fheight uint16_t 10661 Fdst_x int16_t 10662 Fdst_y int16_t 10663 Fleft_pad uint8_t 10664 Fdepth uint8_t 10665 Fpad0 [2]uint8_t 10666 } /* xproto.h:3604:9 */ 10667 10668 //* Opcode for xcb_put_image. 10669 10670 // * 10671 // @brief xcb_put_image_request_t 10672 // 10673 type xcb_put_image_request_t = xcb_put_image_request_t1 /* xproto.h:3617:3 */ 10674 10675 // * 10676 // @brief xcb_get_image_cookie_t 10677 // 10678 type xcb_get_image_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3622:9 */ 10679 10680 // * 10681 // @brief xcb_get_image_cookie_t 10682 // 10683 type xcb_get_image_cookie_t = xcb_get_image_cookie_t1 /* xproto.h:3624:3 */ 10684 10685 //* Opcode for xcb_get_image. 10686 10687 // * 10688 // @brief xcb_get_image_request_t 10689 // 10690 type xcb_get_image_request_t1 = struct { 10691 Fmajor_opcode uint8_t 10692 Fformat uint8_t 10693 Flength uint16_t 10694 Fdrawable xcb_drawable_t 10695 Fx int16_t 10696 Fy int16_t 10697 Fwidth uint16_t 10698 Fheight uint16_t 10699 Fplane_mask uint32_t 10700 } /* xproto.h:3632:9 */ 10701 10702 //* Opcode for xcb_get_image. 10703 10704 // * 10705 // @brief xcb_get_image_request_t 10706 // 10707 type xcb_get_image_request_t = xcb_get_image_request_t1 /* xproto.h:3642:3 */ 10708 10709 // * 10710 // @brief xcb_get_image_reply_t 10711 // 10712 type xcb_get_image_reply_t1 = struct { 10713 Fresponse_type uint8_t 10714 Fdepth uint8_t 10715 Fsequence uint16_t 10716 Flength uint32_t 10717 Fvisual xcb_visualid_t 10718 Fpad0 [20]uint8_t 10719 } /* xproto.h:3647:9 */ 10720 10721 // * 10722 // @brief xcb_get_image_reply_t 10723 // 10724 type xcb_get_image_reply_t = xcb_get_image_reply_t1 /* xproto.h:3654:3 */ 10725 10726 //* Opcode for xcb_poly_text_8. 10727 10728 // * 10729 // @brief xcb_poly_text_8_request_t 10730 // 10731 type xcb_poly_text_8_request_t1 = struct { 10732 Fmajor_opcode uint8_t 10733 Fpad0 uint8_t 10734 Flength uint16_t 10735 Fdrawable xcb_drawable_t 10736 Fgc xcb_gcontext_t 10737 Fx int16_t 10738 Fy int16_t 10739 } /* xproto.h:3662:9 */ 10740 10741 //* Opcode for xcb_poly_text_8. 10742 10743 // * 10744 // @brief xcb_poly_text_8_request_t 10745 // 10746 type xcb_poly_text_8_request_t = xcb_poly_text_8_request_t1 /* xproto.h:3670:3 */ 10747 10748 //* Opcode for xcb_poly_text_16. 10749 10750 // * 10751 // @brief xcb_poly_text_16_request_t 10752 // 10753 type xcb_poly_text_16_request_t1 = struct { 10754 Fmajor_opcode uint8_t 10755 Fpad0 uint8_t 10756 Flength uint16_t 10757 Fdrawable xcb_drawable_t 10758 Fgc xcb_gcontext_t 10759 Fx int16_t 10760 Fy int16_t 10761 } /* xproto.h:3678:9 */ 10762 10763 //* Opcode for xcb_poly_text_16. 10764 10765 // * 10766 // @brief xcb_poly_text_16_request_t 10767 // 10768 type xcb_poly_text_16_request_t = xcb_poly_text_16_request_t1 /* xproto.h:3686:3 */ 10769 10770 //* Opcode for xcb_image_text_8. 10771 10772 // * 10773 // @brief xcb_image_text_8_request_t 10774 // 10775 type xcb_image_text_8_request_t1 = struct { 10776 Fmajor_opcode uint8_t 10777 Fstring_len uint8_t 10778 Flength uint16_t 10779 Fdrawable xcb_drawable_t 10780 Fgc xcb_gcontext_t 10781 Fx int16_t 10782 Fy int16_t 10783 } /* xproto.h:3694:9 */ 10784 10785 //* Opcode for xcb_image_text_8. 10786 10787 // * 10788 // @brief xcb_image_text_8_request_t 10789 // 10790 type xcb_image_text_8_request_t = xcb_image_text_8_request_t1 /* xproto.h:3702:3 */ 10791 10792 //* Opcode for xcb_image_text_16. 10793 10794 // * 10795 // @brief xcb_image_text_16_request_t 10796 // 10797 type xcb_image_text_16_request_t1 = struct { 10798 Fmajor_opcode uint8_t 10799 Fstring_len uint8_t 10800 Flength uint16_t 10801 Fdrawable xcb_drawable_t 10802 Fgc xcb_gcontext_t 10803 Fx int16_t 10804 Fy int16_t 10805 } /* xproto.h:3710:9 */ 10806 10807 //* Opcode for xcb_image_text_16. 10808 10809 // * 10810 // @brief xcb_image_text_16_request_t 10811 // 10812 type xcb_image_text_16_request_t = xcb_image_text_16_request_t1 /* xproto.h:3718:3 */ 10813 10814 type xcb_colormap_alloc_t = uint32 /* xproto.h:3723:3 */ 10815 10816 //* Opcode for xcb_create_colormap. 10817 10818 // * 10819 // @brief xcb_create_colormap_request_t 10820 // 10821 type xcb_create_colormap_request_t1 = struct { 10822 Fmajor_opcode uint8_t 10823 Falloc uint8_t 10824 Flength uint16_t 10825 Fmid xcb_colormap_t 10826 Fwindow xcb_window_t 10827 Fvisual xcb_visualid_t 10828 } /* xproto.h:3731:9 */ 10829 10830 //* Opcode for xcb_create_colormap. 10831 10832 // * 10833 // @brief xcb_create_colormap_request_t 10834 // 10835 type xcb_create_colormap_request_t = xcb_create_colormap_request_t1 /* xproto.h:3738:3 */ 10836 10837 //* Opcode for xcb_free_colormap. 10838 10839 // * 10840 // @brief xcb_free_colormap_request_t 10841 // 10842 type xcb_free_colormap_request_t1 = struct { 10843 Fmajor_opcode uint8_t 10844 Fpad0 uint8_t 10845 Flength uint16_t 10846 Fcmap xcb_colormap_t 10847 } /* xproto.h:3746:9 */ 10848 10849 //* Opcode for xcb_free_colormap. 10850 10851 // * 10852 // @brief xcb_free_colormap_request_t 10853 // 10854 type xcb_free_colormap_request_t = xcb_free_colormap_request_t1 /* xproto.h:3751:3 */ 10855 10856 //* Opcode for xcb_copy_colormap_and_free. 10857 10858 // * 10859 // @brief xcb_copy_colormap_and_free_request_t 10860 // 10861 type xcb_copy_colormap_and_free_request_t1 = struct { 10862 Fmajor_opcode uint8_t 10863 Fpad0 uint8_t 10864 Flength uint16_t 10865 Fmid xcb_colormap_t 10866 Fsrc_cmap xcb_colormap_t 10867 } /* xproto.h:3759:9 */ 10868 10869 //* Opcode for xcb_copy_colormap_and_free. 10870 10871 // * 10872 // @brief xcb_copy_colormap_and_free_request_t 10873 // 10874 type xcb_copy_colormap_and_free_request_t = xcb_copy_colormap_and_free_request_t1 /* xproto.h:3765:3 */ 10875 10876 //* Opcode for xcb_install_colormap. 10877 10878 // * 10879 // @brief xcb_install_colormap_request_t 10880 // 10881 type xcb_install_colormap_request_t1 = struct { 10882 Fmajor_opcode uint8_t 10883 Fpad0 uint8_t 10884 Flength uint16_t 10885 Fcmap xcb_colormap_t 10886 } /* xproto.h:3773:9 */ 10887 10888 //* Opcode for xcb_install_colormap. 10889 10890 // * 10891 // @brief xcb_install_colormap_request_t 10892 // 10893 type xcb_install_colormap_request_t = xcb_install_colormap_request_t1 /* xproto.h:3778:3 */ 10894 10895 //* Opcode for xcb_uninstall_colormap. 10896 10897 // * 10898 // @brief xcb_uninstall_colormap_request_t 10899 // 10900 type xcb_uninstall_colormap_request_t1 = struct { 10901 Fmajor_opcode uint8_t 10902 Fpad0 uint8_t 10903 Flength uint16_t 10904 Fcmap xcb_colormap_t 10905 } /* xproto.h:3786:9 */ 10906 10907 //* Opcode for xcb_uninstall_colormap. 10908 10909 // * 10910 // @brief xcb_uninstall_colormap_request_t 10911 // 10912 type xcb_uninstall_colormap_request_t = xcb_uninstall_colormap_request_t1 /* xproto.h:3791:3 */ 10913 10914 // * 10915 // @brief xcb_list_installed_colormaps_cookie_t 10916 // 10917 type xcb_list_installed_colormaps_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3796:9 */ 10918 10919 // * 10920 // @brief xcb_list_installed_colormaps_cookie_t 10921 // 10922 type xcb_list_installed_colormaps_cookie_t = xcb_list_installed_colormaps_cookie_t1 /* xproto.h:3798:3 */ 10923 10924 //* Opcode for xcb_list_installed_colormaps. 10925 10926 // * 10927 // @brief xcb_list_installed_colormaps_request_t 10928 // 10929 type xcb_list_installed_colormaps_request_t1 = struct { 10930 Fmajor_opcode uint8_t 10931 Fpad0 uint8_t 10932 Flength uint16_t 10933 Fwindow xcb_window_t 10934 } /* xproto.h:3806:9 */ 10935 10936 //* Opcode for xcb_list_installed_colormaps. 10937 10938 // * 10939 // @brief xcb_list_installed_colormaps_request_t 10940 // 10941 type xcb_list_installed_colormaps_request_t = xcb_list_installed_colormaps_request_t1 /* xproto.h:3811:3 */ 10942 10943 // * 10944 // @brief xcb_list_installed_colormaps_reply_t 10945 // 10946 type xcb_list_installed_colormaps_reply_t1 = struct { 10947 Fresponse_type uint8_t 10948 Fpad0 uint8_t 10949 Fsequence uint16_t 10950 Flength uint32_t 10951 Fcmaps_len uint16_t 10952 Fpad1 [22]uint8_t 10953 } /* xproto.h:3816:9 */ 10954 10955 // * 10956 // @brief xcb_list_installed_colormaps_reply_t 10957 // 10958 type xcb_list_installed_colormaps_reply_t = xcb_list_installed_colormaps_reply_t1 /* xproto.h:3823:3 */ 10959 10960 // * 10961 // @brief xcb_alloc_color_cookie_t 10962 // 10963 type xcb_alloc_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3828:9 */ 10964 10965 // * 10966 // @brief xcb_alloc_color_cookie_t 10967 // 10968 type xcb_alloc_color_cookie_t = xcb_alloc_color_cookie_t1 /* xproto.h:3830:3 */ 10969 10970 //* Opcode for xcb_alloc_color. 10971 10972 // * 10973 // @brief xcb_alloc_color_request_t 10974 // 10975 type xcb_alloc_color_request_t1 = struct { 10976 Fmajor_opcode uint8_t 10977 Fpad0 uint8_t 10978 Flength uint16_t 10979 Fcmap xcb_colormap_t 10980 Fred uint16_t 10981 Fgreen uint16_t 10982 Fblue uint16_t 10983 Fpad1 [2]uint8_t 10984 } /* xproto.h:3838:9 */ 10985 10986 //* Opcode for xcb_alloc_color. 10987 10988 // * 10989 // @brief xcb_alloc_color_request_t 10990 // 10991 type xcb_alloc_color_request_t = xcb_alloc_color_request_t1 /* xproto.h:3847:3 */ 10992 10993 // * 10994 // @brief xcb_alloc_color_reply_t 10995 // 10996 type xcb_alloc_color_reply_t1 = struct { 10997 Fresponse_type uint8_t 10998 Fpad0 uint8_t 10999 Fsequence uint16_t 11000 Flength uint32_t 11001 Fred uint16_t 11002 Fgreen uint16_t 11003 Fblue uint16_t 11004 Fpad1 [2]uint8_t 11005 Fpixel uint32_t 11006 } /* xproto.h:3852:9 */ 11007 11008 // * 11009 // @brief xcb_alloc_color_reply_t 11010 // 11011 type xcb_alloc_color_reply_t = xcb_alloc_color_reply_t1 /* xproto.h:3862:3 */ 11012 11013 // * 11014 // @brief xcb_alloc_named_color_cookie_t 11015 // 11016 type xcb_alloc_named_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3867:9 */ 11017 11018 // * 11019 // @brief xcb_alloc_named_color_cookie_t 11020 // 11021 type xcb_alloc_named_color_cookie_t = xcb_alloc_named_color_cookie_t1 /* xproto.h:3869:3 */ 11022 11023 //* Opcode for xcb_alloc_named_color. 11024 11025 // * 11026 // @brief xcb_alloc_named_color_request_t 11027 // 11028 type xcb_alloc_named_color_request_t1 = struct { 11029 Fmajor_opcode uint8_t 11030 Fpad0 uint8_t 11031 Flength uint16_t 11032 Fcmap xcb_colormap_t 11033 Fname_len uint16_t 11034 Fpad1 [2]uint8_t 11035 } /* xproto.h:3877:9 */ 11036 11037 //* Opcode for xcb_alloc_named_color. 11038 11039 // * 11040 // @brief xcb_alloc_named_color_request_t 11041 // 11042 type xcb_alloc_named_color_request_t = xcb_alloc_named_color_request_t1 /* xproto.h:3884:3 */ 11043 11044 // * 11045 // @brief xcb_alloc_named_color_reply_t 11046 // 11047 type xcb_alloc_named_color_reply_t1 = struct { 11048 Fresponse_type uint8_t 11049 Fpad0 uint8_t 11050 Fsequence uint16_t 11051 Flength uint32_t 11052 Fpixel uint32_t 11053 Fexact_red uint16_t 11054 Fexact_green uint16_t 11055 Fexact_blue uint16_t 11056 Fvisual_red uint16_t 11057 Fvisual_green uint16_t 11058 Fvisual_blue uint16_t 11059 } /* xproto.h:3889:9 */ 11060 11061 // * 11062 // @brief xcb_alloc_named_color_reply_t 11063 // 11064 type xcb_alloc_named_color_reply_t = xcb_alloc_named_color_reply_t1 /* xproto.h:3901:3 */ 11065 11066 // * 11067 // @brief xcb_alloc_color_cells_cookie_t 11068 // 11069 type xcb_alloc_color_cells_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3906:9 */ 11070 11071 // * 11072 // @brief xcb_alloc_color_cells_cookie_t 11073 // 11074 type xcb_alloc_color_cells_cookie_t = xcb_alloc_color_cells_cookie_t1 /* xproto.h:3908:3 */ 11075 11076 //* Opcode for xcb_alloc_color_cells. 11077 11078 // * 11079 // @brief xcb_alloc_color_cells_request_t 11080 // 11081 type xcb_alloc_color_cells_request_t1 = struct { 11082 Fmajor_opcode uint8_t 11083 Fcontiguous uint8_t 11084 Flength uint16_t 11085 Fcmap xcb_colormap_t 11086 Fcolors uint16_t 11087 Fplanes uint16_t 11088 } /* xproto.h:3916:9 */ 11089 11090 //* Opcode for xcb_alloc_color_cells. 11091 11092 // * 11093 // @brief xcb_alloc_color_cells_request_t 11094 // 11095 type xcb_alloc_color_cells_request_t = xcb_alloc_color_cells_request_t1 /* xproto.h:3923:3 */ 11096 11097 // * 11098 // @brief xcb_alloc_color_cells_reply_t 11099 // 11100 type xcb_alloc_color_cells_reply_t1 = struct { 11101 Fresponse_type uint8_t 11102 Fpad0 uint8_t 11103 Fsequence uint16_t 11104 Flength uint32_t 11105 Fpixels_len uint16_t 11106 Fmasks_len uint16_t 11107 Fpad1 [20]uint8_t 11108 } /* xproto.h:3928:9 */ 11109 11110 // * 11111 // @brief xcb_alloc_color_cells_reply_t 11112 // 11113 type xcb_alloc_color_cells_reply_t = xcb_alloc_color_cells_reply_t1 /* xproto.h:3936:3 */ 11114 11115 // * 11116 // @brief xcb_alloc_color_planes_cookie_t 11117 // 11118 type xcb_alloc_color_planes_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3941:9 */ 11119 11120 // * 11121 // @brief xcb_alloc_color_planes_cookie_t 11122 // 11123 type xcb_alloc_color_planes_cookie_t = xcb_alloc_color_planes_cookie_t1 /* xproto.h:3943:3 */ 11124 11125 //* Opcode for xcb_alloc_color_planes. 11126 11127 // * 11128 // @brief xcb_alloc_color_planes_request_t 11129 // 11130 type xcb_alloc_color_planes_request_t1 = struct { 11131 Fmajor_opcode uint8_t 11132 Fcontiguous uint8_t 11133 Flength uint16_t 11134 Fcmap xcb_colormap_t 11135 Fcolors uint16_t 11136 Freds uint16_t 11137 Fgreens uint16_t 11138 Fblues uint16_t 11139 } /* xproto.h:3951:9 */ 11140 11141 //* Opcode for xcb_alloc_color_planes. 11142 11143 // * 11144 // @brief xcb_alloc_color_planes_request_t 11145 // 11146 type xcb_alloc_color_planes_request_t = xcb_alloc_color_planes_request_t1 /* xproto.h:3960:3 */ 11147 11148 // * 11149 // @brief xcb_alloc_color_planes_reply_t 11150 // 11151 type xcb_alloc_color_planes_reply_t1 = struct { 11152 Fresponse_type uint8_t 11153 Fpad0 uint8_t 11154 Fsequence uint16_t 11155 Flength uint32_t 11156 Fpixels_len uint16_t 11157 Fpad1 [2]uint8_t 11158 Fred_mask uint32_t 11159 Fgreen_mask uint32_t 11160 Fblue_mask uint32_t 11161 Fpad2 [8]uint8_t 11162 } /* xproto.h:3965:9 */ 11163 11164 // * 11165 // @brief xcb_alloc_color_planes_reply_t 11166 // 11167 type xcb_alloc_color_planes_reply_t = xcb_alloc_color_planes_reply_t1 /* xproto.h:3976:3 */ 11168 11169 //* Opcode for xcb_free_colors. 11170 11171 // * 11172 // @brief xcb_free_colors_request_t 11173 // 11174 type xcb_free_colors_request_t1 = struct { 11175 Fmajor_opcode uint8_t 11176 Fpad0 uint8_t 11177 Flength uint16_t 11178 Fcmap xcb_colormap_t 11179 Fplane_mask uint32_t 11180 } /* xproto.h:3984:9 */ 11181 11182 //* Opcode for xcb_free_colors. 11183 11184 // * 11185 // @brief xcb_free_colors_request_t 11186 // 11187 type xcb_free_colors_request_t = xcb_free_colors_request_t1 /* xproto.h:3990:3 */ 11188 11189 type xcb_color_flag_t = uint32 /* xproto.h:3996:3 */ 11190 11191 // * 11192 // @brief xcb_coloritem_t 11193 // 11194 type xcb_coloritem_t1 = struct { 11195 Fpixel uint32_t 11196 Fred uint16_t 11197 Fgreen uint16_t 11198 Fblue uint16_t 11199 Fflags uint8_t 11200 Fpad0 uint8_t 11201 } /* xproto.h:4001:9 */ 11202 11203 // * 11204 // @brief xcb_coloritem_t 11205 // 11206 type xcb_coloritem_t = xcb_coloritem_t1 /* xproto.h:4008:3 */ 11207 11208 // * 11209 // @brief xcb_coloritem_iterator_t 11210 // 11211 type xcb_coloritem_iterator_t1 = struct { 11212 Fdata uintptr 11213 Frem int32 11214 Findex int32 11215 } /* xproto.h:4013:9 */ 11216 11217 // * 11218 // @brief xcb_coloritem_iterator_t 11219 // 11220 type xcb_coloritem_iterator_t = xcb_coloritem_iterator_t1 /* xproto.h:4017:3 */ 11221 11222 //* Opcode for xcb_store_colors. 11223 11224 // * 11225 // @brief xcb_store_colors_request_t 11226 // 11227 type xcb_store_colors_request_t1 = struct { 11228 Fmajor_opcode uint8_t 11229 Fpad0 uint8_t 11230 Flength uint16_t 11231 Fcmap xcb_colormap_t 11232 } /* xproto.h:4025:9 */ 11233 11234 //* Opcode for xcb_store_colors. 11235 11236 // * 11237 // @brief xcb_store_colors_request_t 11238 // 11239 type xcb_store_colors_request_t = xcb_store_colors_request_t1 /* xproto.h:4030:3 */ 11240 11241 //* Opcode for xcb_store_named_color. 11242 11243 // * 11244 // @brief xcb_store_named_color_request_t 11245 // 11246 type xcb_store_named_color_request_t1 = struct { 11247 Fmajor_opcode uint8_t 11248 Fflags uint8_t 11249 Flength uint16_t 11250 Fcmap xcb_colormap_t 11251 Fpixel uint32_t 11252 Fname_len uint16_t 11253 Fpad0 [2]uint8_t 11254 } /* xproto.h:4038:9 */ 11255 11256 //* Opcode for xcb_store_named_color. 11257 11258 // * 11259 // @brief xcb_store_named_color_request_t 11260 // 11261 type xcb_store_named_color_request_t = xcb_store_named_color_request_t1 /* xproto.h:4046:3 */ 11262 11263 // * 11264 // @brief xcb_rgb_t 11265 // 11266 type xcb_rgb_t1 = struct { 11267 Fred uint16_t 11268 Fgreen uint16_t 11269 Fblue uint16_t 11270 Fpad0 [2]uint8_t 11271 } /* xproto.h:4051:9 */ 11272 11273 // * 11274 // @brief xcb_rgb_t 11275 // 11276 type xcb_rgb_t = xcb_rgb_t1 /* xproto.h:4056:3 */ 11277 11278 // * 11279 // @brief xcb_rgb_iterator_t 11280 // 11281 type xcb_rgb_iterator_t1 = struct { 11282 Fdata uintptr 11283 Frem int32 11284 Findex int32 11285 } /* xproto.h:4061:9 */ 11286 11287 // * 11288 // @brief xcb_rgb_iterator_t 11289 // 11290 type xcb_rgb_iterator_t = xcb_rgb_iterator_t1 /* xproto.h:4065:3 */ 11291 11292 // * 11293 // @brief xcb_query_colors_cookie_t 11294 // 11295 type xcb_query_colors_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4070:9 */ 11296 11297 // * 11298 // @brief xcb_query_colors_cookie_t 11299 // 11300 type xcb_query_colors_cookie_t = xcb_query_colors_cookie_t1 /* xproto.h:4072:3 */ 11301 11302 //* Opcode for xcb_query_colors. 11303 11304 // * 11305 // @brief xcb_query_colors_request_t 11306 // 11307 type xcb_query_colors_request_t1 = struct { 11308 Fmajor_opcode uint8_t 11309 Fpad0 uint8_t 11310 Flength uint16_t 11311 Fcmap xcb_colormap_t 11312 } /* xproto.h:4080:9 */ 11313 11314 //* Opcode for xcb_query_colors. 11315 11316 // * 11317 // @brief xcb_query_colors_request_t 11318 // 11319 type xcb_query_colors_request_t = xcb_query_colors_request_t1 /* xproto.h:4085:3 */ 11320 11321 // * 11322 // @brief xcb_query_colors_reply_t 11323 // 11324 type xcb_query_colors_reply_t1 = struct { 11325 Fresponse_type uint8_t 11326 Fpad0 uint8_t 11327 Fsequence uint16_t 11328 Flength uint32_t 11329 Fcolors_len uint16_t 11330 Fpad1 [22]uint8_t 11331 } /* xproto.h:4090:9 */ 11332 11333 // * 11334 // @brief xcb_query_colors_reply_t 11335 // 11336 type xcb_query_colors_reply_t = xcb_query_colors_reply_t1 /* xproto.h:4097:3 */ 11337 11338 // * 11339 // @brief xcb_lookup_color_cookie_t 11340 // 11341 type xcb_lookup_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4102:9 */ 11342 11343 // * 11344 // @brief xcb_lookup_color_cookie_t 11345 // 11346 type xcb_lookup_color_cookie_t = xcb_lookup_color_cookie_t1 /* xproto.h:4104:3 */ 11347 11348 //* Opcode for xcb_lookup_color. 11349 11350 // * 11351 // @brief xcb_lookup_color_request_t 11352 // 11353 type xcb_lookup_color_request_t1 = struct { 11354 Fmajor_opcode uint8_t 11355 Fpad0 uint8_t 11356 Flength uint16_t 11357 Fcmap xcb_colormap_t 11358 Fname_len uint16_t 11359 Fpad1 [2]uint8_t 11360 } /* xproto.h:4112:9 */ 11361 11362 //* Opcode for xcb_lookup_color. 11363 11364 // * 11365 // @brief xcb_lookup_color_request_t 11366 // 11367 type xcb_lookup_color_request_t = xcb_lookup_color_request_t1 /* xproto.h:4119:3 */ 11368 11369 // * 11370 // @brief xcb_lookup_color_reply_t 11371 // 11372 type xcb_lookup_color_reply_t1 = struct { 11373 Fresponse_type uint8_t 11374 Fpad0 uint8_t 11375 Fsequence uint16_t 11376 Flength uint32_t 11377 Fexact_red uint16_t 11378 Fexact_green uint16_t 11379 Fexact_blue uint16_t 11380 Fvisual_red uint16_t 11381 Fvisual_green uint16_t 11382 Fvisual_blue uint16_t 11383 } /* xproto.h:4124:9 */ 11384 11385 // * 11386 // @brief xcb_lookup_color_reply_t 11387 // 11388 type xcb_lookup_color_reply_t = xcb_lookup_color_reply_t1 /* xproto.h:4135:3 */ 11389 11390 type xcb_pixmap_enum_t = uint32 /* xproto.h:4139:3 */ 11391 11392 //* Opcode for xcb_create_cursor. 11393 11394 // * 11395 // @brief xcb_create_cursor_request_t 11396 // 11397 type xcb_create_cursor_request_t1 = struct { 11398 Fmajor_opcode uint8_t 11399 Fpad0 uint8_t 11400 Flength uint16_t 11401 Fcid xcb_cursor_t 11402 Fsource xcb_pixmap_t 11403 Fmask xcb_pixmap_t 11404 Ffore_red uint16_t 11405 Ffore_green uint16_t 11406 Ffore_blue uint16_t 11407 Fback_red uint16_t 11408 Fback_green uint16_t 11409 Fback_blue uint16_t 11410 Fx uint16_t 11411 Fy uint16_t 11412 } /* xproto.h:4147:9 */ 11413 11414 //* Opcode for xcb_create_cursor. 11415 11416 // * 11417 // @brief xcb_create_cursor_request_t 11418 // 11419 type xcb_create_cursor_request_t = xcb_create_cursor_request_t1 /* xproto.h:4162:3 */ 11420 11421 type xcb_font_enum_t = uint32 /* xproto.h:4166:3 */ 11422 11423 //* Opcode for xcb_create_glyph_cursor. 11424 11425 // * 11426 // @brief xcb_create_glyph_cursor_request_t 11427 // 11428 type xcb_create_glyph_cursor_request_t1 = struct { 11429 Fmajor_opcode uint8_t 11430 Fpad0 uint8_t 11431 Flength uint16_t 11432 Fcid xcb_cursor_t 11433 Fsource_font xcb_font_t 11434 Fmask_font xcb_font_t 11435 Fsource_char uint16_t 11436 Fmask_char uint16_t 11437 Ffore_red uint16_t 11438 Ffore_green uint16_t 11439 Ffore_blue uint16_t 11440 Fback_red uint16_t 11441 Fback_green uint16_t 11442 Fback_blue uint16_t 11443 } /* xproto.h:4174:9 */ 11444 11445 //* Opcode for xcb_create_glyph_cursor. 11446 11447 // * 11448 // @brief xcb_create_glyph_cursor_request_t 11449 // 11450 type xcb_create_glyph_cursor_request_t = xcb_create_glyph_cursor_request_t1 /* xproto.h:4189:3 */ 11451 11452 //* Opcode for xcb_free_cursor. 11453 11454 // * 11455 // @brief xcb_free_cursor_request_t 11456 // 11457 type xcb_free_cursor_request_t1 = struct { 11458 Fmajor_opcode uint8_t 11459 Fpad0 uint8_t 11460 Flength uint16_t 11461 Fcursor xcb_cursor_t 11462 } /* xproto.h:4197:9 */ 11463 11464 //* Opcode for xcb_free_cursor. 11465 11466 // * 11467 // @brief xcb_free_cursor_request_t 11468 // 11469 type xcb_free_cursor_request_t = xcb_free_cursor_request_t1 /* xproto.h:4202:3 */ 11470 11471 //* Opcode for xcb_recolor_cursor. 11472 11473 // * 11474 // @brief xcb_recolor_cursor_request_t 11475 // 11476 type xcb_recolor_cursor_request_t1 = struct { 11477 Fmajor_opcode uint8_t 11478 Fpad0 uint8_t 11479 Flength uint16_t 11480 Fcursor xcb_cursor_t 11481 Ffore_red uint16_t 11482 Ffore_green uint16_t 11483 Ffore_blue uint16_t 11484 Fback_red uint16_t 11485 Fback_green uint16_t 11486 Fback_blue uint16_t 11487 } /* xproto.h:4210:9 */ 11488 11489 //* Opcode for xcb_recolor_cursor. 11490 11491 // * 11492 // @brief xcb_recolor_cursor_request_t 11493 // 11494 type xcb_recolor_cursor_request_t = xcb_recolor_cursor_request_t1 /* xproto.h:4221:3 */ 11495 11496 type xcb_query_shape_of_t = uint32 /* xproto.h:4227:3 */ 11497 11498 // * 11499 // @brief xcb_query_best_size_cookie_t 11500 // 11501 type xcb_query_best_size_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4232:9 */ 11502 11503 // * 11504 // @brief xcb_query_best_size_cookie_t 11505 // 11506 type xcb_query_best_size_cookie_t = xcb_query_best_size_cookie_t1 /* xproto.h:4234:3 */ 11507 11508 //* Opcode for xcb_query_best_size. 11509 11510 // * 11511 // @brief xcb_query_best_size_request_t 11512 // 11513 type xcb_query_best_size_request_t1 = struct { 11514 Fmajor_opcode uint8_t 11515 F_class uint8_t 11516 Flength uint16_t 11517 Fdrawable xcb_drawable_t 11518 Fwidth uint16_t 11519 Fheight uint16_t 11520 } /* xproto.h:4242:9 */ 11521 11522 //* Opcode for xcb_query_best_size. 11523 11524 // * 11525 // @brief xcb_query_best_size_request_t 11526 // 11527 type xcb_query_best_size_request_t = xcb_query_best_size_request_t1 /* xproto.h:4249:3 */ 11528 11529 // * 11530 // @brief xcb_query_best_size_reply_t 11531 // 11532 type xcb_query_best_size_reply_t1 = struct { 11533 Fresponse_type uint8_t 11534 Fpad0 uint8_t 11535 Fsequence uint16_t 11536 Flength uint32_t 11537 Fwidth uint16_t 11538 Fheight uint16_t 11539 } /* xproto.h:4254:9 */ 11540 11541 // * 11542 // @brief xcb_query_best_size_reply_t 11543 // 11544 type xcb_query_best_size_reply_t = xcb_query_best_size_reply_t1 /* xproto.h:4261:3 */ 11545 11546 // * 11547 // @brief xcb_query_extension_cookie_t 11548 // 11549 type xcb_query_extension_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4266:9 */ 11550 11551 // * 11552 // @brief xcb_query_extension_cookie_t 11553 // 11554 type xcb_query_extension_cookie_t = xcb_query_extension_cookie_t1 /* xproto.h:4268:3 */ 11555 11556 //* Opcode for xcb_query_extension. 11557 11558 // * 11559 // @brief xcb_query_extension_request_t 11560 // 11561 type xcb_query_extension_request_t1 = struct { 11562 Fmajor_opcode uint8_t 11563 Fpad0 uint8_t 11564 Flength uint16_t 11565 Fname_len uint16_t 11566 Fpad1 [2]uint8_t 11567 } /* xproto.h:4276:9 */ 11568 11569 //* Opcode for xcb_query_extension. 11570 11571 // * 11572 // @brief xcb_query_extension_request_t 11573 // 11574 type xcb_query_extension_request_t = xcb_query_extension_request_t1 /* xproto.h:4282:3 */ 11575 11576 // * 11577 // @brief xcb_query_extension_reply_t 11578 // 11579 type xcb_query_extension_reply_t1 = struct { 11580 Fresponse_type uint8_t 11581 Fpad0 uint8_t 11582 Fsequence uint16_t 11583 Flength uint32_t 11584 Fpresent uint8_t 11585 Fmajor_opcode uint8_t 11586 Ffirst_event uint8_t 11587 Ffirst_error uint8_t 11588 } /* xproto.h:4287:9 */ 11589 11590 // * 11591 // @brief xcb_query_extension_reply_t 11592 // 11593 type xcb_query_extension_reply_t = xcb_query_extension_reply_t1 /* xproto.h:4296:3 */ 11594 11595 // * 11596 // @brief xcb_list_extensions_cookie_t 11597 // 11598 type xcb_list_extensions_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4301:9 */ 11599 11600 // * 11601 // @brief xcb_list_extensions_cookie_t 11602 // 11603 type xcb_list_extensions_cookie_t = xcb_list_extensions_cookie_t1 /* xproto.h:4303:3 */ 11604 11605 //* Opcode for xcb_list_extensions. 11606 11607 // * 11608 // @brief xcb_list_extensions_request_t 11609 // 11610 type xcb_list_extensions_request_t1 = struct { 11611 Fmajor_opcode uint8_t 11612 Fpad0 uint8_t 11613 Flength uint16_t 11614 } /* xproto.h:4311:9 */ 11615 11616 //* Opcode for xcb_list_extensions. 11617 11618 // * 11619 // @brief xcb_list_extensions_request_t 11620 // 11621 type xcb_list_extensions_request_t = xcb_list_extensions_request_t1 /* xproto.h:4315:3 */ 11622 11623 // * 11624 // @brief xcb_list_extensions_reply_t 11625 // 11626 type xcb_list_extensions_reply_t1 = struct { 11627 Fresponse_type uint8_t 11628 Fnames_len uint8_t 11629 Fsequence uint16_t 11630 Flength uint32_t 11631 Fpad0 [24]uint8_t 11632 } /* xproto.h:4320:9 */ 11633 11634 // * 11635 // @brief xcb_list_extensions_reply_t 11636 // 11637 type xcb_list_extensions_reply_t = xcb_list_extensions_reply_t1 /* xproto.h:4326:3 */ 11638 11639 //* Opcode for xcb_change_keyboard_mapping. 11640 11641 // * 11642 // @brief xcb_change_keyboard_mapping_request_t 11643 // 11644 type xcb_change_keyboard_mapping_request_t1 = struct { 11645 Fmajor_opcode uint8_t 11646 Fkeycode_count uint8_t 11647 Flength uint16_t 11648 Ffirst_keycode xcb_keycode_t 11649 Fkeysyms_per_keycode uint8_t 11650 Fpad0 [2]uint8_t 11651 } /* xproto.h:4334:9 */ 11652 11653 //* Opcode for xcb_change_keyboard_mapping. 11654 11655 // * 11656 // @brief xcb_change_keyboard_mapping_request_t 11657 // 11658 type xcb_change_keyboard_mapping_request_t = xcb_change_keyboard_mapping_request_t1 /* xproto.h:4341:3 */ 11659 11660 // * 11661 // @brief xcb_get_keyboard_mapping_cookie_t 11662 // 11663 type xcb_get_keyboard_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4346:9 */ 11664 11665 // * 11666 // @brief xcb_get_keyboard_mapping_cookie_t 11667 // 11668 type xcb_get_keyboard_mapping_cookie_t = xcb_get_keyboard_mapping_cookie_t1 /* xproto.h:4348:3 */ 11669 11670 //* Opcode for xcb_get_keyboard_mapping. 11671 11672 // * 11673 // @brief xcb_get_keyboard_mapping_request_t 11674 // 11675 type xcb_get_keyboard_mapping_request_t1 = struct { 11676 Fmajor_opcode uint8_t 11677 Fpad0 uint8_t 11678 Flength uint16_t 11679 Ffirst_keycode xcb_keycode_t 11680 Fcount uint8_t 11681 } /* xproto.h:4356:9 */ 11682 11683 //* Opcode for xcb_get_keyboard_mapping. 11684 11685 // * 11686 // @brief xcb_get_keyboard_mapping_request_t 11687 // 11688 type xcb_get_keyboard_mapping_request_t = xcb_get_keyboard_mapping_request_t1 /* xproto.h:4362:3 */ 11689 11690 // * 11691 // @brief xcb_get_keyboard_mapping_reply_t 11692 // 11693 type xcb_get_keyboard_mapping_reply_t1 = struct { 11694 Fresponse_type uint8_t 11695 Fkeysyms_per_keycode uint8_t 11696 Fsequence uint16_t 11697 Flength uint32_t 11698 Fpad0 [24]uint8_t 11699 } /* xproto.h:4367:9 */ 11700 11701 // * 11702 // @brief xcb_get_keyboard_mapping_reply_t 11703 // 11704 type xcb_get_keyboard_mapping_reply_t = xcb_get_keyboard_mapping_reply_t1 /* xproto.h:4373:3 */ 11705 11706 type xcb_kb_t = uint32 /* xproto.h:4384:3 */ 11707 11708 type xcb_led_mode_t = uint32 /* xproto.h:4389:3 */ 11709 11710 type xcb_auto_repeat_mode_t = uint32 /* xproto.h:4395:3 */ 11711 11712 // * 11713 // @brief xcb_change_keyboard_control_value_list_t 11714 // 11715 type xcb_change_keyboard_control_value_list_t1 = struct { 11716 Fkey_click_percent int32_t 11717 Fbell_percent int32_t 11718 Fbell_pitch int32_t 11719 Fbell_duration int32_t 11720 Fled uint32_t 11721 Fled_mode uint32_t 11722 Fkey xcb_keycode32_t 11723 Fauto_repeat_mode uint32_t 11724 } /* xproto.h:4400:9 */ 11725 11726 // * 11727 // @brief xcb_change_keyboard_control_value_list_t 11728 // 11729 type xcb_change_keyboard_control_value_list_t = xcb_change_keyboard_control_value_list_t1 /* xproto.h:4409:3 */ 11730 11731 //* Opcode for xcb_change_keyboard_control. 11732 11733 // * 11734 // @brief xcb_change_keyboard_control_request_t 11735 // 11736 type xcb_change_keyboard_control_request_t1 = struct { 11737 Fmajor_opcode uint8_t 11738 Fpad0 uint8_t 11739 Flength uint16_t 11740 Fvalue_mask uint32_t 11741 } /* xproto.h:4417:9 */ 11742 11743 //* Opcode for xcb_change_keyboard_control. 11744 11745 // * 11746 // @brief xcb_change_keyboard_control_request_t 11747 // 11748 type xcb_change_keyboard_control_request_t = xcb_change_keyboard_control_request_t1 /* xproto.h:4422:3 */ 11749 11750 // * 11751 // @brief xcb_get_keyboard_control_cookie_t 11752 // 11753 type xcb_get_keyboard_control_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4427:9 */ 11754 11755 // * 11756 // @brief xcb_get_keyboard_control_cookie_t 11757 // 11758 type xcb_get_keyboard_control_cookie_t = xcb_get_keyboard_control_cookie_t1 /* xproto.h:4429:3 */ 11759 11760 //* Opcode for xcb_get_keyboard_control. 11761 11762 // * 11763 // @brief xcb_get_keyboard_control_request_t 11764 // 11765 type xcb_get_keyboard_control_request_t1 = struct { 11766 Fmajor_opcode uint8_t 11767 Fpad0 uint8_t 11768 Flength uint16_t 11769 } /* xproto.h:4437:9 */ 11770 11771 //* Opcode for xcb_get_keyboard_control. 11772 11773 // * 11774 // @brief xcb_get_keyboard_control_request_t 11775 // 11776 type xcb_get_keyboard_control_request_t = xcb_get_keyboard_control_request_t1 /* xproto.h:4441:3 */ 11777 11778 // * 11779 // @brief xcb_get_keyboard_control_reply_t 11780 // 11781 type xcb_get_keyboard_control_reply_t1 = struct { 11782 Fresponse_type uint8_t 11783 Fglobal_auto_repeat uint8_t 11784 Fsequence uint16_t 11785 Flength uint32_t 11786 Fled_mask uint32_t 11787 Fkey_click_percent uint8_t 11788 Fbell_percent uint8_t 11789 Fbell_pitch uint16_t 11790 Fbell_duration uint16_t 11791 Fpad0 [2]uint8_t 11792 Fauto_repeats [32]uint8_t 11793 } /* xproto.h:4446:9 */ 11794 11795 // * 11796 // @brief xcb_get_keyboard_control_reply_t 11797 // 11798 type xcb_get_keyboard_control_reply_t = xcb_get_keyboard_control_reply_t1 /* xproto.h:4458:3 */ 11799 11800 //* Opcode for xcb_bell. 11801 11802 // * 11803 // @brief xcb_bell_request_t 11804 // 11805 type xcb_bell_request_t1 = struct { 11806 Fmajor_opcode uint8_t 11807 Fpercent int8_t 11808 Flength uint16_t 11809 } /* xproto.h:4466:9 */ 11810 11811 //* Opcode for xcb_bell. 11812 11813 // * 11814 // @brief xcb_bell_request_t 11815 // 11816 type xcb_bell_request_t = xcb_bell_request_t1 /* xproto.h:4470:3 */ 11817 11818 //* Opcode for xcb_change_pointer_control. 11819 11820 // * 11821 // @brief xcb_change_pointer_control_request_t 11822 // 11823 type xcb_change_pointer_control_request_t1 = struct { 11824 Fmajor_opcode uint8_t 11825 Fpad0 uint8_t 11826 Flength uint16_t 11827 Facceleration_numerator int16_t 11828 Facceleration_denominator int16_t 11829 Fthreshold int16_t 11830 Fdo_acceleration uint8_t 11831 Fdo_threshold uint8_t 11832 } /* xproto.h:4478:9 */ 11833 11834 //* Opcode for xcb_change_pointer_control. 11835 11836 // * 11837 // @brief xcb_change_pointer_control_request_t 11838 // 11839 type xcb_change_pointer_control_request_t = xcb_change_pointer_control_request_t1 /* xproto.h:4487:3 */ 11840 11841 // * 11842 // @brief xcb_get_pointer_control_cookie_t 11843 // 11844 type xcb_get_pointer_control_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4492:9 */ 11845 11846 // * 11847 // @brief xcb_get_pointer_control_cookie_t 11848 // 11849 type xcb_get_pointer_control_cookie_t = xcb_get_pointer_control_cookie_t1 /* xproto.h:4494:3 */ 11850 11851 //* Opcode for xcb_get_pointer_control. 11852 11853 // * 11854 // @brief xcb_get_pointer_control_request_t 11855 // 11856 type xcb_get_pointer_control_request_t1 = struct { 11857 Fmajor_opcode uint8_t 11858 Fpad0 uint8_t 11859 Flength uint16_t 11860 } /* xproto.h:4502:9 */ 11861 11862 //* Opcode for xcb_get_pointer_control. 11863 11864 // * 11865 // @brief xcb_get_pointer_control_request_t 11866 // 11867 type xcb_get_pointer_control_request_t = xcb_get_pointer_control_request_t1 /* xproto.h:4506:3 */ 11868 11869 // * 11870 // @brief xcb_get_pointer_control_reply_t 11871 // 11872 type xcb_get_pointer_control_reply_t1 = struct { 11873 Fresponse_type uint8_t 11874 Fpad0 uint8_t 11875 Fsequence uint16_t 11876 Flength uint32_t 11877 Facceleration_numerator uint16_t 11878 Facceleration_denominator uint16_t 11879 Fthreshold uint16_t 11880 Fpad1 [18]uint8_t 11881 } /* xproto.h:4511:9 */ 11882 11883 // * 11884 // @brief xcb_get_pointer_control_reply_t 11885 // 11886 type xcb_get_pointer_control_reply_t = xcb_get_pointer_control_reply_t1 /* xproto.h:4520:3 */ 11887 11888 type xcb_blanking_t = uint32 /* xproto.h:4526:3 */ 11889 11890 type xcb_exposures_t = uint32 /* xproto.h:4532:3 */ 11891 11892 //* Opcode for xcb_set_screen_saver. 11893 11894 // * 11895 // @brief xcb_set_screen_saver_request_t 11896 // 11897 type xcb_set_screen_saver_request_t1 = struct { 11898 Fmajor_opcode uint8_t 11899 Fpad0 uint8_t 11900 Flength uint16_t 11901 Ftimeout int16_t 11902 Finterval int16_t 11903 Fprefer_blanking uint8_t 11904 Fallow_exposures uint8_t 11905 } /* xproto.h:4540:9 */ 11906 11907 //* Opcode for xcb_set_screen_saver. 11908 11909 // * 11910 // @brief xcb_set_screen_saver_request_t 11911 // 11912 type xcb_set_screen_saver_request_t = xcb_set_screen_saver_request_t1 /* xproto.h:4548:3 */ 11913 11914 // * 11915 // @brief xcb_get_screen_saver_cookie_t 11916 // 11917 type xcb_get_screen_saver_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4553:9 */ 11918 11919 // * 11920 // @brief xcb_get_screen_saver_cookie_t 11921 // 11922 type xcb_get_screen_saver_cookie_t = xcb_get_screen_saver_cookie_t1 /* xproto.h:4555:3 */ 11923 11924 //* Opcode for xcb_get_screen_saver. 11925 11926 // * 11927 // @brief xcb_get_screen_saver_request_t 11928 // 11929 type xcb_get_screen_saver_request_t1 = struct { 11930 Fmajor_opcode uint8_t 11931 Fpad0 uint8_t 11932 Flength uint16_t 11933 } /* xproto.h:4563:9 */ 11934 11935 //* Opcode for xcb_get_screen_saver. 11936 11937 // * 11938 // @brief xcb_get_screen_saver_request_t 11939 // 11940 type xcb_get_screen_saver_request_t = xcb_get_screen_saver_request_t1 /* xproto.h:4567:3 */ 11941 11942 // * 11943 // @brief xcb_get_screen_saver_reply_t 11944 // 11945 type xcb_get_screen_saver_reply_t1 = struct { 11946 Fresponse_type uint8_t 11947 Fpad0 uint8_t 11948 Fsequence uint16_t 11949 Flength uint32_t 11950 Ftimeout uint16_t 11951 Finterval uint16_t 11952 Fprefer_blanking uint8_t 11953 Fallow_exposures uint8_t 11954 Fpad1 [18]uint8_t 11955 } /* xproto.h:4572:9 */ 11956 11957 // * 11958 // @brief xcb_get_screen_saver_reply_t 11959 // 11960 type xcb_get_screen_saver_reply_t = xcb_get_screen_saver_reply_t1 /* xproto.h:4582:3 */ 11961 11962 type xcb_host_mode_t = uint32 /* xproto.h:4587:3 */ 11963 11964 type xcb_family_t = uint32 /* xproto.h:4595:3 */ 11965 11966 //* Opcode for xcb_change_hosts. 11967 11968 // * 11969 // @brief xcb_change_hosts_request_t 11970 // 11971 type xcb_change_hosts_request_t1 = struct { 11972 Fmajor_opcode uint8_t 11973 Fmode uint8_t 11974 Flength uint16_t 11975 Ffamily uint8_t 11976 Fpad0 uint8_t 11977 Faddress_len uint16_t 11978 } /* xproto.h:4603:9 */ 11979 11980 //* Opcode for xcb_change_hosts. 11981 11982 // * 11983 // @brief xcb_change_hosts_request_t 11984 // 11985 type xcb_change_hosts_request_t = xcb_change_hosts_request_t1 /* xproto.h:4610:3 */ 11986 11987 // * 11988 // @brief xcb_host_t 11989 // 11990 type xcb_host_t1 = struct { 11991 Ffamily uint8_t 11992 Fpad0 uint8_t 11993 Faddress_len uint16_t 11994 } /* xproto.h:4615:9 */ 11995 11996 // * 11997 // @brief xcb_host_t 11998 // 11999 type xcb_host_t = xcb_host_t1 /* xproto.h:4619:3 */ 12000 12001 // * 12002 // @brief xcb_host_iterator_t 12003 // 12004 type xcb_host_iterator_t1 = struct { 12005 Fdata uintptr 12006 Frem int32 12007 Findex int32 12008 } /* xproto.h:4624:9 */ 12009 12010 // * 12011 // @brief xcb_host_iterator_t 12012 // 12013 type xcb_host_iterator_t = xcb_host_iterator_t1 /* xproto.h:4628:3 */ 12014 12015 // * 12016 // @brief xcb_list_hosts_cookie_t 12017 // 12018 type xcb_list_hosts_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4633:9 */ 12019 12020 // * 12021 // @brief xcb_list_hosts_cookie_t 12022 // 12023 type xcb_list_hosts_cookie_t = xcb_list_hosts_cookie_t1 /* xproto.h:4635:3 */ 12024 12025 //* Opcode for xcb_list_hosts. 12026 12027 // * 12028 // @brief xcb_list_hosts_request_t 12029 // 12030 type xcb_list_hosts_request_t1 = struct { 12031 Fmajor_opcode uint8_t 12032 Fpad0 uint8_t 12033 Flength uint16_t 12034 } /* xproto.h:4643:9 */ 12035 12036 //* Opcode for xcb_list_hosts. 12037 12038 // * 12039 // @brief xcb_list_hosts_request_t 12040 // 12041 type xcb_list_hosts_request_t = xcb_list_hosts_request_t1 /* xproto.h:4647:3 */ 12042 12043 // * 12044 // @brief xcb_list_hosts_reply_t 12045 // 12046 type xcb_list_hosts_reply_t1 = struct { 12047 Fresponse_type uint8_t 12048 Fmode uint8_t 12049 Fsequence uint16_t 12050 Flength uint32_t 12051 Fhosts_len uint16_t 12052 Fpad0 [22]uint8_t 12053 } /* xproto.h:4652:9 */ 12054 12055 // * 12056 // @brief xcb_list_hosts_reply_t 12057 // 12058 type xcb_list_hosts_reply_t = xcb_list_hosts_reply_t1 /* xproto.h:4659:3 */ 12059 12060 type xcb_access_control_t = uint32 /* xproto.h:4664:3 */ 12061 12062 //* Opcode for xcb_set_access_control. 12063 12064 // * 12065 // @brief xcb_set_access_control_request_t 12066 // 12067 type xcb_set_access_control_request_t1 = struct { 12068 Fmajor_opcode uint8_t 12069 Fmode uint8_t 12070 Flength uint16_t 12071 } /* xproto.h:4672:9 */ 12072 12073 //* Opcode for xcb_set_access_control. 12074 12075 // * 12076 // @brief xcb_set_access_control_request_t 12077 // 12078 type xcb_set_access_control_request_t = xcb_set_access_control_request_t1 /* xproto.h:4676:3 */ 12079 12080 type xcb_close_down_t = uint32 /* xproto.h:4682:3 */ 12081 12082 //* Opcode for xcb_set_close_down_mode. 12083 12084 // * 12085 // @brief xcb_set_close_down_mode_request_t 12086 // 12087 type xcb_set_close_down_mode_request_t1 = struct { 12088 Fmajor_opcode uint8_t 12089 Fmode uint8_t 12090 Flength uint16_t 12091 } /* xproto.h:4690:9 */ 12092 12093 //* Opcode for xcb_set_close_down_mode. 12094 12095 // * 12096 // @brief xcb_set_close_down_mode_request_t 12097 // 12098 type xcb_set_close_down_mode_request_t = xcb_set_close_down_mode_request_t1 /* xproto.h:4694:3 */ 12099 12100 type xcb_kill_t = uint32 /* xproto.h:4698:3 */ 12101 12102 //* Opcode for xcb_kill_client. 12103 12104 // * 12105 // @brief xcb_kill_client_request_t 12106 // 12107 type xcb_kill_client_request_t1 = struct { 12108 Fmajor_opcode uint8_t 12109 Fpad0 uint8_t 12110 Flength uint16_t 12111 Fresource uint32_t 12112 } /* xproto.h:4706:9 */ 12113 12114 //* Opcode for xcb_kill_client. 12115 12116 // * 12117 // @brief xcb_kill_client_request_t 12118 // 12119 type xcb_kill_client_request_t = xcb_kill_client_request_t1 /* xproto.h:4711:3 */ 12120 12121 //* Opcode for xcb_rotate_properties. 12122 12123 // * 12124 // @brief xcb_rotate_properties_request_t 12125 // 12126 type xcb_rotate_properties_request_t1 = struct { 12127 Fmajor_opcode uint8_t 12128 Fpad0 uint8_t 12129 Flength uint16_t 12130 Fwindow xcb_window_t 12131 Fatoms_len uint16_t 12132 Fdelta int16_t 12133 } /* xproto.h:4719:9 */ 12134 12135 //* Opcode for xcb_rotate_properties. 12136 12137 // * 12138 // @brief xcb_rotate_properties_request_t 12139 // 12140 type xcb_rotate_properties_request_t = xcb_rotate_properties_request_t1 /* xproto.h:4726:3 */ 12141 12142 type xcb_screen_saver_t = uint32 /* xproto.h:4731:3 */ 12143 12144 //* Opcode for xcb_force_screen_saver. 12145 12146 // * 12147 // @brief xcb_force_screen_saver_request_t 12148 // 12149 type xcb_force_screen_saver_request_t1 = struct { 12150 Fmajor_opcode uint8_t 12151 Fmode uint8_t 12152 Flength uint16_t 12153 } /* xproto.h:4739:9 */ 12154 12155 //* Opcode for xcb_force_screen_saver. 12156 12157 // * 12158 // @brief xcb_force_screen_saver_request_t 12159 // 12160 type xcb_force_screen_saver_request_t = xcb_force_screen_saver_request_t1 /* xproto.h:4743:3 */ 12161 12162 type xcb_mapping_status_t = uint32 /* xproto.h:4749:3 */ 12163 12164 // * 12165 // @brief xcb_set_pointer_mapping_cookie_t 12166 // 12167 type xcb_set_pointer_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4754:9 */ 12168 12169 // * 12170 // @brief xcb_set_pointer_mapping_cookie_t 12171 // 12172 type xcb_set_pointer_mapping_cookie_t = xcb_set_pointer_mapping_cookie_t1 /* xproto.h:4756:3 */ 12173 12174 //* Opcode for xcb_set_pointer_mapping. 12175 12176 // * 12177 // @brief xcb_set_pointer_mapping_request_t 12178 // 12179 type xcb_set_pointer_mapping_request_t1 = struct { 12180 Fmajor_opcode uint8_t 12181 Fmap_len uint8_t 12182 Flength uint16_t 12183 } /* xproto.h:4764:9 */ 12184 12185 //* Opcode for xcb_set_pointer_mapping. 12186 12187 // * 12188 // @brief xcb_set_pointer_mapping_request_t 12189 // 12190 type xcb_set_pointer_mapping_request_t = xcb_set_pointer_mapping_request_t1 /* xproto.h:4768:3 */ 12191 12192 // * 12193 // @brief xcb_set_pointer_mapping_reply_t 12194 // 12195 type xcb_set_pointer_mapping_reply_t1 = struct { 12196 Fresponse_type uint8_t 12197 Fstatus uint8_t 12198 Fsequence uint16_t 12199 Flength uint32_t 12200 } /* xproto.h:4773:9 */ 12201 12202 // * 12203 // @brief xcb_set_pointer_mapping_reply_t 12204 // 12205 type xcb_set_pointer_mapping_reply_t = xcb_set_pointer_mapping_reply_t1 /* xproto.h:4778:3 */ 12206 12207 // * 12208 // @brief xcb_get_pointer_mapping_cookie_t 12209 // 12210 type xcb_get_pointer_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4783:9 */ 12211 12212 // * 12213 // @brief xcb_get_pointer_mapping_cookie_t 12214 // 12215 type xcb_get_pointer_mapping_cookie_t = xcb_get_pointer_mapping_cookie_t1 /* xproto.h:4785:3 */ 12216 12217 //* Opcode for xcb_get_pointer_mapping. 12218 12219 // * 12220 // @brief xcb_get_pointer_mapping_request_t 12221 // 12222 type xcb_get_pointer_mapping_request_t1 = struct { 12223 Fmajor_opcode uint8_t 12224 Fpad0 uint8_t 12225 Flength uint16_t 12226 } /* xproto.h:4793:9 */ 12227 12228 //* Opcode for xcb_get_pointer_mapping. 12229 12230 // * 12231 // @brief xcb_get_pointer_mapping_request_t 12232 // 12233 type xcb_get_pointer_mapping_request_t = xcb_get_pointer_mapping_request_t1 /* xproto.h:4797:3 */ 12234 12235 // * 12236 // @brief xcb_get_pointer_mapping_reply_t 12237 // 12238 type xcb_get_pointer_mapping_reply_t1 = struct { 12239 Fresponse_type uint8_t 12240 Fmap_len uint8_t 12241 Fsequence uint16_t 12242 Flength uint32_t 12243 Fpad0 [24]uint8_t 12244 } /* xproto.h:4802:9 */ 12245 12246 // * 12247 // @brief xcb_get_pointer_mapping_reply_t 12248 // 12249 type xcb_get_pointer_mapping_reply_t = xcb_get_pointer_mapping_reply_t1 /* xproto.h:4808:3 */ 12250 12251 type xcb_map_index_t = uint32 /* xproto.h:4819:3 */ 12252 12253 // * 12254 // @brief xcb_set_modifier_mapping_cookie_t 12255 // 12256 type xcb_set_modifier_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4824:9 */ 12257 12258 // * 12259 // @brief xcb_set_modifier_mapping_cookie_t 12260 // 12261 type xcb_set_modifier_mapping_cookie_t = xcb_set_modifier_mapping_cookie_t1 /* xproto.h:4826:3 */ 12262 12263 //* Opcode for xcb_set_modifier_mapping. 12264 12265 // * 12266 // @brief xcb_set_modifier_mapping_request_t 12267 // 12268 type xcb_set_modifier_mapping_request_t1 = struct { 12269 Fmajor_opcode uint8_t 12270 Fkeycodes_per_modifier uint8_t 12271 Flength uint16_t 12272 } /* xproto.h:4834:9 */ 12273 12274 //* Opcode for xcb_set_modifier_mapping. 12275 12276 // * 12277 // @brief xcb_set_modifier_mapping_request_t 12278 // 12279 type xcb_set_modifier_mapping_request_t = xcb_set_modifier_mapping_request_t1 /* xproto.h:4838:3 */ 12280 12281 // * 12282 // @brief xcb_set_modifier_mapping_reply_t 12283 // 12284 type xcb_set_modifier_mapping_reply_t1 = struct { 12285 Fresponse_type uint8_t 12286 Fstatus uint8_t 12287 Fsequence uint16_t 12288 Flength uint32_t 12289 } /* xproto.h:4843:9 */ 12290 12291 // * 12292 // @brief xcb_set_modifier_mapping_reply_t 12293 // 12294 type xcb_set_modifier_mapping_reply_t = xcb_set_modifier_mapping_reply_t1 /* xproto.h:4848:3 */ 12295 12296 // * 12297 // @brief xcb_get_modifier_mapping_cookie_t 12298 // 12299 type xcb_get_modifier_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4853:9 */ 12300 12301 // * 12302 // @brief xcb_get_modifier_mapping_cookie_t 12303 // 12304 type xcb_get_modifier_mapping_cookie_t = xcb_get_modifier_mapping_cookie_t1 /* xproto.h:4855:3 */ 12305 12306 //* Opcode for xcb_get_modifier_mapping. 12307 12308 // * 12309 // @brief xcb_get_modifier_mapping_request_t 12310 // 12311 type xcb_get_modifier_mapping_request_t1 = struct { 12312 Fmajor_opcode uint8_t 12313 Fpad0 uint8_t 12314 Flength uint16_t 12315 } /* xproto.h:4863:9 */ 12316 12317 //* Opcode for xcb_get_modifier_mapping. 12318 12319 // * 12320 // @brief xcb_get_modifier_mapping_request_t 12321 // 12322 type xcb_get_modifier_mapping_request_t = xcb_get_modifier_mapping_request_t1 /* xproto.h:4867:3 */ 12323 12324 // * 12325 // @brief xcb_get_modifier_mapping_reply_t 12326 // 12327 type xcb_get_modifier_mapping_reply_t1 = struct { 12328 Fresponse_type uint8_t 12329 Fkeycodes_per_modifier uint8_t 12330 Fsequence uint16_t 12331 Flength uint32_t 12332 Fpad0 [24]uint8_t 12333 } /* xproto.h:4872:9 */ 12334 12335 // * 12336 // @brief xcb_get_modifier_mapping_reply_t 12337 // 12338 type xcb_get_modifier_mapping_reply_t = xcb_get_modifier_mapping_reply_t1 /* xproto.h:4878:3 */ 12339 12340 //* Opcode for xcb_no_operation. 12341 12342 // * 12343 // @brief xcb_no_operation_request_t 12344 // 12345 type xcb_no_operation_request_t1 = struct { 12346 Fmajor_opcode uint8_t 12347 Fpad0 uint8_t 12348 Flength uint16_t 12349 } /* xproto.h:4886:9 */ 12350 12351 //* Opcode for xcb_no_operation. 12352 12353 // * 12354 // @brief xcb_no_operation_request_t 12355 // 12356 type xcb_no_operation_request_t = xcb_no_operation_request_t1 /* xproto.h:4890:3 */ 12357 12358 // * 12359 // @} 12360 12361 //* XCB_NONE is the universal null resource or null atom parameter value for many core X requests 12362 12363 //* XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters 12364 12365 //* XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t 12366 12367 //* XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables 12368 12369 // xcb_auth.c 12370 12371 // * 12372 // @brief Container for authorization information. 12373 // 12374 // A container for authorization information to be sent to the X server. 12375 type xcb_auth_info_t1 = struct { 12376 Fnamelen int32 12377 F__ccgo_pad1 [4]byte 12378 Fname uintptr 12379 Fdatalen int32 12380 F__ccgo_pad2 [4]byte 12381 Fdata uintptr 12382 } /* xcb.h:228:9 */ 12383 12384 // * 12385 // @} 12386 12387 //* XCB_NONE is the universal null resource or null atom parameter value for many core X requests 12388 12389 //* XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters 12390 12391 //* XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t 12392 12393 //* XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables 12394 12395 // xcb_auth.c 12396 12397 // * 12398 // @brief Container for authorization information. 12399 // 12400 // A container for authorization information to be sent to the X server. 12401 type xcb_auth_info_t = xcb_auth_info_t1 /* xcb.h:233:3 */ 12402 12403 // * 12404 // @} 12405 12406 func main1(tls *libc.TLS, _ int32, _ uintptr) int32 { /* screen.c:10:1: */ 12407 bp := tls.Alloc(64) 12408 defer tls.Free(64) 12409 12410 var c uintptr 12411 var screen uintptr 12412 // var screen_nbr int32 at bp+40, 4 12413 12414 // var iter xcb_screen_iterator_t at bp+48, 16 12415 12416 // Open the connection to the X server. Use the DISPLAY environment variable 12417 c = xcb.Xxcb_connect(tls, uintptr(0), bp+40) 12418 12419 // Get the screen #screen_nbr 12420 *(*xcb_screen_iterator_t)(unsafe.Pointer(bp + 48 /* iter */)) = xcb.Xxcb_setup_roots_iterator(tls, xcb.Xxcb_get_setup(tls, c)) 12421 __1: 12422 if !((*xcb_screen_iterator_t)(unsafe.Pointer(bp+48)).Frem != 0) { 12423 goto __3 12424 } 12425 if *(*int32)(unsafe.Pointer(bp + 40)) == 0 { 12426 screen = (*xcb_screen_iterator_t)(unsafe.Pointer(bp + 48 /* &iter */)).Fdata 12427 goto __3 12428 } 12429 goto __2 12430 __2: 12431 *(*int32)(unsafe.Pointer(bp + 40 /* screen_nbr */))-- 12432 xcb.Xxcb_screen_next(tls, bp+48) 12433 goto __1 12434 goto __3 12435 __3: 12436 ; 12437 12438 libc.Xprintf(tls, ts, 0) 12439 libc.Xprintf(tls, ts+2, libc.VaList(bp, (*xcb_screen_t)(unsafe.Pointer(screen)).Froot)) 12440 libc.Xprintf(tls, ts+31, libc.VaList(bp+8, int32((*xcb_screen_t)(unsafe.Pointer(screen)).Fwidth_in_pixels))) 12441 libc.Xprintf(tls, ts+53, libc.VaList(bp+16, int32((*xcb_screen_t)(unsafe.Pointer(screen)).Fheight_in_pixels))) 12442 libc.Xprintf(tls, ts+75, libc.VaList(bp+24, (*xcb_screen_t)(unsafe.Pointer(screen)).Fwhite_pixel)) 12443 libc.Xprintf(tls, ts+98, libc.VaList(bp+32, (*xcb_screen_t)(unsafe.Pointer(screen)).Fblack_pixel)) 12444 libc.Xprintf(tls, ts, 0) 12445 12446 return 0 12447 } 12448 12449 var ts1 = "\n\x00Informations of screen %ld:\n\x00 width.........: %d\n\x00 height........: %d\n\x00 white pixel...: %ld\n\x00 black pixel...: %ld\n\x00" 12450 var ts = (*reflect.StringHeader)(unsafe.Pointer(&ts1)).Data