modernc.org/xcb@v1.0.15/examples/fontcompleteexample/fontcompleteexample_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/fontcompleteexample/fontcompleteexample_darwin_arm64.go examples/fontcompleteexample/fontcompleteexample.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 // Copyright (c) 2000 Apple Computer, Inc. All rights reserved. 660 // 661 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 662 // 663 // This file contains Original Code and/or Modifications of Original Code 664 // as defined in and that are subject to the Apple Public Source License 665 // Version 2.0 (the 'License'). You may not use this file except in 666 // compliance with the License. The rights granted to you under the License 667 // may not be used to create, or enable the creation or redistribution of, 668 // unlawful or unlicensed copies of an Apple operating system, or to 669 // circumvent, violate, or enable the circumvention or violation of, any 670 // terms of an Apple operating system software license agreement. 671 // 672 // Please obtain a copy of the License at 673 // http://www.opensource.apple.com/apsl/ and read it before using this file. 674 // 675 // The Original Code and all software distributed under the License are 676 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 677 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 678 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 679 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 680 // Please see the License for the specific language governing rights and 681 // limitations under the License. 682 // 683 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 684 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 685 // Copyright (c) 1982, 1986, 1989, 1993, 1994 686 // The Regents of the University of California. All rights reserved. 687 // 688 // Redistribution and use in source and binary forms, with or without 689 // modification, are permitted provided that the following conditions 690 // are met: 691 // 1. Redistributions of source code must retain the above copyright 692 // notice, this list of conditions and the following disclaimer. 693 // 2. Redistributions in binary form must reproduce the above copyright 694 // notice, this list of conditions and the following disclaimer in the 695 // documentation and/or other materials provided with the distribution. 696 // 3. All advertising materials mentioning features or use of this software 697 // must display the following acknowledgement: 698 // This product includes software developed by the University of 699 // California, Berkeley and its contributors. 700 // 4. Neither the name of the University nor the names of its contributors 701 // may be used to endorse or promote products derived from this software 702 // without specific prior written permission. 703 // 704 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 705 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 706 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 707 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 708 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 709 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 710 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 711 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 712 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 713 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 714 // SUCH DAMAGE. 715 // 716 // @(#)wait.h 8.2 (Berkeley) 7/10/94 717 718 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 719 // 720 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 721 // 722 // This file contains Original Code and/or Modifications of Original Code 723 // as defined in and that are subject to the Apple Public Source License 724 // Version 2.0 (the 'License'). You may not use this file except in 725 // compliance with the License. The rights granted to you under the License 726 // may not be used to create, or enable the creation or redistribution of, 727 // unlawful or unlicensed copies of an Apple operating system, or to 728 // circumvent, violate, or enable the circumvention or violation of, any 729 // terms of an Apple operating system software license agreement. 730 // 731 // Please obtain a copy of the License at 732 // http://www.opensource.apple.com/apsl/ and read it before using this file. 733 // 734 // The Original Code and all software distributed under the License are 735 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 736 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 737 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 738 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 739 // Please see the License for the specific language governing rights and 740 // limitations under the License. 741 // 742 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 743 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 744 // Copyright (c) 1991, 1993 745 // The Regents of the University of California. All rights reserved. 746 // 747 // This code is derived from software contributed to Berkeley by 748 // Berkeley Software Design, Inc. 749 // 750 // Redistribution and use in source and binary forms, with or without 751 // modification, are permitted provided that the following conditions 752 // are met: 753 // 1. Redistributions of source code must retain the above copyright 754 // notice, this list of conditions and the following disclaimer. 755 // 2. Redistributions in binary form must reproduce the above copyright 756 // notice, this list of conditions and the following disclaimer in the 757 // documentation and/or other materials provided with the distribution. 758 // 3. All advertising materials mentioning features or use of this software 759 // must display the following acknowledgement: 760 // This product includes software developed by the University of 761 // California, Berkeley and its contributors. 762 // 4. Neither the name of the University nor the names of its contributors 763 // may be used to endorse or promote products derived from this software 764 // without specific prior written permission. 765 // 766 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 767 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 768 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 769 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 770 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 771 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 772 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 773 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 774 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 775 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 776 // SUCH DAMAGE. 777 // 778 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 779 780 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 781 // 782 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 783 // 784 // This file contains Original Code and/or Modifications of Original Code 785 // as defined in and that are subject to the Apple Public Source License 786 // Version 2.0 (the 'License'). You may not use this file except in 787 // compliance with the License. The rights granted to you under the License 788 // may not be used to create, or enable the creation or redistribution of, 789 // unlawful or unlicensed copies of an Apple operating system, or to 790 // circumvent, violate, or enable the circumvention or violation of, any 791 // terms of an Apple operating system software license agreement. 792 // 793 // Please obtain a copy of the License at 794 // http://www.opensource.apple.com/apsl/ and read it before using this file. 795 // 796 // The Original Code and all software distributed under the License are 797 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 798 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 799 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 800 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 801 // Please see the License for the specific language governing rights and 802 // limitations under the License. 803 // 804 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 805 806 // This file holds definitions relevent to the wait4 system call 807 // and the alternate interfaces that use it (wait, wait3, waitpid). 808 809 // [XSI] The type idtype_t shall be defined as an enumeration type whose 810 // possible values shall include at least P_ALL, P_PID, and P_PGID. 811 const ( /* wait.h:79:1: */ 812 P_ALL = 0 813 P_PID = 1 814 P_PGID = 2 815 ) 816 817 const ( /* time.h:153:1: */ 818 _CLOCK_REALTIME = 0 819 _CLOCK_MONOTONIC = 6 820 _CLOCK_MONOTONIC_RAW = 4 821 _CLOCK_MONOTONIC_RAW_APPROX = 5 822 _CLOCK_UPTIME_RAW = 8 823 _CLOCK_UPTIME_RAW_APPROX = 9 824 _CLOCK_PROCESS_CPUTIME_ID = 12 825 _CLOCK_THREAD_CPUTIME_ID = 16 826 ) 827 828 const ( /* xproto.h:1028:1: */ 829 XCB_TIME_CURRENT_TIME = 0 830 ) 831 832 const ( /* xproto.h:1032:1: */ 833 XCB_ATOM_NONE = 0 834 XCB_ATOM_ANY = 0 835 XCB_ATOM_PRIMARY = 1 836 XCB_ATOM_SECONDARY = 2 837 XCB_ATOM_ARC = 3 838 XCB_ATOM_ATOM = 4 839 XCB_ATOM_BITMAP = 5 840 XCB_ATOM_CARDINAL = 6 841 XCB_ATOM_COLORMAP = 7 842 XCB_ATOM_CURSOR = 8 843 XCB_ATOM_CUT_BUFFER0 = 9 844 XCB_ATOM_CUT_BUFFER1 = 10 845 XCB_ATOM_CUT_BUFFER2 = 11 846 XCB_ATOM_CUT_BUFFER3 = 12 847 XCB_ATOM_CUT_BUFFER4 = 13 848 XCB_ATOM_CUT_BUFFER5 = 14 849 XCB_ATOM_CUT_BUFFER6 = 15 850 XCB_ATOM_CUT_BUFFER7 = 16 851 XCB_ATOM_DRAWABLE = 17 852 XCB_ATOM_FONT = 18 853 XCB_ATOM_INTEGER = 19 854 XCB_ATOM_PIXMAP = 20 855 XCB_ATOM_POINT = 21 856 XCB_ATOM_RECTANGLE = 22 857 XCB_ATOM_RESOURCE_MANAGER = 23 858 XCB_ATOM_RGB_COLOR_MAP = 24 859 XCB_ATOM_RGB_BEST_MAP = 25 860 XCB_ATOM_RGB_BLUE_MAP = 26 861 XCB_ATOM_RGB_DEFAULT_MAP = 27 862 XCB_ATOM_RGB_GRAY_MAP = 28 863 XCB_ATOM_RGB_GREEN_MAP = 29 864 XCB_ATOM_RGB_RED_MAP = 30 865 XCB_ATOM_STRING = 31 866 XCB_ATOM_VISUALID = 32 867 XCB_ATOM_WINDOW = 33 868 XCB_ATOM_WM_COMMAND = 34 869 XCB_ATOM_WM_HINTS = 35 870 XCB_ATOM_WM_CLIENT_MACHINE = 36 871 XCB_ATOM_WM_ICON_NAME = 37 872 XCB_ATOM_WM_ICON_SIZE = 38 873 XCB_ATOM_WM_NAME = 39 874 XCB_ATOM_WM_NORMAL_HINTS = 40 875 XCB_ATOM_WM_SIZE_HINTS = 41 876 XCB_ATOM_WM_ZOOM_HINTS = 42 877 XCB_ATOM_MIN_SPACE = 43 878 XCB_ATOM_NORM_SPACE = 44 879 XCB_ATOM_MAX_SPACE = 45 880 XCB_ATOM_END_SPACE = 46 881 XCB_ATOM_SUPERSCRIPT_X = 47 882 XCB_ATOM_SUPERSCRIPT_Y = 48 883 XCB_ATOM_SUBSCRIPT_X = 49 884 XCB_ATOM_SUBSCRIPT_Y = 50 885 XCB_ATOM_UNDERLINE_POSITION = 51 886 XCB_ATOM_UNDERLINE_THICKNESS = 52 887 XCB_ATOM_STRIKEOUT_ASCENT = 53 888 XCB_ATOM_STRIKEOUT_DESCENT = 54 889 XCB_ATOM_ITALIC_ANGLE = 55 890 XCB_ATOM_X_HEIGHT = 56 891 XCB_ATOM_QUAD_WIDTH = 57 892 XCB_ATOM_WEIGHT = 58 893 XCB_ATOM_POINT_SIZE = 59 894 XCB_ATOM_RESOLUTION = 60 895 XCB_ATOM_COPYRIGHT = 61 896 XCB_ATOM_NOTICE = 62 897 XCB_ATOM_FONT_NAME = 63 898 XCB_ATOM_FAMILY_NAME = 64 899 XCB_ATOM_FULL_NAME = 65 900 XCB_ATOM_CAP_HEIGHT = 66 901 XCB_ATOM_WM_CLASS = 67 902 XCB_ATOM_WM_TRANSIENT_FOR = 68 903 ) 904 905 const ( /* xproto.h:1140:1: */ 906 XCB_COLORMAP_STATE_UNINSTALLED = 0 907 //*< The colormap was uninstalled. 908 909 XCB_COLORMAP_STATE_INSTALLED = 1 910 ) 911 912 const ( /* xproto.h:1149:1: */ 913 XCB_COLORMAP_NONE = 0 914 ) 915 916 const ( /* xproto.h:1203:1: */ 917 XCB_MAPPING_MODIFIER = 0 918 XCB_MAPPING_KEYBOARD = 1 919 XCB_MAPPING_POINTER = 2 920 ) 921 922 const ( /* xproto.h:1348:1: */ 923 XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0 924 XCB_WINDOW_CLASS_INPUT_OUTPUT = 1 925 XCB_WINDOW_CLASS_INPUT_ONLY = 2 926 ) 927 928 const ( /* xproto.h:1354:1: */ 929 XCB_CW_BACK_PIXMAP = 1 930 //*< Overrides the default background-pixmap. The background pixmap and window must 931 // have the same root and same depth. Any size pixmap can be used, although some 932 // sizes may be faster than others. 933 // 934 // If `XCB_BACK_PIXMAP_NONE` is specified, the window has no defined background. 935 // The server may fill the contents with the previous screen contents or with 936 // contents of its own choosing. 937 // 938 // If `XCB_BACK_PIXMAP_PARENT_RELATIVE` is specified, the parent's background is 939 // used, but the window must have the same depth as the parent (or a Match error 940 // results). The parent's background is tracked, and the current version is 941 // used each time the window background is required. 942 943 XCB_CW_BACK_PIXEL = 2 944 //*< Overrides `BackPixmap`. A pixmap of undefined size filled with the specified 945 // background pixel is used for the background. Range-checking is not performed, 946 // the background pixel is truncated to the appropriate number of bits. 947 948 XCB_CW_BORDER_PIXMAP = 4 949 //*< Overrides the default border-pixmap. The border pixmap and window must have the 950 // same root and the same depth. Any size pixmap can be used, although some sizes 951 // may be faster than others. 952 // 953 // The special value `XCB_COPY_FROM_PARENT` means the parent's border pixmap is 954 // copied (subsequent changes to the parent's border attribute do not affect the 955 // child), but the window must have the same depth as the parent. 956 957 XCB_CW_BORDER_PIXEL = 8 958 //*< Overrides `BorderPixmap`. A pixmap of undefined size filled with the specified 959 // border pixel is used for the border. Range checking is not performed on the 960 // border-pixel value, it is truncated to the appropriate number of bits. 961 962 XCB_CW_BIT_GRAVITY = 16 963 //*< Defines which region of the window should be retained if the window is resized. 964 965 XCB_CW_WIN_GRAVITY = 32 966 //*< Defines how the window should be repositioned if the parent is resized (see 967 // `ConfigureWindow`). 968 969 XCB_CW_BACKING_STORE = 64 970 //*< A backing-store of `WhenMapped` advises the server that maintaining contents of 971 // obscured regions when the window is mapped would be beneficial. A backing-store 972 // of `Always` advises the server that maintaining contents even when the window 973 // is unmapped would be beneficial. In this case, the server may generate an 974 // exposure event when the window is created. A value of `NotUseful` advises the 975 // server that maintaining contents is unnecessary, although a server may still 976 // choose to maintain contents while the window is mapped. Note that if the server 977 // maintains contents, then the server should maintain complete contents not just 978 // the region within the parent boundaries, even if the window is larger than its 979 // parent. While the server maintains contents, exposure events will not normally 980 // be generated, but the server may stop maintaining contents at any time. 981 982 XCB_CW_BACKING_PLANES = 128 983 //*< The backing-planes indicates (with bits set to 1) which bit planes of the 984 // window hold dynamic data that must be preserved in backing-stores and during 985 // save-unders. 986 987 XCB_CW_BACKING_PIXEL = 256 988 //*< The backing-pixel specifies what value to use in planes not covered by 989 // backing-planes. The server is free to save only the specified bit planes in the 990 // backing-store or save-under and regenerate the remaining planes with the 991 // specified pixel value. Any bits beyond the specified depth of the window in 992 // these values are simply ignored. 993 994 XCB_CW_OVERRIDE_REDIRECT = 512 995 //*< The override-redirect specifies whether map and configure requests on this 996 // window should override a SubstructureRedirect on the parent, typically to 997 // inform a window manager not to tamper with the window. 998 999 XCB_CW_SAVE_UNDER = 1024 1000 //*< If 1, the server is advised that when this window is mapped, saving the 1001 // contents of windows it obscures would be beneficial. 1002 1003 XCB_CW_EVENT_MASK = 2048 1004 //*< The event-mask defines which events the client is interested in for this window 1005 // (or for some event types, inferiors of the window). 1006 1007 XCB_CW_DONT_PROPAGATE = 4096 1008 //*< The do-not-propagate-mask defines which events should not be propagated to 1009 // ancestor windows when no client has the event type selected in this window. 1010 1011 XCB_CW_COLORMAP = 8192 1012 //*< The colormap specifies the colormap that best reflects the true colors of the window. Servers 1013 // capable of supporting multiple hardware colormaps may use this information, and window man- 1014 // agers may use it for InstallColormap requests. The colormap must have the same visual type 1015 // and root as the window (or a Match error results). If CopyFromParent is specified, the parent's 1016 // colormap is copied (subsequent changes to the parent's colormap attribute do not affect the child). 1017 // However, the window must have the same visual type as the parent (or a Match error results), 1018 // and the parent must not have a colormap of None (or a Match error results). For an explanation 1019 // of None, see FreeColormap request. The colormap is copied by sharing the colormap object 1020 // between the child and the parent, not by making a complete copy of the colormap contents. 1021 1022 XCB_CW_CURSOR = 16384 1023 ) 1024 1025 const ( /* xproto.h:1455:1: */ 1026 XCB_BACK_PIXMAP_NONE = 0 1027 XCB_BACK_PIXMAP_PARENT_RELATIVE = 1 1028 ) 1029 1030 const ( /* xproto.h:1460:1: */ 1031 XCB_GRAVITY_BIT_FORGET = 0 1032 XCB_GRAVITY_WIN_UNMAP = 0 1033 XCB_GRAVITY_NORTH_WEST = 1 1034 XCB_GRAVITY_NORTH = 2 1035 XCB_GRAVITY_NORTH_EAST = 3 1036 XCB_GRAVITY_WEST = 4 1037 XCB_GRAVITY_CENTER = 5 1038 XCB_GRAVITY_EAST = 6 1039 XCB_GRAVITY_SOUTH_WEST = 7 1040 XCB_GRAVITY_SOUTH = 8 1041 XCB_GRAVITY_SOUTH_EAST = 9 1042 XCB_GRAVITY_STATIC = 10 1043 ) 1044 1045 const ( /* xproto.h:1553:1: */ 1046 XCB_MAP_STATE_UNMAPPED = 0 1047 XCB_MAP_STATE_UNVIEWABLE = 1 1048 XCB_MAP_STATE_VIEWABLE = 2 1049 ) 1050 1051 const ( /* xproto.h:1630:1: */ 1052 XCB_SET_MODE_INSERT = 0 1053 XCB_SET_MODE_DELETE = 1 1054 ) 1055 1056 const ( /* xproto.h:1716:1: */ 1057 XCB_CONFIG_WINDOW_X = 1 1058 XCB_CONFIG_WINDOW_Y = 2 1059 XCB_CONFIG_WINDOW_WIDTH = 4 1060 XCB_CONFIG_WINDOW_HEIGHT = 8 1061 XCB_CONFIG_WINDOW_BORDER_WIDTH = 16 1062 XCB_CONFIG_WINDOW_SIBLING = 32 1063 XCB_CONFIG_WINDOW_STACK_MODE = 64 1064 ) 1065 1066 const ( /* xproto.h:1726:1: */ 1067 XCB_STACK_MODE_ABOVE = 0 1068 XCB_STACK_MODE_BELOW = 1 1069 XCB_STACK_MODE_TOP_IF = 2 1070 XCB_STACK_MODE_BOTTOM_IF = 3 1071 XCB_STACK_MODE_OPPOSITE = 4 1072 ) 1073 1074 const ( /* xproto.h:1762:1: */ 1075 XCB_CIRCULATE_RAISE_LOWEST = 0 1076 XCB_CIRCULATE_LOWER_HIGHEST = 1 1077 ) 1078 1079 const ( /* xproto.h:1915:1: */ 1080 XCB_PROP_MODE_REPLACE = 0 1081 //*< Discard the previous property value and store the new data. 1082 1083 XCB_PROP_MODE_PREPEND = 1 1084 //*< Insert the new data before the beginning of existing data. The `format` must 1085 // match existing property value. If the property is undefined, it is treated as 1086 // defined with the correct type and format with zero-length data. 1087 1088 XCB_PROP_MODE_APPEND = 2 1089 ) 1090 1091 const ( /* xproto.h:1963:1: */ 1092 XCB_GET_PROPERTY_TYPE_ANY = 0 1093 ) 1094 1095 const ( /* xproto.h:2100:1: */ 1096 XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0 1097 XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1 1098 ) 1099 1100 const ( /* xproto.h:2120:1: */ 1101 XCB_GRAB_MODE_SYNC = 0 1102 //*< The state of the keyboard appears to freeze: No further keyboard events are 1103 // generated by the server until the grabbing client issues a releasing 1104 // `AllowEvents` request or until the keyboard grab is released. 1105 1106 XCB_GRAB_MODE_ASYNC = 1 1107 ) 1108 1109 const ( /* xproto.h:2131:1: */ 1110 XCB_GRAB_STATUS_SUCCESS = 0 1111 XCB_GRAB_STATUS_ALREADY_GRABBED = 1 1112 XCB_GRAB_STATUS_INVALID_TIME = 2 1113 XCB_GRAB_STATUS_NOT_VIEWABLE = 3 1114 XCB_GRAB_STATUS_FROZEN = 4 1115 ) 1116 1117 const ( /* xproto.h:2139:1: */ 1118 XCB_CURSOR_NONE = 0 1119 ) 1120 1121 const ( /* xproto.h:2192:1: */ 1122 XCB_BUTTON_INDEX_ANY = 0 1123 //*< Any of the following (or none): 1124 1125 XCB_BUTTON_INDEX_1 = 1 1126 //*< The left mouse button. 1127 1128 XCB_BUTTON_INDEX_2 = 2 1129 //*< The right mouse button. 1130 1131 XCB_BUTTON_INDEX_3 = 3 1132 //*< The middle mouse button. 1133 1134 XCB_BUTTON_INDEX_4 = 4 1135 //*< Scroll wheel. TODO: direction? 1136 1137 XCB_BUTTON_INDEX_5 = 5 1138 ) 1139 1140 const ( /* xproto.h:2312:1: */ 1141 XCB_GRAB_ANY = 0 1142 ) 1143 1144 const ( /* xproto.h:2349:1: */ 1145 XCB_ALLOW_ASYNC_POINTER = 0 1146 //*< For AsyncPointer, if the pointer is frozen by the client, pointer event 1147 // processing continues normally. If the pointer is frozen twice by the client on 1148 // behalf of two separate grabs, AsyncPointer thaws for both. AsyncPointer has no 1149 // effect if the pointer is not frozen by the client, but the pointer need not be 1150 // grabbed by the client. 1151 // 1152 // TODO: rewrite this in more understandable terms. 1153 1154 XCB_ALLOW_SYNC_POINTER = 1 1155 //*< For SyncPointer, if the pointer is frozen and actively grabbed by the client, 1156 // pointer event processing continues normally until the next ButtonPress or 1157 // ButtonRelease event is reported to the client, at which time the pointer again 1158 // appears to freeze. However, if the reported event causes the pointer grab to be 1159 // released, then the pointer does not freeze. SyncPointer has no effect if the 1160 // pointer is not frozen by the client or if the pointer is not grabbed by the 1161 // client. 1162 1163 XCB_ALLOW_REPLAY_POINTER = 2 1164 //*< For ReplayPointer, if the pointer is actively grabbed by the client and is 1165 // frozen as the result of an event having been sent to the client (either from 1166 // the activation of a GrabButton or from a previous AllowEvents with mode 1167 // SyncPointer but not from a GrabPointer), then the pointer grab is released and 1168 // that event is completely reprocessed, this time ignoring any passive grabs at 1169 // or above (towards the root) the grab-window of the grab just released. The 1170 // request has no effect if the pointer is not grabbed by the client or if the 1171 // pointer is not frozen as the result of an event. 1172 1173 XCB_ALLOW_ASYNC_KEYBOARD = 3 1174 //*< For AsyncKeyboard, if the keyboard is frozen by the client, keyboard event 1175 // processing continues normally. If the keyboard is frozen twice by the client on 1176 // behalf of two separate grabs, AsyncKeyboard thaws for both. AsyncKeyboard has 1177 // no effect if the keyboard is not frozen by the client, but the keyboard need 1178 // not be grabbed by the client. 1179 1180 XCB_ALLOW_SYNC_KEYBOARD = 4 1181 //*< For SyncKeyboard, if the keyboard is frozen and actively grabbed by the client, 1182 // keyboard event processing continues normally until the next KeyPress or 1183 // KeyRelease event is reported to the client, at which time the keyboard again 1184 // appears to freeze. However, if the reported event causes the keyboard grab to 1185 // be released, then the keyboard does not freeze. SyncKeyboard has no effect if 1186 // the keyboard is not frozen by the client or if the keyboard is not grabbed by 1187 // the client. 1188 1189 XCB_ALLOW_REPLAY_KEYBOARD = 5 1190 //*< For ReplayKeyboard, if the keyboard is actively grabbed by the client and is 1191 // frozen as the result of an event having been sent to the client (either from 1192 // the activation of a GrabKey or from a previous AllowEvents with mode 1193 // SyncKeyboard but not from a GrabKeyboard), then the keyboard grab is released 1194 // and that event is completely reprocessed, this time ignoring any passive grabs 1195 // at or above (towards the root) the grab-window of the grab just released. The 1196 // request has no effect if the keyboard is not grabbed by the client or if the 1197 // keyboard is not frozen as the result of an event. 1198 1199 XCB_ALLOW_ASYNC_BOTH = 6 1200 //*< For AsyncBoth, if the pointer and the keyboard are frozen by the client, event 1201 // processing for both devices continues normally. If a device is frozen twice by 1202 // the client on behalf of two separate grabs, AsyncBoth thaws for both. AsyncBoth 1203 // has no effect unless both pointer and keyboard are frozen by the client. 1204 1205 XCB_ALLOW_SYNC_BOTH = 7 1206 ) 1207 1208 const ( /* xproto.h:2608:1: */ 1209 XCB_INPUT_FOCUS_NONE = 0 1210 //*< The focus reverts to `XCB_NONE`, so no window will have the input focus. 1211 1212 XCB_INPUT_FOCUS_POINTER_ROOT = 1 1213 //*< The focus reverts to `XCB_POINTER_ROOT` respectively. When the focus reverts, 1214 // FocusIn and FocusOut events are generated, but the last-focus-change time is 1215 // not changed. 1216 1217 XCB_INPUT_FOCUS_PARENT = 2 1218 //*< The focus reverts to the parent (or closest viewable ancestor) and the new 1219 // revert_to value is `XCB_INPUT_FOCUS_NONE`. 1220 1221 XCB_INPUT_FOCUS_FOLLOW_KEYBOARD = 3 1222 ) 1223 1224 const ( /* xproto.h:2728:1: */ 1225 XCB_FONT_DRAW_LEFT_TO_RIGHT = 0 1226 XCB_FONT_DRAW_RIGHT_TO_LEFT = 1 1227 ) 1228 1229 const ( /* xproto.h:290:1: */ 1230 XCB_VISUAL_CLASS_STATIC_GRAY = 0 1231 XCB_VISUAL_CLASS_GRAY_SCALE = 1 1232 XCB_VISUAL_CLASS_STATIC_COLOR = 2 1233 XCB_VISUAL_CLASS_PSEUDO_COLOR = 3 1234 XCB_VISUAL_CLASS_TRUE_COLOR = 4 1235 XCB_VISUAL_CLASS_DIRECT_COLOR = 5 1236 ) 1237 1238 const ( /* xproto.h:3022:1: */ 1239 XCB_GC_FUNCTION = 1 1240 //*< TODO: Refer to GX 1241 1242 XCB_GC_PLANE_MASK = 2 1243 //*< In graphics operations, given a source and destination pixel, the result is 1244 // computed bitwise on corresponding bits of the pixels; that is, a Boolean 1245 // operation is performed in each bit plane. The plane-mask restricts the 1246 // operation to a subset of planes, so the result is: 1247 // 1248 // ((src FUNC dst) AND plane-mask) OR (dst AND (NOT plane-mask)) 1249 1250 XCB_GC_FOREGROUND = 4 1251 //*< Foreground colorpixel. 1252 1253 XCB_GC_BACKGROUND = 8 1254 //*< Background colorpixel. 1255 1256 XCB_GC_LINE_WIDTH = 16 1257 //*< The line-width is measured in pixels and can be greater than or equal to one, a wide line, or the 1258 // special value zero, a thin line. 1259 1260 XCB_GC_LINE_STYLE = 32 1261 //*< The line-style defines which sections of a line are drawn: 1262 // Solid The full path of the line is drawn. 1263 // DoubleDash The full path of the line is drawn, but the even dashes are filled differently 1264 // than the odd dashes (see fill-style), with Butt cap-style used where even and 1265 // odd dashes meet. 1266 // OnOffDash Only the even dashes are drawn, and cap-style applies to all internal ends of 1267 // the individual dashes (except NotLast is treated as Butt). 1268 1269 XCB_GC_CAP_STYLE = 64 1270 //*< The cap-style defines how the endpoints of a path are drawn: 1271 // NotLast The result is equivalent to Butt, except that for a line-width of zero the final 1272 // endpoint is not drawn. 1273 // Butt The result is square at the endpoint (perpendicular to the slope of the line) 1274 // with no projection beyond. 1275 // Round The result is a circular arc with its diameter equal to the line-width, centered 1276 // on the endpoint; it is equivalent to Butt for line-width zero. 1277 // Projecting The result is square at the end, but the path continues beyond the endpoint for 1278 // a distance equal to half the line-width; it is equivalent to Butt for line-width 1279 // zero. 1280 1281 XCB_GC_JOIN_STYLE = 128 1282 //*< The join-style defines how corners are drawn for wide lines: 1283 // Miter The outer edges of the two lines extend to meet at an angle. However, if the 1284 // angle is less than 11 degrees, a Bevel join-style is used instead. 1285 // Round The result is a circular arc with a diameter equal to the line-width, centered 1286 // on the joinpoint. 1287 // Bevel The result is Butt endpoint styles, and then the triangular notch is filled. 1288 1289 XCB_GC_FILL_STYLE = 256 1290 //*< The fill-style defines the contents of the source for line, text, and fill requests. For all text and fill 1291 // requests (for example, PolyText8, PolyText16, PolyFillRectangle, FillPoly, and PolyFillArc) 1292 // as well as for line requests with line-style Solid, (for example, PolyLine, PolySegment, 1293 // PolyRectangle, PolyArc) and for the even dashes for line requests with line-style OnOffDash 1294 // or DoubleDash: 1295 // Solid Foreground 1296 // Tiled Tile 1297 // OpaqueStippled A tile with the same width and height as stipple but with background 1298 // everywhere stipple has a zero and with foreground everywhere stipple 1299 // has a one 1300 // Stippled Foreground masked by stipple 1301 // For the odd dashes for line requests with line-style DoubleDash: 1302 // Solid Background 1303 // Tiled Same as for even dashes 1304 // OpaqueStippled Same as for even dashes 1305 // Stippled Background masked by stipple 1306 1307 XCB_GC_FILL_RULE = 512 1308 //*< 1309 1310 XCB_GC_TILE = 1024 1311 //*< The tile/stipple represents an infinite two-dimensional plane with the tile/stipple replicated in all 1312 // dimensions. When that plane is superimposed on the drawable for use in a graphics operation, 1313 // the upper-left corner of some instance of the tile/stipple is at the coordinates within the drawable 1314 // specified by the tile/stipple origin. The tile/stipple and clip origins are interpreted relative to the 1315 // origin of whatever destination drawable is specified in a graphics request. 1316 // The tile pixmap must have the same root and depth as the gcontext (or a Match error results). 1317 // The stipple pixmap must have depth one and must have the same root as the gcontext (or a 1318 // Match error results). For fill-style Stippled (but not fill-style 1319 // OpaqueStippled), the stipple pattern is tiled in a single plane and acts as an 1320 // additional clip mask to be ANDed with the clip-mask. 1321 // Any size pixmap can be used for tiling or stippling, although some sizes may be faster to use than 1322 // others. 1323 1324 XCB_GC_STIPPLE = 2048 1325 //*< The tile/stipple represents an infinite two-dimensional plane with the tile/stipple replicated in all 1326 // dimensions. When that plane is superimposed on the drawable for use in a graphics operation, 1327 // the upper-left corner of some instance of the tile/stipple is at the coordinates within the drawable 1328 // specified by the tile/stipple origin. The tile/stipple and clip origins are interpreted relative to the 1329 // origin of whatever destination drawable is specified in a graphics request. 1330 // The tile pixmap must have the same root and depth as the gcontext (or a Match error results). 1331 // The stipple pixmap must have depth one and must have the same root as the gcontext (or a 1332 // Match error results). For fill-style Stippled (but not fill-style 1333 // OpaqueStippled), the stipple pattern is tiled in a single plane and acts as an 1334 // additional clip mask to be ANDed with the clip-mask. 1335 // Any size pixmap can be used for tiling or stippling, although some sizes may be faster to use than 1336 // others. 1337 1338 XCB_GC_TILE_STIPPLE_ORIGIN_X = 4096 1339 //*< TODO 1340 1341 XCB_GC_TILE_STIPPLE_ORIGIN_Y = 8192 1342 //*< TODO 1343 1344 XCB_GC_FONT = 16384 1345 //*< Which font to use for the `ImageText8` and `ImageText16` requests. 1346 1347 XCB_GC_SUBWINDOW_MODE = 32768 1348 //*< For ClipByChildren, both source and destination windows are additionally 1349 // clipped by all viewable InputOutput children. For IncludeInferiors, neither 1350 // source nor destination window is 1351 // clipped by inferiors. This will result in including subwindow contents in the source and drawing 1352 // through subwindow boundaries of the destination. The use of IncludeInferiors with a source or 1353 // destination window of one depth with mapped inferiors of differing depth is not illegal, but the 1354 // semantics is undefined by the core protocol. 1355 1356 XCB_GC_GRAPHICS_EXPOSURES = 65536 1357 //*< Whether ExposureEvents should be generated (1) or not (0). 1358 // 1359 // The default is 1. 1360 1361 XCB_GC_CLIP_ORIGIN_X = 131072 1362 //*< TODO 1363 1364 XCB_GC_CLIP_ORIGIN_Y = 262144 1365 //*< TODO 1366 1367 XCB_GC_CLIP_MASK = 524288 1368 //*< The clip-mask restricts writes to the destination drawable. Only pixels where the clip-mask has 1369 // bits set to 1 are drawn. Pixels are not drawn outside the area covered by the clip-mask or where 1370 // the clip-mask has bits set to 0. The clip-mask affects all graphics requests, but it does not clip 1371 // 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 1372 // depth 1 and have the same root as the gcontext (or a Match error results). If clip-mask is None, 1373 // then pixels are always drawn, regardless of the clip origin. The clip-mask can also be set with the 1374 // SetClipRectangles request. 1375 1376 XCB_GC_DASH_OFFSET = 1048576 1377 //*< TODO 1378 1379 XCB_GC_DASH_LIST = 2097152 1380 //*< TODO 1381 1382 XCB_GC_ARC_MODE = 4194304 1383 ) 1384 1385 const ( /* xproto.h:3171:1: */ 1386 XCB_GX_CLEAR = 0 1387 XCB_GX_AND = 1 1388 XCB_GX_AND_REVERSE = 2 1389 XCB_GX_COPY = 3 1390 XCB_GX_AND_INVERTED = 4 1391 XCB_GX_NOOP = 5 1392 XCB_GX_XOR = 6 1393 XCB_GX_OR = 7 1394 XCB_GX_NOR = 8 1395 XCB_GX_EQUIV = 9 1396 XCB_GX_INVERT = 10 1397 XCB_GX_OR_REVERSE = 11 1398 XCB_GX_COPY_INVERTED = 12 1399 XCB_GX_OR_INVERTED = 13 1400 XCB_GX_NAND = 14 1401 XCB_GX_SET = 15 1402 ) 1403 1404 const ( /* xproto.h:3190:1: */ 1405 XCB_LINE_STYLE_SOLID = 0 1406 XCB_LINE_STYLE_ON_OFF_DASH = 1 1407 XCB_LINE_STYLE_DOUBLE_DASH = 2 1408 ) 1409 1410 const ( /* xproto.h:3196:1: */ 1411 XCB_CAP_STYLE_NOT_LAST = 0 1412 XCB_CAP_STYLE_BUTT = 1 1413 XCB_CAP_STYLE_ROUND = 2 1414 XCB_CAP_STYLE_PROJECTING = 3 1415 ) 1416 1417 const ( /* xproto.h:3203:1: */ 1418 XCB_JOIN_STYLE_MITER = 0 1419 XCB_JOIN_STYLE_ROUND = 1 1420 XCB_JOIN_STYLE_BEVEL = 2 1421 ) 1422 1423 const ( /* xproto.h:3209:1: */ 1424 XCB_FILL_STYLE_SOLID = 0 1425 XCB_FILL_STYLE_TILED = 1 1426 XCB_FILL_STYLE_STIPPLED = 2 1427 XCB_FILL_STYLE_OPAQUE_STIPPLED = 3 1428 ) 1429 1430 const ( /* xproto.h:3216:1: */ 1431 XCB_FILL_RULE_EVEN_ODD = 0 1432 XCB_FILL_RULE_WINDING = 1 1433 ) 1434 1435 const ( /* xproto.h:3221:1: */ 1436 XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0 1437 XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1 1438 ) 1439 1440 const ( /* xproto.h:3226:1: */ 1441 XCB_ARC_MODE_CHORD = 0 1442 XCB_ARC_MODE_PIE_SLICE = 1 1443 ) 1444 1445 const ( /* xproto.h:3348:1: */ 1446 XCB_CLIP_ORDERING_UNSORTED = 0 1447 XCB_CLIP_ORDERING_Y_SORTED = 1 1448 XCB_CLIP_ORDERING_YX_SORTED = 2 1449 XCB_CLIP_ORDERING_YX_BANDED = 3 1450 ) 1451 1452 const ( /* xproto.h:341:1: */ 1453 XCB_EVENT_MASK_NO_EVENT = 0 1454 XCB_EVENT_MASK_KEY_PRESS = 1 1455 XCB_EVENT_MASK_KEY_RELEASE = 2 1456 XCB_EVENT_MASK_BUTTON_PRESS = 4 1457 XCB_EVENT_MASK_BUTTON_RELEASE = 8 1458 XCB_EVENT_MASK_ENTER_WINDOW = 16 1459 XCB_EVENT_MASK_LEAVE_WINDOW = 32 1460 XCB_EVENT_MASK_POINTER_MOTION = 64 1461 XCB_EVENT_MASK_POINTER_MOTION_HINT = 128 1462 XCB_EVENT_MASK_BUTTON_1_MOTION = 256 1463 XCB_EVENT_MASK_BUTTON_2_MOTION = 512 1464 XCB_EVENT_MASK_BUTTON_3_MOTION = 1024 1465 XCB_EVENT_MASK_BUTTON_4_MOTION = 2048 1466 XCB_EVENT_MASK_BUTTON_5_MOTION = 4096 1467 XCB_EVENT_MASK_BUTTON_MOTION = 8192 1468 XCB_EVENT_MASK_KEYMAP_STATE = 16384 1469 XCB_EVENT_MASK_EXPOSURE = 32768 1470 XCB_EVENT_MASK_VISIBILITY_CHANGE = 65536 1471 XCB_EVENT_MASK_STRUCTURE_NOTIFY = 131072 1472 XCB_EVENT_MASK_RESIZE_REDIRECT = 262144 1473 XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = 524288 1474 XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = 1048576 1475 XCB_EVENT_MASK_FOCUS_CHANGE = 2097152 1476 XCB_EVENT_MASK_PROPERTY_CHANGE = 4194304 1477 XCB_EVENT_MASK_COLOR_MAP_CHANGE = 8388608 1478 XCB_EVENT_MASK_OWNER_GRAB_BUTTON = 16777216 1479 ) 1480 1481 const ( /* xproto.h:3443:1: */ 1482 XCB_COORD_MODE_ORIGIN = 0 1483 //*< Treats all coordinates as relative to the origin. 1484 1485 XCB_COORD_MODE_PREVIOUS = 1 1486 ) 1487 1488 const ( /* xproto.h:3541:1: */ 1489 XCB_POLY_SHAPE_COMPLEX = 0 1490 XCB_POLY_SHAPE_NONCONVEX = 1 1491 XCB_POLY_SHAPE_CONVEX = 2 1492 ) 1493 1494 const ( /* xproto.h:3592:1: */ 1495 XCB_IMAGE_FORMAT_XY_BITMAP = 0 1496 XCB_IMAGE_FORMAT_XY_PIXMAP = 1 1497 XCB_IMAGE_FORMAT_Z_PIXMAP = 2 1498 ) 1499 1500 const ( /* xproto.h:370:1: */ 1501 XCB_BACKING_STORE_NOT_USEFUL = 0 1502 XCB_BACKING_STORE_WHEN_MAPPED = 1 1503 XCB_BACKING_STORE_ALWAYS = 2 1504 ) 1505 1506 const ( /* xproto.h:3720:1: */ 1507 XCB_COLORMAP_ALLOC_NONE = 0 1508 XCB_COLORMAP_ALLOC_ALL = 1 1509 ) 1510 1511 const ( /* xproto.h:3992:1: */ 1512 XCB_COLOR_FLAG_RED = 1 1513 XCB_COLOR_FLAG_GREEN = 2 1514 XCB_COLOR_FLAG_BLUE = 4 1515 ) 1516 1517 const ( /* xproto.h:4137:1: */ 1518 XCB_PIXMAP_NONE = 0 1519 ) 1520 1521 const ( /* xproto.h:4164:1: */ 1522 XCB_FONT_NONE = 0 1523 ) 1524 1525 const ( /* xproto.h:4223:1: */ 1526 XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0 1527 XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1 1528 XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2 1529 ) 1530 1531 const ( /* xproto.h:4375:1: */ 1532 XCB_KB_KEY_CLICK_PERCENT = 1 1533 XCB_KB_BELL_PERCENT = 2 1534 XCB_KB_BELL_PITCH = 4 1535 XCB_KB_BELL_DURATION = 8 1536 XCB_KB_LED = 16 1537 XCB_KB_LED_MODE = 32 1538 XCB_KB_KEY = 64 1539 XCB_KB_AUTO_REPEAT_MODE = 128 1540 ) 1541 1542 const ( /* xproto.h:4386:1: */ 1543 XCB_LED_MODE_OFF = 0 1544 XCB_LED_MODE_ON = 1 1545 ) 1546 1547 const ( /* xproto.h:4391:1: */ 1548 XCB_AUTO_REPEAT_MODE_OFF = 0 1549 XCB_AUTO_REPEAT_MODE_ON = 1 1550 XCB_AUTO_REPEAT_MODE_DEFAULT = 2 1551 ) 1552 1553 const ( /* xproto.h:4522:1: */ 1554 XCB_BLANKING_NOT_PREFERRED = 0 1555 XCB_BLANKING_PREFERRED = 1 1556 XCB_BLANKING_DEFAULT = 2 1557 ) 1558 1559 const ( /* xproto.h:4528:1: */ 1560 XCB_EXPOSURES_NOT_ALLOWED = 0 1561 XCB_EXPOSURES_ALLOWED = 1 1562 XCB_EXPOSURES_DEFAULT = 2 1563 ) 1564 1565 const ( /* xproto.h:4584:1: */ 1566 XCB_HOST_MODE_INSERT = 0 1567 XCB_HOST_MODE_DELETE = 1 1568 ) 1569 1570 const ( /* xproto.h:4589:1: */ 1571 XCB_FAMILY_INTERNET = 0 1572 XCB_FAMILY_DECNET = 1 1573 XCB_FAMILY_CHAOS = 2 1574 XCB_FAMILY_SERVER_INTERPRETED = 5 1575 XCB_FAMILY_INTERNET_6 = 6 1576 ) 1577 1578 const ( /* xproto.h:4661:1: */ 1579 XCB_ACCESS_CONTROL_DISABLE = 0 1580 XCB_ACCESS_CONTROL_ENABLE = 1 1581 ) 1582 1583 const ( /* xproto.h:4678:1: */ 1584 XCB_CLOSE_DOWN_DESTROY_ALL = 0 1585 XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1 1586 XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2 1587 ) 1588 1589 const ( /* xproto.h:467:1: */ 1590 XCB_IMAGE_ORDER_LSB_FIRST = 0 1591 XCB_IMAGE_ORDER_MSB_FIRST = 1 1592 ) 1593 1594 const ( /* xproto.h:4696:1: */ 1595 XCB_KILL_ALL_TEMPORARY = 0 1596 ) 1597 1598 const ( /* xproto.h:4728:1: */ 1599 XCB_SCREEN_SAVER_RESET = 0 1600 XCB_SCREEN_SAVER_ACTIVE = 1 1601 ) 1602 1603 const ( /* xproto.h:4745:1: */ 1604 XCB_MAPPING_STATUS_SUCCESS = 0 1605 XCB_MAPPING_STATUS_BUSY = 1 1606 XCB_MAPPING_STATUS_FAILURE = 2 1607 ) 1608 1609 const ( /* xproto.h:4810:1: */ 1610 XCB_MAP_INDEX_SHIFT = 0 1611 XCB_MAP_INDEX_LOCK = 1 1612 XCB_MAP_INDEX_CONTROL = 2 1613 XCB_MAP_INDEX_1 = 3 1614 XCB_MAP_INDEX_2 = 4 1615 XCB_MAP_INDEX_3 = 5 1616 XCB_MAP_INDEX_4 = 6 1617 XCB_MAP_INDEX_5 = 7 1618 ) 1619 1620 const ( /* xproto.h:507:1: */ 1621 XCB_MOD_MASK_SHIFT = 1 1622 XCB_MOD_MASK_LOCK = 2 1623 XCB_MOD_MASK_CONTROL = 4 1624 XCB_MOD_MASK_1 = 8 1625 XCB_MOD_MASK_2 = 16 1626 XCB_MOD_MASK_3 = 32 1627 XCB_MOD_MASK_4 = 64 1628 XCB_MOD_MASK_5 = 128 1629 XCB_MOD_MASK_ANY = 32768 1630 ) 1631 1632 const ( /* xproto.h:519:1: */ 1633 XCB_KEY_BUT_MASK_SHIFT = 1 1634 XCB_KEY_BUT_MASK_LOCK = 2 1635 XCB_KEY_BUT_MASK_CONTROL = 4 1636 XCB_KEY_BUT_MASK_MOD_1 = 8 1637 XCB_KEY_BUT_MASK_MOD_2 = 16 1638 XCB_KEY_BUT_MASK_MOD_3 = 32 1639 XCB_KEY_BUT_MASK_MOD_4 = 64 1640 XCB_KEY_BUT_MASK_MOD_5 = 128 1641 XCB_KEY_BUT_MASK_BUTTON_1 = 256 1642 XCB_KEY_BUT_MASK_BUTTON_2 = 512 1643 XCB_KEY_BUT_MASK_BUTTON_3 = 1024 1644 XCB_KEY_BUT_MASK_BUTTON_4 = 2048 1645 XCB_KEY_BUT_MASK_BUTTON_5 = 4096 1646 ) 1647 1648 const ( /* xproto.h:535:1: */ 1649 XCB_WINDOW_NONE = 0 1650 ) 1651 1652 const ( /* xproto.h:567:1: */ 1653 XCB_BUTTON_MASK_1 = 256 1654 XCB_BUTTON_MASK_2 = 512 1655 XCB_BUTTON_MASK_3 = 1024 1656 XCB_BUTTON_MASK_4 = 2048 1657 XCB_BUTTON_MASK_5 = 4096 1658 XCB_BUTTON_MASK_ANY = 32768 1659 ) 1660 1661 const ( /* xproto.h:604:1: */ 1662 XCB_MOTION_NORMAL = 0 1663 XCB_MOTION_HINT = 1 1664 ) 1665 1666 const ( /* xproto.h:632:1: */ 1667 XCB_NOTIFY_DETAIL_ANCESTOR = 0 1668 XCB_NOTIFY_DETAIL_VIRTUAL = 1 1669 XCB_NOTIFY_DETAIL_INFERIOR = 2 1670 XCB_NOTIFY_DETAIL_NONLINEAR = 3 1671 XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4 1672 XCB_NOTIFY_DETAIL_POINTER = 5 1673 XCB_NOTIFY_DETAIL_POINTER_ROOT = 6 1674 XCB_NOTIFY_DETAIL_NONE = 7 1675 ) 1676 1677 const ( /* xproto.h:643:1: */ 1678 XCB_NOTIFY_MODE_NORMAL = 0 1679 XCB_NOTIFY_MODE_GRAB = 1 1680 XCB_NOTIFY_MODE_UNGRAB = 2 1681 XCB_NOTIFY_MODE_WHILE_GRABBED = 3 1682 ) 1683 1684 const ( /* xproto.h:765:1: */ 1685 XCB_VISIBILITY_UNOBSCURED = 0 1686 XCB_VISIBILITY_PARTIALLY_OBSCURED = 1 1687 XCB_VISIBILITY_FULLY_OBSCURED = 2 1688 ) 1689 1690 const ( /* xproto.h:960:1: */ 1691 XCB_PLACE_ON_TOP = 0 1692 //*< The window is now on top of all siblings. 1693 1694 XCB_PLACE_ON_BOTTOM = 1 1695 ) 1696 1697 const ( /* xproto.h:991:1: */ 1698 XCB_PROPERTY_NEW_VALUE = 0 1699 XCB_PROPERTY_DELETE = 1 1700 ) 1701 1702 type ptrdiff_t = int64 /* <builtin>:3:26 */ 1703 1704 type size_t = uint64 /* <builtin>:9:23 */ 1705 1706 type wchar_t = int32 /* <builtin>:15:24 */ 1707 1708 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 1709 // 1710 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1711 // 1712 // This file contains Original Code and/or Modifications of Original Code 1713 // as defined in and that are subject to the Apple Public Source License 1714 // Version 2.0 (the 'License'). You may not use this file except in 1715 // compliance with the License. The rights granted to you under the License 1716 // may not be used to create, or enable the creation or redistribution of, 1717 // unlawful or unlicensed copies of an Apple operating system, or to 1718 // circumvent, violate, or enable the circumvention or violation of, any 1719 // terms of an Apple operating system software license agreement. 1720 // 1721 // Please obtain a copy of the License at 1722 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1723 // 1724 // The Original Code and all software distributed under the License are 1725 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1726 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1727 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1728 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1729 // Please see the License for the specific language governing rights and 1730 // limitations under the License. 1731 // 1732 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1733 1734 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 1735 // 1736 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1737 // 1738 // This file contains Original Code and/or Modifications of Original Code 1739 // as defined in and that are subject to the Apple Public Source License 1740 // Version 2.0 (the 'License'). You may not use this file except in 1741 // compliance with the License. The rights granted to you under the License 1742 // may not be used to create, or enable the creation or redistribution of, 1743 // unlawful or unlicensed copies of an Apple operating system, or to 1744 // circumvent, violate, or enable the circumvention or violation of, any 1745 // terms of an Apple operating system software license agreement. 1746 // 1747 // Please obtain a copy of the License at 1748 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1749 // 1750 // The Original Code and all software distributed under the License are 1751 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1752 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1753 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1754 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1755 // Please see the License for the specific language governing rights and 1756 // limitations under the License. 1757 // 1758 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1759 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1760 // Copyright (c) 1991, 1993 1761 // The Regents of the University of California. All rights reserved. 1762 // 1763 // This code is derived from software contributed to Berkeley by 1764 // Berkeley Software Design, Inc. 1765 // 1766 // Redistribution and use in source and binary forms, with or without 1767 // modification, are permitted provided that the following conditions 1768 // are met: 1769 // 1. Redistributions of source code must retain the above copyright 1770 // notice, this list of conditions and the following disclaimer. 1771 // 2. Redistributions in binary form must reproduce the above copyright 1772 // notice, this list of conditions and the following disclaimer in the 1773 // documentation and/or other materials provided with the distribution. 1774 // 3. All advertising materials mentioning features or use of this software 1775 // must display the following acknowledgement: 1776 // This product includes software developed by the University of 1777 // California, Berkeley and its contributors. 1778 // 4. Neither the name of the University nor the names of its contributors 1779 // may be used to endorse or promote products derived from this software 1780 // without specific prior written permission. 1781 // 1782 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1783 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1784 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1785 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1786 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1787 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1788 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1789 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1790 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1791 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1792 // SUCH DAMAGE. 1793 // 1794 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 1795 1796 // pthread opaque structures 1797 1798 type __darwin_pthread_handler_rec = struct { 1799 F__routine uintptr 1800 F__arg uintptr 1801 F__next uintptr 1802 } /* _pthread_types.h:57:1 */ 1803 1804 type _opaque_pthread_attr_t = struct { 1805 F__sig int64 1806 F__opaque [56]int8 1807 } /* _pthread_types.h:63:1 */ 1808 1809 type _opaque_pthread_cond_t = struct { 1810 F__sig int64 1811 F__opaque [40]int8 1812 } /* _pthread_types.h:68:1 */ 1813 1814 type _opaque_pthread_condattr_t = struct { 1815 F__sig int64 1816 F__opaque [8]int8 1817 } /* _pthread_types.h:73:1 */ 1818 1819 type _opaque_pthread_mutex_t = struct { 1820 F__sig int64 1821 F__opaque [56]int8 1822 } /* _pthread_types.h:78:1 */ 1823 1824 type _opaque_pthread_mutexattr_t = struct { 1825 F__sig int64 1826 F__opaque [8]int8 1827 } /* _pthread_types.h:83:1 */ 1828 1829 type _opaque_pthread_once_t = struct { 1830 F__sig int64 1831 F__opaque [8]int8 1832 } /* _pthread_types.h:88:1 */ 1833 1834 type _opaque_pthread_rwlock_t = struct { 1835 F__sig int64 1836 F__opaque [192]int8 1837 } /* _pthread_types.h:93:1 */ 1838 1839 type _opaque_pthread_rwlockattr_t = struct { 1840 F__sig int64 1841 F__opaque [16]int8 1842 } /* _pthread_types.h:98:1 */ 1843 1844 type _opaque_pthread_t = struct { 1845 F__sig int64 1846 F__cleanup_stack uintptr 1847 F__opaque [8176]int8 1848 } /* _pthread_types.h:103:1 */ 1849 1850 // Copyright (c) 2000 Apple Computer, Inc. All rights reserved. 1851 // 1852 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1853 // 1854 // This file contains Original Code and/or Modifications of Original Code 1855 // as defined in and that are subject to the Apple Public Source License 1856 // Version 2.0 (the 'License'). You may not use this file except in 1857 // compliance with the License. The rights granted to you under the License 1858 // may not be used to create, or enable the creation or redistribution of, 1859 // unlawful or unlicensed copies of an Apple operating system, or to 1860 // circumvent, violate, or enable the circumvention or violation of, any 1861 // terms of an Apple operating system software license agreement. 1862 // 1863 // Please obtain a copy of the License at 1864 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1865 // 1866 // The Original Code and all software distributed under the License are 1867 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1868 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1869 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1870 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1871 // Please see the License for the specific language governing rights and 1872 // limitations under the License. 1873 // 1874 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1875 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 1876 // Copyright (c) 1982, 1986, 1989, 1993, 1994 1877 // The Regents of the University of California. All rights reserved. 1878 // 1879 // Redistribution and use in source and binary forms, with or without 1880 // modification, are permitted provided that the following conditions 1881 // are met: 1882 // 1. Redistributions of source code must retain the above copyright 1883 // notice, this list of conditions and the following disclaimer. 1884 // 2. Redistributions in binary form must reproduce the above copyright 1885 // notice, this list of conditions and the following disclaimer in the 1886 // documentation and/or other materials provided with the distribution. 1887 // 3. All advertising materials mentioning features or use of this software 1888 // must display the following acknowledgement: 1889 // This product includes software developed by the University of 1890 // California, Berkeley and its contributors. 1891 // 4. Neither the name of the University nor the names of its contributors 1892 // may be used to endorse or promote products derived from this software 1893 // without specific prior written permission. 1894 // 1895 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1896 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1897 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1898 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1899 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1900 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1901 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1902 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1903 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1904 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1905 // SUCH DAMAGE. 1906 // 1907 // @(#)wait.h 8.2 (Berkeley) 7/10/94 1908 1909 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 1910 // 1911 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1912 // 1913 // This file contains Original Code and/or Modifications of Original Code 1914 // as defined in and that are subject to the Apple Public Source License 1915 // Version 2.0 (the 'License'). You may not use this file except in 1916 // compliance with the License. The rights granted to you under the License 1917 // may not be used to create, or enable the creation or redistribution of, 1918 // unlawful or unlicensed copies of an Apple operating system, or to 1919 // circumvent, violate, or enable the circumvention or violation of, any 1920 // terms of an Apple operating system software license agreement. 1921 // 1922 // Please obtain a copy of the License at 1923 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1924 // 1925 // The Original Code and all software distributed under the License are 1926 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1927 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1928 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1929 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1930 // Please see the License for the specific language governing rights and 1931 // limitations under the License. 1932 // 1933 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1934 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 1935 // Copyright (c) 1991, 1993 1936 // The Regents of the University of California. All rights reserved. 1937 // 1938 // This code is derived from software contributed to Berkeley by 1939 // Berkeley Software Design, Inc. 1940 // 1941 // Redistribution and use in source and binary forms, with or without 1942 // modification, are permitted provided that the following conditions 1943 // are met: 1944 // 1. Redistributions of source code must retain the above copyright 1945 // notice, this list of conditions and the following disclaimer. 1946 // 2. Redistributions in binary form must reproduce the above copyright 1947 // notice, this list of conditions and the following disclaimer in the 1948 // documentation and/or other materials provided with the distribution. 1949 // 3. All advertising materials mentioning features or use of this software 1950 // must display the following acknowledgement: 1951 // This product includes software developed by the University of 1952 // California, Berkeley and its contributors. 1953 // 4. Neither the name of the University nor the names of its contributors 1954 // may be used to endorse or promote products derived from this software 1955 // without specific prior written permission. 1956 // 1957 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1958 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1959 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1960 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1961 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1962 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1963 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1964 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1965 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1966 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1967 // SUCH DAMAGE. 1968 // 1969 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 1970 1971 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 1972 // 1973 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 1974 // 1975 // This file contains Original Code and/or Modifications of Original Code 1976 // as defined in and that are subject to the Apple Public Source License 1977 // Version 2.0 (the 'License'). You may not use this file except in 1978 // compliance with the License. The rights granted to you under the License 1979 // may not be used to create, or enable the creation or redistribution of, 1980 // unlawful or unlicensed copies of an Apple operating system, or to 1981 // circumvent, violate, or enable the circumvention or violation of, any 1982 // terms of an Apple operating system software license agreement. 1983 // 1984 // Please obtain a copy of the License at 1985 // http://www.opensource.apple.com/apsl/ and read it before using this file. 1986 // 1987 // The Original Code and all software distributed under the License are 1988 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 1989 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 1990 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 1991 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 1992 // Please see the License for the specific language governing rights and 1993 // limitations under the License. 1994 // 1995 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 1996 1997 // This file holds definitions relevent to the wait4 system call 1998 // and the alternate interfaces that use it (wait, wait3, waitpid). 1999 2000 // [XSI] The type idtype_t shall be defined as an enumeration type whose 2001 // possible values shall include at least P_ALL, P_PID, and P_PGID. 2002 type idtype_t = uint32 /* wait.h:83:3 */ 2003 2004 // [XSI] The id_t and pid_t types shall be defined as described 2005 // in <sys/types.h> 2006 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 2007 // 2008 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2009 // 2010 // This file contains Original Code and/or Modifications of Original Code 2011 // as defined in and that are subject to the Apple Public Source License 2012 // Version 2.0 (the 'License'). You may not use this file except in 2013 // compliance with the License. The rights granted to you under the License 2014 // may not be used to create, or enable the creation or redistribution of, 2015 // unlawful or unlicensed copies of an Apple operating system, or to 2016 // circumvent, violate, or enable the circumvention or violation of, any 2017 // terms of an Apple operating system software license agreement. 2018 // 2019 // Please obtain a copy of the License at 2020 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2021 // 2022 // The Original Code and all software distributed under the License are 2023 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2024 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2025 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2026 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2027 // Please see the License for the specific language governing rights and 2028 // limitations under the License. 2029 // 2030 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2031 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 2032 // 2033 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2034 // 2035 // This file contains Original Code and/or Modifications of Original Code 2036 // as defined in and that are subject to the Apple Public Source License 2037 // Version 2.0 (the 'License'). You may not use this file except in 2038 // compliance with the License. The rights granted to you under the License 2039 // may not be used to create, or enable the creation or redistribution of, 2040 // unlawful or unlicensed copies of an Apple operating system, or to 2041 // circumvent, violate, or enable the circumvention or violation of, any 2042 // terms of an Apple operating system software license agreement. 2043 // 2044 // Please obtain a copy of the License at 2045 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2046 // 2047 // The Original Code and all software distributed under the License are 2048 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2049 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2050 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2051 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2052 // Please see the License for the specific language governing rights and 2053 // limitations under the License. 2054 // 2055 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2056 2057 type pid_t = int32 /* _pid_t.h:31:31 */ 2058 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 2059 // 2060 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2061 // 2062 // This file contains Original Code and/or Modifications of Original Code 2063 // as defined in and that are subject to the Apple Public Source License 2064 // Version 2.0 (the 'License'). You may not use this file except in 2065 // compliance with the License. The rights granted to you under the License 2066 // may not be used to create, or enable the creation or redistribution of, 2067 // unlawful or unlicensed copies of an Apple operating system, or to 2068 // circumvent, violate, or enable the circumvention or violation of, any 2069 // terms of an Apple operating system software license agreement. 2070 // 2071 // Please obtain a copy of the License at 2072 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2073 // 2074 // The Original Code and all software distributed under the License are 2075 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2076 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2077 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2078 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2079 // Please see the License for the specific language governing rights and 2080 // limitations under the License. 2081 // 2082 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2083 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 2084 // 2085 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2086 // 2087 // This file contains Original Code and/or Modifications of Original Code 2088 // as defined in and that are subject to the Apple Public Source License 2089 // Version 2.0 (the 'License'). You may not use this file except in 2090 // compliance with the License. The rights granted to you under the License 2091 // may not be used to create, or enable the creation or redistribution of, 2092 // unlawful or unlicensed copies of an Apple operating system, or to 2093 // circumvent, violate, or enable the circumvention or violation of, any 2094 // terms of an Apple operating system software license agreement. 2095 // 2096 // Please obtain a copy of the License at 2097 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2098 // 2099 // The Original Code and all software distributed under the License are 2100 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2101 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2102 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2103 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2104 // Please see the License for the specific language governing rights and 2105 // limitations under the License. 2106 // 2107 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2108 2109 type id_t = uint32 /* _id_t.h:31:25 */ // can hold pid_t, gid_t, or uid_t 2110 2111 // [XSI] The siginfo_t type shall be defined as described in <signal.h> 2112 // [XSI] The rusage structure shall be defined as described in <sys/resource.h> 2113 // [XSI] Inclusion of the <sys/wait.h> header may also make visible all 2114 // symbols from <signal.h> and <sys/resource.h> 2115 // 2116 // NOTE: This requirement is currently being satisfied by the direct 2117 // inclusion of <sys/signal.h> and <sys/resource.h>, below. 2118 // 2119 // Software should not depend on the exposure of anything other 2120 // than the types siginfo_t and struct rusage as a result of 2121 // this inclusion. If you depend on any types or manifest 2122 // values othe than siginfo_t and struct rusage from either of 2123 // those files, you should explicitly include them yourself, as 2124 // well, or in future releases your stware may not compile 2125 // without modification. 2126 // Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved. 2127 // 2128 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2129 // 2130 // This file contains Original Code and/or Modifications of Original Code 2131 // as defined in and that are subject to the Apple Public Source License 2132 // Version 2.0 (the 'License'). You may not use this file except in 2133 // compliance with the License. The rights granted to you under the License 2134 // may not be used to create, or enable the creation or redistribution of, 2135 // unlawful or unlicensed copies of an Apple operating system, or to 2136 // circumvent, violate, or enable the circumvention or violation of, any 2137 // terms of an Apple operating system software license agreement. 2138 // 2139 // Please obtain a copy of the License at 2140 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2141 // 2142 // The Original Code and all software distributed under the License are 2143 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2144 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2145 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2146 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2147 // Please see the License for the specific language governing rights and 2148 // limitations under the License. 2149 // 2150 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2151 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 2152 // Copyright (c) 1982, 1986, 1989, 1991, 1993 2153 // The Regents of the University of California. All rights reserved. 2154 // (c) UNIX System Laboratories, Inc. 2155 // All or some portions of this file are derived from material licensed 2156 // to the University of California by American Telephone and Telegraph 2157 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 2158 // the permission of UNIX System Laboratories, Inc. 2159 // 2160 // Redistribution and use in source and binary forms, with or without 2161 // modification, are permitted provided that the following conditions 2162 // are met: 2163 // 1. Redistributions of source code must retain the above copyright 2164 // notice, this list of conditions and the following disclaimer. 2165 // 2. Redistributions in binary form must reproduce the above copyright 2166 // notice, this list of conditions and the following disclaimer in the 2167 // documentation and/or other materials provided with the distribution. 2168 // 3. All advertising materials mentioning features or use of this software 2169 // must display the following acknowledgement: 2170 // This product includes software developed by the University of 2171 // California, Berkeley and its contributors. 2172 // 4. Neither the name of the University nor the names of its contributors 2173 // may be used to endorse or promote products derived from this software 2174 // without specific prior written permission. 2175 // 2176 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2177 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2178 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2179 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2180 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2181 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2182 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2183 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2184 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2185 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2186 // SUCH DAMAGE. 2187 // 2188 // @(#)signal.h 8.2 (Berkeley) 1/21/94 2189 2190 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 2191 // 2192 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2193 // 2194 // This file contains Original Code and/or Modifications of Original Code 2195 // as defined in and that are subject to the Apple Public Source License 2196 // Version 2.0 (the 'License'). You may not use this file except in 2197 // compliance with the License. The rights granted to you under the License 2198 // may not be used to create, or enable the creation or redistribution of, 2199 // unlawful or unlicensed copies of an Apple operating system, or to 2200 // circumvent, violate, or enable the circumvention or violation of, any 2201 // terms of an Apple operating system software license agreement. 2202 // 2203 // Please obtain a copy of the License at 2204 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2205 // 2206 // The Original Code and all software distributed under the License are 2207 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2208 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2209 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2210 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2211 // Please see the License for the specific language governing rights and 2212 // limitations under the License. 2213 // 2214 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2215 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2216 // Copyright (c) 1991, 1993 2217 // The Regents of the University of California. All rights reserved. 2218 // 2219 // This code is derived from software contributed to Berkeley by 2220 // Berkeley Software Design, Inc. 2221 // 2222 // Redistribution and use in source and binary forms, with or without 2223 // modification, are permitted provided that the following conditions 2224 // are met: 2225 // 1. Redistributions of source code must retain the above copyright 2226 // notice, this list of conditions and the following disclaimer. 2227 // 2. Redistributions in binary form must reproduce the above copyright 2228 // notice, this list of conditions and the following disclaimer in the 2229 // documentation and/or other materials provided with the distribution. 2230 // 3. All advertising materials mentioning features or use of this software 2231 // must display the following acknowledgement: 2232 // This product includes software developed by the University of 2233 // California, Berkeley and its contributors. 2234 // 4. Neither the name of the University nor the names of its contributors 2235 // may be used to endorse or promote products derived from this software 2236 // without specific prior written permission. 2237 // 2238 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2239 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2240 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2241 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2242 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2243 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2244 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2245 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2246 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2247 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2248 // SUCH DAMAGE. 2249 // 2250 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2251 2252 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 2253 // 2254 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2255 // 2256 // This file contains Original Code and/or Modifications of Original Code 2257 // as defined in and that are subject to the Apple Public Source License 2258 // Version 2.0 (the 'License'). You may not use this file except in 2259 // compliance with the License. The rights granted to you under the License 2260 // may not be used to create, or enable the creation or redistribution of, 2261 // unlawful or unlicensed copies of an Apple operating system, or to 2262 // circumvent, violate, or enable the circumvention or violation of, any 2263 // terms of an Apple operating system software license agreement. 2264 // 2265 // Please obtain a copy of the License at 2266 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2267 // 2268 // The Original Code and all software distributed under the License are 2269 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2270 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2271 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2272 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2273 // Please see the License for the specific language governing rights and 2274 // limitations under the License. 2275 // 2276 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2277 2278 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 2279 // 2280 // @APPLE_LICENSE_HEADER_START@ 2281 // 2282 // This file contains Original Code and/or Modifications of Original Code 2283 // as defined in and that are subject to the Apple Public Source License 2284 // Version 2.0 (the 'License'). You may not use this file except in 2285 // compliance with the License. Please obtain a copy of the License at 2286 // http://www.opensource.apple.com/apsl/ and read it before using this 2287 // file. 2288 // 2289 // The Original Code and all software distributed under the License are 2290 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2291 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2292 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2293 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2294 // Please see the License for the specific language governing rights and 2295 // limitations under the License. 2296 // 2297 // @APPLE_LICENSE_HEADER_END@ 2298 2299 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 2300 // 2301 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2302 // 2303 // This file contains Original Code and/or Modifications of Original Code 2304 // as defined in and that are subject to the Apple Public Source License 2305 // Version 2.0 (the 'License'). You may not use this file except in 2306 // compliance with the License. The rights granted to you under the License 2307 // may not be used to create, or enable the creation or redistribution of, 2308 // unlawful or unlicensed copies of an Apple operating system, or to 2309 // circumvent, violate, or enable the circumvention or violation of, any 2310 // terms of an Apple operating system software license agreement. 2311 // 2312 // Please obtain a copy of the License at 2313 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2314 // 2315 // The Original Code and all software distributed under the License are 2316 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2317 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2318 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2319 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2320 // Please see the License for the specific language governing rights and 2321 // limitations under the License. 2322 // 2323 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2324 2325 // Copyright (c) 2000-2009 Apple, Inc. All rights reserved. 2326 // Copyright (c) 1992 NeXT Computer, Inc. 2327 // 2328 2329 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 2330 // 2331 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2332 // 2333 // This file contains Original Code and/or Modifications of Original Code 2334 // as defined in and that are subject to the Apple Public Source License 2335 // Version 2.0 (the 'License'). You may not use this file except in 2336 // compliance with the License. The rights granted to you under the License 2337 // may not be used to create, or enable the creation or redistribution of, 2338 // unlawful or unlicensed copies of an Apple operating system, or to 2339 // circumvent, violate, or enable the circumvention or violation of, any 2340 // terms of an Apple operating system software license agreement. 2341 // 2342 // Please obtain a copy of the License at 2343 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2344 // 2345 // The Original Code and all software distributed under the License are 2346 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2347 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2348 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2349 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2350 // Please see the License for the specific language governing rights and 2351 // limitations under the License. 2352 // 2353 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2354 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2355 // Copyright (c) 1991, 1993 2356 // The Regents of the University of California. All rights reserved. 2357 // 2358 // This code is derived from software contributed to Berkeley by 2359 // Berkeley Software Design, Inc. 2360 // 2361 // Redistribution and use in source and binary forms, with or without 2362 // modification, are permitted provided that the following conditions 2363 // are met: 2364 // 1. Redistributions of source code must retain the above copyright 2365 // notice, this list of conditions and the following disclaimer. 2366 // 2. Redistributions in binary form must reproduce the above copyright 2367 // notice, this list of conditions and the following disclaimer in the 2368 // documentation and/or other materials provided with the distribution. 2369 // 3. All advertising materials mentioning features or use of this software 2370 // must display the following acknowledgement: 2371 // This product includes software developed by the University of 2372 // California, Berkeley and its contributors. 2373 // 4. Neither the name of the University nor the names of its contributors 2374 // may be used to endorse or promote products derived from this software 2375 // without specific prior written permission. 2376 // 2377 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2378 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2379 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2380 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2381 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2382 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2383 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2384 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2385 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2386 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2387 // SUCH DAMAGE. 2388 // 2389 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2390 2391 type sig_atomic_t = int32 /* signal.h:17:13 */ 2392 2393 // Language spec sez we must list exactly one parameter, even though we 2394 // actually supply three. Ugh! 2395 // SIG_HOLD is chosen to avoid KERN_SIG_* values in <sys/signalvar.h> 2396 2397 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 2398 // 2399 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2400 // 2401 // This file contains Original Code and/or Modifications of Original Code 2402 // as defined in and that are subject to the Apple Public Source License 2403 // Version 2.0 (the 'License'). You may not use this file except in 2404 // compliance with the License. The rights granted to you under the License 2405 // may not be used to create, or enable the creation or redistribution of, 2406 // unlawful or unlicensed copies of an Apple operating system, or to 2407 // circumvent, violate, or enable the circumvention or violation of, any 2408 // terms of an Apple operating system software license agreement. 2409 // 2410 // Please obtain a copy of the License at 2411 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2412 // 2413 // The Original Code and all software distributed under the License are 2414 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2415 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2416 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2417 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2418 // Please see the License for the specific language governing rights and 2419 // limitations under the License. 2420 // 2421 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2422 2423 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 2424 // 2425 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2426 // 2427 // This file contains Original Code and/or Modifications of Original Code 2428 // as defined in and that are subject to the Apple Public Source License 2429 // Version 2.0 (the 'License'). You may not use this file except in 2430 // compliance with the License. The rights granted to you under the License 2431 // may not be used to create, or enable the creation or redistribution of, 2432 // unlawful or unlicensed copies of an Apple operating system, or to 2433 // circumvent, violate, or enable the circumvention or violation of, any 2434 // terms of an Apple operating system software license agreement. 2435 // 2436 // Please obtain a copy of the License at 2437 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2438 // 2439 // The Original Code and all software distributed under the License are 2440 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2441 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2442 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2443 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2444 // Please see the License for the specific language governing rights and 2445 // limitations under the License. 2446 // 2447 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2448 2449 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 2450 // 2451 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2452 // 2453 // This file contains Original Code and/or Modifications of Original Code 2454 // as defined in and that are subject to the Apple Public Source License 2455 // Version 2.0 (the 'License'). You may not use this file except in 2456 // compliance with the License. The rights granted to you under the License 2457 // may not be used to create, or enable the creation or redistribution of, 2458 // unlawful or unlicensed copies of an Apple operating system, or to 2459 // circumvent, violate, or enable the circumvention or violation of, any 2460 // terms of an Apple operating system software license agreement. 2461 // 2462 // Please obtain a copy of the License at 2463 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2464 // 2465 // The Original Code and all software distributed under the License are 2466 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2467 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2468 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2469 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2470 // Please see the License for the specific language governing rights and 2471 // limitations under the License. 2472 // 2473 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2474 2475 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 2476 // 2477 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2478 // 2479 // This file contains Original Code and/or Modifications of Original Code 2480 // as defined in and that are subject to the Apple Public Source License 2481 // Version 2.0 (the 'License'). You may not use this file except in 2482 // compliance with the License. The rights granted to you under the License 2483 // may not be used to create, or enable the creation or redistribution of, 2484 // unlawful or unlicensed copies of an Apple operating system, or to 2485 // circumvent, violate, or enable the circumvention or violation of, any 2486 // terms of an Apple operating system software license agreement. 2487 // 2488 // Please obtain a copy of the License at 2489 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2490 // 2491 // The Original Code and all software distributed under the License are 2492 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2493 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2494 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2495 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2496 // Please see the License for the specific language governing rights and 2497 // limitations under the License. 2498 // 2499 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2500 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2501 // Copyright (c) 1991, 1993 2502 // The Regents of the University of California. All rights reserved. 2503 // 2504 // This code is derived from software contributed to Berkeley by 2505 // Berkeley Software Design, Inc. 2506 // 2507 // Redistribution and use in source and binary forms, with or without 2508 // modification, are permitted provided that the following conditions 2509 // are met: 2510 // 1. Redistributions of source code must retain the above copyright 2511 // notice, this list of conditions and the following disclaimer. 2512 // 2. Redistributions in binary form must reproduce the above copyright 2513 // notice, this list of conditions and the following disclaimer in the 2514 // documentation and/or other materials provided with the distribution. 2515 // 3. All advertising materials mentioning features or use of this software 2516 // must display the following acknowledgement: 2517 // This product includes software developed by the University of 2518 // California, Berkeley and its contributors. 2519 // 4. Neither the name of the University nor the names of its contributors 2520 // may be used to endorse or promote products derived from this software 2521 // without specific prior written permission. 2522 // 2523 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2524 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2525 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2526 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2527 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2528 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2529 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2530 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2531 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2532 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2533 // SUCH DAMAGE. 2534 // 2535 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2536 2537 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 2538 // 2539 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2540 // 2541 // This file contains Original Code and/or Modifications of Original Code 2542 // as defined in and that are subject to the Apple Public Source License 2543 // Version 2.0 (the 'License'). You may not use this file except in 2544 // compliance with the License. The rights granted to you under the License 2545 // may not be used to create, or enable the creation or redistribution of, 2546 // unlawful or unlicensed copies of an Apple operating system, or to 2547 // circumvent, violate, or enable the circumvention or violation of, any 2548 // terms of an Apple operating system software license agreement. 2549 // 2550 // Please obtain a copy of the License at 2551 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2552 // 2553 // The Original Code and all software distributed under the License are 2554 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2555 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2556 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2557 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2558 // Please see the License for the specific language governing rights and 2559 // limitations under the License. 2560 // 2561 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2562 2563 // Copyright (c) 2017 Apple Inc. All rights reserved. 2564 // 2565 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2566 // 2567 // This file contains Original Code and/or Modifications of Original Code 2568 // as defined in and that are subject to the Apple Public Source License 2569 // Version 2.0 (the 'License'). You may not use this file except in 2570 // compliance with the License. The rights granted to you under the License 2571 // may not be used to create, or enable the creation or redistribution of, 2572 // unlawful or unlicensed copies of an Apple operating system, or to 2573 // circumvent, violate, or enable the circumvention or violation of, any 2574 // terms of an Apple operating system software license agreement. 2575 // 2576 // Please obtain a copy of the License at 2577 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2578 // 2579 // The Original Code and all software distributed under the License are 2580 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2581 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2582 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2583 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2584 // Please see the License for the specific language governing rights and 2585 // limitations under the License. 2586 // 2587 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2588 2589 // Copyright (c) 2004-2007 Apple Inc. All rights reserved. 2590 // 2591 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2592 // 2593 // This file contains Original Code and/or Modifications of Original Code 2594 // as defined in and that are subject to the Apple Public Source License 2595 // Version 2.0 (the 'License'). You may not use this file except in 2596 // compliance with the License. The rights granted to you under the License 2597 // may not be used to create, or enable the creation or redistribution of, 2598 // unlawful or unlicensed copies of an Apple operating system, or to 2599 // circumvent, violate, or enable the circumvention or violation of, any 2600 // terms of an Apple operating system software license agreement. 2601 // 2602 // Please obtain a copy of the License at 2603 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2604 // 2605 // The Original Code and all software distributed under the License are 2606 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2607 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2608 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2609 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2610 // Please see the License for the specific language governing rights and 2611 // limitations under the License. 2612 // 2613 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2614 // @OSF_COPYRIGHT@ 2615 2616 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 2617 // 2618 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2619 // 2620 // This file contains Original Code and/or Modifications of Original Code 2621 // as defined in and that are subject to the Apple Public Source License 2622 // Version 2.0 (the 'License'). You may not use this file except in 2623 // compliance with the License. The rights granted to you under the License 2624 // may not be used to create, or enable the creation or redistribution of, 2625 // unlawful or unlicensed copies of an Apple operating system, or to 2626 // circumvent, violate, or enable the circumvention or violation of, any 2627 // terms of an Apple operating system software license agreement. 2628 // 2629 // Please obtain a copy of the License at 2630 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2631 // 2632 // The Original Code and all software distributed under the License are 2633 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2634 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2635 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2636 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2637 // Please see the License for the specific language governing rights and 2638 // limitations under the License. 2639 // 2640 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2641 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2642 // Copyright (c) 1991, 1993 2643 // The Regents of the University of California. All rights reserved. 2644 // 2645 // This code is derived from software contributed to Berkeley by 2646 // Berkeley Software Design, Inc. 2647 // 2648 // Redistribution and use in source and binary forms, with or without 2649 // modification, are permitted provided that the following conditions 2650 // are met: 2651 // 1. Redistributions of source code must retain the above copyright 2652 // notice, this list of conditions and the following disclaimer. 2653 // 2. Redistributions in binary form must reproduce the above copyright 2654 // notice, this list of conditions and the following disclaimer in the 2655 // documentation and/or other materials provided with the distribution. 2656 // 3. All advertising materials mentioning features or use of this software 2657 // must display the following acknowledgement: 2658 // This product includes software developed by the University of 2659 // California, Berkeley and its contributors. 2660 // 4. Neither the name of the University nor the names of its contributors 2661 // may be used to endorse or promote products derived from this software 2662 // without specific prior written permission. 2663 // 2664 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2665 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2666 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2667 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2668 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2669 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2670 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2671 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2672 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2673 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2674 // SUCH DAMAGE. 2675 // 2676 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2677 2678 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 2679 // 2680 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2681 // 2682 // This file contains Original Code and/or Modifications of Original Code 2683 // as defined in and that are subject to the Apple Public Source License 2684 // Version 2.0 (the 'License'). You may not use this file except in 2685 // compliance with the License. The rights granted to you under the License 2686 // may not be used to create, or enable the creation or redistribution of, 2687 // unlawful or unlicensed copies of an Apple operating system, or to 2688 // circumvent, violate, or enable the circumvention or violation of, any 2689 // terms of an Apple operating system software license agreement. 2690 // 2691 // Please obtain a copy of the License at 2692 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2693 // 2694 // The Original Code and all software distributed under the License are 2695 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2696 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2697 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2698 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2699 // Please see the License for the specific language governing rights and 2700 // limitations under the License. 2701 // 2702 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2703 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2704 2705 // Copyright (c) 2000-2008 Apple Inc. All rights reserved. 2706 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2707 // Copyright (c) 1990, 1993 2708 // The Regents of the University of California. All rights reserved. 2709 // 2710 // Redistribution and use in source and binary forms, with or without 2711 // modification, are permitted provided that the following conditions 2712 // are met: 2713 // 1. Redistributions of source code must retain the above copyright 2714 // notice, this list of conditions and the following disclaimer. 2715 // 2. Redistributions in binary form must reproduce the above copyright 2716 // notice, this list of conditions and the following disclaimer in the 2717 // documentation and/or other materials provided with the distribution. 2718 // 3. All advertising materials mentioning features or use of this software 2719 // must display the following acknowledgement: 2720 // This product includes software developed by the University of 2721 // California, Berkeley and its contributors. 2722 // 4. Neither the name of the University nor the names of its contributors 2723 // may be used to endorse or promote products derived from this software 2724 // without specific prior written permission. 2725 // 2726 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2727 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2728 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2729 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2730 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2731 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2732 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2733 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2734 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2735 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2736 // SUCH DAMAGE. 2737 // 2738 // @(#)types.h 8.3 (Berkeley) 1/5/94 2739 2740 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 2741 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 2742 // 2743 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2744 // 2745 // This file contains Original Code and/or Modifications of Original Code 2746 // as defined in and that are subject to the Apple Public Source License 2747 // Version 2.0 (the 'License'). You may not use this file except in 2748 // compliance with the License. The rights granted to you under the License 2749 // may not be used to create, or enable the creation or redistribution of, 2750 // unlawful or unlicensed copies of an Apple operating system, or to 2751 // circumvent, violate, or enable the circumvention or violation of, any 2752 // terms of an Apple operating system software license agreement. 2753 // 2754 // Please obtain a copy of the License at 2755 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2756 // 2757 // The Original Code and all software distributed under the License are 2758 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2759 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2760 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2761 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2762 // Please see the License for the specific language governing rights and 2763 // limitations under the License. 2764 // 2765 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2766 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 2767 // Copyright (c) 1991, 1993 2768 // The Regents of the University of California. All rights reserved. 2769 // 2770 // This code is derived from software contributed to Berkeley by 2771 // Berkeley Software Design, Inc. 2772 // 2773 // Redistribution and use in source and binary forms, with or without 2774 // modification, are permitted provided that the following conditions 2775 // are met: 2776 // 1. Redistributions of source code must retain the above copyright 2777 // notice, this list of conditions and the following disclaimer. 2778 // 2. Redistributions in binary form must reproduce the above copyright 2779 // notice, this list of conditions and the following disclaimer in the 2780 // documentation and/or other materials provided with the distribution. 2781 // 3. All advertising materials mentioning features or use of this software 2782 // must display the following acknowledgement: 2783 // This product includes software developed by the University of 2784 // California, Berkeley and its contributors. 2785 // 4. Neither the name of the University nor the names of its contributors 2786 // may be used to endorse or promote products derived from this software 2787 // without specific prior written permission. 2788 // 2789 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2790 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2791 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2792 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2793 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2794 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2795 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2796 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2797 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2798 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2799 // SUCH DAMAGE. 2800 // 2801 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 2802 2803 // Basic integral types. Omit the typedef if 2804 // not possible for a machine/compiler combination. 2805 // Copyright (c) 2012 Apple Inc. All rights reserved. 2806 // 2807 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2808 // 2809 // This file contains Original Code and/or Modifications of Original Code 2810 // as defined in and that are subject to the Apple Public Source License 2811 // Version 2.0 (the 'License'). You may not use this file except in 2812 // compliance with the License. The rights granted to you under the License 2813 // may not be used to create, or enable the creation or redistribution of, 2814 // unlawful or unlicensed copies of an Apple operating system, or to 2815 // circumvent, violate, or enable the circumvention or violation of, any 2816 // terms of an Apple operating system software license agreement. 2817 // 2818 // Please obtain a copy of the License at 2819 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2820 // 2821 // The Original Code and all software distributed under the License are 2822 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2823 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2824 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2825 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2826 // Please see the License for the specific language governing rights and 2827 // limitations under the License. 2828 // 2829 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2830 type int8_t = int8 /* _int8_t.h:30:31 */ 2831 // Copyright (c) 2012 Apple Inc. All rights reserved. 2832 // 2833 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2834 // 2835 // This file contains Original Code and/or Modifications of Original Code 2836 // as defined in and that are subject to the Apple Public Source License 2837 // Version 2.0 (the 'License'). You may not use this file except in 2838 // compliance with the License. The rights granted to you under the License 2839 // may not be used to create, or enable the creation or redistribution of, 2840 // unlawful or unlicensed copies of an Apple operating system, or to 2841 // circumvent, violate, or enable the circumvention or violation of, any 2842 // terms of an Apple operating system software license agreement. 2843 // 2844 // Please obtain a copy of the License at 2845 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2846 // 2847 // The Original Code and all software distributed under the License are 2848 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2849 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2850 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2851 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2852 // Please see the License for the specific language governing rights and 2853 // limitations under the License. 2854 // 2855 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2856 type int16_t = int16 /* _int16_t.h:30:33 */ 2857 // Copyright (c) 2012 Apple Inc. All rights reserved. 2858 // 2859 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2860 // 2861 // This file contains Original Code and/or Modifications of Original Code 2862 // as defined in and that are subject to the Apple Public Source License 2863 // Version 2.0 (the 'License'). You may not use this file except in 2864 // compliance with the License. The rights granted to you under the License 2865 // may not be used to create, or enable the creation or redistribution of, 2866 // unlawful or unlicensed copies of an Apple operating system, or to 2867 // circumvent, violate, or enable the circumvention or violation of, any 2868 // terms of an Apple operating system software license agreement. 2869 // 2870 // Please obtain a copy of the License at 2871 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2872 // 2873 // The Original Code and all software distributed under the License are 2874 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2875 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2876 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2877 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2878 // Please see the License for the specific language governing rights and 2879 // limitations under the License. 2880 // 2881 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2882 type int32_t = int32 /* _int32_t.h:30:33 */ 2883 // Copyright (c) 2012 Apple Inc. All rights reserved. 2884 // 2885 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2886 // 2887 // This file contains Original Code and/or Modifications of Original Code 2888 // as defined in and that are subject to the Apple Public Source License 2889 // Version 2.0 (the 'License'). You may not use this file except in 2890 // compliance with the License. The rights granted to you under the License 2891 // may not be used to create, or enable the creation or redistribution of, 2892 // unlawful or unlicensed copies of an Apple operating system, or to 2893 // circumvent, violate, or enable the circumvention or violation of, any 2894 // terms of an Apple operating system software license agreement. 2895 // 2896 // Please obtain a copy of the License at 2897 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2898 // 2899 // The Original Code and all software distributed under the License are 2900 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2901 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2902 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2903 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2904 // Please see the License for the specific language governing rights and 2905 // limitations under the License. 2906 // 2907 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2908 type int64_t = int64 /* _int64_t.h:30:33 */ 2909 2910 // Copyright (c) 2016 Apple Inc. All rights reserved. 2911 // 2912 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2913 // 2914 // This file contains Original Code and/or Modifications of Original Code 2915 // as defined in and that are subject to the Apple Public Source License 2916 // Version 2.0 (the 'License'). You may not use this file except in 2917 // compliance with the License. The rights granted to you under the License 2918 // may not be used to create, or enable the creation or redistribution of, 2919 // unlawful or unlicensed copies of an Apple operating system, or to 2920 // circumvent, violate, or enable the circumvention or violation of, any 2921 // terms of an Apple operating system software license agreement. 2922 // 2923 // Please obtain a copy of the License at 2924 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2925 // 2926 // The Original Code and all software distributed under the License are 2927 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2928 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2929 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2930 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2931 // Please see the License for the specific language governing rights and 2932 // limitations under the License. 2933 // 2934 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2935 type u_int8_t = uint8 /* _u_int8_t.h:30:33 */ 2936 // Copyright (c) 2012 Apple Inc. All rights reserved. 2937 // 2938 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2939 // 2940 // This file contains Original Code and/or Modifications of Original Code 2941 // as defined in and that are subject to the Apple Public Source License 2942 // Version 2.0 (the 'License'). You may not use this file except in 2943 // compliance with the License. The rights granted to you under the License 2944 // may not be used to create, or enable the creation or redistribution of, 2945 // unlawful or unlicensed copies of an Apple operating system, or to 2946 // circumvent, violate, or enable the circumvention or violation of, any 2947 // terms of an Apple operating system software license agreement. 2948 // 2949 // Please obtain a copy of the License at 2950 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2951 // 2952 // The Original Code and all software distributed under the License are 2953 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2954 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2955 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2956 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2957 // Please see the License for the specific language governing rights and 2958 // limitations under the License. 2959 // 2960 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2961 type u_int16_t = uint16 /* _u_int16_t.h:30:41 */ 2962 // Copyright (c) 2012 Apple Inc. All rights reserved. 2963 // 2964 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2965 // 2966 // This file contains Original Code and/or Modifications of Original Code 2967 // as defined in and that are subject to the Apple Public Source License 2968 // Version 2.0 (the 'License'). You may not use this file except in 2969 // compliance with the License. The rights granted to you under the License 2970 // may not be used to create, or enable the creation or redistribution of, 2971 // unlawful or unlicensed copies of an Apple operating system, or to 2972 // circumvent, violate, or enable the circumvention or violation of, any 2973 // terms of an Apple operating system software license agreement. 2974 // 2975 // Please obtain a copy of the License at 2976 // http://www.opensource.apple.com/apsl/ and read it before using this file. 2977 // 2978 // The Original Code and all software distributed under the License are 2979 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 2980 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 2981 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 2982 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 2983 // Please see the License for the specific language governing rights and 2984 // limitations under the License. 2985 // 2986 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 2987 type u_int32_t = uint32 /* _u_int32_t.h:30:33 */ 2988 // Copyright (c) 2012 Apple Inc. All rights reserved. 2989 // 2990 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 2991 // 2992 // This file contains Original Code and/or Modifications of Original Code 2993 // as defined in and that are subject to the Apple Public Source License 2994 // Version 2.0 (the 'License'). You may not use this file except in 2995 // compliance with the License. The rights granted to you under the License 2996 // may not be used to create, or enable the creation or redistribution of, 2997 // unlawful or unlicensed copies of an Apple operating system, or to 2998 // circumvent, violate, or enable the circumvention or violation of, any 2999 // terms of an Apple operating system software license agreement. 3000 // 3001 // Please obtain a copy of the License at 3002 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3003 // 3004 // The Original Code and all software distributed under the License are 3005 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3006 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3007 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3008 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3009 // Please see the License for the specific language governing rights and 3010 // limitations under the License. 3011 // 3012 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3013 type u_int64_t = uint64 /* _u_int64_t.h:30:33 */ 3014 3015 type register_t = int64_t /* types.h:66:33 */ 3016 3017 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3018 // 3019 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3020 // 3021 // This file contains Original Code and/or Modifications of Original Code 3022 // as defined in and that are subject to the Apple Public Source License 3023 // Version 2.0 (the 'License'). You may not use this file except in 3024 // compliance with the License. The rights granted to you under the License 3025 // may not be used to create, or enable the creation or redistribution of, 3026 // unlawful or unlicensed copies of an Apple operating system, or to 3027 // circumvent, violate, or enable the circumvention or violation of, any 3028 // terms of an Apple operating system software license agreement. 3029 // 3030 // Please obtain a copy of the License at 3031 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3032 // 3033 // The Original Code and all software distributed under the License are 3034 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3035 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3036 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3037 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3038 // Please see the License for the specific language governing rights and 3039 // limitations under the License. 3040 // 3041 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3042 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 3043 // 3044 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3045 // 3046 // This file contains Original Code and/or Modifications of Original Code 3047 // as defined in and that are subject to the Apple Public Source License 3048 // Version 2.0 (the 'License'). You may not use this file except in 3049 // compliance with the License. The rights granted to you under the License 3050 // may not be used to create, or enable the creation or redistribution of, 3051 // unlawful or unlicensed copies of an Apple operating system, or to 3052 // circumvent, violate, or enable the circumvention or violation of, any 3053 // terms of an Apple operating system software license agreement. 3054 // 3055 // Please obtain a copy of the License at 3056 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3057 // 3058 // The Original Code and all software distributed under the License are 3059 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3060 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3061 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3062 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3063 // Please see the License for the specific language governing rights and 3064 // limitations under the License. 3065 // 3066 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3067 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 3068 3069 type intptr_t = int64 /* _intptr_t.h:32:33 */ 3070 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3071 // 3072 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3073 // 3074 // This file contains Original Code and/or Modifications of Original Code 3075 // as defined in and that are subject to the Apple Public Source License 3076 // Version 2.0 (the 'License'). You may not use this file except in 3077 // compliance with the License. The rights granted to you under the License 3078 // may not be used to create, or enable the creation or redistribution of, 3079 // unlawful or unlicensed copies of an Apple operating system, or to 3080 // circumvent, violate, or enable the circumvention or violation of, any 3081 // terms of an Apple operating system software license agreement. 3082 // 3083 // Please obtain a copy of the License at 3084 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3085 // 3086 // The Original Code and all software distributed under the License are 3087 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3088 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3089 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3090 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3091 // Please see the License for the specific language governing rights and 3092 // limitations under the License. 3093 // 3094 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3095 3096 type uintptr_t = uint64 /* _uintptr_t.h:34:33 */ 3097 3098 // These types are used for reserving the largest possible size. 3099 type user_addr_t = u_int64_t /* types.h:77:33 */ 3100 type user_size_t = u_int64_t /* types.h:78:33 */ 3101 type user_ssize_t = int64_t /* types.h:79:33 */ 3102 type user_long_t = int64_t /* types.h:80:33 */ 3103 type user_ulong_t = u_int64_t /* types.h:81:33 */ 3104 type user_time_t = int64_t /* types.h:82:33 */ 3105 type user_off_t = int64_t /* types.h:83:33 */ 3106 3107 // This defines the size of syscall arguments after copying into the kernel: 3108 type syscall_arg_t = u_int64_t /* types.h:104:33 */ 3109 3110 type __darwin_arm_exception_state = struct { 3111 F__exception uint32 3112 F__fsr uint32 3113 F__far uint32 3114 } /* _structs.h:41:1 */ 3115 3116 type __darwin_arm_exception_state64 = struct { 3117 F__far uint64 3118 F__esr uint32 3119 F__exception uint32 3120 } /* _structs.h:59:1 */ 3121 3122 type __darwin_arm_thread_state = struct { 3123 F__r [13]uint32 3124 F__sp uint32 3125 F__lr uint32 3126 F__pc uint32 3127 F__cpsr uint32 3128 } /* _structs.h:77:1 */ 3129 3130 // By default, the pointer fields in the arm_thread_state64_t structure are 3131 // opaque on the arm64e architecture and require the use of accessor macros. 3132 // This mode can also be enabled on the arm64 architecture by building with 3133 // -D__DARWIN_OPAQUE_ARM_THREAD_STATE64=1. 3134 3135 type __darwin_arm_thread_state64 = struct { 3136 F__x [29]uint64 3137 F__fp uint64 3138 F__lr uint64 3139 F__sp uint64 3140 F__pc uint64 3141 F__cpsr uint32 3142 F__pad uint32 3143 } /* _structs.h:136:1 */ 3144 3145 // Accessor macros for arm_thread_state64_t pointer fields 3146 3147 // Return pc field of arm_thread_state64_t as a data pointer value 3148 // Return pc field of arm_thread_state64_t as a function pointer 3149 // Set pc field of arm_thread_state64_t to a function pointer 3150 // Return lr field of arm_thread_state64_t as a data pointer value 3151 // Return lr field of arm_thread_state64_t as a function pointer 3152 // Set lr field of arm_thread_state64_t to a function pointer 3153 // Return sp field of arm_thread_state64_t as a data pointer value 3154 // Set sp field of arm_thread_state64_t to a data pointer value 3155 // Return fp field of arm_thread_state64_t as a data pointer value 3156 // Set fp field of arm_thread_state64_t to a data pointer value 3157 // Strip ptr auth bits from pc, lr, sp and fp field of arm_thread_state64_t 3158 3159 type __darwin_arm_vfp_state = struct { 3160 F__r [64]uint32 3161 F__fpscr uint32 3162 } /* _structs.h:424:1 */ 3163 3164 type __darwin_arm_neon_state64 = struct { 3165 F__v [32]struct { 3166 Flo uint64 3167 Fhi uint64 3168 } 3169 F__fpsr uint32 3170 F__fpcr uint32 3171 } /* _structs.h:443:1 */ 3172 3173 type __darwin_arm_neon_state = struct { 3174 F__v [16]struct { 3175 Flo uint64 3176 Fhi uint64 3177 } 3178 F__fpsr uint32 3179 F__fpcr uint32 3180 } /* _structs.h:450:1 */ 3181 3182 type __arm_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:514:1 */ 3183 3184 // Debug State 3185 3186 // ARM's arm_debug_state is ARM64's arm_legacy_debug_state 3187 3188 type __arm_legacy_debug_state = struct { 3189 F__bvr [16]uint32 3190 F__bcr [16]uint32 3191 F__wvr [16]uint32 3192 F__wcr [16]uint32 3193 } /* _structs.h:551:1 */ 3194 3195 type __darwin_arm_debug_state32 = struct { 3196 F__bvr [16]uint32 3197 F__bcr [16]uint32 3198 F__wvr [16]uint32 3199 F__wcr [16]uint32 3200 F__mdscr_el1 uint64 3201 } /* _structs.h:574:1 */ 3202 3203 type __darwin_arm_debug_state64 = struct { 3204 F__bvr [16]uint64 3205 F__bcr [16]uint64 3206 F__wvr [16]uint64 3207 F__wcr [16]uint64 3208 F__mdscr_el1 uint64 3209 } /* _structs.h:584:1 */ 3210 3211 type __darwin_arm_cpmu_state64 = struct{ F__ctrs [16]uint64 } /* _structs.h:616:1 */ 3212 3213 type __darwin_mcontext32 = struct { 3214 F__es struct { 3215 F__exception uint32 3216 F__fsr uint32 3217 F__far uint32 3218 } 3219 F__ss struct { 3220 F__r [13]uint32 3221 F__sp uint32 3222 F__lr uint32 3223 F__pc uint32 3224 F__cpsr uint32 3225 } 3226 F__fs struct { 3227 F__r [64]uint32 3228 F__fpscr uint32 3229 } 3230 } /* _mcontext.h:41:1 */ 3231 3232 type __darwin_mcontext64 = struct { 3233 F__es struct { 3234 F__far uint64 3235 F__esr uint32 3236 F__exception uint32 3237 } 3238 F__ss struct { 3239 F__x [29]uint64 3240 F__fp uint64 3241 F__lr uint64 3242 F__sp uint64 3243 F__pc uint64 3244 F__cpsr uint32 3245 F__pad uint32 3246 } 3247 F__ns struct { 3248 F__v [32]struct { 3249 Flo uint64 3250 Fhi uint64 3251 } 3252 F__fpsr uint32 3253 F__fpcr uint32 3254 } 3255 } /* _mcontext.h:64:1 */ 3256 3257 type mcontext_t = uintptr /* _mcontext.h:85:33 */ 3258 3259 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3260 // 3261 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3262 // 3263 // This file contains Original Code and/or Modifications of Original Code 3264 // as defined in and that are subject to the Apple Public Source License 3265 // Version 2.0 (the 'License'). You may not use this file except in 3266 // compliance with the License. The rights granted to you under the License 3267 // may not be used to create, or enable the creation or redistribution of, 3268 // unlawful or unlicensed copies of an Apple operating system, or to 3269 // circumvent, violate, or enable the circumvention or violation of, any 3270 // terms of an Apple operating system software license agreement. 3271 // 3272 // Please obtain a copy of the License at 3273 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3274 // 3275 // The Original Code and all software distributed under the License are 3276 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3277 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3278 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3279 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3280 // Please see the License for the specific language governing rights and 3281 // limitations under the License. 3282 // 3283 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3284 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 3285 // 3286 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3287 // 3288 // This file contains Original Code and/or Modifications of Original Code 3289 // as defined in and that are subject to the Apple Public Source License 3290 // Version 2.0 (the 'License'). You may not use this file except in 3291 // compliance with the License. The rights granted to you under the License 3292 // may not be used to create, or enable the creation or redistribution of, 3293 // unlawful or unlicensed copies of an Apple operating system, or to 3294 // circumvent, violate, or enable the circumvention or violation of, any 3295 // terms of an Apple operating system software license agreement. 3296 // 3297 // Please obtain a copy of the License at 3298 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3299 // 3300 // The Original Code and all software distributed under the License are 3301 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3302 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3303 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3304 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3305 // Please see the License for the specific language governing rights and 3306 // limitations under the License. 3307 // 3308 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3309 3310 type pthread_attr_t = _opaque_pthread_attr_t /* _pthread_attr_t.h:31:33 */ 3311 3312 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3313 // 3314 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3315 // 3316 // This file contains Original Code and/or Modifications of Original Code 3317 // as defined in and that are subject to the Apple Public Source License 3318 // Version 2.0 (the 'License'). You may not use this file except in 3319 // compliance with the License. The rights granted to you under the License 3320 // may not be used to create, or enable the creation or redistribution of, 3321 // unlawful or unlicensed copies of an Apple operating system, or to 3322 // circumvent, violate, or enable the circumvention or violation of, any 3323 // terms of an Apple operating system software license agreement. 3324 // 3325 // Please obtain a copy of the License at 3326 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3327 // 3328 // The Original Code and all software distributed under the License are 3329 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3330 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3331 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3332 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3333 // Please see the License for the specific language governing rights and 3334 // limitations under the License. 3335 // 3336 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3337 3338 // Structure used in sigaltstack call. 3339 3340 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 3341 // 3342 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3343 // 3344 // This file contains Original Code and/or Modifications of Original Code 3345 // as defined in and that are subject to the Apple Public Source License 3346 // Version 2.0 (the 'License'). You may not use this file except in 3347 // compliance with the License. The rights granted to you under the License 3348 // may not be used to create, or enable the creation or redistribution of, 3349 // unlawful or unlicensed copies of an Apple operating system, or to 3350 // circumvent, violate, or enable the circumvention or violation of, any 3351 // terms of an Apple operating system software license agreement. 3352 // 3353 // Please obtain a copy of the License at 3354 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3355 // 3356 // The Original Code and all software distributed under the License are 3357 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3358 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3359 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3360 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3361 // Please see the License for the specific language governing rights and 3362 // limitations under the License. 3363 // 3364 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3365 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 3366 // Copyright (c) 1991, 1993 3367 // The Regents of the University of California. All rights reserved. 3368 // 3369 // This code is derived from software contributed to Berkeley by 3370 // Berkeley Software Design, Inc. 3371 // 3372 // Redistribution and use in source and binary forms, with or without 3373 // modification, are permitted provided that the following conditions 3374 // are met: 3375 // 1. Redistributions of source code must retain the above copyright 3376 // notice, this list of conditions and the following disclaimer. 3377 // 2. Redistributions in binary form must reproduce the above copyright 3378 // notice, this list of conditions and the following disclaimer in the 3379 // documentation and/or other materials provided with the distribution. 3380 // 3. All advertising materials mentioning features or use of this software 3381 // must display the following acknowledgement: 3382 // This product includes software developed by the University of 3383 // California, Berkeley and its contributors. 3384 // 4. Neither the name of the University nor the names of its contributors 3385 // may be used to endorse or promote products derived from this software 3386 // without specific prior written permission. 3387 // 3388 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 3389 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 3390 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 3391 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 3392 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 3393 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 3394 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3395 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3396 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3397 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3398 // SUCH DAMAGE. 3399 // 3400 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 3401 3402 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 3403 // 3404 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3405 // 3406 // This file contains Original Code and/or Modifications of Original Code 3407 // as defined in and that are subject to the Apple Public Source License 3408 // Version 2.0 (the 'License'). You may not use this file except in 3409 // compliance with the License. The rights granted to you under the License 3410 // may not be used to create, or enable the creation or redistribution of, 3411 // unlawful or unlicensed copies of an Apple operating system, or to 3412 // circumvent, violate, or enable the circumvention or violation of, any 3413 // terms of an Apple operating system software license agreement. 3414 // 3415 // Please obtain a copy of the License at 3416 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3417 // 3418 // The Original Code and all software distributed under the License are 3419 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3420 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3421 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3422 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3423 // Please see the License for the specific language governing rights and 3424 // limitations under the License. 3425 // 3426 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3427 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 3428 3429 type __darwin_sigaltstack = struct { 3430 Fss_sp uintptr 3431 Fss_size uint64 3432 Fss_flags int32 3433 F__ccgo_pad1 [4]byte 3434 } /* _sigaltstack.h:42:1 */ 3435 3436 type stack_t = __darwin_sigaltstack /* _sigaltstack.h:48:33 */ // [???] signal stack 3437 3438 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3439 // 3440 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3441 // 3442 // This file contains Original Code and/or Modifications of Original Code 3443 // as defined in and that are subject to the Apple Public Source License 3444 // Version 2.0 (the 'License'). You may not use this file except in 3445 // compliance with the License. The rights granted to you under the License 3446 // may not be used to create, or enable the creation or redistribution of, 3447 // unlawful or unlicensed copies of an Apple operating system, or to 3448 // circumvent, violate, or enable the circumvention or violation of, any 3449 // terms of an Apple operating system software license agreement. 3450 // 3451 // Please obtain a copy of the License at 3452 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3453 // 3454 // The Original Code and all software distributed under the License are 3455 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3456 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3457 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3458 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3459 // Please see the License for the specific language governing rights and 3460 // limitations under the License. 3461 // 3462 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3463 3464 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 3465 // 3466 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3467 // 3468 // This file contains Original Code and/or Modifications of Original Code 3469 // as defined in and that are subject to the Apple Public Source License 3470 // Version 2.0 (the 'License'). You may not use this file except in 3471 // compliance with the License. The rights granted to you under the License 3472 // may not be used to create, or enable the creation or redistribution of, 3473 // unlawful or unlicensed copies of an Apple operating system, or to 3474 // circumvent, violate, or enable the circumvention or violation of, any 3475 // terms of an Apple operating system software license agreement. 3476 // 3477 // Please obtain a copy of the License at 3478 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3479 // 3480 // The Original Code and all software distributed under the License are 3481 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3482 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3483 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3484 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3485 // Please see the License for the specific language governing rights and 3486 // limitations under the License. 3487 // 3488 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3489 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 3490 // Copyright (c) 1991, 1993 3491 // The Regents of the University of California. All rights reserved. 3492 // 3493 // This code is derived from software contributed to Berkeley by 3494 // Berkeley Software Design, Inc. 3495 // 3496 // Redistribution and use in source and binary forms, with or without 3497 // modification, are permitted provided that the following conditions 3498 // are met: 3499 // 1. Redistributions of source code must retain the above copyright 3500 // notice, this list of conditions and the following disclaimer. 3501 // 2. Redistributions in binary form must reproduce the above copyright 3502 // notice, this list of conditions and the following disclaimer in the 3503 // documentation and/or other materials provided with the distribution. 3504 // 3. All advertising materials mentioning features or use of this software 3505 // must display the following acknowledgement: 3506 // This product includes software developed by the University of 3507 // California, Berkeley and its contributors. 3508 // 4. Neither the name of the University nor the names of its contributors 3509 // may be used to endorse or promote products derived from this software 3510 // without specific prior written permission. 3511 // 3512 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 3513 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 3514 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 3515 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 3516 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 3517 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 3518 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3519 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3520 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3521 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3522 // SUCH DAMAGE. 3523 // 3524 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 3525 3526 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 3527 // 3528 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3529 // 3530 // This file contains Original Code and/or Modifications of Original Code 3531 // as defined in and that are subject to the Apple Public Source License 3532 // Version 2.0 (the 'License'). You may not use this file except in 3533 // compliance with the License. The rights granted to you under the License 3534 // may not be used to create, or enable the creation or redistribution of, 3535 // unlawful or unlicensed copies of an Apple operating system, or to 3536 // circumvent, violate, or enable the circumvention or violation of, any 3537 // terms of an Apple operating system software license agreement. 3538 // 3539 // Please obtain a copy of the License at 3540 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3541 // 3542 // The Original Code and all software distributed under the License are 3543 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3544 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3545 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3546 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3547 // Please see the License for the specific language governing rights and 3548 // limitations under the License. 3549 // 3550 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3551 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 3552 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3553 // 3554 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3555 // 3556 // This file contains Original Code and/or Modifications of Original Code 3557 // as defined in and that are subject to the Apple Public Source License 3558 // Version 2.0 (the 'License'). You may not use this file except in 3559 // compliance with the License. The rights granted to you under the License 3560 // may not be used to create, or enable the creation or redistribution of, 3561 // unlawful or unlicensed copies of an Apple operating system, or to 3562 // circumvent, violate, or enable the circumvention or violation of, any 3563 // terms of an Apple operating system software license agreement. 3564 // 3565 // Please obtain a copy of the License at 3566 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3567 // 3568 // The Original Code and all software distributed under the License are 3569 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3570 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3571 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3572 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3573 // Please see the License for the specific language governing rights and 3574 // limitations under the License. 3575 // 3576 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3577 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 3578 // 3579 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3580 // 3581 // This file contains Original Code and/or Modifications of Original Code 3582 // as defined in and that are subject to the Apple Public Source License 3583 // Version 2.0 (the 'License'). You may not use this file except in 3584 // compliance with the License. The rights granted to you under the License 3585 // may not be used to create, or enable the creation or redistribution of, 3586 // unlawful or unlicensed copies of an Apple operating system, or to 3587 // circumvent, violate, or enable the circumvention or violation of, any 3588 // terms of an Apple operating system software license agreement. 3589 // 3590 // Please obtain a copy of the License at 3591 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3592 // 3593 // The Original Code and all software distributed under the License are 3594 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3595 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3596 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3597 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3598 // Please see the License for the specific language governing rights and 3599 // limitations under the License. 3600 // 3601 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3602 3603 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3604 // 3605 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3606 // 3607 // This file contains Original Code and/or Modifications of Original Code 3608 // as defined in and that are subject to the Apple Public Source License 3609 // Version 2.0 (the 'License'). You may not use this file except in 3610 // compliance with the License. The rights granted to you under the License 3611 // may not be used to create, or enable the creation or redistribution of, 3612 // unlawful or unlicensed copies of an Apple operating system, or to 3613 // circumvent, violate, or enable the circumvention or violation of, any 3614 // terms of an Apple operating system software license agreement. 3615 // 3616 // Please obtain a copy of the License at 3617 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3618 // 3619 // The Original Code and all software distributed under the License are 3620 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3621 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3622 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3623 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3624 // Please see the License for the specific language governing rights and 3625 // limitations under the License. 3626 // 3627 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3628 3629 // Structure used in sigaltstack call. 3630 3631 type __darwin_ucontext = struct { 3632 Fuc_onstack int32 3633 Fuc_sigmask uint32 3634 Fuc_stack struct { 3635 Fss_sp uintptr 3636 Fss_size uint64 3637 Fss_flags int32 3638 F__ccgo_pad1 [4]byte 3639 } 3640 Fuc_link uintptr 3641 Fuc_mcsize uint64 3642 Fuc_mcontext uintptr 3643 } /* _ucontext.h:43:1 */ 3644 3645 // user context 3646 type ucontext_t = __darwin_ucontext /* _ucontext.h:57:33 */ // [???] user context 3647 3648 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3649 // 3650 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3651 // 3652 // This file contains Original Code and/or Modifications of Original Code 3653 // as defined in and that are subject to the Apple Public Source License 3654 // Version 2.0 (the 'License'). You may not use this file except in 3655 // compliance with the License. The rights granted to you under the License 3656 // may not be used to create, or enable the creation or redistribution of, 3657 // unlawful or unlicensed copies of an Apple operating system, or to 3658 // circumvent, violate, or enable the circumvention or violation of, any 3659 // terms of an Apple operating system software license agreement. 3660 // 3661 // Please obtain a copy of the License at 3662 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3663 // 3664 // The Original Code and all software distributed under the License are 3665 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3666 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3667 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3668 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3669 // Please see the License for the specific language governing rights and 3670 // limitations under the License. 3671 // 3672 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3673 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3674 // 3675 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3676 // 3677 // This file contains Original Code and/or Modifications of Original Code 3678 // as defined in and that are subject to the Apple Public Source License 3679 // Version 2.0 (the 'License'). You may not use this file except in 3680 // compliance with the License. The rights granted to you under the License 3681 // may not be used to create, or enable the creation or redistribution of, 3682 // unlawful or unlicensed copies of an Apple operating system, or to 3683 // circumvent, violate, or enable the circumvention or violation of, any 3684 // terms of an Apple operating system software license agreement. 3685 // 3686 // Please obtain a copy of the License at 3687 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3688 // 3689 // The Original Code and all software distributed under the License are 3690 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3691 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3692 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3693 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3694 // Please see the License for the specific language governing rights and 3695 // limitations under the License. 3696 // 3697 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3698 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 3699 // 3700 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3701 // 3702 // This file contains Original Code and/or Modifications of Original Code 3703 // as defined in and that are subject to the Apple Public Source License 3704 // Version 2.0 (the 'License'). You may not use this file except in 3705 // compliance with the License. The rights granted to you under the License 3706 // may not be used to create, or enable the creation or redistribution of, 3707 // unlawful or unlicensed copies of an Apple operating system, or to 3708 // circumvent, violate, or enable the circumvention or violation of, any 3709 // terms of an Apple operating system software license agreement. 3710 // 3711 // Please obtain a copy of the License at 3712 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3713 // 3714 // The Original Code and all software distributed under the License are 3715 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3716 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3717 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3718 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3719 // Please see the License for the specific language governing rights and 3720 // limitations under the License. 3721 // 3722 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3723 3724 type sigset_t = uint32 /* _sigset_t.h:31:41 */ 3725 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 3726 // 3727 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3728 // 3729 // This file contains Original Code and/or Modifications of Original Code 3730 // as defined in and that are subject to the Apple Public Source License 3731 // Version 2.0 (the 'License'). You may not use this file except in 3732 // compliance with the License. The rights granted to you under the License 3733 // may not be used to create, or enable the creation or redistribution of, 3734 // unlawful or unlicensed copies of an Apple operating system, or to 3735 // circumvent, violate, or enable the circumvention or violation of, any 3736 // terms of an Apple operating system software license agreement. 3737 // 3738 // Please obtain a copy of the License at 3739 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3740 // 3741 // The Original Code and all software distributed under the License are 3742 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3743 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3744 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3745 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3746 // Please see the License for the specific language governing rights and 3747 // limitations under the License. 3748 // 3749 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3750 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 3751 // 3752 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3753 // 3754 // This file contains Original Code and/or Modifications of Original Code 3755 // as defined in and that are subject to the Apple Public Source License 3756 // Version 2.0 (the 'License'). You may not use this file except in 3757 // compliance with the License. The rights granted to you under the License 3758 // may not be used to create, or enable the creation or redistribution of, 3759 // unlawful or unlicensed copies of an Apple operating system, or to 3760 // circumvent, violate, or enable the circumvention or violation of, any 3761 // terms of an Apple operating system software license agreement. 3762 // 3763 // Please obtain a copy of the License at 3764 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3765 // 3766 // The Original Code and all software distributed under the License are 3767 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3768 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3769 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3770 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3771 // Please see the License for the specific language governing rights and 3772 // limitations under the License. 3773 // 3774 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3775 3776 type uid_t = uint32 /* _uid_t.h:31:31 */ 3777 3778 type sigval = struct { 3779 F__ccgo_pad1 [0]uint64 3780 Fsival_int int32 3781 F__ccgo_pad2 [4]byte 3782 } /* signal.h:158:1 */ 3783 3784 type sigevent = struct { 3785 Fsigev_notify int32 3786 Fsigev_signo int32 3787 Fsigev_value struct { 3788 F__ccgo_pad1 [0]uint64 3789 Fsival_int int32 3790 F__ccgo_pad2 [4]byte 3791 } 3792 Fsigev_notify_function uintptr 3793 Fsigev_notify_attributes uintptr 3794 } /* signal.h:168:1 */ 3795 3796 type __siginfo = struct { 3797 Fsi_signo int32 3798 Fsi_errno int32 3799 Fsi_code int32 3800 Fsi_pid pid_t 3801 Fsi_uid uid_t 3802 Fsi_status int32 3803 Fsi_addr uintptr 3804 Fsi_value struct { 3805 F__ccgo_pad1 [0]uint64 3806 Fsival_int int32 3807 F__ccgo_pad2 [4]byte 3808 } 3809 Fsi_band int64 3810 F__pad [7]uint64 3811 } /* signal.h:177:9 */ 3812 3813 type siginfo_t = __siginfo /* signal.h:188:3 */ 3814 3815 // When the signal is SIGILL or SIGFPE, si_addr contains the address of 3816 // the faulting instruction. 3817 // When the signal is SIGSEGV or SIGBUS, si_addr contains the address of 3818 // the faulting memory reference. Although for x86 there are cases of SIGSEGV 3819 // for which si_addr cannot be determined and is NULL. 3820 // If the signal is SIGCHLD, the si_pid field will contain the child process ID, 3821 // si_status contains the exit value or signal and 3822 // si_uid contains the real user ID of the process that sent the signal. 3823 3824 // Values for si_code 3825 3826 // Codes for SIGILL 3827 3828 // Codes for SIGFPE 3829 3830 // Codes for SIGSEGV 3831 3832 // Codes for SIGBUS 3833 3834 // Codes for SIGTRAP 3835 3836 // Codes for SIGCHLD 3837 3838 // Codes for SIGPOLL 3839 3840 // union for signal handlers 3841 type __sigaction_u = struct{ F__sa_handler uintptr } /* signal.h:269:1 */ 3842 3843 // Signal vector template for Kernel user boundary 3844 type __sigaction = struct { 3845 F__sigaction_u struct{ F__sa_handler uintptr } 3846 Fsa_tramp uintptr 3847 Fsa_mask sigset_t 3848 Fsa_flags int32 3849 } /* signal.h:276:1 */ 3850 3851 // Signal vector "template" used in sigaction call. 3852 type sigaction = struct { 3853 F__sigaction_u struct{ F__sa_handler uintptr } 3854 Fsa_mask sigset_t 3855 Fsa_flags int32 3856 } /* signal.h:286:1 */ 3857 3858 // if SA_SIGINFO is set, sa_sigaction is to be used instead of sa_handler. 3859 3860 // This will provide 64bit register set in a 32bit user address space 3861 3862 // the following are the only bits we support from user space, the 3863 // rest are for kernel use only. 3864 3865 // Flags for sigprocmask: 3866 3867 // POSIX 1003.1b required values. 3868 3869 type sig_t = uintptr /* signal.h:331:14 */ // type of signal function 3870 3871 // Structure used in sigaltstack call. 3872 3873 // 4.3 compatibility: 3874 // Signal vector "template" used in sigvec call. 3875 type sigvec = struct { 3876 Fsv_handler uintptr 3877 Fsv_mask int32 3878 Fsv_flags int32 3879 } /* signal.h:348:1 */ 3880 3881 // Structure used in sigstack call. 3882 type sigstack = struct { 3883 Fss_sp uintptr 3884 Fss_onstack int32 3885 F__ccgo_pad1 [4]byte 3886 } /* signal.h:367:1 */ 3887 3888 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 3889 // 3890 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3891 // 3892 // This file contains Original Code and/or Modifications of Original Code 3893 // as defined in and that are subject to the Apple Public Source License 3894 // Version 2.0 (the 'License'). You may not use this file except in 3895 // compliance with the License. The rights granted to you under the License 3896 // may not be used to create, or enable the creation or redistribution of, 3897 // unlawful or unlicensed copies of an Apple operating system, or to 3898 // circumvent, violate, or enable the circumvention or violation of, any 3899 // terms of an Apple operating system software license agreement. 3900 // 3901 // Please obtain a copy of the License at 3902 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3903 // 3904 // The Original Code and all software distributed under the License are 3905 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3906 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3907 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3908 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3909 // Please see the License for the specific language governing rights and 3910 // limitations under the License. 3911 // 3912 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3913 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 3914 // Copyright (c) 1982, 1986, 1993 3915 // The Regents of the University of California. All rights reserved. 3916 // 3917 // Redistribution and use in source and binary forms, with or without 3918 // modification, are permitted provided that the following conditions 3919 // are met: 3920 // 1. Redistributions of source code must retain the above copyright 3921 // notice, this list of conditions and the following disclaimer. 3922 // 2. Redistributions in binary form must reproduce the above copyright 3923 // notice, this list of conditions and the following disclaimer in the 3924 // documentation and/or other materials provided with the distribution. 3925 // 3. All advertising materials mentioning features or use of this software 3926 // must display the following acknowledgement: 3927 // This product includes software developed by the University of 3928 // California, Berkeley and its contributors. 3929 // 4. Neither the name of the University nor the names of its contributors 3930 // may be used to endorse or promote products derived from this software 3931 // without specific prior written permission. 3932 // 3933 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 3934 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 3935 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 3936 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 3937 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 3938 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 3939 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3940 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3941 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3942 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3943 // SUCH DAMAGE. 3944 // 3945 // @(#)resource.h 8.2 (Berkeley) 1/4/94 3946 3947 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 3948 // 3949 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3950 // 3951 // This file contains Original Code and/or Modifications of Original Code 3952 // as defined in and that are subject to the Apple Public Source License 3953 // Version 2.0 (the 'License'). You may not use this file except in 3954 // compliance with the License. The rights granted to you under the License 3955 // may not be used to create, or enable the creation or redistribution of, 3956 // unlawful or unlicensed copies of an Apple operating system, or to 3957 // circumvent, violate, or enable the circumvention or violation of, any 3958 // terms of an Apple operating system software license agreement. 3959 // 3960 // Please obtain a copy of the License at 3961 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3962 // 3963 // The Original Code and all software distributed under the License are 3964 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3965 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3966 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3967 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3968 // Please see the License for the specific language governing rights and 3969 // limitations under the License. 3970 // 3971 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3972 3973 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 3974 // 3975 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 3976 // 3977 // This file contains Original Code and/or Modifications of Original Code 3978 // as defined in and that are subject to the Apple Public Source License 3979 // Version 2.0 (the 'License'). You may not use this file except in 3980 // compliance with the License. The rights granted to you under the License 3981 // may not be used to create, or enable the creation or redistribution of, 3982 // unlawful or unlicensed copies of an Apple operating system, or to 3983 // circumvent, violate, or enable the circumvention or violation of, any 3984 // terms of an Apple operating system software license agreement. 3985 // 3986 // Please obtain a copy of the License at 3987 // http://www.opensource.apple.com/apsl/ and read it before using this file. 3988 // 3989 // The Original Code and all software distributed under the License are 3990 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 3991 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 3992 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 3993 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 3994 // Please see the License for the specific language governing rights and 3995 // limitations under the License. 3996 // 3997 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 3998 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 3999 // Copyright (c) 1991, 1993 4000 // The Regents of the University of California. All rights reserved. 4001 // 4002 // This code is derived from software contributed to Berkeley by 4003 // Berkeley Software Design, Inc. 4004 // 4005 // Redistribution and use in source and binary forms, with or without 4006 // modification, are permitted provided that the following conditions 4007 // are met: 4008 // 1. Redistributions of source code must retain the above copyright 4009 // notice, this list of conditions and the following disclaimer. 4010 // 2. Redistributions in binary form must reproduce the above copyright 4011 // notice, this list of conditions and the following disclaimer in the 4012 // documentation and/or other materials provided with the distribution. 4013 // 3. All advertising materials mentioning features or use of this software 4014 // must display the following acknowledgement: 4015 // This product includes software developed by the University of 4016 // California, Berkeley and its contributors. 4017 // 4. Neither the name of the University nor the names of its contributors 4018 // may be used to endorse or promote products derived from this software 4019 // without specific prior written permission. 4020 // 4021 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 4022 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 4023 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 4024 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 4025 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 4026 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 4027 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 4028 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 4029 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 4030 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 4031 // SUCH DAMAGE. 4032 // 4033 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 4034 4035 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 4036 // 4037 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4038 // 4039 // This file contains Original Code and/or Modifications of Original Code 4040 // as defined in and that are subject to the Apple Public Source License 4041 // Version 2.0 (the 'License'). You may not use this file except in 4042 // compliance with the License. The rights granted to you under the License 4043 // may not be used to create, or enable the creation or redistribution of, 4044 // unlawful or unlicensed copies of an Apple operating system, or to 4045 // circumvent, violate, or enable the circumvention or violation of, any 4046 // terms of an Apple operating system software license agreement. 4047 // 4048 // Please obtain a copy of the License at 4049 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4050 // 4051 // The Original Code and all software distributed under the License are 4052 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4053 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4054 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4055 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4056 // Please see the License for the specific language governing rights and 4057 // limitations under the License. 4058 // 4059 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4060 4061 // DO NOT EDIT THIS FILE. 4062 // 4063 // It has been auto-edited by fixincludes from: 4064 // 4065 // "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/stdint.h" 4066 // 4067 // This had to be done to correct non-standard usages in the 4068 // original, manufacturer supplied header file. 4069 4070 // Copyright (c) 2000-2010 Apple Inc. 4071 // All rights reserved. 4072 4073 // from ISO/IEC 988:1999 spec 4074 4075 // 7.18.1.1 Exact-width integer types 4076 // Copyright (c) 2012 Apple Inc. All rights reserved. 4077 // 4078 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4079 // 4080 // This file contains Original Code and/or Modifications of Original Code 4081 // as defined in and that are subject to the Apple Public Source License 4082 // Version 2.0 (the 'License'). You may not use this file except in 4083 // compliance with the License. The rights granted to you under the License 4084 // may not be used to create, or enable the creation or redistribution of, 4085 // unlawful or unlicensed copies of an Apple operating system, or to 4086 // circumvent, violate, or enable the circumvention or violation of, any 4087 // terms of an Apple operating system software license agreement. 4088 // 4089 // Please obtain a copy of the License at 4090 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4091 // 4092 // The Original Code and all software distributed under the License are 4093 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4094 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4095 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4096 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4097 // Please see the License for the specific language governing rights and 4098 // limitations under the License. 4099 // 4100 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4101 // Copyright (c) 2012 Apple Inc. All rights reserved. 4102 // 4103 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4104 // 4105 // This file contains Original Code and/or Modifications of Original Code 4106 // as defined in and that are subject to the Apple Public Source License 4107 // Version 2.0 (the 'License'). You may not use this file except in 4108 // compliance with the License. The rights granted to you under the License 4109 // may not be used to create, or enable the creation or redistribution of, 4110 // unlawful or unlicensed copies of an Apple operating system, or to 4111 // circumvent, violate, or enable the circumvention or violation of, any 4112 // terms of an Apple operating system software license agreement. 4113 // 4114 // Please obtain a copy of the License at 4115 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4116 // 4117 // The Original Code and all software distributed under the License are 4118 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4119 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4120 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4121 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4122 // Please see the License for the specific language governing rights and 4123 // limitations under the License. 4124 // 4125 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4126 // Copyright (c) 2012 Apple Inc. All rights reserved. 4127 // 4128 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4129 // 4130 // This file contains Original Code and/or Modifications of Original Code 4131 // as defined in and that are subject to the Apple Public Source License 4132 // Version 2.0 (the 'License'). You may not use this file except in 4133 // compliance with the License. The rights granted to you under the License 4134 // may not be used to create, or enable the creation or redistribution of, 4135 // unlawful or unlicensed copies of an Apple operating system, or to 4136 // circumvent, violate, or enable the circumvention or violation of, any 4137 // terms of an Apple operating system software license agreement. 4138 // 4139 // Please obtain a copy of the License at 4140 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4141 // 4142 // The Original Code and all software distributed under the License are 4143 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4144 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4145 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4146 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4147 // Please see the License for the specific language governing rights and 4148 // limitations under the License. 4149 // 4150 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4151 // Copyright (c) 2012 Apple Inc. All rights reserved. 4152 // 4153 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4154 // 4155 // This file contains Original Code and/or Modifications of Original Code 4156 // as defined in and that are subject to the Apple Public Source License 4157 // Version 2.0 (the 'License'). You may not use this file except in 4158 // compliance with the License. The rights granted to you under the License 4159 // may not be used to create, or enable the creation or redistribution of, 4160 // unlawful or unlicensed copies of an Apple operating system, or to 4161 // circumvent, violate, or enable the circumvention or violation of, any 4162 // terms of an Apple operating system software license agreement. 4163 // 4164 // Please obtain a copy of the License at 4165 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4166 // 4167 // The Original Code and all software distributed under the License are 4168 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4169 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4170 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4171 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4172 // Please see the License for the specific language governing rights and 4173 // limitations under the License. 4174 // 4175 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4176 4177 // Copyright (c) 2012 Apple Inc. All rights reserved. 4178 // 4179 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4180 // 4181 // This file contains Original Code and/or Modifications of Original Code 4182 // as defined in and that are subject to the Apple Public Source License 4183 // Version 2.0 (the 'License'). You may not use this file except in 4184 // compliance with the License. The rights granted to you under the License 4185 // may not be used to create, or enable the creation or redistribution of, 4186 // unlawful or unlicensed copies of an Apple operating system, or to 4187 // circumvent, violate, or enable the circumvention or violation of, any 4188 // terms of an Apple operating system software license agreement. 4189 // 4190 // Please obtain a copy of the License at 4191 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4192 // 4193 // The Original Code and all software distributed under the License are 4194 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4195 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4196 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4197 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4198 // Please see the License for the specific language governing rights and 4199 // limitations under the License. 4200 // 4201 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4202 4203 type uint8_t = uint8 /* _uint8_t.h:31:23 */ 4204 // Copyright (c) 2012 Apple Inc. All rights reserved. 4205 // 4206 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4207 // 4208 // This file contains Original Code and/or Modifications of Original Code 4209 // as defined in and that are subject to the Apple Public Source License 4210 // Version 2.0 (the 'License'). You may not use this file except in 4211 // compliance with the License. The rights granted to you under the License 4212 // may not be used to create, or enable the creation or redistribution of, 4213 // unlawful or unlicensed copies of an Apple operating system, or to 4214 // circumvent, violate, or enable the circumvention or violation of, any 4215 // terms of an Apple operating system software license agreement. 4216 // 4217 // Please obtain a copy of the License at 4218 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4219 // 4220 // The Original Code and all software distributed under the License are 4221 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4222 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4223 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4224 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4225 // Please see the License for the specific language governing rights and 4226 // limitations under the License. 4227 // 4228 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4229 4230 type uint16_t = uint16 /* _uint16_t.h:31:24 */ 4231 // Copyright (c) 2012 Apple Inc. All rights reserved. 4232 // 4233 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4234 // 4235 // This file contains Original Code and/or Modifications of Original Code 4236 // as defined in and that are subject to the Apple Public Source License 4237 // Version 2.0 (the 'License'). You may not use this file except in 4238 // compliance with the License. The rights granted to you under the License 4239 // may not be used to create, or enable the creation or redistribution of, 4240 // unlawful or unlicensed copies of an Apple operating system, or to 4241 // circumvent, violate, or enable the circumvention or violation of, any 4242 // terms of an Apple operating system software license agreement. 4243 // 4244 // Please obtain a copy of the License at 4245 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4246 // 4247 // The Original Code and all software distributed under the License are 4248 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4249 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4250 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4251 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4252 // Please see the License for the specific language governing rights and 4253 // limitations under the License. 4254 // 4255 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4256 4257 type uint32_t = uint32 /* _uint32_t.h:31:22 */ 4258 // Copyright (c) 2012 Apple Inc. All rights reserved. 4259 // 4260 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4261 // 4262 // This file contains Original Code and/or Modifications of Original Code 4263 // as defined in and that are subject to the Apple Public Source License 4264 // Version 2.0 (the 'License'). You may not use this file except in 4265 // compliance with the License. The rights granted to you under the License 4266 // may not be used to create, or enable the creation or redistribution of, 4267 // unlawful or unlicensed copies of an Apple operating system, or to 4268 // circumvent, violate, or enable the circumvention or violation of, any 4269 // terms of an Apple operating system software license agreement. 4270 // 4271 // Please obtain a copy of the License at 4272 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4273 // 4274 // The Original Code and all software distributed under the License are 4275 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4276 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4277 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4278 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4279 // Please see the License for the specific language governing rights and 4280 // limitations under the License. 4281 // 4282 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4283 4284 type uint64_t = uint64 /* _uint64_t.h:31:28 */ 4285 4286 // 7.18.1.2 Minimum-width integer types 4287 type int_least8_t = int8_t /* stdint.h:38:26 */ 4288 type int_least16_t = int16_t /* stdint.h:39:25 */ 4289 type int_least32_t = int32_t /* stdint.h:40:25 */ 4290 type int_least64_t = int64_t /* stdint.h:41:25 */ 4291 type uint_least8_t = uint8_t /* stdint.h:42:25 */ 4292 type uint_least16_t = uint16_t /* stdint.h:43:24 */ 4293 type uint_least32_t = uint32_t /* stdint.h:44:24 */ 4294 type uint_least64_t = uint64_t /* stdint.h:45:24 */ 4295 4296 // 7.18.1.3 Fastest-width integer types 4297 type int_fast8_t = int8_t /* stdint.h:49:27 */ 4298 type int_fast16_t = int16_t /* stdint.h:50:26 */ 4299 type int_fast32_t = int32_t /* stdint.h:51:26 */ 4300 type int_fast64_t = int64_t /* stdint.h:52:26 */ 4301 type uint_fast8_t = uint8_t /* stdint.h:53:26 */ 4302 type uint_fast16_t = uint16_t /* stdint.h:54:25 */ 4303 type uint_fast32_t = uint32_t /* stdint.h:55:25 */ 4304 type uint_fast64_t = uint64_t /* stdint.h:56:25 */ 4305 4306 // 7.18.1.4 Integer types capable of holding object pointers 4307 4308 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 4309 // 4310 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4311 // 4312 // This file contains Original Code and/or Modifications of Original Code 4313 // as defined in and that are subject to the Apple Public Source License 4314 // Version 2.0 (the 'License'). You may not use this file except in 4315 // compliance with the License. The rights granted to you under the License 4316 // may not be used to create, or enable the creation or redistribution of, 4317 // unlawful or unlicensed copies of an Apple operating system, or to 4318 // circumvent, violate, or enable the circumvention or violation of, any 4319 // terms of an Apple operating system software license agreement. 4320 // 4321 // Please obtain a copy of the License at 4322 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4323 // 4324 // The Original Code and all software distributed under the License are 4325 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4326 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4327 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4328 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4329 // Please see the License for the specific language governing rights and 4330 // limitations under the License. 4331 // 4332 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4333 4334 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4335 // 4336 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4337 // 4338 // This file contains Original Code and/or Modifications of Original Code 4339 // as defined in and that are subject to the Apple Public Source License 4340 // Version 2.0 (the 'License'). You may not use this file except in 4341 // compliance with the License. The rights granted to you under the License 4342 // may not be used to create, or enable the creation or redistribution of, 4343 // unlawful or unlicensed copies of an Apple operating system, or to 4344 // circumvent, violate, or enable the circumvention or violation of, any 4345 // terms of an Apple operating system software license agreement. 4346 // 4347 // Please obtain a copy of the License at 4348 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4349 // 4350 // The Original Code and all software distributed under the License are 4351 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4352 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4353 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4354 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4355 // Please see the License for the specific language governing rights and 4356 // limitations under the License. 4357 // 4358 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4359 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4360 // 4361 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4362 // 4363 // This file contains Original Code and/or Modifications of Original Code 4364 // as defined in and that are subject to the Apple Public Source License 4365 // Version 2.0 (the 'License'). You may not use this file except in 4366 // compliance with the License. The rights granted to you under the License 4367 // may not be used to create, or enable the creation or redistribution of, 4368 // unlawful or unlicensed copies of an Apple operating system, or to 4369 // circumvent, violate, or enable the circumvention or violation of, any 4370 // terms of an Apple operating system software license agreement. 4371 // 4372 // Please obtain a copy of the License at 4373 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4374 // 4375 // The Original Code and all software distributed under the License are 4376 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4377 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4378 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4379 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4380 // Please see the License for the specific language governing rights and 4381 // limitations under the License. 4382 // 4383 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4384 4385 // 7.18.1.5 Greatest-width integer types 4386 // Copyright (c) 2012 Apple Inc. All rights reserved. 4387 // 4388 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4389 // 4390 // This file contains Original Code and/or Modifications of Original Code 4391 // as defined in and that are subject to the Apple Public Source License 4392 // Version 2.0 (the 'License'). You may not use this file except in 4393 // compliance with the License. The rights granted to you under the License 4394 // may not be used to create, or enable the creation or redistribution of, 4395 // unlawful or unlicensed copies of an Apple operating system, or to 4396 // circumvent, violate, or enable the circumvention or violation of, any 4397 // terms of an Apple operating system software license agreement. 4398 // 4399 // Please obtain a copy of the License at 4400 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4401 // 4402 // The Original Code and all software distributed under the License are 4403 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4404 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4405 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4406 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4407 // Please see the License for the specific language governing rights and 4408 // limitations under the License. 4409 // 4410 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4411 4412 type intmax_t = int64 /* _intmax_t.h:32:25 */ 4413 // Copyright (c) 2012 Apple Inc. All rights reserved. 4414 // 4415 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4416 // 4417 // This file contains Original Code and/or Modifications of Original Code 4418 // as defined in and that are subject to the Apple Public Source License 4419 // Version 2.0 (the 'License'). You may not use this file except in 4420 // compliance with the License. The rights granted to you under the License 4421 // may not be used to create, or enable the creation or redistribution of, 4422 // unlawful or unlicensed copies of an Apple operating system, or to 4423 // circumvent, violate, or enable the circumvention or violation of, any 4424 // terms of an Apple operating system software license agreement. 4425 // 4426 // Please obtain a copy of the License at 4427 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4428 // 4429 // The Original Code and all software distributed under the License are 4430 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4431 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4432 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4433 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4434 // Please see the License for the specific language governing rights and 4435 // limitations under the License. 4436 // 4437 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4438 4439 type uintmax_t = uint64 /* _uintmax_t.h:32:26 */ 4440 4441 // 7.18.4 Macros for integer constants 4442 4443 // 7.18.2 Limits of specified-width integer types: 4444 // These #defines specify the minimum and maximum limits 4445 // of each of the types declared above. 4446 // 4447 // They must have "the same type as would an expression that is an 4448 // object of the corresponding type converted according to the integer 4449 // promotion". 4450 4451 // 7.18.2.1 Limits of exact-width integer types 4452 4453 // 4454 // Note: the literal "most negative int" cannot be written in C -- 4455 // the rules in the standard (section 6.4.4.1 in C99) will give it 4456 // an unsigned type, so INT32_MIN (and the most negative member of 4457 // any larger signed type) must be written via a constant expression. 4458 // 4459 4460 // 7.18.2.2 Limits of minimum-width integer types 4461 4462 // 7.18.2.3 Limits of fastest minimum-width integer types 4463 4464 // 7.18.2.4 Limits of integer types capable of holding object pointers 4465 4466 // 7.18.2.5 Limits of greatest-width integer types 4467 4468 // 7.18.3 "Other" 4469 4470 // WCHAR_MIN should be 0 if wchar_t is an unsigned type and 4471 // (-WCHAR_MAX-1) if wchar_t is a signed type. Unfortunately, 4472 // it turns out that -fshort-wchar changes the signedness of 4473 // the type. 4474 4475 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 4476 // 4477 // @APPLE_LICENSE_HEADER_START@ 4478 // 4479 // This file contains Original Code and/or Modifications of Original Code 4480 // as defined in and that are subject to the Apple Public Source License 4481 // Version 2.0 (the 'License'). You may not use this file except in 4482 // compliance with the License. Please obtain a copy of the License at 4483 // http://www.opensource.apple.com/apsl/ and read it before using this 4484 // file. 4485 // 4486 // The Original Code and all software distributed under the License are 4487 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4488 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4489 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4490 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4491 // Please see the License for the specific language governing rights and 4492 // limitations under the License. 4493 // 4494 // @APPLE_LICENSE_HEADER_END@ 4495 4496 // [XSI] The timeval structure shall be defined as described in 4497 // <sys/time.h> 4498 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4499 // 4500 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4501 // 4502 // This file contains Original Code and/or Modifications of Original Code 4503 // as defined in and that are subject to the Apple Public Source License 4504 // Version 2.0 (the 'License'). You may not use this file except in 4505 // compliance with the License. The rights granted to you under the License 4506 // may not be used to create, or enable the creation or redistribution of, 4507 // unlawful or unlicensed copies of an Apple operating system, or to 4508 // circumvent, violate, or enable the circumvention or violation of, any 4509 // terms of an Apple operating system software license agreement. 4510 // 4511 // Please obtain a copy of the License at 4512 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4513 // 4514 // The Original Code and all software distributed under the License are 4515 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4516 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4517 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4518 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4519 // Please see the License for the specific language governing rights and 4520 // limitations under the License. 4521 // 4522 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4523 4524 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 4525 // 4526 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4527 // 4528 // This file contains Original Code and/or Modifications of Original Code 4529 // as defined in and that are subject to the Apple Public Source License 4530 // Version 2.0 (the 'License'). You may not use this file except in 4531 // compliance with the License. The rights granted to you under the License 4532 // may not be used to create, or enable the creation or redistribution of, 4533 // unlawful or unlicensed copies of an Apple operating system, or to 4534 // circumvent, violate, or enable the circumvention or violation of, any 4535 // terms of an Apple operating system software license agreement. 4536 // 4537 // Please obtain a copy of the License at 4538 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4539 // 4540 // The Original Code and all software distributed under the License are 4541 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4542 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4543 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4544 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4545 // Please see the License for the specific language governing rights and 4546 // limitations under the License. 4547 // 4548 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4549 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4550 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 4551 // 4552 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4553 // 4554 // This file contains Original Code and/or Modifications of Original Code 4555 // as defined in and that are subject to the Apple Public Source License 4556 // Version 2.0 (the 'License'). You may not use this file except in 4557 // compliance with the License. The rights granted to you under the License 4558 // may not be used to create, or enable the creation or redistribution of, 4559 // unlawful or unlicensed copies of an Apple operating system, or to 4560 // circumvent, violate, or enable the circumvention or violation of, any 4561 // terms of an Apple operating system software license agreement. 4562 // 4563 // Please obtain a copy of the License at 4564 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4565 // 4566 // The Original Code and all software distributed under the License are 4567 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4568 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4569 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4570 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4571 // Please see the License for the specific language governing rights and 4572 // limitations under the License. 4573 // 4574 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4575 4576 type timeval = struct { 4577 Ftv_sec int64 4578 Ftv_usec int32 4579 F__ccgo_pad1 [4]byte 4580 } /* _timeval.h:34:1 */ 4581 4582 // The id_t type shall be defined as described in <sys/types.h> 4583 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 4584 // 4585 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4586 // 4587 // This file contains Original Code and/or Modifications of Original Code 4588 // as defined in and that are subject to the Apple Public Source License 4589 // Version 2.0 (the 'License'). You may not use this file except in 4590 // compliance with the License. The rights granted to you under the License 4591 // may not be used to create, or enable the creation or redistribution of, 4592 // unlawful or unlicensed copies of an Apple operating system, or to 4593 // circumvent, violate, or enable the circumvention or violation of, any 4594 // terms of an Apple operating system software license agreement. 4595 // 4596 // Please obtain a copy of the License at 4597 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4598 // 4599 // The Original Code and all software distributed under the License are 4600 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4601 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4602 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4603 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4604 // Please see the License for the specific language governing rights and 4605 // limitations under the License. 4606 // 4607 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4608 4609 // Resource limit type (low 63 bits, excluding the sign bit) 4610 type rlim_t = uint64 /* resource.h:89:25 */ 4611 4612 // **** 4613 // 4614 // PRIORITY 4615 4616 // Possible values of the first parameter to getpriority()/setpriority(), 4617 // used to indicate the type of the second parameter. 4618 4619 // Range limitations for the value of the third parameter to setpriority(). 4620 4621 // use PRIO_DARWIN_BG to set the current thread into "background" state 4622 // which lowers CPU, disk IO, and networking priorites until thread terminates 4623 // or "background" state is revoked 4624 4625 // use PRIO_DARWIN_NONUI to restrict a process's ability to make calls to 4626 // the GPU. (deprecated) 4627 4628 // **** 4629 // 4630 // RESOURCE USAGE 4631 4632 // Possible values of the first parameter to getrusage(), used to indicate 4633 // the scope of the information to be returned. 4634 4635 // A structure representing an accounting of resource utilization. The 4636 // address of an instance of this structure is the second parameter to 4637 // getrusage(). 4638 // 4639 // Note: All values other than ru_utime and ru_stime are implementaiton 4640 // defined and subject to change in a future release. Their use 4641 // is discouraged for standards compliant programs. 4642 type rusage = struct { 4643 Fru_utime struct { 4644 Ftv_sec int64 4645 Ftv_usec int32 4646 F__ccgo_pad1 [4]byte 4647 } 4648 Fru_stime struct { 4649 Ftv_sec int64 4650 Ftv_usec int32 4651 F__ccgo_pad1 [4]byte 4652 } 4653 Fru_maxrss int64 4654 Fru_ixrss int64 4655 Fru_idrss int64 4656 Fru_isrss int64 4657 Fru_minflt int64 4658 Fru_majflt int64 4659 Fru_nswap int64 4660 Fru_inblock int64 4661 Fru_oublock int64 4662 Fru_msgsnd int64 4663 Fru_msgrcv int64 4664 Fru_nsignals int64 4665 Fru_nvcsw int64 4666 Fru_nivcsw int64 4667 } /* resource.h:152:1 */ 4668 4669 // Flavors for proc_pid_rusage(). 4670 4671 // Flags for RUSAGE_INFO_V5 4672 4673 type rusage_info_t = uintptr /* resource.h:199:14 */ 4674 4675 type rusage_info_v0 = struct { 4676 Fri_uuid [16]uint8_t 4677 Fri_user_time uint64_t 4678 Fri_system_time uint64_t 4679 Fri_pkg_idle_wkups uint64_t 4680 Fri_interrupt_wkups uint64_t 4681 Fri_pageins uint64_t 4682 Fri_wired_size uint64_t 4683 Fri_resident_size uint64_t 4684 Fri_phys_footprint uint64_t 4685 Fri_proc_start_abstime uint64_t 4686 Fri_proc_exit_abstime uint64_t 4687 } /* resource.h:201:1 */ 4688 4689 type rusage_info_v1 = struct { 4690 Fri_uuid [16]uint8_t 4691 Fri_user_time uint64_t 4692 Fri_system_time uint64_t 4693 Fri_pkg_idle_wkups uint64_t 4694 Fri_interrupt_wkups uint64_t 4695 Fri_pageins uint64_t 4696 Fri_wired_size uint64_t 4697 Fri_resident_size uint64_t 4698 Fri_phys_footprint uint64_t 4699 Fri_proc_start_abstime uint64_t 4700 Fri_proc_exit_abstime uint64_t 4701 Fri_child_user_time uint64_t 4702 Fri_child_system_time uint64_t 4703 Fri_child_pkg_idle_wkups uint64_t 4704 Fri_child_interrupt_wkups uint64_t 4705 Fri_child_pageins uint64_t 4706 Fri_child_elapsed_abstime uint64_t 4707 } /* resource.h:215:1 */ 4708 4709 type rusage_info_v2 = struct { 4710 Fri_uuid [16]uint8_t 4711 Fri_user_time uint64_t 4712 Fri_system_time uint64_t 4713 Fri_pkg_idle_wkups uint64_t 4714 Fri_interrupt_wkups uint64_t 4715 Fri_pageins uint64_t 4716 Fri_wired_size uint64_t 4717 Fri_resident_size uint64_t 4718 Fri_phys_footprint uint64_t 4719 Fri_proc_start_abstime uint64_t 4720 Fri_proc_exit_abstime uint64_t 4721 Fri_child_user_time uint64_t 4722 Fri_child_system_time uint64_t 4723 Fri_child_pkg_idle_wkups uint64_t 4724 Fri_child_interrupt_wkups uint64_t 4725 Fri_child_pageins uint64_t 4726 Fri_child_elapsed_abstime uint64_t 4727 Fri_diskio_bytesread uint64_t 4728 Fri_diskio_byteswritten uint64_t 4729 } /* resource.h:235:1 */ 4730 4731 type rusage_info_v3 = struct { 4732 Fri_uuid [16]uint8_t 4733 Fri_user_time uint64_t 4734 Fri_system_time uint64_t 4735 Fri_pkg_idle_wkups uint64_t 4736 Fri_interrupt_wkups uint64_t 4737 Fri_pageins uint64_t 4738 Fri_wired_size uint64_t 4739 Fri_resident_size uint64_t 4740 Fri_phys_footprint uint64_t 4741 Fri_proc_start_abstime uint64_t 4742 Fri_proc_exit_abstime uint64_t 4743 Fri_child_user_time uint64_t 4744 Fri_child_system_time uint64_t 4745 Fri_child_pkg_idle_wkups uint64_t 4746 Fri_child_interrupt_wkups uint64_t 4747 Fri_child_pageins uint64_t 4748 Fri_child_elapsed_abstime uint64_t 4749 Fri_diskio_bytesread uint64_t 4750 Fri_diskio_byteswritten uint64_t 4751 Fri_cpu_time_qos_default uint64_t 4752 Fri_cpu_time_qos_maintenance uint64_t 4753 Fri_cpu_time_qos_background uint64_t 4754 Fri_cpu_time_qos_utility uint64_t 4755 Fri_cpu_time_qos_legacy uint64_t 4756 Fri_cpu_time_qos_user_initiated uint64_t 4757 Fri_cpu_time_qos_user_interactive uint64_t 4758 Fri_billed_system_time uint64_t 4759 Fri_serviced_system_time uint64_t 4760 } /* resource.h:257:1 */ 4761 4762 type rusage_info_v4 = struct { 4763 Fri_uuid [16]uint8_t 4764 Fri_user_time uint64_t 4765 Fri_system_time uint64_t 4766 Fri_pkg_idle_wkups uint64_t 4767 Fri_interrupt_wkups uint64_t 4768 Fri_pageins uint64_t 4769 Fri_wired_size uint64_t 4770 Fri_resident_size uint64_t 4771 Fri_phys_footprint uint64_t 4772 Fri_proc_start_abstime uint64_t 4773 Fri_proc_exit_abstime uint64_t 4774 Fri_child_user_time uint64_t 4775 Fri_child_system_time uint64_t 4776 Fri_child_pkg_idle_wkups uint64_t 4777 Fri_child_interrupt_wkups uint64_t 4778 Fri_child_pageins uint64_t 4779 Fri_child_elapsed_abstime uint64_t 4780 Fri_diskio_bytesread uint64_t 4781 Fri_diskio_byteswritten uint64_t 4782 Fri_cpu_time_qos_default uint64_t 4783 Fri_cpu_time_qos_maintenance uint64_t 4784 Fri_cpu_time_qos_background uint64_t 4785 Fri_cpu_time_qos_utility uint64_t 4786 Fri_cpu_time_qos_legacy uint64_t 4787 Fri_cpu_time_qos_user_initiated uint64_t 4788 Fri_cpu_time_qos_user_interactive uint64_t 4789 Fri_billed_system_time uint64_t 4790 Fri_serviced_system_time uint64_t 4791 Fri_logical_writes uint64_t 4792 Fri_lifetime_max_phys_footprint uint64_t 4793 Fri_instructions uint64_t 4794 Fri_cycles uint64_t 4795 Fri_billed_energy uint64_t 4796 Fri_serviced_energy uint64_t 4797 Fri_interval_max_phys_footprint uint64_t 4798 Fri_runnable_time uint64_t 4799 } /* resource.h:288:1 */ 4800 4801 type rusage_info_v5 = struct { 4802 Fri_uuid [16]uint8_t 4803 Fri_user_time uint64_t 4804 Fri_system_time uint64_t 4805 Fri_pkg_idle_wkups uint64_t 4806 Fri_interrupt_wkups uint64_t 4807 Fri_pageins uint64_t 4808 Fri_wired_size uint64_t 4809 Fri_resident_size uint64_t 4810 Fri_phys_footprint uint64_t 4811 Fri_proc_start_abstime uint64_t 4812 Fri_proc_exit_abstime uint64_t 4813 Fri_child_user_time uint64_t 4814 Fri_child_system_time uint64_t 4815 Fri_child_pkg_idle_wkups uint64_t 4816 Fri_child_interrupt_wkups uint64_t 4817 Fri_child_pageins uint64_t 4818 Fri_child_elapsed_abstime uint64_t 4819 Fri_diskio_bytesread uint64_t 4820 Fri_diskio_byteswritten uint64_t 4821 Fri_cpu_time_qos_default uint64_t 4822 Fri_cpu_time_qos_maintenance uint64_t 4823 Fri_cpu_time_qos_background uint64_t 4824 Fri_cpu_time_qos_utility uint64_t 4825 Fri_cpu_time_qos_legacy uint64_t 4826 Fri_cpu_time_qos_user_initiated uint64_t 4827 Fri_cpu_time_qos_user_interactive uint64_t 4828 Fri_billed_system_time uint64_t 4829 Fri_serviced_system_time uint64_t 4830 Fri_logical_writes uint64_t 4831 Fri_lifetime_max_phys_footprint uint64_t 4832 Fri_instructions uint64_t 4833 Fri_cycles uint64_t 4834 Fri_billed_energy uint64_t 4835 Fri_serviced_energy uint64_t 4836 Fri_interval_max_phys_footprint uint64_t 4837 Fri_runnable_time uint64_t 4838 Fri_flags uint64_t 4839 } /* resource.h:327:1 */ 4840 4841 type rusage_info_current = rusage_info_v5 /* resource.h:367:31 */ 4842 4843 // **** 4844 // 4845 // RESOURCE LIMITS 4846 4847 // Symbolic constants for resource limits; since all limits are representable 4848 // as a type rlim_t, we are permitted to define RLIM_SAVED_* in terms of 4849 // RLIM_INFINITY. 4850 4851 // Possible values of the first parameter to getrlimit()/setrlimit(), to 4852 // indicate for which resource the operation is being performed. 4853 4854 // A structure representing a resource limit. The address of an instance 4855 // of this structure is the second parameter to getrlimit()/setrlimit(). 4856 type rlimit = struct { 4857 Frlim_cur rlim_t 4858 Frlim_max rlim_t 4859 } /* resource.h:411:1 */ 4860 4861 // proc_rlimit_control() 4862 // 4863 // Resource limit flavors 4864 4865 // Flags for wakeups monitor control. 4866 4867 // Flags for CPU usage monitor control. 4868 4869 // Flags for memory footprint interval tracking. 4870 4871 type proc_rlimit_control_wakeupmon = struct { 4872 Fwm_flags uint32_t 4873 Fwm_rate int32_t 4874 } /* resource.h:446:1 */ 4875 4876 // Option bits for the third argument of wait4. WNOHANG causes the 4877 // wait to not hang if there are no stopped or terminated processes, rather 4878 // returning an error indication in this case (pid==0). WUNTRACED 4879 // indicates that the caller should receive status about untraced children 4880 // which stop due to signals. If children are stopped and a wait without 4881 // this option is done, it is as though they were still running... nothing 4882 // about them is returned. 4883 4884 // Macros to test the exit status returned by wait 4885 // and extract the relevant values. 4886 4887 // These macros are permited, as they are in the implementation namespace 4888 4889 // [XSI] The <sys/wait.h> header shall define the following macros for 4890 // analysis of process status values 4891 // 0x13 == SIGCONT 4892 4893 // [XSI] The following symbolic constants shall be defined as possible 4894 // values for the fourth argument to waitid(). 4895 // WNOHANG already defined for wait4() 4896 // WUNTRACED defined for wait4() but not for waitid() 4897 // waitid() parameter 4898 4899 // POSIX extensions and 4.2/4.3 compatability: 4900 4901 // Tokens for special values of the "pid" parameter to wait4. 4902 4903 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 4904 // 4905 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4906 // 4907 // This file contains Original Code and/or Modifications of Original Code 4908 // as defined in and that are subject to the Apple Public Source License 4909 // Version 2.0 (the 'License'). You may not use this file except in 4910 // compliance with the License. The rights granted to you under the License 4911 // may not be used to create, or enable the creation or redistribution of, 4912 // unlawful or unlicensed copies of an Apple operating system, or to 4913 // circumvent, violate, or enable the circumvention or violation of, any 4914 // terms of an Apple operating system software license agreement. 4915 // 4916 // Please obtain a copy of the License at 4917 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4918 // 4919 // The Original Code and all software distributed under the License are 4920 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4921 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4922 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4923 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4924 // Please see the License for the specific language governing rights and 4925 // limitations under the License. 4926 // 4927 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4928 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4929 4930 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 4931 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4932 // Copyright (c) 1987, 1991, 1993 4933 // The Regents of the University of California. All rights reserved. 4934 // 4935 // Redistribution and use in source and binary forms, with or without 4936 // modification, are permitted provided that the following conditions 4937 // are met: 4938 // 1. Redistributions of source code must retain the above copyright 4939 // notice, this list of conditions and the following disclaimer. 4940 // 2. Redistributions in binary form must reproduce the above copyright 4941 // notice, this list of conditions and the following disclaimer in the 4942 // documentation and/or other materials provided with the distribution. 4943 // 3. All advertising materials mentioning features or use of this software 4944 // must display the following acknowledgement: 4945 // This product includes software developed by the University of 4946 // California, Berkeley and its contributors. 4947 // 4. Neither the name of the University nor the names of its contributors 4948 // may be used to endorse or promote products derived from this software 4949 // without specific prior written permission. 4950 // 4951 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 4952 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 4953 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 4954 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 4955 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 4956 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 4957 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 4958 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 4959 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 4960 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 4961 // SUCH DAMAGE. 4962 // 4963 // @(#)endian.h 8.1 (Berkeley) 6/11/93 4964 4965 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 4966 // 4967 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 4968 // 4969 // This file contains Original Code and/or Modifications of Original Code 4970 // as defined in and that are subject to the Apple Public Source License 4971 // Version 2.0 (the 'License'). You may not use this file except in 4972 // compliance with the License. The rights granted to you under the License 4973 // may not be used to create, or enable the creation or redistribution of, 4974 // unlawful or unlicensed copies of an Apple operating system, or to 4975 // circumvent, violate, or enable the circumvention or violation of, any 4976 // terms of an Apple operating system software license agreement. 4977 // 4978 // Please obtain a copy of the License at 4979 // http://www.opensource.apple.com/apsl/ and read it before using this file. 4980 // 4981 // The Original Code and all software distributed under the License are 4982 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 4983 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 4984 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 4985 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 4986 // Please see the License for the specific language governing rights and 4987 // limitations under the License. 4988 // 4989 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 4990 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 4991 // Copyright (c) 1991, 1993 4992 // The Regents of the University of California. All rights reserved. 4993 // 4994 // This code is derived from software contributed to Berkeley by 4995 // Berkeley Software Design, Inc. 4996 // 4997 // Redistribution and use in source and binary forms, with or without 4998 // modification, are permitted provided that the following conditions 4999 // are met: 5000 // 1. Redistributions of source code must retain the above copyright 5001 // notice, this list of conditions and the following disclaimer. 5002 // 2. Redistributions in binary form must reproduce the above copyright 5003 // notice, this list of conditions and the following disclaimer in the 5004 // documentation and/or other materials provided with the distribution. 5005 // 3. All advertising materials mentioning features or use of this software 5006 // must display the following acknowledgement: 5007 // This product includes software developed by the University of 5008 // California, Berkeley and its contributors. 5009 // 4. Neither the name of the University nor the names of its contributors 5010 // may be used to endorse or promote products derived from this software 5011 // without specific prior written permission. 5012 // 5013 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 5014 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 5015 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 5016 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 5017 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 5018 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 5019 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 5020 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 5021 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 5022 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 5023 // SUCH DAMAGE. 5024 // 5025 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 5026 5027 // Define _NOQUAD if the compiler does NOT support 64-bit integers. 5028 // #define _NOQUAD 5029 5030 // Define the order of 32-bit words in 64-bit words. 5031 5032 // Definitions for byte order, according to byte significance from low 5033 // address to high. 5034 5035 // Copyright (c) 2004, 2006 Apple Computer, Inc. All rights reserved. 5036 // 5037 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5038 // 5039 // This file contains Original Code and/or Modifications of Original Code 5040 // as defined in and that are subject to the Apple Public Source License 5041 // Version 2.0 (the 'License'). You may not use this file except in 5042 // compliance with the License. The rights granted to you under the License 5043 // may not be used to create, or enable the creation or redistribution of, 5044 // unlawful or unlicensed copies of an Apple operating system, or to 5045 // circumvent, violate, or enable the circumvention or violation of, any 5046 // terms of an Apple operating system software license agreement. 5047 // 5048 // Please obtain a copy of the License at 5049 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5050 // 5051 // The Original Code and all software distributed under the License are 5052 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5053 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5054 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5055 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5056 // Please see the License for the specific language governing rights and 5057 // limitations under the License. 5058 // 5059 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5060 5061 // Copyright (c) 1995 NeXT Computer, Inc. All rights reserved. 5062 // Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved. 5063 // 5064 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5065 // 5066 // This file contains Original Code and/or Modifications of Original Code 5067 // as defined in and that are subject to the Apple Public Source License 5068 // Version 2.0 (the 'License'). You may not use this file except in 5069 // compliance with the License. The rights granted to you under the License 5070 // may not be used to create, or enable the creation or redistribution of, 5071 // unlawful or unlicensed copies of an Apple operating system, or to 5072 // circumvent, violate, or enable the circumvention or violation of, any 5073 // terms of an Apple operating system software license agreement. 5074 // 5075 // Please obtain a copy of the License at 5076 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5077 // 5078 // The Original Code and all software distributed under the License are 5079 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5080 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5081 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5082 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5083 // Please see the License for the specific language governing rights and 5084 // limitations under the License. 5085 // 5086 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5087 // Copyright (c) 1987, 1991, 1993 5088 // The Regents of the University of California. All rights reserved. 5089 // 5090 // Redistribution and use in source and binary forms, with or without 5091 // modification, are permitted provided that the following conditions 5092 // are met: 5093 // 1. Redistributions of source code must retain the above copyright 5094 // notice, this list of conditions and the following disclaimer. 5095 // 2. Redistributions in binary form must reproduce the above copyright 5096 // notice, this list of conditions and the following disclaimer in the 5097 // documentation and/or other materials provided with the distribution. 5098 // 3. All advertising materials mentioning features or use of this software 5099 // must display the following acknowledgement: 5100 // This product includes software developed by the University of 5101 // California, Berkeley and its contributors. 5102 // 4. Neither the name of the University nor the names of its contributors 5103 // may be used to endorse or promote products derived from this software 5104 // without specific prior written permission. 5105 // 5106 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 5107 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 5108 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 5109 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 5110 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 5111 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 5112 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 5113 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 5114 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 5115 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 5116 // SUCH DAMAGE. 5117 5118 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 5119 // 5120 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5121 // 5122 // This file contains Original Code and/or Modifications of Original Code 5123 // as defined in and that are subject to the Apple Public Source License 5124 // Version 2.0 (the 'License'). You may not use this file except in 5125 // compliance with the License. The rights granted to you under the License 5126 // may not be used to create, or enable the creation or redistribution of, 5127 // unlawful or unlicensed copies of an Apple operating system, or to 5128 // circumvent, violate, or enable the circumvention or violation of, any 5129 // terms of an Apple operating system software license agreement. 5130 // 5131 // Please obtain a copy of the License at 5132 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5133 // 5134 // The Original Code and all software distributed under the License are 5135 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5136 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5137 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5138 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5139 // Please see the License for the specific language governing rights and 5140 // limitations under the License. 5141 // 5142 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5143 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 5144 // Copyright (c) 1991, 1993 5145 // The Regents of the University of California. All rights reserved. 5146 // 5147 // This code is derived from software contributed to Berkeley by 5148 // Berkeley Software Design, Inc. 5149 // 5150 // Redistribution and use in source and binary forms, with or without 5151 // modification, are permitted provided that the following conditions 5152 // are met: 5153 // 1. Redistributions of source code must retain the above copyright 5154 // notice, this list of conditions and the following disclaimer. 5155 // 2. Redistributions in binary form must reproduce the above copyright 5156 // notice, this list of conditions and the following disclaimer in the 5157 // documentation and/or other materials provided with the distribution. 5158 // 3. All advertising materials mentioning features or use of this software 5159 // must display the following acknowledgement: 5160 // This product includes software developed by the University of 5161 // California, Berkeley and its contributors. 5162 // 4. Neither the name of the University nor the names of its contributors 5163 // may be used to endorse or promote products derived from this software 5164 // without specific prior written permission. 5165 // 5166 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 5167 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 5168 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 5169 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 5170 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 5171 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 5172 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 5173 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 5174 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 5175 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 5176 // SUCH DAMAGE. 5177 // 5178 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 5179 5180 // Macros for network/external number representation conversion. 5181 5182 // Copyright (c) 2006 Apple Computer, Inc. All rights reserved. 5183 // 5184 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5185 // 5186 // This file contains Original Code and/or Modifications of Original Code 5187 // as defined in and that are subject to the Apple Public Source License 5188 // Version 2.0 (the 'License'). You may not use this file except in 5189 // compliance with the License. The rights granted to you under the License 5190 // may not be used to create, or enable the creation or redistribution of, 5191 // unlawful or unlicensed copies of an Apple operating system, or to 5192 // circumvent, violate, or enable the circumvention or violation of, any 5193 // terms of an Apple operating system software license agreement. 5194 // 5195 // Please obtain a copy of the License at 5196 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5197 // 5198 // The Original Code and all software distributed under the License are 5199 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5200 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5201 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5202 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5203 // Please see the License for the specific language governing rights and 5204 // limitations under the License. 5205 // 5206 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5207 5208 // This header is normally included from <libkern/OSByteOrder.h>. However, 5209 // <sys/_endian.h> also includes this in the case of little-endian 5210 // architectures, so that we can map OSByteOrder routines to the hton* and ntoh* 5211 // macros. This results in the asymmetry below; we only include 5212 // <libkern/arch/_OSByteOrder.h> for little-endian architectures. 5213 5214 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5215 // 5216 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5217 // 5218 // This file contains Original Code and/or Modifications of Original Code 5219 // as defined in and that are subject to the Apple Public Source License 5220 // Version 2.0 (the 'License'). You may not use this file except in 5221 // compliance with the License. The rights granted to you under the License 5222 // may not be used to create, or enable the creation or redistribution of, 5223 // unlawful or unlicensed copies of an Apple operating system, or to 5224 // circumvent, violate, or enable the circumvention or violation of, any 5225 // terms of an Apple operating system software license agreement. 5226 // 5227 // Please obtain a copy of the License at 5228 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5229 // 5230 // The Original Code and all software distributed under the License are 5231 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5232 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5233 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5234 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5235 // Please see the License for the specific language governing rights and 5236 // limitations under the License. 5237 // 5238 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5239 5240 // Macros for swapping constant values in the preprocessing stage. 5241 5242 // Copyright (c) 1999-2007 Apple Inc. All rights reserved. 5243 5244 // Copyright (c) 2007 Apple Inc. All rights reserved. 5245 // 5246 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5247 // 5248 // This file contains Original Code and/or Modifications of Original Code 5249 // as defined in and that are subject to the Apple Public Source License 5250 // Version 2.0 (the 'License'). You may not use this file except in 5251 // compliance with the License. The rights granted to you under the License 5252 // may not be used to create, or enable the creation or redistribution of, 5253 // unlawful or unlicensed copies of an Apple operating system, or to 5254 // circumvent, violate, or enable the circumvention or violation of, any 5255 // terms of an Apple operating system software license agreement. 5256 // 5257 // Please obtain a copy of the License at 5258 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5259 // 5260 // The Original Code and all software distributed under the License are 5261 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5262 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5263 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5264 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5265 // Please see the License for the specific language governing rights and 5266 // limitations under the License. 5267 // 5268 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5269 5270 // Collect the __ARM_ARCH_*__ compiler flags into something easier to use. 5271 5272 // Generic byte swapping functions. 5273 5274 func _OSSwapInt16(tls *libc.TLS, _data uint16_t) uint16_t { /* OSByteOrder.h:15:1: */ 5275 // Reduces to 'rev16' with clang 5276 return uint16_t(int32(_data)<<8 | int32(_data)>>8) 5277 } 5278 5279 func _OSSwapInt32(tls *libc.TLS, _data uint32_t) uint32_t { /* OSByteOrder.h:25:1: */ 5280 // This actually generates the best code 5281 _data = (_data^(_data>>16|_data<<16))&0xFF00FFFF>>8 ^ (_data>>8 | _data<<24) 5282 5283 return _data 5284 } 5285 5286 func _OSSwapInt64(tls *libc.TLS, _data uint64_t) uint64_t { /* OSByteOrder.h:41:1: */ 5287 bp := tls.Alloc(8) 5288 defer tls.Free(8) 5289 5290 // var _u struct {F_ull uint64_t;} at bp, 8 5291 5292 // This actually generates the best code 5293 *(*uint32_t)(unsafe.Pointer(bp)) = uint32_t(_data >> 32) 5294 *(*uint32_t)(unsafe.Pointer(bp + 1*4)) = uint32_t(_data & uint64(0xffffffff)) 5295 *(*uint32_t)(unsafe.Pointer(bp)) = _OSSwapInt32(tls, *(*uint32_t)(unsafe.Pointer(bp))) 5296 *(*uint32_t)(unsafe.Pointer(bp + 1*4)) = _OSSwapInt32(tls, *(*uint32_t)(unsafe.Pointer(bp + 1*4))) 5297 return *(*uint64_t)(unsafe.Pointer(bp)) 5298 } 5299 5300 // Functions for byte reversed loads. 5301 5302 type _OSUnalignedU16 = struct{ F__val uint16_t } /* OSByteOrder.h:64:1 */ 5303 5304 type _OSUnalignedU32 = struct{ F__val uint32_t } /* OSByteOrder.h:68:1 */ 5305 5306 type _OSUnalignedU64 = struct{ F__val uint64_t } /* OSByteOrder.h:72:1 */ 5307 5308 // Deprecated: 5309 // Structure of the information in the status word returned by wait4. 5310 // If w_stopval==_WSTOPPED, then the second structure describes 5311 // the information returned, else the first. 5312 type wait = struct{ Fw_status int32 } /* wait.h:194:1 */ 5313 5314 // built-in for gcc 5315 5316 // built-in for gcc 3 5317 5318 // DO NOT REMOVE THIS COMMENT: fixincludes needs to see: 5319 // _GCC_SIZE_T 5320 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5321 // 5322 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5323 // 5324 // This file contains Original Code and/or Modifications of Original Code 5325 // as defined in and that are subject to the Apple Public Source License 5326 // Version 2.0 (the 'License'). You may not use this file except in 5327 // compliance with the License. The rights granted to you under the License 5328 // may not be used to create, or enable the creation or redistribution of, 5329 // unlawful or unlicensed copies of an Apple operating system, or to 5330 // circumvent, violate, or enable the circumvention or violation of, any 5331 // terms of an Apple operating system software license agreement. 5332 // 5333 // Please obtain a copy of the License at 5334 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5335 // 5336 // The Original Code and all software distributed under the License are 5337 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5338 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5339 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5340 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5341 // Please see the License for the specific language governing rights and 5342 // limitations under the License. 5343 // 5344 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5345 5346 // Copyright (c) 2012 Apple Inc. All rights reserved. 5347 // 5348 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5349 // 5350 // This file contains Original Code and/or Modifications of Original Code 5351 // as defined in and that are subject to the Apple Public Source License 5352 // Version 2.0 (the 'License'). You may not use this file except in 5353 // compliance with the License. The rights granted to you under the License 5354 // may not be used to create, or enable the creation or redistribution of, 5355 // unlawful or unlicensed copies of an Apple operating system, or to 5356 // circumvent, violate, or enable the circumvention or violation of, any 5357 // terms of an Apple operating system software license agreement. 5358 // 5359 // Please obtain a copy of the License at 5360 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5361 // 5362 // The Original Code and all software distributed under the License are 5363 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5364 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5365 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5366 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5367 // Please see the License for the specific language governing rights and 5368 // limitations under the License. 5369 // 5370 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5371 5372 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5373 // 5374 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5375 // 5376 // This file contains Original Code and/or Modifications of Original Code 5377 // as defined in and that are subject to the Apple Public Source License 5378 // Version 2.0 (the 'License'). You may not use this file except in 5379 // compliance with the License. The rights granted to you under the License 5380 // may not be used to create, or enable the creation or redistribution of, 5381 // unlawful or unlicensed copies of an Apple operating system, or to 5382 // circumvent, violate, or enable the circumvention or violation of, any 5383 // terms of an Apple operating system software license agreement. 5384 // 5385 // Please obtain a copy of the License at 5386 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5387 // 5388 // The Original Code and all software distributed under the License are 5389 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5390 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5391 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5392 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5393 // Please see the License for the specific language governing rights and 5394 // limitations under the License. 5395 // 5396 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5397 type ct_rune_t = int32 /* _ct_rune_t.h:32:28 */ 5398 // Copyright (c) 2012 Apple Inc. All rights reserved. 5399 // 5400 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5401 // 5402 // This file contains Original Code and/or Modifications of Original Code 5403 // as defined in and that are subject to the Apple Public Source License 5404 // Version 2.0 (the 'License'). You may not use this file except in 5405 // compliance with the License. The rights granted to you under the License 5406 // may not be used to create, or enable the creation or redistribution of, 5407 // unlawful or unlicensed copies of an Apple operating system, or to 5408 // circumvent, violate, or enable the circumvention or violation of, any 5409 // terms of an Apple operating system software license agreement. 5410 // 5411 // Please obtain a copy of the License at 5412 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5413 // 5414 // The Original Code and all software distributed under the License are 5415 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5416 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5417 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5418 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5419 // Please see the License for the specific language governing rights and 5420 // limitations under the License. 5421 // 5422 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5423 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5424 // 5425 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5426 // 5427 // This file contains Original Code and/or Modifications of Original Code 5428 // as defined in and that are subject to the Apple Public Source License 5429 // Version 2.0 (the 'License'). You may not use this file except in 5430 // compliance with the License. The rights granted to you under the License 5431 // may not be used to create, or enable the creation or redistribution of, 5432 // unlawful or unlicensed copies of an Apple operating system, or to 5433 // circumvent, violate, or enable the circumvention or violation of, any 5434 // terms of an Apple operating system software license agreement. 5435 // 5436 // Please obtain a copy of the License at 5437 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5438 // 5439 // The Original Code and all software distributed under the License are 5440 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5441 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5442 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5443 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5444 // Please see the License for the specific language governing rights and 5445 // limitations under the License. 5446 // 5447 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5448 type rune_t = int32 /* _rune_t.h:31:25 */ 5449 5450 type div_t = struct { 5451 Fquot int32 5452 Frem int32 5453 } /* stdlib.h:86:3 */ 5454 5455 type ldiv_t = struct { 5456 Fquot int64 5457 Frem int64 5458 } /* stdlib.h:91:3 */ 5459 5460 type lldiv_t = struct { 5461 Fquot int64 5462 Frem int64 5463 } /* stdlib.h:97:3 */ 5464 5465 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 5466 // 5467 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5468 // 5469 // This file contains Original Code and/or Modifications of Original Code 5470 // as defined in and that are subject to the Apple Public Source License 5471 // Version 2.0 (the 'License'). You may not use this file except in 5472 // compliance with the License. The rights granted to you under the License 5473 // may not be used to create, or enable the creation or redistribution of, 5474 // unlawful or unlicensed copies of an Apple operating system, or to 5475 // circumvent, violate, or enable the circumvention or violation of, any 5476 // terms of an Apple operating system software license agreement. 5477 // 5478 // Please obtain a copy of the License at 5479 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5480 // 5481 // The Original Code and all software distributed under the License are 5482 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5483 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5484 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5485 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5486 // Please see the License for the specific language governing rights and 5487 // limitations under the License. 5488 // 5489 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5490 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 5491 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5492 // 5493 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5494 // 5495 // This file contains Original Code and/or Modifications of Original Code 5496 // as defined in and that are subject to the Apple Public Source License 5497 // Version 2.0 (the 'License'). You may not use this file except in 5498 // compliance with the License. The rights granted to you under the License 5499 // may not be used to create, or enable the creation or redistribution of, 5500 // unlawful or unlicensed copies of an Apple operating system, or to 5501 // circumvent, violate, or enable the circumvention or violation of, any 5502 // terms of an Apple operating system software license agreement. 5503 // 5504 // Please obtain a copy of the License at 5505 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5506 // 5507 // The Original Code and all software distributed under the License are 5508 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5509 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5510 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5511 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5512 // Please see the License for the specific language governing rights and 5513 // limitations under the License. 5514 // 5515 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5516 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5517 // 5518 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5519 // 5520 // This file contains Original Code and/or Modifications of Original Code 5521 // as defined in and that are subject to the Apple Public Source License 5522 // Version 2.0 (the 'License'). You may not use this file except in 5523 // compliance with the License. The rights granted to you under the License 5524 // may not be used to create, or enable the creation or redistribution of, 5525 // unlawful or unlicensed copies of an Apple operating system, or to 5526 // circumvent, violate, or enable the circumvention or violation of, any 5527 // terms of an Apple operating system software license agreement. 5528 // 5529 // Please obtain a copy of the License at 5530 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5531 // 5532 // The Original Code and all software distributed under the License are 5533 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5534 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5535 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5536 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5537 // Please see the License for the specific language governing rights and 5538 // limitations under the License. 5539 // 5540 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5541 5542 type dev_t = int32 /* _dev_t.h:31:31 */ // device number 5543 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5544 // 5545 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5546 // 5547 // This file contains Original Code and/or Modifications of Original Code 5548 // as defined in and that are subject to the Apple Public Source License 5549 // Version 2.0 (the 'License'). You may not use this file except in 5550 // compliance with the License. The rights granted to you under the License 5551 // may not be used to create, or enable the creation or redistribution of, 5552 // unlawful or unlicensed copies of an Apple operating system, or to 5553 // circumvent, violate, or enable the circumvention or violation of, any 5554 // terms of an Apple operating system software license agreement. 5555 // 5556 // Please obtain a copy of the License at 5557 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5558 // 5559 // The Original Code and all software distributed under the License are 5560 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5561 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5562 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5563 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5564 // Please see the License for the specific language governing rights and 5565 // limitations under the License. 5566 // 5567 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5568 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 5569 // 5570 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5571 // 5572 // This file contains Original Code and/or Modifications of Original Code 5573 // as defined in and that are subject to the Apple Public Source License 5574 // Version 2.0 (the 'License'). You may not use this file except in 5575 // compliance with the License. The rights granted to you under the License 5576 // may not be used to create, or enable the creation or redistribution of, 5577 // unlawful or unlicensed copies of an Apple operating system, or to 5578 // circumvent, violate, or enable the circumvention or violation of, any 5579 // terms of an Apple operating system software license agreement. 5580 // 5581 // Please obtain a copy of the License at 5582 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5583 // 5584 // The Original Code and all software distributed under the License are 5585 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5586 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5587 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5588 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5589 // Please see the License for the specific language governing rights and 5590 // limitations under the License. 5591 // 5592 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5593 5594 type mode_t = uint16 /* _mode_t.h:31:33 */ 5595 5596 // Define the standard macros for the user, 5597 // if this invocation was from the user program. 5598 5599 // Copyright (c) 2000, 2005, 2007, 2009, 2010 Apple Inc. All rights reserved. 5600 // 5601 // @APPLE_LICENSE_HEADER_START@ 5602 // 5603 // This file contains Original Code and/or Modifications of Original Code 5604 // as defined in and that are subject to the Apple Public Source License 5605 // Version 2.0 (the 'License'). You may not use this file except in 5606 // compliance with the License. Please obtain a copy of the License at 5607 // http://www.opensource.apple.com/apsl/ and read it before using this 5608 // file. 5609 // 5610 // The Original Code and all software distributed under the License are 5611 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5612 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5613 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5614 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5615 // Please see the License for the specific language governing rights and 5616 // limitations under the License. 5617 // 5618 // @APPLE_LICENSE_HEADER_END@ 5619 // - 5620 // Copyright (c) 1990, 1993 5621 // The Regents of the University of California. All rights reserved. 5622 // 5623 // This code is derived from software contributed to Berkeley by 5624 // Chris Torek. 5625 // 5626 // Redistribution and use in source and binary forms, with or without 5627 // modification, are permitted provided that the following conditions 5628 // are met: 5629 // 1. Redistributions of source code must retain the above copyright 5630 // notice, this list of conditions and the following disclaimer. 5631 // 2. Redistributions in binary form must reproduce the above copyright 5632 // notice, this list of conditions and the following disclaimer in the 5633 // documentation and/or other materials provided with the distribution. 5634 // 3. All advertising materials mentioning features or use of this software 5635 // must display the following acknowledgement: 5636 // This product includes software developed by the University of 5637 // California, Berkeley and its contributors. 5638 // 4. Neither the name of the University nor the names of its contributors 5639 // may be used to endorse or promote products derived from this software 5640 // without specific prior written permission. 5641 // 5642 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 5643 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 5644 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 5645 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 5646 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 5647 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 5648 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 5649 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 5650 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 5651 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 5652 // SUCH DAMAGE. 5653 // 5654 // @(#)stdio.h 8.5 (Berkeley) 4/29/95 5655 5656 // Copyright (c) 2000, 2005, 2007, 2009, 2010 Apple Inc. All rights reserved. 5657 // 5658 // @APPLE_LICENSE_HEADER_START@ 5659 // 5660 // This file contains Original Code and/or Modifications of Original Code 5661 // as defined in and that are subject to the Apple Public Source License 5662 // Version 2.0 (the 'License'). You may not use this file except in 5663 // compliance with the License. Please obtain a copy of the License at 5664 // http://www.opensource.apple.com/apsl/ and read it before using this 5665 // file. 5666 // 5667 // The Original Code and all software distributed under the License are 5668 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5669 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5670 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5671 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5672 // Please see the License for the specific language governing rights and 5673 // limitations under the License. 5674 // 5675 // @APPLE_LICENSE_HEADER_END@ 5676 // - 5677 // Copyright (c) 1990, 1993 5678 // The Regents of the University of California. All rights reserved. 5679 // 5680 // This code is derived from software contributed to Berkeley by 5681 // Chris Torek. 5682 // 5683 // Redistribution and use in source and binary forms, with or without 5684 // modification, are permitted provided that the following conditions 5685 // are met: 5686 // 1. Redistributions of source code must retain the above copyright 5687 // notice, this list of conditions and the following disclaimer. 5688 // 2. Redistributions in binary form must reproduce the above copyright 5689 // notice, this list of conditions and the following disclaimer in the 5690 // documentation and/or other materials provided with the distribution. 5691 // 3. All advertising materials mentioning features or use of this software 5692 // must display the following acknowledgement: 5693 // This product includes software developed by the University of 5694 // California, Berkeley and its contributors. 5695 // 4. Neither the name of the University nor the names of its contributors 5696 // may be used to endorse or promote products derived from this software 5697 // without specific prior written permission. 5698 // 5699 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 5700 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 5701 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 5702 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 5703 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 5704 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 5705 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 5706 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 5707 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 5708 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 5709 // SUCH DAMAGE. 5710 // 5711 // @(#)stdio.h 8.5 (Berkeley) 4/29/95 5712 5713 // Common header for stdio.h and xlocale/_stdio.h 5714 5715 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 5716 // 5717 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5718 // 5719 // This file contains Original Code and/or Modifications of Original Code 5720 // as defined in and that are subject to the Apple Public Source License 5721 // Version 2.0 (the 'License'). You may not use this file except in 5722 // compliance with the License. The rights granted to you under the License 5723 // may not be used to create, or enable the creation or redistribution of, 5724 // unlawful or unlicensed copies of an Apple operating system, or to 5725 // circumvent, violate, or enable the circumvention or violation of, any 5726 // terms of an Apple operating system software license agreement. 5727 // 5728 // Please obtain a copy of the License at 5729 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5730 // 5731 // The Original Code and all software distributed under the License are 5732 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5733 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5734 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5735 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5736 // Please see the License for the specific language governing rights and 5737 // limitations under the License. 5738 // 5739 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5740 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 5741 // Copyright (c) 1991, 1993 5742 // The Regents of the University of California. All rights reserved. 5743 // 5744 // This code is derived from software contributed to Berkeley by 5745 // Berkeley Software Design, Inc. 5746 // 5747 // Redistribution and use in source and binary forms, with or without 5748 // modification, are permitted provided that the following conditions 5749 // are met: 5750 // 1. Redistributions of source code must retain the above copyright 5751 // notice, this list of conditions and the following disclaimer. 5752 // 2. Redistributions in binary form must reproduce the above copyright 5753 // notice, this list of conditions and the following disclaimer in the 5754 // documentation and/or other materials provided with the distribution. 5755 // 3. All advertising materials mentioning features or use of this software 5756 // must display the following acknowledgement: 5757 // This product includes software developed by the University of 5758 // California, Berkeley and its contributors. 5759 // 4. Neither the name of the University nor the names of its contributors 5760 // may be used to endorse or promote products derived from this software 5761 // without specific prior written permission. 5762 // 5763 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 5764 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 5765 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 5766 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 5767 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 5768 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 5769 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 5770 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 5771 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 5772 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 5773 // SUCH DAMAGE. 5774 // 5775 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 5776 5777 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 5778 // 5779 // @APPLE_LICENSE_HEADER_START@ 5780 // 5781 // This file contains Original Code and/or Modifications of Original Code 5782 // as defined in and that are subject to the Apple Public Source License 5783 // Version 2.0 (the 'License'). You may not use this file except in 5784 // compliance with the License. Please obtain a copy of the License at 5785 // http://www.opensource.apple.com/apsl/ and read it before using this 5786 // file. 5787 // 5788 // The Original Code and all software distributed under the License are 5789 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5790 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5791 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5792 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5793 // Please see the License for the specific language governing rights and 5794 // limitations under the License. 5795 // 5796 // @APPLE_LICENSE_HEADER_END@ 5797 5798 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 5799 // 5800 // @APPLE_LICENSE_HEADER_START@ 5801 // 5802 // This file contains Original Code and/or Modifications of Original Code 5803 // as defined in and that are subject to the Apple Public Source License 5804 // Version 2.0 (the 'License'). You may not use this file except in 5805 // compliance with the License. Please obtain a copy of the License at 5806 // http://www.opensource.apple.com/apsl/ and read it before using this 5807 // file. 5808 // 5809 // The Original Code and all software distributed under the License are 5810 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5811 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5812 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5813 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5814 // Please see the License for the specific language governing rights and 5815 // limitations under the License. 5816 // 5817 // @APPLE_LICENSE_HEADER_END@ 5818 5819 // DO NOT REMOVE THIS COMMENT: fixincludes needs to see: 5820 // __gnuc_va_list and include <stdarg.h> 5821 // Copyright (c) 2012 Apple Inc. All rights reserved. 5822 // 5823 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5824 // 5825 // This file contains Original Code and/or Modifications of Original Code 5826 // as defined in and that are subject to the Apple Public Source License 5827 // Version 2.0 (the 'License'). You may not use this file except in 5828 // compliance with the License. The rights granted to you under the License 5829 // may not be used to create, or enable the creation or redistribution of, 5830 // unlawful or unlicensed copies of an Apple operating system, or to 5831 // circumvent, violate, or enable the circumvention or violation of, any 5832 // terms of an Apple operating system software license agreement. 5833 // 5834 // Please obtain a copy of the License at 5835 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5836 // 5837 // The Original Code and all software distributed under the License are 5838 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5839 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5840 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5841 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5842 // Please see the License for the specific language governing rights and 5843 // limitations under the License. 5844 // 5845 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5846 5847 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 5848 // 5849 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5850 // 5851 // This file contains Original Code and/or Modifications of Original Code 5852 // as defined in and that are subject to the Apple Public Source License 5853 // Version 2.0 (the 'License'). You may not use this file except in 5854 // compliance with the License. The rights granted to you under the License 5855 // may not be used to create, or enable the creation or redistribution of, 5856 // unlawful or unlicensed copies of an Apple operating system, or to 5857 // circumvent, violate, or enable the circumvention or violation of, any 5858 // terms of an Apple operating system software license agreement. 5859 // 5860 // Please obtain a copy of the License at 5861 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5862 // 5863 // The Original Code and all software distributed under the License are 5864 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5865 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5866 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 5867 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 5868 // Please see the License for the specific language governing rights and 5869 // limitations under the License. 5870 // 5871 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 5872 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 5873 type va_list = uintptr /* _va_list.h:32:26 */ 5874 5875 type fpos_t = int64 /* _stdio.h:81:25 */ 5876 5877 // NB: to fit things in six character monocase externals, the stdio 5878 // code uses the prefix `__s' for stdio objects, typically followed 5879 // by a three-character attempt at a mnemonic. 5880 5881 // stdio buffers 5882 type __sbuf = struct { 5883 F_base uintptr 5884 F_size int32 5885 F__ccgo_pad1 [4]byte 5886 } /* _stdio.h:92:1 */ 5887 5888 // stdio state variables. 5889 // 5890 // The following always hold: 5891 // 5892 // if (_flags&(__SLBF|__SWR)) == (__SLBF|__SWR), 5893 // _lbfsize is -_bf._size, else _lbfsize is 0 5894 // if _flags&__SRD, _w is 0 5895 // if _flags&__SWR, _r is 0 5896 // 5897 // This ensures that the getc and putc macros (or inline functions) never 5898 // try to write or read from a file that is in `read' or `write' mode. 5899 // (Moreover, they can, and do, automatically switch from read mode to 5900 // write mode, and back, on "r+" and "w+" files.) 5901 // 5902 // _lbfsize is used only to make the inline line-buffered output stream 5903 // code as compact as possible. 5904 // 5905 // _ub, _up, and _ur are used when ungetc() pushes back more characters 5906 // than fit in the current _bf, or when ungetc() pushes back a character 5907 // that does not match the previous one in _bf. When this happens, 5908 // _ub._base becomes non-nil (i.e., a stream has ungetc() data iff 5909 // _ub._base!=NULL) and _up and _ur save the current values of _p and _r. 5910 // 5911 // NB: see WARNING above before changing the layout of this structure! 5912 type __sFILE = struct { 5913 F_p uintptr 5914 F_r int32 5915 F_w int32 5916 F_flags int16 5917 F_file int16 5918 F__ccgo_pad1 [4]byte 5919 F_bf struct { 5920 F_base uintptr 5921 F_size int32 5922 F__ccgo_pad1 [4]byte 5923 } 5924 F_lbfsize int32 5925 F__ccgo_pad2 [4]byte 5926 F_cookie uintptr 5927 F_close uintptr 5928 F_read uintptr 5929 F_seek uintptr 5930 F_write uintptr 5931 F_ub struct { 5932 F_base uintptr 5933 F_size int32 5934 F__ccgo_pad1 [4]byte 5935 } 5936 F_extra uintptr 5937 F_ur int32 5938 F_ubuf [3]uint8 5939 F_nbuf [1]uint8 5940 F_lb struct { 5941 F_base uintptr 5942 F_size int32 5943 F__ccgo_pad1 [4]byte 5944 } 5945 F_blksize int32 5946 F__ccgo_pad3 [4]byte 5947 F_offset fpos_t 5948 } /* _stdio.h:126:9 */ 5949 5950 // stdio state variables. 5951 // 5952 // The following always hold: 5953 // 5954 // if (_flags&(__SLBF|__SWR)) == (__SLBF|__SWR), 5955 // _lbfsize is -_bf._size, else _lbfsize is 0 5956 // if _flags&__SRD, _w is 0 5957 // if _flags&__SWR, _r is 0 5958 // 5959 // This ensures that the getc and putc macros (or inline functions) never 5960 // try to write or read from a file that is in `read' or `write' mode. 5961 // (Moreover, they can, and do, automatically switch from read mode to 5962 // write mode, and back, on "r+" and "w+" files.) 5963 // 5964 // _lbfsize is used only to make the inline line-buffered output stream 5965 // code as compact as possible. 5966 // 5967 // _ub, _up, and _ur are used when ungetc() pushes back more characters 5968 // than fit in the current _bf, or when ungetc() pushes back a character 5969 // that does not match the previous one in _bf. When this happens, 5970 // _ub._base becomes non-nil (i.e., a stream has ungetc() data iff 5971 // _ub._base!=NULL) and _up and _ur save the current values of _p and _r. 5972 // 5973 // NB: see WARNING above before changing the layout of this structure! 5974 type FILE = __sFILE /* _stdio.h:157:3 */ 5975 5976 // Additional functionality provided by: 5977 // POSIX.1-2001 5978 // ISO C99 5979 5980 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 5981 // 5982 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5983 // 5984 // This file contains Original Code and/or Modifications of Original Code 5985 // as defined in and that are subject to the Apple Public Source License 5986 // Version 2.0 (the 'License'). You may not use this file except in 5987 // compliance with the License. The rights granted to you under the License 5988 // may not be used to create, or enable the creation or redistribution of, 5989 // unlawful or unlicensed copies of an Apple operating system, or to 5990 // circumvent, violate, or enable the circumvention or violation of, any 5991 // terms of an Apple operating system software license agreement. 5992 // 5993 // Please obtain a copy of the License at 5994 // http://www.opensource.apple.com/apsl/ and read it before using this file. 5995 // 5996 // The Original Code and all software distributed under the License are 5997 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 5998 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 5999 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6000 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6001 // Please see the License for the specific language governing rights and 6002 // limitations under the License. 6003 // 6004 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6005 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6006 // 6007 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6008 // 6009 // This file contains Original Code and/or Modifications of Original Code 6010 // as defined in and that are subject to the Apple Public Source License 6011 // Version 2.0 (the 'License'). You may not use this file except in 6012 // compliance with the License. The rights granted to you under the License 6013 // may not be used to create, or enable the creation or redistribution of, 6014 // unlawful or unlicensed copies of an Apple operating system, or to 6015 // circumvent, violate, or enable the circumvention or violation of, any 6016 // terms of an Apple operating system software license agreement. 6017 // 6018 // Please obtain a copy of the License at 6019 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6020 // 6021 // The Original Code and all software distributed under the License are 6022 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6023 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6024 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6025 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6026 // Please see the License for the specific language governing rights and 6027 // limitations under the License. 6028 // 6029 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6030 6031 type off_t = int64 /* _off_t.h:31:33 */ 6032 6033 // Additional functionality provided by: 6034 // POSIX.1-2008 6035 6036 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6037 // 6038 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6039 // 6040 // This file contains Original Code and/or Modifications of Original Code 6041 // as defined in and that are subject to the Apple Public Source License 6042 // Version 2.0 (the 'License'). You may not use this file except in 6043 // compliance with the License. The rights granted to you under the License 6044 // may not be used to create, or enable the creation or redistribution of, 6045 // unlawful or unlicensed copies of an Apple operating system, or to 6046 // circumvent, violate, or enable the circumvention or violation of, any 6047 // terms of an Apple operating system software license agreement. 6048 // 6049 // Please obtain a copy of the License at 6050 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6051 // 6052 // The Original Code and all software distributed under the License are 6053 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6054 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6055 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6056 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6057 // Please see the License for the specific language governing rights and 6058 // limitations under the License. 6059 // 6060 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6061 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 6062 // 6063 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6064 // 6065 // This file contains Original Code and/or Modifications of Original Code 6066 // as defined in and that are subject to the Apple Public Source License 6067 // Version 2.0 (the 'License'). You may not use this file except in 6068 // compliance with the License. The rights granted to you under the License 6069 // may not be used to create, or enable the creation or redistribution of, 6070 // unlawful or unlicensed copies of an Apple operating system, or to 6071 // circumvent, violate, or enable the circumvention or violation of, any 6072 // terms of an Apple operating system software license agreement. 6073 // 6074 // Please obtain a copy of the License at 6075 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6076 // 6077 // The Original Code and all software distributed under the License are 6078 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6079 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6080 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6081 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6082 // Please see the License for the specific language governing rights and 6083 // limitations under the License. 6084 // 6085 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6086 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6087 type ssize_t = int64 /* _ssize_t.h:31:33 */ 6088 6089 // C11 Annex K 6090 6091 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6092 // 6093 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6094 // 6095 // This file contains Original Code and/or Modifications of Original Code 6096 // as defined in and that are subject to the Apple Public Source License 6097 // Version 2.0 (the 'License'). You may not use this file except in 6098 // compliance with the License. The rights granted to you under the License 6099 // may not be used to create, or enable the creation or redistribution of, 6100 // unlawful or unlicensed copies of an Apple operating system, or to 6101 // circumvent, violate, or enable the circumvention or violation of, any 6102 // terms of an Apple operating system software license agreement. 6103 // 6104 // Please obtain a copy of the License at 6105 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6106 // 6107 // The Original Code and all software distributed under the License are 6108 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6109 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6110 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6111 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6112 // Please see the License for the specific language governing rights and 6113 // limitations under the License. 6114 // 6115 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6116 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 6117 // 6118 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6119 // 6120 // This file contains Original Code and/or Modifications of Original Code 6121 // as defined in and that are subject to the Apple Public Source License 6122 // Version 2.0 (the 'License'). You may not use this file except in 6123 // compliance with the License. The rights granted to you under the License 6124 // may not be used to create, or enable the creation or redistribution of, 6125 // unlawful or unlicensed copies of an Apple operating system, or to 6126 // circumvent, violate, or enable the circumvention or violation of, any 6127 // terms of an Apple operating system software license agreement. 6128 // 6129 // Please obtain a copy of the License at 6130 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6131 // 6132 // The Original Code and all software distributed under the License are 6133 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6134 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6135 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6136 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6137 // Please see the License for the specific language governing rights and 6138 // limitations under the License. 6139 // 6140 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6141 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6142 type rsize_t = uint64 /* _rsize_t.h:31:32 */ 6143 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6144 // 6145 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6146 // 6147 // This file contains Original Code and/or Modifications of Original Code 6148 // as defined in and that are subject to the Apple Public Source License 6149 // Version 2.0 (the 'License'). You may not use this file except in 6150 // compliance with the License. The rights granted to you under the License 6151 // may not be used to create, or enable the creation or redistribution of, 6152 // unlawful or unlicensed copies of an Apple operating system, or to 6153 // circumvent, violate, or enable the circumvention or violation of, any 6154 // terms of an Apple operating system software license agreement. 6155 // 6156 // Please obtain a copy of the License at 6157 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6158 // 6159 // The Original Code and all software distributed under the License are 6160 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6161 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6162 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6163 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6164 // Please see the License for the specific language governing rights and 6165 // limitations under the License. 6166 // 6167 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6168 type errno_t = int32 /* _errno_t.h:30:32 */ 6169 6170 // Copyright (c) 2000, 2007, 2010 Apple Inc. All rights reserved. 6171 // 6172 // @APPLE_LICENSE_HEADER_START@ 6173 // 6174 // This file contains Original Code and/or Modifications of Original Code 6175 // as defined in and that are subject to the Apple Public Source License 6176 // Version 2.0 (the 'License'). You may not use this file except in 6177 // compliance with the License. Please obtain a copy of the License at 6178 // http://www.opensource.apple.com/apsl/ and read it before using this 6179 // file. 6180 // 6181 // The Original Code and all software distributed under the License are 6182 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6183 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6184 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6185 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6186 // Please see the License for the specific language governing rights and 6187 // limitations under the License. 6188 // 6189 // @APPLE_LICENSE_HEADER_END@ 6190 // - 6191 // Copyright (c) 1990, 1993 6192 // The Regents of the University of California. All rights reserved. 6193 // 6194 // Redistribution and use in source and binary forms, with or without 6195 // modification, are permitted provided that the following conditions 6196 // are met: 6197 // 1. Redistributions of source code must retain the above copyright 6198 // notice, this list of conditions and the following disclaimer. 6199 // 2. Redistributions in binary form must reproduce the above copyright 6200 // notice, this list of conditions and the following disclaimer in the 6201 // documentation and/or other materials provided with the distribution. 6202 // 3. All advertising materials mentioning features or use of this software 6203 // must display the following acknowledgement: 6204 // This product includes software developed by the University of 6205 // California, Berkeley and its contributors. 6206 // 4. Neither the name of the University nor the names of its contributors 6207 // may be used to endorse or promote products derived from this software 6208 // without specific prior written permission. 6209 // 6210 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 6211 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 6212 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 6213 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 6214 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 6215 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 6216 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 6217 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 6218 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 6219 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 6220 // SUCH DAMAGE. 6221 // 6222 // @(#)string.h 8.1 (Berkeley) 6/2/93 6223 6224 // Security checking functions. 6225 // Copyright (c) 2017 Apple Inc. All rights reserved. 6226 // 6227 // @APPLE_LICENSE_HEADER_START@ 6228 // 6229 // This file contains Original Code and/or Modifications of Original Code 6230 // as defined in and that are subject to the Apple Public Source License 6231 // Version 2.0 (the 'License'). You may not use this file except in 6232 // compliance with the License. Please obtain a copy of the License at 6233 // http://www.opensource.apple.com/apsl/ and read it before using this 6234 // file. 6235 // 6236 // The Original Code and all software distributed under the License are 6237 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6238 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6239 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6240 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6241 // Please see the License for the specific language governing rights and 6242 // limitations under the License. 6243 // 6244 // @APPLE_LICENSE_HEADER_END@ 6245 6246 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 6247 // 6248 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6249 // 6250 // This file contains Original Code and/or Modifications of Original Code 6251 // as defined in and that are subject to the Apple Public Source License 6252 // Version 2.0 (the 'License'). You may not use this file except in 6253 // compliance with the License. The rights granted to you under the License 6254 // may not be used to create, or enable the creation or redistribution of, 6255 // unlawful or unlicensed copies of an Apple operating system, or to 6256 // circumvent, violate, or enable the circumvention or violation of, any 6257 // terms of an Apple operating system software license agreement. 6258 // 6259 // Please obtain a copy of the License at 6260 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6261 // 6262 // The Original Code and all software distributed under the License are 6263 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6264 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6265 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6266 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6267 // Please see the License for the specific language governing rights and 6268 // limitations under the License. 6269 // 6270 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6271 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6272 // Copyright (c) 1991, 1993 6273 // The Regents of the University of California. All rights reserved. 6274 // 6275 // This code is derived from software contributed to Berkeley by 6276 // Berkeley Software Design, Inc. 6277 // 6278 // Redistribution and use in source and binary forms, with or without 6279 // modification, are permitted provided that the following conditions 6280 // are met: 6281 // 1. Redistributions of source code must retain the above copyright 6282 // notice, this list of conditions and the following disclaimer. 6283 // 2. Redistributions in binary form must reproduce the above copyright 6284 // notice, this list of conditions and the following disclaimer in the 6285 // documentation and/or other materials provided with the distribution. 6286 // 3. All advertising materials mentioning features or use of this software 6287 // must display the following acknowledgement: 6288 // This product includes software developed by the University of 6289 // California, Berkeley and its contributors. 6290 // 4. Neither the name of the University nor the names of its contributors 6291 // may be used to endorse or promote products derived from this software 6292 // without specific prior written permission. 6293 // 6294 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 6295 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 6296 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 6297 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 6298 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 6299 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 6300 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 6301 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 6302 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 6303 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 6304 // SUCH DAMAGE. 6305 // 6306 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 6307 6308 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 6309 // 6310 // @APPLE_LICENSE_HEADER_START@ 6311 // 6312 // This file contains Original Code and/or Modifications of Original Code 6313 // as defined in and that are subject to the Apple Public Source License 6314 // Version 2.0 (the 'License'). You may not use this file except in 6315 // compliance with the License. Please obtain a copy of the License at 6316 // http://www.opensource.apple.com/apsl/ and read it before using this 6317 // file. 6318 // 6319 // The Original Code and all software distributed under the License are 6320 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6321 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6322 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6323 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6324 // Please see the License for the specific language governing rights and 6325 // limitations under the License. 6326 // 6327 // @APPLE_LICENSE_HEADER_END@ 6328 6329 // Copyright (c) 2007, 2008 Apple Inc. All rights reserved. 6330 // 6331 // @APPLE_LICENSE_HEADER_START@ 6332 // 6333 // This file contains Original Code and/or Modifications of Original Code 6334 // as defined in and that are subject to the Apple Public Source License 6335 // Version 2.0 (the 'License'). You may not use this file except in 6336 // compliance with the License. Please obtain a copy of the License at 6337 // http://www.opensource.apple.com/apsl/ and read it before using this 6338 // file. 6339 // 6340 // The Original Code and all software distributed under the License are 6341 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6342 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6343 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6344 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6345 // Please see the License for the specific language governing rights and 6346 // limitations under the License. 6347 // 6348 // @APPLE_LICENSE_HEADER_END@ 6349 6350 // bcopy and bzero 6351 6352 // Removed in Issue 7 6353 6354 // void bcopy(const void *src, void *dst, size_t len) 6355 6356 // void bzero(void *s, size_t n) 6357 6358 // Security checking functions. 6359 // Copyright (c) 2007,2017 Apple Inc. All rights reserved. 6360 // 6361 // @APPLE_LICENSE_HEADER_START@ 6362 // 6363 // This file contains Original Code and/or Modifications of Original Code 6364 // as defined in and that are subject to the Apple Public Source License 6365 // Version 2.0 (the 'License'). You may not use this file except in 6366 // compliance with the License. Please obtain a copy of the License at 6367 // http://www.opensource.apple.com/apsl/ and read it before using this 6368 // file. 6369 // 6370 // The Original Code and all software distributed under the License are 6371 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6372 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6373 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6374 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6375 // Please see the License for the specific language governing rights and 6376 // limitations under the License. 6377 // 6378 // @APPLE_LICENSE_HEADER_END@ 6379 6380 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 6381 // 6382 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6383 // 6384 // This file contains Original Code and/or Modifications of Original Code 6385 // as defined in and that are subject to the Apple Public Source License 6386 // Version 2.0 (the 'License'). You may not use this file except in 6387 // compliance with the License. The rights granted to you under the License 6388 // may not be used to create, or enable the creation or redistribution of, 6389 // unlawful or unlicensed copies of an Apple operating system, or to 6390 // circumvent, violate, or enable the circumvention or violation of, any 6391 // terms of an Apple operating system software license agreement. 6392 // 6393 // Please obtain a copy of the License at 6394 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6395 // 6396 // The Original Code and all software distributed under the License are 6397 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6398 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6399 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6400 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6401 // Please see the License for the specific language governing rights and 6402 // limitations under the License. 6403 // 6404 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6405 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6406 // Copyright (c) 1991, 1993 6407 // The Regents of the University of California. All rights reserved. 6408 // 6409 // This code is derived from software contributed to Berkeley by 6410 // Berkeley Software Design, Inc. 6411 // 6412 // Redistribution and use in source and binary forms, with or without 6413 // modification, are permitted provided that the following conditions 6414 // are met: 6415 // 1. Redistributions of source code must retain the above copyright 6416 // notice, this list of conditions and the following disclaimer. 6417 // 2. Redistributions in binary form must reproduce the above copyright 6418 // notice, this list of conditions and the following disclaimer in the 6419 // documentation and/or other materials provided with the distribution. 6420 // 3. All advertising materials mentioning features or use of this software 6421 // must display the following acknowledgement: 6422 // This product includes software developed by the University of 6423 // California, Berkeley and its contributors. 6424 // 4. Neither the name of the University nor the names of its contributors 6425 // may be used to endorse or promote products derived from this software 6426 // without specific prior written permission. 6427 // 6428 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 6429 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 6430 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 6431 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 6432 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 6433 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 6434 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 6435 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 6436 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 6437 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 6438 // SUCH DAMAGE. 6439 // 6440 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 6441 6442 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 6443 // 6444 // @APPLE_LICENSE_HEADER_START@ 6445 // 6446 // This file contains Original Code and/or Modifications of Original Code 6447 // as defined in and that are subject to the Apple Public Source License 6448 // Version 2.0 (the 'License'). You may not use this file except in 6449 // compliance with the License. Please obtain a copy of the License at 6450 // http://www.opensource.apple.com/apsl/ and read it before using this 6451 // file. 6452 // 6453 // The Original Code and all software distributed under the License are 6454 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6455 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6456 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6457 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6458 // Please see the License for the specific language governing rights and 6459 // limitations under the License. 6460 // 6461 // @APPLE_LICENSE_HEADER_END@ 6462 6463 // Copyright (c) 2007, 2008 Apple Inc. All rights reserved. 6464 // 6465 // @APPLE_LICENSE_HEADER_START@ 6466 // 6467 // This file contains Original Code and/or Modifications of Original Code 6468 // as defined in and that are subject to the Apple Public Source License 6469 // Version 2.0 (the 'License'). You may not use this file except in 6470 // compliance with the License. Please obtain a copy of the License at 6471 // http://www.opensource.apple.com/apsl/ and read it before using this 6472 // file. 6473 // 6474 // The Original Code and all software distributed under the License are 6475 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6476 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6477 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6478 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6479 // Please see the License for the specific language governing rights and 6480 // limitations under the License. 6481 // 6482 // @APPLE_LICENSE_HEADER_END@ 6483 6484 // <rdar://problem/12622659> 6485 6486 // memccpy, memcpy, mempcpy, memmove, memset, strcpy, strlcpy, stpcpy, 6487 // strncpy, stpncpy, strcat, strlcat, and strncat 6488 6489 // void *memcpy(void *dst, const void *src, size_t n) 6490 6491 // void *memmove(void *dst, const void *src, size_t len) 6492 6493 // void *memset(void *b, int c, size_t len) 6494 6495 // char *strcpy(char *dst, const char *src) 6496 6497 // char *stpcpy(char *dst, const char *src) 6498 6499 // char *stpncpy(char *dst, const char *src, size_t n) 6500 6501 // char *strncpy(char *dst, const char *src, size_t n) 6502 6503 // char *strcat(char *s1, const char *s2) 6504 6505 // char *strncat(char *s1, const char *s2, size_t n) 6506 6507 // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. 6508 // All Rights Reserved. 6509 // 6510 // Permission is hereby granted, free of charge, to any person obtaining a 6511 // copy of this software and associated documentation files (the "Software"), 6512 // to deal in the Software without restriction, including without limitation 6513 // the rights to use, copy, modify, merge, publish, distribute, sublicense, 6514 // and/or sell copies of the Software, and to permit persons to whom the 6515 // Software is furnished to do so, subject to the following conditions: 6516 // 6517 // The above copyright notice and this permission notice shall be included in 6518 // all copies or substantial portions of the Software. 6519 // 6520 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 6521 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 6522 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 6523 // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 6524 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 6525 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 6526 // 6527 // Except as contained in this notice, the names of the authors or their 6528 // institutions shall not be used in advertising or otherwise to promote the 6529 // sale, use or other dealings in this Software without prior written 6530 // authorization from the authors. 6531 6532 // Copyright (c) 2000-2008 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 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 6558 // Copyright (c) 1982, 1986, 1991, 1993, 1994 6559 // The Regents of the University of California. All rights reserved. 6560 // (c) UNIX System Laboratories, Inc. 6561 // All or some portions of this file are derived from material licensed 6562 // to the University of California by American Telephone and Telegraph 6563 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 6564 // the permission of UNIX System Laboratories, Inc. 6565 // 6566 // Redistribution and use in source and binary forms, with or without 6567 // modification, are permitted provided that the following conditions 6568 // are met: 6569 // 1. Redistributions of source code must retain the above copyright 6570 // notice, this list of conditions and the following disclaimer. 6571 // 2. Redistributions in binary form must reproduce the above copyright 6572 // notice, this list of conditions and the following disclaimer in the 6573 // documentation and/or other materials provided with the distribution. 6574 // 3. All advertising materials mentioning features or use of this software 6575 // must display the following acknowledgement: 6576 // This product includes software developed by the University of 6577 // California, Berkeley and its contributors. 6578 // 4. Neither the name of the University nor the names of its contributors 6579 // may be used to endorse or promote products derived from this software 6580 // without specific prior written permission. 6581 // 6582 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 6583 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 6584 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 6585 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 6586 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 6587 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 6588 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 6589 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 6590 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 6591 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 6592 // SUCH DAMAGE. 6593 // 6594 // @(#)types.h 8.4 (Berkeley) 1/21/94 6595 6596 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 6597 // 6598 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6599 // 6600 // This file contains Original Code and/or Modifications of Original Code 6601 // as defined in and that are subject to the Apple Public Source License 6602 // Version 2.0 (the 'License'). You may not use this file except in 6603 // compliance with the License. The rights granted to you under the License 6604 // may not be used to create, or enable the creation or redistribution of, 6605 // unlawful or unlicensed copies of an Apple operating system, or to 6606 // circumvent, violate, or enable the circumvention or violation of, any 6607 // terms of an Apple operating system software license agreement. 6608 // 6609 // Please obtain a copy of the License at 6610 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6611 // 6612 // The Original Code and all software distributed under the License are 6613 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6614 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6615 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6616 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6617 // Please see the License for the specific language governing rights and 6618 // limitations under the License. 6619 // 6620 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6621 6622 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 6623 // 6624 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6625 // 6626 // This file contains Original Code and/or Modifications of Original Code 6627 // as defined in and that are subject to the Apple Public Source License 6628 // Version 2.0 (the 'License'). You may not use this file except in 6629 // compliance with the License. The rights granted to you under the License 6630 // may not be used to create, or enable the creation or redistribution of, 6631 // unlawful or unlicensed copies of an Apple operating system, or to 6632 // circumvent, violate, or enable the circumvention or violation of, any 6633 // terms of an Apple operating system software license agreement. 6634 // 6635 // Please obtain a copy of the License at 6636 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6637 // 6638 // The Original Code and all software distributed under the License are 6639 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6640 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6641 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6642 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6643 // Please see the License for the specific language governing rights and 6644 // limitations under the License. 6645 // 6646 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6647 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6648 // Copyright (c) 1991, 1993 6649 // The Regents of the University of California. All rights reserved. 6650 // 6651 // This code is derived from software contributed to Berkeley by 6652 // Berkeley Software Design, Inc. 6653 // 6654 // Redistribution and use in source and binary forms, with or without 6655 // modification, are permitted provided that the following conditions 6656 // are met: 6657 // 1. Redistributions of source code must retain the above copyright 6658 // notice, this list of conditions and the following disclaimer. 6659 // 2. Redistributions in binary form must reproduce the above copyright 6660 // notice, this list of conditions and the following disclaimer in the 6661 // documentation and/or other materials provided with the distribution. 6662 // 3. All advertising materials mentioning features or use of this software 6663 // must display the following acknowledgement: 6664 // This product includes software developed by the University of 6665 // California, Berkeley and its contributors. 6666 // 4. Neither the name of the University nor the names of its contributors 6667 // may be used to endorse or promote products derived from this software 6668 // without specific prior written permission. 6669 // 6670 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 6671 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 6672 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 6673 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 6674 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 6675 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 6676 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 6677 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 6678 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 6679 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 6680 // SUCH DAMAGE. 6681 // 6682 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 6683 6684 // Machine type dependent parameters. 6685 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 6686 // 6687 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6688 // 6689 // This file contains Original Code and/or Modifications of Original Code 6690 // as defined in and that are subject to the Apple Public Source License 6691 // Version 2.0 (the 'License'). You may not use this file except in 6692 // compliance with the License. The rights granted to you under the License 6693 // may not be used to create, or enable the creation or redistribution of, 6694 // unlawful or unlicensed copies of an Apple operating system, or to 6695 // circumvent, violate, or enable the circumvention or violation of, any 6696 // terms of an Apple operating system software license agreement. 6697 // 6698 // Please obtain a copy of the License at 6699 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6700 // 6701 // The Original Code and all software distributed under the License are 6702 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6703 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6704 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6705 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6706 // Please see the License for the specific language governing rights and 6707 // limitations under the License. 6708 // 6709 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6710 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6711 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6712 // 6713 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6714 // 6715 // This file contains Original Code and/or Modifications of Original Code 6716 // as defined in and that are subject to the Apple Public Source License 6717 // Version 2.0 (the 'License'). You may not use this file except in 6718 // compliance with the License. The rights granted to you under the License 6719 // may not be used to create, or enable the creation or redistribution of, 6720 // unlawful or unlicensed copies of an Apple operating system, or to 6721 // circumvent, violate, or enable the circumvention or violation of, any 6722 // terms of an Apple operating system software license agreement. 6723 // 6724 // Please obtain a copy of the License at 6725 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6726 // 6727 // The Original Code and all software distributed under the License are 6728 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6729 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6730 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6731 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6732 // Please see the License for the specific language governing rights and 6733 // limitations under the License. 6734 // 6735 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6736 6737 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 6738 // 6739 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6740 // 6741 // This file contains Original Code and/or Modifications of Original Code 6742 // as defined in and that are subject to the Apple Public Source License 6743 // Version 2.0 (the 'License'). You may not use this file except in 6744 // compliance with the License. The rights granted to you under the License 6745 // may not be used to create, or enable the creation or redistribution of, 6746 // unlawful or unlicensed copies of an Apple operating system, or to 6747 // circumvent, violate, or enable the circumvention or violation of, any 6748 // terms of an Apple operating system software license agreement. 6749 // 6750 // Please obtain a copy of the License at 6751 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6752 // 6753 // The Original Code and all software distributed under the License are 6754 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6755 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6756 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6757 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6758 // Please see the License for the specific language governing rights and 6759 // limitations under the License. 6760 // 6761 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6762 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6763 6764 // Copyright (c) 2017 Apple Inc. All rights reserved. 6765 // 6766 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6767 // 6768 // This file contains Original Code and/or Modifications of Original Code 6769 // as defined in and that are subject to the Apple Public Source License 6770 // Version 2.0 (the 'License'). You may not use this file except in 6771 // compliance with the License. The rights granted to you under the License 6772 // may not be used to create, or enable the creation or redistribution of, 6773 // unlawful or unlicensed copies of an Apple operating system, or to 6774 // circumvent, violate, or enable the circumvention or violation of, any 6775 // terms of an Apple operating system software license agreement. 6776 // 6777 // Please obtain a copy of the License at 6778 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6779 // 6780 // The Original Code and all software distributed under the License are 6781 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6782 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6783 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6784 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6785 // Please see the License for the specific language governing rights and 6786 // limitations under the License. 6787 // 6788 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6789 type u_char = uint8 /* _u_char.h:30:25 */ 6790 // Copyright (c) 2017 Apple Inc. All rights reserved. 6791 // 6792 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6793 // 6794 // This file contains Original Code and/or Modifications of Original Code 6795 // as defined in and that are subject to the Apple Public Source License 6796 // Version 2.0 (the 'License'). You may not use this file except in 6797 // compliance with the License. The rights granted to you under the License 6798 // may not be used to create, or enable the creation or redistribution of, 6799 // unlawful or unlicensed copies of an Apple operating system, or to 6800 // circumvent, violate, or enable the circumvention or violation of, any 6801 // terms of an Apple operating system software license agreement. 6802 // 6803 // Please obtain a copy of the License at 6804 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6805 // 6806 // The Original Code and all software distributed under the License are 6807 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6808 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6809 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6810 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6811 // Please see the License for the specific language governing rights and 6812 // limitations under the License. 6813 // 6814 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6815 type u_short = uint16 /* _u_short.h:30:25 */ 6816 // Copyright (c) 2017 Apple Inc. All rights reserved. 6817 // 6818 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6819 // 6820 // This file contains Original Code and/or Modifications of Original Code 6821 // as defined in and that are subject to the Apple Public Source License 6822 // Version 2.0 (the 'License'). You may not use this file except in 6823 // compliance with the License. The rights granted to you under the License 6824 // may not be used to create, or enable the creation or redistribution of, 6825 // unlawful or unlicensed copies of an Apple operating system, or to 6826 // circumvent, violate, or enable the circumvention or violation of, any 6827 // terms of an Apple operating system software license agreement. 6828 // 6829 // Please obtain a copy of the License at 6830 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6831 // 6832 // The Original Code and all software distributed under the License are 6833 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6834 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6835 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6836 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6837 // Please see the License for the specific language governing rights and 6838 // limitations under the License. 6839 // 6840 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6841 type u_int = uint32 /* _u_int.h:30:25 */ 6842 type u_long = uint64 /* types.h:88:33 */ 6843 type ushort = uint16 /* types.h:91:33 */ // Sys V compatibility 6844 type uint = uint32 /* types.h:92:33 */ // Sys V compatibility 6845 6846 type u_quad_t = u_int64_t /* types.h:95:33 */ // quads 6847 type quad_t = int64_t /* types.h:96:33 */ 6848 type qaddr_t = uintptr /* types.h:97:16 */ 6849 6850 // Copyright (c) 2017 Apple Inc. All rights reserved. 6851 // 6852 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6853 // 6854 // This file contains Original Code and/or Modifications of Original Code 6855 // as defined in and that are subject to the Apple Public Source License 6856 // Version 2.0 (the 'License'). You may not use this file except in 6857 // compliance with the License. The rights granted to you under the License 6858 // may not be used to create, or enable the creation or redistribution of, 6859 // unlawful or unlicensed copies of an Apple operating system, or to 6860 // circumvent, violate, or enable the circumvention or violation of, any 6861 // terms of an Apple operating system software license agreement. 6862 // 6863 // Please obtain a copy of the License at 6864 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6865 // 6866 // The Original Code and all software distributed under the License are 6867 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6868 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6869 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6870 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6871 // Please see the License for the specific language governing rights and 6872 // limitations under the License. 6873 // 6874 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6875 type caddr_t = uintptr /* _caddr_t.h:30:14 */ 6876 6877 type daddr_t = int32_t /* types.h:101:33 */ // disk address 6878 6879 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6880 // 6881 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6882 // 6883 // This file contains Original Code and/or Modifications of Original Code 6884 // as defined in and that are subject to the Apple Public Source License 6885 // Version 2.0 (the 'License'). You may not use this file except in 6886 // compliance with the License. The rights granted to you under the License 6887 // may not be used to create, or enable the creation or redistribution of, 6888 // unlawful or unlicensed copies of an Apple operating system, or to 6889 // circumvent, violate, or enable the circumvention or violation of, any 6890 // terms of an Apple operating system software license agreement. 6891 // 6892 // Please obtain a copy of the License at 6893 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6894 // 6895 // The Original Code and all software distributed under the License are 6896 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6897 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6898 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6899 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6900 // Please see the License for the specific language governing rights and 6901 // limitations under the License. 6902 // 6903 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6904 6905 type fixpt_t = u_int32_t /* types.h:105:33 */ // fixed point number 6906 6907 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6908 // 6909 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6910 // 6911 // This file contains Original Code and/or Modifications of Original Code 6912 // as defined in and that are subject to the Apple Public Source License 6913 // Version 2.0 (the 'License'). You may not use this file except in 6914 // compliance with the License. The rights granted to you under the License 6915 // may not be used to create, or enable the creation or redistribution of, 6916 // unlawful or unlicensed copies of an Apple operating system, or to 6917 // circumvent, violate, or enable the circumvention or violation of, any 6918 // terms of an Apple operating system software license agreement. 6919 // 6920 // Please obtain a copy of the License at 6921 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6922 // 6923 // The Original Code and all software distributed under the License are 6924 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6925 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6926 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6927 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6928 // Please see the License for the specific language governing rights and 6929 // limitations under the License. 6930 // 6931 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6932 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6933 // 6934 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6935 // 6936 // This file contains Original Code and/or Modifications of Original Code 6937 // as defined in and that are subject to the Apple Public Source License 6938 // Version 2.0 (the 'License'). You may not use this file except in 6939 // compliance with the License. The rights granted to you under the License 6940 // may not be used to create, or enable the creation or redistribution of, 6941 // unlawful or unlicensed copies of an Apple operating system, or to 6942 // circumvent, violate, or enable the circumvention or violation of, any 6943 // terms of an Apple operating system software license agreement. 6944 // 6945 // Please obtain a copy of the License at 6946 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6947 // 6948 // The Original Code and all software distributed under the License are 6949 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6950 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6951 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6952 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6953 // Please see the License for the specific language governing rights and 6954 // limitations under the License. 6955 // 6956 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6957 6958 type blkcnt_t = int64 /* _blkcnt_t.h:31:34 */ 6959 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6960 // 6961 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6962 // 6963 // This file contains Original Code and/or Modifications of Original Code 6964 // as defined in and that are subject to the Apple Public Source License 6965 // Version 2.0 (the 'License'). You may not use this file except in 6966 // compliance with the License. The rights granted to you under the License 6967 // may not be used to create, or enable the creation or redistribution of, 6968 // unlawful or unlicensed copies of an Apple operating system, or to 6969 // circumvent, violate, or enable the circumvention or violation of, any 6970 // terms of an Apple operating system software license agreement. 6971 // 6972 // Please obtain a copy of the License at 6973 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6974 // 6975 // The Original Code and all software distributed under the License are 6976 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6977 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6978 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6979 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6980 // Please see the License for the specific language governing rights and 6981 // limitations under the License. 6982 // 6983 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6984 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6985 // 6986 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6987 // 6988 // This file contains Original Code and/or Modifications of Original Code 6989 // as defined in and that are subject to the Apple Public Source License 6990 // Version 2.0 (the 'License'). You may not use this file except in 6991 // compliance with the License. The rights granted to you under the License 6992 // may not be used to create, or enable the creation or redistribution of, 6993 // unlawful or unlicensed copies of an Apple operating system, or to 6994 // circumvent, violate, or enable the circumvention or violation of, any 6995 // terms of an Apple operating system software license agreement. 6996 // 6997 // Please obtain a copy of the License at 6998 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6999 // 7000 // The Original Code and all software distributed under the License are 7001 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7002 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7003 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7004 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7005 // Please see the License for the specific language governing rights and 7006 // limitations under the License. 7007 // 7008 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7009 7010 type blksize_t = int32 /* _blksize_t.h:31:35 */ 7011 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7012 // 7013 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7014 // 7015 // This file contains Original Code and/or Modifications of Original Code 7016 // as defined in and that are subject to the Apple Public Source License 7017 // Version 2.0 (the 'License'). You may not use this file except in 7018 // compliance with the License. The rights granted to you under the License 7019 // may not be used to create, or enable the creation or redistribution of, 7020 // unlawful or unlicensed copies of an Apple operating system, or to 7021 // circumvent, violate, or enable the circumvention or violation of, any 7022 // terms of an Apple operating system software license agreement. 7023 // 7024 // Please obtain a copy of the License at 7025 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7026 // 7027 // The Original Code and all software distributed under the License are 7028 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7029 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7030 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7031 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7032 // Please see the License for the specific language governing rights and 7033 // limitations under the License. 7034 // 7035 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7036 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 7037 // 7038 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7039 // 7040 // This file contains Original Code and/or Modifications of Original Code 7041 // as defined in and that are subject to the Apple Public Source License 7042 // Version 2.0 (the 'License'). You may not use this file except in 7043 // compliance with the License. The rights granted to you under the License 7044 // may not be used to create, or enable the creation or redistribution of, 7045 // unlawful or unlicensed copies of an Apple operating system, or to 7046 // circumvent, violate, or enable the circumvention or violation of, any 7047 // terms of an Apple operating system software license agreement. 7048 // 7049 // Please obtain a copy of the License at 7050 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7051 // 7052 // The Original Code and all software distributed under the License are 7053 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7054 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7055 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7056 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7057 // Please see the License for the specific language governing rights and 7058 // limitations under the License. 7059 // 7060 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7061 7062 type gid_t = uint32 /* _gid_t.h:31:25 */ 7063 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7064 // 7065 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7066 // 7067 // This file contains Original Code and/or Modifications of Original Code 7068 // as defined in and that are subject to the Apple Public Source License 7069 // Version 2.0 (the 'License'). You may not use this file except in 7070 // compliance with the License. The rights granted to you under the License 7071 // may not be used to create, or enable the creation or redistribution of, 7072 // unlawful or unlicensed copies of an Apple operating system, or to 7073 // circumvent, violate, or enable the circumvention or violation of, any 7074 // terms of an Apple operating system software license agreement. 7075 // 7076 // Please obtain a copy of the License at 7077 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7078 // 7079 // The Original Code and all software distributed under the License are 7080 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7081 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7082 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7083 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7084 // Please see the License for the specific language governing rights and 7085 // limitations under the License. 7086 // 7087 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7088 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 7089 // 7090 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7091 // 7092 // This file contains Original Code and/or Modifications of Original Code 7093 // as defined in and that are subject to the Apple Public Source License 7094 // Version 2.0 (the 'License'). You may not use this file except in 7095 // compliance with the License. The rights granted to you under the License 7096 // may not be used to create, or enable the creation or redistribution of, 7097 // unlawful or unlicensed copies of an Apple operating system, or to 7098 // circumvent, violate, or enable the circumvention or violation of, any 7099 // terms of an Apple operating system software license agreement. 7100 // 7101 // Please obtain a copy of the License at 7102 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7103 // 7104 // The Original Code and all software distributed under the License are 7105 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7106 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7107 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7108 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7109 // Please see the License for the specific language governing rights and 7110 // limitations under the License. 7111 // 7112 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7113 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 7114 type in_addr_t = uint32 /* _in_addr_t.h:31:25 */ // base type for internet address 7115 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7116 // 7117 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7118 // 7119 // This file contains Original Code and/or Modifications of Original Code 7120 // as defined in and that are subject to the Apple Public Source License 7121 // Version 2.0 (the 'License'). You may not use this file except in 7122 // compliance with the License. The rights granted to you under the License 7123 // may not be used to create, or enable the creation or redistribution of, 7124 // unlawful or unlicensed copies of an Apple operating system, or to 7125 // circumvent, violate, or enable the circumvention or violation of, any 7126 // terms of an Apple operating system software license agreement. 7127 // 7128 // Please obtain a copy of the License at 7129 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7130 // 7131 // The Original Code and all software distributed under the License are 7132 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7133 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7134 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7135 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7136 // Please see the License for the specific language governing rights and 7137 // limitations under the License. 7138 // 7139 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7140 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 7141 // 7142 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7143 // 7144 // This file contains Original Code and/or Modifications of Original Code 7145 // as defined in and that are subject to the Apple Public Source License 7146 // Version 2.0 (the 'License'). You may not use this file except in 7147 // compliance with the License. The rights granted to you under the License 7148 // may not be used to create, or enable the creation or redistribution of, 7149 // unlawful or unlicensed copies of an Apple operating system, or to 7150 // circumvent, violate, or enable the circumvention or violation of, any 7151 // terms of an Apple operating system software license agreement. 7152 // 7153 // Please obtain a copy of the License at 7154 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7155 // 7156 // The Original Code and all software distributed under the License are 7157 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7158 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7159 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7160 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7161 // Please see the License for the specific language governing rights and 7162 // limitations under the License. 7163 // 7164 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7165 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 7166 type in_port_t = uint16 /* _in_port_t.h:31:33 */ 7167 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7168 // 7169 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7170 // 7171 // This file contains Original Code and/or Modifications of Original Code 7172 // as defined in and that are subject to the Apple Public Source License 7173 // Version 2.0 (the 'License'). You may not use this file except in 7174 // compliance with the License. The rights granted to you under the License 7175 // may not be used to create, or enable the creation or redistribution of, 7176 // unlawful or unlicensed copies of an Apple operating system, or to 7177 // circumvent, violate, or enable the circumvention or violation of, any 7178 // terms of an Apple operating system software license agreement. 7179 // 7180 // Please obtain a copy of the License at 7181 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7182 // 7183 // The Original Code and all software distributed under the License are 7184 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7185 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7186 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7187 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7188 // Please see the License for the specific language governing rights and 7189 // limitations under the License. 7190 // 7191 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7192 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 7193 // 7194 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7195 // 7196 // This file contains Original Code and/or Modifications of Original Code 7197 // as defined in and that are subject to the Apple Public Source License 7198 // Version 2.0 (the 'License'). You may not use this file except in 7199 // compliance with the License. The rights granted to you under the License 7200 // may not be used to create, or enable the creation or redistribution of, 7201 // unlawful or unlicensed copies of an Apple operating system, or to 7202 // circumvent, violate, or enable the circumvention or violation of, any 7203 // terms of an Apple operating system software license agreement. 7204 // 7205 // Please obtain a copy of the License at 7206 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7207 // 7208 // The Original Code and all software distributed under the License are 7209 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7210 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7211 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7212 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7213 // Please see the License for the specific language governing rights and 7214 // limitations under the License. 7215 // 7216 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7217 7218 type ino_t = uint64 /* _ino_t.h:31:33 */ // inode number 7219 7220 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7221 // 7222 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7223 // 7224 // This file contains Original Code and/or Modifications of Original Code 7225 // as defined in and that are subject to the Apple Public Source License 7226 // Version 2.0 (the 'License'). You may not use this file except in 7227 // compliance with the License. The rights granted to you under the License 7228 // may not be used to create, or enable the creation or redistribution of, 7229 // unlawful or unlicensed copies of an Apple operating system, or to 7230 // circumvent, violate, or enable the circumvention or violation of, any 7231 // terms of an Apple operating system software license agreement. 7232 // 7233 // Please obtain a copy of the License at 7234 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7235 // 7236 // The Original Code and all software distributed under the License are 7237 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7238 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7239 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7240 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7241 // Please see the License for the specific language governing rights and 7242 // limitations under the License. 7243 // 7244 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7245 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 7246 // 7247 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7248 // 7249 // This file contains Original Code and/or Modifications of Original Code 7250 // as defined in and that are subject to the Apple Public Source License 7251 // Version 2.0 (the 'License'). You may not use this file except in 7252 // compliance with the License. The rights granted to you under the License 7253 // may not be used to create, or enable the creation or redistribution of, 7254 // unlawful or unlicensed copies of an Apple operating system, or to 7255 // circumvent, violate, or enable the circumvention or violation of, any 7256 // terms of an Apple operating system software license agreement. 7257 // 7258 // Please obtain a copy of the License at 7259 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7260 // 7261 // The Original Code and all software distributed under the License are 7262 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7263 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7264 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7265 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7266 // Please see the License for the specific language governing rights and 7267 // limitations under the License. 7268 // 7269 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7270 7271 type ino64_t = uint64 /* _ino64_t.h:31:33 */ // 64bit inode number 7272 7273 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7274 // 7275 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7276 // 7277 // This file contains Original Code and/or Modifications of Original Code 7278 // as defined in and that are subject to the Apple Public Source License 7279 // Version 2.0 (the 'License'). You may not use this file except in 7280 // compliance with the License. The rights granted to you under the License 7281 // may not be used to create, or enable the creation or redistribution of, 7282 // unlawful or unlicensed copies of an Apple operating system, or to 7283 // circumvent, violate, or enable the circumvention or violation of, any 7284 // terms of an Apple operating system software license agreement. 7285 // 7286 // Please obtain a copy of the License at 7287 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7288 // 7289 // The Original Code and all software distributed under the License are 7290 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7291 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7292 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7293 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7294 // Please see the License for the specific language governing rights and 7295 // limitations under the License. 7296 // 7297 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7298 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 7299 // 7300 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7301 // 7302 // This file contains Original Code and/or Modifications of Original Code 7303 // as defined in and that are subject to the Apple Public Source License 7304 // Version 2.0 (the 'License'). You may not use this file except in 7305 // compliance with the License. The rights granted to you under the License 7306 // may not be used to create, or enable the creation or redistribution of, 7307 // unlawful or unlicensed copies of an Apple operating system, or to 7308 // circumvent, violate, or enable the circumvention or violation of, any 7309 // terms of an Apple operating system software license agreement. 7310 // 7311 // Please obtain a copy of the License at 7312 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7313 // 7314 // The Original Code and all software distributed under the License are 7315 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7316 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7317 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7318 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7319 // Please see the License for the specific language governing rights and 7320 // limitations under the License. 7321 // 7322 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7323 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 7324 type key_t = int32 /* _key_t.h:31:26 */ // IPC key (for Sys V IPC) 7325 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7326 // 7327 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7328 // 7329 // This file contains Original Code and/or Modifications of Original Code 7330 // as defined in and that are subject to the Apple Public Source License 7331 // Version 2.0 (the 'License'). You may not use this file except in 7332 // compliance with the License. The rights granted to you under the License 7333 // may not be used to create, or enable the creation or redistribution of, 7334 // unlawful or unlicensed copies of an Apple operating system, or to 7335 // circumvent, violate, or enable the circumvention or violation of, any 7336 // terms of an Apple operating system software license agreement. 7337 // 7338 // Please obtain a copy of the License at 7339 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7340 // 7341 // The Original Code and all software distributed under the License are 7342 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7343 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7344 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7345 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7346 // Please see the License for the specific language governing rights and 7347 // limitations under the License. 7348 // 7349 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7350 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7351 // 7352 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7353 // 7354 // This file contains Original Code and/or Modifications of Original Code 7355 // as defined in and that are subject to the Apple Public Source License 7356 // Version 2.0 (the 'License'). You may not use this file except in 7357 // compliance with the License. The rights granted to you under the License 7358 // may not be used to create, or enable the creation or redistribution of, 7359 // unlawful or unlicensed copies of an Apple operating system, or to 7360 // circumvent, violate, or enable the circumvention or violation of, any 7361 // terms of an Apple operating system software license agreement. 7362 // 7363 // Please obtain a copy of the License at 7364 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7365 // 7366 // The Original Code and all software distributed under the License are 7367 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7368 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7369 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7370 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7371 // Please see the License for the specific language governing rights and 7372 // limitations under the License. 7373 // 7374 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7375 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 7376 // 7377 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7378 // 7379 // This file contains Original Code and/or Modifications of Original Code 7380 // as defined in and that are subject to the Apple Public Source License 7381 // Version 2.0 (the 'License'). You may not use this file except in 7382 // compliance with the License. The rights granted to you under the License 7383 // may not be used to create, or enable the creation or redistribution of, 7384 // unlawful or unlicensed copies of an Apple operating system, or to 7385 // circumvent, violate, or enable the circumvention or violation of, any 7386 // terms of an Apple operating system software license agreement. 7387 // 7388 // Please obtain a copy of the License at 7389 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7390 // 7391 // The Original Code and all software distributed under the License are 7392 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7393 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7394 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7395 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7396 // Please see the License for the specific language governing rights and 7397 // limitations under the License. 7398 // 7399 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7400 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 7401 type nlink_t = uint16 /* _nlink_t.h:31:27 */ // link count 7402 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7403 // 7404 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7405 // 7406 // This file contains Original Code and/or Modifications of Original Code 7407 // as defined in and that are subject to the Apple Public Source License 7408 // Version 2.0 (the 'License'). You may not use this file except in 7409 // compliance with the License. The rights granted to you under the License 7410 // may not be used to create, or enable the creation or redistribution of, 7411 // unlawful or unlicensed copies of an Apple operating system, or to 7412 // circumvent, violate, or enable the circumvention or violation of, any 7413 // terms of an Apple operating system software license agreement. 7414 // 7415 // Please obtain a copy of the License at 7416 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7417 // 7418 // The Original Code and all software distributed under the License are 7419 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7420 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7421 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7422 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7423 // Please see the License for the specific language governing rights and 7424 // limitations under the License. 7425 // 7426 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7427 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7428 // 7429 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7430 // 7431 // This file contains Original Code and/or Modifications of Original Code 7432 // as defined in and that are subject to the Apple Public Source License 7433 // Version 2.0 (the 'License'). You may not use this file except in 7434 // compliance with the License. The rights granted to you under the License 7435 // may not be used to create, or enable the creation or redistribution of, 7436 // unlawful or unlicensed copies of an Apple operating system, or to 7437 // circumvent, violate, or enable the circumvention or violation of, any 7438 // terms of an Apple operating system software license agreement. 7439 // 7440 // Please obtain a copy of the License at 7441 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7442 // 7443 // The Original Code and all software distributed under the License are 7444 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7445 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7446 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7447 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7448 // Please see the License for the specific language governing rights and 7449 // limitations under the License. 7450 // 7451 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7452 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7453 // 7454 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7455 // 7456 // This file contains Original Code and/or Modifications of Original Code 7457 // as defined in and that are subject to the Apple Public Source License 7458 // Version 2.0 (the 'License'). You may not use this file except in 7459 // compliance with the License. The rights granted to you under the License 7460 // may not be used to create, or enable the creation or redistribution of, 7461 // unlawful or unlicensed copies of an Apple operating system, or to 7462 // circumvent, violate, or enable the circumvention or violation of, any 7463 // terms of an Apple operating system software license agreement. 7464 // 7465 // Please obtain a copy of the License at 7466 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7467 // 7468 // The Original Code and all software distributed under the License are 7469 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7470 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7471 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7472 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7473 // Please see the License for the specific language governing rights and 7474 // limitations under the License. 7475 // 7476 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7477 7478 type segsz_t = int32_t /* types.h:125:33 */ // segment size 7479 type swblk_t = int32_t /* types.h:126:33 */ // swap offset 7480 7481 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7482 // 7483 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7484 // 7485 // This file contains Original Code and/or Modifications of Original Code 7486 // as defined in and that are subject to the Apple Public Source License 7487 // Version 2.0 (the 'License'). You may not use this file except in 7488 // compliance with the License. The rights granted to you under the License 7489 // may not be used to create, or enable the creation or redistribution of, 7490 // unlawful or unlicensed copies of an Apple operating system, or to 7491 // circumvent, violate, or enable the circumvention or violation of, any 7492 // terms of an Apple operating system software license agreement. 7493 // 7494 // Please obtain a copy of the License at 7495 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7496 // 7497 // The Original Code and all software distributed under the License are 7498 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7499 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7500 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7501 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7502 // Please see the License for the specific language governing rights and 7503 // limitations under the License. 7504 // 7505 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7506 7507 // Major, minor numbers, dev_t's. 7508 7509 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7510 // 7511 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7512 // 7513 // This file contains Original Code and/or Modifications of Original Code 7514 // as defined in and that are subject to the Apple Public Source License 7515 // Version 2.0 (the 'License'). You may not use this file except in 7516 // compliance with the License. The rights granted to you under the License 7517 // may not be used to create, or enable the creation or redistribution of, 7518 // unlawful or unlicensed copies of an Apple operating system, or to 7519 // circumvent, violate, or enable the circumvention or violation of, any 7520 // terms of an Apple operating system software license agreement. 7521 // 7522 // Please obtain a copy of the License at 7523 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7524 // 7525 // The Original Code and all software distributed under the License are 7526 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7527 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7528 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7529 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7530 // Please see the License for the specific language governing rights and 7531 // limitations under the License. 7532 // 7533 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7534 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 7535 // 7536 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7537 // 7538 // This file contains Original Code and/or Modifications of Original Code 7539 // as defined in and that are subject to the Apple Public Source License 7540 // Version 2.0 (the 'License'). You may not use this file except in 7541 // compliance with the License. The rights granted to you under the License 7542 // may not be used to create, or enable the creation or redistribution of, 7543 // unlawful or unlicensed copies of an Apple operating system, or to 7544 // circumvent, violate, or enable the circumvention or violation of, any 7545 // terms of an Apple operating system software license agreement. 7546 // 7547 // Please obtain a copy of the License at 7548 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7549 // 7550 // The Original Code and all software distributed under the License are 7551 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7552 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7553 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7554 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7555 // Please see the License for the specific language governing rights and 7556 // limitations under the License. 7557 // 7558 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7559 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 7560 type clock_t = uint64 /* _clock_t.h:31:33 */ 7561 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7562 // 7563 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7564 // 7565 // This file contains Original Code and/or Modifications of Original Code 7566 // as defined in and that are subject to the Apple Public Source License 7567 // Version 2.0 (the 'License'). You may not use this file except in 7568 // compliance with the License. The rights granted to you under the License 7569 // may not be used to create, or enable the creation or redistribution of, 7570 // unlawful or unlicensed copies of an Apple operating system, or to 7571 // circumvent, violate, or enable the circumvention or violation of, any 7572 // terms of an Apple operating system software license agreement. 7573 // 7574 // Please obtain a copy of the License at 7575 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7576 // 7577 // The Original Code and all software distributed under the License are 7578 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7579 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7580 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7581 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7582 // Please see the License for the specific language governing rights and 7583 // limitations under the License. 7584 // 7585 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7586 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7587 // 7588 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7589 // 7590 // This file contains Original Code and/or Modifications of Original Code 7591 // as defined in and that are subject to the Apple Public Source License 7592 // Version 2.0 (the 'License'). You may not use this file except in 7593 // compliance with the License. The rights granted to you under the License 7594 // may not be used to create, or enable the creation or redistribution of, 7595 // unlawful or unlicensed copies of an Apple operating system, or to 7596 // circumvent, violate, or enable the circumvention or violation of, any 7597 // terms of an Apple operating system software license agreement. 7598 // 7599 // Please obtain a copy of the License at 7600 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7601 // 7602 // The Original Code and all software distributed under the License are 7603 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7604 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7605 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7606 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7607 // Please see the License for the specific language governing rights and 7608 // limitations under the License. 7609 // 7610 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7611 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7612 // 7613 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7614 // 7615 // This file contains Original Code and/or Modifications of Original Code 7616 // as defined in and that are subject to the Apple Public Source License 7617 // Version 2.0 (the 'License'). You may not use this file except in 7618 // compliance with the License. The rights granted to you under the License 7619 // may not be used to create, or enable the creation or redistribution of, 7620 // unlawful or unlicensed copies of an Apple operating system, or to 7621 // circumvent, violate, or enable the circumvention or violation of, any 7622 // terms of an Apple operating system software license agreement. 7623 // 7624 // Please obtain a copy of the License at 7625 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7626 // 7627 // The Original Code and all software distributed under the License are 7628 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7629 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7630 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7631 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7632 // Please see the License for the specific language governing rights and 7633 // limitations under the License. 7634 // 7635 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7636 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 7637 // 7638 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7639 // 7640 // This file contains Original Code and/or Modifications of Original Code 7641 // as defined in and that are subject to the Apple Public Source License 7642 // Version 2.0 (the 'License'). You may not use this file except in 7643 // compliance with the License. The rights granted to you under the License 7644 // may not be used to create, or enable the creation or redistribution of, 7645 // unlawful or unlicensed copies of an Apple operating system, or to 7646 // circumvent, violate, or enable the circumvention or violation of, any 7647 // terms of an Apple operating system software license agreement. 7648 // 7649 // Please obtain a copy of the License at 7650 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7651 // 7652 // The Original Code and all software distributed under the License are 7653 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7654 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7655 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7656 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7657 // Please see the License for the specific language governing rights and 7658 // limitations under the License. 7659 // 7660 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7661 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 7662 type time_t = int64 /* _time_t.h:31:33 */ 7663 7664 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7665 // 7666 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7667 // 7668 // This file contains Original Code and/or Modifications of Original Code 7669 // as defined in and that are subject to the Apple Public Source License 7670 // Version 2.0 (the 'License'). You may not use this file except in 7671 // compliance with the License. The rights granted to you under the License 7672 // may not be used to create, or enable the creation or redistribution of, 7673 // unlawful or unlicensed copies of an Apple operating system, or to 7674 // circumvent, violate, or enable the circumvention or violation of, any 7675 // terms of an Apple operating system software license agreement. 7676 // 7677 // Please obtain a copy of the License at 7678 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7679 // 7680 // The Original Code and all software distributed under the License are 7681 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7682 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7683 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7684 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7685 // Please see the License for the specific language governing rights and 7686 // limitations under the License. 7687 // 7688 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7689 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 7690 // 7691 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7692 // 7693 // This file contains Original Code and/or Modifications of Original Code 7694 // as defined in and that are subject to the Apple Public Source License 7695 // Version 2.0 (the 'License'). You may not use this file except in 7696 // compliance with the License. The rights granted to you under the License 7697 // may not be used to create, or enable the creation or redistribution of, 7698 // unlawful or unlicensed copies of an Apple operating system, or to 7699 // circumvent, violate, or enable the circumvention or violation of, any 7700 // terms of an Apple operating system software license agreement. 7701 // 7702 // Please obtain a copy of the License at 7703 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7704 // 7705 // The Original Code and all software distributed under the License are 7706 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7707 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7708 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7709 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7710 // Please see the License for the specific language governing rights and 7711 // limitations under the License. 7712 // 7713 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7714 7715 type useconds_t = uint32 /* _useconds_t.h:31:33 */ 7716 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7717 // 7718 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7719 // 7720 // This file contains Original Code and/or Modifications of Original Code 7721 // as defined in and that are subject to the Apple Public Source License 7722 // Version 2.0 (the 'License'). You may not use this file except in 7723 // compliance with the License. The rights granted to you under the License 7724 // may not be used to create, or enable the creation or redistribution of, 7725 // unlawful or unlicensed copies of an Apple operating system, or to 7726 // circumvent, violate, or enable the circumvention or violation of, any 7727 // terms of an Apple operating system software license agreement. 7728 // 7729 // Please obtain a copy of the License at 7730 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7731 // 7732 // The Original Code and all software distributed under the License are 7733 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7734 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7735 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7736 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7737 // Please see the License for the specific language governing rights and 7738 // limitations under the License. 7739 // 7740 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7741 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 7742 // 7743 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7744 // 7745 // This file contains Original Code and/or Modifications of Original Code 7746 // as defined in and that are subject to the Apple Public Source License 7747 // Version 2.0 (the 'License'). You may not use this file except in 7748 // compliance with the License. The rights granted to you under the License 7749 // may not be used to create, or enable the creation or redistribution of, 7750 // unlawful or unlicensed copies of an Apple operating system, or to 7751 // circumvent, violate, or enable the circumvention or violation of, any 7752 // terms of an Apple operating system software license agreement. 7753 // 7754 // Please obtain a copy of the License at 7755 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7756 // 7757 // The Original Code and all software distributed under the License are 7758 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7759 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7760 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7761 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7762 // Please see the License for the specific language governing rights and 7763 // limitations under the License. 7764 // 7765 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7766 7767 type suseconds_t = int32 /* _suseconds_t.h:31:33 */ 7768 7769 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7770 // 7771 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7772 // 7773 // This file contains Original Code and/or Modifications of Original Code 7774 // as defined in and that are subject to the Apple Public Source License 7775 // Version 2.0 (the 'License'). You may not use this file except in 7776 // compliance with the License. The rights granted to you under the License 7777 // may not be used to create, or enable the creation or redistribution of, 7778 // unlawful or unlicensed copies of an Apple operating system, or to 7779 // circumvent, violate, or enable the circumvention or violation of, any 7780 // terms of an Apple operating system software license agreement. 7781 // 7782 // Please obtain a copy of the License at 7783 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7784 // 7785 // The Original Code and all software distributed under the License are 7786 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7787 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7788 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7789 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7790 // Please see the License for the specific language governing rights and 7791 // limitations under the License. 7792 // 7793 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7794 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7795 // 7796 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7797 // 7798 // This file contains Original Code and/or Modifications of Original Code 7799 // as defined in and that are subject to the Apple Public Source License 7800 // Version 2.0 (the 'License'). You may not use this file except in 7801 // compliance with the License. The rights granted to you under the License 7802 // may not be used to create, or enable the creation or redistribution of, 7803 // unlawful or unlicensed copies of an Apple operating system, or to 7804 // circumvent, violate, or enable the circumvention or violation of, any 7805 // terms of an Apple operating system software license agreement. 7806 // 7807 // Please obtain a copy of the License at 7808 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7809 // 7810 // The Original Code and all software distributed under the License are 7811 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7812 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7813 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7814 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7815 // Please see the License for the specific language governing rights and 7816 // limitations under the License. 7817 // 7818 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7819 7820 // This code is present here in order to maintain historical backward 7821 // compatability, and is intended to be removed at some point in the 7822 // future; please include <sys/select.h> instead. 7823 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7824 // 7825 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7826 // 7827 // This file contains Original Code and/or Modifications of Original Code 7828 // as defined in and that are subject to the Apple Public Source License 7829 // Version 2.0 (the 'License'). You may not use this file except in 7830 // compliance with the License. The rights granted to you under the License 7831 // may not be used to create, or enable the creation or redistribution of, 7832 // unlawful or unlicensed copies of an Apple operating system, or to 7833 // circumvent, violate, or enable the circumvention or violation of, any 7834 // terms of an Apple operating system software license agreement. 7835 // 7836 // Please obtain a copy of the License at 7837 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7838 // 7839 // The Original Code and all software distributed under the License are 7840 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7841 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7842 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7843 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7844 // Please see the License for the specific language governing rights and 7845 // limitations under the License. 7846 // 7847 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7848 7849 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 7850 // 7851 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7852 // 7853 // This file contains Original Code and/or Modifications of Original Code 7854 // as defined in and that are subject to the Apple Public Source License 7855 // Version 2.0 (the 'License'). You may not use this file except in 7856 // compliance with the License. The rights granted to you under the License 7857 // may not be used to create, or enable the creation or redistribution of, 7858 // unlawful or unlicensed copies of an Apple operating system, or to 7859 // circumvent, violate, or enable the circumvention or violation of, any 7860 // terms of an Apple operating system software license agreement. 7861 // 7862 // Please obtain a copy of the License at 7863 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7864 // 7865 // The Original Code and all software distributed under the License are 7866 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7867 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7868 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7869 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7870 // Please see the License for the specific language governing rights and 7871 // limitations under the License. 7872 // 7873 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7874 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 7875 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 7876 // 7877 // @APPLE_LICENSE_HEADER_START@ 7878 // 7879 // This file contains Original Code and/or Modifications of Original Code 7880 // as defined in and that are subject to the Apple Public Source License 7881 // Version 2.0 (the 'License'). You may not use this file except in 7882 // compliance with the License. Please obtain a copy of the License at 7883 // http://www.opensource.apple.com/apsl/ and read it before using this 7884 // file. 7885 // 7886 // The Original Code and all software distributed under the License are 7887 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7888 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7889 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7890 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7891 // Please see the License for the specific language governing rights and 7892 // limitations under the License. 7893 // 7894 // @APPLE_LICENSE_HEADER_END@ 7895 7896 // Select uses bit masks of file descriptors in longs. These macros 7897 // manipulate such bit fields (the filesystem macros use chars). The 7898 // extra protection here is to permit application redefinition above 7899 // the default size. 7900 7901 type fd_set1 = struct{ Ffds_bits [32]int32 } /* _fd_def.h:50:9 */ 7902 7903 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7904 // 7905 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7906 // 7907 // This file contains Original Code and/or Modifications of Original Code 7908 // as defined in and that are subject to the Apple Public Source License 7909 // Version 2.0 (the 'License'). You may not use this file except in 7910 // compliance with the License. The rights granted to you under the License 7911 // may not be used to create, or enable the creation or redistribution of, 7912 // unlawful or unlicensed copies of an Apple operating system, or to 7913 // circumvent, violate, or enable the circumvention or violation of, any 7914 // terms of an Apple operating system software license agreement. 7915 // 7916 // Please obtain a copy of the License at 7917 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7918 // 7919 // The Original Code and all software distributed under the License are 7920 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7921 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7922 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7923 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7924 // Please see the License for the specific language governing rights and 7925 // limitations under the License. 7926 // 7927 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7928 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7929 // 7930 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7931 // 7932 // This file contains Original Code and/or Modifications of Original Code 7933 // as defined in and that are subject to the Apple Public Source License 7934 // Version 2.0 (the 'License'). You may not use this file except in 7935 // compliance with the License. The rights granted to you under the License 7936 // may not be used to create, or enable the creation or redistribution of, 7937 // unlawful or unlicensed copies of an Apple operating system, or to 7938 // circumvent, violate, or enable the circumvention or violation of, any 7939 // terms of an Apple operating system software license agreement. 7940 // 7941 // Please obtain a copy of the License at 7942 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7943 // 7944 // The Original Code and all software distributed under the License are 7945 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7946 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7947 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7948 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7949 // Please see the License for the specific language governing rights and 7950 // limitations under the License. 7951 // 7952 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7953 7954 // This code is present here in order to maintain historical backward 7955 // compatability, and is intended to be removed at some point in the 7956 // future; please include <sys/select.h> instead. 7957 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7958 // 7959 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7960 // 7961 // This file contains Original Code and/or Modifications of Original Code 7962 // as defined in and that are subject to the Apple Public Source License 7963 // Version 2.0 (the 'License'). You may not use this file except in 7964 // compliance with the License. The rights granted to you under the License 7965 // may not be used to create, or enable the creation or redistribution of, 7966 // unlawful or unlicensed copies of an Apple operating system, or to 7967 // circumvent, violate, or enable the circumvention or violation of, any 7968 // terms of an Apple operating system software license agreement. 7969 // 7970 // Please obtain a copy of the License at 7971 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7972 // 7973 // The Original Code and all software distributed under the License are 7974 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7975 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7976 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7977 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7978 // Please see the License for the specific language governing rights and 7979 // limitations under the License. 7980 // 7981 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7982 7983 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 7984 // 7985 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7986 // 7987 // This file contains Original Code and/or Modifications of Original Code 7988 // as defined in and that are subject to the Apple Public Source License 7989 // Version 2.0 (the 'License'). You may not use this file except in 7990 // compliance with the License. The rights granted to you under the License 7991 // may not be used to create, or enable the creation or redistribution of, 7992 // unlawful or unlicensed copies of an Apple operating system, or to 7993 // circumvent, violate, or enable the circumvention or violation of, any 7994 // terms of an Apple operating system software license agreement. 7995 // 7996 // Please obtain a copy of the License at 7997 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7998 // 7999 // The Original Code and all software distributed under the License are 8000 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8001 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8002 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8003 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8004 // Please see the License for the specific language governing rights and 8005 // limitations under the License. 8006 // 8007 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8008 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 8009 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 8010 // 8011 // @APPLE_LICENSE_HEADER_START@ 8012 // 8013 // This file contains Original Code and/or Modifications of Original Code 8014 // as defined in and that are subject to the Apple Public Source License 8015 // Version 2.0 (the 'License'). You may not use this file except in 8016 // compliance with the License. Please obtain a copy of the License at 8017 // http://www.opensource.apple.com/apsl/ and read it before using this 8018 // file. 8019 // 8020 // The Original Code and all software distributed under the License are 8021 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8022 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8023 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8024 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8025 // Please see the License for the specific language governing rights and 8026 // limitations under the License. 8027 // 8028 // @APPLE_LICENSE_HEADER_END@ 8029 8030 // Select uses bit masks of file descriptors in longs. These macros 8031 // manipulate such bit fields (the filesystem macros use chars). The 8032 // extra protection here is to permit application redefinition above 8033 // the default size. 8034 8035 type fd_set = fd_set1 /* _fd_def.h:52:3 */ 8036 8037 // Use the built-in bzero function instead of the library version so that 8038 // we do not pollute the namespace or introduce prototype warnings. 8039 8040 type fd_mask = int32 /* types.h:189:25 */ 8041 8042 // Select uses bit masks of file descriptors in longs. These macros 8043 // manipulate such bit fields (the filesystem macros use chars). The 8044 // extra protection here is to permit application redefinition above 8045 // the default size. 8046 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8047 // 8048 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8049 // 8050 // This file contains Original Code and/or Modifications of Original Code 8051 // as defined in and that are subject to the Apple Public Source License 8052 // Version 2.0 (the 'License'). You may not use this file except in 8053 // compliance with the License. The rights granted to you under the License 8054 // may not be used to create, or enable the creation or redistribution of, 8055 // unlawful or unlicensed copies of an Apple operating system, or to 8056 // circumvent, violate, or enable the circumvention or violation of, any 8057 // terms of an Apple operating system software license agreement. 8058 // 8059 // Please obtain a copy of the License at 8060 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8061 // 8062 // The Original Code and all software distributed under the License are 8063 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8064 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8065 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8066 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8067 // Please see the License for the specific language governing rights and 8068 // limitations under the License. 8069 // 8070 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8071 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8072 // 8073 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8074 // 8075 // This file contains Original Code and/or Modifications of Original Code 8076 // as defined in and that are subject to the Apple Public Source License 8077 // Version 2.0 (the 'License'). You may not use this file except in 8078 // compliance with the License. The rights granted to you under the License 8079 // may not be used to create, or enable the creation or redistribution of, 8080 // unlawful or unlicensed copies of an Apple operating system, or to 8081 // circumvent, violate, or enable the circumvention or violation of, any 8082 // terms of an Apple operating system software license agreement. 8083 // 8084 // Please obtain a copy of the License at 8085 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8086 // 8087 // The Original Code and all software distributed under the License are 8088 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8089 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8090 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8091 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8092 // Please see the License for the specific language governing rights and 8093 // limitations under the License. 8094 // 8095 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8096 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8097 // 8098 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8099 // 8100 // This file contains Original Code and/or Modifications of Original Code 8101 // as defined in and that are subject to the Apple Public Source License 8102 // Version 2.0 (the 'License'). You may not use this file except in 8103 // compliance with the License. The rights granted to you under the License 8104 // may not be used to create, or enable the creation or redistribution of, 8105 // unlawful or unlicensed copies of an Apple operating system, or to 8106 // circumvent, violate, or enable the circumvention or violation of, any 8107 // terms of an Apple operating system software license agreement. 8108 // 8109 // Please obtain a copy of the License at 8110 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8111 // 8112 // The Original Code and all software distributed under the License are 8113 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8114 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8115 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8116 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8117 // Please see the License for the specific language governing rights and 8118 // limitations under the License. 8119 // 8120 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8121 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8122 // 8123 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8124 // 8125 // This file contains Original Code and/or Modifications of Original Code 8126 // as defined in and that are subject to the Apple Public Source License 8127 // Version 2.0 (the 'License'). You may not use this file except in 8128 // compliance with the License. The rights granted to you under the License 8129 // may not be used to create, or enable the creation or redistribution of, 8130 // unlawful or unlicensed copies of an Apple operating system, or to 8131 // circumvent, violate, or enable the circumvention or violation of, any 8132 // terms of an Apple operating system software license agreement. 8133 // 8134 // Please obtain a copy of the License at 8135 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8136 // 8137 // The Original Code and all software distributed under the License are 8138 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8139 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8140 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8141 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8142 // Please see the License for the specific language governing rights and 8143 // limitations under the License. 8144 // 8145 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8146 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8147 // 8148 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8149 // 8150 // This file contains Original Code and/or Modifications of Original Code 8151 // as defined in and that are subject to the Apple Public Source License 8152 // Version 2.0 (the 'License'). You may not use this file except in 8153 // compliance with the License. The rights granted to you under the License 8154 // may not be used to create, or enable the creation or redistribution of, 8155 // unlawful or unlicensed copies of an Apple operating system, or to 8156 // circumvent, violate, or enable the circumvention or violation of, any 8157 // terms of an Apple operating system software license agreement. 8158 // 8159 // Please obtain a copy of the License at 8160 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8161 // 8162 // The Original Code and all software distributed under the License are 8163 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8164 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8165 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8166 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8167 // Please see the License for the specific language governing rights and 8168 // limitations under the License. 8169 // 8170 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8171 8172 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8173 // 8174 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8175 // 8176 // This file contains Original Code and/or Modifications of Original Code 8177 // as defined in and that are subject to the Apple Public Source License 8178 // Version 2.0 (the 'License'). You may not use this file except in 8179 // compliance with the License. The rights granted to you under the License 8180 // may not be used to create, or enable the creation or redistribution of, 8181 // unlawful or unlicensed copies of an Apple operating system, or to 8182 // circumvent, violate, or enable the circumvention or violation of, any 8183 // terms of an Apple operating system software license agreement. 8184 // 8185 // Please obtain a copy of the License at 8186 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8187 // 8188 // The Original Code and all software distributed under the License are 8189 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8190 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8191 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8192 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8193 // Please see the License for the specific language governing rights and 8194 // limitations under the License. 8195 // 8196 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8197 8198 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8199 // 8200 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8201 // 8202 // This file contains Original Code and/or Modifications of Original Code 8203 // as defined in and that are subject to the Apple Public Source License 8204 // Version 2.0 (the 'License'). You may not use this file except in 8205 // compliance with the License. The rights granted to you under the License 8206 // may not be used to create, or enable the creation or redistribution of, 8207 // unlawful or unlicensed copies of an Apple operating system, or to 8208 // circumvent, violate, or enable the circumvention or violation of, any 8209 // terms of an Apple operating system software license agreement. 8210 // 8211 // Please obtain a copy of the License at 8212 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8213 // 8214 // The Original Code and all software distributed under the License are 8215 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8216 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8217 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8218 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8219 // Please see the License for the specific language governing rights and 8220 // limitations under the License. 8221 // 8222 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8223 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8224 // 8225 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8226 // 8227 // This file contains Original Code and/or Modifications of Original Code 8228 // as defined in and that are subject to the Apple Public Source License 8229 // Version 2.0 (the 'License'). You may not use this file except in 8230 // compliance with the License. The rights granted to you under the License 8231 // may not be used to create, or enable the creation or redistribution of, 8232 // unlawful or unlicensed copies of an Apple operating system, or to 8233 // circumvent, violate, or enable the circumvention or violation of, any 8234 // terms of an Apple operating system software license agreement. 8235 // 8236 // Please obtain a copy of the License at 8237 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8238 // 8239 // The Original Code and all software distributed under the License are 8240 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8241 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8242 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8243 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8244 // Please see the License for the specific language governing rights and 8245 // limitations under the License. 8246 // 8247 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8248 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 8249 // 8250 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8251 // 8252 // This file contains Original Code and/or Modifications of Original Code 8253 // as defined in and that are subject to the Apple Public Source License 8254 // Version 2.0 (the 'License'). You may not use this file except in 8255 // compliance with the License. The rights granted to you under the License 8256 // may not be used to create, or enable the creation or redistribution of, 8257 // unlawful or unlicensed copies of an Apple operating system, or to 8258 // circumvent, violate, or enable the circumvention or violation of, any 8259 // terms of an Apple operating system software license agreement. 8260 // 8261 // Please obtain a copy of the License at 8262 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8263 // 8264 // The Original Code and all software distributed under the License are 8265 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8266 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8267 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8268 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8269 // Please see the License for the specific language governing rights and 8270 // limitations under the License. 8271 // 8272 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8273 8274 type pthread_cond_t = _opaque_pthread_cond_t /* _pthread_cond_t.h:31:33 */ 8275 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8276 // 8277 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8278 // 8279 // This file contains Original Code and/or Modifications of Original Code 8280 // as defined in and that are subject to the Apple Public Source License 8281 // Version 2.0 (the 'License'). You may not use this file except in 8282 // compliance with the License. The rights granted to you under the License 8283 // may not be used to create, or enable the creation or redistribution of, 8284 // unlawful or unlicensed copies of an Apple operating system, or to 8285 // circumvent, violate, or enable the circumvention or violation of, any 8286 // terms of an Apple operating system software license agreement. 8287 // 8288 // Please obtain a copy of the License at 8289 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8290 // 8291 // The Original Code and all software distributed under the License are 8292 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8293 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8294 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8295 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8296 // Please see the License for the specific language governing rights and 8297 // limitations under the License. 8298 // 8299 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8300 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 8301 // 8302 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8303 // 8304 // This file contains Original Code and/or Modifications of Original Code 8305 // as defined in and that are subject to the Apple Public Source License 8306 // Version 2.0 (the 'License'). You may not use this file except in 8307 // compliance with the License. The rights granted to you under the License 8308 // may not be used to create, or enable the creation or redistribution of, 8309 // unlawful or unlicensed copies of an Apple operating system, or to 8310 // circumvent, violate, or enable the circumvention or violation of, any 8311 // terms of an Apple operating system software license agreement. 8312 // 8313 // Please obtain a copy of the License at 8314 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8315 // 8316 // The Original Code and all software distributed under the License are 8317 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8318 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8319 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8320 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8321 // Please see the License for the specific language governing rights and 8322 // limitations under the License. 8323 // 8324 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8325 8326 type pthread_condattr_t = _opaque_pthread_condattr_t /* _pthread_condattr_t.h:31:37 */ 8327 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8328 // 8329 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8330 // 8331 // This file contains Original Code and/or Modifications of Original Code 8332 // as defined in and that are subject to the Apple Public Source License 8333 // Version 2.0 (the 'License'). You may not use this file except in 8334 // compliance with the License. The rights granted to you under the License 8335 // may not be used to create, or enable the creation or redistribution of, 8336 // unlawful or unlicensed copies of an Apple operating system, or to 8337 // circumvent, violate, or enable the circumvention or violation of, any 8338 // terms of an Apple operating system software license agreement. 8339 // 8340 // Please obtain a copy of the License at 8341 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8342 // 8343 // The Original Code and all software distributed under the License are 8344 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8345 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8346 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8347 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8348 // Please see the License for the specific language governing rights and 8349 // limitations under the License. 8350 // 8351 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8352 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 8353 // 8354 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8355 // 8356 // This file contains Original Code and/or Modifications of Original Code 8357 // as defined in and that are subject to the Apple Public Source License 8358 // Version 2.0 (the 'License'). You may not use this file except in 8359 // compliance with the License. The rights granted to you under the License 8360 // may not be used to create, or enable the creation or redistribution of, 8361 // unlawful or unlicensed copies of an Apple operating system, or to 8362 // circumvent, violate, or enable the circumvention or violation of, any 8363 // terms of an Apple operating system software license agreement. 8364 // 8365 // Please obtain a copy of the License at 8366 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8367 // 8368 // The Original Code and all software distributed under the License are 8369 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8370 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8371 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8372 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8373 // Please see the License for the specific language governing rights and 8374 // limitations under the License. 8375 // 8376 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8377 8378 type pthread_mutex_t = _opaque_pthread_mutex_t /* _pthread_mutex_t.h:31:34 */ 8379 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8380 // 8381 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8382 // 8383 // This file contains Original Code and/or Modifications of Original Code 8384 // as defined in and that are subject to the Apple Public Source License 8385 // Version 2.0 (the 'License'). You may not use this file except in 8386 // compliance with the License. The rights granted to you under the License 8387 // may not be used to create, or enable the creation or redistribution of, 8388 // unlawful or unlicensed copies of an Apple operating system, or to 8389 // circumvent, violate, or enable the circumvention or violation of, any 8390 // terms of an Apple operating system software license agreement. 8391 // 8392 // Please obtain a copy of the License at 8393 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8394 // 8395 // The Original Code and all software distributed under the License are 8396 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8397 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8398 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8399 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8400 // Please see the License for the specific language governing rights and 8401 // limitations under the License. 8402 // 8403 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8404 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 8405 // 8406 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8407 // 8408 // This file contains Original Code and/or Modifications of Original Code 8409 // as defined in and that are subject to the Apple Public Source License 8410 // Version 2.0 (the 'License'). You may not use this file except in 8411 // compliance with the License. The rights granted to you under the License 8412 // may not be used to create, or enable the creation or redistribution of, 8413 // unlawful or unlicensed copies of an Apple operating system, or to 8414 // circumvent, violate, or enable the circumvention or violation of, any 8415 // terms of an Apple operating system software license agreement. 8416 // 8417 // Please obtain a copy of the License at 8418 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8419 // 8420 // The Original Code and all software distributed under the License are 8421 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8422 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8423 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8424 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8425 // Please see the License for the specific language governing rights and 8426 // limitations under the License. 8427 // 8428 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8429 8430 type pthread_mutexattr_t = _opaque_pthread_mutexattr_t /* _pthread_mutexattr_t.h:31:38 */ 8431 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8432 // 8433 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8434 // 8435 // This file contains Original Code and/or Modifications of Original Code 8436 // as defined in and that are subject to the Apple Public Source License 8437 // Version 2.0 (the 'License'). You may not use this file except in 8438 // compliance with the License. The rights granted to you under the License 8439 // may not be used to create, or enable the creation or redistribution of, 8440 // unlawful or unlicensed copies of an Apple operating system, or to 8441 // circumvent, violate, or enable the circumvention or violation of, any 8442 // terms of an Apple operating system software license agreement. 8443 // 8444 // Please obtain a copy of the License at 8445 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8446 // 8447 // The Original Code and all software distributed under the License are 8448 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8449 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8450 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8451 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8452 // Please see the License for the specific language governing rights and 8453 // limitations under the License. 8454 // 8455 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8456 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 8457 // 8458 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8459 // 8460 // This file contains Original Code and/or Modifications of Original Code 8461 // as defined in and that are subject to the Apple Public Source License 8462 // Version 2.0 (the 'License'). You may not use this file except in 8463 // compliance with the License. The rights granted to you under the License 8464 // may not be used to create, or enable the creation or redistribution of, 8465 // unlawful or unlicensed copies of an Apple operating system, or to 8466 // circumvent, violate, or enable the circumvention or violation of, any 8467 // terms of an Apple operating system software license agreement. 8468 // 8469 // Please obtain a copy of the License at 8470 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8471 // 8472 // The Original Code and all software distributed under the License are 8473 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8474 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8475 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8476 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8477 // Please see the License for the specific language governing rights and 8478 // limitations under the License. 8479 // 8480 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8481 8482 type pthread_once_t = _opaque_pthread_once_t /* _pthread_once_t.h:31:33 */ 8483 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8484 // 8485 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8486 // 8487 // This file contains Original Code and/or Modifications of Original Code 8488 // as defined in and that are subject to the Apple Public Source License 8489 // Version 2.0 (the 'License'). You may not use this file except in 8490 // compliance with the License. The rights granted to you under the License 8491 // may not be used to create, or enable the creation or redistribution of, 8492 // unlawful or unlicensed copies of an Apple operating system, or to 8493 // circumvent, violate, or enable the circumvention or violation of, any 8494 // terms of an Apple operating system software license agreement. 8495 // 8496 // Please obtain a copy of the License at 8497 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8498 // 8499 // The Original Code and all software distributed under the License are 8500 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8501 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8502 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8503 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8504 // Please see the License for the specific language governing rights and 8505 // limitations under the License. 8506 // 8507 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8508 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 8509 // 8510 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8511 // 8512 // This file contains Original Code and/or Modifications of Original Code 8513 // as defined in and that are subject to the Apple Public Source License 8514 // Version 2.0 (the 'License'). You may not use this file except in 8515 // compliance with the License. The rights granted to you under the License 8516 // may not be used to create, or enable the creation or redistribution of, 8517 // unlawful or unlicensed copies of an Apple operating system, or to 8518 // circumvent, violate, or enable the circumvention or violation of, any 8519 // terms of an Apple operating system software license agreement. 8520 // 8521 // Please obtain a copy of the License at 8522 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8523 // 8524 // The Original Code and all software distributed under the License are 8525 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8526 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8527 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8528 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8529 // Please see the License for the specific language governing rights and 8530 // limitations under the License. 8531 // 8532 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8533 8534 type pthread_rwlock_t = _opaque_pthread_rwlock_t /* _pthread_rwlock_t.h:31:35 */ 8535 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8536 // 8537 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8538 // 8539 // This file contains Original Code and/or Modifications of Original Code 8540 // as defined in and that are subject to the Apple Public Source License 8541 // Version 2.0 (the 'License'). You may not use this file except in 8542 // compliance with the License. The rights granted to you under the License 8543 // may not be used to create, or enable the creation or redistribution of, 8544 // unlawful or unlicensed copies of an Apple operating system, or to 8545 // circumvent, violate, or enable the circumvention or violation of, any 8546 // terms of an Apple operating system software license agreement. 8547 // 8548 // Please obtain a copy of the License at 8549 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8550 // 8551 // The Original Code and all software distributed under the License are 8552 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8553 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8554 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8555 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8556 // Please see the License for the specific language governing rights and 8557 // limitations under the License. 8558 // 8559 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8560 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 8561 // 8562 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8563 // 8564 // This file contains Original Code and/or Modifications of Original Code 8565 // as defined in and that are subject to the Apple Public Source License 8566 // Version 2.0 (the 'License'). You may not use this file except in 8567 // compliance with the License. The rights granted to you under the License 8568 // may not be used to create, or enable the creation or redistribution of, 8569 // unlawful or unlicensed copies of an Apple operating system, or to 8570 // circumvent, violate, or enable the circumvention or violation of, any 8571 // terms of an Apple operating system software license agreement. 8572 // 8573 // Please obtain a copy of the License at 8574 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8575 // 8576 // The Original Code and all software distributed under the License are 8577 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8578 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8579 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8580 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8581 // Please see the License for the specific language governing rights and 8582 // limitations under the License. 8583 // 8584 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8585 8586 type pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t /* _pthread_rwlockattr_t.h:31:39 */ 8587 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8588 // 8589 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8590 // 8591 // This file contains Original Code and/or Modifications of Original Code 8592 // as defined in and that are subject to the Apple Public Source License 8593 // Version 2.0 (the 'License'). You may not use this file except in 8594 // compliance with the License. The rights granted to you under the License 8595 // may not be used to create, or enable the creation or redistribution of, 8596 // unlawful or unlicensed copies of an Apple operating system, or to 8597 // circumvent, violate, or enable the circumvention or violation of, any 8598 // terms of an Apple operating system software license agreement. 8599 // 8600 // Please obtain a copy of the License at 8601 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8602 // 8603 // The Original Code and all software distributed under the License are 8604 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8605 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8606 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8607 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8608 // Please see the License for the specific language governing rights and 8609 // limitations under the License. 8610 // 8611 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8612 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 8613 // 8614 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8615 // 8616 // This file contains Original Code and/or Modifications of Original Code 8617 // as defined in and that are subject to the Apple Public Source License 8618 // Version 2.0 (the 'License'). You may not use this file except in 8619 // compliance with the License. The rights granted to you under the License 8620 // may not be used to create, or enable the creation or redistribution of, 8621 // unlawful or unlicensed copies of an Apple operating system, or to 8622 // circumvent, violate, or enable the circumvention or violation of, any 8623 // terms of an Apple operating system software license agreement. 8624 // 8625 // Please obtain a copy of the License at 8626 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8627 // 8628 // The Original Code and all software distributed under the License are 8629 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8630 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8631 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8632 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8633 // Please see the License for the specific language governing rights and 8634 // limitations under the License. 8635 // 8636 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8637 8638 type pthread_t = uintptr /* _pthread_t.h:31:28 */ 8639 8640 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8641 // 8642 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8643 // 8644 // This file contains Original Code and/or Modifications of Original Code 8645 // as defined in and that are subject to the Apple Public Source License 8646 // Version 2.0 (the 'License'). You may not use this file except in 8647 // compliance with the License. The rights granted to you under the License 8648 // may not be used to create, or enable the creation or redistribution of, 8649 // unlawful or unlicensed copies of an Apple operating system, or to 8650 // circumvent, violate, or enable the circumvention or violation of, any 8651 // terms of an Apple operating system software license agreement. 8652 // 8653 // Please obtain a copy of the License at 8654 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8655 // 8656 // The Original Code and all software distributed under the License are 8657 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8658 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8659 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8660 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8661 // Please see the License for the specific language governing rights and 8662 // limitations under the License. 8663 // 8664 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8665 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 8666 // 8667 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8668 // 8669 // This file contains Original Code and/or Modifications of Original Code 8670 // as defined in and that are subject to the Apple Public Source License 8671 // Version 2.0 (the 'License'). You may not use this file except in 8672 // compliance with the License. The rights granted to you under the License 8673 // may not be used to create, or enable the creation or redistribution of, 8674 // unlawful or unlicensed copies of an Apple operating system, or to 8675 // circumvent, violate, or enable the circumvention or violation of, any 8676 // terms of an Apple operating system software license agreement. 8677 // 8678 // Please obtain a copy of the License at 8679 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8680 // 8681 // The Original Code and all software distributed under the License are 8682 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8683 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8684 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8685 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8686 // Please see the License for the specific language governing rights and 8687 // limitations under the License. 8688 // 8689 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8690 8691 type pthread_key_t = uint64 /* _pthread_key_t.h:31:32 */ 8692 8693 // statvfs and fstatvfs 8694 8695 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8696 // 8697 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8698 // 8699 // This file contains Original Code and/or Modifications of Original Code 8700 // as defined in and that are subject to the Apple Public Source License 8701 // Version 2.0 (the 'License'). You may not use this file except in 8702 // compliance with the License. The rights granted to you under the License 8703 // may not be used to create, or enable the creation or redistribution of, 8704 // unlawful or unlicensed copies of an Apple operating system, or to 8705 // circumvent, violate, or enable the circumvention or violation of, any 8706 // terms of an Apple operating system software license agreement. 8707 // 8708 // Please obtain a copy of the License at 8709 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8710 // 8711 // The Original Code and all software distributed under the License are 8712 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8713 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8714 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8715 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8716 // Please see the License for the specific language governing rights and 8717 // limitations under the License. 8718 // 8719 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8720 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 8721 // 8722 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8723 // 8724 // This file contains Original Code and/or Modifications of Original Code 8725 // as defined in and that are subject to the Apple Public Source License 8726 // Version 2.0 (the 'License'). You may not use this file except in 8727 // compliance with the License. The rights granted to you under the License 8728 // may not be used to create, or enable the creation or redistribution of, 8729 // unlawful or unlicensed copies of an Apple operating system, or to 8730 // circumvent, violate, or enable the circumvention or violation of, any 8731 // terms of an Apple operating system software license agreement. 8732 // 8733 // Please obtain a copy of the License at 8734 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8735 // 8736 // The Original Code and all software distributed under the License are 8737 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8738 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8739 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8740 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8741 // Please see the License for the specific language governing rights and 8742 // limitations under the License. 8743 // 8744 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8745 8746 type fsblkcnt_t = uint32 /* _fsblkcnt_t.h:31:41 */ 8747 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8748 // 8749 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8750 // 8751 // This file contains Original Code and/or Modifications of Original Code 8752 // as defined in and that are subject to the Apple Public Source License 8753 // Version 2.0 (the 'License'). You may not use this file except in 8754 // compliance with the License. The rights granted to you under the License 8755 // may not be used to create, or enable the creation or redistribution of, 8756 // unlawful or unlicensed copies of an Apple operating system, or to 8757 // circumvent, violate, or enable the circumvention or violation of, any 8758 // terms of an Apple operating system software license agreement. 8759 // 8760 // Please obtain a copy of the License at 8761 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8762 // 8763 // The Original Code and all software distributed under the License are 8764 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8765 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8766 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8767 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8768 // Please see the License for the specific language governing rights and 8769 // limitations under the License. 8770 // 8771 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8772 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 8773 // 8774 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8775 // 8776 // This file contains Original Code and/or Modifications of Original Code 8777 // as defined in and that are subject to the Apple Public Source License 8778 // Version 2.0 (the 'License'). You may not use this file except in 8779 // compliance with the License. The rights granted to you under the License 8780 // may not be used to create, or enable the creation or redistribution of, 8781 // unlawful or unlicensed copies of an Apple operating system, or to 8782 // circumvent, violate, or enable the circumvention or violation of, any 8783 // terms of an Apple operating system software license agreement. 8784 // 8785 // Please obtain a copy of the License at 8786 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8787 // 8788 // The Original Code and all software distributed under the License are 8789 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8790 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8791 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8792 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8793 // Please see the License for the specific language governing rights and 8794 // limitations under the License. 8795 // 8796 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8797 8798 type fsfilcnt_t = uint32 /* _fsfilcnt_t.h:31:41 */ 8799 8800 // Copyright (c) 2000-2019 Apple Inc. All rights reserved. 8801 // 8802 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8803 // 8804 // This file contains Original Code and/or Modifications of Original Code 8805 // as defined in and that are subject to the Apple Public Source License 8806 // Version 2.0 (the 'License'). You may not use this file except in 8807 // compliance with the License. The rights granted to you under the License 8808 // may not be used to create, or enable the creation or redistribution of, 8809 // unlawful or unlicensed copies of an Apple operating system, or to 8810 // circumvent, violate, or enable the circumvention or violation of, any 8811 // terms of an Apple operating system software license agreement. 8812 // 8813 // Please obtain a copy of the License at 8814 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8815 // 8816 // The Original Code and all software distributed under the License are 8817 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8818 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8819 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8820 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8821 // Please see the License for the specific language governing rights and 8822 // limitations under the License. 8823 // 8824 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8825 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 8826 // Copyright (c) 1982, 1986, 1993, 1994 8827 // The Regents of the University of California. All rights reserved. 8828 // 8829 // Redistribution and use in source and binary forms, with or without 8830 // modification, are permitted provided that the following conditions 8831 // are met: 8832 // 1. Redistributions of source code must retain the above copyright 8833 // notice, this list of conditions and the following disclaimer. 8834 // 2. Redistributions in binary form must reproduce the above copyright 8835 // notice, this list of conditions and the following disclaimer in the 8836 // documentation and/or other materials provided with the distribution. 8837 // 3. All advertising materials mentioning features or use of this software 8838 // must display the following acknowledgement: 8839 // This product includes software developed by the University of 8840 // California, Berkeley and its contributors. 8841 // 4. Neither the name of the University nor the names of its contributors 8842 // may be used to endorse or promote products derived from this software 8843 // without specific prior written permission. 8844 // 8845 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 8846 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 8847 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 8848 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 8849 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 8850 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 8851 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 8852 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 8853 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 8854 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 8855 // SUCH DAMAGE. 8856 // 8857 // @(#)uio.h 8.5 (Berkeley) 2/22/94 8858 8859 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 8860 // 8861 // @APPLE_LICENSE_HEADER_START@ 8862 // 8863 // This file contains Original Code and/or Modifications of Original Code 8864 // as defined in and that are subject to the Apple Public Source License 8865 // Version 2.0 (the 'License'). You may not use this file except in 8866 // compliance with the License. Please obtain a copy of the License at 8867 // http://www.opensource.apple.com/apsl/ and read it before using this 8868 // file. 8869 // 8870 // The Original Code and all software distributed under the License are 8871 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8872 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8873 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8874 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8875 // Please see the License for the specific language governing rights and 8876 // limitations under the License. 8877 // 8878 // @APPLE_LICENSE_HEADER_END@ 8879 8880 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 8881 // 8882 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8883 // 8884 // This file contains Original Code and/or Modifications of Original Code 8885 // as defined in and that are subject to the Apple Public Source License 8886 // Version 2.0 (the 'License'). You may not use this file except in 8887 // compliance with the License. The rights granted to you under the License 8888 // may not be used to create, or enable the creation or redistribution of, 8889 // unlawful or unlicensed copies of an Apple operating system, or to 8890 // circumvent, violate, or enable the circumvention or violation of, any 8891 // terms of an Apple operating system software license agreement. 8892 // 8893 // Please obtain a copy of the License at 8894 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8895 // 8896 // The Original Code and all software distributed under the License are 8897 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8898 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8899 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8900 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8901 // Please see the License for the specific language governing rights and 8902 // limitations under the License. 8903 // 8904 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8905 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 8906 // Copyright (c) 1991, 1993 8907 // The Regents of the University of California. All rights reserved. 8908 // 8909 // This code is derived from software contributed to Berkeley by 8910 // Berkeley Software Design, Inc. 8911 // 8912 // Redistribution and use in source and binary forms, with or without 8913 // modification, are permitted provided that the following conditions 8914 // are met: 8915 // 1. Redistributions of source code must retain the above copyright 8916 // notice, this list of conditions and the following disclaimer. 8917 // 2. Redistributions in binary form must reproduce the above copyright 8918 // notice, this list of conditions and the following disclaimer in the 8919 // documentation and/or other materials provided with the distribution. 8920 // 3. All advertising materials mentioning features or use of this software 8921 // must display the following acknowledgement: 8922 // This product includes software developed by the University of 8923 // California, Berkeley and its contributors. 8924 // 4. Neither the name of the University nor the names of its contributors 8925 // may be used to endorse or promote products derived from this software 8926 // without specific prior written permission. 8927 // 8928 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 8929 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 8930 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 8931 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 8932 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 8933 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 8934 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 8935 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 8936 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 8937 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 8938 // SUCH DAMAGE. 8939 // 8940 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 8941 8942 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 8943 // 8944 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8945 // 8946 // This file contains Original Code and/or Modifications of Original Code 8947 // as defined in and that are subject to the Apple Public Source License 8948 // Version 2.0 (the 'License'). You may not use this file except in 8949 // compliance with the License. The rights granted to you under the License 8950 // may not be used to create, or enable the creation or redistribution of, 8951 // unlawful or unlicensed copies of an Apple operating system, or to 8952 // circumvent, violate, or enable the circumvention or violation of, any 8953 // terms of an Apple operating system software license agreement. 8954 // 8955 // Please obtain a copy of the License at 8956 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8957 // 8958 // The Original Code and all software distributed under the License are 8959 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8960 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8961 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8962 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8963 // Please see the License for the specific language governing rights and 8964 // limitations under the License. 8965 // 8966 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8967 8968 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8969 // 8970 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8971 // 8972 // This file contains Original Code and/or Modifications of Original Code 8973 // as defined in and that are subject to the Apple Public Source License 8974 // Version 2.0 (the 'License'). You may not use this file except in 8975 // compliance with the License. The rights granted to you under the License 8976 // may not be used to create, or enable the creation or redistribution of, 8977 // unlawful or unlicensed copies of an Apple operating system, or to 8978 // circumvent, violate, or enable the circumvention or violation of, any 8979 // terms of an Apple operating system software license agreement. 8980 // 8981 // Please obtain a copy of the License at 8982 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8983 // 8984 // The Original Code and all software distributed under the License are 8985 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8986 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8987 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8988 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8989 // Please see the License for the specific language governing rights and 8990 // limitations under the License. 8991 // 8992 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8993 8994 // [XSI] The ssize_t and size_t types shall be defined as described 8995 // in <sys/types.h>. 8996 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8997 // 8998 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8999 // 9000 // This file contains Original Code and/or Modifications of Original Code 9001 // as defined in and that are subject to the Apple Public Source License 9002 // Version 2.0 (the 'License'). You may not use this file except in 9003 // compliance with the License. The rights granted to you under the License 9004 // may not be used to create, or enable the creation or redistribution of, 9005 // unlawful or unlicensed copies of an Apple operating system, or to 9006 // circumvent, violate, or enable the circumvention or violation of, any 9007 // terms of an Apple operating system software license agreement. 9008 // 9009 // Please obtain a copy of the License at 9010 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9011 // 9012 // The Original Code and all software distributed under the License are 9013 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9014 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9015 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9016 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9017 // Please see the License for the specific language governing rights and 9018 // limitations under the License. 9019 // 9020 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9021 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 9022 // 9023 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9024 // 9025 // This file contains Original Code and/or Modifications of Original Code 9026 // as defined in and that are subject to the Apple Public Source License 9027 // Version 2.0 (the 'License'). You may not use this file except in 9028 // compliance with the License. The rights granted to you under the License 9029 // may not be used to create, or enable the creation or redistribution of, 9030 // unlawful or unlicensed copies of an Apple operating system, or to 9031 // circumvent, violate, or enable the circumvention or violation of, any 9032 // terms of an Apple operating system software license agreement. 9033 // 9034 // Please obtain a copy of the License at 9035 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9036 // 9037 // The Original Code and all software distributed under the License are 9038 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9039 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9040 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9041 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9042 // Please see the License for the specific language governing rights and 9043 // limitations under the License. 9044 // 9045 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9046 9047 // [XSI] Structure whose address is passed as the second parameter to the 9048 // readv(), preadv(), writev() and pwritev() functions. 9049 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 9050 // 9051 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9052 // 9053 // This file contains Original Code and/or Modifications of Original Code 9054 // as defined in and that are subject to the Apple Public Source License 9055 // Version 2.0 (the 'License'). You may not use this file except in 9056 // compliance with the License. The rights granted to you under the License 9057 // may not be used to create, or enable the creation or redistribution of, 9058 // unlawful or unlicensed copies of an Apple operating system, or to 9059 // circumvent, violate, or enable the circumvention or violation of, any 9060 // terms of an Apple operating system software license agreement. 9061 // 9062 // Please obtain a copy of the License at 9063 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9064 // 9065 // The Original Code and all software distributed under the License are 9066 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9067 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9068 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9069 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9070 // Please see the License for the specific language governing rights and 9071 // limitations under the License. 9072 // 9073 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9074 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 9075 // 9076 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9077 // 9078 // This file contains Original Code and/or Modifications of Original Code 9079 // as defined in and that are subject to the Apple Public Source License 9080 // Version 2.0 (the 'License'). You may not use this file except in 9081 // compliance with the License. The rights granted to you under the License 9082 // may not be used to create, or enable the creation or redistribution of, 9083 // unlawful or unlicensed copies of an Apple operating system, or to 9084 // circumvent, violate, or enable the circumvention or violation of, any 9085 // terms of an Apple operating system software license agreement. 9086 // 9087 // Please obtain a copy of the License at 9088 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9089 // 9090 // The Original Code and all software distributed under the License are 9091 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9092 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9093 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9094 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9095 // Please see the License for the specific language governing rights and 9096 // limitations under the License. 9097 // 9098 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9099 type iovec = struct { 9100 Fiov_base uintptr 9101 Fiov_len size_t 9102 } /* _iovec_t.h:31:1 */ 9103 9104 // Copyright (c) 2000-2012 Apple Inc. All rights reserved. 9105 // 9106 // @APPLE_LICENSE_HEADER_START@ 9107 // 9108 // This file contains Original Code and/or Modifications of Original Code 9109 // as defined in and that are subject to the Apple Public Source License 9110 // Version 2.0 (the 'License'). You may not use this file except in 9111 // compliance with the License. Please obtain a copy of the License at 9112 // http://www.opensource.apple.com/apsl/ and read it before using this 9113 // file. 9114 // 9115 // The Original Code and all software distributed under the License are 9116 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9117 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9118 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9119 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9120 // Please see the License for the specific language governing rights and 9121 // limitations under the License. 9122 // 9123 // @APPLE_LICENSE_HEADER_END@ 9124 // Copyright 1996 1995 by Open Software Foundation, Inc. 1997 1996 1995 1994 1993 1992 1991 9125 // All Rights Reserved 9126 // 9127 // Permission to use, copy, modify, and distribute this software and 9128 // its documentation for any purpose and without fee is hereby granted, 9129 // provided that the above copyright notice appears in all copies and 9130 // that both the copyright notice and this permission notice appear in 9131 // supporting documentation. 9132 // 9133 // OSF DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE 9134 // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 9135 // FOR A PARTICULAR PURPOSE. 9136 // 9137 // IN NO EVENT SHALL OSF BE LIABLE FOR ANY SPECIAL, INDIRECT, OR 9138 // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 9139 // LOSS OF USE, DATA OR PROFITS, WHETHER IN ACTION OF CONTRACT, 9140 // NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 9141 // WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 9142 // 9143 // MkLinux 9144 9145 // POSIX Threads - IEEE 1003.1c 9146 9147 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 9148 // 9149 // @APPLE_LICENSE_HEADER_START@ 9150 // 9151 // This file contains Original Code and/or Modifications of Original Code 9152 // as defined in and that are subject to the Apple Public Source License 9153 // Version 2.0 (the 'License'). You may not use this file except in 9154 // compliance with the License. Please obtain a copy of the License at 9155 // http://www.opensource.apple.com/apsl/ and read it before using this 9156 // file. 9157 // 9158 // The Original Code and all software distributed under the License are 9159 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9160 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9161 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9162 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9163 // Please see the License for the specific language governing rights and 9164 // limitations under the License. 9165 // 9166 // @APPLE_LICENSE_HEADER_END@ 9167 9168 // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved. 9169 // 9170 // @APPLE_LICENSE_HEADER_START@ 9171 // 9172 // This file contains Original Code and/or Modifications of Original Code 9173 // as defined in and that are subject to the Apple Public Source License 9174 // Version 2.0 (the 'License'). You may not use this file except in 9175 // compliance with the License. Please obtain a copy of the License at 9176 // http://www.opensource.apple.com/apsl/ and read it before using this 9177 // file. 9178 // 9179 // The Original Code and all software distributed under the License are 9180 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9181 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9182 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9183 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9184 // Please see the License for the specific language governing rights and 9185 // limitations under the License. 9186 // 9187 // @APPLE_LICENSE_HEADER_END@ 9188 9189 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 9190 // 9191 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9192 // 9193 // This file contains Original Code and/or Modifications of Original Code 9194 // as defined in and that are subject to the Apple Public Source License 9195 // Version 2.0 (the 'License'). You may not use this file except in 9196 // compliance with the License. The rights granted to you under the License 9197 // may not be used to create, or enable the creation or redistribution of, 9198 // unlawful or unlicensed copies of an Apple operating system, or to 9199 // circumvent, violate, or enable the circumvention or violation of, any 9200 // terms of an Apple operating system software license agreement. 9201 // 9202 // Please obtain a copy of the License at 9203 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9204 // 9205 // The Original Code and all software distributed under the License are 9206 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9207 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9208 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9209 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9210 // Please see the License for the specific language governing rights and 9211 // limitations under the License. 9212 // 9213 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9214 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 9215 // Copyright (c) 1991, 1993 9216 // The Regents of the University of California. All rights reserved. 9217 // 9218 // This code is derived from software contributed to Berkeley by 9219 // Berkeley Software Design, Inc. 9220 // 9221 // Redistribution and use in source and binary forms, with or without 9222 // modification, are permitted provided that the following conditions 9223 // are met: 9224 // 1. Redistributions of source code must retain the above copyright 9225 // notice, this list of conditions and the following disclaimer. 9226 // 2. Redistributions in binary form must reproduce the above copyright 9227 // notice, this list of conditions and the following disclaimer in the 9228 // documentation and/or other materials provided with the distribution. 9229 // 3. All advertising materials mentioning features or use of this software 9230 // must display the following acknowledgement: 9231 // This product includes software developed by the University of 9232 // California, Berkeley and its contributors. 9233 // 4. Neither the name of the University nor the names of its contributors 9234 // may be used to endorse or promote products derived from this software 9235 // without specific prior written permission. 9236 // 9237 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 9238 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 9239 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 9240 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 9241 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 9242 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 9243 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 9244 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 9245 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 9246 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 9247 // SUCH DAMAGE. 9248 // 9249 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 9250 9251 // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved. 9252 // 9253 // @APPLE_LICENSE_HEADER_START@ 9254 // 9255 // This file contains Original Code and/or Modifications of Original Code 9256 // as defined in and that are subject to the Apple Public Source License 9257 // Version 2.0 (the 'License'). You may not use this file except in 9258 // compliance with the License. Please obtain a copy of the License at 9259 // http://www.opensource.apple.com/apsl/ and read it before using this 9260 // file. 9261 // 9262 // The Original Code and all software distributed under the License are 9263 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9264 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9265 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9266 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9267 // Please see the License for the specific language governing rights and 9268 // limitations under the License. 9269 // 9270 // @APPLE_LICENSE_HEADER_END@ 9271 9272 // Internal implementation details 9273 9274 // This whole header file will disappear, so don't depend on it... 9275 9276 // [Internal] data structure signatures 9277 9278 // POSIX scheduling policies 9279 9280 // Scheduling paramters 9281 type sched_param = struct { 9282 Fsched_priority int32 9283 F__opaque [4]int8 9284 } /* sched.h:35:1 */ 9285 9286 // Copyright (c) 2000 Apple Computer, Inc. All rights reserved. 9287 // 9288 // @APPLE_LICENSE_HEADER_START@ 9289 // 9290 // This file contains Original Code and/or Modifications of Original Code 9291 // as defined in and that are subject to the Apple Public Source License 9292 // Version 2.0 (the 'License'). You may not use this file except in 9293 // compliance with the License. Please obtain a copy of the License at 9294 // http://www.opensource.apple.com/apsl/ and read it before using this 9295 // file. 9296 // 9297 // The Original Code and all software distributed under the License are 9298 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9299 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9300 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9301 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9302 // Please see the License for the specific language governing rights and 9303 // limitations under the License. 9304 // 9305 // @APPLE_LICENSE_HEADER_END@ 9306 // Copyright (c) 1989, 1993 9307 // The Regents of the University of California. All rights reserved. 9308 // (c) UNIX System Laboratories, Inc. 9309 // All or some portions of this file are derived from material licensed 9310 // to the University of California by American Telephone and Telegraph 9311 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 9312 // the permission of UNIX System Laboratories, Inc. 9313 // 9314 // Redistribution and use in source and binary forms, with or without 9315 // modification, are permitted provided that the following conditions 9316 // are met: 9317 // 1. Redistributions of source code must retain the above copyright 9318 // notice, this list of conditions and the following disclaimer. 9319 // 2. Redistributions in binary form must reproduce the above copyright 9320 // notice, this list of conditions and the following disclaimer in the 9321 // documentation and/or other materials provided with the distribution. 9322 // 3. All advertising materials mentioning features or use of this software 9323 // must display the following acknowledgement: 9324 // This product includes software developed by the University of 9325 // California, Berkeley and its contributors. 9326 // 4. Neither the name of the University nor the names of its contributors 9327 // may be used to endorse or promote products derived from this software 9328 // without specific prior written permission. 9329 // 9330 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 9331 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 9332 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 9333 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 9334 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 9335 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 9336 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 9337 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 9338 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 9339 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 9340 // SUCH DAMAGE. 9341 // 9342 // @(#)time.h 8.3 (Berkeley) 1/21/94 9343 9344 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 9345 // 9346 // @APPLE_LICENSE_HEADER_START@ 9347 // 9348 // This file contains Original Code and/or Modifications of Original Code 9349 // as defined in and that are subject to the Apple Public Source License 9350 // Version 2.0 (the 'License'). You may not use this file except in 9351 // compliance with the License. Please obtain a copy of the License at 9352 // http://www.opensource.apple.com/apsl/ and read it before using this 9353 // file. 9354 // 9355 // The Original Code and all software distributed under the License are 9356 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9357 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9358 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9359 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9360 // Please see the License for the specific language governing rights and 9361 // limitations under the License. 9362 // 9363 // @APPLE_LICENSE_HEADER_END@ 9364 9365 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 9366 // 9367 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9368 // 9369 // This file contains Original Code and/or Modifications of Original Code 9370 // as defined in and that are subject to the Apple Public Source License 9371 // Version 2.0 (the 'License'). You may not use this file except in 9372 // compliance with the License. The rights granted to you under the License 9373 // may not be used to create, or enable the creation or redistribution of, 9374 // unlawful or unlicensed copies of an Apple operating system, or to 9375 // circumvent, violate, or enable the circumvention or violation of, any 9376 // terms of an Apple operating system software license agreement. 9377 // 9378 // Please obtain a copy of the License at 9379 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9380 // 9381 // The Original Code and all software distributed under the License are 9382 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9383 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9384 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9385 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9386 // Please see the License for the specific language governing rights and 9387 // limitations under the License. 9388 // 9389 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9390 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 9391 // Copyright (c) 1991, 1993 9392 // The Regents of the University of California. All rights reserved. 9393 // 9394 // This code is derived from software contributed to Berkeley by 9395 // Berkeley Software Design, Inc. 9396 // 9397 // Redistribution and use in source and binary forms, with or without 9398 // modification, are permitted provided that the following conditions 9399 // are met: 9400 // 1. Redistributions of source code must retain the above copyright 9401 // notice, this list of conditions and the following disclaimer. 9402 // 2. Redistributions in binary form must reproduce the above copyright 9403 // notice, this list of conditions and the following disclaimer in the 9404 // documentation and/or other materials provided with the distribution. 9405 // 3. All advertising materials mentioning features or use of this software 9406 // must display the following acknowledgement: 9407 // This product includes software developed by the University of 9408 // California, Berkeley and its contributors. 9409 // 4. Neither the name of the University nor the names of its contributors 9410 // may be used to endorse or promote products derived from this software 9411 // without specific prior written permission. 9412 // 9413 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 9414 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 9415 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 9416 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 9417 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 9418 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 9419 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 9420 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 9421 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 9422 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 9423 // SUCH DAMAGE. 9424 // 9425 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 9426 9427 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 9428 // 9429 // @APPLE_LICENSE_HEADER_START@ 9430 // 9431 // This file contains Original Code and/or Modifications of Original Code 9432 // as defined in and that are subject to the Apple Public Source License 9433 // Version 2.0 (the 'License'). You may not use this file except in 9434 // compliance with the License. Please obtain a copy of the License at 9435 // http://www.opensource.apple.com/apsl/ and read it before using this 9436 // file. 9437 // 9438 // The Original Code and all software distributed under the License are 9439 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9440 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9441 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9442 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9443 // Please see the License for the specific language governing rights and 9444 // limitations under the License. 9445 // 9446 // @APPLE_LICENSE_HEADER_END@ 9447 9448 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 9449 // 9450 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9451 // 9452 // This file contains Original Code and/or Modifications of Original Code 9453 // as defined in and that are subject to the Apple Public Source License 9454 // Version 2.0 (the 'License'). You may not use this file except in 9455 // compliance with the License. The rights granted to you under the License 9456 // may not be used to create, or enable the creation or redistribution of, 9457 // unlawful or unlicensed copies of an Apple operating system, or to 9458 // circumvent, violate, or enable the circumvention or violation of, any 9459 // terms of an Apple operating system software license agreement. 9460 // 9461 // Please obtain a copy of the License at 9462 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9463 // 9464 // The Original Code and all software distributed under the License are 9465 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9466 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9467 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9468 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9469 // Please see the License for the specific language governing rights and 9470 // limitations under the License. 9471 // 9472 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9473 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 9474 // 9475 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9476 // 9477 // This file contains Original Code and/or Modifications of Original Code 9478 // as defined in and that are subject to the Apple Public Source License 9479 // Version 2.0 (the 'License'). You may not use this file except in 9480 // compliance with the License. The rights granted to you under the License 9481 // may not be used to create, or enable the creation or redistribution of, 9482 // unlawful or unlicensed copies of an Apple operating system, or to 9483 // circumvent, violate, or enable the circumvention or violation of, any 9484 // terms of an Apple operating system software license agreement. 9485 // 9486 // Please obtain a copy of the License at 9487 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9488 // 9489 // The Original Code and all software distributed under the License are 9490 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9491 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9492 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9493 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9494 // Please see the License for the specific language governing rights and 9495 // limitations under the License. 9496 // 9497 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9498 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 9499 // 9500 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9501 // 9502 // This file contains Original Code and/or Modifications of Original Code 9503 // as defined in and that are subject to the Apple Public Source License 9504 // Version 2.0 (the 'License'). You may not use this file except in 9505 // compliance with the License. The rights granted to you under the License 9506 // may not be used to create, or enable the creation or redistribution of, 9507 // unlawful or unlicensed copies of an Apple operating system, or to 9508 // circumvent, violate, or enable the circumvention or violation of, any 9509 // terms of an Apple operating system software license agreement. 9510 // 9511 // Please obtain a copy of the License at 9512 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9513 // 9514 // The Original Code and all software distributed under the License are 9515 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9516 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9517 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9518 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9519 // Please see the License for the specific language governing rights and 9520 // limitations under the License. 9521 // 9522 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9523 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 9524 // 9525 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9526 // 9527 // This file contains Original Code and/or Modifications of Original Code 9528 // as defined in and that are subject to the Apple Public Source License 9529 // Version 2.0 (the 'License'). You may not use this file except in 9530 // compliance with the License. The rights granted to you under the License 9531 // may not be used to create, or enable the creation or redistribution of, 9532 // unlawful or unlicensed copies of an Apple operating system, or to 9533 // circumvent, violate, or enable the circumvention or violation of, any 9534 // terms of an Apple operating system software license agreement. 9535 // 9536 // Please obtain a copy of the License at 9537 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9538 // 9539 // The Original Code and all software distributed under the License are 9540 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9541 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9542 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9543 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9544 // Please see the License for the specific language governing rights and 9545 // limitations under the License. 9546 // 9547 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9548 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 9549 // 9550 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9551 // 9552 // This file contains Original Code and/or Modifications of Original Code 9553 // as defined in and that are subject to the Apple Public Source License 9554 // Version 2.0 (the 'License'). You may not use this file except in 9555 // compliance with the License. The rights granted to you under the License 9556 // may not be used to create, or enable the creation or redistribution of, 9557 // unlawful or unlicensed copies of an Apple operating system, or to 9558 // circumvent, violate, or enable the circumvention or violation of, any 9559 // terms of an Apple operating system software license agreement. 9560 // 9561 // Please obtain a copy of the License at 9562 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9563 // 9564 // The Original Code and all software distributed under the License are 9565 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9566 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9567 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9568 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9569 // Please see the License for the specific language governing rights and 9570 // limitations under the License. 9571 // 9572 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9573 9574 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 9575 // 9576 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9577 // 9578 // This file contains Original Code and/or Modifications of Original Code 9579 // as defined in and that are subject to the Apple Public Source License 9580 // Version 2.0 (the 'License'). You may not use this file except in 9581 // compliance with the License. The rights granted to you under the License 9582 // may not be used to create, or enable the creation or redistribution of, 9583 // unlawful or unlicensed copies of an Apple operating system, or to 9584 // circumvent, violate, or enable the circumvention or violation of, any 9585 // terms of an Apple operating system software license agreement. 9586 // 9587 // Please obtain a copy of the License at 9588 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9589 // 9590 // The Original Code and all software distributed under the License are 9591 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9592 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9593 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9594 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9595 // Please see the License for the specific language governing rights and 9596 // limitations under the License. 9597 // 9598 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9599 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 9600 9601 type timespec = struct { 9602 Ftv_sec int64 9603 Ftv_nsec int64 9604 } /* _timespec.h:33:1 */ 9605 9606 type tm = struct { 9607 Ftm_sec int32 9608 Ftm_min int32 9609 Ftm_hour int32 9610 Ftm_mday int32 9611 Ftm_mon int32 9612 Ftm_year int32 9613 Ftm_wday int32 9614 Ftm_yday int32 9615 Ftm_isdst int32 9616 F__ccgo_pad1 [4]byte 9617 Ftm_gmtoff int64 9618 Ftm_zone uintptr 9619 } /* time.h:75:1 */ 9620 9621 type clockid_t = uint32 /* time.h:172:3 */ 9622 type qos_class_t = uint32 /* qos.h:130:1 */ 9623 9624 // ! 9625 // @typedef pthread_override_t 9626 // 9627 // @abstract 9628 // An opaque object representing a QOS class override of a thread. 9629 // 9630 // @discussion 9631 // A QOS class override of a target thread expresses that an item of pending 9632 // work classified with a specific QOS class and relative priority depends on 9633 // the completion of the work currently being executed by the thread (e.g. due 9634 // to ordering requirements). 9635 // 9636 // While overrides are in effect, the target thread will execute at the maximum 9637 // QOS class and relative priority of all overrides and of the QOS class 9638 // requested by the thread itself. 9639 // 9640 // A QOS class override does not modify the target thread's requested QOS class 9641 // value and the effect of an override is not visible to the qos_class_self() 9642 // and pthread_get_qos_class_np() interfaces. 9643 9644 type pthread_override_t = uintptr /* qos.h:211:34 */ 9645 9646 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 9647 // 9648 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9649 // 9650 // This file contains Original Code and/or Modifications of Original Code 9651 // as defined in and that are subject to the Apple Public Source License 9652 // Version 2.0 (the 'License'). You may not use this file except in 9653 // compliance with the License. The rights granted to you under the License 9654 // may not be used to create, or enable the creation or redistribution of, 9655 // unlawful or unlicensed copies of an Apple operating system, or to 9656 // circumvent, violate, or enable the circumvention or violation of, any 9657 // terms of an Apple operating system software license agreement. 9658 // 9659 // Please obtain a copy of the License at 9660 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9661 // 9662 // The Original Code and all software distributed under the License are 9663 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9664 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9665 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9666 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9667 // Please see the License for the specific language governing rights and 9668 // limitations under the License. 9669 // 9670 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9671 9672 // mach_port_t - a named port right 9673 // 9674 // In user-space, "rights" are represented by the name of the 9675 // right in the Mach port namespace. Even so, this type is 9676 // presented as a unique one to more clearly denote the presence 9677 // of a right coming along with the name. 9678 // 9679 // Often, various rights for a port held in a single name space 9680 // will coalesce and are, therefore, be identified by a single name 9681 // [this is the case for send and receive rights]. But not 9682 // always [send-once rights currently get a unique name for 9683 // each right]. 9684 // 9685 // This definition of mach_port_t is only for user-space. 9686 // 9687 9688 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 9689 // 9690 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9691 // 9692 // This file contains Original Code and/or Modifications of Original Code 9693 // as defined in and that are subject to the Apple Public Source License 9694 // Version 2.0 (the 'License'). You may not use this file except in 9695 // compliance with the License. The rights granted to you under the License 9696 // may not be used to create, or enable the creation or redistribution of, 9697 // unlawful or unlicensed copies of an Apple operating system, or to 9698 // circumvent, violate, or enable the circumvention or violation of, any 9699 // terms of an Apple operating system software license agreement. 9700 // 9701 // Please obtain a copy of the License at 9702 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9703 // 9704 // The Original Code and all software distributed under the License are 9705 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9706 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9707 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9708 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9709 // Please see the License for the specific language governing rights and 9710 // limitations under the License. 9711 // 9712 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9713 9714 type mach_port_t = uint32 /* _mach_port_t.h:50:30 */ 9715 9716 // ! 9717 // @typedef pthread_jit_write_callback_t 9718 // The type of a function that can be supplied to {@link 9719 // pthread_jit_write_with_callback_np} to write to the MAP_JIT region while it 9720 // is writeable. 9721 // 9722 // @param ctx 9723 // A pointer to context that will be passed through to the callback function. 9724 // 9725 // @result 9726 // A result code to be returned to the caller of @{link 9727 // pthread_jit_write_with_callback_np}. The system does not interpret/act on 9728 // the value of this result. 9729 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. 9730 9731 // Other types 9732 9733 // * 9734 // @brief Generic iterator. 9735 // 9736 // A generic iterator structure. 9737 type xcb_generic_iterator_t = struct { 9738 Fdata uintptr 9739 Frem int32 9740 Findex int32 9741 } /* xcb.h:118:3 */ 9742 9743 // * 9744 // @brief Generic reply. 9745 // 9746 // A generic reply structure. 9747 type xcb_generic_reply_t = struct { 9748 Fresponse_type uint8_t 9749 Fpad0 uint8_t 9750 Fsequence uint16_t 9751 Flength uint32_t 9752 } /* xcb.h:130:3 */ 9753 9754 // * 9755 // @brief Generic event. 9756 // 9757 // A generic event structure. 9758 type xcb_generic_event_t = struct { 9759 Fresponse_type uint8_t 9760 Fpad0 uint8_t 9761 Fsequence uint16_t 9762 Fpad [7]uint32_t 9763 Ffull_sequence uint32_t 9764 } /* xcb.h:143:3 */ 9765 9766 // * 9767 // @brief Raw Generic event. 9768 // 9769 // A generic event structure as used on the wire, i.e., without the full_sequence field 9770 type xcb_raw_generic_event_t = struct { 9771 Fresponse_type uint8_t 9772 Fpad0 uint8_t 9773 Fsequence uint16_t 9774 Fpad [7]uint32_t 9775 } /* xcb.h:155:3 */ 9776 9777 // * 9778 // @brief GE event 9779 // 9780 // An event as sent by the XGE extension. The length field specifies the 9781 // number of 4-byte blocks trailing the struct. 9782 // 9783 // @deprecated Since some fields in this struct have unfortunate names, it is 9784 // recommended to use xcb_ge_generic_event_t instead. 9785 type xcb_ge_event_t = struct { 9786 Fresponse_type uint8_t 9787 Fpad0 uint8_t 9788 Fsequence uint16_t 9789 Flength uint32_t 9790 Fevent_type uint16_t 9791 Fpad1 uint16_t 9792 Fpad [5]uint32_t 9793 Ffull_sequence uint32_t 9794 } /* xcb.h:175:3 */ 9795 9796 // * 9797 // @brief Generic error. 9798 // 9799 // A generic error structure. 9800 type xcb_generic_error_t = struct { 9801 Fresponse_type uint8_t 9802 Ferror_code uint8_t 9803 Fsequence uint16_t 9804 Fresource_id uint32_t 9805 Fminor_code uint16_t 9806 Fmajor_code uint8_t 9807 Fpad0 uint8_t 9808 Fpad [5]uint32_t 9809 Ffull_sequence uint32_t 9810 } /* xcb.h:192:3 */ 9811 9812 // * 9813 // @brief Generic cookie. 9814 // 9815 // A generic cookie structure. 9816 type xcb_void_cookie_t = struct{ Fsequence uint32 } /* xcb.h:201:3 */ 9817 9818 // Include the generated xproto header. 9819 // This file generated automatically from xproto.xml by c_client.py. 9820 // Edit at your peril. 9821 9822 // * 9823 // @defgroup XCB__API XCB API 9824 // @brief XCB Protocol Implementation. 9825 // @{ 9826 // 9827 9828 // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. 9829 // All Rights Reserved. 9830 // 9831 // Permission is hereby granted, free of charge, to any person obtaining a 9832 // copy of this software and associated documentation files (the "Software"), 9833 // to deal in the Software without restriction, including without limitation 9834 // the rights to use, copy, modify, merge, publish, distribute, sublicense, 9835 // and/or sell copies of the Software, and to permit persons to whom the 9836 // Software is furnished to do so, subject to the following conditions: 9837 // 9838 // The above copyright notice and this permission notice shall be included in 9839 // all copies or substantial portions of the Software. 9840 // 9841 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9842 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 9843 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 9844 // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 9845 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 9846 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 9847 // 9848 // Except as contained in this notice, the names of the authors or their 9849 // institutions shall not be used in advertising or otherwise to promote the 9850 // sale, use or other dealings in this Software without prior written 9851 // authorization from the authors. 9852 9853 // * 9854 // @brief xcb_char2b_t 9855 // 9856 type xcb_char2b_t1 = struct { 9857 Fbyte1 uint8_t 9858 Fbyte2 uint8_t 9859 } /* xproto.h:24:9 */ 9860 9861 // Include the generated xproto header. 9862 // This file generated automatically from xproto.xml by c_client.py. 9863 // Edit at your peril. 9864 9865 // * 9866 // @defgroup XCB__API XCB API 9867 // @brief XCB Protocol Implementation. 9868 // @{ 9869 // 9870 9871 // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. 9872 // All Rights Reserved. 9873 // 9874 // Permission is hereby granted, free of charge, to any person obtaining a 9875 // copy of this software and associated documentation files (the "Software"), 9876 // to deal in the Software without restriction, including without limitation 9877 // the rights to use, copy, modify, merge, publish, distribute, sublicense, 9878 // and/or sell copies of the Software, and to permit persons to whom the 9879 // Software is furnished to do so, subject to the following conditions: 9880 // 9881 // The above copyright notice and this permission notice shall be included in 9882 // all copies or substantial portions of the Software. 9883 // 9884 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9885 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 9886 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 9887 // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 9888 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 9889 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 9890 // 9891 // Except as contained in this notice, the names of the authors or their 9892 // institutions shall not be used in advertising or otherwise to promote the 9893 // sale, use or other dealings in this Software without prior written 9894 // authorization from the authors. 9895 9896 // * 9897 // @brief xcb_char2b_t 9898 // 9899 type xcb_char2b_t = xcb_char2b_t1 /* xproto.h:27:3 */ 9900 9901 // * 9902 // @brief xcb_char2b_iterator_t 9903 // 9904 type xcb_char2b_iterator_t1 = struct { 9905 Fdata uintptr 9906 Frem int32 9907 Findex int32 9908 } /* xproto.h:32:9 */ 9909 9910 // * 9911 // @brief xcb_char2b_iterator_t 9912 // 9913 type xcb_char2b_iterator_t = xcb_char2b_iterator_t1 /* xproto.h:36:3 */ 9914 9915 type xcb_window_t = uint32_t /* xproto.h:38:18 */ 9916 9917 // * 9918 // @brief xcb_window_iterator_t 9919 // 9920 type xcb_window_iterator_t1 = struct { 9921 Fdata uintptr 9922 Frem int32 9923 Findex int32 9924 } /* xproto.h:43:9 */ 9925 9926 // * 9927 // @brief xcb_window_iterator_t 9928 // 9929 type xcb_window_iterator_t = xcb_window_iterator_t1 /* xproto.h:47:3 */ 9930 9931 type xcb_pixmap_t = uint32_t /* xproto.h:49:18 */ 9932 9933 // * 9934 // @brief xcb_pixmap_iterator_t 9935 // 9936 type xcb_pixmap_iterator_t1 = struct { 9937 Fdata uintptr 9938 Frem int32 9939 Findex int32 9940 } /* xproto.h:54:9 */ 9941 9942 // * 9943 // @brief xcb_pixmap_iterator_t 9944 // 9945 type xcb_pixmap_iterator_t = xcb_pixmap_iterator_t1 /* xproto.h:58:3 */ 9946 9947 type xcb_cursor_t = uint32_t /* xproto.h:60:18 */ 9948 9949 // * 9950 // @brief xcb_cursor_iterator_t 9951 // 9952 type xcb_cursor_iterator_t1 = struct { 9953 Fdata uintptr 9954 Frem int32 9955 Findex int32 9956 } /* xproto.h:65:9 */ 9957 9958 // * 9959 // @brief xcb_cursor_iterator_t 9960 // 9961 type xcb_cursor_iterator_t = xcb_cursor_iterator_t1 /* xproto.h:69:3 */ 9962 9963 type xcb_font_t = uint32_t /* xproto.h:71:18 */ 9964 9965 // * 9966 // @brief xcb_font_iterator_t 9967 // 9968 type xcb_font_iterator_t1 = struct { 9969 Fdata uintptr 9970 Frem int32 9971 Findex int32 9972 } /* xproto.h:76:9 */ 9973 9974 // * 9975 // @brief xcb_font_iterator_t 9976 // 9977 type xcb_font_iterator_t = xcb_font_iterator_t1 /* xproto.h:80:3 */ 9978 9979 type xcb_gcontext_t = uint32_t /* xproto.h:82:18 */ 9980 9981 // * 9982 // @brief xcb_gcontext_iterator_t 9983 // 9984 type xcb_gcontext_iterator_t1 = struct { 9985 Fdata uintptr 9986 Frem int32 9987 Findex int32 9988 } /* xproto.h:87:9 */ 9989 9990 // * 9991 // @brief xcb_gcontext_iterator_t 9992 // 9993 type xcb_gcontext_iterator_t = xcb_gcontext_iterator_t1 /* xproto.h:91:3 */ 9994 9995 type xcb_colormap_t = uint32_t /* xproto.h:93:18 */ 9996 9997 // * 9998 // @brief xcb_colormap_iterator_t 9999 // 10000 type xcb_colormap_iterator_t1 = struct { 10001 Fdata uintptr 10002 Frem int32 10003 Findex int32 10004 } /* xproto.h:98:9 */ 10005 10006 // * 10007 // @brief xcb_colormap_iterator_t 10008 // 10009 type xcb_colormap_iterator_t = xcb_colormap_iterator_t1 /* xproto.h:102:3 */ 10010 10011 type xcb_atom_t = uint32_t /* xproto.h:104:18 */ 10012 10013 // * 10014 // @brief xcb_atom_iterator_t 10015 // 10016 type xcb_atom_iterator_t1 = struct { 10017 Fdata uintptr 10018 Frem int32 10019 Findex int32 10020 } /* xproto.h:109:9 */ 10021 10022 // * 10023 // @brief xcb_atom_iterator_t 10024 // 10025 type xcb_atom_iterator_t = xcb_atom_iterator_t1 /* xproto.h:113:3 */ 10026 10027 type xcb_drawable_t = uint32_t /* xproto.h:115:18 */ 10028 10029 // * 10030 // @brief xcb_drawable_iterator_t 10031 // 10032 type xcb_drawable_iterator_t1 = struct { 10033 Fdata uintptr 10034 Frem int32 10035 Findex int32 10036 } /* xproto.h:120:9 */ 10037 10038 // * 10039 // @brief xcb_drawable_iterator_t 10040 // 10041 type xcb_drawable_iterator_t = xcb_drawable_iterator_t1 /* xproto.h:124:3 */ 10042 10043 type xcb_fontable_t = uint32_t /* xproto.h:126:18 */ 10044 10045 // * 10046 // @brief xcb_fontable_iterator_t 10047 // 10048 type xcb_fontable_iterator_t1 = struct { 10049 Fdata uintptr 10050 Frem int32 10051 Findex int32 10052 } /* xproto.h:131:9 */ 10053 10054 // * 10055 // @brief xcb_fontable_iterator_t 10056 // 10057 type xcb_fontable_iterator_t = xcb_fontable_iterator_t1 /* xproto.h:135:3 */ 10058 10059 type xcb_bool32_t = uint32_t /* xproto.h:137:18 */ 10060 10061 // * 10062 // @brief xcb_bool32_iterator_t 10063 // 10064 type xcb_bool32_iterator_t1 = struct { 10065 Fdata uintptr 10066 Frem int32 10067 Findex int32 10068 } /* xproto.h:142:9 */ 10069 10070 // * 10071 // @brief xcb_bool32_iterator_t 10072 // 10073 type xcb_bool32_iterator_t = xcb_bool32_iterator_t1 /* xproto.h:146:3 */ 10074 10075 type xcb_visualid_t = uint32_t /* xproto.h:148:18 */ 10076 10077 // * 10078 // @brief xcb_visualid_iterator_t 10079 // 10080 type xcb_visualid_iterator_t1 = struct { 10081 Fdata uintptr 10082 Frem int32 10083 Findex int32 10084 } /* xproto.h:153:9 */ 10085 10086 // * 10087 // @brief xcb_visualid_iterator_t 10088 // 10089 type xcb_visualid_iterator_t = xcb_visualid_iterator_t1 /* xproto.h:157:3 */ 10090 10091 type xcb_timestamp_t = uint32_t /* xproto.h:159:18 */ 10092 10093 // * 10094 // @brief xcb_timestamp_iterator_t 10095 // 10096 type xcb_timestamp_iterator_t1 = struct { 10097 Fdata uintptr 10098 Frem int32 10099 Findex int32 10100 } /* xproto.h:164:9 */ 10101 10102 // * 10103 // @brief xcb_timestamp_iterator_t 10104 // 10105 type xcb_timestamp_iterator_t = xcb_timestamp_iterator_t1 /* xproto.h:168:3 */ 10106 10107 type xcb_keysym_t = uint32_t /* xproto.h:170:18 */ 10108 10109 // * 10110 // @brief xcb_keysym_iterator_t 10111 // 10112 type xcb_keysym_iterator_t1 = struct { 10113 Fdata uintptr 10114 Frem int32 10115 Findex int32 10116 } /* xproto.h:175:9 */ 10117 10118 // * 10119 // @brief xcb_keysym_iterator_t 10120 // 10121 type xcb_keysym_iterator_t = xcb_keysym_iterator_t1 /* xproto.h:179:3 */ 10122 10123 type xcb_keycode_t = uint8_t /* xproto.h:181:17 */ 10124 10125 // * 10126 // @brief xcb_keycode_iterator_t 10127 // 10128 type xcb_keycode_iterator_t1 = struct { 10129 Fdata uintptr 10130 Frem int32 10131 Findex int32 10132 } /* xproto.h:186:9 */ 10133 10134 // * 10135 // @brief xcb_keycode_iterator_t 10136 // 10137 type xcb_keycode_iterator_t = xcb_keycode_iterator_t1 /* xproto.h:190:3 */ 10138 10139 type xcb_keycode32_t = uint32_t /* xproto.h:192:18 */ 10140 10141 // * 10142 // @brief xcb_keycode32_iterator_t 10143 // 10144 type xcb_keycode32_iterator_t1 = struct { 10145 Fdata uintptr 10146 Frem int32 10147 Findex int32 10148 } /* xproto.h:197:9 */ 10149 10150 // * 10151 // @brief xcb_keycode32_iterator_t 10152 // 10153 type xcb_keycode32_iterator_t = xcb_keycode32_iterator_t1 /* xproto.h:201:3 */ 10154 10155 type xcb_button_t = uint8_t /* xproto.h:203:17 */ 10156 10157 // * 10158 // @brief xcb_button_iterator_t 10159 // 10160 type xcb_button_iterator_t1 = struct { 10161 Fdata uintptr 10162 Frem int32 10163 Findex int32 10164 } /* xproto.h:208:9 */ 10165 10166 // * 10167 // @brief xcb_button_iterator_t 10168 // 10169 type xcb_button_iterator_t = xcb_button_iterator_t1 /* xproto.h:212:3 */ 10170 10171 // * 10172 // @brief xcb_point_t 10173 // 10174 type xcb_point_t1 = struct { 10175 Fx int16_t 10176 Fy int16_t 10177 } /* xproto.h:217:9 */ 10178 10179 // * 10180 // @brief xcb_point_t 10181 // 10182 type xcb_point_t = xcb_point_t1 /* xproto.h:220:3 */ 10183 10184 // * 10185 // @brief xcb_point_iterator_t 10186 // 10187 type xcb_point_iterator_t1 = struct { 10188 Fdata uintptr 10189 Frem int32 10190 Findex int32 10191 } /* xproto.h:225:9 */ 10192 10193 // * 10194 // @brief xcb_point_iterator_t 10195 // 10196 type xcb_point_iterator_t = xcb_point_iterator_t1 /* xproto.h:229:3 */ 10197 10198 // * 10199 // @brief xcb_rectangle_t 10200 // 10201 type xcb_rectangle_t1 = struct { 10202 Fx int16_t 10203 Fy int16_t 10204 Fwidth uint16_t 10205 Fheight uint16_t 10206 } /* xproto.h:234:9 */ 10207 10208 // * 10209 // @brief xcb_rectangle_t 10210 // 10211 type xcb_rectangle_t = xcb_rectangle_t1 /* xproto.h:239:3 */ 10212 10213 // * 10214 // @brief xcb_rectangle_iterator_t 10215 // 10216 type xcb_rectangle_iterator_t1 = struct { 10217 Fdata uintptr 10218 Frem int32 10219 Findex int32 10220 } /* xproto.h:244:9 */ 10221 10222 // * 10223 // @brief xcb_rectangle_iterator_t 10224 // 10225 type xcb_rectangle_iterator_t = xcb_rectangle_iterator_t1 /* xproto.h:248:3 */ 10226 10227 // * 10228 // @brief xcb_arc_t 10229 // 10230 type xcb_arc_t1 = struct { 10231 Fx int16_t 10232 Fy int16_t 10233 Fwidth uint16_t 10234 Fheight uint16_t 10235 Fangle1 int16_t 10236 Fangle2 int16_t 10237 } /* xproto.h:253:9 */ 10238 10239 // * 10240 // @brief xcb_arc_t 10241 // 10242 type xcb_arc_t = xcb_arc_t1 /* xproto.h:260:3 */ 10243 10244 // * 10245 // @brief xcb_arc_iterator_t 10246 // 10247 type xcb_arc_iterator_t1 = struct { 10248 Fdata uintptr 10249 Frem int32 10250 Findex int32 10251 } /* xproto.h:265:9 */ 10252 10253 // * 10254 // @brief xcb_arc_iterator_t 10255 // 10256 type xcb_arc_iterator_t = xcb_arc_iterator_t1 /* xproto.h:269:3 */ 10257 10258 // * 10259 // @brief xcb_format_t 10260 // 10261 type xcb_format_t1 = struct { 10262 Fdepth uint8_t 10263 Fbits_per_pixel uint8_t 10264 Fscanline_pad uint8_t 10265 Fpad0 [5]uint8_t 10266 } /* xproto.h:274:9 */ 10267 10268 // * 10269 // @brief xcb_format_t 10270 // 10271 type xcb_format_t = xcb_format_t1 /* xproto.h:279:3 */ 10272 10273 // * 10274 // @brief xcb_format_iterator_t 10275 // 10276 type xcb_format_iterator_t1 = struct { 10277 Fdata uintptr 10278 Frem int32 10279 Findex int32 10280 } /* xproto.h:284:9 */ 10281 10282 // * 10283 // @brief xcb_format_iterator_t 10284 // 10285 type xcb_format_iterator_t = xcb_format_iterator_t1 /* xproto.h:288:3 */ 10286 10287 type xcb_visual_class_t = uint32 /* xproto.h:297:3 */ 10288 10289 // * 10290 // @brief xcb_visualtype_t 10291 // 10292 type xcb_visualtype_t1 = struct { 10293 Fvisual_id xcb_visualid_t 10294 F_class uint8_t 10295 Fbits_per_rgb_value uint8_t 10296 Fcolormap_entries uint16_t 10297 Fred_mask uint32_t 10298 Fgreen_mask uint32_t 10299 Fblue_mask uint32_t 10300 Fpad0 [4]uint8_t 10301 } /* xproto.h:302:9 */ 10302 10303 // * 10304 // @brief xcb_visualtype_t 10305 // 10306 type xcb_visualtype_t = xcb_visualtype_t1 /* xproto.h:311:3 */ 10307 10308 // * 10309 // @brief xcb_visualtype_iterator_t 10310 // 10311 type xcb_visualtype_iterator_t1 = struct { 10312 Fdata uintptr 10313 Frem int32 10314 Findex int32 10315 } /* xproto.h:316:9 */ 10316 10317 // * 10318 // @brief xcb_visualtype_iterator_t 10319 // 10320 type xcb_visualtype_iterator_t = xcb_visualtype_iterator_t1 /* xproto.h:320:3 */ 10321 10322 // * 10323 // @brief xcb_depth_t 10324 // 10325 type xcb_depth_t1 = struct { 10326 Fdepth uint8_t 10327 Fpad0 uint8_t 10328 Fvisuals_len uint16_t 10329 Fpad1 [4]uint8_t 10330 } /* xproto.h:325:9 */ 10331 10332 // * 10333 // @brief xcb_depth_t 10334 // 10335 type xcb_depth_t = xcb_depth_t1 /* xproto.h:330:3 */ 10336 10337 // * 10338 // @brief xcb_depth_iterator_t 10339 // 10340 type xcb_depth_iterator_t1 = struct { 10341 Fdata uintptr 10342 Frem int32 10343 Findex int32 10344 } /* xproto.h:335:9 */ 10345 10346 // * 10347 // @brief xcb_depth_iterator_t 10348 // 10349 type xcb_depth_iterator_t = xcb_depth_iterator_t1 /* xproto.h:339:3 */ 10350 10351 type xcb_event_mask_t = uint32 /* xproto.h:368:3 */ 10352 10353 type xcb_backing_store_t = uint32 /* xproto.h:374:3 */ 10354 10355 // * 10356 // @brief xcb_screen_t 10357 // 10358 type xcb_screen_t1 = struct { 10359 Froot xcb_window_t 10360 Fdefault_colormap xcb_colormap_t 10361 Fwhite_pixel uint32_t 10362 Fblack_pixel uint32_t 10363 Fcurrent_input_masks uint32_t 10364 Fwidth_in_pixels uint16_t 10365 Fheight_in_pixels uint16_t 10366 Fwidth_in_millimeters uint16_t 10367 Fheight_in_millimeters uint16_t 10368 Fmin_installed_maps uint16_t 10369 Fmax_installed_maps uint16_t 10370 Froot_visual xcb_visualid_t 10371 Fbacking_stores uint8_t 10372 Fsave_unders uint8_t 10373 Froot_depth uint8_t 10374 Fallowed_depths_len uint8_t 10375 } /* xproto.h:379:9 */ 10376 10377 // * 10378 // @brief xcb_screen_t 10379 // 10380 type xcb_screen_t = xcb_screen_t1 /* xproto.h:396:3 */ 10381 10382 // * 10383 // @brief xcb_screen_iterator_t 10384 // 10385 type xcb_screen_iterator_t1 = struct { 10386 Fdata uintptr 10387 Frem int32 10388 Findex int32 10389 } /* xproto.h:401:9 */ 10390 10391 // * 10392 // @brief xcb_screen_iterator_t 10393 // 10394 type xcb_screen_iterator_t = xcb_screen_iterator_t1 /* xproto.h:405:3 */ 10395 10396 // * 10397 // @brief xcb_setup_request_t 10398 // 10399 type xcb_setup_request_t1 = struct { 10400 Fbyte_order uint8_t 10401 Fpad0 uint8_t 10402 Fprotocol_major_version uint16_t 10403 Fprotocol_minor_version uint16_t 10404 Fauthorization_protocol_name_len uint16_t 10405 Fauthorization_protocol_data_len uint16_t 10406 Fpad1 [2]uint8_t 10407 } /* xproto.h:410:9 */ 10408 10409 // * 10410 // @brief xcb_setup_request_t 10411 // 10412 type xcb_setup_request_t = xcb_setup_request_t1 /* xproto.h:418:3 */ 10413 10414 // * 10415 // @brief xcb_setup_request_iterator_t 10416 // 10417 type xcb_setup_request_iterator_t1 = struct { 10418 Fdata uintptr 10419 Frem int32 10420 Findex int32 10421 } /* xproto.h:423:9 */ 10422 10423 // * 10424 // @brief xcb_setup_request_iterator_t 10425 // 10426 type xcb_setup_request_iterator_t = xcb_setup_request_iterator_t1 /* xproto.h:427:3 */ 10427 10428 // * 10429 // @brief xcb_setup_failed_t 10430 // 10431 type xcb_setup_failed_t1 = struct { 10432 Fstatus uint8_t 10433 Freason_len uint8_t 10434 Fprotocol_major_version uint16_t 10435 Fprotocol_minor_version uint16_t 10436 Flength uint16_t 10437 } /* xproto.h:432:9 */ 10438 10439 // * 10440 // @brief xcb_setup_failed_t 10441 // 10442 type xcb_setup_failed_t = xcb_setup_failed_t1 /* xproto.h:438:3 */ 10443 10444 // * 10445 // @brief xcb_setup_failed_iterator_t 10446 // 10447 type xcb_setup_failed_iterator_t1 = struct { 10448 Fdata uintptr 10449 Frem int32 10450 Findex int32 10451 } /* xproto.h:443:9 */ 10452 10453 // * 10454 // @brief xcb_setup_failed_iterator_t 10455 // 10456 type xcb_setup_failed_iterator_t = xcb_setup_failed_iterator_t1 /* xproto.h:447:3 */ 10457 10458 // * 10459 // @brief xcb_setup_authenticate_t 10460 // 10461 type xcb_setup_authenticate_t1 = struct { 10462 Fstatus uint8_t 10463 Fpad0 [5]uint8_t 10464 Flength uint16_t 10465 } /* xproto.h:452:9 */ 10466 10467 // * 10468 // @brief xcb_setup_authenticate_t 10469 // 10470 type xcb_setup_authenticate_t = xcb_setup_authenticate_t1 /* xproto.h:456:3 */ 10471 10472 // * 10473 // @brief xcb_setup_authenticate_iterator_t 10474 // 10475 type xcb_setup_authenticate_iterator_t1 = struct { 10476 Fdata uintptr 10477 Frem int32 10478 Findex int32 10479 } /* xproto.h:461:9 */ 10480 10481 // * 10482 // @brief xcb_setup_authenticate_iterator_t 10483 // 10484 type xcb_setup_authenticate_iterator_t = xcb_setup_authenticate_iterator_t1 /* xproto.h:465:3 */ 10485 10486 type xcb_image_order_t = uint32 /* xproto.h:470:3 */ 10487 10488 // * 10489 // @brief xcb_setup_t 10490 // 10491 type xcb_setup_t1 = struct { 10492 Fstatus uint8_t 10493 Fpad0 uint8_t 10494 Fprotocol_major_version uint16_t 10495 Fprotocol_minor_version uint16_t 10496 Flength uint16_t 10497 Frelease_number uint32_t 10498 Fresource_id_base uint32_t 10499 Fresource_id_mask uint32_t 10500 Fmotion_buffer_size uint32_t 10501 Fvendor_len uint16_t 10502 Fmaximum_request_length uint16_t 10503 Froots_len uint8_t 10504 Fpixmap_formats_len uint8_t 10505 Fimage_byte_order uint8_t 10506 Fbitmap_format_bit_order uint8_t 10507 Fbitmap_format_scanline_unit uint8_t 10508 Fbitmap_format_scanline_pad uint8_t 10509 Fmin_keycode xcb_keycode_t 10510 Fmax_keycode xcb_keycode_t 10511 Fpad1 [4]uint8_t 10512 } /* xproto.h:475:9 */ 10513 10514 // * 10515 // @brief xcb_setup_t 10516 // 10517 type xcb_setup_t = xcb_setup_t1 /* xproto.h:496:3 */ 10518 10519 // * 10520 // @brief xcb_setup_iterator_t 10521 // 10522 type xcb_setup_iterator_t1 = struct { 10523 Fdata uintptr 10524 Frem int32 10525 Findex int32 10526 } /* xproto.h:501:9 */ 10527 10528 // * 10529 // @brief xcb_setup_iterator_t 10530 // 10531 type xcb_setup_iterator_t = xcb_setup_iterator_t1 /* xproto.h:505:3 */ 10532 10533 type xcb_mod_mask_t = uint32 /* xproto.h:517:3 */ 10534 10535 type xcb_key_but_mask_t = uint32 /* xproto.h:533:3 */ 10536 10537 type xcb_window_enum_t = uint32 /* xproto.h:537:3 */ 10538 10539 //* Opcode for xcb_key_press. 10540 10541 // * 10542 // @brief xcb_key_press_event_t 10543 // 10544 type xcb_key_press_event_t1 = struct { 10545 Fresponse_type uint8_t 10546 Fdetail xcb_keycode_t 10547 Fsequence uint16_t 10548 Ftime xcb_timestamp_t 10549 Froot xcb_window_t 10550 Fevent xcb_window_t 10551 Fchild xcb_window_t 10552 Froot_x int16_t 10553 Froot_y int16_t 10554 Fevent_x int16_t 10555 Fevent_y int16_t 10556 Fstate uint16_t 10557 Fsame_screen uint8_t 10558 Fpad0 uint8_t 10559 } /* xproto.h:545:9 */ 10560 10561 //* Opcode for xcb_key_press. 10562 10563 // * 10564 // @brief xcb_key_press_event_t 10565 // 10566 type xcb_key_press_event_t = xcb_key_press_event_t1 /* xproto.h:560:3 */ 10567 10568 //* Opcode for xcb_key_release. 10569 10570 type xcb_key_release_event_t = xcb_key_press_event_t /* xproto.h:565:31 */ 10571 10572 type xcb_button_mask_t = uint32 /* xproto.h:574:3 */ 10573 10574 //* Opcode for xcb_button_press. 10575 10576 // * 10577 // @brief xcb_button_press_event_t 10578 // 10579 type xcb_button_press_event_t1 = struct { 10580 Fresponse_type uint8_t 10581 Fdetail xcb_button_t 10582 Fsequence uint16_t 10583 Ftime xcb_timestamp_t 10584 Froot xcb_window_t 10585 Fevent xcb_window_t 10586 Fchild xcb_window_t 10587 Froot_x int16_t 10588 Froot_y int16_t 10589 Fevent_x int16_t 10590 Fevent_y int16_t 10591 Fstate uint16_t 10592 Fsame_screen uint8_t 10593 Fpad0 uint8_t 10594 } /* xproto.h:582:9 */ 10595 10596 //* Opcode for xcb_button_press. 10597 10598 // * 10599 // @brief xcb_button_press_event_t 10600 // 10601 type xcb_button_press_event_t = xcb_button_press_event_t1 /* xproto.h:597:3 */ 10602 10603 //* Opcode for xcb_button_release. 10604 10605 type xcb_button_release_event_t = xcb_button_press_event_t /* xproto.h:602:34 */ 10606 10607 type xcb_motion_t = uint32 /* xproto.h:607:3 */ 10608 10609 //* Opcode for xcb_motion_notify. 10610 10611 // * 10612 // @brief xcb_motion_notify_event_t 10613 // 10614 type xcb_motion_notify_event_t1 = struct { 10615 Fresponse_type uint8_t 10616 Fdetail uint8_t 10617 Fsequence uint16_t 10618 Ftime xcb_timestamp_t 10619 Froot xcb_window_t 10620 Fevent xcb_window_t 10621 Fchild xcb_window_t 10622 Froot_x int16_t 10623 Froot_y int16_t 10624 Fevent_x int16_t 10625 Fevent_y int16_t 10626 Fstate uint16_t 10627 Fsame_screen uint8_t 10628 Fpad0 uint8_t 10629 } /* xproto.h:615:9 */ 10630 10631 //* Opcode for xcb_motion_notify. 10632 10633 // * 10634 // @brief xcb_motion_notify_event_t 10635 // 10636 type xcb_motion_notify_event_t = xcb_motion_notify_event_t1 /* xproto.h:630:3 */ 10637 10638 type xcb_notify_detail_t = uint32 /* xproto.h:641:3 */ 10639 10640 type xcb_notify_mode_t = uint32 /* xproto.h:648:3 */ 10641 10642 //* Opcode for xcb_enter_notify. 10643 10644 // * 10645 // @brief xcb_enter_notify_event_t 10646 // 10647 type xcb_enter_notify_event_t1 = struct { 10648 Fresponse_type uint8_t 10649 Fdetail uint8_t 10650 Fsequence uint16_t 10651 Ftime xcb_timestamp_t 10652 Froot xcb_window_t 10653 Fevent xcb_window_t 10654 Fchild xcb_window_t 10655 Froot_x int16_t 10656 Froot_y int16_t 10657 Fevent_x int16_t 10658 Fevent_y int16_t 10659 Fstate uint16_t 10660 Fmode uint8_t 10661 Fsame_screen_focus uint8_t 10662 } /* xproto.h:656:9 */ 10663 10664 //* Opcode for xcb_enter_notify. 10665 10666 // * 10667 // @brief xcb_enter_notify_event_t 10668 // 10669 type xcb_enter_notify_event_t = xcb_enter_notify_event_t1 /* xproto.h:671:3 */ 10670 10671 //* Opcode for xcb_leave_notify. 10672 10673 type xcb_leave_notify_event_t = xcb_enter_notify_event_t /* xproto.h:676:34 */ 10674 10675 //* Opcode for xcb_focus_in. 10676 10677 // * 10678 // @brief xcb_focus_in_event_t 10679 // 10680 type xcb_focus_in_event_t1 = struct { 10681 Fresponse_type uint8_t 10682 Fdetail uint8_t 10683 Fsequence uint16_t 10684 Fevent xcb_window_t 10685 Fmode uint8_t 10686 Fpad0 [3]uint8_t 10687 } /* xproto.h:684:9 */ 10688 10689 //* Opcode for xcb_focus_in. 10690 10691 // * 10692 // @brief xcb_focus_in_event_t 10693 // 10694 type xcb_focus_in_event_t = xcb_focus_in_event_t1 /* xproto.h:691:3 */ 10695 10696 //* Opcode for xcb_focus_out. 10697 10698 type xcb_focus_out_event_t = xcb_focus_in_event_t /* xproto.h:696:30 */ 10699 10700 //* Opcode for xcb_keymap_notify. 10701 10702 // * 10703 // @brief xcb_keymap_notify_event_t 10704 // 10705 type xcb_keymap_notify_event_t1 = struct { 10706 Fresponse_type uint8_t 10707 Fkeys [31]uint8_t 10708 } /* xproto.h:704:9 */ 10709 10710 //* Opcode for xcb_keymap_notify. 10711 10712 // * 10713 // @brief xcb_keymap_notify_event_t 10714 // 10715 type xcb_keymap_notify_event_t = xcb_keymap_notify_event_t1 /* xproto.h:707:3 */ 10716 10717 //* Opcode for xcb_expose. 10718 10719 // * 10720 // @brief xcb_expose_event_t 10721 // 10722 type xcb_expose_event_t1 = struct { 10723 Fresponse_type uint8_t 10724 Fpad0 uint8_t 10725 Fsequence uint16_t 10726 Fwindow xcb_window_t 10727 Fx uint16_t 10728 Fy uint16_t 10729 Fwidth uint16_t 10730 Fheight uint16_t 10731 Fcount uint16_t 10732 Fpad1 [2]uint8_t 10733 } /* xproto.h:715:9 */ 10734 10735 //* Opcode for xcb_expose. 10736 10737 // * 10738 // @brief xcb_expose_event_t 10739 // 10740 type xcb_expose_event_t = xcb_expose_event_t1 /* xproto.h:726:3 */ 10741 10742 //* Opcode for xcb_graphics_exposure. 10743 10744 // * 10745 // @brief xcb_graphics_exposure_event_t 10746 // 10747 type xcb_graphics_exposure_event_t1 = struct { 10748 Fresponse_type uint8_t 10749 Fpad0 uint8_t 10750 Fsequence uint16_t 10751 Fdrawable xcb_drawable_t 10752 Fx uint16_t 10753 Fy uint16_t 10754 Fwidth uint16_t 10755 Fheight uint16_t 10756 Fminor_opcode uint16_t 10757 Fcount uint16_t 10758 Fmajor_opcode uint8_t 10759 Fpad1 [3]uint8_t 10760 } /* xproto.h:734:9 */ 10761 10762 //* Opcode for xcb_graphics_exposure. 10763 10764 // * 10765 // @brief xcb_graphics_exposure_event_t 10766 // 10767 type xcb_graphics_exposure_event_t = xcb_graphics_exposure_event_t1 /* xproto.h:747:3 */ 10768 10769 //* Opcode for xcb_no_exposure. 10770 10771 // * 10772 // @brief xcb_no_exposure_event_t 10773 // 10774 type xcb_no_exposure_event_t1 = struct { 10775 Fresponse_type uint8_t 10776 Fpad0 uint8_t 10777 Fsequence uint16_t 10778 Fdrawable xcb_drawable_t 10779 Fminor_opcode uint16_t 10780 Fmajor_opcode uint8_t 10781 Fpad1 uint8_t 10782 } /* xproto.h:755:9 */ 10783 10784 //* Opcode for xcb_no_exposure. 10785 10786 // * 10787 // @brief xcb_no_exposure_event_t 10788 // 10789 type xcb_no_exposure_event_t = xcb_no_exposure_event_t1 /* xproto.h:763:3 */ 10790 10791 type xcb_visibility_t = uint32 /* xproto.h:769:3 */ 10792 10793 //* Opcode for xcb_visibility_notify. 10794 10795 // * 10796 // @brief xcb_visibility_notify_event_t 10797 // 10798 type xcb_visibility_notify_event_t1 = struct { 10799 Fresponse_type uint8_t 10800 Fpad0 uint8_t 10801 Fsequence uint16_t 10802 Fwindow xcb_window_t 10803 Fstate uint8_t 10804 Fpad1 [3]uint8_t 10805 } /* xproto.h:777:9 */ 10806 10807 //* Opcode for xcb_visibility_notify. 10808 10809 // * 10810 // @brief xcb_visibility_notify_event_t 10811 // 10812 type xcb_visibility_notify_event_t = xcb_visibility_notify_event_t1 /* xproto.h:784:3 */ 10813 10814 //* Opcode for xcb_create_notify. 10815 10816 // * 10817 // @brief xcb_create_notify_event_t 10818 // 10819 type xcb_create_notify_event_t1 = struct { 10820 Fresponse_type uint8_t 10821 Fpad0 uint8_t 10822 Fsequence uint16_t 10823 Fparent xcb_window_t 10824 Fwindow xcb_window_t 10825 Fx int16_t 10826 Fy int16_t 10827 Fwidth uint16_t 10828 Fheight uint16_t 10829 Fborder_width uint16_t 10830 Foverride_redirect uint8_t 10831 Fpad1 uint8_t 10832 } /* xproto.h:792:9 */ 10833 10834 //* Opcode for xcb_create_notify. 10835 10836 // * 10837 // @brief xcb_create_notify_event_t 10838 // 10839 type xcb_create_notify_event_t = xcb_create_notify_event_t1 /* xproto.h:805:3 */ 10840 10841 //* Opcode for xcb_destroy_notify. 10842 10843 // * 10844 // @brief xcb_destroy_notify_event_t 10845 // 10846 type xcb_destroy_notify_event_t1 = struct { 10847 Fresponse_type uint8_t 10848 Fpad0 uint8_t 10849 Fsequence uint16_t 10850 Fevent xcb_window_t 10851 Fwindow xcb_window_t 10852 } /* xproto.h:813:9 */ 10853 10854 //* Opcode for xcb_destroy_notify. 10855 10856 // * 10857 // @brief xcb_destroy_notify_event_t 10858 // 10859 type xcb_destroy_notify_event_t = xcb_destroy_notify_event_t1 /* xproto.h:819:3 */ 10860 10861 //* Opcode for xcb_unmap_notify. 10862 10863 // * 10864 // @brief xcb_unmap_notify_event_t 10865 // 10866 type xcb_unmap_notify_event_t1 = struct { 10867 Fresponse_type uint8_t 10868 Fpad0 uint8_t 10869 Fsequence uint16_t 10870 Fevent xcb_window_t 10871 Fwindow xcb_window_t 10872 Ffrom_configure uint8_t 10873 Fpad1 [3]uint8_t 10874 } /* xproto.h:827:9 */ 10875 10876 //* Opcode for xcb_unmap_notify. 10877 10878 // * 10879 // @brief xcb_unmap_notify_event_t 10880 // 10881 type xcb_unmap_notify_event_t = xcb_unmap_notify_event_t1 /* xproto.h:835:3 */ 10882 10883 //* Opcode for xcb_map_notify. 10884 10885 // * 10886 // @brief xcb_map_notify_event_t 10887 // 10888 type xcb_map_notify_event_t1 = struct { 10889 Fresponse_type uint8_t 10890 Fpad0 uint8_t 10891 Fsequence uint16_t 10892 Fevent xcb_window_t 10893 Fwindow xcb_window_t 10894 Foverride_redirect uint8_t 10895 Fpad1 [3]uint8_t 10896 } /* xproto.h:843:9 */ 10897 10898 //* Opcode for xcb_map_notify. 10899 10900 // * 10901 // @brief xcb_map_notify_event_t 10902 // 10903 type xcb_map_notify_event_t = xcb_map_notify_event_t1 /* xproto.h:851:3 */ 10904 10905 //* Opcode for xcb_map_request. 10906 10907 // * 10908 // @brief xcb_map_request_event_t 10909 // 10910 type xcb_map_request_event_t1 = struct { 10911 Fresponse_type uint8_t 10912 Fpad0 uint8_t 10913 Fsequence uint16_t 10914 Fparent xcb_window_t 10915 Fwindow xcb_window_t 10916 } /* xproto.h:859:9 */ 10917 10918 //* Opcode for xcb_map_request. 10919 10920 // * 10921 // @brief xcb_map_request_event_t 10922 // 10923 type xcb_map_request_event_t = xcb_map_request_event_t1 /* xproto.h:865:3 */ 10924 10925 //* Opcode for xcb_reparent_notify. 10926 10927 // * 10928 // @brief xcb_reparent_notify_event_t 10929 // 10930 type xcb_reparent_notify_event_t1 = struct { 10931 Fresponse_type uint8_t 10932 Fpad0 uint8_t 10933 Fsequence uint16_t 10934 Fevent xcb_window_t 10935 Fwindow xcb_window_t 10936 Fparent xcb_window_t 10937 Fx int16_t 10938 Fy int16_t 10939 Foverride_redirect uint8_t 10940 Fpad1 [3]uint8_t 10941 } /* xproto.h:873:9 */ 10942 10943 //* Opcode for xcb_reparent_notify. 10944 10945 // * 10946 // @brief xcb_reparent_notify_event_t 10947 // 10948 type xcb_reparent_notify_event_t = xcb_reparent_notify_event_t1 /* xproto.h:884:3 */ 10949 10950 //* Opcode for xcb_configure_notify. 10951 10952 // * 10953 // @brief xcb_configure_notify_event_t 10954 // 10955 type xcb_configure_notify_event_t1 = struct { 10956 Fresponse_type uint8_t 10957 Fpad0 uint8_t 10958 Fsequence uint16_t 10959 Fevent xcb_window_t 10960 Fwindow xcb_window_t 10961 Fabove_sibling xcb_window_t 10962 Fx int16_t 10963 Fy int16_t 10964 Fwidth uint16_t 10965 Fheight uint16_t 10966 Fborder_width uint16_t 10967 Foverride_redirect uint8_t 10968 Fpad1 uint8_t 10969 } /* xproto.h:892:9 */ 10970 10971 //* Opcode for xcb_configure_notify. 10972 10973 // * 10974 // @brief xcb_configure_notify_event_t 10975 // 10976 type xcb_configure_notify_event_t = xcb_configure_notify_event_t1 /* xproto.h:906:3 */ 10977 10978 //* Opcode for xcb_configure_request. 10979 10980 // * 10981 // @brief xcb_configure_request_event_t 10982 // 10983 type xcb_configure_request_event_t1 = struct { 10984 Fresponse_type uint8_t 10985 Fstack_mode uint8_t 10986 Fsequence uint16_t 10987 Fparent xcb_window_t 10988 Fwindow xcb_window_t 10989 Fsibling xcb_window_t 10990 Fx int16_t 10991 Fy int16_t 10992 Fwidth uint16_t 10993 Fheight uint16_t 10994 Fborder_width uint16_t 10995 Fvalue_mask uint16_t 10996 } /* xproto.h:914:9 */ 10997 10998 //* Opcode for xcb_configure_request. 10999 11000 // * 11001 // @brief xcb_configure_request_event_t 11002 // 11003 type xcb_configure_request_event_t = xcb_configure_request_event_t1 /* xproto.h:927:3 */ 11004 11005 //* Opcode for xcb_gravity_notify. 11006 11007 // * 11008 // @brief xcb_gravity_notify_event_t 11009 // 11010 type xcb_gravity_notify_event_t1 = struct { 11011 Fresponse_type uint8_t 11012 Fpad0 uint8_t 11013 Fsequence uint16_t 11014 Fevent xcb_window_t 11015 Fwindow xcb_window_t 11016 Fx int16_t 11017 Fy int16_t 11018 } /* xproto.h:935:9 */ 11019 11020 //* Opcode for xcb_gravity_notify. 11021 11022 // * 11023 // @brief xcb_gravity_notify_event_t 11024 // 11025 type xcb_gravity_notify_event_t = xcb_gravity_notify_event_t1 /* xproto.h:943:3 */ 11026 11027 //* Opcode for xcb_resize_request. 11028 11029 // * 11030 // @brief xcb_resize_request_event_t 11031 // 11032 type xcb_resize_request_event_t1 = struct { 11033 Fresponse_type uint8_t 11034 Fpad0 uint8_t 11035 Fsequence uint16_t 11036 Fwindow xcb_window_t 11037 Fwidth uint16_t 11038 Fheight uint16_t 11039 } /* xproto.h:951:9 */ 11040 11041 //* Opcode for xcb_resize_request. 11042 11043 // * 11044 // @brief xcb_resize_request_event_t 11045 // 11046 type xcb_resize_request_event_t = xcb_resize_request_event_t1 /* xproto.h:958:3 */ 11047 11048 type xcb_place_t = uint32 /* xproto.h:967:3 */ 11049 11050 //* Opcode for xcb_circulate_notify. 11051 11052 // * 11053 // @brief xcb_circulate_notify_event_t 11054 // 11055 type xcb_circulate_notify_event_t1 = struct { 11056 Fresponse_type uint8_t 11057 Fpad0 uint8_t 11058 Fsequence uint16_t 11059 Fevent xcb_window_t 11060 Fwindow xcb_window_t 11061 Fpad1 [4]uint8_t 11062 Fplace uint8_t 11063 Fpad2 [3]uint8_t 11064 } /* xproto.h:975:9 */ 11065 11066 //* Opcode for xcb_circulate_notify. 11067 11068 // * 11069 // @brief xcb_circulate_notify_event_t 11070 // 11071 type xcb_circulate_notify_event_t = xcb_circulate_notify_event_t1 /* xproto.h:984:3 */ 11072 11073 //* Opcode for xcb_circulate_request. 11074 11075 type xcb_circulate_request_event_t = xcb_circulate_notify_event_t /* xproto.h:989:38 */ 11076 11077 type xcb_property_t = uint32 /* xproto.h:994:3 */ 11078 11079 //* Opcode for xcb_property_notify. 11080 11081 // * 11082 // @brief xcb_property_notify_event_t 11083 // 11084 type xcb_property_notify_event_t1 = struct { 11085 Fresponse_type uint8_t 11086 Fpad0 uint8_t 11087 Fsequence uint16_t 11088 Fwindow xcb_window_t 11089 Fatom xcb_atom_t 11090 Ftime xcb_timestamp_t 11091 Fstate uint8_t 11092 Fpad1 [3]uint8_t 11093 } /* xproto.h:1002:9 */ 11094 11095 //* Opcode for xcb_property_notify. 11096 11097 // * 11098 // @brief xcb_property_notify_event_t 11099 // 11100 type xcb_property_notify_event_t = xcb_property_notify_event_t1 /* xproto.h:1011:3 */ 11101 11102 //* Opcode for xcb_selection_clear. 11103 11104 // * 11105 // @brief xcb_selection_clear_event_t 11106 // 11107 type xcb_selection_clear_event_t1 = struct { 11108 Fresponse_type uint8_t 11109 Fpad0 uint8_t 11110 Fsequence uint16_t 11111 Ftime xcb_timestamp_t 11112 Fowner xcb_window_t 11113 Fselection xcb_atom_t 11114 } /* xproto.h:1019:9 */ 11115 11116 //* Opcode for xcb_selection_clear. 11117 11118 // * 11119 // @brief xcb_selection_clear_event_t 11120 // 11121 type xcb_selection_clear_event_t = xcb_selection_clear_event_t1 /* xproto.h:1026:3 */ 11122 11123 type xcb_time_t = uint32 /* xproto.h:1030:3 */ 11124 11125 type xcb_atom_enum_t = uint32 /* xproto.h:1103:3 */ 11126 11127 //* Opcode for xcb_selection_request. 11128 11129 // * 11130 // @brief xcb_selection_request_event_t 11131 // 11132 type xcb_selection_request_event_t1 = struct { 11133 Fresponse_type uint8_t 11134 Fpad0 uint8_t 11135 Fsequence uint16_t 11136 Ftime xcb_timestamp_t 11137 Fowner xcb_window_t 11138 Frequestor xcb_window_t 11139 Fselection xcb_atom_t 11140 Ftarget xcb_atom_t 11141 Fproperty xcb_atom_t 11142 } /* xproto.h:1111:9 */ 11143 11144 //* Opcode for xcb_selection_request. 11145 11146 // * 11147 // @brief xcb_selection_request_event_t 11148 // 11149 type xcb_selection_request_event_t = xcb_selection_request_event_t1 /* xproto.h:1121:3 */ 11150 11151 //* Opcode for xcb_selection_notify. 11152 11153 // * 11154 // @brief xcb_selection_notify_event_t 11155 // 11156 type xcb_selection_notify_event_t1 = struct { 11157 Fresponse_type uint8_t 11158 Fpad0 uint8_t 11159 Fsequence uint16_t 11160 Ftime xcb_timestamp_t 11161 Frequestor xcb_window_t 11162 Fselection xcb_atom_t 11163 Ftarget xcb_atom_t 11164 Fproperty xcb_atom_t 11165 } /* xproto.h:1129:9 */ 11166 11167 //* Opcode for xcb_selection_notify. 11168 11169 // * 11170 // @brief xcb_selection_notify_event_t 11171 // 11172 type xcb_selection_notify_event_t = xcb_selection_notify_event_t1 /* xproto.h:1138:3 */ 11173 11174 type xcb_colormap_state_t = uint32 /* xproto.h:1147:3 */ 11175 11176 type xcb_colormap_enum_t = uint32 /* xproto.h:1151:3 */ 11177 11178 //* Opcode for xcb_colormap_notify. 11179 11180 // * 11181 // @brief xcb_colormap_notify_event_t 11182 // 11183 type xcb_colormap_notify_event_t1 = struct { 11184 Fresponse_type uint8_t 11185 Fpad0 uint8_t 11186 Fsequence uint16_t 11187 Fwindow xcb_window_t 11188 Fcolormap xcb_colormap_t 11189 F_new uint8_t 11190 Fstate uint8_t 11191 Fpad1 [2]uint8_t 11192 } /* xproto.h:1159:9 */ 11193 11194 //* Opcode for xcb_colormap_notify. 11195 11196 // * 11197 // @brief xcb_colormap_notify_event_t 11198 // 11199 type xcb_colormap_notify_event_t = xcb_colormap_notify_event_t1 /* xproto.h:1168:3 */ 11200 11201 // * 11202 // @brief xcb_client_message_data_t 11203 // 11204 type xcb_client_message_data_t1 = struct { 11205 F__ccgo_pad1 [0]uint32 11206 Fdata8 [20]uint8_t 11207 } /* xproto.h:1173:9 */ 11208 11209 // * 11210 // @brief xcb_client_message_data_t 11211 // 11212 type xcb_client_message_data_t = xcb_client_message_data_t1 /* xproto.h:1177:3 */ 11213 11214 // * 11215 // @brief xcb_client_message_data_iterator_t 11216 // 11217 type xcb_client_message_data_iterator_t1 = struct { 11218 Fdata uintptr 11219 Frem int32 11220 Findex int32 11221 } /* xproto.h:1182:9 */ 11222 11223 // * 11224 // @brief xcb_client_message_data_iterator_t 11225 // 11226 type xcb_client_message_data_iterator_t = xcb_client_message_data_iterator_t1 /* xproto.h:1186:3 */ 11227 11228 //* Opcode for xcb_client_message. 11229 11230 // * 11231 // @brief xcb_client_message_event_t 11232 // 11233 type xcb_client_message_event_t1 = struct { 11234 Fresponse_type uint8_t 11235 Fformat uint8_t 11236 Fsequence uint16_t 11237 Fwindow xcb_window_t 11238 Ftype xcb_atom_t 11239 Fdata xcb_client_message_data_t 11240 } /* xproto.h:1194:9 */ 11241 11242 //* Opcode for xcb_client_message. 11243 11244 // * 11245 // @brief xcb_client_message_event_t 11246 // 11247 type xcb_client_message_event_t = xcb_client_message_event_t1 /* xproto.h:1201:3 */ 11248 11249 type xcb_mapping_t = uint32 /* xproto.h:1207:3 */ 11250 11251 //* Opcode for xcb_mapping_notify. 11252 11253 // * 11254 // @brief xcb_mapping_notify_event_t 11255 // 11256 type xcb_mapping_notify_event_t1 = struct { 11257 Fresponse_type uint8_t 11258 Fpad0 uint8_t 11259 Fsequence uint16_t 11260 Frequest uint8_t 11261 Ffirst_keycode xcb_keycode_t 11262 Fcount uint8_t 11263 Fpad1 uint8_t 11264 } /* xproto.h:1215:9 */ 11265 11266 //* Opcode for xcb_mapping_notify. 11267 11268 // * 11269 // @brief xcb_mapping_notify_event_t 11270 // 11271 type xcb_mapping_notify_event_t = xcb_mapping_notify_event_t1 /* xproto.h:1223:3 */ 11272 11273 //* Opcode for xcb_ge_generic. 11274 11275 // * 11276 // @brief xcb_ge_generic_event_t 11277 // 11278 type xcb_ge_generic_event_t1 = struct { 11279 Fresponse_type uint8_t 11280 Fextension uint8_t 11281 Fsequence uint16_t 11282 Flength uint32_t 11283 Fevent_type uint16_t 11284 Fpad0 [22]uint8_t 11285 Ffull_sequence uint32_t 11286 } /* xproto.h:1231:9 */ 11287 11288 //* Opcode for xcb_ge_generic. 11289 11290 // * 11291 // @brief xcb_ge_generic_event_t 11292 // 11293 type xcb_ge_generic_event_t = xcb_ge_generic_event_t1 /* xproto.h:1239:3 */ 11294 11295 //* Opcode for xcb_request. 11296 11297 // * 11298 // @brief xcb_request_error_t 11299 // 11300 type xcb_request_error_t1 = struct { 11301 Fresponse_type uint8_t 11302 Ferror_code uint8_t 11303 Fsequence uint16_t 11304 Fbad_value uint32_t 11305 Fminor_opcode uint16_t 11306 Fmajor_opcode uint8_t 11307 Fpad0 uint8_t 11308 } /* xproto.h:1247:9 */ 11309 11310 //* Opcode for xcb_request. 11311 11312 // * 11313 // @brief xcb_request_error_t 11314 // 11315 type xcb_request_error_t = xcb_request_error_t1 /* xproto.h:1255:3 */ 11316 11317 //* Opcode for xcb_value. 11318 11319 // * 11320 // @brief xcb_value_error_t 11321 // 11322 type xcb_value_error_t1 = struct { 11323 Fresponse_type uint8_t 11324 Ferror_code uint8_t 11325 Fsequence uint16_t 11326 Fbad_value uint32_t 11327 Fminor_opcode uint16_t 11328 Fmajor_opcode uint8_t 11329 Fpad0 uint8_t 11330 } /* xproto.h:1263:9 */ 11331 11332 //* Opcode for xcb_value. 11333 11334 // * 11335 // @brief xcb_value_error_t 11336 // 11337 type xcb_value_error_t = xcb_value_error_t1 /* xproto.h:1271:3 */ 11338 11339 //* Opcode for xcb_window. 11340 11341 type xcb_window_error_t = xcb_value_error_t /* xproto.h:1276:27 */ 11342 11343 //* Opcode for xcb_pixmap. 11344 11345 type xcb_pixmap_error_t = xcb_value_error_t /* xproto.h:1281:27 */ 11346 11347 //* Opcode for xcb_atom. 11348 11349 type xcb_atom_error_t = xcb_value_error_t /* xproto.h:1286:27 */ 11350 11351 //* Opcode for xcb_cursor. 11352 11353 type xcb_cursor_error_t = xcb_value_error_t /* xproto.h:1291:27 */ 11354 11355 //* Opcode for xcb_font. 11356 11357 type xcb_font_error_t = xcb_value_error_t /* xproto.h:1296:27 */ 11358 11359 //* Opcode for xcb_match. 11360 11361 type xcb_match_error_t = xcb_request_error_t /* xproto.h:1301:29 */ 11362 11363 //* Opcode for xcb_drawable. 11364 11365 type xcb_drawable_error_t = xcb_value_error_t /* xproto.h:1306:27 */ 11366 11367 //* Opcode for xcb_access. 11368 11369 type xcb_access_error_t = xcb_request_error_t /* xproto.h:1311:29 */ 11370 11371 //* Opcode for xcb_alloc. 11372 11373 type xcb_alloc_error_t = xcb_request_error_t /* xproto.h:1316:29 */ 11374 11375 //* Opcode for xcb_colormap. 11376 11377 type xcb_colormap_error_t = xcb_value_error_t /* xproto.h:1321:27 */ 11378 11379 //* Opcode for xcb_g_context. 11380 11381 type xcb_g_context_error_t = xcb_value_error_t /* xproto.h:1326:27 */ 11382 11383 //* Opcode for xcb_id_choice. 11384 11385 type xcb_id_choice_error_t = xcb_value_error_t /* xproto.h:1331:27 */ 11386 11387 //* Opcode for xcb_name. 11388 11389 type xcb_name_error_t = xcb_request_error_t /* xproto.h:1336:29 */ 11390 11391 //* Opcode for xcb_length. 11392 11393 type xcb_length_error_t = xcb_request_error_t /* xproto.h:1341:29 */ 11394 11395 //* Opcode for xcb_implementation. 11396 11397 type xcb_implementation_error_t = xcb_request_error_t /* xproto.h:1346:29 */ 11398 11399 type xcb_window_class_t = uint32 /* xproto.h:1352:3 */ 11400 11401 type xcb_cw_t = uint32 /* xproto.h:1453:3 */ 11402 11403 type xcb_back_pixmap_t = uint32 /* xproto.h:1458:3 */ 11404 11405 type xcb_gravity_t = uint32 /* xproto.h:1473:3 */ 11406 11407 // * 11408 // @brief xcb_create_window_value_list_t 11409 // 11410 type xcb_create_window_value_list_t1 = struct { 11411 Fbackground_pixmap xcb_pixmap_t 11412 Fbackground_pixel uint32_t 11413 Fborder_pixmap xcb_pixmap_t 11414 Fborder_pixel uint32_t 11415 Fbit_gravity uint32_t 11416 Fwin_gravity uint32_t 11417 Fbacking_store uint32_t 11418 Fbacking_planes uint32_t 11419 Fbacking_pixel uint32_t 11420 Foverride_redirect xcb_bool32_t 11421 Fsave_under xcb_bool32_t 11422 Fevent_mask uint32_t 11423 Fdo_not_propogate_mask uint32_t 11424 Fcolormap xcb_colormap_t 11425 Fcursor xcb_cursor_t 11426 } /* xproto.h:1478:9 */ 11427 11428 // * 11429 // @brief xcb_create_window_value_list_t 11430 // 11431 type xcb_create_window_value_list_t = xcb_create_window_value_list_t1 /* xproto.h:1494:3 */ 11432 11433 //* Opcode for xcb_create_window. 11434 11435 // * 11436 // @brief xcb_create_window_request_t 11437 // 11438 type xcb_create_window_request_t1 = struct { 11439 Fmajor_opcode uint8_t 11440 Fdepth uint8_t 11441 Flength uint16_t 11442 Fwid xcb_window_t 11443 Fparent xcb_window_t 11444 Fx int16_t 11445 Fy int16_t 11446 Fwidth uint16_t 11447 Fheight uint16_t 11448 Fborder_width uint16_t 11449 F_class uint16_t 11450 Fvisual xcb_visualid_t 11451 Fvalue_mask uint32_t 11452 } /* xproto.h:1502:9 */ 11453 11454 //* Opcode for xcb_create_window. 11455 11456 // * 11457 // @brief xcb_create_window_request_t 11458 // 11459 type xcb_create_window_request_t = xcb_create_window_request_t1 /* xproto.h:1516:3 */ 11460 11461 // * 11462 // @brief xcb_change_window_attributes_value_list_t 11463 // 11464 type xcb_change_window_attributes_value_list_t1 = struct { 11465 Fbackground_pixmap xcb_pixmap_t 11466 Fbackground_pixel uint32_t 11467 Fborder_pixmap xcb_pixmap_t 11468 Fborder_pixel uint32_t 11469 Fbit_gravity uint32_t 11470 Fwin_gravity uint32_t 11471 Fbacking_store uint32_t 11472 Fbacking_planes uint32_t 11473 Fbacking_pixel uint32_t 11474 Foverride_redirect xcb_bool32_t 11475 Fsave_under xcb_bool32_t 11476 Fevent_mask uint32_t 11477 Fdo_not_propogate_mask uint32_t 11478 Fcolormap xcb_colormap_t 11479 Fcursor xcb_cursor_t 11480 } /* xproto.h:1521:9 */ 11481 11482 // * 11483 // @brief xcb_change_window_attributes_value_list_t 11484 // 11485 type xcb_change_window_attributes_value_list_t = xcb_change_window_attributes_value_list_t1 /* xproto.h:1537:3 */ 11486 11487 //* Opcode for xcb_change_window_attributes. 11488 11489 // * 11490 // @brief xcb_change_window_attributes_request_t 11491 // 11492 type xcb_change_window_attributes_request_t1 = struct { 11493 Fmajor_opcode uint8_t 11494 Fpad0 uint8_t 11495 Flength uint16_t 11496 Fwindow xcb_window_t 11497 Fvalue_mask uint32_t 11498 } /* xproto.h:1545:9 */ 11499 11500 //* Opcode for xcb_change_window_attributes. 11501 11502 // * 11503 // @brief xcb_change_window_attributes_request_t 11504 // 11505 type xcb_change_window_attributes_request_t = xcb_change_window_attributes_request_t1 /* xproto.h:1551:3 */ 11506 11507 type xcb_map_state_t = uint32 /* xproto.h:1557:3 */ 11508 11509 // * 11510 // @brief xcb_get_window_attributes_cookie_t 11511 // 11512 type xcb_get_window_attributes_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1562:9 */ 11513 11514 // * 11515 // @brief xcb_get_window_attributes_cookie_t 11516 // 11517 type xcb_get_window_attributes_cookie_t = xcb_get_window_attributes_cookie_t1 /* xproto.h:1564:3 */ 11518 11519 //* Opcode for xcb_get_window_attributes. 11520 11521 // * 11522 // @brief xcb_get_window_attributes_request_t 11523 // 11524 type xcb_get_window_attributes_request_t1 = struct { 11525 Fmajor_opcode uint8_t 11526 Fpad0 uint8_t 11527 Flength uint16_t 11528 Fwindow xcb_window_t 11529 } /* xproto.h:1572:9 */ 11530 11531 //* Opcode for xcb_get_window_attributes. 11532 11533 // * 11534 // @brief xcb_get_window_attributes_request_t 11535 // 11536 type xcb_get_window_attributes_request_t = xcb_get_window_attributes_request_t1 /* xproto.h:1577:3 */ 11537 11538 // * 11539 // @brief xcb_get_window_attributes_reply_t 11540 // 11541 type xcb_get_window_attributes_reply_t1 = struct { 11542 Fresponse_type uint8_t 11543 Fbacking_store uint8_t 11544 Fsequence uint16_t 11545 Flength uint32_t 11546 Fvisual xcb_visualid_t 11547 F_class uint16_t 11548 Fbit_gravity uint8_t 11549 Fwin_gravity uint8_t 11550 Fbacking_planes uint32_t 11551 Fbacking_pixel uint32_t 11552 Fsave_under uint8_t 11553 Fmap_is_installed uint8_t 11554 Fmap_state uint8_t 11555 Foverride_redirect uint8_t 11556 Fcolormap xcb_colormap_t 11557 Fall_event_masks uint32_t 11558 Fyour_event_mask uint32_t 11559 Fdo_not_propagate_mask uint16_t 11560 Fpad0 [2]uint8_t 11561 } /* xproto.h:1582:9 */ 11562 11563 // * 11564 // @brief xcb_get_window_attributes_reply_t 11565 // 11566 type xcb_get_window_attributes_reply_t = xcb_get_window_attributes_reply_t1 /* xproto.h:1602:3 */ 11567 11568 //* Opcode for xcb_destroy_window. 11569 11570 // * 11571 // @brief xcb_destroy_window_request_t 11572 // 11573 type xcb_destroy_window_request_t1 = struct { 11574 Fmajor_opcode uint8_t 11575 Fpad0 uint8_t 11576 Flength uint16_t 11577 Fwindow xcb_window_t 11578 } /* xproto.h:1610:9 */ 11579 11580 //* Opcode for xcb_destroy_window. 11581 11582 // * 11583 // @brief xcb_destroy_window_request_t 11584 // 11585 type xcb_destroy_window_request_t = xcb_destroy_window_request_t1 /* xproto.h:1615:3 */ 11586 11587 //* Opcode for xcb_destroy_subwindows. 11588 11589 // * 11590 // @brief xcb_destroy_subwindows_request_t 11591 // 11592 type xcb_destroy_subwindows_request_t1 = struct { 11593 Fmajor_opcode uint8_t 11594 Fpad0 uint8_t 11595 Flength uint16_t 11596 Fwindow xcb_window_t 11597 } /* xproto.h:1623:9 */ 11598 11599 //* Opcode for xcb_destroy_subwindows. 11600 11601 // * 11602 // @brief xcb_destroy_subwindows_request_t 11603 // 11604 type xcb_destroy_subwindows_request_t = xcb_destroy_subwindows_request_t1 /* xproto.h:1628:3 */ 11605 11606 type xcb_set_mode_t = uint32 /* xproto.h:1633:3 */ 11607 11608 //* Opcode for xcb_change_save_set. 11609 11610 // * 11611 // @brief xcb_change_save_set_request_t 11612 // 11613 type xcb_change_save_set_request_t1 = struct { 11614 Fmajor_opcode uint8_t 11615 Fmode uint8_t 11616 Flength uint16_t 11617 Fwindow xcb_window_t 11618 } /* xproto.h:1641:9 */ 11619 11620 //* Opcode for xcb_change_save_set. 11621 11622 // * 11623 // @brief xcb_change_save_set_request_t 11624 // 11625 type xcb_change_save_set_request_t = xcb_change_save_set_request_t1 /* xproto.h:1646:3 */ 11626 11627 //* Opcode for xcb_reparent_window. 11628 11629 // * 11630 // @brief xcb_reparent_window_request_t 11631 // 11632 type xcb_reparent_window_request_t1 = struct { 11633 Fmajor_opcode uint8_t 11634 Fpad0 uint8_t 11635 Flength uint16_t 11636 Fwindow xcb_window_t 11637 Fparent xcb_window_t 11638 Fx int16_t 11639 Fy int16_t 11640 } /* xproto.h:1654:9 */ 11641 11642 //* Opcode for xcb_reparent_window. 11643 11644 // * 11645 // @brief xcb_reparent_window_request_t 11646 // 11647 type xcb_reparent_window_request_t = xcb_reparent_window_request_t1 /* xproto.h:1662:3 */ 11648 11649 //* Opcode for xcb_map_window. 11650 11651 // * 11652 // @brief xcb_map_window_request_t 11653 // 11654 type xcb_map_window_request_t1 = struct { 11655 Fmajor_opcode uint8_t 11656 Fpad0 uint8_t 11657 Flength uint16_t 11658 Fwindow xcb_window_t 11659 } /* xproto.h:1670:9 */ 11660 11661 //* Opcode for xcb_map_window. 11662 11663 // * 11664 // @brief xcb_map_window_request_t 11665 // 11666 type xcb_map_window_request_t = xcb_map_window_request_t1 /* xproto.h:1675:3 */ 11667 11668 //* Opcode for xcb_map_subwindows. 11669 11670 // * 11671 // @brief xcb_map_subwindows_request_t 11672 // 11673 type xcb_map_subwindows_request_t1 = struct { 11674 Fmajor_opcode uint8_t 11675 Fpad0 uint8_t 11676 Flength uint16_t 11677 Fwindow xcb_window_t 11678 } /* xproto.h:1683:9 */ 11679 11680 //* Opcode for xcb_map_subwindows. 11681 11682 // * 11683 // @brief xcb_map_subwindows_request_t 11684 // 11685 type xcb_map_subwindows_request_t = xcb_map_subwindows_request_t1 /* xproto.h:1688:3 */ 11686 11687 //* Opcode for xcb_unmap_window. 11688 11689 // * 11690 // @brief xcb_unmap_window_request_t 11691 // 11692 type xcb_unmap_window_request_t1 = struct { 11693 Fmajor_opcode uint8_t 11694 Fpad0 uint8_t 11695 Flength uint16_t 11696 Fwindow xcb_window_t 11697 } /* xproto.h:1696:9 */ 11698 11699 //* Opcode for xcb_unmap_window. 11700 11701 // * 11702 // @brief xcb_unmap_window_request_t 11703 // 11704 type xcb_unmap_window_request_t = xcb_unmap_window_request_t1 /* xproto.h:1701:3 */ 11705 11706 //* Opcode for xcb_unmap_subwindows. 11707 11708 // * 11709 // @brief xcb_unmap_subwindows_request_t 11710 // 11711 type xcb_unmap_subwindows_request_t1 = struct { 11712 Fmajor_opcode uint8_t 11713 Fpad0 uint8_t 11714 Flength uint16_t 11715 Fwindow xcb_window_t 11716 } /* xproto.h:1709:9 */ 11717 11718 //* Opcode for xcb_unmap_subwindows. 11719 11720 // * 11721 // @brief xcb_unmap_subwindows_request_t 11722 // 11723 type xcb_unmap_subwindows_request_t = xcb_unmap_subwindows_request_t1 /* xproto.h:1714:3 */ 11724 11725 type xcb_config_window_t = uint32 /* xproto.h:1724:3 */ 11726 11727 type xcb_stack_mode_t = uint32 /* xproto.h:1732:3 */ 11728 11729 // * 11730 // @brief xcb_configure_window_value_list_t 11731 // 11732 type xcb_configure_window_value_list_t1 = struct { 11733 Fx int32_t 11734 Fy int32_t 11735 Fwidth uint32_t 11736 Fheight uint32_t 11737 Fborder_width uint32_t 11738 Fsibling xcb_window_t 11739 Fstack_mode uint32_t 11740 } /* xproto.h:1737:9 */ 11741 11742 // * 11743 // @brief xcb_configure_window_value_list_t 11744 // 11745 type xcb_configure_window_value_list_t = xcb_configure_window_value_list_t1 /* xproto.h:1745:3 */ 11746 11747 //* Opcode for xcb_configure_window. 11748 11749 // * 11750 // @brief xcb_configure_window_request_t 11751 // 11752 type xcb_configure_window_request_t1 = struct { 11753 Fmajor_opcode uint8_t 11754 Fpad0 uint8_t 11755 Flength uint16_t 11756 Fwindow xcb_window_t 11757 Fvalue_mask uint16_t 11758 Fpad1 [2]uint8_t 11759 } /* xproto.h:1753:9 */ 11760 11761 //* Opcode for xcb_configure_window. 11762 11763 // * 11764 // @brief xcb_configure_window_request_t 11765 // 11766 type xcb_configure_window_request_t = xcb_configure_window_request_t1 /* xproto.h:1760:3 */ 11767 11768 type xcb_circulate_t = uint32 /* xproto.h:1765:3 */ 11769 11770 //* Opcode for xcb_circulate_window. 11771 11772 // * 11773 // @brief xcb_circulate_window_request_t 11774 // 11775 type xcb_circulate_window_request_t1 = struct { 11776 Fmajor_opcode uint8_t 11777 Fdirection uint8_t 11778 Flength uint16_t 11779 Fwindow xcb_window_t 11780 } /* xproto.h:1773:9 */ 11781 11782 //* Opcode for xcb_circulate_window. 11783 11784 // * 11785 // @brief xcb_circulate_window_request_t 11786 // 11787 type xcb_circulate_window_request_t = xcb_circulate_window_request_t1 /* xproto.h:1778:3 */ 11788 11789 // * 11790 // @brief xcb_get_geometry_cookie_t 11791 // 11792 type xcb_get_geometry_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1783:9 */ 11793 11794 // * 11795 // @brief xcb_get_geometry_cookie_t 11796 // 11797 type xcb_get_geometry_cookie_t = xcb_get_geometry_cookie_t1 /* xproto.h:1785:3 */ 11798 11799 //* Opcode for xcb_get_geometry. 11800 11801 // * 11802 // @brief xcb_get_geometry_request_t 11803 // 11804 type xcb_get_geometry_request_t1 = struct { 11805 Fmajor_opcode uint8_t 11806 Fpad0 uint8_t 11807 Flength uint16_t 11808 Fdrawable xcb_drawable_t 11809 } /* xproto.h:1793:9 */ 11810 11811 //* Opcode for xcb_get_geometry. 11812 11813 // * 11814 // @brief xcb_get_geometry_request_t 11815 // 11816 type xcb_get_geometry_request_t = xcb_get_geometry_request_t1 /* xproto.h:1798:3 */ 11817 11818 // * 11819 // @brief xcb_get_geometry_reply_t 11820 // 11821 type xcb_get_geometry_reply_t1 = struct { 11822 Fresponse_type uint8_t 11823 Fdepth uint8_t 11824 Fsequence uint16_t 11825 Flength uint32_t 11826 Froot xcb_window_t 11827 Fx int16_t 11828 Fy int16_t 11829 Fwidth uint16_t 11830 Fheight uint16_t 11831 Fborder_width uint16_t 11832 Fpad0 [2]uint8_t 11833 } /* xproto.h:1803:9 */ 11834 11835 // * 11836 // @brief xcb_get_geometry_reply_t 11837 // 11838 type xcb_get_geometry_reply_t = xcb_get_geometry_reply_t1 /* xproto.h:1815:3 */ 11839 11840 // * 11841 // @brief xcb_query_tree_cookie_t 11842 // 11843 type xcb_query_tree_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1820:9 */ 11844 11845 // * 11846 // @brief xcb_query_tree_cookie_t 11847 // 11848 type xcb_query_tree_cookie_t = xcb_query_tree_cookie_t1 /* xproto.h:1822:3 */ 11849 11850 //* Opcode for xcb_query_tree. 11851 11852 // * 11853 // @brief xcb_query_tree_request_t 11854 // 11855 type xcb_query_tree_request_t1 = struct { 11856 Fmajor_opcode uint8_t 11857 Fpad0 uint8_t 11858 Flength uint16_t 11859 Fwindow xcb_window_t 11860 } /* xproto.h:1830:9 */ 11861 11862 //* Opcode for xcb_query_tree. 11863 11864 // * 11865 // @brief xcb_query_tree_request_t 11866 // 11867 type xcb_query_tree_request_t = xcb_query_tree_request_t1 /* xproto.h:1835:3 */ 11868 11869 // * 11870 // @brief xcb_query_tree_reply_t 11871 // 11872 type xcb_query_tree_reply_t1 = struct { 11873 Fresponse_type uint8_t 11874 Fpad0 uint8_t 11875 Fsequence uint16_t 11876 Flength uint32_t 11877 Froot xcb_window_t 11878 Fparent xcb_window_t 11879 Fchildren_len uint16_t 11880 Fpad1 [14]uint8_t 11881 } /* xproto.h:1840:9 */ 11882 11883 // * 11884 // @brief xcb_query_tree_reply_t 11885 // 11886 type xcb_query_tree_reply_t = xcb_query_tree_reply_t1 /* xproto.h:1849:3 */ 11887 11888 // * 11889 // @brief xcb_intern_atom_cookie_t 11890 // 11891 type xcb_intern_atom_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1854:9 */ 11892 11893 // * 11894 // @brief xcb_intern_atom_cookie_t 11895 // 11896 type xcb_intern_atom_cookie_t = xcb_intern_atom_cookie_t1 /* xproto.h:1856:3 */ 11897 11898 //* Opcode for xcb_intern_atom. 11899 11900 // * 11901 // @brief xcb_intern_atom_request_t 11902 // 11903 type xcb_intern_atom_request_t1 = struct { 11904 Fmajor_opcode uint8_t 11905 Fonly_if_exists uint8_t 11906 Flength uint16_t 11907 Fname_len uint16_t 11908 Fpad0 [2]uint8_t 11909 } /* xproto.h:1864:9 */ 11910 11911 //* Opcode for xcb_intern_atom. 11912 11913 // * 11914 // @brief xcb_intern_atom_request_t 11915 // 11916 type xcb_intern_atom_request_t = xcb_intern_atom_request_t1 /* xproto.h:1870:3 */ 11917 11918 // * 11919 // @brief xcb_intern_atom_reply_t 11920 // 11921 type xcb_intern_atom_reply_t1 = struct { 11922 Fresponse_type uint8_t 11923 Fpad0 uint8_t 11924 Fsequence uint16_t 11925 Flength uint32_t 11926 Fatom xcb_atom_t 11927 } /* xproto.h:1875:9 */ 11928 11929 // * 11930 // @brief xcb_intern_atom_reply_t 11931 // 11932 type xcb_intern_atom_reply_t = xcb_intern_atom_reply_t1 /* xproto.h:1881:3 */ 11933 11934 // * 11935 // @brief xcb_get_atom_name_cookie_t 11936 // 11937 type xcb_get_atom_name_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1886:9 */ 11938 11939 // * 11940 // @brief xcb_get_atom_name_cookie_t 11941 // 11942 type xcb_get_atom_name_cookie_t = xcb_get_atom_name_cookie_t1 /* xproto.h:1888:3 */ 11943 11944 //* Opcode for xcb_get_atom_name. 11945 11946 // * 11947 // @brief xcb_get_atom_name_request_t 11948 // 11949 type xcb_get_atom_name_request_t1 = struct { 11950 Fmajor_opcode uint8_t 11951 Fpad0 uint8_t 11952 Flength uint16_t 11953 Fatom xcb_atom_t 11954 } /* xproto.h:1896:9 */ 11955 11956 //* Opcode for xcb_get_atom_name. 11957 11958 // * 11959 // @brief xcb_get_atom_name_request_t 11960 // 11961 type xcb_get_atom_name_request_t = xcb_get_atom_name_request_t1 /* xproto.h:1901:3 */ 11962 11963 // * 11964 // @brief xcb_get_atom_name_reply_t 11965 // 11966 type xcb_get_atom_name_reply_t1 = struct { 11967 Fresponse_type uint8_t 11968 Fpad0 uint8_t 11969 Fsequence uint16_t 11970 Flength uint32_t 11971 Fname_len uint16_t 11972 Fpad1 [22]uint8_t 11973 } /* xproto.h:1906:9 */ 11974 11975 // * 11976 // @brief xcb_get_atom_name_reply_t 11977 // 11978 type xcb_get_atom_name_reply_t = xcb_get_atom_name_reply_t1 /* xproto.h:1913:3 */ 11979 11980 type xcb_prop_mode_t = uint32 /* xproto.h:1929:3 */ 11981 11982 //* Opcode for xcb_change_property. 11983 11984 // * 11985 // @brief xcb_change_property_request_t 11986 // 11987 type xcb_change_property_request_t1 = struct { 11988 Fmajor_opcode uint8_t 11989 Fmode uint8_t 11990 Flength uint16_t 11991 Fwindow xcb_window_t 11992 Fproperty xcb_atom_t 11993 Ftype xcb_atom_t 11994 Fformat uint8_t 11995 Fpad0 [3]uint8_t 11996 Fdata_len uint32_t 11997 } /* xproto.h:1937:9 */ 11998 11999 //* Opcode for xcb_change_property. 12000 12001 // * 12002 // @brief xcb_change_property_request_t 12003 // 12004 type xcb_change_property_request_t = xcb_change_property_request_t1 /* xproto.h:1947:3 */ 12005 12006 //* Opcode for xcb_delete_property. 12007 12008 // * 12009 // @brief xcb_delete_property_request_t 12010 // 12011 type xcb_delete_property_request_t1 = struct { 12012 Fmajor_opcode uint8_t 12013 Fpad0 uint8_t 12014 Flength uint16_t 12015 Fwindow xcb_window_t 12016 Fproperty xcb_atom_t 12017 } /* xproto.h:1955:9 */ 12018 12019 //* Opcode for xcb_delete_property. 12020 12021 // * 12022 // @brief xcb_delete_property_request_t 12023 // 12024 type xcb_delete_property_request_t = xcb_delete_property_request_t1 /* xproto.h:1961:3 */ 12025 12026 type xcb_get_property_type_t = uint32 /* xproto.h:1965:3 */ 12027 12028 // * 12029 // @brief xcb_get_property_cookie_t 12030 // 12031 type xcb_get_property_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1970:9 */ 12032 12033 // * 12034 // @brief xcb_get_property_cookie_t 12035 // 12036 type xcb_get_property_cookie_t = xcb_get_property_cookie_t1 /* xproto.h:1972:3 */ 12037 12038 //* Opcode for xcb_get_property. 12039 12040 // * 12041 // @brief xcb_get_property_request_t 12042 // 12043 type xcb_get_property_request_t1 = struct { 12044 Fmajor_opcode uint8_t 12045 F_delete uint8_t 12046 Flength uint16_t 12047 Fwindow xcb_window_t 12048 Fproperty xcb_atom_t 12049 Ftype xcb_atom_t 12050 Flong_offset uint32_t 12051 Flong_length uint32_t 12052 } /* xproto.h:1980:9 */ 12053 12054 //* Opcode for xcb_get_property. 12055 12056 // * 12057 // @brief xcb_get_property_request_t 12058 // 12059 type xcb_get_property_request_t = xcb_get_property_request_t1 /* xproto.h:1989:3 */ 12060 12061 // * 12062 // @brief xcb_get_property_reply_t 12063 // 12064 type xcb_get_property_reply_t1 = struct { 12065 Fresponse_type uint8_t 12066 Fformat uint8_t 12067 Fsequence uint16_t 12068 Flength uint32_t 12069 Ftype xcb_atom_t 12070 Fbytes_after uint32_t 12071 Fvalue_len uint32_t 12072 Fpad0 [12]uint8_t 12073 } /* xproto.h:1994:9 */ 12074 12075 // * 12076 // @brief xcb_get_property_reply_t 12077 // 12078 type xcb_get_property_reply_t = xcb_get_property_reply_t1 /* xproto.h:2003:3 */ 12079 12080 // * 12081 // @brief xcb_list_properties_cookie_t 12082 // 12083 type xcb_list_properties_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2008:9 */ 12084 12085 // * 12086 // @brief xcb_list_properties_cookie_t 12087 // 12088 type xcb_list_properties_cookie_t = xcb_list_properties_cookie_t1 /* xproto.h:2010:3 */ 12089 12090 //* Opcode for xcb_list_properties. 12091 12092 // * 12093 // @brief xcb_list_properties_request_t 12094 // 12095 type xcb_list_properties_request_t1 = struct { 12096 Fmajor_opcode uint8_t 12097 Fpad0 uint8_t 12098 Flength uint16_t 12099 Fwindow xcb_window_t 12100 } /* xproto.h:2018:9 */ 12101 12102 //* Opcode for xcb_list_properties. 12103 12104 // * 12105 // @brief xcb_list_properties_request_t 12106 // 12107 type xcb_list_properties_request_t = xcb_list_properties_request_t1 /* xproto.h:2023:3 */ 12108 12109 // * 12110 // @brief xcb_list_properties_reply_t 12111 // 12112 type xcb_list_properties_reply_t1 = struct { 12113 Fresponse_type uint8_t 12114 Fpad0 uint8_t 12115 Fsequence uint16_t 12116 Flength uint32_t 12117 Fatoms_len uint16_t 12118 Fpad1 [22]uint8_t 12119 } /* xproto.h:2028:9 */ 12120 12121 // * 12122 // @brief xcb_list_properties_reply_t 12123 // 12124 type xcb_list_properties_reply_t = xcb_list_properties_reply_t1 /* xproto.h:2035:3 */ 12125 12126 //* Opcode for xcb_set_selection_owner. 12127 12128 // * 12129 // @brief xcb_set_selection_owner_request_t 12130 // 12131 type xcb_set_selection_owner_request_t1 = struct { 12132 Fmajor_opcode uint8_t 12133 Fpad0 uint8_t 12134 Flength uint16_t 12135 Fowner xcb_window_t 12136 Fselection xcb_atom_t 12137 Ftime xcb_timestamp_t 12138 } /* xproto.h:2043:9 */ 12139 12140 //* Opcode for xcb_set_selection_owner. 12141 12142 // * 12143 // @brief xcb_set_selection_owner_request_t 12144 // 12145 type xcb_set_selection_owner_request_t = xcb_set_selection_owner_request_t1 /* xproto.h:2050:3 */ 12146 12147 // * 12148 // @brief xcb_get_selection_owner_cookie_t 12149 // 12150 type xcb_get_selection_owner_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2055:9 */ 12151 12152 // * 12153 // @brief xcb_get_selection_owner_cookie_t 12154 // 12155 type xcb_get_selection_owner_cookie_t = xcb_get_selection_owner_cookie_t1 /* xproto.h:2057:3 */ 12156 12157 //* Opcode for xcb_get_selection_owner. 12158 12159 // * 12160 // @brief xcb_get_selection_owner_request_t 12161 // 12162 type xcb_get_selection_owner_request_t1 = struct { 12163 Fmajor_opcode uint8_t 12164 Fpad0 uint8_t 12165 Flength uint16_t 12166 Fselection xcb_atom_t 12167 } /* xproto.h:2065:9 */ 12168 12169 //* Opcode for xcb_get_selection_owner. 12170 12171 // * 12172 // @brief xcb_get_selection_owner_request_t 12173 // 12174 type xcb_get_selection_owner_request_t = xcb_get_selection_owner_request_t1 /* xproto.h:2070:3 */ 12175 12176 // * 12177 // @brief xcb_get_selection_owner_reply_t 12178 // 12179 type xcb_get_selection_owner_reply_t1 = struct { 12180 Fresponse_type uint8_t 12181 Fpad0 uint8_t 12182 Fsequence uint16_t 12183 Flength uint32_t 12184 Fowner xcb_window_t 12185 } /* xproto.h:2075:9 */ 12186 12187 // * 12188 // @brief xcb_get_selection_owner_reply_t 12189 // 12190 type xcb_get_selection_owner_reply_t = xcb_get_selection_owner_reply_t1 /* xproto.h:2081:3 */ 12191 12192 //* Opcode for xcb_convert_selection. 12193 12194 // * 12195 // @brief xcb_convert_selection_request_t 12196 // 12197 type xcb_convert_selection_request_t1 = struct { 12198 Fmajor_opcode uint8_t 12199 Fpad0 uint8_t 12200 Flength uint16_t 12201 Frequestor xcb_window_t 12202 Fselection xcb_atom_t 12203 Ftarget xcb_atom_t 12204 Fproperty xcb_atom_t 12205 Ftime xcb_timestamp_t 12206 } /* xproto.h:2089:9 */ 12207 12208 //* Opcode for xcb_convert_selection. 12209 12210 // * 12211 // @brief xcb_convert_selection_request_t 12212 // 12213 type xcb_convert_selection_request_t = xcb_convert_selection_request_t1 /* xproto.h:2098:3 */ 12214 12215 type xcb_send_event_dest_t = uint32 /* xproto.h:2103:3 */ 12216 12217 //* Opcode for xcb_send_event. 12218 12219 // * 12220 // @brief xcb_send_event_request_t 12221 // 12222 type xcb_send_event_request_t1 = struct { 12223 Fmajor_opcode uint8_t 12224 Fpropagate uint8_t 12225 Flength uint16_t 12226 Fdestination xcb_window_t 12227 Fevent_mask uint32_t 12228 Fevent [32]int8 12229 } /* xproto.h:2111:9 */ 12230 12231 //* Opcode for xcb_send_event. 12232 12233 // * 12234 // @brief xcb_send_event_request_t 12235 // 12236 type xcb_send_event_request_t = xcb_send_event_request_t1 /* xproto.h:2118:3 */ 12237 12238 type xcb_grab_mode_t = uint32 /* xproto.h:2129:3 */ 12239 12240 type xcb_grab_status_t = uint32 /* xproto.h:2137:3 */ 12241 12242 type xcb_cursor_enum_t = uint32 /* xproto.h:2141:3 */ 12243 12244 // * 12245 // @brief xcb_grab_pointer_cookie_t 12246 // 12247 type xcb_grab_pointer_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2146:9 */ 12248 12249 // * 12250 // @brief xcb_grab_pointer_cookie_t 12251 // 12252 type xcb_grab_pointer_cookie_t = xcb_grab_pointer_cookie_t1 /* xproto.h:2148:3 */ 12253 12254 //* Opcode for xcb_grab_pointer. 12255 12256 // * 12257 // @brief xcb_grab_pointer_request_t 12258 // 12259 type xcb_grab_pointer_request_t1 = struct { 12260 Fmajor_opcode uint8_t 12261 Fowner_events uint8_t 12262 Flength uint16_t 12263 Fgrab_window xcb_window_t 12264 Fevent_mask uint16_t 12265 Fpointer_mode uint8_t 12266 Fkeyboard_mode uint8_t 12267 Fconfine_to xcb_window_t 12268 Fcursor xcb_cursor_t 12269 Ftime xcb_timestamp_t 12270 } /* xproto.h:2156:9 */ 12271 12272 //* Opcode for xcb_grab_pointer. 12273 12274 // * 12275 // @brief xcb_grab_pointer_request_t 12276 // 12277 type xcb_grab_pointer_request_t = xcb_grab_pointer_request_t1 /* xproto.h:2167:3 */ 12278 12279 // * 12280 // @brief xcb_grab_pointer_reply_t 12281 // 12282 type xcb_grab_pointer_reply_t1 = struct { 12283 Fresponse_type uint8_t 12284 Fstatus uint8_t 12285 Fsequence uint16_t 12286 Flength uint32_t 12287 } /* xproto.h:2172:9 */ 12288 12289 // * 12290 // @brief xcb_grab_pointer_reply_t 12291 // 12292 type xcb_grab_pointer_reply_t = xcb_grab_pointer_reply_t1 /* xproto.h:2177:3 */ 12293 12294 //* Opcode for xcb_ungrab_pointer. 12295 12296 // * 12297 // @brief xcb_ungrab_pointer_request_t 12298 // 12299 type xcb_ungrab_pointer_request_t1 = struct { 12300 Fmajor_opcode uint8_t 12301 Fpad0 uint8_t 12302 Flength uint16_t 12303 Ftime xcb_timestamp_t 12304 } /* xproto.h:2185:9 */ 12305 12306 //* Opcode for xcb_ungrab_pointer. 12307 12308 // * 12309 // @brief xcb_ungrab_pointer_request_t 12310 // 12311 type xcb_ungrab_pointer_request_t = xcb_ungrab_pointer_request_t1 /* xproto.h:2190:3 */ 12312 12313 type xcb_button_index_t = uint32 /* xproto.h:2211:3 */ 12314 12315 //* Opcode for xcb_grab_button. 12316 12317 // * 12318 // @brief xcb_grab_button_request_t 12319 // 12320 type xcb_grab_button_request_t1 = struct { 12321 Fmajor_opcode uint8_t 12322 Fowner_events uint8_t 12323 Flength uint16_t 12324 Fgrab_window xcb_window_t 12325 Fevent_mask uint16_t 12326 Fpointer_mode uint8_t 12327 Fkeyboard_mode uint8_t 12328 Fconfine_to xcb_window_t 12329 Fcursor xcb_cursor_t 12330 Fbutton uint8_t 12331 Fpad0 uint8_t 12332 Fmodifiers uint16_t 12333 } /* xproto.h:2219:9 */ 12334 12335 //* Opcode for xcb_grab_button. 12336 12337 // * 12338 // @brief xcb_grab_button_request_t 12339 // 12340 type xcb_grab_button_request_t = xcb_grab_button_request_t1 /* xproto.h:2232:3 */ 12341 12342 //* Opcode for xcb_ungrab_button. 12343 12344 // * 12345 // @brief xcb_ungrab_button_request_t 12346 // 12347 type xcb_ungrab_button_request_t1 = struct { 12348 Fmajor_opcode uint8_t 12349 Fbutton uint8_t 12350 Flength uint16_t 12351 Fgrab_window xcb_window_t 12352 Fmodifiers uint16_t 12353 Fpad0 [2]uint8_t 12354 } /* xproto.h:2240:9 */ 12355 12356 //* Opcode for xcb_ungrab_button. 12357 12358 // * 12359 // @brief xcb_ungrab_button_request_t 12360 // 12361 type xcb_ungrab_button_request_t = xcb_ungrab_button_request_t1 /* xproto.h:2247:3 */ 12362 12363 //* Opcode for xcb_change_active_pointer_grab. 12364 12365 // * 12366 // @brief xcb_change_active_pointer_grab_request_t 12367 // 12368 type xcb_change_active_pointer_grab_request_t1 = struct { 12369 Fmajor_opcode uint8_t 12370 Fpad0 uint8_t 12371 Flength uint16_t 12372 Fcursor xcb_cursor_t 12373 Ftime xcb_timestamp_t 12374 Fevent_mask uint16_t 12375 Fpad1 [2]uint8_t 12376 } /* xproto.h:2255:9 */ 12377 12378 //* Opcode for xcb_change_active_pointer_grab. 12379 12380 // * 12381 // @brief xcb_change_active_pointer_grab_request_t 12382 // 12383 type xcb_change_active_pointer_grab_request_t = xcb_change_active_pointer_grab_request_t1 /* xproto.h:2263:3 */ 12384 12385 // * 12386 // @brief xcb_grab_keyboard_cookie_t 12387 // 12388 type xcb_grab_keyboard_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2268:9 */ 12389 12390 // * 12391 // @brief xcb_grab_keyboard_cookie_t 12392 // 12393 type xcb_grab_keyboard_cookie_t = xcb_grab_keyboard_cookie_t1 /* xproto.h:2270:3 */ 12394 12395 //* Opcode for xcb_grab_keyboard. 12396 12397 // * 12398 // @brief xcb_grab_keyboard_request_t 12399 // 12400 type xcb_grab_keyboard_request_t1 = struct { 12401 Fmajor_opcode uint8_t 12402 Fowner_events uint8_t 12403 Flength uint16_t 12404 Fgrab_window xcb_window_t 12405 Ftime xcb_timestamp_t 12406 Fpointer_mode uint8_t 12407 Fkeyboard_mode uint8_t 12408 Fpad0 [2]uint8_t 12409 } /* xproto.h:2278:9 */ 12410 12411 //* Opcode for xcb_grab_keyboard. 12412 12413 // * 12414 // @brief xcb_grab_keyboard_request_t 12415 // 12416 type xcb_grab_keyboard_request_t = xcb_grab_keyboard_request_t1 /* xproto.h:2287:3 */ 12417 12418 // * 12419 // @brief xcb_grab_keyboard_reply_t 12420 // 12421 type xcb_grab_keyboard_reply_t1 = struct { 12422 Fresponse_type uint8_t 12423 Fstatus uint8_t 12424 Fsequence uint16_t 12425 Flength uint32_t 12426 } /* xproto.h:2292:9 */ 12427 12428 // * 12429 // @brief xcb_grab_keyboard_reply_t 12430 // 12431 type xcb_grab_keyboard_reply_t = xcb_grab_keyboard_reply_t1 /* xproto.h:2297:3 */ 12432 12433 //* Opcode for xcb_ungrab_keyboard. 12434 12435 // * 12436 // @brief xcb_ungrab_keyboard_request_t 12437 // 12438 type xcb_ungrab_keyboard_request_t1 = struct { 12439 Fmajor_opcode uint8_t 12440 Fpad0 uint8_t 12441 Flength uint16_t 12442 Ftime xcb_timestamp_t 12443 } /* xproto.h:2305:9 */ 12444 12445 //* Opcode for xcb_ungrab_keyboard. 12446 12447 // * 12448 // @brief xcb_ungrab_keyboard_request_t 12449 // 12450 type xcb_ungrab_keyboard_request_t = xcb_ungrab_keyboard_request_t1 /* xproto.h:2310:3 */ 12451 12452 type xcb_grab_t = uint32 /* xproto.h:2314:3 */ 12453 12454 //* Opcode for xcb_grab_key. 12455 12456 // * 12457 // @brief xcb_grab_key_request_t 12458 // 12459 type xcb_grab_key_request_t1 = struct { 12460 Fmajor_opcode uint8_t 12461 Fowner_events uint8_t 12462 Flength uint16_t 12463 Fgrab_window xcb_window_t 12464 Fmodifiers uint16_t 12465 Fkey xcb_keycode_t 12466 Fpointer_mode uint8_t 12467 Fkeyboard_mode uint8_t 12468 Fpad0 [3]uint8_t 12469 } /* xproto.h:2322:9 */ 12470 12471 //* Opcode for xcb_grab_key. 12472 12473 // * 12474 // @brief xcb_grab_key_request_t 12475 // 12476 type xcb_grab_key_request_t = xcb_grab_key_request_t1 /* xproto.h:2332:3 */ 12477 12478 //* Opcode for xcb_ungrab_key. 12479 12480 // * 12481 // @brief xcb_ungrab_key_request_t 12482 // 12483 type xcb_ungrab_key_request_t1 = struct { 12484 Fmajor_opcode uint8_t 12485 Fkey xcb_keycode_t 12486 Flength uint16_t 12487 Fgrab_window xcb_window_t 12488 Fmodifiers uint16_t 12489 Fpad0 [2]uint8_t 12490 } /* xproto.h:2340:9 */ 12491 12492 //* Opcode for xcb_ungrab_key. 12493 12494 // * 12495 // @brief xcb_ungrab_key_request_t 12496 // 12497 type xcb_ungrab_key_request_t = xcb_ungrab_key_request_t1 /* xproto.h:2347:3 */ 12498 12499 type xcb_allow_t = uint32 /* xproto.h:2423:3 */ 12500 12501 //* Opcode for xcb_allow_events. 12502 12503 // * 12504 // @brief xcb_allow_events_request_t 12505 // 12506 type xcb_allow_events_request_t1 = struct { 12507 Fmajor_opcode uint8_t 12508 Fmode uint8_t 12509 Flength uint16_t 12510 Ftime xcb_timestamp_t 12511 } /* xproto.h:2431:9 */ 12512 12513 //* Opcode for xcb_allow_events. 12514 12515 // * 12516 // @brief xcb_allow_events_request_t 12517 // 12518 type xcb_allow_events_request_t = xcb_allow_events_request_t1 /* xproto.h:2436:3 */ 12519 12520 //* Opcode for xcb_grab_server. 12521 12522 // * 12523 // @brief xcb_grab_server_request_t 12524 // 12525 type xcb_grab_server_request_t1 = struct { 12526 Fmajor_opcode uint8_t 12527 Fpad0 uint8_t 12528 Flength uint16_t 12529 } /* xproto.h:2444:9 */ 12530 12531 //* Opcode for xcb_grab_server. 12532 12533 // * 12534 // @brief xcb_grab_server_request_t 12535 // 12536 type xcb_grab_server_request_t = xcb_grab_server_request_t1 /* xproto.h:2448:3 */ 12537 12538 //* Opcode for xcb_ungrab_server. 12539 12540 // * 12541 // @brief xcb_ungrab_server_request_t 12542 // 12543 type xcb_ungrab_server_request_t1 = struct { 12544 Fmajor_opcode uint8_t 12545 Fpad0 uint8_t 12546 Flength uint16_t 12547 } /* xproto.h:2456:9 */ 12548 12549 //* Opcode for xcb_ungrab_server. 12550 12551 // * 12552 // @brief xcb_ungrab_server_request_t 12553 // 12554 type xcb_ungrab_server_request_t = xcb_ungrab_server_request_t1 /* xproto.h:2460:3 */ 12555 12556 // * 12557 // @brief xcb_query_pointer_cookie_t 12558 // 12559 type xcb_query_pointer_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2465:9 */ 12560 12561 // * 12562 // @brief xcb_query_pointer_cookie_t 12563 // 12564 type xcb_query_pointer_cookie_t = xcb_query_pointer_cookie_t1 /* xproto.h:2467:3 */ 12565 12566 //* Opcode for xcb_query_pointer. 12567 12568 // * 12569 // @brief xcb_query_pointer_request_t 12570 // 12571 type xcb_query_pointer_request_t1 = struct { 12572 Fmajor_opcode uint8_t 12573 Fpad0 uint8_t 12574 Flength uint16_t 12575 Fwindow xcb_window_t 12576 } /* xproto.h:2475:9 */ 12577 12578 //* Opcode for xcb_query_pointer. 12579 12580 // * 12581 // @brief xcb_query_pointer_request_t 12582 // 12583 type xcb_query_pointer_request_t = xcb_query_pointer_request_t1 /* xproto.h:2480:3 */ 12584 12585 // * 12586 // @brief xcb_query_pointer_reply_t 12587 // 12588 type xcb_query_pointer_reply_t1 = struct { 12589 Fresponse_type uint8_t 12590 Fsame_screen uint8_t 12591 Fsequence uint16_t 12592 Flength uint32_t 12593 Froot xcb_window_t 12594 Fchild xcb_window_t 12595 Froot_x int16_t 12596 Froot_y int16_t 12597 Fwin_x int16_t 12598 Fwin_y int16_t 12599 Fmask uint16_t 12600 Fpad0 [2]uint8_t 12601 } /* xproto.h:2485:9 */ 12602 12603 // * 12604 // @brief xcb_query_pointer_reply_t 12605 // 12606 type xcb_query_pointer_reply_t = xcb_query_pointer_reply_t1 /* xproto.h:2498:3 */ 12607 12608 // * 12609 // @brief xcb_timecoord_t 12610 // 12611 type xcb_timecoord_t1 = struct { 12612 Ftime xcb_timestamp_t 12613 Fx int16_t 12614 Fy int16_t 12615 } /* xproto.h:2503:9 */ 12616 12617 // * 12618 // @brief xcb_timecoord_t 12619 // 12620 type xcb_timecoord_t = xcb_timecoord_t1 /* xproto.h:2507:3 */ 12621 12622 // * 12623 // @brief xcb_timecoord_iterator_t 12624 // 12625 type xcb_timecoord_iterator_t1 = struct { 12626 Fdata uintptr 12627 Frem int32 12628 Findex int32 12629 } /* xproto.h:2512:9 */ 12630 12631 // * 12632 // @brief xcb_timecoord_iterator_t 12633 // 12634 type xcb_timecoord_iterator_t = xcb_timecoord_iterator_t1 /* xproto.h:2516:3 */ 12635 12636 // * 12637 // @brief xcb_get_motion_events_cookie_t 12638 // 12639 type xcb_get_motion_events_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2521:9 */ 12640 12641 // * 12642 // @brief xcb_get_motion_events_cookie_t 12643 // 12644 type xcb_get_motion_events_cookie_t = xcb_get_motion_events_cookie_t1 /* xproto.h:2523:3 */ 12645 12646 //* Opcode for xcb_get_motion_events. 12647 12648 // * 12649 // @brief xcb_get_motion_events_request_t 12650 // 12651 type xcb_get_motion_events_request_t1 = struct { 12652 Fmajor_opcode uint8_t 12653 Fpad0 uint8_t 12654 Flength uint16_t 12655 Fwindow xcb_window_t 12656 Fstart xcb_timestamp_t 12657 Fstop xcb_timestamp_t 12658 } /* xproto.h:2531:9 */ 12659 12660 //* Opcode for xcb_get_motion_events. 12661 12662 // * 12663 // @brief xcb_get_motion_events_request_t 12664 // 12665 type xcb_get_motion_events_request_t = xcb_get_motion_events_request_t1 /* xproto.h:2538:3 */ 12666 12667 // * 12668 // @brief xcb_get_motion_events_reply_t 12669 // 12670 type xcb_get_motion_events_reply_t1 = struct { 12671 Fresponse_type uint8_t 12672 Fpad0 uint8_t 12673 Fsequence uint16_t 12674 Flength uint32_t 12675 Fevents_len uint32_t 12676 Fpad1 [20]uint8_t 12677 } /* xproto.h:2543:9 */ 12678 12679 // * 12680 // @brief xcb_get_motion_events_reply_t 12681 // 12682 type xcb_get_motion_events_reply_t = xcb_get_motion_events_reply_t1 /* xproto.h:2550:3 */ 12683 12684 // * 12685 // @brief xcb_translate_coordinates_cookie_t 12686 // 12687 type xcb_translate_coordinates_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2555:9 */ 12688 12689 // * 12690 // @brief xcb_translate_coordinates_cookie_t 12691 // 12692 type xcb_translate_coordinates_cookie_t = xcb_translate_coordinates_cookie_t1 /* xproto.h:2557:3 */ 12693 12694 //* Opcode for xcb_translate_coordinates. 12695 12696 // * 12697 // @brief xcb_translate_coordinates_request_t 12698 // 12699 type xcb_translate_coordinates_request_t1 = struct { 12700 Fmajor_opcode uint8_t 12701 Fpad0 uint8_t 12702 Flength uint16_t 12703 Fsrc_window xcb_window_t 12704 Fdst_window xcb_window_t 12705 Fsrc_x int16_t 12706 Fsrc_y int16_t 12707 } /* xproto.h:2565:9 */ 12708 12709 //* Opcode for xcb_translate_coordinates. 12710 12711 // * 12712 // @brief xcb_translate_coordinates_request_t 12713 // 12714 type xcb_translate_coordinates_request_t = xcb_translate_coordinates_request_t1 /* xproto.h:2573:3 */ 12715 12716 // * 12717 // @brief xcb_translate_coordinates_reply_t 12718 // 12719 type xcb_translate_coordinates_reply_t1 = struct { 12720 Fresponse_type uint8_t 12721 Fsame_screen uint8_t 12722 Fsequence uint16_t 12723 Flength uint32_t 12724 Fchild xcb_window_t 12725 Fdst_x int16_t 12726 Fdst_y int16_t 12727 } /* xproto.h:2578:9 */ 12728 12729 // * 12730 // @brief xcb_translate_coordinates_reply_t 12731 // 12732 type xcb_translate_coordinates_reply_t = xcb_translate_coordinates_reply_t1 /* xproto.h:2586:3 */ 12733 12734 //* Opcode for xcb_warp_pointer. 12735 12736 // * 12737 // @brief xcb_warp_pointer_request_t 12738 // 12739 type xcb_warp_pointer_request_t1 = struct { 12740 Fmajor_opcode uint8_t 12741 Fpad0 uint8_t 12742 Flength uint16_t 12743 Fsrc_window xcb_window_t 12744 Fdst_window xcb_window_t 12745 Fsrc_x int16_t 12746 Fsrc_y int16_t 12747 Fsrc_width uint16_t 12748 Fsrc_height uint16_t 12749 Fdst_x int16_t 12750 Fdst_y int16_t 12751 } /* xproto.h:2594:9 */ 12752 12753 //* Opcode for xcb_warp_pointer. 12754 12755 // * 12756 // @brief xcb_warp_pointer_request_t 12757 // 12758 type xcb_warp_pointer_request_t = xcb_warp_pointer_request_t1 /* xproto.h:2606:3 */ 12759 12760 type xcb_input_focus_t = uint32 /* xproto.h:2624:3 */ 12761 12762 //* Opcode for xcb_set_input_focus. 12763 12764 // * 12765 // @brief xcb_set_input_focus_request_t 12766 // 12767 type xcb_set_input_focus_request_t1 = struct { 12768 Fmajor_opcode uint8_t 12769 Frevert_to uint8_t 12770 Flength uint16_t 12771 Ffocus xcb_window_t 12772 Ftime xcb_timestamp_t 12773 } /* xproto.h:2632:9 */ 12774 12775 //* Opcode for xcb_set_input_focus. 12776 12777 // * 12778 // @brief xcb_set_input_focus_request_t 12779 // 12780 type xcb_set_input_focus_request_t = xcb_set_input_focus_request_t1 /* xproto.h:2638:3 */ 12781 12782 // * 12783 // @brief xcb_get_input_focus_cookie_t 12784 // 12785 type xcb_get_input_focus_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2643:9 */ 12786 12787 // * 12788 // @brief xcb_get_input_focus_cookie_t 12789 // 12790 type xcb_get_input_focus_cookie_t = xcb_get_input_focus_cookie_t1 /* xproto.h:2645:3 */ 12791 12792 //* Opcode for xcb_get_input_focus. 12793 12794 // * 12795 // @brief xcb_get_input_focus_request_t 12796 // 12797 type xcb_get_input_focus_request_t1 = struct { 12798 Fmajor_opcode uint8_t 12799 Fpad0 uint8_t 12800 Flength uint16_t 12801 } /* xproto.h:2653:9 */ 12802 12803 //* Opcode for xcb_get_input_focus. 12804 12805 // * 12806 // @brief xcb_get_input_focus_request_t 12807 // 12808 type xcb_get_input_focus_request_t = xcb_get_input_focus_request_t1 /* xproto.h:2657:3 */ 12809 12810 // * 12811 // @brief xcb_get_input_focus_reply_t 12812 // 12813 type xcb_get_input_focus_reply_t1 = struct { 12814 Fresponse_type uint8_t 12815 Frevert_to uint8_t 12816 Fsequence uint16_t 12817 Flength uint32_t 12818 Ffocus xcb_window_t 12819 } /* xproto.h:2662:9 */ 12820 12821 // * 12822 // @brief xcb_get_input_focus_reply_t 12823 // 12824 type xcb_get_input_focus_reply_t = xcb_get_input_focus_reply_t1 /* xproto.h:2668:3 */ 12825 12826 // * 12827 // @brief xcb_query_keymap_cookie_t 12828 // 12829 type xcb_query_keymap_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2673:9 */ 12830 12831 // * 12832 // @brief xcb_query_keymap_cookie_t 12833 // 12834 type xcb_query_keymap_cookie_t = xcb_query_keymap_cookie_t1 /* xproto.h:2675:3 */ 12835 12836 //* Opcode for xcb_query_keymap. 12837 12838 // * 12839 // @brief xcb_query_keymap_request_t 12840 // 12841 type xcb_query_keymap_request_t1 = struct { 12842 Fmajor_opcode uint8_t 12843 Fpad0 uint8_t 12844 Flength uint16_t 12845 } /* xproto.h:2683:9 */ 12846 12847 //* Opcode for xcb_query_keymap. 12848 12849 // * 12850 // @brief xcb_query_keymap_request_t 12851 // 12852 type xcb_query_keymap_request_t = xcb_query_keymap_request_t1 /* xproto.h:2687:3 */ 12853 12854 // * 12855 // @brief xcb_query_keymap_reply_t 12856 // 12857 type xcb_query_keymap_reply_t1 = struct { 12858 Fresponse_type uint8_t 12859 Fpad0 uint8_t 12860 Fsequence uint16_t 12861 Flength uint32_t 12862 Fkeys [32]uint8_t 12863 } /* xproto.h:2692:9 */ 12864 12865 // * 12866 // @brief xcb_query_keymap_reply_t 12867 // 12868 type xcb_query_keymap_reply_t = xcb_query_keymap_reply_t1 /* xproto.h:2698:3 */ 12869 12870 //* Opcode for xcb_open_font. 12871 12872 // * 12873 // @brief xcb_open_font_request_t 12874 // 12875 type xcb_open_font_request_t1 = struct { 12876 Fmajor_opcode uint8_t 12877 Fpad0 uint8_t 12878 Flength uint16_t 12879 Ffid xcb_font_t 12880 Fname_len uint16_t 12881 Fpad1 [2]uint8_t 12882 } /* xproto.h:2706:9 */ 12883 12884 //* Opcode for xcb_open_font. 12885 12886 // * 12887 // @brief xcb_open_font_request_t 12888 // 12889 type xcb_open_font_request_t = xcb_open_font_request_t1 /* xproto.h:2713:3 */ 12890 12891 //* Opcode for xcb_close_font. 12892 12893 // * 12894 // @brief xcb_close_font_request_t 12895 // 12896 type xcb_close_font_request_t1 = struct { 12897 Fmajor_opcode uint8_t 12898 Fpad0 uint8_t 12899 Flength uint16_t 12900 Ffont xcb_font_t 12901 } /* xproto.h:2721:9 */ 12902 12903 //* Opcode for xcb_close_font. 12904 12905 // * 12906 // @brief xcb_close_font_request_t 12907 // 12908 type xcb_close_font_request_t = xcb_close_font_request_t1 /* xproto.h:2726:3 */ 12909 12910 type xcb_font_draw_t = uint32 /* xproto.h:2731:3 */ 12911 12912 // * 12913 // @brief xcb_fontprop_t 12914 // 12915 type xcb_fontprop_t1 = struct { 12916 Fname xcb_atom_t 12917 Fvalue uint32_t 12918 } /* xproto.h:2736:9 */ 12919 12920 // * 12921 // @brief xcb_fontprop_t 12922 // 12923 type xcb_fontprop_t = xcb_fontprop_t1 /* xproto.h:2739:3 */ 12924 12925 // * 12926 // @brief xcb_fontprop_iterator_t 12927 // 12928 type xcb_fontprop_iterator_t1 = struct { 12929 Fdata uintptr 12930 Frem int32 12931 Findex int32 12932 } /* xproto.h:2744:9 */ 12933 12934 // * 12935 // @brief xcb_fontprop_iterator_t 12936 // 12937 type xcb_fontprop_iterator_t = xcb_fontprop_iterator_t1 /* xproto.h:2748:3 */ 12938 12939 // * 12940 // @brief xcb_charinfo_t 12941 // 12942 type xcb_charinfo_t1 = struct { 12943 Fleft_side_bearing int16_t 12944 Fright_side_bearing int16_t 12945 Fcharacter_width int16_t 12946 Fascent int16_t 12947 Fdescent int16_t 12948 Fattributes uint16_t 12949 } /* xproto.h:2753:9 */ 12950 12951 // * 12952 // @brief xcb_charinfo_t 12953 // 12954 type xcb_charinfo_t = xcb_charinfo_t1 /* xproto.h:2760:3 */ 12955 12956 // * 12957 // @brief xcb_charinfo_iterator_t 12958 // 12959 type xcb_charinfo_iterator_t1 = struct { 12960 Fdata uintptr 12961 Frem int32 12962 Findex int32 12963 } /* xproto.h:2765:9 */ 12964 12965 // * 12966 // @brief xcb_charinfo_iterator_t 12967 // 12968 type xcb_charinfo_iterator_t = xcb_charinfo_iterator_t1 /* xproto.h:2769:3 */ 12969 12970 // * 12971 // @brief xcb_query_font_cookie_t 12972 // 12973 type xcb_query_font_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2774:9 */ 12974 12975 // * 12976 // @brief xcb_query_font_cookie_t 12977 // 12978 type xcb_query_font_cookie_t = xcb_query_font_cookie_t1 /* xproto.h:2776:3 */ 12979 12980 //* Opcode for xcb_query_font. 12981 12982 // * 12983 // @brief xcb_query_font_request_t 12984 // 12985 type xcb_query_font_request_t1 = struct { 12986 Fmajor_opcode uint8_t 12987 Fpad0 uint8_t 12988 Flength uint16_t 12989 Ffont xcb_fontable_t 12990 } /* xproto.h:2784:9 */ 12991 12992 //* Opcode for xcb_query_font. 12993 12994 // * 12995 // @brief xcb_query_font_request_t 12996 // 12997 type xcb_query_font_request_t = xcb_query_font_request_t1 /* xproto.h:2789:3 */ 12998 12999 // * 13000 // @brief xcb_query_font_reply_t 13001 // 13002 type xcb_query_font_reply_t1 = struct { 13003 Fresponse_type uint8_t 13004 Fpad0 uint8_t 13005 Fsequence uint16_t 13006 Flength uint32_t 13007 Fmin_bounds xcb_charinfo_t 13008 Fpad1 [4]uint8_t 13009 Fmax_bounds xcb_charinfo_t 13010 Fpad2 [4]uint8_t 13011 Fmin_char_or_byte2 uint16_t 13012 Fmax_char_or_byte2 uint16_t 13013 Fdefault_char uint16_t 13014 Fproperties_len uint16_t 13015 Fdraw_direction uint8_t 13016 Fmin_byte1 uint8_t 13017 Fmax_byte1 uint8_t 13018 Fall_chars_exist uint8_t 13019 Ffont_ascent int16_t 13020 Ffont_descent int16_t 13021 Fchar_infos_len uint32_t 13022 } /* xproto.h:2794:9 */ 13023 13024 // * 13025 // @brief xcb_query_font_reply_t 13026 // 13027 type xcb_query_font_reply_t = xcb_query_font_reply_t1 /* xproto.h:2814:3 */ 13028 13029 // * 13030 // @brief xcb_query_text_extents_cookie_t 13031 // 13032 type xcb_query_text_extents_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2819:9 */ 13033 13034 // * 13035 // @brief xcb_query_text_extents_cookie_t 13036 // 13037 type xcb_query_text_extents_cookie_t = xcb_query_text_extents_cookie_t1 /* xproto.h:2821:3 */ 13038 13039 //* Opcode for xcb_query_text_extents. 13040 13041 // * 13042 // @brief xcb_query_text_extents_request_t 13043 // 13044 type xcb_query_text_extents_request_t1 = struct { 13045 Fmajor_opcode uint8_t 13046 Fodd_length uint8_t 13047 Flength uint16_t 13048 Ffont xcb_fontable_t 13049 } /* xproto.h:2829:9 */ 13050 13051 //* Opcode for xcb_query_text_extents. 13052 13053 // * 13054 // @brief xcb_query_text_extents_request_t 13055 // 13056 type xcb_query_text_extents_request_t = xcb_query_text_extents_request_t1 /* xproto.h:2834:3 */ 13057 13058 // * 13059 // @brief xcb_query_text_extents_reply_t 13060 // 13061 type xcb_query_text_extents_reply_t1 = struct { 13062 Fresponse_type uint8_t 13063 Fdraw_direction uint8_t 13064 Fsequence uint16_t 13065 Flength uint32_t 13066 Ffont_ascent int16_t 13067 Ffont_descent int16_t 13068 Foverall_ascent int16_t 13069 Foverall_descent int16_t 13070 Foverall_width int32_t 13071 Foverall_left int32_t 13072 Foverall_right int32_t 13073 } /* xproto.h:2839:9 */ 13074 13075 // * 13076 // @brief xcb_query_text_extents_reply_t 13077 // 13078 type xcb_query_text_extents_reply_t = xcb_query_text_extents_reply_t1 /* xproto.h:2851:3 */ 13079 13080 // * 13081 // @brief xcb_str_t 13082 // 13083 type xcb_str_t1 = struct{ Fname_len uint8_t } /* xproto.h:2856:9 */ 13084 13085 // * 13086 // @brief xcb_str_t 13087 // 13088 type xcb_str_t = xcb_str_t1 /* xproto.h:2858:3 */ 13089 13090 // * 13091 // @brief xcb_str_iterator_t 13092 // 13093 type xcb_str_iterator_t1 = struct { 13094 Fdata uintptr 13095 Frem int32 13096 Findex int32 13097 } /* xproto.h:2863:9 */ 13098 13099 // * 13100 // @brief xcb_str_iterator_t 13101 // 13102 type xcb_str_iterator_t = xcb_str_iterator_t1 /* xproto.h:2867:3 */ 13103 13104 // * 13105 // @brief xcb_list_fonts_cookie_t 13106 // 13107 type xcb_list_fonts_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2872:9 */ 13108 13109 // * 13110 // @brief xcb_list_fonts_cookie_t 13111 // 13112 type xcb_list_fonts_cookie_t = xcb_list_fonts_cookie_t1 /* xproto.h:2874:3 */ 13113 13114 //* Opcode for xcb_list_fonts. 13115 13116 // * 13117 // @brief xcb_list_fonts_request_t 13118 // 13119 type xcb_list_fonts_request_t1 = struct { 13120 Fmajor_opcode uint8_t 13121 Fpad0 uint8_t 13122 Flength uint16_t 13123 Fmax_names uint16_t 13124 Fpattern_len uint16_t 13125 } /* xproto.h:2882:9 */ 13126 13127 //* Opcode for xcb_list_fonts. 13128 13129 // * 13130 // @brief xcb_list_fonts_request_t 13131 // 13132 type xcb_list_fonts_request_t = xcb_list_fonts_request_t1 /* xproto.h:2888:3 */ 13133 13134 // * 13135 // @brief xcb_list_fonts_reply_t 13136 // 13137 type xcb_list_fonts_reply_t1 = struct { 13138 Fresponse_type uint8_t 13139 Fpad0 uint8_t 13140 Fsequence uint16_t 13141 Flength uint32_t 13142 Fnames_len uint16_t 13143 Fpad1 [22]uint8_t 13144 } /* xproto.h:2893:9 */ 13145 13146 // * 13147 // @brief xcb_list_fonts_reply_t 13148 // 13149 type xcb_list_fonts_reply_t = xcb_list_fonts_reply_t1 /* xproto.h:2900:3 */ 13150 13151 // * 13152 // @brief xcb_list_fonts_with_info_cookie_t 13153 // 13154 type xcb_list_fonts_with_info_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2905:9 */ 13155 13156 // * 13157 // @brief xcb_list_fonts_with_info_cookie_t 13158 // 13159 type xcb_list_fonts_with_info_cookie_t = xcb_list_fonts_with_info_cookie_t1 /* xproto.h:2907:3 */ 13160 13161 //* Opcode for xcb_list_fonts_with_info. 13162 13163 // * 13164 // @brief xcb_list_fonts_with_info_request_t 13165 // 13166 type xcb_list_fonts_with_info_request_t1 = struct { 13167 Fmajor_opcode uint8_t 13168 Fpad0 uint8_t 13169 Flength uint16_t 13170 Fmax_names uint16_t 13171 Fpattern_len uint16_t 13172 } /* xproto.h:2915:9 */ 13173 13174 //* Opcode for xcb_list_fonts_with_info. 13175 13176 // * 13177 // @brief xcb_list_fonts_with_info_request_t 13178 // 13179 type xcb_list_fonts_with_info_request_t = xcb_list_fonts_with_info_request_t1 /* xproto.h:2921:3 */ 13180 13181 // * 13182 // @brief xcb_list_fonts_with_info_reply_t 13183 // 13184 type xcb_list_fonts_with_info_reply_t1 = struct { 13185 Fresponse_type uint8_t 13186 Fname_len uint8_t 13187 Fsequence uint16_t 13188 Flength uint32_t 13189 Fmin_bounds xcb_charinfo_t 13190 Fpad0 [4]uint8_t 13191 Fmax_bounds xcb_charinfo_t 13192 Fpad1 [4]uint8_t 13193 Fmin_char_or_byte2 uint16_t 13194 Fmax_char_or_byte2 uint16_t 13195 Fdefault_char uint16_t 13196 Fproperties_len uint16_t 13197 Fdraw_direction uint8_t 13198 Fmin_byte1 uint8_t 13199 Fmax_byte1 uint8_t 13200 Fall_chars_exist uint8_t 13201 Ffont_ascent int16_t 13202 Ffont_descent int16_t 13203 Freplies_hint uint32_t 13204 } /* xproto.h:2926:9 */ 13205 13206 // * 13207 // @brief xcb_list_fonts_with_info_reply_t 13208 // 13209 type xcb_list_fonts_with_info_reply_t = xcb_list_fonts_with_info_reply_t1 /* xproto.h:2946:3 */ 13210 13211 //* Opcode for xcb_set_font_path. 13212 13213 // * 13214 // @brief xcb_set_font_path_request_t 13215 // 13216 type xcb_set_font_path_request_t1 = struct { 13217 Fmajor_opcode uint8_t 13218 Fpad0 uint8_t 13219 Flength uint16_t 13220 Ffont_qty uint16_t 13221 Fpad1 [2]uint8_t 13222 } /* xproto.h:2954:9 */ 13223 13224 //* Opcode for xcb_set_font_path. 13225 13226 // * 13227 // @brief xcb_set_font_path_request_t 13228 // 13229 type xcb_set_font_path_request_t = xcb_set_font_path_request_t1 /* xproto.h:2960:3 */ 13230 13231 // * 13232 // @brief xcb_get_font_path_cookie_t 13233 // 13234 type xcb_get_font_path_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2965:9 */ 13235 13236 // * 13237 // @brief xcb_get_font_path_cookie_t 13238 // 13239 type xcb_get_font_path_cookie_t = xcb_get_font_path_cookie_t1 /* xproto.h:2967:3 */ 13240 13241 //* Opcode for xcb_get_font_path. 13242 13243 // * 13244 // @brief xcb_get_font_path_request_t 13245 // 13246 type xcb_get_font_path_request_t1 = struct { 13247 Fmajor_opcode uint8_t 13248 Fpad0 uint8_t 13249 Flength uint16_t 13250 } /* xproto.h:2975:9 */ 13251 13252 //* Opcode for xcb_get_font_path. 13253 13254 // * 13255 // @brief xcb_get_font_path_request_t 13256 // 13257 type xcb_get_font_path_request_t = xcb_get_font_path_request_t1 /* xproto.h:2979:3 */ 13258 13259 // * 13260 // @brief xcb_get_font_path_reply_t 13261 // 13262 type xcb_get_font_path_reply_t1 = struct { 13263 Fresponse_type uint8_t 13264 Fpad0 uint8_t 13265 Fsequence uint16_t 13266 Flength uint32_t 13267 Fpath_len uint16_t 13268 Fpad1 [22]uint8_t 13269 } /* xproto.h:2984:9 */ 13270 13271 // * 13272 // @brief xcb_get_font_path_reply_t 13273 // 13274 type xcb_get_font_path_reply_t = xcb_get_font_path_reply_t1 /* xproto.h:2991:3 */ 13275 13276 //* Opcode for xcb_create_pixmap. 13277 13278 // * 13279 // @brief xcb_create_pixmap_request_t 13280 // 13281 type xcb_create_pixmap_request_t1 = struct { 13282 Fmajor_opcode uint8_t 13283 Fdepth uint8_t 13284 Flength uint16_t 13285 Fpid xcb_pixmap_t 13286 Fdrawable xcb_drawable_t 13287 Fwidth uint16_t 13288 Fheight uint16_t 13289 } /* xproto.h:2999:9 */ 13290 13291 //* Opcode for xcb_create_pixmap. 13292 13293 // * 13294 // @brief xcb_create_pixmap_request_t 13295 // 13296 type xcb_create_pixmap_request_t = xcb_create_pixmap_request_t1 /* xproto.h:3007:3 */ 13297 13298 //* Opcode for xcb_free_pixmap. 13299 13300 // * 13301 // @brief xcb_free_pixmap_request_t 13302 // 13303 type xcb_free_pixmap_request_t1 = struct { 13304 Fmajor_opcode uint8_t 13305 Fpad0 uint8_t 13306 Flength uint16_t 13307 Fpixmap xcb_pixmap_t 13308 } /* xproto.h:3015:9 */ 13309 13310 //* Opcode for xcb_free_pixmap. 13311 13312 // * 13313 // @brief xcb_free_pixmap_request_t 13314 // 13315 type xcb_free_pixmap_request_t = xcb_free_pixmap_request_t1 /* xproto.h:3020:3 */ 13316 13317 type xcb_gc_t = uint32 /* xproto.h:3169:3 */ 13318 13319 type xcb_gx_t = uint32 /* xproto.h:3188:3 */ 13320 13321 type xcb_line_style_t = uint32 /* xproto.h:3194:3 */ 13322 13323 type xcb_cap_style_t = uint32 /* xproto.h:3201:3 */ 13324 13325 type xcb_join_style_t = uint32 /* xproto.h:3207:3 */ 13326 13327 type xcb_fill_style_t = uint32 /* xproto.h:3214:3 */ 13328 13329 type xcb_fill_rule_t = uint32 /* xproto.h:3219:3 */ 13330 13331 type xcb_subwindow_mode_t = uint32 /* xproto.h:3224:3 */ 13332 13333 type xcb_arc_mode_t = uint32 /* xproto.h:3229:3 */ 13334 13335 // * 13336 // @brief xcb_create_gc_value_list_t 13337 // 13338 type xcb_create_gc_value_list_t1 = struct { 13339 Ffunction uint32_t 13340 Fplane_mask uint32_t 13341 Fforeground uint32_t 13342 Fbackground uint32_t 13343 Fline_width uint32_t 13344 Fline_style uint32_t 13345 Fcap_style uint32_t 13346 Fjoin_style uint32_t 13347 Ffill_style uint32_t 13348 Ffill_rule uint32_t 13349 Ftile xcb_pixmap_t 13350 Fstipple xcb_pixmap_t 13351 Ftile_stipple_x_origin int32_t 13352 Ftile_stipple_y_origin int32_t 13353 Ffont xcb_font_t 13354 Fsubwindow_mode uint32_t 13355 Fgraphics_exposures xcb_bool32_t 13356 Fclip_x_origin int32_t 13357 Fclip_y_origin int32_t 13358 Fclip_mask xcb_pixmap_t 13359 Fdash_offset uint32_t 13360 Fdashes uint32_t 13361 Farc_mode uint32_t 13362 } /* xproto.h:3234:9 */ 13363 13364 // * 13365 // @brief xcb_create_gc_value_list_t 13366 // 13367 type xcb_create_gc_value_list_t = xcb_create_gc_value_list_t1 /* xproto.h:3258:3 */ 13368 13369 //* Opcode for xcb_create_gc. 13370 13371 // * 13372 // @brief xcb_create_gc_request_t 13373 // 13374 type xcb_create_gc_request_t1 = struct { 13375 Fmajor_opcode uint8_t 13376 Fpad0 uint8_t 13377 Flength uint16_t 13378 Fcid xcb_gcontext_t 13379 Fdrawable xcb_drawable_t 13380 Fvalue_mask uint32_t 13381 } /* xproto.h:3266:9 */ 13382 13383 //* Opcode for xcb_create_gc. 13384 13385 // * 13386 // @brief xcb_create_gc_request_t 13387 // 13388 type xcb_create_gc_request_t = xcb_create_gc_request_t1 /* xproto.h:3273:3 */ 13389 13390 // * 13391 // @brief xcb_change_gc_value_list_t 13392 // 13393 type xcb_change_gc_value_list_t1 = struct { 13394 Ffunction uint32_t 13395 Fplane_mask uint32_t 13396 Fforeground uint32_t 13397 Fbackground uint32_t 13398 Fline_width uint32_t 13399 Fline_style uint32_t 13400 Fcap_style uint32_t 13401 Fjoin_style uint32_t 13402 Ffill_style uint32_t 13403 Ffill_rule uint32_t 13404 Ftile xcb_pixmap_t 13405 Fstipple xcb_pixmap_t 13406 Ftile_stipple_x_origin int32_t 13407 Ftile_stipple_y_origin int32_t 13408 Ffont xcb_font_t 13409 Fsubwindow_mode uint32_t 13410 Fgraphics_exposures xcb_bool32_t 13411 Fclip_x_origin int32_t 13412 Fclip_y_origin int32_t 13413 Fclip_mask xcb_pixmap_t 13414 Fdash_offset uint32_t 13415 Fdashes uint32_t 13416 Farc_mode uint32_t 13417 } /* xproto.h:3278:9 */ 13418 13419 // * 13420 // @brief xcb_change_gc_value_list_t 13421 // 13422 type xcb_change_gc_value_list_t = xcb_change_gc_value_list_t1 /* xproto.h:3302:3 */ 13423 13424 //* Opcode for xcb_change_gc. 13425 13426 // * 13427 // @brief xcb_change_gc_request_t 13428 // 13429 type xcb_change_gc_request_t1 = struct { 13430 Fmajor_opcode uint8_t 13431 Fpad0 uint8_t 13432 Flength uint16_t 13433 Fgc xcb_gcontext_t 13434 Fvalue_mask uint32_t 13435 } /* xproto.h:3310:9 */ 13436 13437 //* Opcode for xcb_change_gc. 13438 13439 // * 13440 // @brief xcb_change_gc_request_t 13441 // 13442 type xcb_change_gc_request_t = xcb_change_gc_request_t1 /* xproto.h:3316:3 */ 13443 13444 //* Opcode for xcb_copy_gc. 13445 13446 // * 13447 // @brief xcb_copy_gc_request_t 13448 // 13449 type xcb_copy_gc_request_t1 = struct { 13450 Fmajor_opcode uint8_t 13451 Fpad0 uint8_t 13452 Flength uint16_t 13453 Fsrc_gc xcb_gcontext_t 13454 Fdst_gc xcb_gcontext_t 13455 Fvalue_mask uint32_t 13456 } /* xproto.h:3324:9 */ 13457 13458 //* Opcode for xcb_copy_gc. 13459 13460 // * 13461 // @brief xcb_copy_gc_request_t 13462 // 13463 type xcb_copy_gc_request_t = xcb_copy_gc_request_t1 /* xproto.h:3331:3 */ 13464 13465 //* Opcode for xcb_set_dashes. 13466 13467 // * 13468 // @brief xcb_set_dashes_request_t 13469 // 13470 type xcb_set_dashes_request_t1 = struct { 13471 Fmajor_opcode uint8_t 13472 Fpad0 uint8_t 13473 Flength uint16_t 13474 Fgc xcb_gcontext_t 13475 Fdash_offset uint16_t 13476 Fdashes_len uint16_t 13477 } /* xproto.h:3339:9 */ 13478 13479 //* Opcode for xcb_set_dashes. 13480 13481 // * 13482 // @brief xcb_set_dashes_request_t 13483 // 13484 type xcb_set_dashes_request_t = xcb_set_dashes_request_t1 /* xproto.h:3346:3 */ 13485 13486 type xcb_clip_ordering_t = uint32 /* xproto.h:3353:3 */ 13487 13488 //* Opcode for xcb_set_clip_rectangles. 13489 13490 // * 13491 // @brief xcb_set_clip_rectangles_request_t 13492 // 13493 type xcb_set_clip_rectangles_request_t1 = struct { 13494 Fmajor_opcode uint8_t 13495 Fordering uint8_t 13496 Flength uint16_t 13497 Fgc xcb_gcontext_t 13498 Fclip_x_origin int16_t 13499 Fclip_y_origin int16_t 13500 } /* xproto.h:3361:9 */ 13501 13502 //* Opcode for xcb_set_clip_rectangles. 13503 13504 // * 13505 // @brief xcb_set_clip_rectangles_request_t 13506 // 13507 type xcb_set_clip_rectangles_request_t = xcb_set_clip_rectangles_request_t1 /* xproto.h:3368:3 */ 13508 13509 //* Opcode for xcb_free_gc. 13510 13511 // * 13512 // @brief xcb_free_gc_request_t 13513 // 13514 type xcb_free_gc_request_t1 = struct { 13515 Fmajor_opcode uint8_t 13516 Fpad0 uint8_t 13517 Flength uint16_t 13518 Fgc xcb_gcontext_t 13519 } /* xproto.h:3376:9 */ 13520 13521 //* Opcode for xcb_free_gc. 13522 13523 // * 13524 // @brief xcb_free_gc_request_t 13525 // 13526 type xcb_free_gc_request_t = xcb_free_gc_request_t1 /* xproto.h:3381:3 */ 13527 13528 //* Opcode for xcb_clear_area. 13529 13530 // * 13531 // @brief xcb_clear_area_request_t 13532 // 13533 type xcb_clear_area_request_t1 = struct { 13534 Fmajor_opcode uint8_t 13535 Fexposures uint8_t 13536 Flength uint16_t 13537 Fwindow xcb_window_t 13538 Fx int16_t 13539 Fy int16_t 13540 Fwidth uint16_t 13541 Fheight uint16_t 13542 } /* xproto.h:3389:9 */ 13543 13544 //* Opcode for xcb_clear_area. 13545 13546 // * 13547 // @brief xcb_clear_area_request_t 13548 // 13549 type xcb_clear_area_request_t = xcb_clear_area_request_t1 /* xproto.h:3398:3 */ 13550 13551 //* Opcode for xcb_copy_area. 13552 13553 // * 13554 // @brief xcb_copy_area_request_t 13555 // 13556 type xcb_copy_area_request_t1 = struct { 13557 Fmajor_opcode uint8_t 13558 Fpad0 uint8_t 13559 Flength uint16_t 13560 Fsrc_drawable xcb_drawable_t 13561 Fdst_drawable xcb_drawable_t 13562 Fgc xcb_gcontext_t 13563 Fsrc_x int16_t 13564 Fsrc_y int16_t 13565 Fdst_x int16_t 13566 Fdst_y int16_t 13567 Fwidth uint16_t 13568 Fheight uint16_t 13569 } /* xproto.h:3406:9 */ 13570 13571 //* Opcode for xcb_copy_area. 13572 13573 // * 13574 // @brief xcb_copy_area_request_t 13575 // 13576 type xcb_copy_area_request_t = xcb_copy_area_request_t1 /* xproto.h:3419:3 */ 13577 13578 //* Opcode for xcb_copy_plane. 13579 13580 // * 13581 // @brief xcb_copy_plane_request_t 13582 // 13583 type xcb_copy_plane_request_t1 = struct { 13584 Fmajor_opcode uint8_t 13585 Fpad0 uint8_t 13586 Flength uint16_t 13587 Fsrc_drawable xcb_drawable_t 13588 Fdst_drawable xcb_drawable_t 13589 Fgc xcb_gcontext_t 13590 Fsrc_x int16_t 13591 Fsrc_y int16_t 13592 Fdst_x int16_t 13593 Fdst_y int16_t 13594 Fwidth uint16_t 13595 Fheight uint16_t 13596 Fbit_plane uint32_t 13597 } /* xproto.h:3427:9 */ 13598 13599 //* Opcode for xcb_copy_plane. 13600 13601 // * 13602 // @brief xcb_copy_plane_request_t 13603 // 13604 type xcb_copy_plane_request_t = xcb_copy_plane_request_t1 /* xproto.h:3441:3 */ 13605 13606 type xcb_coord_mode_t = uint32 /* xproto.h:3450:3 */ 13607 13608 //* Opcode for xcb_poly_point. 13609 13610 // * 13611 // @brief xcb_poly_point_request_t 13612 // 13613 type xcb_poly_point_request_t1 = struct { 13614 Fmajor_opcode uint8_t 13615 Fcoordinate_mode uint8_t 13616 Flength uint16_t 13617 Fdrawable xcb_drawable_t 13618 Fgc xcb_gcontext_t 13619 } /* xproto.h:3458:9 */ 13620 13621 //* Opcode for xcb_poly_point. 13622 13623 // * 13624 // @brief xcb_poly_point_request_t 13625 // 13626 type xcb_poly_point_request_t = xcb_poly_point_request_t1 /* xproto.h:3464:3 */ 13627 13628 //* Opcode for xcb_poly_line. 13629 13630 // * 13631 // @brief xcb_poly_line_request_t 13632 // 13633 type xcb_poly_line_request_t1 = struct { 13634 Fmajor_opcode uint8_t 13635 Fcoordinate_mode uint8_t 13636 Flength uint16_t 13637 Fdrawable xcb_drawable_t 13638 Fgc xcb_gcontext_t 13639 } /* xproto.h:3472:9 */ 13640 13641 //* Opcode for xcb_poly_line. 13642 13643 // * 13644 // @brief xcb_poly_line_request_t 13645 // 13646 type xcb_poly_line_request_t = xcb_poly_line_request_t1 /* xproto.h:3478:3 */ 13647 13648 // * 13649 // @brief xcb_segment_t 13650 // 13651 type xcb_segment_t1 = struct { 13652 Fx1 int16_t 13653 Fy1 int16_t 13654 Fx2 int16_t 13655 Fy2 int16_t 13656 } /* xproto.h:3483:9 */ 13657 13658 // * 13659 // @brief xcb_segment_t 13660 // 13661 type xcb_segment_t = xcb_segment_t1 /* xproto.h:3488:3 */ 13662 13663 // * 13664 // @brief xcb_segment_iterator_t 13665 // 13666 type xcb_segment_iterator_t1 = struct { 13667 Fdata uintptr 13668 Frem int32 13669 Findex int32 13670 } /* xproto.h:3493:9 */ 13671 13672 // * 13673 // @brief xcb_segment_iterator_t 13674 // 13675 type xcb_segment_iterator_t = xcb_segment_iterator_t1 /* xproto.h:3497:3 */ 13676 13677 //* Opcode for xcb_poly_segment. 13678 13679 // * 13680 // @brief xcb_poly_segment_request_t 13681 // 13682 type xcb_poly_segment_request_t1 = struct { 13683 Fmajor_opcode uint8_t 13684 Fpad0 uint8_t 13685 Flength uint16_t 13686 Fdrawable xcb_drawable_t 13687 Fgc xcb_gcontext_t 13688 } /* xproto.h:3505:9 */ 13689 13690 //* Opcode for xcb_poly_segment. 13691 13692 // * 13693 // @brief xcb_poly_segment_request_t 13694 // 13695 type xcb_poly_segment_request_t = xcb_poly_segment_request_t1 /* xproto.h:3511:3 */ 13696 13697 //* Opcode for xcb_poly_rectangle. 13698 13699 // * 13700 // @brief xcb_poly_rectangle_request_t 13701 // 13702 type xcb_poly_rectangle_request_t1 = struct { 13703 Fmajor_opcode uint8_t 13704 Fpad0 uint8_t 13705 Flength uint16_t 13706 Fdrawable xcb_drawable_t 13707 Fgc xcb_gcontext_t 13708 } /* xproto.h:3519:9 */ 13709 13710 //* Opcode for xcb_poly_rectangle. 13711 13712 // * 13713 // @brief xcb_poly_rectangle_request_t 13714 // 13715 type xcb_poly_rectangle_request_t = xcb_poly_rectangle_request_t1 /* xproto.h:3525:3 */ 13716 13717 //* Opcode for xcb_poly_arc. 13718 13719 // * 13720 // @brief xcb_poly_arc_request_t 13721 // 13722 type xcb_poly_arc_request_t1 = struct { 13723 Fmajor_opcode uint8_t 13724 Fpad0 uint8_t 13725 Flength uint16_t 13726 Fdrawable xcb_drawable_t 13727 Fgc xcb_gcontext_t 13728 } /* xproto.h:3533:9 */ 13729 13730 //* Opcode for xcb_poly_arc. 13731 13732 // * 13733 // @brief xcb_poly_arc_request_t 13734 // 13735 type xcb_poly_arc_request_t = xcb_poly_arc_request_t1 /* xproto.h:3539:3 */ 13736 13737 type xcb_poly_shape_t = uint32 /* xproto.h:3545:3 */ 13738 13739 //* Opcode for xcb_fill_poly. 13740 13741 // * 13742 // @brief xcb_fill_poly_request_t 13743 // 13744 type xcb_fill_poly_request_t1 = struct { 13745 Fmajor_opcode uint8_t 13746 Fpad0 uint8_t 13747 Flength uint16_t 13748 Fdrawable xcb_drawable_t 13749 Fgc xcb_gcontext_t 13750 Fshape uint8_t 13751 Fcoordinate_mode uint8_t 13752 Fpad1 [2]uint8_t 13753 } /* xproto.h:3553:9 */ 13754 13755 //* Opcode for xcb_fill_poly. 13756 13757 // * 13758 // @brief xcb_fill_poly_request_t 13759 // 13760 type xcb_fill_poly_request_t = xcb_fill_poly_request_t1 /* xproto.h:3562:3 */ 13761 13762 //* Opcode for xcb_poly_fill_rectangle. 13763 13764 // * 13765 // @brief xcb_poly_fill_rectangle_request_t 13766 // 13767 type xcb_poly_fill_rectangle_request_t1 = struct { 13768 Fmajor_opcode uint8_t 13769 Fpad0 uint8_t 13770 Flength uint16_t 13771 Fdrawable xcb_drawable_t 13772 Fgc xcb_gcontext_t 13773 } /* xproto.h:3570:9 */ 13774 13775 //* Opcode for xcb_poly_fill_rectangle. 13776 13777 // * 13778 // @brief xcb_poly_fill_rectangle_request_t 13779 // 13780 type xcb_poly_fill_rectangle_request_t = xcb_poly_fill_rectangle_request_t1 /* xproto.h:3576:3 */ 13781 13782 //* Opcode for xcb_poly_fill_arc. 13783 13784 // * 13785 // @brief xcb_poly_fill_arc_request_t 13786 // 13787 type xcb_poly_fill_arc_request_t1 = struct { 13788 Fmajor_opcode uint8_t 13789 Fpad0 uint8_t 13790 Flength uint16_t 13791 Fdrawable xcb_drawable_t 13792 Fgc xcb_gcontext_t 13793 } /* xproto.h:3584:9 */ 13794 13795 //* Opcode for xcb_poly_fill_arc. 13796 13797 // * 13798 // @brief xcb_poly_fill_arc_request_t 13799 // 13800 type xcb_poly_fill_arc_request_t = xcb_poly_fill_arc_request_t1 /* xproto.h:3590:3 */ 13801 13802 type xcb_image_format_t = uint32 /* xproto.h:3596:3 */ 13803 13804 //* Opcode for xcb_put_image. 13805 13806 // * 13807 // @brief xcb_put_image_request_t 13808 // 13809 type xcb_put_image_request_t1 = struct { 13810 Fmajor_opcode uint8_t 13811 Fformat uint8_t 13812 Flength uint16_t 13813 Fdrawable xcb_drawable_t 13814 Fgc xcb_gcontext_t 13815 Fwidth uint16_t 13816 Fheight uint16_t 13817 Fdst_x int16_t 13818 Fdst_y int16_t 13819 Fleft_pad uint8_t 13820 Fdepth uint8_t 13821 Fpad0 [2]uint8_t 13822 } /* xproto.h:3604:9 */ 13823 13824 //* Opcode for xcb_put_image. 13825 13826 // * 13827 // @brief xcb_put_image_request_t 13828 // 13829 type xcb_put_image_request_t = xcb_put_image_request_t1 /* xproto.h:3617:3 */ 13830 13831 // * 13832 // @brief xcb_get_image_cookie_t 13833 // 13834 type xcb_get_image_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3622:9 */ 13835 13836 // * 13837 // @brief xcb_get_image_cookie_t 13838 // 13839 type xcb_get_image_cookie_t = xcb_get_image_cookie_t1 /* xproto.h:3624:3 */ 13840 13841 //* Opcode for xcb_get_image. 13842 13843 // * 13844 // @brief xcb_get_image_request_t 13845 // 13846 type xcb_get_image_request_t1 = struct { 13847 Fmajor_opcode uint8_t 13848 Fformat uint8_t 13849 Flength uint16_t 13850 Fdrawable xcb_drawable_t 13851 Fx int16_t 13852 Fy int16_t 13853 Fwidth uint16_t 13854 Fheight uint16_t 13855 Fplane_mask uint32_t 13856 } /* xproto.h:3632:9 */ 13857 13858 //* Opcode for xcb_get_image. 13859 13860 // * 13861 // @brief xcb_get_image_request_t 13862 // 13863 type xcb_get_image_request_t = xcb_get_image_request_t1 /* xproto.h:3642:3 */ 13864 13865 // * 13866 // @brief xcb_get_image_reply_t 13867 // 13868 type xcb_get_image_reply_t1 = struct { 13869 Fresponse_type uint8_t 13870 Fdepth uint8_t 13871 Fsequence uint16_t 13872 Flength uint32_t 13873 Fvisual xcb_visualid_t 13874 Fpad0 [20]uint8_t 13875 } /* xproto.h:3647:9 */ 13876 13877 // * 13878 // @brief xcb_get_image_reply_t 13879 // 13880 type xcb_get_image_reply_t = xcb_get_image_reply_t1 /* xproto.h:3654:3 */ 13881 13882 //* Opcode for xcb_poly_text_8. 13883 13884 // * 13885 // @brief xcb_poly_text_8_request_t 13886 // 13887 type xcb_poly_text_8_request_t1 = struct { 13888 Fmajor_opcode uint8_t 13889 Fpad0 uint8_t 13890 Flength uint16_t 13891 Fdrawable xcb_drawable_t 13892 Fgc xcb_gcontext_t 13893 Fx int16_t 13894 Fy int16_t 13895 } /* xproto.h:3662:9 */ 13896 13897 //* Opcode for xcb_poly_text_8. 13898 13899 // * 13900 // @brief xcb_poly_text_8_request_t 13901 // 13902 type xcb_poly_text_8_request_t = xcb_poly_text_8_request_t1 /* xproto.h:3670:3 */ 13903 13904 //* Opcode for xcb_poly_text_16. 13905 13906 // * 13907 // @brief xcb_poly_text_16_request_t 13908 // 13909 type xcb_poly_text_16_request_t1 = struct { 13910 Fmajor_opcode uint8_t 13911 Fpad0 uint8_t 13912 Flength uint16_t 13913 Fdrawable xcb_drawable_t 13914 Fgc xcb_gcontext_t 13915 Fx int16_t 13916 Fy int16_t 13917 } /* xproto.h:3678:9 */ 13918 13919 //* Opcode for xcb_poly_text_16. 13920 13921 // * 13922 // @brief xcb_poly_text_16_request_t 13923 // 13924 type xcb_poly_text_16_request_t = xcb_poly_text_16_request_t1 /* xproto.h:3686:3 */ 13925 13926 //* Opcode for xcb_image_text_8. 13927 13928 // * 13929 // @brief xcb_image_text_8_request_t 13930 // 13931 type xcb_image_text_8_request_t1 = struct { 13932 Fmajor_opcode uint8_t 13933 Fstring_len uint8_t 13934 Flength uint16_t 13935 Fdrawable xcb_drawable_t 13936 Fgc xcb_gcontext_t 13937 Fx int16_t 13938 Fy int16_t 13939 } /* xproto.h:3694:9 */ 13940 13941 //* Opcode for xcb_image_text_8. 13942 13943 // * 13944 // @brief xcb_image_text_8_request_t 13945 // 13946 type xcb_image_text_8_request_t = xcb_image_text_8_request_t1 /* xproto.h:3702:3 */ 13947 13948 //* Opcode for xcb_image_text_16. 13949 13950 // * 13951 // @brief xcb_image_text_16_request_t 13952 // 13953 type xcb_image_text_16_request_t1 = struct { 13954 Fmajor_opcode uint8_t 13955 Fstring_len uint8_t 13956 Flength uint16_t 13957 Fdrawable xcb_drawable_t 13958 Fgc xcb_gcontext_t 13959 Fx int16_t 13960 Fy int16_t 13961 } /* xproto.h:3710:9 */ 13962 13963 //* Opcode for xcb_image_text_16. 13964 13965 // * 13966 // @brief xcb_image_text_16_request_t 13967 // 13968 type xcb_image_text_16_request_t = xcb_image_text_16_request_t1 /* xproto.h:3718:3 */ 13969 13970 type xcb_colormap_alloc_t = uint32 /* xproto.h:3723:3 */ 13971 13972 //* Opcode for xcb_create_colormap. 13973 13974 // * 13975 // @brief xcb_create_colormap_request_t 13976 // 13977 type xcb_create_colormap_request_t1 = struct { 13978 Fmajor_opcode uint8_t 13979 Falloc uint8_t 13980 Flength uint16_t 13981 Fmid xcb_colormap_t 13982 Fwindow xcb_window_t 13983 Fvisual xcb_visualid_t 13984 } /* xproto.h:3731:9 */ 13985 13986 //* Opcode for xcb_create_colormap. 13987 13988 // * 13989 // @brief xcb_create_colormap_request_t 13990 // 13991 type xcb_create_colormap_request_t = xcb_create_colormap_request_t1 /* xproto.h:3738:3 */ 13992 13993 //* Opcode for xcb_free_colormap. 13994 13995 // * 13996 // @brief xcb_free_colormap_request_t 13997 // 13998 type xcb_free_colormap_request_t1 = struct { 13999 Fmajor_opcode uint8_t 14000 Fpad0 uint8_t 14001 Flength uint16_t 14002 Fcmap xcb_colormap_t 14003 } /* xproto.h:3746:9 */ 14004 14005 //* Opcode for xcb_free_colormap. 14006 14007 // * 14008 // @brief xcb_free_colormap_request_t 14009 // 14010 type xcb_free_colormap_request_t = xcb_free_colormap_request_t1 /* xproto.h:3751:3 */ 14011 14012 //* Opcode for xcb_copy_colormap_and_free. 14013 14014 // * 14015 // @brief xcb_copy_colormap_and_free_request_t 14016 // 14017 type xcb_copy_colormap_and_free_request_t1 = struct { 14018 Fmajor_opcode uint8_t 14019 Fpad0 uint8_t 14020 Flength uint16_t 14021 Fmid xcb_colormap_t 14022 Fsrc_cmap xcb_colormap_t 14023 } /* xproto.h:3759:9 */ 14024 14025 //* Opcode for xcb_copy_colormap_and_free. 14026 14027 // * 14028 // @brief xcb_copy_colormap_and_free_request_t 14029 // 14030 type xcb_copy_colormap_and_free_request_t = xcb_copy_colormap_and_free_request_t1 /* xproto.h:3765:3 */ 14031 14032 //* Opcode for xcb_install_colormap. 14033 14034 // * 14035 // @brief xcb_install_colormap_request_t 14036 // 14037 type xcb_install_colormap_request_t1 = struct { 14038 Fmajor_opcode uint8_t 14039 Fpad0 uint8_t 14040 Flength uint16_t 14041 Fcmap xcb_colormap_t 14042 } /* xproto.h:3773:9 */ 14043 14044 //* Opcode for xcb_install_colormap. 14045 14046 // * 14047 // @brief xcb_install_colormap_request_t 14048 // 14049 type xcb_install_colormap_request_t = xcb_install_colormap_request_t1 /* xproto.h:3778:3 */ 14050 14051 //* Opcode for xcb_uninstall_colormap. 14052 14053 // * 14054 // @brief xcb_uninstall_colormap_request_t 14055 // 14056 type xcb_uninstall_colormap_request_t1 = struct { 14057 Fmajor_opcode uint8_t 14058 Fpad0 uint8_t 14059 Flength uint16_t 14060 Fcmap xcb_colormap_t 14061 } /* xproto.h:3786:9 */ 14062 14063 //* Opcode for xcb_uninstall_colormap. 14064 14065 // * 14066 // @brief xcb_uninstall_colormap_request_t 14067 // 14068 type xcb_uninstall_colormap_request_t = xcb_uninstall_colormap_request_t1 /* xproto.h:3791:3 */ 14069 14070 // * 14071 // @brief xcb_list_installed_colormaps_cookie_t 14072 // 14073 type xcb_list_installed_colormaps_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3796:9 */ 14074 14075 // * 14076 // @brief xcb_list_installed_colormaps_cookie_t 14077 // 14078 type xcb_list_installed_colormaps_cookie_t = xcb_list_installed_colormaps_cookie_t1 /* xproto.h:3798:3 */ 14079 14080 //* Opcode for xcb_list_installed_colormaps. 14081 14082 // * 14083 // @brief xcb_list_installed_colormaps_request_t 14084 // 14085 type xcb_list_installed_colormaps_request_t1 = struct { 14086 Fmajor_opcode uint8_t 14087 Fpad0 uint8_t 14088 Flength uint16_t 14089 Fwindow xcb_window_t 14090 } /* xproto.h:3806:9 */ 14091 14092 //* Opcode for xcb_list_installed_colormaps. 14093 14094 // * 14095 // @brief xcb_list_installed_colormaps_request_t 14096 // 14097 type xcb_list_installed_colormaps_request_t = xcb_list_installed_colormaps_request_t1 /* xproto.h:3811:3 */ 14098 14099 // * 14100 // @brief xcb_list_installed_colormaps_reply_t 14101 // 14102 type xcb_list_installed_colormaps_reply_t1 = struct { 14103 Fresponse_type uint8_t 14104 Fpad0 uint8_t 14105 Fsequence uint16_t 14106 Flength uint32_t 14107 Fcmaps_len uint16_t 14108 Fpad1 [22]uint8_t 14109 } /* xproto.h:3816:9 */ 14110 14111 // * 14112 // @brief xcb_list_installed_colormaps_reply_t 14113 // 14114 type xcb_list_installed_colormaps_reply_t = xcb_list_installed_colormaps_reply_t1 /* xproto.h:3823:3 */ 14115 14116 // * 14117 // @brief xcb_alloc_color_cookie_t 14118 // 14119 type xcb_alloc_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3828:9 */ 14120 14121 // * 14122 // @brief xcb_alloc_color_cookie_t 14123 // 14124 type xcb_alloc_color_cookie_t = xcb_alloc_color_cookie_t1 /* xproto.h:3830:3 */ 14125 14126 //* Opcode for xcb_alloc_color. 14127 14128 // * 14129 // @brief xcb_alloc_color_request_t 14130 // 14131 type xcb_alloc_color_request_t1 = struct { 14132 Fmajor_opcode uint8_t 14133 Fpad0 uint8_t 14134 Flength uint16_t 14135 Fcmap xcb_colormap_t 14136 Fred uint16_t 14137 Fgreen uint16_t 14138 Fblue uint16_t 14139 Fpad1 [2]uint8_t 14140 } /* xproto.h:3838:9 */ 14141 14142 //* Opcode for xcb_alloc_color. 14143 14144 // * 14145 // @brief xcb_alloc_color_request_t 14146 // 14147 type xcb_alloc_color_request_t = xcb_alloc_color_request_t1 /* xproto.h:3847:3 */ 14148 14149 // * 14150 // @brief xcb_alloc_color_reply_t 14151 // 14152 type xcb_alloc_color_reply_t1 = struct { 14153 Fresponse_type uint8_t 14154 Fpad0 uint8_t 14155 Fsequence uint16_t 14156 Flength uint32_t 14157 Fred uint16_t 14158 Fgreen uint16_t 14159 Fblue uint16_t 14160 Fpad1 [2]uint8_t 14161 Fpixel uint32_t 14162 } /* xproto.h:3852:9 */ 14163 14164 // * 14165 // @brief xcb_alloc_color_reply_t 14166 // 14167 type xcb_alloc_color_reply_t = xcb_alloc_color_reply_t1 /* xproto.h:3862:3 */ 14168 14169 // * 14170 // @brief xcb_alloc_named_color_cookie_t 14171 // 14172 type xcb_alloc_named_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3867:9 */ 14173 14174 // * 14175 // @brief xcb_alloc_named_color_cookie_t 14176 // 14177 type xcb_alloc_named_color_cookie_t = xcb_alloc_named_color_cookie_t1 /* xproto.h:3869:3 */ 14178 14179 //* Opcode for xcb_alloc_named_color. 14180 14181 // * 14182 // @brief xcb_alloc_named_color_request_t 14183 // 14184 type xcb_alloc_named_color_request_t1 = struct { 14185 Fmajor_opcode uint8_t 14186 Fpad0 uint8_t 14187 Flength uint16_t 14188 Fcmap xcb_colormap_t 14189 Fname_len uint16_t 14190 Fpad1 [2]uint8_t 14191 } /* xproto.h:3877:9 */ 14192 14193 //* Opcode for xcb_alloc_named_color. 14194 14195 // * 14196 // @brief xcb_alloc_named_color_request_t 14197 // 14198 type xcb_alloc_named_color_request_t = xcb_alloc_named_color_request_t1 /* xproto.h:3884:3 */ 14199 14200 // * 14201 // @brief xcb_alloc_named_color_reply_t 14202 // 14203 type xcb_alloc_named_color_reply_t1 = struct { 14204 Fresponse_type uint8_t 14205 Fpad0 uint8_t 14206 Fsequence uint16_t 14207 Flength uint32_t 14208 Fpixel uint32_t 14209 Fexact_red uint16_t 14210 Fexact_green uint16_t 14211 Fexact_blue uint16_t 14212 Fvisual_red uint16_t 14213 Fvisual_green uint16_t 14214 Fvisual_blue uint16_t 14215 } /* xproto.h:3889:9 */ 14216 14217 // * 14218 // @brief xcb_alloc_named_color_reply_t 14219 // 14220 type xcb_alloc_named_color_reply_t = xcb_alloc_named_color_reply_t1 /* xproto.h:3901:3 */ 14221 14222 // * 14223 // @brief xcb_alloc_color_cells_cookie_t 14224 // 14225 type xcb_alloc_color_cells_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3906:9 */ 14226 14227 // * 14228 // @brief xcb_alloc_color_cells_cookie_t 14229 // 14230 type xcb_alloc_color_cells_cookie_t = xcb_alloc_color_cells_cookie_t1 /* xproto.h:3908:3 */ 14231 14232 //* Opcode for xcb_alloc_color_cells. 14233 14234 // * 14235 // @brief xcb_alloc_color_cells_request_t 14236 // 14237 type xcb_alloc_color_cells_request_t1 = struct { 14238 Fmajor_opcode uint8_t 14239 Fcontiguous uint8_t 14240 Flength uint16_t 14241 Fcmap xcb_colormap_t 14242 Fcolors uint16_t 14243 Fplanes uint16_t 14244 } /* xproto.h:3916:9 */ 14245 14246 //* Opcode for xcb_alloc_color_cells. 14247 14248 // * 14249 // @brief xcb_alloc_color_cells_request_t 14250 // 14251 type xcb_alloc_color_cells_request_t = xcb_alloc_color_cells_request_t1 /* xproto.h:3923:3 */ 14252 14253 // * 14254 // @brief xcb_alloc_color_cells_reply_t 14255 // 14256 type xcb_alloc_color_cells_reply_t1 = struct { 14257 Fresponse_type uint8_t 14258 Fpad0 uint8_t 14259 Fsequence uint16_t 14260 Flength uint32_t 14261 Fpixels_len uint16_t 14262 Fmasks_len uint16_t 14263 Fpad1 [20]uint8_t 14264 } /* xproto.h:3928:9 */ 14265 14266 // * 14267 // @brief xcb_alloc_color_cells_reply_t 14268 // 14269 type xcb_alloc_color_cells_reply_t = xcb_alloc_color_cells_reply_t1 /* xproto.h:3936:3 */ 14270 14271 // * 14272 // @brief xcb_alloc_color_planes_cookie_t 14273 // 14274 type xcb_alloc_color_planes_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3941:9 */ 14275 14276 // * 14277 // @brief xcb_alloc_color_planes_cookie_t 14278 // 14279 type xcb_alloc_color_planes_cookie_t = xcb_alloc_color_planes_cookie_t1 /* xproto.h:3943:3 */ 14280 14281 //* Opcode for xcb_alloc_color_planes. 14282 14283 // * 14284 // @brief xcb_alloc_color_planes_request_t 14285 // 14286 type xcb_alloc_color_planes_request_t1 = struct { 14287 Fmajor_opcode uint8_t 14288 Fcontiguous uint8_t 14289 Flength uint16_t 14290 Fcmap xcb_colormap_t 14291 Fcolors uint16_t 14292 Freds uint16_t 14293 Fgreens uint16_t 14294 Fblues uint16_t 14295 } /* xproto.h:3951:9 */ 14296 14297 //* Opcode for xcb_alloc_color_planes. 14298 14299 // * 14300 // @brief xcb_alloc_color_planes_request_t 14301 // 14302 type xcb_alloc_color_planes_request_t = xcb_alloc_color_planes_request_t1 /* xproto.h:3960:3 */ 14303 14304 // * 14305 // @brief xcb_alloc_color_planes_reply_t 14306 // 14307 type xcb_alloc_color_planes_reply_t1 = struct { 14308 Fresponse_type uint8_t 14309 Fpad0 uint8_t 14310 Fsequence uint16_t 14311 Flength uint32_t 14312 Fpixels_len uint16_t 14313 Fpad1 [2]uint8_t 14314 Fred_mask uint32_t 14315 Fgreen_mask uint32_t 14316 Fblue_mask uint32_t 14317 Fpad2 [8]uint8_t 14318 } /* xproto.h:3965:9 */ 14319 14320 // * 14321 // @brief xcb_alloc_color_planes_reply_t 14322 // 14323 type xcb_alloc_color_planes_reply_t = xcb_alloc_color_planes_reply_t1 /* xproto.h:3976:3 */ 14324 14325 //* Opcode for xcb_free_colors. 14326 14327 // * 14328 // @brief xcb_free_colors_request_t 14329 // 14330 type xcb_free_colors_request_t1 = struct { 14331 Fmajor_opcode uint8_t 14332 Fpad0 uint8_t 14333 Flength uint16_t 14334 Fcmap xcb_colormap_t 14335 Fplane_mask uint32_t 14336 } /* xproto.h:3984:9 */ 14337 14338 //* Opcode for xcb_free_colors. 14339 14340 // * 14341 // @brief xcb_free_colors_request_t 14342 // 14343 type xcb_free_colors_request_t = xcb_free_colors_request_t1 /* xproto.h:3990:3 */ 14344 14345 type xcb_color_flag_t = uint32 /* xproto.h:3996:3 */ 14346 14347 // * 14348 // @brief xcb_coloritem_t 14349 // 14350 type xcb_coloritem_t1 = struct { 14351 Fpixel uint32_t 14352 Fred uint16_t 14353 Fgreen uint16_t 14354 Fblue uint16_t 14355 Fflags uint8_t 14356 Fpad0 uint8_t 14357 } /* xproto.h:4001:9 */ 14358 14359 // * 14360 // @brief xcb_coloritem_t 14361 // 14362 type xcb_coloritem_t = xcb_coloritem_t1 /* xproto.h:4008:3 */ 14363 14364 // * 14365 // @brief xcb_coloritem_iterator_t 14366 // 14367 type xcb_coloritem_iterator_t1 = struct { 14368 Fdata uintptr 14369 Frem int32 14370 Findex int32 14371 } /* xproto.h:4013:9 */ 14372 14373 // * 14374 // @brief xcb_coloritem_iterator_t 14375 // 14376 type xcb_coloritem_iterator_t = xcb_coloritem_iterator_t1 /* xproto.h:4017:3 */ 14377 14378 //* Opcode for xcb_store_colors. 14379 14380 // * 14381 // @brief xcb_store_colors_request_t 14382 // 14383 type xcb_store_colors_request_t1 = struct { 14384 Fmajor_opcode uint8_t 14385 Fpad0 uint8_t 14386 Flength uint16_t 14387 Fcmap xcb_colormap_t 14388 } /* xproto.h:4025:9 */ 14389 14390 //* Opcode for xcb_store_colors. 14391 14392 // * 14393 // @brief xcb_store_colors_request_t 14394 // 14395 type xcb_store_colors_request_t = xcb_store_colors_request_t1 /* xproto.h:4030:3 */ 14396 14397 //* Opcode for xcb_store_named_color. 14398 14399 // * 14400 // @brief xcb_store_named_color_request_t 14401 // 14402 type xcb_store_named_color_request_t1 = struct { 14403 Fmajor_opcode uint8_t 14404 Fflags uint8_t 14405 Flength uint16_t 14406 Fcmap xcb_colormap_t 14407 Fpixel uint32_t 14408 Fname_len uint16_t 14409 Fpad0 [2]uint8_t 14410 } /* xproto.h:4038:9 */ 14411 14412 //* Opcode for xcb_store_named_color. 14413 14414 // * 14415 // @brief xcb_store_named_color_request_t 14416 // 14417 type xcb_store_named_color_request_t = xcb_store_named_color_request_t1 /* xproto.h:4046:3 */ 14418 14419 // * 14420 // @brief xcb_rgb_t 14421 // 14422 type xcb_rgb_t1 = struct { 14423 Fred uint16_t 14424 Fgreen uint16_t 14425 Fblue uint16_t 14426 Fpad0 [2]uint8_t 14427 } /* xproto.h:4051:9 */ 14428 14429 // * 14430 // @brief xcb_rgb_t 14431 // 14432 type xcb_rgb_t = xcb_rgb_t1 /* xproto.h:4056:3 */ 14433 14434 // * 14435 // @brief xcb_rgb_iterator_t 14436 // 14437 type xcb_rgb_iterator_t1 = struct { 14438 Fdata uintptr 14439 Frem int32 14440 Findex int32 14441 } /* xproto.h:4061:9 */ 14442 14443 // * 14444 // @brief xcb_rgb_iterator_t 14445 // 14446 type xcb_rgb_iterator_t = xcb_rgb_iterator_t1 /* xproto.h:4065:3 */ 14447 14448 // * 14449 // @brief xcb_query_colors_cookie_t 14450 // 14451 type xcb_query_colors_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4070:9 */ 14452 14453 // * 14454 // @brief xcb_query_colors_cookie_t 14455 // 14456 type xcb_query_colors_cookie_t = xcb_query_colors_cookie_t1 /* xproto.h:4072:3 */ 14457 14458 //* Opcode for xcb_query_colors. 14459 14460 // * 14461 // @brief xcb_query_colors_request_t 14462 // 14463 type xcb_query_colors_request_t1 = struct { 14464 Fmajor_opcode uint8_t 14465 Fpad0 uint8_t 14466 Flength uint16_t 14467 Fcmap xcb_colormap_t 14468 } /* xproto.h:4080:9 */ 14469 14470 //* Opcode for xcb_query_colors. 14471 14472 // * 14473 // @brief xcb_query_colors_request_t 14474 // 14475 type xcb_query_colors_request_t = xcb_query_colors_request_t1 /* xproto.h:4085:3 */ 14476 14477 // * 14478 // @brief xcb_query_colors_reply_t 14479 // 14480 type xcb_query_colors_reply_t1 = struct { 14481 Fresponse_type uint8_t 14482 Fpad0 uint8_t 14483 Fsequence uint16_t 14484 Flength uint32_t 14485 Fcolors_len uint16_t 14486 Fpad1 [22]uint8_t 14487 } /* xproto.h:4090:9 */ 14488 14489 // * 14490 // @brief xcb_query_colors_reply_t 14491 // 14492 type xcb_query_colors_reply_t = xcb_query_colors_reply_t1 /* xproto.h:4097:3 */ 14493 14494 // * 14495 // @brief xcb_lookup_color_cookie_t 14496 // 14497 type xcb_lookup_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4102:9 */ 14498 14499 // * 14500 // @brief xcb_lookup_color_cookie_t 14501 // 14502 type xcb_lookup_color_cookie_t = xcb_lookup_color_cookie_t1 /* xproto.h:4104:3 */ 14503 14504 //* Opcode for xcb_lookup_color. 14505 14506 // * 14507 // @brief xcb_lookup_color_request_t 14508 // 14509 type xcb_lookup_color_request_t1 = struct { 14510 Fmajor_opcode uint8_t 14511 Fpad0 uint8_t 14512 Flength uint16_t 14513 Fcmap xcb_colormap_t 14514 Fname_len uint16_t 14515 Fpad1 [2]uint8_t 14516 } /* xproto.h:4112:9 */ 14517 14518 //* Opcode for xcb_lookup_color. 14519 14520 // * 14521 // @brief xcb_lookup_color_request_t 14522 // 14523 type xcb_lookup_color_request_t = xcb_lookup_color_request_t1 /* xproto.h:4119:3 */ 14524 14525 // * 14526 // @brief xcb_lookup_color_reply_t 14527 // 14528 type xcb_lookup_color_reply_t1 = struct { 14529 Fresponse_type uint8_t 14530 Fpad0 uint8_t 14531 Fsequence uint16_t 14532 Flength uint32_t 14533 Fexact_red uint16_t 14534 Fexact_green uint16_t 14535 Fexact_blue uint16_t 14536 Fvisual_red uint16_t 14537 Fvisual_green uint16_t 14538 Fvisual_blue uint16_t 14539 } /* xproto.h:4124:9 */ 14540 14541 // * 14542 // @brief xcb_lookup_color_reply_t 14543 // 14544 type xcb_lookup_color_reply_t = xcb_lookup_color_reply_t1 /* xproto.h:4135:3 */ 14545 14546 type xcb_pixmap_enum_t = uint32 /* xproto.h:4139:3 */ 14547 14548 //* Opcode for xcb_create_cursor. 14549 14550 // * 14551 // @brief xcb_create_cursor_request_t 14552 // 14553 type xcb_create_cursor_request_t1 = struct { 14554 Fmajor_opcode uint8_t 14555 Fpad0 uint8_t 14556 Flength uint16_t 14557 Fcid xcb_cursor_t 14558 Fsource xcb_pixmap_t 14559 Fmask xcb_pixmap_t 14560 Ffore_red uint16_t 14561 Ffore_green uint16_t 14562 Ffore_blue uint16_t 14563 Fback_red uint16_t 14564 Fback_green uint16_t 14565 Fback_blue uint16_t 14566 Fx uint16_t 14567 Fy uint16_t 14568 } /* xproto.h:4147:9 */ 14569 14570 //* Opcode for xcb_create_cursor. 14571 14572 // * 14573 // @brief xcb_create_cursor_request_t 14574 // 14575 type xcb_create_cursor_request_t = xcb_create_cursor_request_t1 /* xproto.h:4162:3 */ 14576 14577 type xcb_font_enum_t = uint32 /* xproto.h:4166:3 */ 14578 14579 //* Opcode for xcb_create_glyph_cursor. 14580 14581 // * 14582 // @brief xcb_create_glyph_cursor_request_t 14583 // 14584 type xcb_create_glyph_cursor_request_t1 = struct { 14585 Fmajor_opcode uint8_t 14586 Fpad0 uint8_t 14587 Flength uint16_t 14588 Fcid xcb_cursor_t 14589 Fsource_font xcb_font_t 14590 Fmask_font xcb_font_t 14591 Fsource_char uint16_t 14592 Fmask_char uint16_t 14593 Ffore_red uint16_t 14594 Ffore_green uint16_t 14595 Ffore_blue uint16_t 14596 Fback_red uint16_t 14597 Fback_green uint16_t 14598 Fback_blue uint16_t 14599 } /* xproto.h:4174:9 */ 14600 14601 //* Opcode for xcb_create_glyph_cursor. 14602 14603 // * 14604 // @brief xcb_create_glyph_cursor_request_t 14605 // 14606 type xcb_create_glyph_cursor_request_t = xcb_create_glyph_cursor_request_t1 /* xproto.h:4189:3 */ 14607 14608 //* Opcode for xcb_free_cursor. 14609 14610 // * 14611 // @brief xcb_free_cursor_request_t 14612 // 14613 type xcb_free_cursor_request_t1 = struct { 14614 Fmajor_opcode uint8_t 14615 Fpad0 uint8_t 14616 Flength uint16_t 14617 Fcursor xcb_cursor_t 14618 } /* xproto.h:4197:9 */ 14619 14620 //* Opcode for xcb_free_cursor. 14621 14622 // * 14623 // @brief xcb_free_cursor_request_t 14624 // 14625 type xcb_free_cursor_request_t = xcb_free_cursor_request_t1 /* xproto.h:4202:3 */ 14626 14627 //* Opcode for xcb_recolor_cursor. 14628 14629 // * 14630 // @brief xcb_recolor_cursor_request_t 14631 // 14632 type xcb_recolor_cursor_request_t1 = struct { 14633 Fmajor_opcode uint8_t 14634 Fpad0 uint8_t 14635 Flength uint16_t 14636 Fcursor xcb_cursor_t 14637 Ffore_red uint16_t 14638 Ffore_green uint16_t 14639 Ffore_blue uint16_t 14640 Fback_red uint16_t 14641 Fback_green uint16_t 14642 Fback_blue uint16_t 14643 } /* xproto.h:4210:9 */ 14644 14645 //* Opcode for xcb_recolor_cursor. 14646 14647 // * 14648 // @brief xcb_recolor_cursor_request_t 14649 // 14650 type xcb_recolor_cursor_request_t = xcb_recolor_cursor_request_t1 /* xproto.h:4221:3 */ 14651 14652 type xcb_query_shape_of_t = uint32 /* xproto.h:4227:3 */ 14653 14654 // * 14655 // @brief xcb_query_best_size_cookie_t 14656 // 14657 type xcb_query_best_size_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4232:9 */ 14658 14659 // * 14660 // @brief xcb_query_best_size_cookie_t 14661 // 14662 type xcb_query_best_size_cookie_t = xcb_query_best_size_cookie_t1 /* xproto.h:4234:3 */ 14663 14664 //* Opcode for xcb_query_best_size. 14665 14666 // * 14667 // @brief xcb_query_best_size_request_t 14668 // 14669 type xcb_query_best_size_request_t1 = struct { 14670 Fmajor_opcode uint8_t 14671 F_class uint8_t 14672 Flength uint16_t 14673 Fdrawable xcb_drawable_t 14674 Fwidth uint16_t 14675 Fheight uint16_t 14676 } /* xproto.h:4242:9 */ 14677 14678 //* Opcode for xcb_query_best_size. 14679 14680 // * 14681 // @brief xcb_query_best_size_request_t 14682 // 14683 type xcb_query_best_size_request_t = xcb_query_best_size_request_t1 /* xproto.h:4249:3 */ 14684 14685 // * 14686 // @brief xcb_query_best_size_reply_t 14687 // 14688 type xcb_query_best_size_reply_t1 = struct { 14689 Fresponse_type uint8_t 14690 Fpad0 uint8_t 14691 Fsequence uint16_t 14692 Flength uint32_t 14693 Fwidth uint16_t 14694 Fheight uint16_t 14695 } /* xproto.h:4254:9 */ 14696 14697 // * 14698 // @brief xcb_query_best_size_reply_t 14699 // 14700 type xcb_query_best_size_reply_t = xcb_query_best_size_reply_t1 /* xproto.h:4261:3 */ 14701 14702 // * 14703 // @brief xcb_query_extension_cookie_t 14704 // 14705 type xcb_query_extension_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4266:9 */ 14706 14707 // * 14708 // @brief xcb_query_extension_cookie_t 14709 // 14710 type xcb_query_extension_cookie_t = xcb_query_extension_cookie_t1 /* xproto.h:4268:3 */ 14711 14712 //* Opcode for xcb_query_extension. 14713 14714 // * 14715 // @brief xcb_query_extension_request_t 14716 // 14717 type xcb_query_extension_request_t1 = struct { 14718 Fmajor_opcode uint8_t 14719 Fpad0 uint8_t 14720 Flength uint16_t 14721 Fname_len uint16_t 14722 Fpad1 [2]uint8_t 14723 } /* xproto.h:4276:9 */ 14724 14725 //* Opcode for xcb_query_extension. 14726 14727 // * 14728 // @brief xcb_query_extension_request_t 14729 // 14730 type xcb_query_extension_request_t = xcb_query_extension_request_t1 /* xproto.h:4282:3 */ 14731 14732 // * 14733 // @brief xcb_query_extension_reply_t 14734 // 14735 type xcb_query_extension_reply_t1 = struct { 14736 Fresponse_type uint8_t 14737 Fpad0 uint8_t 14738 Fsequence uint16_t 14739 Flength uint32_t 14740 Fpresent uint8_t 14741 Fmajor_opcode uint8_t 14742 Ffirst_event uint8_t 14743 Ffirst_error uint8_t 14744 } /* xproto.h:4287:9 */ 14745 14746 // * 14747 // @brief xcb_query_extension_reply_t 14748 // 14749 type xcb_query_extension_reply_t = xcb_query_extension_reply_t1 /* xproto.h:4296:3 */ 14750 14751 // * 14752 // @brief xcb_list_extensions_cookie_t 14753 // 14754 type xcb_list_extensions_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4301:9 */ 14755 14756 // * 14757 // @brief xcb_list_extensions_cookie_t 14758 // 14759 type xcb_list_extensions_cookie_t = xcb_list_extensions_cookie_t1 /* xproto.h:4303:3 */ 14760 14761 //* Opcode for xcb_list_extensions. 14762 14763 // * 14764 // @brief xcb_list_extensions_request_t 14765 // 14766 type xcb_list_extensions_request_t1 = struct { 14767 Fmajor_opcode uint8_t 14768 Fpad0 uint8_t 14769 Flength uint16_t 14770 } /* xproto.h:4311:9 */ 14771 14772 //* Opcode for xcb_list_extensions. 14773 14774 // * 14775 // @brief xcb_list_extensions_request_t 14776 // 14777 type xcb_list_extensions_request_t = xcb_list_extensions_request_t1 /* xproto.h:4315:3 */ 14778 14779 // * 14780 // @brief xcb_list_extensions_reply_t 14781 // 14782 type xcb_list_extensions_reply_t1 = struct { 14783 Fresponse_type uint8_t 14784 Fnames_len uint8_t 14785 Fsequence uint16_t 14786 Flength uint32_t 14787 Fpad0 [24]uint8_t 14788 } /* xproto.h:4320:9 */ 14789 14790 // * 14791 // @brief xcb_list_extensions_reply_t 14792 // 14793 type xcb_list_extensions_reply_t = xcb_list_extensions_reply_t1 /* xproto.h:4326:3 */ 14794 14795 //* Opcode for xcb_change_keyboard_mapping. 14796 14797 // * 14798 // @brief xcb_change_keyboard_mapping_request_t 14799 // 14800 type xcb_change_keyboard_mapping_request_t1 = struct { 14801 Fmajor_opcode uint8_t 14802 Fkeycode_count uint8_t 14803 Flength uint16_t 14804 Ffirst_keycode xcb_keycode_t 14805 Fkeysyms_per_keycode uint8_t 14806 Fpad0 [2]uint8_t 14807 } /* xproto.h:4334:9 */ 14808 14809 //* Opcode for xcb_change_keyboard_mapping. 14810 14811 // * 14812 // @brief xcb_change_keyboard_mapping_request_t 14813 // 14814 type xcb_change_keyboard_mapping_request_t = xcb_change_keyboard_mapping_request_t1 /* xproto.h:4341:3 */ 14815 14816 // * 14817 // @brief xcb_get_keyboard_mapping_cookie_t 14818 // 14819 type xcb_get_keyboard_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4346:9 */ 14820 14821 // * 14822 // @brief xcb_get_keyboard_mapping_cookie_t 14823 // 14824 type xcb_get_keyboard_mapping_cookie_t = xcb_get_keyboard_mapping_cookie_t1 /* xproto.h:4348:3 */ 14825 14826 //* Opcode for xcb_get_keyboard_mapping. 14827 14828 // * 14829 // @brief xcb_get_keyboard_mapping_request_t 14830 // 14831 type xcb_get_keyboard_mapping_request_t1 = struct { 14832 Fmajor_opcode uint8_t 14833 Fpad0 uint8_t 14834 Flength uint16_t 14835 Ffirst_keycode xcb_keycode_t 14836 Fcount uint8_t 14837 } /* xproto.h:4356:9 */ 14838 14839 //* Opcode for xcb_get_keyboard_mapping. 14840 14841 // * 14842 // @brief xcb_get_keyboard_mapping_request_t 14843 // 14844 type xcb_get_keyboard_mapping_request_t = xcb_get_keyboard_mapping_request_t1 /* xproto.h:4362:3 */ 14845 14846 // * 14847 // @brief xcb_get_keyboard_mapping_reply_t 14848 // 14849 type xcb_get_keyboard_mapping_reply_t1 = struct { 14850 Fresponse_type uint8_t 14851 Fkeysyms_per_keycode uint8_t 14852 Fsequence uint16_t 14853 Flength uint32_t 14854 Fpad0 [24]uint8_t 14855 } /* xproto.h:4367:9 */ 14856 14857 // * 14858 // @brief xcb_get_keyboard_mapping_reply_t 14859 // 14860 type xcb_get_keyboard_mapping_reply_t = xcb_get_keyboard_mapping_reply_t1 /* xproto.h:4373:3 */ 14861 14862 type xcb_kb_t = uint32 /* xproto.h:4384:3 */ 14863 14864 type xcb_led_mode_t = uint32 /* xproto.h:4389:3 */ 14865 14866 type xcb_auto_repeat_mode_t = uint32 /* xproto.h:4395:3 */ 14867 14868 // * 14869 // @brief xcb_change_keyboard_control_value_list_t 14870 // 14871 type xcb_change_keyboard_control_value_list_t1 = struct { 14872 Fkey_click_percent int32_t 14873 Fbell_percent int32_t 14874 Fbell_pitch int32_t 14875 Fbell_duration int32_t 14876 Fled uint32_t 14877 Fled_mode uint32_t 14878 Fkey xcb_keycode32_t 14879 Fauto_repeat_mode uint32_t 14880 } /* xproto.h:4400:9 */ 14881 14882 // * 14883 // @brief xcb_change_keyboard_control_value_list_t 14884 // 14885 type xcb_change_keyboard_control_value_list_t = xcb_change_keyboard_control_value_list_t1 /* xproto.h:4409:3 */ 14886 14887 //* Opcode for xcb_change_keyboard_control. 14888 14889 // * 14890 // @brief xcb_change_keyboard_control_request_t 14891 // 14892 type xcb_change_keyboard_control_request_t1 = struct { 14893 Fmajor_opcode uint8_t 14894 Fpad0 uint8_t 14895 Flength uint16_t 14896 Fvalue_mask uint32_t 14897 } /* xproto.h:4417:9 */ 14898 14899 //* Opcode for xcb_change_keyboard_control. 14900 14901 // * 14902 // @brief xcb_change_keyboard_control_request_t 14903 // 14904 type xcb_change_keyboard_control_request_t = xcb_change_keyboard_control_request_t1 /* xproto.h:4422:3 */ 14905 14906 // * 14907 // @brief xcb_get_keyboard_control_cookie_t 14908 // 14909 type xcb_get_keyboard_control_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4427:9 */ 14910 14911 // * 14912 // @brief xcb_get_keyboard_control_cookie_t 14913 // 14914 type xcb_get_keyboard_control_cookie_t = xcb_get_keyboard_control_cookie_t1 /* xproto.h:4429:3 */ 14915 14916 //* Opcode for xcb_get_keyboard_control. 14917 14918 // * 14919 // @brief xcb_get_keyboard_control_request_t 14920 // 14921 type xcb_get_keyboard_control_request_t1 = struct { 14922 Fmajor_opcode uint8_t 14923 Fpad0 uint8_t 14924 Flength uint16_t 14925 } /* xproto.h:4437:9 */ 14926 14927 //* Opcode for xcb_get_keyboard_control. 14928 14929 // * 14930 // @brief xcb_get_keyboard_control_request_t 14931 // 14932 type xcb_get_keyboard_control_request_t = xcb_get_keyboard_control_request_t1 /* xproto.h:4441:3 */ 14933 14934 // * 14935 // @brief xcb_get_keyboard_control_reply_t 14936 // 14937 type xcb_get_keyboard_control_reply_t1 = struct { 14938 Fresponse_type uint8_t 14939 Fglobal_auto_repeat uint8_t 14940 Fsequence uint16_t 14941 Flength uint32_t 14942 Fled_mask uint32_t 14943 Fkey_click_percent uint8_t 14944 Fbell_percent uint8_t 14945 Fbell_pitch uint16_t 14946 Fbell_duration uint16_t 14947 Fpad0 [2]uint8_t 14948 Fauto_repeats [32]uint8_t 14949 } /* xproto.h:4446:9 */ 14950 14951 // * 14952 // @brief xcb_get_keyboard_control_reply_t 14953 // 14954 type xcb_get_keyboard_control_reply_t = xcb_get_keyboard_control_reply_t1 /* xproto.h:4458:3 */ 14955 14956 //* Opcode for xcb_bell. 14957 14958 // * 14959 // @brief xcb_bell_request_t 14960 // 14961 type xcb_bell_request_t1 = struct { 14962 Fmajor_opcode uint8_t 14963 Fpercent int8_t 14964 Flength uint16_t 14965 } /* xproto.h:4466:9 */ 14966 14967 //* Opcode for xcb_bell. 14968 14969 // * 14970 // @brief xcb_bell_request_t 14971 // 14972 type xcb_bell_request_t = xcb_bell_request_t1 /* xproto.h:4470:3 */ 14973 14974 //* Opcode for xcb_change_pointer_control. 14975 14976 // * 14977 // @brief xcb_change_pointer_control_request_t 14978 // 14979 type xcb_change_pointer_control_request_t1 = struct { 14980 Fmajor_opcode uint8_t 14981 Fpad0 uint8_t 14982 Flength uint16_t 14983 Facceleration_numerator int16_t 14984 Facceleration_denominator int16_t 14985 Fthreshold int16_t 14986 Fdo_acceleration uint8_t 14987 Fdo_threshold uint8_t 14988 } /* xproto.h:4478:9 */ 14989 14990 //* Opcode for xcb_change_pointer_control. 14991 14992 // * 14993 // @brief xcb_change_pointer_control_request_t 14994 // 14995 type xcb_change_pointer_control_request_t = xcb_change_pointer_control_request_t1 /* xproto.h:4487:3 */ 14996 14997 // * 14998 // @brief xcb_get_pointer_control_cookie_t 14999 // 15000 type xcb_get_pointer_control_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4492:9 */ 15001 15002 // * 15003 // @brief xcb_get_pointer_control_cookie_t 15004 // 15005 type xcb_get_pointer_control_cookie_t = xcb_get_pointer_control_cookie_t1 /* xproto.h:4494:3 */ 15006 15007 //* Opcode for xcb_get_pointer_control. 15008 15009 // * 15010 // @brief xcb_get_pointer_control_request_t 15011 // 15012 type xcb_get_pointer_control_request_t1 = struct { 15013 Fmajor_opcode uint8_t 15014 Fpad0 uint8_t 15015 Flength uint16_t 15016 } /* xproto.h:4502:9 */ 15017 15018 //* Opcode for xcb_get_pointer_control. 15019 15020 // * 15021 // @brief xcb_get_pointer_control_request_t 15022 // 15023 type xcb_get_pointer_control_request_t = xcb_get_pointer_control_request_t1 /* xproto.h:4506:3 */ 15024 15025 // * 15026 // @brief xcb_get_pointer_control_reply_t 15027 // 15028 type xcb_get_pointer_control_reply_t1 = struct { 15029 Fresponse_type uint8_t 15030 Fpad0 uint8_t 15031 Fsequence uint16_t 15032 Flength uint32_t 15033 Facceleration_numerator uint16_t 15034 Facceleration_denominator uint16_t 15035 Fthreshold uint16_t 15036 Fpad1 [18]uint8_t 15037 } /* xproto.h:4511:9 */ 15038 15039 // * 15040 // @brief xcb_get_pointer_control_reply_t 15041 // 15042 type xcb_get_pointer_control_reply_t = xcb_get_pointer_control_reply_t1 /* xproto.h:4520:3 */ 15043 15044 type xcb_blanking_t = uint32 /* xproto.h:4526:3 */ 15045 15046 type xcb_exposures_t = uint32 /* xproto.h:4532:3 */ 15047 15048 //* Opcode for xcb_set_screen_saver. 15049 15050 // * 15051 // @brief xcb_set_screen_saver_request_t 15052 // 15053 type xcb_set_screen_saver_request_t1 = struct { 15054 Fmajor_opcode uint8_t 15055 Fpad0 uint8_t 15056 Flength uint16_t 15057 Ftimeout int16_t 15058 Finterval int16_t 15059 Fprefer_blanking uint8_t 15060 Fallow_exposures uint8_t 15061 } /* xproto.h:4540:9 */ 15062 15063 //* Opcode for xcb_set_screen_saver. 15064 15065 // * 15066 // @brief xcb_set_screen_saver_request_t 15067 // 15068 type xcb_set_screen_saver_request_t = xcb_set_screen_saver_request_t1 /* xproto.h:4548:3 */ 15069 15070 // * 15071 // @brief xcb_get_screen_saver_cookie_t 15072 // 15073 type xcb_get_screen_saver_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4553:9 */ 15074 15075 // * 15076 // @brief xcb_get_screen_saver_cookie_t 15077 // 15078 type xcb_get_screen_saver_cookie_t = xcb_get_screen_saver_cookie_t1 /* xproto.h:4555:3 */ 15079 15080 //* Opcode for xcb_get_screen_saver. 15081 15082 // * 15083 // @brief xcb_get_screen_saver_request_t 15084 // 15085 type xcb_get_screen_saver_request_t1 = struct { 15086 Fmajor_opcode uint8_t 15087 Fpad0 uint8_t 15088 Flength uint16_t 15089 } /* xproto.h:4563:9 */ 15090 15091 //* Opcode for xcb_get_screen_saver. 15092 15093 // * 15094 // @brief xcb_get_screen_saver_request_t 15095 // 15096 type xcb_get_screen_saver_request_t = xcb_get_screen_saver_request_t1 /* xproto.h:4567:3 */ 15097 15098 // * 15099 // @brief xcb_get_screen_saver_reply_t 15100 // 15101 type xcb_get_screen_saver_reply_t1 = struct { 15102 Fresponse_type uint8_t 15103 Fpad0 uint8_t 15104 Fsequence uint16_t 15105 Flength uint32_t 15106 Ftimeout uint16_t 15107 Finterval uint16_t 15108 Fprefer_blanking uint8_t 15109 Fallow_exposures uint8_t 15110 Fpad1 [18]uint8_t 15111 } /* xproto.h:4572:9 */ 15112 15113 // * 15114 // @brief xcb_get_screen_saver_reply_t 15115 // 15116 type xcb_get_screen_saver_reply_t = xcb_get_screen_saver_reply_t1 /* xproto.h:4582:3 */ 15117 15118 type xcb_host_mode_t = uint32 /* xproto.h:4587:3 */ 15119 15120 type xcb_family_t = uint32 /* xproto.h:4595:3 */ 15121 15122 //* Opcode for xcb_change_hosts. 15123 15124 // * 15125 // @brief xcb_change_hosts_request_t 15126 // 15127 type xcb_change_hosts_request_t1 = struct { 15128 Fmajor_opcode uint8_t 15129 Fmode uint8_t 15130 Flength uint16_t 15131 Ffamily uint8_t 15132 Fpad0 uint8_t 15133 Faddress_len uint16_t 15134 } /* xproto.h:4603:9 */ 15135 15136 //* Opcode for xcb_change_hosts. 15137 15138 // * 15139 // @brief xcb_change_hosts_request_t 15140 // 15141 type xcb_change_hosts_request_t = xcb_change_hosts_request_t1 /* xproto.h:4610:3 */ 15142 15143 // * 15144 // @brief xcb_host_t 15145 // 15146 type xcb_host_t1 = struct { 15147 Ffamily uint8_t 15148 Fpad0 uint8_t 15149 Faddress_len uint16_t 15150 } /* xproto.h:4615:9 */ 15151 15152 // * 15153 // @brief xcb_host_t 15154 // 15155 type xcb_host_t = xcb_host_t1 /* xproto.h:4619:3 */ 15156 15157 // * 15158 // @brief xcb_host_iterator_t 15159 // 15160 type xcb_host_iterator_t1 = struct { 15161 Fdata uintptr 15162 Frem int32 15163 Findex int32 15164 } /* xproto.h:4624:9 */ 15165 15166 // * 15167 // @brief xcb_host_iterator_t 15168 // 15169 type xcb_host_iterator_t = xcb_host_iterator_t1 /* xproto.h:4628:3 */ 15170 15171 // * 15172 // @brief xcb_list_hosts_cookie_t 15173 // 15174 type xcb_list_hosts_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4633:9 */ 15175 15176 // * 15177 // @brief xcb_list_hosts_cookie_t 15178 // 15179 type xcb_list_hosts_cookie_t = xcb_list_hosts_cookie_t1 /* xproto.h:4635:3 */ 15180 15181 //* Opcode for xcb_list_hosts. 15182 15183 // * 15184 // @brief xcb_list_hosts_request_t 15185 // 15186 type xcb_list_hosts_request_t1 = struct { 15187 Fmajor_opcode uint8_t 15188 Fpad0 uint8_t 15189 Flength uint16_t 15190 } /* xproto.h:4643:9 */ 15191 15192 //* Opcode for xcb_list_hosts. 15193 15194 // * 15195 // @brief xcb_list_hosts_request_t 15196 // 15197 type xcb_list_hosts_request_t = xcb_list_hosts_request_t1 /* xproto.h:4647:3 */ 15198 15199 // * 15200 // @brief xcb_list_hosts_reply_t 15201 // 15202 type xcb_list_hosts_reply_t1 = struct { 15203 Fresponse_type uint8_t 15204 Fmode uint8_t 15205 Fsequence uint16_t 15206 Flength uint32_t 15207 Fhosts_len uint16_t 15208 Fpad0 [22]uint8_t 15209 } /* xproto.h:4652:9 */ 15210 15211 // * 15212 // @brief xcb_list_hosts_reply_t 15213 // 15214 type xcb_list_hosts_reply_t = xcb_list_hosts_reply_t1 /* xproto.h:4659:3 */ 15215 15216 type xcb_access_control_t = uint32 /* xproto.h:4664:3 */ 15217 15218 //* Opcode for xcb_set_access_control. 15219 15220 // * 15221 // @brief xcb_set_access_control_request_t 15222 // 15223 type xcb_set_access_control_request_t1 = struct { 15224 Fmajor_opcode uint8_t 15225 Fmode uint8_t 15226 Flength uint16_t 15227 } /* xproto.h:4672:9 */ 15228 15229 //* Opcode for xcb_set_access_control. 15230 15231 // * 15232 // @brief xcb_set_access_control_request_t 15233 // 15234 type xcb_set_access_control_request_t = xcb_set_access_control_request_t1 /* xproto.h:4676:3 */ 15235 15236 type xcb_close_down_t = uint32 /* xproto.h:4682:3 */ 15237 15238 //* Opcode for xcb_set_close_down_mode. 15239 15240 // * 15241 // @brief xcb_set_close_down_mode_request_t 15242 // 15243 type xcb_set_close_down_mode_request_t1 = struct { 15244 Fmajor_opcode uint8_t 15245 Fmode uint8_t 15246 Flength uint16_t 15247 } /* xproto.h:4690:9 */ 15248 15249 //* Opcode for xcb_set_close_down_mode. 15250 15251 // * 15252 // @brief xcb_set_close_down_mode_request_t 15253 // 15254 type xcb_set_close_down_mode_request_t = xcb_set_close_down_mode_request_t1 /* xproto.h:4694:3 */ 15255 15256 type xcb_kill_t = uint32 /* xproto.h:4698:3 */ 15257 15258 //* Opcode for xcb_kill_client. 15259 15260 // * 15261 // @brief xcb_kill_client_request_t 15262 // 15263 type xcb_kill_client_request_t1 = struct { 15264 Fmajor_opcode uint8_t 15265 Fpad0 uint8_t 15266 Flength uint16_t 15267 Fresource uint32_t 15268 } /* xproto.h:4706:9 */ 15269 15270 //* Opcode for xcb_kill_client. 15271 15272 // * 15273 // @brief xcb_kill_client_request_t 15274 // 15275 type xcb_kill_client_request_t = xcb_kill_client_request_t1 /* xproto.h:4711:3 */ 15276 15277 //* Opcode for xcb_rotate_properties. 15278 15279 // * 15280 // @brief xcb_rotate_properties_request_t 15281 // 15282 type xcb_rotate_properties_request_t1 = struct { 15283 Fmajor_opcode uint8_t 15284 Fpad0 uint8_t 15285 Flength uint16_t 15286 Fwindow xcb_window_t 15287 Fatoms_len uint16_t 15288 Fdelta int16_t 15289 } /* xproto.h:4719:9 */ 15290 15291 //* Opcode for xcb_rotate_properties. 15292 15293 // * 15294 // @brief xcb_rotate_properties_request_t 15295 // 15296 type xcb_rotate_properties_request_t = xcb_rotate_properties_request_t1 /* xproto.h:4726:3 */ 15297 15298 type xcb_screen_saver_t = uint32 /* xproto.h:4731:3 */ 15299 15300 //* Opcode for xcb_force_screen_saver. 15301 15302 // * 15303 // @brief xcb_force_screen_saver_request_t 15304 // 15305 type xcb_force_screen_saver_request_t1 = struct { 15306 Fmajor_opcode uint8_t 15307 Fmode uint8_t 15308 Flength uint16_t 15309 } /* xproto.h:4739:9 */ 15310 15311 //* Opcode for xcb_force_screen_saver. 15312 15313 // * 15314 // @brief xcb_force_screen_saver_request_t 15315 // 15316 type xcb_force_screen_saver_request_t = xcb_force_screen_saver_request_t1 /* xproto.h:4743:3 */ 15317 15318 type xcb_mapping_status_t = uint32 /* xproto.h:4749:3 */ 15319 15320 // * 15321 // @brief xcb_set_pointer_mapping_cookie_t 15322 // 15323 type xcb_set_pointer_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4754:9 */ 15324 15325 // * 15326 // @brief xcb_set_pointer_mapping_cookie_t 15327 // 15328 type xcb_set_pointer_mapping_cookie_t = xcb_set_pointer_mapping_cookie_t1 /* xproto.h:4756:3 */ 15329 15330 //* Opcode for xcb_set_pointer_mapping. 15331 15332 // * 15333 // @brief xcb_set_pointer_mapping_request_t 15334 // 15335 type xcb_set_pointer_mapping_request_t1 = struct { 15336 Fmajor_opcode uint8_t 15337 Fmap_len uint8_t 15338 Flength uint16_t 15339 } /* xproto.h:4764:9 */ 15340 15341 //* Opcode for xcb_set_pointer_mapping. 15342 15343 // * 15344 // @brief xcb_set_pointer_mapping_request_t 15345 // 15346 type xcb_set_pointer_mapping_request_t = xcb_set_pointer_mapping_request_t1 /* xproto.h:4768:3 */ 15347 15348 // * 15349 // @brief xcb_set_pointer_mapping_reply_t 15350 // 15351 type xcb_set_pointer_mapping_reply_t1 = struct { 15352 Fresponse_type uint8_t 15353 Fstatus uint8_t 15354 Fsequence uint16_t 15355 Flength uint32_t 15356 } /* xproto.h:4773:9 */ 15357 15358 // * 15359 // @brief xcb_set_pointer_mapping_reply_t 15360 // 15361 type xcb_set_pointer_mapping_reply_t = xcb_set_pointer_mapping_reply_t1 /* xproto.h:4778:3 */ 15362 15363 // * 15364 // @brief xcb_get_pointer_mapping_cookie_t 15365 // 15366 type xcb_get_pointer_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4783:9 */ 15367 15368 // * 15369 // @brief xcb_get_pointer_mapping_cookie_t 15370 // 15371 type xcb_get_pointer_mapping_cookie_t = xcb_get_pointer_mapping_cookie_t1 /* xproto.h:4785:3 */ 15372 15373 //* Opcode for xcb_get_pointer_mapping. 15374 15375 // * 15376 // @brief xcb_get_pointer_mapping_request_t 15377 // 15378 type xcb_get_pointer_mapping_request_t1 = struct { 15379 Fmajor_opcode uint8_t 15380 Fpad0 uint8_t 15381 Flength uint16_t 15382 } /* xproto.h:4793:9 */ 15383 15384 //* Opcode for xcb_get_pointer_mapping. 15385 15386 // * 15387 // @brief xcb_get_pointer_mapping_request_t 15388 // 15389 type xcb_get_pointer_mapping_request_t = xcb_get_pointer_mapping_request_t1 /* xproto.h:4797:3 */ 15390 15391 // * 15392 // @brief xcb_get_pointer_mapping_reply_t 15393 // 15394 type xcb_get_pointer_mapping_reply_t1 = struct { 15395 Fresponse_type uint8_t 15396 Fmap_len uint8_t 15397 Fsequence uint16_t 15398 Flength uint32_t 15399 Fpad0 [24]uint8_t 15400 } /* xproto.h:4802:9 */ 15401 15402 // * 15403 // @brief xcb_get_pointer_mapping_reply_t 15404 // 15405 type xcb_get_pointer_mapping_reply_t = xcb_get_pointer_mapping_reply_t1 /* xproto.h:4808:3 */ 15406 15407 type xcb_map_index_t = uint32 /* xproto.h:4819:3 */ 15408 15409 // * 15410 // @brief xcb_set_modifier_mapping_cookie_t 15411 // 15412 type xcb_set_modifier_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4824:9 */ 15413 15414 // * 15415 // @brief xcb_set_modifier_mapping_cookie_t 15416 // 15417 type xcb_set_modifier_mapping_cookie_t = xcb_set_modifier_mapping_cookie_t1 /* xproto.h:4826:3 */ 15418 15419 //* Opcode for xcb_set_modifier_mapping. 15420 15421 // * 15422 // @brief xcb_set_modifier_mapping_request_t 15423 // 15424 type xcb_set_modifier_mapping_request_t1 = struct { 15425 Fmajor_opcode uint8_t 15426 Fkeycodes_per_modifier uint8_t 15427 Flength uint16_t 15428 } /* xproto.h:4834:9 */ 15429 15430 //* Opcode for xcb_set_modifier_mapping. 15431 15432 // * 15433 // @brief xcb_set_modifier_mapping_request_t 15434 // 15435 type xcb_set_modifier_mapping_request_t = xcb_set_modifier_mapping_request_t1 /* xproto.h:4838:3 */ 15436 15437 // * 15438 // @brief xcb_set_modifier_mapping_reply_t 15439 // 15440 type xcb_set_modifier_mapping_reply_t1 = struct { 15441 Fresponse_type uint8_t 15442 Fstatus uint8_t 15443 Fsequence uint16_t 15444 Flength uint32_t 15445 } /* xproto.h:4843:9 */ 15446 15447 // * 15448 // @brief xcb_set_modifier_mapping_reply_t 15449 // 15450 type xcb_set_modifier_mapping_reply_t = xcb_set_modifier_mapping_reply_t1 /* xproto.h:4848:3 */ 15451 15452 // * 15453 // @brief xcb_get_modifier_mapping_cookie_t 15454 // 15455 type xcb_get_modifier_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4853:9 */ 15456 15457 // * 15458 // @brief xcb_get_modifier_mapping_cookie_t 15459 // 15460 type xcb_get_modifier_mapping_cookie_t = xcb_get_modifier_mapping_cookie_t1 /* xproto.h:4855:3 */ 15461 15462 //* Opcode for xcb_get_modifier_mapping. 15463 15464 // * 15465 // @brief xcb_get_modifier_mapping_request_t 15466 // 15467 type xcb_get_modifier_mapping_request_t1 = struct { 15468 Fmajor_opcode uint8_t 15469 Fpad0 uint8_t 15470 Flength uint16_t 15471 } /* xproto.h:4863:9 */ 15472 15473 //* Opcode for xcb_get_modifier_mapping. 15474 15475 // * 15476 // @brief xcb_get_modifier_mapping_request_t 15477 // 15478 type xcb_get_modifier_mapping_request_t = xcb_get_modifier_mapping_request_t1 /* xproto.h:4867:3 */ 15479 15480 // * 15481 // @brief xcb_get_modifier_mapping_reply_t 15482 // 15483 type xcb_get_modifier_mapping_reply_t1 = struct { 15484 Fresponse_type uint8_t 15485 Fkeycodes_per_modifier uint8_t 15486 Fsequence uint16_t 15487 Flength uint32_t 15488 Fpad0 [24]uint8_t 15489 } /* xproto.h:4872:9 */ 15490 15491 // * 15492 // @brief xcb_get_modifier_mapping_reply_t 15493 // 15494 type xcb_get_modifier_mapping_reply_t = xcb_get_modifier_mapping_reply_t1 /* xproto.h:4878:3 */ 15495 15496 //* Opcode for xcb_no_operation. 15497 15498 // * 15499 // @brief xcb_no_operation_request_t 15500 // 15501 type xcb_no_operation_request_t1 = struct { 15502 Fmajor_opcode uint8_t 15503 Fpad0 uint8_t 15504 Flength uint16_t 15505 } /* xproto.h:4886:9 */ 15506 15507 //* Opcode for xcb_no_operation. 15508 15509 // * 15510 // @brief xcb_no_operation_request_t 15511 // 15512 type xcb_no_operation_request_t = xcb_no_operation_request_t1 /* xproto.h:4890:3 */ 15513 15514 // * 15515 // @} 15516 15517 //* XCB_NONE is the universal null resource or null atom parameter value for many core X requests 15518 15519 //* XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters 15520 15521 //* XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t 15522 15523 //* XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables 15524 15525 // xcb_auth.c 15526 15527 // * 15528 // @brief Container for authorization information. 15529 // 15530 // A container for authorization information to be sent to the X server. 15531 type xcb_auth_info_t1 = struct { 15532 Fnamelen int32 15533 F__ccgo_pad1 [4]byte 15534 Fname uintptr 15535 Fdatalen int32 15536 F__ccgo_pad2 [4]byte 15537 Fdata uintptr 15538 } /* xcb.h:228:9 */ 15539 15540 // * 15541 // @} 15542 15543 //* XCB_NONE is the universal null resource or null atom parameter value for many core X requests 15544 15545 //* XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters 15546 15547 //* XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t 15548 15549 //* XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables 15550 15551 // xcb_auth.c 15552 15553 // * 15554 // @brief Container for authorization information. 15555 // 15556 // A container for authorization information to be sent to the X server. 15557 type xcb_auth_info_t = xcb_auth_info_t1 /* xcb.h:233:3 */ 15558 15559 func text_draw(tls *libc.TLS, c uintptr, screen uintptr, window xcb_window_t, x1 int16_t, y1 int16_t, label uintptr) { /* fontcompleteexample.c:29:1: */ 15560 bp := tls.Alloc(16) 15561 defer tls.Free(16) 15562 15563 var cookie_gc xcb_void_cookie_t 15564 var cookie_text xcb_void_cookie_t 15565 var error uintptr 15566 var gc xcb_gcontext_t 15567 var length uint8_t 15568 15569 length = uint8_t(libc.Xstrlen(tls, label)) 15570 15571 gc = gc_font_get(tls, c, screen, window, ts) 15572 15573 cookie_text = xcb.Xxcb_image_text_8_checked(tls, c, length, window, gc, 15574 x1, 15575 y1, label) 15576 error = xcb.Xxcb_request_check(tls, c, cookie_text) 15577 if error != 0 { 15578 libc.Xfprintf(tls, libc.X__stderrp, ts+5, libc.VaList(bp, int32((*xcb_generic_error_t)(unsafe.Pointer(error)).Ferror_code))) 15579 xcb.Xxcb_disconnect(tls, c) 15580 libc.Xexit(tls, -1) 15581 } 15582 15583 cookie_gc = xcb.Xxcb_free_gc(tls, c, gc) 15584 error = xcb.Xxcb_request_check(tls, c, cookie_gc) 15585 if error != 0 { 15586 libc.Xfprintf(tls, libc.X__stderrp, ts+35, libc.VaList(bp+8, int32((*xcb_generic_error_t)(unsafe.Pointer(error)).Ferror_code))) 15587 xcb.Xxcb_disconnect(tls, c) 15588 libc.Xexit(tls, -1) 15589 } 15590 } 15591 15592 func gc_font_get(tls *libc.TLS, c uintptr, screen uintptr, window xcb_window_t, font_name uintptr) xcb_gc_t { /* fontcompleteexample.c:66:1: */ 15593 bp := tls.Alloc(36) 15594 defer tls.Free(36) 15595 15596 // var value_list [3]uint32_t at bp+24, 12 15597 15598 var cookie_font xcb_void_cookie_t 15599 var cookie_gc xcb_void_cookie_t 15600 var error uintptr 15601 var font xcb_font_t 15602 var gc xcb_gcontext_t 15603 var mask uint32_t 15604 15605 font = xcb.Xxcb_generate_id(tls, c) 15606 cookie_font = xcb.Xxcb_open_font_checked(tls, c, font, 15607 uint16(libc.Xstrlen(tls, font_name)), 15608 font_name) 15609 15610 error = xcb.Xxcb_request_check(tls, c, cookie_font) 15611 if error != 0 { 15612 libc.Xfprintf(tls, libc.X__stderrp, ts+62, libc.VaList(bp, int32((*xcb_generic_error_t)(unsafe.Pointer(error)).Ferror_code))) 15613 xcb.Xxcb_disconnect(tls, c) 15614 return libc.Uint32FromInt32(-1) 15615 } 15616 15617 gc = xcb.Xxcb_generate_id(tls, c) 15618 mask = uint32_t(XCB_GC_FOREGROUND | XCB_GC_BACKGROUND | XCB_GC_FONT) 15619 *(*uint32_t)(unsafe.Pointer(bp + 24)) = (*xcb_screen_t)(unsafe.Pointer(screen)).Fblack_pixel 15620 *(*uint32_t)(unsafe.Pointer(bp + 24 + 1*4)) = (*xcb_screen_t)(unsafe.Pointer(screen)).Fwhite_pixel 15621 *(*uint32_t)(unsafe.Pointer(bp + 24 + 2*4)) = font 15622 cookie_gc = xcb.Xxcb_create_gc_checked(tls, c, gc, window, mask, bp+24) 15623 error = xcb.Xxcb_request_check(tls, c, cookie_gc) 15624 if error != 0 { 15625 libc.Xfprintf(tls, libc.X__stderrp, ts+91, libc.VaList(bp+8, int32((*xcb_generic_error_t)(unsafe.Pointer(error)).Ferror_code))) 15626 xcb.Xxcb_disconnect(tls, c) 15627 libc.Xexit(tls, -1) 15628 } 15629 15630 cookie_font = xcb.Xxcb_close_font_checked(tls, c, font) 15631 error = xcb.Xxcb_request_check(tls, c, cookie_font) 15632 if error != 0 { 15633 libc.Xfprintf(tls, libc.X__stderrp, ts+120, libc.VaList(bp+16, int32((*xcb_generic_error_t)(unsafe.Pointer(error)).Ferror_code))) 15634 xcb.Xxcb_disconnect(tls, c) 15635 libc.Xexit(tls, -1) 15636 } 15637 15638 return gc 15639 } 15640 15641 func main1(tls *libc.TLS, _ int32, _ uintptr) int32 { /* fontcompleteexample.c:115:5: */ 15642 bp := tls.Alloc(48) 15643 defer tls.Free(48) 15644 15645 // var screen_iter xcb_screen_iterator_t at bp+24, 16 15646 15647 var c uintptr 15648 var setup uintptr 15649 var screen uintptr 15650 var e uintptr 15651 var error uintptr 15652 var cookie_window xcb_void_cookie_t 15653 var cookie_map xcb_void_cookie_t 15654 var window xcb_window_t 15655 var mask uint32_t 15656 // var values [2]uint32_t at bp+40, 8 15657 15658 // var screen_number int32 at bp+16, 4 15659 15660 // getting the connection 15661 c = xcb.Xxcb_connect(tls, uintptr(0), bp+16) 15662 if !(c != 0) { 15663 libc.Xfprintf(tls, libc.X__stderrp, ts+150, 0) 15664 return -1 15665 } 15666 15667 // getting the current screen 15668 setup = xcb.Xxcb_get_setup(tls, c) 15669 15670 screen = uintptr(0) 15671 *(*xcb_screen_iterator_t)(unsafe.Pointer(bp + 24 /* screen_iter */)) = xcb.Xxcb_setup_roots_iterator(tls, setup) 15672 __1: 15673 if !((*xcb_screen_iterator_t)(unsafe.Pointer(bp+24)).Frem != 0) { 15674 goto __3 15675 } 15676 if *(*int32)(unsafe.Pointer(bp + 16)) == 0 { 15677 screen = (*xcb_screen_iterator_t)(unsafe.Pointer(bp + 24 /* &screen_iter */)).Fdata 15678 goto __3 15679 } 15680 goto __2 15681 __2: 15682 *(*int32)(unsafe.Pointer(bp + 16 /* screen_number */))-- 15683 xcb.Xxcb_screen_next(tls, bp+24) 15684 goto __1 15685 goto __3 15686 __3: 15687 ; 15688 if !(screen != 0) { 15689 libc.Xfprintf(tls, libc.X__stderrp, ts+187, 0) 15690 xcb.Xxcb_disconnect(tls, c) 15691 return -1 15692 } 15693 15694 // creating the window 15695 window = xcb.Xxcb_generate_id(tls, c) 15696 mask = uint32_t(XCB_CW_BACK_PIXEL | XCB_CW_EVENT_MASK) 15697 *(*uint32_t)(unsafe.Pointer(bp + 40)) = (*xcb_screen_t)(unsafe.Pointer(screen)).Fwhite_pixel 15698 *(*uint32_t)(unsafe.Pointer(bp + 40 + 1*4)) = uint32_t(XCB_EVENT_MASK_KEY_RELEASE | XCB_EVENT_MASK_BUTTON_PRESS | XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_POINTER_MOTION) 15699 cookie_window = xcb.Xxcb_create_window_checked(tls, c, 15700 (*xcb_screen_t)(unsafe.Pointer(screen)).Froot_depth, 15701 window, (*xcb_screen_t)(unsafe.Pointer(screen)).Froot, 15702 int16(20), int16(200), uint16(300), uint16(100), 15703 uint16(0), XCB_WINDOW_CLASS_INPUT_OUTPUT, 15704 (*xcb_screen_t)(unsafe.Pointer(screen)).Froot_visual, 15705 mask, bp+40) 15706 cookie_map = xcb.Xxcb_map_window_checked(tls, c, window) 15707 15708 // error managing 15709 error = xcb.Xxcb_request_check(tls, c, cookie_window) 15710 if error != 0 { 15711 libc.Xfprintf(tls, libc.X__stderrp, ts+224, libc.VaList(bp, int32((*xcb_generic_error_t)(unsafe.Pointer(error)).Ferror_code))) 15712 xcb.Xxcb_disconnect(tls, c) 15713 return -1 15714 } 15715 error = xcb.Xxcb_request_check(tls, c, cookie_map) 15716 if error != 0 { 15717 libc.Xfprintf(tls, libc.X__stderrp, ts+257, libc.VaList(bp+8, int32((*xcb_generic_error_t)(unsafe.Pointer(error)).Ferror_code))) 15718 xcb.Xxcb_disconnect(tls, c) 15719 return -1 15720 } 15721 15722 xcb.Xxcb_flush(tls, c) 15723 15724 for 1 != 0 { 15725 e = xcb.Xxcb_poll_for_event(tls, c) 15726 if e != 0 { 15727 switch int32((*xcb_generic_event_t)(unsafe.Pointer(e)).Fresponse_type) & libc.CplInt32(0x80) { 15728 case 12: 15729 { 15730 var text uintptr 15731 15732 text = ts + 287 /* "Press ESC key to..." */ 15733 text_draw(tls, c, screen, window, int16(10), int16(100-10), text) 15734 break 15735 15736 } 15737 fallthrough 15738 case 3: 15739 { 15740 var ev uintptr 15741 15742 ev = e 15743 15744 switch int32((*xcb_key_release_event_t)(unsafe.Pointer(ev)).Fdetail) { 15745 // ESC 15746 case 9: 15747 libc.Xfree(tls, e) 15748 xcb.Xxcb_disconnect(tls, c) 15749 return 0 15750 } 15751 15752 } 15753 } 15754 libc.Xfree(tls, e) 15755 } 15756 } 15757 15758 return 0 15759 } 15760 15761 var ts1 = "7x13\x00ERROR: can't paste text : %d\n\x00ERROR: can't free gc : %d\n\x00ERROR: can't open font : %d\n\x00ERROR: can't create gc : %d\n\x00ERROR: can't close font : %d\n\x00ERROR: can't connect to an X server\n\x00ERROR: can't get the current screen\n\x00ERROR: can't create window : %d\n\x00ERROR: can't map window : %d\n\x00Press ESC key to exit...\x00" 15762 var ts = (*reflect.StringHeader)(unsafe.Pointer(&ts1)).Data