modernc.org/xcb@v1.0.15/examples/eventex/eventex_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/eventex/eventex_darwin_arm64.go examples/eventex/eventex.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 // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. 6090 // All Rights Reserved. 6091 // 6092 // Permission is hereby granted, free of charge, to any person obtaining a 6093 // copy of this software and associated documentation files (the "Software"), 6094 // to deal in the Software without restriction, including without limitation 6095 // the rights to use, copy, modify, merge, publish, distribute, sublicense, 6096 // and/or sell copies of the Software, and to permit persons to whom the 6097 // Software is furnished to do so, subject to the following conditions: 6098 // 6099 // The above copyright notice and this permission notice shall be included in 6100 // all copies or substantial portions of the Software. 6101 // 6102 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 6103 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 6104 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 6105 // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 6106 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 6107 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 6108 // 6109 // Except as contained in this notice, the names of the authors or their 6110 // institutions shall not be used in advertising or otherwise to promote the 6111 // sale, use or other dealings in this Software without prior written 6112 // authorization from the authors. 6113 6114 // Copyright (c) 2000-2008 Apple Inc. All rights reserved. 6115 // 6116 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6117 // 6118 // This file contains Original Code and/or Modifications of Original Code 6119 // as defined in and that are subject to the Apple Public Source License 6120 // Version 2.0 (the 'License'). You may not use this file except in 6121 // compliance with the License. The rights granted to you under the License 6122 // may not be used to create, or enable the creation or redistribution of, 6123 // unlawful or unlicensed copies of an Apple operating system, or to 6124 // circumvent, violate, or enable the circumvention or violation of, any 6125 // terms of an Apple operating system software license agreement. 6126 // 6127 // Please obtain a copy of the License at 6128 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6129 // 6130 // The Original Code and all software distributed under the License are 6131 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6132 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6133 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6134 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6135 // Please see the License for the specific language governing rights and 6136 // limitations under the License. 6137 // 6138 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6139 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 6140 // Copyright (c) 1982, 1986, 1991, 1993, 1994 6141 // The Regents of the University of California. All rights reserved. 6142 // (c) UNIX System Laboratories, Inc. 6143 // All or some portions of this file are derived from material licensed 6144 // to the University of California by American Telephone and Telegraph 6145 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 6146 // the permission of UNIX System Laboratories, Inc. 6147 // 6148 // Redistribution and use in source and binary forms, with or without 6149 // modification, are permitted provided that the following conditions 6150 // are met: 6151 // 1. Redistributions of source code must retain the above copyright 6152 // notice, this list of conditions and the following disclaimer. 6153 // 2. Redistributions in binary form must reproduce the above copyright 6154 // notice, this list of conditions and the following disclaimer in the 6155 // documentation and/or other materials provided with the distribution. 6156 // 3. All advertising materials mentioning features or use of this software 6157 // must display the following acknowledgement: 6158 // This product includes software developed by the University of 6159 // California, Berkeley and its contributors. 6160 // 4. Neither the name of the University nor the names of its contributors 6161 // may be used to endorse or promote products derived from this software 6162 // without specific prior written permission. 6163 // 6164 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 6165 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 6166 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 6167 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 6168 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 6169 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 6170 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 6171 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 6172 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 6173 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 6174 // SUCH DAMAGE. 6175 // 6176 // @(#)types.h 8.4 (Berkeley) 1/21/94 6177 6178 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 6179 // 6180 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6181 // 6182 // This file contains Original Code and/or Modifications of Original Code 6183 // as defined in and that are subject to the Apple Public Source License 6184 // Version 2.0 (the 'License'). You may not use this file except in 6185 // compliance with the License. The rights granted to you under the License 6186 // may not be used to create, or enable the creation or redistribution of, 6187 // unlawful or unlicensed copies of an Apple operating system, or to 6188 // circumvent, violate, or enable the circumvention or violation of, any 6189 // terms of an Apple operating system software license agreement. 6190 // 6191 // Please obtain a copy of the License at 6192 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6193 // 6194 // The Original Code and all software distributed under the License are 6195 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6196 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6197 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6198 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6199 // Please see the License for the specific language governing rights and 6200 // limitations under the License. 6201 // 6202 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6203 6204 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 6205 // 6206 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6207 // 6208 // This file contains Original Code and/or Modifications of Original Code 6209 // as defined in and that are subject to the Apple Public Source License 6210 // Version 2.0 (the 'License'). You may not use this file except in 6211 // compliance with the License. The rights granted to you under the License 6212 // may not be used to create, or enable the creation or redistribution of, 6213 // unlawful or unlicensed copies of an Apple operating system, or to 6214 // circumvent, violate, or enable the circumvention or violation of, any 6215 // terms of an Apple operating system software license agreement. 6216 // 6217 // Please obtain a copy of the License at 6218 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6219 // 6220 // The Original Code and all software distributed under the License are 6221 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6222 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6223 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6224 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6225 // Please see the License for the specific language governing rights and 6226 // limitations under the License. 6227 // 6228 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6229 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6230 // Copyright (c) 1991, 1993 6231 // The Regents of the University of California. All rights reserved. 6232 // 6233 // This code is derived from software contributed to Berkeley by 6234 // Berkeley Software Design, Inc. 6235 // 6236 // Redistribution and use in source and binary forms, with or without 6237 // modification, are permitted provided that the following conditions 6238 // are met: 6239 // 1. Redistributions of source code must retain the above copyright 6240 // notice, this list of conditions and the following disclaimer. 6241 // 2. Redistributions in binary form must reproduce the above copyright 6242 // notice, this list of conditions and the following disclaimer in the 6243 // documentation and/or other materials provided with the distribution. 6244 // 3. All advertising materials mentioning features or use of this software 6245 // must display the following acknowledgement: 6246 // This product includes software developed by the University of 6247 // California, Berkeley and its contributors. 6248 // 4. Neither the name of the University nor the names of its contributors 6249 // may be used to endorse or promote products derived from this software 6250 // without specific prior written permission. 6251 // 6252 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 6253 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 6254 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 6255 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 6256 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 6257 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 6258 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 6259 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 6260 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 6261 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 6262 // SUCH DAMAGE. 6263 // 6264 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 6265 6266 // Machine type dependent parameters. 6267 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 6268 // 6269 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6270 // 6271 // This file contains Original Code and/or Modifications of Original Code 6272 // as defined in and that are subject to the Apple Public Source License 6273 // Version 2.0 (the 'License'). You may not use this file except in 6274 // compliance with the License. The rights granted to you under the License 6275 // may not be used to create, or enable the creation or redistribution of, 6276 // unlawful or unlicensed copies of an Apple operating system, or to 6277 // circumvent, violate, or enable the circumvention or violation of, any 6278 // terms of an Apple operating system software license agreement. 6279 // 6280 // Please obtain a copy of the License at 6281 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6282 // 6283 // The Original Code and all software distributed under the License are 6284 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6285 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6286 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6287 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6288 // Please see the License for the specific language governing rights and 6289 // limitations under the License. 6290 // 6291 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6292 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6293 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6294 // 6295 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6296 // 6297 // This file contains Original Code and/or Modifications of Original Code 6298 // as defined in and that are subject to the Apple Public Source License 6299 // Version 2.0 (the 'License'). You may not use this file except in 6300 // compliance with the License. The rights granted to you under the License 6301 // may not be used to create, or enable the creation or redistribution of, 6302 // unlawful or unlicensed copies of an Apple operating system, or to 6303 // circumvent, violate, or enable the circumvention or violation of, any 6304 // terms of an Apple operating system software license agreement. 6305 // 6306 // Please obtain a copy of the License at 6307 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6308 // 6309 // The Original Code and all software distributed under the License are 6310 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6311 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6312 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6313 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6314 // Please see the License for the specific language governing rights and 6315 // limitations under the License. 6316 // 6317 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6318 6319 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 6320 // 6321 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6322 // 6323 // This file contains Original Code and/or Modifications of Original Code 6324 // as defined in and that are subject to the Apple Public Source License 6325 // Version 2.0 (the 'License'). You may not use this file except in 6326 // compliance with the License. The rights granted to you under the License 6327 // may not be used to create, or enable the creation or redistribution of, 6328 // unlawful or unlicensed copies of an Apple operating system, or to 6329 // circumvent, violate, or enable the circumvention or violation of, any 6330 // terms of an Apple operating system software license agreement. 6331 // 6332 // Please obtain a copy of the License at 6333 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6334 // 6335 // The Original Code and all software distributed under the License are 6336 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6337 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6338 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6339 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6340 // Please see the License for the specific language governing rights and 6341 // limitations under the License. 6342 // 6343 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6344 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6345 6346 // Copyright (c) 2017 Apple Inc. All rights reserved. 6347 // 6348 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6349 // 6350 // This file contains Original Code and/or Modifications of Original Code 6351 // as defined in and that are subject to the Apple Public Source License 6352 // Version 2.0 (the 'License'). You may not use this file except in 6353 // compliance with the License. The rights granted to you under the License 6354 // may not be used to create, or enable the creation or redistribution of, 6355 // unlawful or unlicensed copies of an Apple operating system, or to 6356 // circumvent, violate, or enable the circumvention or violation of, any 6357 // terms of an Apple operating system software license agreement. 6358 // 6359 // Please obtain a copy of the License at 6360 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6361 // 6362 // The Original Code and all software distributed under the License are 6363 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6364 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6365 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6366 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6367 // Please see the License for the specific language governing rights and 6368 // limitations under the License. 6369 // 6370 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6371 type u_char = uint8 /* _u_char.h:30:25 */ 6372 // Copyright (c) 2017 Apple Inc. All rights reserved. 6373 // 6374 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6375 // 6376 // This file contains Original Code and/or Modifications of Original Code 6377 // as defined in and that are subject to the Apple Public Source License 6378 // Version 2.0 (the 'License'). You may not use this file except in 6379 // compliance with the License. The rights granted to you under the License 6380 // may not be used to create, or enable the creation or redistribution of, 6381 // unlawful or unlicensed copies of an Apple operating system, or to 6382 // circumvent, violate, or enable the circumvention or violation of, any 6383 // terms of an Apple operating system software license agreement. 6384 // 6385 // Please obtain a copy of the License at 6386 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6387 // 6388 // The Original Code and all software distributed under the License are 6389 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6390 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6391 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6392 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6393 // Please see the License for the specific language governing rights and 6394 // limitations under the License. 6395 // 6396 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6397 type u_short = uint16 /* _u_short.h:30:25 */ 6398 // Copyright (c) 2017 Apple Inc. All rights reserved. 6399 // 6400 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6401 // 6402 // This file contains Original Code and/or Modifications of Original Code 6403 // as defined in and that are subject to the Apple Public Source License 6404 // Version 2.0 (the 'License'). You may not use this file except in 6405 // compliance with the License. The rights granted to you under the License 6406 // may not be used to create, or enable the creation or redistribution of, 6407 // unlawful or unlicensed copies of an Apple operating system, or to 6408 // circumvent, violate, or enable the circumvention or violation of, any 6409 // terms of an Apple operating system software license agreement. 6410 // 6411 // Please obtain a copy of the License at 6412 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6413 // 6414 // The Original Code and all software distributed under the License are 6415 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6416 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6417 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6418 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6419 // Please see the License for the specific language governing rights and 6420 // limitations under the License. 6421 // 6422 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6423 type u_int = uint32 /* _u_int.h:30:25 */ 6424 type u_long = uint64 /* types.h:88:33 */ 6425 type ushort = uint16 /* types.h:91:33 */ // Sys V compatibility 6426 type uint = uint32 /* types.h:92:33 */ // Sys V compatibility 6427 6428 type u_quad_t = u_int64_t /* types.h:95:33 */ // quads 6429 type quad_t = int64_t /* types.h:96:33 */ 6430 type qaddr_t = uintptr /* types.h:97:16 */ 6431 6432 // Copyright (c) 2017 Apple Inc. All rights reserved. 6433 // 6434 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6435 // 6436 // This file contains Original Code and/or Modifications of Original Code 6437 // as defined in and that are subject to the Apple Public Source License 6438 // Version 2.0 (the 'License'). You may not use this file except in 6439 // compliance with the License. The rights granted to you under the License 6440 // may not be used to create, or enable the creation or redistribution of, 6441 // unlawful or unlicensed copies of an Apple operating system, or to 6442 // circumvent, violate, or enable the circumvention or violation of, any 6443 // terms of an Apple operating system software license agreement. 6444 // 6445 // Please obtain a copy of the License at 6446 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6447 // 6448 // The Original Code and all software distributed under the License are 6449 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6450 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6451 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6452 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6453 // Please see the License for the specific language governing rights and 6454 // limitations under the License. 6455 // 6456 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6457 type caddr_t = uintptr /* _caddr_t.h:30:14 */ 6458 6459 type daddr_t = int32_t /* types.h:101:33 */ // disk address 6460 6461 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6462 // 6463 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6464 // 6465 // This file contains Original Code and/or Modifications of Original Code 6466 // as defined in and that are subject to the Apple Public Source License 6467 // Version 2.0 (the 'License'). You may not use this file except in 6468 // compliance with the License. The rights granted to you under the License 6469 // may not be used to create, or enable the creation or redistribution of, 6470 // unlawful or unlicensed copies of an Apple operating system, or to 6471 // circumvent, violate, or enable the circumvention or violation of, any 6472 // terms of an Apple operating system software license agreement. 6473 // 6474 // Please obtain a copy of the License at 6475 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6476 // 6477 // The Original Code and all software distributed under the License are 6478 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6479 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6480 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6481 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6482 // Please see the License for the specific language governing rights and 6483 // limitations under the License. 6484 // 6485 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6486 6487 type fixpt_t = u_int32_t /* types.h:105:33 */ // fixed point number 6488 6489 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6490 // 6491 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6492 // 6493 // This file contains Original Code and/or Modifications of Original Code 6494 // as defined in and that are subject to the Apple Public Source License 6495 // Version 2.0 (the 'License'). You may not use this file except in 6496 // compliance with the License. The rights granted to you under the License 6497 // may not be used to create, or enable the creation or redistribution of, 6498 // unlawful or unlicensed copies of an Apple operating system, or to 6499 // circumvent, violate, or enable the circumvention or violation of, any 6500 // terms of an Apple operating system software license agreement. 6501 // 6502 // Please obtain a copy of the License at 6503 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6504 // 6505 // The Original Code and all software distributed under the License are 6506 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6507 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6508 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6509 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6510 // Please see the License for the specific language governing rights and 6511 // limitations under the License. 6512 // 6513 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6514 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6515 // 6516 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6517 // 6518 // This file contains Original Code and/or Modifications of Original Code 6519 // as defined in and that are subject to the Apple Public Source License 6520 // Version 2.0 (the 'License'). You may not use this file except in 6521 // compliance with the License. The rights granted to you under the License 6522 // may not be used to create, or enable the creation or redistribution of, 6523 // unlawful or unlicensed copies of an Apple operating system, or to 6524 // circumvent, violate, or enable the circumvention or violation of, any 6525 // terms of an Apple operating system software license agreement. 6526 // 6527 // Please obtain a copy of the License at 6528 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6529 // 6530 // The Original Code and all software distributed under the License are 6531 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6532 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6533 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6534 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6535 // Please see the License for the specific language governing rights and 6536 // limitations under the License. 6537 // 6538 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6539 6540 type blkcnt_t = int64 /* _blkcnt_t.h:31:34 */ 6541 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6542 // 6543 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6544 // 6545 // This file contains Original Code and/or Modifications of Original Code 6546 // as defined in and that are subject to the Apple Public Source License 6547 // Version 2.0 (the 'License'). You may not use this file except in 6548 // compliance with the License. The rights granted to you under the License 6549 // may not be used to create, or enable the creation or redistribution of, 6550 // unlawful or unlicensed copies of an Apple operating system, or to 6551 // circumvent, violate, or enable the circumvention or violation of, any 6552 // terms of an Apple operating system software license agreement. 6553 // 6554 // Please obtain a copy of the License at 6555 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6556 // 6557 // The Original Code and all software distributed under the License are 6558 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6559 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6560 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6561 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6562 // Please see the License for the specific language governing rights and 6563 // limitations under the License. 6564 // 6565 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6566 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6567 // 6568 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6569 // 6570 // This file contains Original Code and/or Modifications of Original Code 6571 // as defined in and that are subject to the Apple Public Source License 6572 // Version 2.0 (the 'License'). You may not use this file except in 6573 // compliance with the License. The rights granted to you under the License 6574 // may not be used to create, or enable the creation or redistribution of, 6575 // unlawful or unlicensed copies of an Apple operating system, or to 6576 // circumvent, violate, or enable the circumvention or violation of, any 6577 // terms of an Apple operating system software license agreement. 6578 // 6579 // Please obtain a copy of the License at 6580 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6581 // 6582 // The Original Code and all software distributed under the License are 6583 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6584 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6585 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6586 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6587 // Please see the License for the specific language governing rights and 6588 // limitations under the License. 6589 // 6590 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6591 6592 type blksize_t = int32 /* _blksize_t.h:31:35 */ 6593 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6594 // 6595 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6596 // 6597 // This file contains Original Code and/or Modifications of Original Code 6598 // as defined in and that are subject to the Apple Public Source License 6599 // Version 2.0 (the 'License'). You may not use this file except in 6600 // compliance with the License. The rights granted to you under the License 6601 // may not be used to create, or enable the creation or redistribution of, 6602 // unlawful or unlicensed copies of an Apple operating system, or to 6603 // circumvent, violate, or enable the circumvention or violation of, any 6604 // terms of an Apple operating system software license agreement. 6605 // 6606 // Please obtain a copy of the License at 6607 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6608 // 6609 // The Original Code and all software distributed under the License are 6610 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6611 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6612 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6613 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6614 // Please see the License for the specific language governing rights and 6615 // limitations under the License. 6616 // 6617 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6618 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6619 // 6620 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6621 // 6622 // This file contains Original Code and/or Modifications of Original Code 6623 // as defined in and that are subject to the Apple Public Source License 6624 // Version 2.0 (the 'License'). You may not use this file except in 6625 // compliance with the License. The rights granted to you under the License 6626 // may not be used to create, or enable the creation or redistribution of, 6627 // unlawful or unlicensed copies of an Apple operating system, or to 6628 // circumvent, violate, or enable the circumvention or violation of, any 6629 // terms of an Apple operating system software license agreement. 6630 // 6631 // Please obtain a copy of the License at 6632 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6633 // 6634 // The Original Code and all software distributed under the License are 6635 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6636 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6637 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6638 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6639 // Please see the License for the specific language governing rights and 6640 // limitations under the License. 6641 // 6642 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6643 6644 type gid_t = uint32 /* _gid_t.h:31:25 */ 6645 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6646 // 6647 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6648 // 6649 // This file contains Original Code and/or Modifications of Original Code 6650 // as defined in and that are subject to the Apple Public Source License 6651 // Version 2.0 (the 'License'). You may not use this file except in 6652 // compliance with the License. The rights granted to you under the License 6653 // may not be used to create, or enable the creation or redistribution of, 6654 // unlawful or unlicensed copies of an Apple operating system, or to 6655 // circumvent, violate, or enable the circumvention or violation of, any 6656 // terms of an Apple operating system software license agreement. 6657 // 6658 // Please obtain a copy of the License at 6659 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6660 // 6661 // The Original Code and all software distributed under the License are 6662 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6663 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6664 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6665 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6666 // Please see the License for the specific language governing rights and 6667 // limitations under the License. 6668 // 6669 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6670 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 6671 // 6672 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6673 // 6674 // This file contains Original Code and/or Modifications of Original Code 6675 // as defined in and that are subject to the Apple Public Source License 6676 // Version 2.0 (the 'License'). You may not use this file except in 6677 // compliance with the License. The rights granted to you under the License 6678 // may not be used to create, or enable the creation or redistribution of, 6679 // unlawful or unlicensed copies of an Apple operating system, or to 6680 // circumvent, violate, or enable the circumvention or violation of, any 6681 // terms of an Apple operating system software license agreement. 6682 // 6683 // Please obtain a copy of the License at 6684 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6685 // 6686 // The Original Code and all software distributed under the License are 6687 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6688 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6689 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6690 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6691 // Please see the License for the specific language governing rights and 6692 // limitations under the License. 6693 // 6694 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6695 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6696 type in_addr_t = uint32 /* _in_addr_t.h:31:25 */ // base type for internet address 6697 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6698 // 6699 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6700 // 6701 // This file contains Original Code and/or Modifications of Original Code 6702 // as defined in and that are subject to the Apple Public Source License 6703 // Version 2.0 (the 'License'). You may not use this file except in 6704 // compliance with the License. The rights granted to you under the License 6705 // may not be used to create, or enable the creation or redistribution of, 6706 // unlawful or unlicensed copies of an Apple operating system, or to 6707 // circumvent, violate, or enable the circumvention or violation of, any 6708 // terms of an Apple operating system software license agreement. 6709 // 6710 // Please obtain a copy of the License at 6711 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6712 // 6713 // The Original Code and all software distributed under the License are 6714 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6715 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6716 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6717 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6718 // Please see the License for the specific language governing rights and 6719 // limitations under the License. 6720 // 6721 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6722 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 6723 // 6724 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6725 // 6726 // This file contains Original Code and/or Modifications of Original Code 6727 // as defined in and that are subject to the Apple Public Source License 6728 // Version 2.0 (the 'License'). You may not use this file except in 6729 // compliance with the License. The rights granted to you under the License 6730 // may not be used to create, or enable the creation or redistribution of, 6731 // unlawful or unlicensed copies of an Apple operating system, or to 6732 // circumvent, violate, or enable the circumvention or violation of, any 6733 // terms of an Apple operating system software license agreement. 6734 // 6735 // Please obtain a copy of the License at 6736 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6737 // 6738 // The Original Code and all software distributed under the License are 6739 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6740 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6741 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6742 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6743 // Please see the License for the specific language governing rights and 6744 // limitations under the License. 6745 // 6746 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6747 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6748 type in_port_t = uint16 /* _in_port_t.h:31:33 */ 6749 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6750 // 6751 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6752 // 6753 // This file contains Original Code and/or Modifications of Original Code 6754 // as defined in and that are subject to the Apple Public Source License 6755 // Version 2.0 (the 'License'). You may not use this file except in 6756 // compliance with the License. The rights granted to you under the License 6757 // may not be used to create, or enable the creation or redistribution of, 6758 // unlawful or unlicensed copies of an Apple operating system, or to 6759 // circumvent, violate, or enable the circumvention or violation of, any 6760 // terms of an Apple operating system software license agreement. 6761 // 6762 // Please obtain a copy of the License at 6763 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6764 // 6765 // The Original Code and all software distributed under the License are 6766 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6767 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6768 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6769 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6770 // Please see the License for the specific language governing rights and 6771 // limitations under the License. 6772 // 6773 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6774 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6775 // 6776 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6777 // 6778 // This file contains Original Code and/or Modifications of Original Code 6779 // as defined in and that are subject to the Apple Public Source License 6780 // Version 2.0 (the 'License'). You may not use this file except in 6781 // compliance with the License. The rights granted to you under the License 6782 // may not be used to create, or enable the creation or redistribution of, 6783 // unlawful or unlicensed copies of an Apple operating system, or to 6784 // circumvent, violate, or enable the circumvention or violation of, any 6785 // terms of an Apple operating system software license agreement. 6786 // 6787 // Please obtain a copy of the License at 6788 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6789 // 6790 // The Original Code and all software distributed under the License are 6791 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6792 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6793 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6794 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6795 // Please see the License for the specific language governing rights and 6796 // limitations under the License. 6797 // 6798 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6799 6800 type ino_t = uint64 /* _ino_t.h:31:33 */ // inode number 6801 6802 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6803 // 6804 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6805 // 6806 // This file contains Original Code and/or Modifications of Original Code 6807 // as defined in and that are subject to the Apple Public Source License 6808 // Version 2.0 (the 'License'). You may not use this file except in 6809 // compliance with the License. The rights granted to you under the License 6810 // may not be used to create, or enable the creation or redistribution of, 6811 // unlawful or unlicensed copies of an Apple operating system, or to 6812 // circumvent, violate, or enable the circumvention or violation of, any 6813 // terms of an Apple operating system software license agreement. 6814 // 6815 // Please obtain a copy of the License at 6816 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6817 // 6818 // The Original Code and all software distributed under the License are 6819 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6820 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6821 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6822 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6823 // Please see the License for the specific language governing rights and 6824 // limitations under the License. 6825 // 6826 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6827 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 6828 // 6829 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6830 // 6831 // This file contains Original Code and/or Modifications of Original Code 6832 // as defined in and that are subject to the Apple Public Source License 6833 // Version 2.0 (the 'License'). You may not use this file except in 6834 // compliance with the License. The rights granted to you under the License 6835 // may not be used to create, or enable the creation or redistribution of, 6836 // unlawful or unlicensed copies of an Apple operating system, or to 6837 // circumvent, violate, or enable the circumvention or violation of, any 6838 // terms of an Apple operating system software license agreement. 6839 // 6840 // Please obtain a copy of the License at 6841 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6842 // 6843 // The Original Code and all software distributed under the License are 6844 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6845 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6846 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6847 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6848 // Please see the License for the specific language governing rights and 6849 // limitations under the License. 6850 // 6851 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6852 6853 type ino64_t = uint64 /* _ino64_t.h:31:33 */ // 64bit inode number 6854 6855 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 6856 // 6857 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6858 // 6859 // This file contains Original Code and/or Modifications of Original Code 6860 // as defined in and that are subject to the Apple Public Source License 6861 // Version 2.0 (the 'License'). You may not use this file except in 6862 // compliance with the License. The rights granted to you under the License 6863 // may not be used to create, or enable the creation or redistribution of, 6864 // unlawful or unlicensed copies of an Apple operating system, or to 6865 // circumvent, violate, or enable the circumvention or violation of, any 6866 // terms of an Apple operating system software license agreement. 6867 // 6868 // Please obtain a copy of the License at 6869 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6870 // 6871 // The Original Code and all software distributed under the License are 6872 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6873 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6874 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6875 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6876 // Please see the License for the specific language governing rights and 6877 // limitations under the License. 6878 // 6879 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6880 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 6881 // 6882 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6883 // 6884 // This file contains Original Code and/or Modifications of Original Code 6885 // as defined in and that are subject to the Apple Public Source License 6886 // Version 2.0 (the 'License'). You may not use this file except in 6887 // compliance with the License. The rights granted to you under the License 6888 // may not be used to create, or enable the creation or redistribution of, 6889 // unlawful or unlicensed copies of an Apple operating system, or to 6890 // circumvent, violate, or enable the circumvention or violation of, any 6891 // terms of an Apple operating system software license agreement. 6892 // 6893 // Please obtain a copy of the License at 6894 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6895 // 6896 // The Original Code and all software distributed under the License are 6897 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6898 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6899 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6900 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6901 // Please see the License for the specific language governing rights and 6902 // limitations under the License. 6903 // 6904 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6905 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6906 type key_t = int32 /* _key_t.h:31:26 */ // IPC key (for Sys V IPC) 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-2012 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 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 6958 // 6959 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6960 // 6961 // This file contains Original Code and/or Modifications of Original Code 6962 // as defined in and that are subject to the Apple Public Source License 6963 // Version 2.0 (the 'License'). You may not use this file except in 6964 // compliance with the License. The rights granted to you under the License 6965 // may not be used to create, or enable the creation or redistribution of, 6966 // unlawful or unlicensed copies of an Apple operating system, or to 6967 // circumvent, violate, or enable the circumvention or violation of, any 6968 // terms of an Apple operating system software license agreement. 6969 // 6970 // Please obtain a copy of the License at 6971 // http://www.opensource.apple.com/apsl/ and read it before using this file. 6972 // 6973 // The Original Code and all software distributed under the License are 6974 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 6975 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 6976 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 6977 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 6978 // Please see the License for the specific language governing rights and 6979 // limitations under the License. 6980 // 6981 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 6982 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 6983 type nlink_t = uint16 /* _nlink_t.h:31:27 */ // link count 6984 // Copyright (c) 2003-2012 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 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7010 // 7011 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7012 // 7013 // This file contains Original Code and/or Modifications of Original Code 7014 // as defined in and that are subject to the Apple Public Source License 7015 // Version 2.0 (the 'License'). You may not use this file except in 7016 // compliance with the License. The rights granted to you under the License 7017 // may not be used to create, or enable the creation or redistribution of, 7018 // unlawful or unlicensed copies of an Apple operating system, or to 7019 // circumvent, violate, or enable the circumvention or violation of, any 7020 // terms of an Apple operating system software license agreement. 7021 // 7022 // Please obtain a copy of the License at 7023 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7024 // 7025 // The Original Code and all software distributed under the License are 7026 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7027 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7028 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7029 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7030 // Please see the License for the specific language governing rights and 7031 // limitations under the License. 7032 // 7033 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7034 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7035 // 7036 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7037 // 7038 // This file contains Original Code and/or Modifications of Original Code 7039 // as defined in and that are subject to the Apple Public Source License 7040 // Version 2.0 (the 'License'). You may not use this file except in 7041 // compliance with the License. The rights granted to you under the License 7042 // may not be used to create, or enable the creation or redistribution of, 7043 // unlawful or unlicensed copies of an Apple operating system, or to 7044 // circumvent, violate, or enable the circumvention or violation of, any 7045 // terms of an Apple operating system software license agreement. 7046 // 7047 // Please obtain a copy of the License at 7048 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7049 // 7050 // The Original Code and all software distributed under the License are 7051 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7052 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7053 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7054 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7055 // Please see the License for the specific language governing rights and 7056 // limitations under the License. 7057 // 7058 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7059 7060 type segsz_t = int32_t /* types.h:125:33 */ // segment size 7061 type swblk_t = int32_t /* types.h:126:33 */ // swap offset 7062 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 7089 // Major, minor numbers, dev_t's. 7090 7091 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7092 // 7093 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7094 // 7095 // This file contains Original Code and/or Modifications of Original Code 7096 // as defined in and that are subject to the Apple Public Source License 7097 // Version 2.0 (the 'License'). You may not use this file except in 7098 // compliance with the License. The rights granted to you under the License 7099 // may not be used to create, or enable the creation or redistribution of, 7100 // unlawful or unlicensed copies of an Apple operating system, or to 7101 // circumvent, violate, or enable the circumvention or violation of, any 7102 // terms of an Apple operating system software license agreement. 7103 // 7104 // Please obtain a copy of the License at 7105 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7106 // 7107 // The Original Code and all software distributed under the License are 7108 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7109 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7110 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7111 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7112 // Please see the License for the specific language governing rights and 7113 // limitations under the License. 7114 // 7115 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7116 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 7117 // 7118 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7119 // 7120 // This file contains Original Code and/or Modifications of Original Code 7121 // as defined in and that are subject to the Apple Public Source License 7122 // Version 2.0 (the 'License'). You may not use this file except in 7123 // compliance with the License. The rights granted to you under the License 7124 // may not be used to create, or enable the creation or redistribution of, 7125 // unlawful or unlicensed copies of an Apple operating system, or to 7126 // circumvent, violate, or enable the circumvention or violation of, any 7127 // terms of an Apple operating system software license agreement. 7128 // 7129 // Please obtain a copy of the License at 7130 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7131 // 7132 // The Original Code and all software distributed under the License are 7133 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7134 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7135 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7136 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7137 // Please see the License for the specific language governing rights and 7138 // limitations under the License. 7139 // 7140 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7141 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 7142 type clock_t = uint64 /* _clock_t.h:31:33 */ 7143 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7144 // 7145 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7146 // 7147 // This file contains Original Code and/or Modifications of Original Code 7148 // as defined in and that are subject to the Apple Public Source License 7149 // Version 2.0 (the 'License'). You may not use this file except in 7150 // compliance with the License. The rights granted to you under the License 7151 // may not be used to create, or enable the creation or redistribution of, 7152 // unlawful or unlicensed copies of an Apple operating system, or to 7153 // circumvent, violate, or enable the circumvention or violation of, any 7154 // terms of an Apple operating system software license agreement. 7155 // 7156 // Please obtain a copy of the License at 7157 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7158 // 7159 // The Original Code and all software distributed under the License are 7160 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7161 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7162 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7163 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7164 // Please see the License for the specific language governing rights and 7165 // limitations under the License. 7166 // 7167 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7168 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7169 // 7170 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7171 // 7172 // This file contains Original Code and/or Modifications of Original Code 7173 // as defined in and that are subject to the Apple Public Source License 7174 // Version 2.0 (the 'License'). You may not use this file except in 7175 // compliance with the License. The rights granted to you under the License 7176 // may not be used to create, or enable the creation or redistribution of, 7177 // unlawful or unlicensed copies of an Apple operating system, or to 7178 // circumvent, violate, or enable the circumvention or violation of, any 7179 // terms of an Apple operating system software license agreement. 7180 // 7181 // Please obtain a copy of the License at 7182 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7183 // 7184 // The Original Code and all software distributed under the License are 7185 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7186 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7187 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7188 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7189 // Please see the License for the specific language governing rights and 7190 // limitations under the License. 7191 // 7192 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7193 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7194 // 7195 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7196 // 7197 // This file contains Original Code and/or Modifications of Original Code 7198 // as defined in and that are subject to the Apple Public Source License 7199 // Version 2.0 (the 'License'). You may not use this file except in 7200 // compliance with the License. The rights granted to you under the License 7201 // may not be used to create, or enable the creation or redistribution of, 7202 // unlawful or unlicensed copies of an Apple operating system, or to 7203 // circumvent, violate, or enable the circumvention or violation of, any 7204 // terms of an Apple operating system software license agreement. 7205 // 7206 // Please obtain a copy of the License at 7207 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7208 // 7209 // The Original Code and all software distributed under the License are 7210 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7211 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7212 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7213 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7214 // Please see the License for the specific language governing rights and 7215 // limitations under the License. 7216 // 7217 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7218 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 7219 // 7220 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7221 // 7222 // This file contains Original Code and/or Modifications of Original Code 7223 // as defined in and that are subject to the Apple Public Source License 7224 // Version 2.0 (the 'License'). You may not use this file except in 7225 // compliance with the License. The rights granted to you under the License 7226 // may not be used to create, or enable the creation or redistribution of, 7227 // unlawful or unlicensed copies of an Apple operating system, or to 7228 // circumvent, violate, or enable the circumvention or violation of, any 7229 // terms of an Apple operating system software license agreement. 7230 // 7231 // Please obtain a copy of the License at 7232 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7233 // 7234 // The Original Code and all software distributed under the License are 7235 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7236 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7237 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7238 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7239 // Please see the License for the specific language governing rights and 7240 // limitations under the License. 7241 // 7242 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7243 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 7244 type time_t = int64 /* _time_t.h:31:33 */ 7245 7246 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7247 // 7248 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7249 // 7250 // This file contains Original Code and/or Modifications of Original Code 7251 // as defined in and that are subject to the Apple Public Source License 7252 // Version 2.0 (the 'License'). You may not use this file except in 7253 // compliance with the License. The rights granted to you under the License 7254 // may not be used to create, or enable the creation or redistribution of, 7255 // unlawful or unlicensed copies of an Apple operating system, or to 7256 // circumvent, violate, or enable the circumvention or violation of, any 7257 // terms of an Apple operating system software license agreement. 7258 // 7259 // Please obtain a copy of the License at 7260 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7261 // 7262 // The Original Code and all software distributed under the License are 7263 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7264 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7265 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7266 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7267 // Please see the License for the specific language governing rights and 7268 // limitations under the License. 7269 // 7270 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7271 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 7272 // 7273 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7274 // 7275 // This file contains Original Code and/or Modifications of Original Code 7276 // as defined in and that are subject to the Apple Public Source License 7277 // Version 2.0 (the 'License'). You may not use this file except in 7278 // compliance with the License. The rights granted to you under the License 7279 // may not be used to create, or enable the creation or redistribution of, 7280 // unlawful or unlicensed copies of an Apple operating system, or to 7281 // circumvent, violate, or enable the circumvention or violation of, any 7282 // terms of an Apple operating system software license agreement. 7283 // 7284 // Please obtain a copy of the License at 7285 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7286 // 7287 // The Original Code and all software distributed under the License are 7288 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7289 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7290 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7291 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7292 // Please see the License for the specific language governing rights and 7293 // limitations under the License. 7294 // 7295 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7296 7297 type useconds_t = uint32 /* _useconds_t.h:31:33 */ 7298 // Copyright (c) 2003-2012 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 (c) 2003-2007 Apple Inc. All rights reserved. 7324 // 7325 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7326 // 7327 // This file contains Original Code and/or Modifications of Original Code 7328 // as defined in and that are subject to the Apple Public Source License 7329 // Version 2.0 (the 'License'). You may not use this file except in 7330 // compliance with the License. The rights granted to you under the License 7331 // may not be used to create, or enable the creation or redistribution of, 7332 // unlawful or unlicensed copies of an Apple operating system, or to 7333 // circumvent, violate, or enable the circumvention or violation of, any 7334 // terms of an Apple operating system software license agreement. 7335 // 7336 // Please obtain a copy of the License at 7337 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7338 // 7339 // The Original Code and all software distributed under the License are 7340 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7341 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7342 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7343 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7344 // Please see the License for the specific language governing rights and 7345 // limitations under the License. 7346 // 7347 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7348 7349 type suseconds_t = int32 /* _suseconds_t.h:31:33 */ 7350 7351 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7352 // 7353 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7354 // 7355 // This file contains Original Code and/or Modifications of Original Code 7356 // as defined in and that are subject to the Apple Public Source License 7357 // Version 2.0 (the 'License'). You may not use this file except in 7358 // compliance with the License. The rights granted to you under the License 7359 // may not be used to create, or enable the creation or redistribution of, 7360 // unlawful or unlicensed copies of an Apple operating system, or to 7361 // circumvent, violate, or enable the circumvention or violation of, any 7362 // terms of an Apple operating system software license agreement. 7363 // 7364 // Please obtain a copy of the License at 7365 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7366 // 7367 // The Original Code and all software distributed under the License are 7368 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7369 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7370 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7371 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7372 // Please see the License for the specific language governing rights and 7373 // limitations under the License. 7374 // 7375 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7376 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 7377 // 7378 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7379 // 7380 // This file contains Original Code and/or Modifications of Original Code 7381 // as defined in and that are subject to the Apple Public Source License 7382 // Version 2.0 (the 'License'). You may not use this file except in 7383 // compliance with the License. The rights granted to you under the License 7384 // may not be used to create, or enable the creation or redistribution of, 7385 // unlawful or unlicensed copies of an Apple operating system, or to 7386 // circumvent, violate, or enable the circumvention or violation of, any 7387 // terms of an Apple operating system software license agreement. 7388 // 7389 // Please obtain a copy of the License at 7390 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7391 // 7392 // The Original Code and all software distributed under the License are 7393 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7394 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7395 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7396 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7397 // Please see the License for the specific language governing rights and 7398 // limitations under the License. 7399 // 7400 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7401 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 7402 type rsize_t = uint64 /* _rsize_t.h:31:32 */ 7403 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7404 // 7405 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7406 // 7407 // This file contains Original Code and/or Modifications of Original Code 7408 // as defined in and that are subject to the Apple Public Source License 7409 // Version 2.0 (the 'License'). You may not use this file except in 7410 // compliance with the License. The rights granted to you under the License 7411 // may not be used to create, or enable the creation or redistribution of, 7412 // unlawful or unlicensed copies of an Apple operating system, or to 7413 // circumvent, violate, or enable the circumvention or violation of, any 7414 // terms of an Apple operating system software license agreement. 7415 // 7416 // Please obtain a copy of the License at 7417 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7418 // 7419 // The Original Code and all software distributed under the License are 7420 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7421 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7422 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7423 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7424 // Please see the License for the specific language governing rights and 7425 // limitations under the License. 7426 // 7427 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7428 type errno_t = int32 /* _errno_t.h:30:32 */ 7429 7430 // This code is present here in order to maintain historical backward 7431 // compatability, and is intended to be removed at some point in the 7432 // future; please include <sys/select.h> instead. 7433 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7434 // 7435 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7436 // 7437 // This file contains Original Code and/or Modifications of Original Code 7438 // as defined in and that are subject to the Apple Public Source License 7439 // Version 2.0 (the 'License'). You may not use this file except in 7440 // compliance with the License. The rights granted to you under the License 7441 // may not be used to create, or enable the creation or redistribution of, 7442 // unlawful or unlicensed copies of an Apple operating system, or to 7443 // circumvent, violate, or enable the circumvention or violation of, any 7444 // terms of an Apple operating system software license agreement. 7445 // 7446 // Please obtain a copy of the License at 7447 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7448 // 7449 // The Original Code and all software distributed under the License are 7450 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7451 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7452 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7453 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7454 // Please see the License for the specific language governing rights and 7455 // limitations under the License. 7456 // 7457 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7458 7459 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 7460 // 7461 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7462 // 7463 // This file contains Original Code and/or Modifications of Original Code 7464 // as defined in and that are subject to the Apple Public Source License 7465 // Version 2.0 (the 'License'). You may not use this file except in 7466 // compliance with the License. The rights granted to you under the License 7467 // may not be used to create, or enable the creation or redistribution of, 7468 // unlawful or unlicensed copies of an Apple operating system, or to 7469 // circumvent, violate, or enable the circumvention or violation of, any 7470 // terms of an Apple operating system software license agreement. 7471 // 7472 // Please obtain a copy of the License at 7473 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7474 // 7475 // The Original Code and all software distributed under the License are 7476 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7477 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7478 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7479 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7480 // Please see the License for the specific language governing rights and 7481 // limitations under the License. 7482 // 7483 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7484 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 7485 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 7486 // 7487 // @APPLE_LICENSE_HEADER_START@ 7488 // 7489 // This file contains Original Code and/or Modifications of Original Code 7490 // as defined in and that are subject to the Apple Public Source License 7491 // Version 2.0 (the 'License'). You may not use this file except in 7492 // compliance with the License. Please obtain a copy of the License at 7493 // http://www.opensource.apple.com/apsl/ and read it before using this 7494 // file. 7495 // 7496 // The Original Code and all software distributed under the License are 7497 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7498 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7499 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7500 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7501 // Please see the License for the specific language governing rights and 7502 // limitations under the License. 7503 // 7504 // @APPLE_LICENSE_HEADER_END@ 7505 7506 // Select uses bit masks of file descriptors in longs. These macros 7507 // manipulate such bit fields (the filesystem macros use chars). The 7508 // extra protection here is to permit application redefinition above 7509 // the default size. 7510 7511 type fd_set1 = struct{ Ffds_bits [32]int32 } /* _fd_def.h:50:9 */ 7512 7513 // This code is present here in order to maintain historical backward 7514 // compatability, and is intended to be removed at some point in the 7515 // future; please include <sys/select.h> instead. 7516 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7517 // 7518 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7519 // 7520 // This file contains Original Code and/or Modifications of Original Code 7521 // as defined in and that are subject to the Apple Public Source License 7522 // Version 2.0 (the 'License'). You may not use this file except in 7523 // compliance with the License. The rights granted to you under the License 7524 // may not be used to create, or enable the creation or redistribution of, 7525 // unlawful or unlicensed copies of an Apple operating system, or to 7526 // circumvent, violate, or enable the circumvention or violation of, any 7527 // terms of an Apple operating system software license agreement. 7528 // 7529 // Please obtain a copy of the License at 7530 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7531 // 7532 // The Original Code and all software distributed under the License are 7533 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7534 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7535 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7536 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7537 // Please see the License for the specific language governing rights and 7538 // limitations under the License. 7539 // 7540 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7541 7542 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 7543 // 7544 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7545 // 7546 // This file contains Original Code and/or Modifications of Original Code 7547 // as defined in and that are subject to the Apple Public Source License 7548 // Version 2.0 (the 'License'). You may not use this file except in 7549 // compliance with the License. The rights granted to you under the License 7550 // may not be used to create, or enable the creation or redistribution of, 7551 // unlawful or unlicensed copies of an Apple operating system, or to 7552 // circumvent, violate, or enable the circumvention or violation of, any 7553 // terms of an Apple operating system software license agreement. 7554 // 7555 // Please obtain a copy of the License at 7556 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7557 // 7558 // The Original Code and all software distributed under the License are 7559 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7560 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7561 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7562 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7563 // Please see the License for the specific language governing rights and 7564 // limitations under the License. 7565 // 7566 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7567 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 7568 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 7569 // 7570 // @APPLE_LICENSE_HEADER_START@ 7571 // 7572 // This file contains Original Code and/or Modifications of Original Code 7573 // as defined in and that are subject to the Apple Public Source License 7574 // Version 2.0 (the 'License'). You may not use this file except in 7575 // compliance with the License. Please obtain a copy of the License at 7576 // http://www.opensource.apple.com/apsl/ and read it before using this 7577 // file. 7578 // 7579 // The Original Code and all software distributed under the License are 7580 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7581 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7582 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7583 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7584 // Please see the License for the specific language governing rights and 7585 // limitations under the License. 7586 // 7587 // @APPLE_LICENSE_HEADER_END@ 7588 7589 // Select uses bit masks of file descriptors in longs. These macros 7590 // manipulate such bit fields (the filesystem macros use chars). The 7591 // extra protection here is to permit application redefinition above 7592 // the default size. 7593 7594 type fd_set = fd_set1 /* _fd_def.h:52:3 */ 7595 7596 // Use the built-in bzero function instead of the library version so that 7597 // we do not pollute the namespace or introduce prototype warnings. 7598 7599 type fd_mask = int32 /* types.h:189:25 */ 7600 7601 // Select uses bit masks of file descriptors in longs. These macros 7602 // manipulate such bit fields (the filesystem macros use chars). The 7603 // extra protection here is to permit application redefinition above 7604 // the default size. 7605 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7606 // 7607 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7608 // 7609 // This file contains Original Code and/or Modifications of Original Code 7610 // as defined in and that are subject to the Apple Public Source License 7611 // Version 2.0 (the 'License'). You may not use this file except in 7612 // compliance with the License. The rights granted to you under the License 7613 // may not be used to create, or enable the creation or redistribution of, 7614 // unlawful or unlicensed copies of an Apple operating system, or to 7615 // circumvent, violate, or enable the circumvention or violation of, any 7616 // terms of an Apple operating system software license agreement. 7617 // 7618 // Please obtain a copy of the License at 7619 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7620 // 7621 // The Original Code and all software distributed under the License are 7622 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7623 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7624 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7625 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7626 // Please see the License for the specific language governing rights and 7627 // limitations under the License. 7628 // 7629 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7630 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7631 // 7632 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7633 // 7634 // This file contains Original Code and/or Modifications of Original Code 7635 // as defined in and that are subject to the Apple Public Source License 7636 // Version 2.0 (the 'License'). You may not use this file except in 7637 // compliance with the License. The rights granted to you under the License 7638 // may not be used to create, or enable the creation or redistribution of, 7639 // unlawful or unlicensed copies of an Apple operating system, or to 7640 // circumvent, violate, or enable the circumvention or violation of, any 7641 // terms of an Apple operating system software license agreement. 7642 // 7643 // Please obtain a copy of the License at 7644 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7645 // 7646 // The Original Code and all software distributed under the License are 7647 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7648 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7649 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7650 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7651 // Please see the License for the specific language governing rights and 7652 // limitations under the License. 7653 // 7654 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7655 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7656 // 7657 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7658 // 7659 // This file contains Original Code and/or Modifications of Original Code 7660 // as defined in and that are subject to the Apple Public Source License 7661 // Version 2.0 (the 'License'). You may not use this file except in 7662 // compliance with the License. The rights granted to you under the License 7663 // may not be used to create, or enable the creation or redistribution of, 7664 // unlawful or unlicensed copies of an Apple operating system, or to 7665 // circumvent, violate, or enable the circumvention or violation of, any 7666 // terms of an Apple operating system software license agreement. 7667 // 7668 // Please obtain a copy of the License at 7669 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7670 // 7671 // The Original Code and all software distributed under the License are 7672 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7673 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7674 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7675 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7676 // Please see the License for the specific language governing rights and 7677 // limitations under the License. 7678 // 7679 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7680 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7681 // 7682 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7683 // 7684 // This file contains Original Code and/or Modifications of Original Code 7685 // as defined in and that are subject to the Apple Public Source License 7686 // Version 2.0 (the 'License'). You may not use this file except in 7687 // compliance with the License. The rights granted to you under the License 7688 // may not be used to create, or enable the creation or redistribution of, 7689 // unlawful or unlicensed copies of an Apple operating system, or to 7690 // circumvent, violate, or enable the circumvention or violation of, any 7691 // terms of an Apple operating system software license agreement. 7692 // 7693 // Please obtain a copy of the License at 7694 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7695 // 7696 // The Original Code and all software distributed under the License are 7697 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7698 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7699 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7700 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7701 // Please see the License for the specific language governing rights and 7702 // limitations under the License. 7703 // 7704 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7705 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7706 // 7707 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7708 // 7709 // This file contains Original Code and/or Modifications of Original Code 7710 // as defined in and that are subject to the Apple Public Source License 7711 // Version 2.0 (the 'License'). You may not use this file except in 7712 // compliance with the License. The rights granted to you under the License 7713 // may not be used to create, or enable the creation or redistribution of, 7714 // unlawful or unlicensed copies of an Apple operating system, or to 7715 // circumvent, violate, or enable the circumvention or violation of, any 7716 // terms of an Apple operating system software license agreement. 7717 // 7718 // Please obtain a copy of the License at 7719 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7720 // 7721 // The Original Code and all software distributed under the License are 7722 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7723 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7724 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7725 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7726 // Please see the License for the specific language governing rights and 7727 // limitations under the License. 7728 // 7729 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7730 7731 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7732 // 7733 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7734 // 7735 // This file contains Original Code and/or Modifications of Original Code 7736 // as defined in and that are subject to the Apple Public Source License 7737 // Version 2.0 (the 'License'). You may not use this file except in 7738 // compliance with the License. The rights granted to you under the License 7739 // may not be used to create, or enable the creation or redistribution of, 7740 // unlawful or unlicensed copies of an Apple operating system, or to 7741 // circumvent, violate, or enable the circumvention or violation of, any 7742 // terms of an Apple operating system software license agreement. 7743 // 7744 // Please obtain a copy of the License at 7745 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7746 // 7747 // The Original Code and all software distributed under the License are 7748 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7749 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7750 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7751 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7752 // Please see the License for the specific language governing rights and 7753 // limitations under the License. 7754 // 7755 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7756 7757 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7758 // 7759 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7760 // 7761 // This file contains Original Code and/or Modifications of Original Code 7762 // as defined in and that are subject to the Apple Public Source License 7763 // Version 2.0 (the 'License'). You may not use this file except in 7764 // compliance with the License. The rights granted to you under the License 7765 // may not be used to create, or enable the creation or redistribution of, 7766 // unlawful or unlicensed copies of an Apple operating system, or to 7767 // circumvent, violate, or enable the circumvention or violation of, any 7768 // terms of an Apple operating system software license agreement. 7769 // 7770 // Please obtain a copy of the License at 7771 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7772 // 7773 // The Original Code and all software distributed under the License are 7774 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7775 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7776 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7777 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7778 // Please see the License for the specific language governing rights and 7779 // limitations under the License. 7780 // 7781 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7782 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7783 // 7784 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7785 // 7786 // This file contains Original Code and/or Modifications of Original Code 7787 // as defined in and that are subject to the Apple Public Source License 7788 // Version 2.0 (the 'License'). You may not use this file except in 7789 // compliance with the License. The rights granted to you under the License 7790 // may not be used to create, or enable the creation or redistribution of, 7791 // unlawful or unlicensed copies of an Apple operating system, or to 7792 // circumvent, violate, or enable the circumvention or violation of, any 7793 // terms of an Apple operating system software license agreement. 7794 // 7795 // Please obtain a copy of the License at 7796 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7797 // 7798 // The Original Code and all software distributed under the License are 7799 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7800 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7801 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7802 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7803 // Please see the License for the specific language governing rights and 7804 // limitations under the License. 7805 // 7806 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7807 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 7808 // 7809 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7810 // 7811 // This file contains Original Code and/or Modifications of Original Code 7812 // as defined in and that are subject to the Apple Public Source License 7813 // Version 2.0 (the 'License'). You may not use this file except in 7814 // compliance with the License. The rights granted to you under the License 7815 // may not be used to create, or enable the creation or redistribution of, 7816 // unlawful or unlicensed copies of an Apple operating system, or to 7817 // circumvent, violate, or enable the circumvention or violation of, any 7818 // terms of an Apple operating system software license agreement. 7819 // 7820 // Please obtain a copy of the License at 7821 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7822 // 7823 // The Original Code and all software distributed under the License are 7824 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7825 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7826 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7827 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7828 // Please see the License for the specific language governing rights and 7829 // limitations under the License. 7830 // 7831 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7832 7833 type pthread_cond_t = _opaque_pthread_cond_t /* _pthread_cond_t.h:31:33 */ 7834 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7835 // 7836 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7837 // 7838 // This file contains Original Code and/or Modifications of Original Code 7839 // as defined in and that are subject to the Apple Public Source License 7840 // Version 2.0 (the 'License'). You may not use this file except in 7841 // compliance with the License. The rights granted to you under the License 7842 // may not be used to create, or enable the creation or redistribution of, 7843 // unlawful or unlicensed copies of an Apple operating system, or to 7844 // circumvent, violate, or enable the circumvention or violation of, any 7845 // terms of an Apple operating system software license agreement. 7846 // 7847 // Please obtain a copy of the License at 7848 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7849 // 7850 // The Original Code and all software distributed under the License are 7851 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7852 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7853 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7854 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7855 // Please see the License for the specific language governing rights and 7856 // limitations under the License. 7857 // 7858 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7859 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 7860 // 7861 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7862 // 7863 // This file contains Original Code and/or Modifications of Original Code 7864 // as defined in and that are subject to the Apple Public Source License 7865 // Version 2.0 (the 'License'). You may not use this file except in 7866 // compliance with the License. The rights granted to you under the License 7867 // may not be used to create, or enable the creation or redistribution of, 7868 // unlawful or unlicensed copies of an Apple operating system, or to 7869 // circumvent, violate, or enable the circumvention or violation of, any 7870 // terms of an Apple operating system software license agreement. 7871 // 7872 // Please obtain a copy of the License at 7873 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7874 // 7875 // The Original Code and all software distributed under the License are 7876 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7877 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7878 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7879 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7880 // Please see the License for the specific language governing rights and 7881 // limitations under the License. 7882 // 7883 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7884 7885 type pthread_condattr_t = _opaque_pthread_condattr_t /* _pthread_condattr_t.h:31:37 */ 7886 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7887 // 7888 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7889 // 7890 // This file contains Original Code and/or Modifications of Original Code 7891 // as defined in and that are subject to the Apple Public Source License 7892 // Version 2.0 (the 'License'). You may not use this file except in 7893 // compliance with the License. The rights granted to you under the License 7894 // may not be used to create, or enable the creation or redistribution of, 7895 // unlawful or unlicensed copies of an Apple operating system, or to 7896 // circumvent, violate, or enable the circumvention or violation of, any 7897 // terms of an Apple operating system software license agreement. 7898 // 7899 // Please obtain a copy of the License at 7900 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7901 // 7902 // The Original Code and all software distributed under the License are 7903 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7904 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7905 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7906 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7907 // Please see the License for the specific language governing rights and 7908 // limitations under the License. 7909 // 7910 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7911 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 7912 // 7913 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7914 // 7915 // This file contains Original Code and/or Modifications of Original Code 7916 // as defined in and that are subject to the Apple Public Source License 7917 // Version 2.0 (the 'License'). You may not use this file except in 7918 // compliance with the License. The rights granted to you under the License 7919 // may not be used to create, or enable the creation or redistribution of, 7920 // unlawful or unlicensed copies of an Apple operating system, or to 7921 // circumvent, violate, or enable the circumvention or violation of, any 7922 // terms of an Apple operating system software license agreement. 7923 // 7924 // Please obtain a copy of the License at 7925 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7926 // 7927 // The Original Code and all software distributed under the License are 7928 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7929 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7930 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7931 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7932 // Please see the License for the specific language governing rights and 7933 // limitations under the License. 7934 // 7935 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7936 7937 type pthread_mutex_t = _opaque_pthread_mutex_t /* _pthread_mutex_t.h:31:34 */ 7938 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7939 // 7940 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7941 // 7942 // This file contains Original Code and/or Modifications of Original Code 7943 // as defined in and that are subject to the Apple Public Source License 7944 // Version 2.0 (the 'License'). You may not use this file except in 7945 // compliance with the License. The rights granted to you under the License 7946 // may not be used to create, or enable the creation or redistribution of, 7947 // unlawful or unlicensed copies of an Apple operating system, or to 7948 // circumvent, violate, or enable the circumvention or violation of, any 7949 // terms of an Apple operating system software license agreement. 7950 // 7951 // Please obtain a copy of the License at 7952 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7953 // 7954 // The Original Code and all software distributed under the License are 7955 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7956 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7957 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7958 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7959 // Please see the License for the specific language governing rights and 7960 // limitations under the License. 7961 // 7962 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7963 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 7964 // 7965 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7966 // 7967 // This file contains Original Code and/or Modifications of Original Code 7968 // as defined in and that are subject to the Apple Public Source License 7969 // Version 2.0 (the 'License'). You may not use this file except in 7970 // compliance with the License. The rights granted to you under the License 7971 // may not be used to create, or enable the creation or redistribution of, 7972 // unlawful or unlicensed copies of an Apple operating system, or to 7973 // circumvent, violate, or enable the circumvention or violation of, any 7974 // terms of an Apple operating system software license agreement. 7975 // 7976 // Please obtain a copy of the License at 7977 // http://www.opensource.apple.com/apsl/ and read it before using this file. 7978 // 7979 // The Original Code and all software distributed under the License are 7980 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 7981 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 7982 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 7983 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 7984 // Please see the License for the specific language governing rights and 7985 // limitations under the License. 7986 // 7987 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 7988 7989 type pthread_mutexattr_t = _opaque_pthread_mutexattr_t /* _pthread_mutexattr_t.h:31:38 */ 7990 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 7991 // 7992 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 7993 // 7994 // This file contains Original Code and/or Modifications of Original Code 7995 // as defined in and that are subject to the Apple Public Source License 7996 // Version 2.0 (the 'License'). You may not use this file except in 7997 // compliance with the License. The rights granted to you under the License 7998 // may not be used to create, or enable the creation or redistribution of, 7999 // unlawful or unlicensed copies of an Apple operating system, or to 8000 // circumvent, violate, or enable the circumvention or violation of, any 8001 // terms of an Apple operating system software license agreement. 8002 // 8003 // Please obtain a copy of the License at 8004 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8005 // 8006 // The Original Code and all software distributed under the License are 8007 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8008 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8009 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8010 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8011 // Please see the License for the specific language governing rights and 8012 // limitations under the License. 8013 // 8014 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8015 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 8016 // 8017 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8018 // 8019 // This file contains Original Code and/or Modifications of Original Code 8020 // as defined in and that are subject to the Apple Public Source License 8021 // Version 2.0 (the 'License'). You may not use this file except in 8022 // compliance with the License. The rights granted to you under the License 8023 // may not be used to create, or enable the creation or redistribution of, 8024 // unlawful or unlicensed copies of an Apple operating system, or to 8025 // circumvent, violate, or enable the circumvention or violation of, any 8026 // terms of an Apple operating system software license agreement. 8027 // 8028 // Please obtain a copy of the License at 8029 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8030 // 8031 // The Original Code and all software distributed under the License are 8032 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8033 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8034 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8035 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8036 // Please see the License for the specific language governing rights and 8037 // limitations under the License. 8038 // 8039 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8040 8041 type pthread_once_t = _opaque_pthread_once_t /* _pthread_once_t.h:31:33 */ 8042 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8043 // 8044 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8045 // 8046 // This file contains Original Code and/or Modifications of Original Code 8047 // as defined in and that are subject to the Apple Public Source License 8048 // Version 2.0 (the 'License'). You may not use this file except in 8049 // compliance with the License. The rights granted to you under the License 8050 // may not be used to create, or enable the creation or redistribution of, 8051 // unlawful or unlicensed copies of an Apple operating system, or to 8052 // circumvent, violate, or enable the circumvention or violation of, any 8053 // terms of an Apple operating system software license agreement. 8054 // 8055 // Please obtain a copy of the License at 8056 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8057 // 8058 // The Original Code and all software distributed under the License are 8059 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8060 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8061 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8062 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8063 // Please see the License for the specific language governing rights and 8064 // limitations under the License. 8065 // 8066 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8067 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 8068 // 8069 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8070 // 8071 // This file contains Original Code and/or Modifications of Original Code 8072 // as defined in and that are subject to the Apple Public Source License 8073 // Version 2.0 (the 'License'). You may not use this file except in 8074 // compliance with the License. The rights granted to you under the License 8075 // may not be used to create, or enable the creation or redistribution of, 8076 // unlawful or unlicensed copies of an Apple operating system, or to 8077 // circumvent, violate, or enable the circumvention or violation of, any 8078 // terms of an Apple operating system software license agreement. 8079 // 8080 // Please obtain a copy of the License at 8081 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8082 // 8083 // The Original Code and all software distributed under the License are 8084 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8085 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8086 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8087 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8088 // Please see the License for the specific language governing rights and 8089 // limitations under the License. 8090 // 8091 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8092 8093 type pthread_rwlock_t = _opaque_pthread_rwlock_t /* _pthread_rwlock_t.h:31:35 */ 8094 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8095 // 8096 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8097 // 8098 // This file contains Original Code and/or Modifications of Original Code 8099 // as defined in and that are subject to the Apple Public Source License 8100 // Version 2.0 (the 'License'). You may not use this file except in 8101 // compliance with the License. The rights granted to you under the License 8102 // may not be used to create, or enable the creation or redistribution of, 8103 // unlawful or unlicensed copies of an Apple operating system, or to 8104 // circumvent, violate, or enable the circumvention or violation of, any 8105 // terms of an Apple operating system software license agreement. 8106 // 8107 // Please obtain a copy of the License at 8108 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8109 // 8110 // The Original Code and all software distributed under the License are 8111 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8112 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8113 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8114 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8115 // Please see the License for the specific language governing rights and 8116 // limitations under the License. 8117 // 8118 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8119 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 8120 // 8121 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8122 // 8123 // This file contains Original Code and/or Modifications of Original Code 8124 // as defined in and that are subject to the Apple Public Source License 8125 // Version 2.0 (the 'License'). You may not use this file except in 8126 // compliance with the License. The rights granted to you under the License 8127 // may not be used to create, or enable the creation or redistribution of, 8128 // unlawful or unlicensed copies of an Apple operating system, or to 8129 // circumvent, violate, or enable the circumvention or violation of, any 8130 // terms of an Apple operating system software license agreement. 8131 // 8132 // Please obtain a copy of the License at 8133 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8134 // 8135 // The Original Code and all software distributed under the License are 8136 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8137 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8138 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8139 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8140 // Please see the License for the specific language governing rights and 8141 // limitations under the License. 8142 // 8143 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8144 8145 type pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t /* _pthread_rwlockattr_t.h:31:39 */ 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 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 8172 // 8173 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8174 // 8175 // This file contains Original Code and/or Modifications of Original Code 8176 // as defined in and that are subject to the Apple Public Source License 8177 // Version 2.0 (the 'License'). You may not use this file except in 8178 // compliance with the License. The rights granted to you under the License 8179 // may not be used to create, or enable the creation or redistribution of, 8180 // unlawful or unlicensed copies of an Apple operating system, or to 8181 // circumvent, violate, or enable the circumvention or violation of, any 8182 // terms of an Apple operating system software license agreement. 8183 // 8184 // Please obtain a copy of the License at 8185 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8186 // 8187 // The Original Code and all software distributed under the License are 8188 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8189 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8190 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8191 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8192 // Please see the License for the specific language governing rights and 8193 // limitations under the License. 8194 // 8195 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8196 8197 type pthread_t = uintptr /* _pthread_t.h:31:28 */ 8198 8199 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8200 // 8201 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8202 // 8203 // This file contains Original Code and/or Modifications of Original Code 8204 // as defined in and that are subject to the Apple Public Source License 8205 // Version 2.0 (the 'License'). You may not use this file except in 8206 // compliance with the License. The rights granted to you under the License 8207 // may not be used to create, or enable the creation or redistribution of, 8208 // unlawful or unlicensed copies of an Apple operating system, or to 8209 // circumvent, violate, or enable the circumvention or violation of, any 8210 // terms of an Apple operating system software license agreement. 8211 // 8212 // Please obtain a copy of the License at 8213 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8214 // 8215 // The Original Code and all software distributed under the License are 8216 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8217 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8218 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8219 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8220 // Please see the License for the specific language governing rights and 8221 // limitations under the License. 8222 // 8223 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8224 // Copyright (c) 2003-2013 Apple Inc. All rights reserved. 8225 // 8226 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8227 // 8228 // This file contains Original Code and/or Modifications of Original Code 8229 // as defined in and that are subject to the Apple Public Source License 8230 // Version 2.0 (the 'License'). You may not use this file except in 8231 // compliance with the License. The rights granted to you under the License 8232 // may not be used to create, or enable the creation or redistribution of, 8233 // unlawful or unlicensed copies of an Apple operating system, or to 8234 // circumvent, violate, or enable the circumvention or violation of, any 8235 // terms of an Apple operating system software license agreement. 8236 // 8237 // Please obtain a copy of the License at 8238 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8239 // 8240 // The Original Code and all software distributed under the License are 8241 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8242 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8243 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8244 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8245 // Please see the License for the specific language governing rights and 8246 // limitations under the License. 8247 // 8248 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8249 8250 type pthread_key_t = uint64 /* _pthread_key_t.h:31:32 */ 8251 8252 // statvfs and fstatvfs 8253 8254 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8255 // 8256 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8257 // 8258 // This file contains Original Code and/or Modifications of Original Code 8259 // as defined in and that are subject to the Apple Public Source License 8260 // Version 2.0 (the 'License'). You may not use this file except in 8261 // compliance with the License. The rights granted to you under the License 8262 // may not be used to create, or enable the creation or redistribution of, 8263 // unlawful or unlicensed copies of an Apple operating system, or to 8264 // circumvent, violate, or enable the circumvention or violation of, any 8265 // terms of an Apple operating system software license agreement. 8266 // 8267 // Please obtain a copy of the License at 8268 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8269 // 8270 // The Original Code and all software distributed under the License are 8271 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8272 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8273 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8274 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8275 // Please see the License for the specific language governing rights and 8276 // limitations under the License. 8277 // 8278 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8279 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 8280 // 8281 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8282 // 8283 // This file contains Original Code and/or Modifications of Original Code 8284 // as defined in and that are subject to the Apple Public Source License 8285 // Version 2.0 (the 'License'). You may not use this file except in 8286 // compliance with the License. The rights granted to you under the License 8287 // may not be used to create, or enable the creation or redistribution of, 8288 // unlawful or unlicensed copies of an Apple operating system, or to 8289 // circumvent, violate, or enable the circumvention or violation of, any 8290 // terms of an Apple operating system software license agreement. 8291 // 8292 // Please obtain a copy of the License at 8293 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8294 // 8295 // The Original Code and all software distributed under the License are 8296 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8297 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8298 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8299 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8300 // Please see the License for the specific language governing rights and 8301 // limitations under the License. 8302 // 8303 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8304 8305 type fsblkcnt_t = uint32 /* _fsblkcnt_t.h:31:41 */ 8306 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8307 // 8308 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8309 // 8310 // This file contains Original Code and/or Modifications of Original Code 8311 // as defined in and that are subject to the Apple Public Source License 8312 // Version 2.0 (the 'License'). You may not use this file except in 8313 // compliance with the License. The rights granted to you under the License 8314 // may not be used to create, or enable the creation or redistribution of, 8315 // unlawful or unlicensed copies of an Apple operating system, or to 8316 // circumvent, violate, or enable the circumvention or violation of, any 8317 // terms of an Apple operating system software license agreement. 8318 // 8319 // Please obtain a copy of the License at 8320 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8321 // 8322 // The Original Code and all software distributed under the License are 8323 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8324 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8325 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8326 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8327 // Please see the License for the specific language governing rights and 8328 // limitations under the License. 8329 // 8330 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8331 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 8332 // 8333 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8334 // 8335 // This file contains Original Code and/or Modifications of Original Code 8336 // as defined in and that are subject to the Apple Public Source License 8337 // Version 2.0 (the 'License'). You may not use this file except in 8338 // compliance with the License. The rights granted to you under the License 8339 // may not be used to create, or enable the creation or redistribution of, 8340 // unlawful or unlicensed copies of an Apple operating system, or to 8341 // circumvent, violate, or enable the circumvention or violation of, any 8342 // terms of an Apple operating system software license agreement. 8343 // 8344 // Please obtain a copy of the License at 8345 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8346 // 8347 // The Original Code and all software distributed under the License are 8348 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8349 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8350 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8351 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8352 // Please see the License for the specific language governing rights and 8353 // limitations under the License. 8354 // 8355 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8356 8357 type fsfilcnt_t = uint32 /* _fsfilcnt_t.h:31:41 */ 8358 8359 // Copyright (c) 2000-2019 Apple Inc. All rights reserved. 8360 // 8361 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8362 // 8363 // This file contains Original Code and/or Modifications of Original Code 8364 // as defined in and that are subject to the Apple Public Source License 8365 // Version 2.0 (the 'License'). You may not use this file except in 8366 // compliance with the License. The rights granted to you under the License 8367 // may not be used to create, or enable the creation or redistribution of, 8368 // unlawful or unlicensed copies of an Apple operating system, or to 8369 // circumvent, violate, or enable the circumvention or violation of, any 8370 // terms of an Apple operating system software license agreement. 8371 // 8372 // Please obtain a copy of the License at 8373 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8374 // 8375 // The Original Code and all software distributed under the License are 8376 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8377 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8378 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8379 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8380 // Please see the License for the specific language governing rights and 8381 // limitations under the License. 8382 // 8383 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8384 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved 8385 // Copyright (c) 1982, 1986, 1993, 1994 8386 // The Regents of the University of California. All rights reserved. 8387 // 8388 // Redistribution and use in source and binary forms, with or without 8389 // modification, are permitted provided that the following conditions 8390 // are met: 8391 // 1. Redistributions of source code must retain the above copyright 8392 // notice, this list of conditions and the following disclaimer. 8393 // 2. Redistributions in binary form must reproduce the above copyright 8394 // notice, this list of conditions and the following disclaimer in the 8395 // documentation and/or other materials provided with the distribution. 8396 // 3. All advertising materials mentioning features or use of this software 8397 // must display the following acknowledgement: 8398 // This product includes software developed by the University of 8399 // California, Berkeley and its contributors. 8400 // 4. Neither the name of the University nor the names of its contributors 8401 // may be used to endorse or promote products derived from this software 8402 // without specific prior written permission. 8403 // 8404 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 8405 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 8406 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 8407 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 8408 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 8409 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 8410 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 8411 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 8412 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 8413 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 8414 // SUCH DAMAGE. 8415 // 8416 // @(#)uio.h 8.5 (Berkeley) 2/22/94 8417 8418 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 8419 // 8420 // @APPLE_LICENSE_HEADER_START@ 8421 // 8422 // This file contains Original Code and/or Modifications of Original Code 8423 // as defined in and that are subject to the Apple Public Source License 8424 // Version 2.0 (the 'License'). You may not use this file except in 8425 // compliance with the License. Please obtain a copy of the License at 8426 // http://www.opensource.apple.com/apsl/ and read it before using this 8427 // file. 8428 // 8429 // The Original Code and all software distributed under the License are 8430 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8431 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8432 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8433 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8434 // Please see the License for the specific language governing rights and 8435 // limitations under the License. 8436 // 8437 // @APPLE_LICENSE_HEADER_END@ 8438 8439 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 8440 // 8441 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8442 // 8443 // This file contains Original Code and/or Modifications of Original Code 8444 // as defined in and that are subject to the Apple Public Source License 8445 // Version 2.0 (the 'License'). You may not use this file except in 8446 // compliance with the License. The rights granted to you under the License 8447 // may not be used to create, or enable the creation or redistribution of, 8448 // unlawful or unlicensed copies of an Apple operating system, or to 8449 // circumvent, violate, or enable the circumvention or violation of, any 8450 // terms of an Apple operating system software license agreement. 8451 // 8452 // Please obtain a copy of the License at 8453 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8454 // 8455 // The Original Code and all software distributed under the License are 8456 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8457 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8458 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8459 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8460 // Please see the License for the specific language governing rights and 8461 // limitations under the License. 8462 // 8463 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8464 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 8465 // Copyright (c) 1991, 1993 8466 // The Regents of the University of California. All rights reserved. 8467 // 8468 // This code is derived from software contributed to Berkeley by 8469 // Berkeley Software Design, Inc. 8470 // 8471 // Redistribution and use in source and binary forms, with or without 8472 // modification, are permitted provided that the following conditions 8473 // are met: 8474 // 1. Redistributions of source code must retain the above copyright 8475 // notice, this list of conditions and the following disclaimer. 8476 // 2. Redistributions in binary form must reproduce the above copyright 8477 // notice, this list of conditions and the following disclaimer in the 8478 // documentation and/or other materials provided with the distribution. 8479 // 3. All advertising materials mentioning features or use of this software 8480 // must display the following acknowledgement: 8481 // This product includes software developed by the University of 8482 // California, Berkeley and its contributors. 8483 // 4. Neither the name of the University nor the names of its contributors 8484 // may be used to endorse or promote products derived from this software 8485 // without specific prior written permission. 8486 // 8487 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 8488 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 8489 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 8490 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 8491 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 8492 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 8493 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 8494 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 8495 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 8496 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 8497 // SUCH DAMAGE. 8498 // 8499 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 8500 8501 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 8502 // 8503 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8504 // 8505 // This file contains Original Code and/or Modifications of Original Code 8506 // as defined in and that are subject to the Apple Public Source License 8507 // Version 2.0 (the 'License'). You may not use this file except in 8508 // compliance with the License. The rights granted to you under the License 8509 // may not be used to create, or enable the creation or redistribution of, 8510 // unlawful or unlicensed copies of an Apple operating system, or to 8511 // circumvent, violate, or enable the circumvention or violation of, any 8512 // terms of an Apple operating system software license agreement. 8513 // 8514 // Please obtain a copy of the License at 8515 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8516 // 8517 // The Original Code and all software distributed under the License are 8518 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8519 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8520 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8521 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8522 // Please see the License for the specific language governing rights and 8523 // limitations under the License. 8524 // 8525 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8526 8527 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8528 // 8529 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8530 // 8531 // This file contains Original Code and/or Modifications of Original Code 8532 // as defined in and that are subject to the Apple Public Source License 8533 // Version 2.0 (the 'License'). You may not use this file except in 8534 // compliance with the License. The rights granted to you under the License 8535 // may not be used to create, or enable the creation or redistribution of, 8536 // unlawful or unlicensed copies of an Apple operating system, or to 8537 // circumvent, violate, or enable the circumvention or violation of, any 8538 // terms of an Apple operating system software license agreement. 8539 // 8540 // Please obtain a copy of the License at 8541 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8542 // 8543 // The Original Code and all software distributed under the License are 8544 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8545 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8546 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8547 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8548 // Please see the License for the specific language governing rights and 8549 // limitations under the License. 8550 // 8551 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8552 8553 // [XSI] The ssize_t and size_t types shall be defined as described 8554 // in <sys/types.h>. 8555 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8556 // 8557 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8558 // 8559 // This file contains Original Code and/or Modifications of Original Code 8560 // as defined in and that are subject to the Apple Public Source License 8561 // Version 2.0 (the 'License'). You may not use this file except in 8562 // compliance with the License. The rights granted to you under the License 8563 // may not be used to create, or enable the creation or redistribution of, 8564 // unlawful or unlicensed copies of an Apple operating system, or to 8565 // circumvent, violate, or enable the circumvention or violation of, any 8566 // terms of an Apple operating system software license agreement. 8567 // 8568 // Please obtain a copy of the License at 8569 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8570 // 8571 // The Original Code and all software distributed under the License are 8572 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8573 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8574 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8575 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8576 // Please see the License for the specific language governing rights and 8577 // limitations under the License. 8578 // 8579 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8580 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8581 // 8582 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8583 // 8584 // This file contains Original Code and/or Modifications of Original Code 8585 // as defined in and that are subject to the Apple Public Source License 8586 // Version 2.0 (the 'License'). You may not use this file except in 8587 // compliance with the License. The rights granted to you under the License 8588 // may not be used to create, or enable the creation or redistribution of, 8589 // unlawful or unlicensed copies of an Apple operating system, or to 8590 // circumvent, violate, or enable the circumvention or violation of, any 8591 // terms of an Apple operating system software license agreement. 8592 // 8593 // Please obtain a copy of the License at 8594 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8595 // 8596 // The Original Code and all software distributed under the License are 8597 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8598 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8599 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8600 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8601 // Please see the License for the specific language governing rights and 8602 // limitations under the License. 8603 // 8604 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8605 8606 // [XSI] Structure whose address is passed as the second parameter to the 8607 // readv(), preadv(), writev() and pwritev() functions. 8608 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8609 // 8610 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8611 // 8612 // This file contains Original Code and/or Modifications of Original Code 8613 // as defined in and that are subject to the Apple Public Source License 8614 // Version 2.0 (the 'License'). You may not use this file except in 8615 // compliance with the License. The rights granted to you under the License 8616 // may not be used to create, or enable the creation or redistribution of, 8617 // unlawful or unlicensed copies of an Apple operating system, or to 8618 // circumvent, violate, or enable the circumvention or violation of, any 8619 // terms of an Apple operating system software license agreement. 8620 // 8621 // Please obtain a copy of the License at 8622 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8623 // 8624 // The Original Code and all software distributed under the License are 8625 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8626 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8627 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8628 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8629 // Please see the License for the specific language governing rights and 8630 // limitations under the License. 8631 // 8632 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8633 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 8634 // 8635 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8636 // 8637 // This file contains Original Code and/or Modifications of Original Code 8638 // as defined in and that are subject to the Apple Public Source License 8639 // Version 2.0 (the 'License'). You may not use this file except in 8640 // compliance with the License. The rights granted to you under the License 8641 // may not be used to create, or enable the creation or redistribution of, 8642 // unlawful or unlicensed copies of an Apple operating system, or to 8643 // circumvent, violate, or enable the circumvention or violation of, any 8644 // terms of an Apple operating system software license agreement. 8645 // 8646 // Please obtain a copy of the License at 8647 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8648 // 8649 // The Original Code and all software distributed under the License are 8650 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8651 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8652 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8653 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8654 // Please see the License for the specific language governing rights and 8655 // limitations under the License. 8656 // 8657 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8658 type iovec = struct { 8659 Fiov_base uintptr 8660 Fiov_len size_t 8661 } /* _iovec_t.h:31:1 */ 8662 8663 // Copyright (c) 2000-2012 Apple Inc. All rights reserved. 8664 // 8665 // @APPLE_LICENSE_HEADER_START@ 8666 // 8667 // This file contains Original Code and/or Modifications of Original Code 8668 // as defined in and that are subject to the Apple Public Source License 8669 // Version 2.0 (the 'License'). You may not use this file except in 8670 // compliance with the License. Please obtain a copy of the License at 8671 // http://www.opensource.apple.com/apsl/ and read it before using this 8672 // file. 8673 // 8674 // The Original Code and all software distributed under the License are 8675 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8676 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8677 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8678 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8679 // Please see the License for the specific language governing rights and 8680 // limitations under the License. 8681 // 8682 // @APPLE_LICENSE_HEADER_END@ 8683 // Copyright 1996 1995 by Open Software Foundation, Inc. 1997 1996 1995 1994 1993 1992 1991 8684 // All Rights Reserved 8685 // 8686 // Permission to use, copy, modify, and distribute this software and 8687 // its documentation for any purpose and without fee is hereby granted, 8688 // provided that the above copyright notice appears in all copies and 8689 // that both the copyright notice and this permission notice appear in 8690 // supporting documentation. 8691 // 8692 // OSF DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE 8693 // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 8694 // FOR A PARTICULAR PURPOSE. 8695 // 8696 // IN NO EVENT SHALL OSF BE LIABLE FOR ANY SPECIAL, INDIRECT, OR 8697 // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 8698 // LOSS OF USE, DATA OR PROFITS, WHETHER IN ACTION OF CONTRACT, 8699 // NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 8700 // WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 8701 // 8702 // MkLinux 8703 8704 // POSIX Threads - IEEE 1003.1c 8705 8706 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 8707 // 8708 // @APPLE_LICENSE_HEADER_START@ 8709 // 8710 // This file contains Original Code and/or Modifications of Original Code 8711 // as defined in and that are subject to the Apple Public Source License 8712 // Version 2.0 (the 'License'). You may not use this file except in 8713 // compliance with the License. Please obtain a copy of the License at 8714 // http://www.opensource.apple.com/apsl/ and read it before using this 8715 // file. 8716 // 8717 // The Original Code and all software distributed under the License are 8718 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8719 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8720 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8721 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8722 // Please see the License for the specific language governing rights and 8723 // limitations under the License. 8724 // 8725 // @APPLE_LICENSE_HEADER_END@ 8726 8727 // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved. 8728 // 8729 // @APPLE_LICENSE_HEADER_START@ 8730 // 8731 // This file contains Original Code and/or Modifications of Original Code 8732 // as defined in and that are subject to the Apple Public Source License 8733 // Version 2.0 (the 'License'). You may not use this file except in 8734 // compliance with the License. Please obtain a copy of the License at 8735 // http://www.opensource.apple.com/apsl/ and read it before using this 8736 // file. 8737 // 8738 // The Original Code and all software distributed under the License are 8739 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8740 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8741 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8742 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8743 // Please see the License for the specific language governing rights and 8744 // limitations under the License. 8745 // 8746 // @APPLE_LICENSE_HEADER_END@ 8747 8748 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 8749 // 8750 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8751 // 8752 // This file contains Original Code and/or Modifications of Original Code 8753 // as defined in and that are subject to the Apple Public Source License 8754 // Version 2.0 (the 'License'). You may not use this file except in 8755 // compliance with the License. The rights granted to you under the License 8756 // may not be used to create, or enable the creation or redistribution of, 8757 // unlawful or unlicensed copies of an Apple operating system, or to 8758 // circumvent, violate, or enable the circumvention or violation of, any 8759 // terms of an Apple operating system software license agreement. 8760 // 8761 // Please obtain a copy of the License at 8762 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8763 // 8764 // The Original Code and all software distributed under the License are 8765 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8766 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8767 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8768 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8769 // Please see the License for the specific language governing rights and 8770 // limitations under the License. 8771 // 8772 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8773 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 8774 // Copyright (c) 1991, 1993 8775 // The Regents of the University of California. All rights reserved. 8776 // 8777 // This code is derived from software contributed to Berkeley by 8778 // Berkeley Software Design, Inc. 8779 // 8780 // Redistribution and use in source and binary forms, with or without 8781 // modification, are permitted provided that the following conditions 8782 // are met: 8783 // 1. Redistributions of source code must retain the above copyright 8784 // notice, this list of conditions and the following disclaimer. 8785 // 2. Redistributions in binary form must reproduce the above copyright 8786 // notice, this list of conditions and the following disclaimer in the 8787 // documentation and/or other materials provided with the distribution. 8788 // 3. All advertising materials mentioning features or use of this software 8789 // must display the following acknowledgement: 8790 // This product includes software developed by the University of 8791 // California, Berkeley and its contributors. 8792 // 4. Neither the name of the University nor the names of its contributors 8793 // may be used to endorse or promote products derived from this software 8794 // without specific prior written permission. 8795 // 8796 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 8797 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 8798 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 8799 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 8800 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 8801 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 8802 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 8803 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 8804 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 8805 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 8806 // SUCH DAMAGE. 8807 // 8808 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 8809 8810 // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved. 8811 // 8812 // @APPLE_LICENSE_HEADER_START@ 8813 // 8814 // This file contains Original Code and/or Modifications of Original Code 8815 // as defined in and that are subject to the Apple Public Source License 8816 // Version 2.0 (the 'License'). You may not use this file except in 8817 // compliance with the License. Please obtain a copy of the License at 8818 // http://www.opensource.apple.com/apsl/ and read it before using this 8819 // file. 8820 // 8821 // The Original Code and all software distributed under the License are 8822 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8823 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8824 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8825 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8826 // Please see the License for the specific language governing rights and 8827 // limitations under the License. 8828 // 8829 // @APPLE_LICENSE_HEADER_END@ 8830 8831 // Internal implementation details 8832 8833 // This whole header file will disappear, so don't depend on it... 8834 8835 // [Internal] data structure signatures 8836 8837 // POSIX scheduling policies 8838 8839 // Scheduling paramters 8840 type sched_param = struct { 8841 Fsched_priority int32 8842 F__opaque [4]int8 8843 } /* sched.h:35:1 */ 8844 8845 // Copyright (c) 2000 Apple Computer, Inc. All rights reserved. 8846 // 8847 // @APPLE_LICENSE_HEADER_START@ 8848 // 8849 // This file contains Original Code and/or Modifications of Original Code 8850 // as defined in and that are subject to the Apple Public Source License 8851 // Version 2.0 (the 'License'). You may not use this file except in 8852 // compliance with the License. Please obtain a copy of the License at 8853 // http://www.opensource.apple.com/apsl/ and read it before using this 8854 // file. 8855 // 8856 // The Original Code and all software distributed under the License are 8857 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8858 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8859 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8860 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8861 // Please see the License for the specific language governing rights and 8862 // limitations under the License. 8863 // 8864 // @APPLE_LICENSE_HEADER_END@ 8865 // Copyright (c) 1989, 1993 8866 // The Regents of the University of California. All rights reserved. 8867 // (c) UNIX System Laboratories, Inc. 8868 // All or some portions of this file are derived from material licensed 8869 // to the University of California by American Telephone and Telegraph 8870 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 8871 // the permission of UNIX System Laboratories, Inc. 8872 // 8873 // Redistribution and use in source and binary forms, with or without 8874 // modification, are permitted provided that the following conditions 8875 // are met: 8876 // 1. Redistributions of source code must retain the above copyright 8877 // notice, this list of conditions and the following disclaimer. 8878 // 2. Redistributions in binary form must reproduce the above copyright 8879 // notice, this list of conditions and the following disclaimer in the 8880 // documentation and/or other materials provided with the distribution. 8881 // 3. All advertising materials mentioning features or use of this software 8882 // must display the following acknowledgement: 8883 // This product includes software developed by the University of 8884 // California, Berkeley and its contributors. 8885 // 4. Neither the name of the University nor the names of its contributors 8886 // may be used to endorse or promote products derived from this software 8887 // without specific prior written permission. 8888 // 8889 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 8890 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 8891 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 8892 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 8893 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 8894 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 8895 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 8896 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 8897 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 8898 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 8899 // SUCH DAMAGE. 8900 // 8901 // @(#)time.h 8.3 (Berkeley) 1/21/94 8902 8903 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved. 8904 // 8905 // @APPLE_LICENSE_HEADER_START@ 8906 // 8907 // This file contains Original Code and/or Modifications of Original Code 8908 // as defined in and that are subject to the Apple Public Source License 8909 // Version 2.0 (the 'License'). You may not use this file except in 8910 // compliance with the License. Please obtain a copy of the License at 8911 // http://www.opensource.apple.com/apsl/ and read it before using this 8912 // file. 8913 // 8914 // The Original Code and all software distributed under the License are 8915 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8916 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8917 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8918 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8919 // Please see the License for the specific language governing rights and 8920 // limitations under the License. 8921 // 8922 // @APPLE_LICENSE_HEADER_END@ 8923 8924 // Copyright (c) 2000-2018 Apple Inc. All rights reserved. 8925 // 8926 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 8927 // 8928 // This file contains Original Code and/or Modifications of Original Code 8929 // as defined in and that are subject to the Apple Public Source License 8930 // Version 2.0 (the 'License'). You may not use this file except in 8931 // compliance with the License. The rights granted to you under the License 8932 // may not be used to create, or enable the creation or redistribution of, 8933 // unlawful or unlicensed copies of an Apple operating system, or to 8934 // circumvent, violate, or enable the circumvention or violation of, any 8935 // terms of an Apple operating system software license agreement. 8936 // 8937 // Please obtain a copy of the License at 8938 // http://www.opensource.apple.com/apsl/ and read it before using this file. 8939 // 8940 // The Original Code and all software distributed under the License are 8941 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8942 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 8943 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 8944 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 8945 // Please see the License for the specific language governing rights and 8946 // limitations under the License. 8947 // 8948 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 8949 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 8950 // Copyright (c) 1991, 1993 8951 // The Regents of the University of California. All rights reserved. 8952 // 8953 // This code is derived from software contributed to Berkeley by 8954 // Berkeley Software Design, Inc. 8955 // 8956 // Redistribution and use in source and binary forms, with or without 8957 // modification, are permitted provided that the following conditions 8958 // are met: 8959 // 1. Redistributions of source code must retain the above copyright 8960 // notice, this list of conditions and the following disclaimer. 8961 // 2. Redistributions in binary form must reproduce the above copyright 8962 // notice, this list of conditions and the following disclaimer in the 8963 // documentation and/or other materials provided with the distribution. 8964 // 3. All advertising materials mentioning features or use of this software 8965 // must display the following acknowledgement: 8966 // This product includes software developed by the University of 8967 // California, Berkeley and its contributors. 8968 // 4. Neither the name of the University nor the names of its contributors 8969 // may be used to endorse or promote products derived from this software 8970 // without specific prior written permission. 8971 // 8972 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 8973 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 8974 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 8975 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 8976 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 8977 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 8978 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 8979 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 8980 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 8981 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 8982 // SUCH DAMAGE. 8983 // 8984 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 8985 8986 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved. 8987 // 8988 // @APPLE_LICENSE_HEADER_START@ 8989 // 8990 // This file contains Original Code and/or Modifications of Original Code 8991 // as defined in and that are subject to the Apple Public Source License 8992 // Version 2.0 (the 'License'). You may not use this file except in 8993 // compliance with the License. Please obtain a copy of the License at 8994 // http://www.opensource.apple.com/apsl/ and read it before using this 8995 // file. 8996 // 8997 // The Original Code and all software distributed under the License are 8998 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 8999 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9000 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9001 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9002 // Please see the License for the specific language governing rights and 9003 // limitations under the License. 9004 // 9005 // @APPLE_LICENSE_HEADER_END@ 9006 9007 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 9008 // 9009 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9010 // 9011 // This file contains Original Code and/or Modifications of Original Code 9012 // as defined in and that are subject to the Apple Public Source License 9013 // Version 2.0 (the 'License'). You may not use this file except in 9014 // compliance with the License. The rights granted to you under the License 9015 // may not be used to create, or enable the creation or redistribution of, 9016 // unlawful or unlicensed copies of an Apple operating system, or to 9017 // circumvent, violate, or enable the circumvention or violation of, any 9018 // terms of an Apple operating system software license agreement. 9019 // 9020 // Please obtain a copy of the License at 9021 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9022 // 9023 // The Original Code and all software distributed under the License are 9024 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9025 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9026 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9027 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9028 // Please see the License for the specific language governing rights and 9029 // limitations under the License. 9030 // 9031 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9032 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 9033 // 9034 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9035 // 9036 // This file contains Original Code and/or Modifications of Original Code 9037 // as defined in and that are subject to the Apple Public Source License 9038 // Version 2.0 (the 'License'). You may not use this file except in 9039 // compliance with the License. The rights granted to you under the License 9040 // may not be used to create, or enable the creation or redistribution of, 9041 // unlawful or unlicensed copies of an Apple operating system, or to 9042 // circumvent, violate, or enable the circumvention or violation of, any 9043 // terms of an Apple operating system software license agreement. 9044 // 9045 // Please obtain a copy of the License at 9046 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9047 // 9048 // The Original Code and all software distributed under the License are 9049 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9050 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9051 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9052 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9053 // Please see the License for the specific language governing rights and 9054 // limitations under the License. 9055 // 9056 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9057 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 9058 // 9059 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9060 // 9061 // This file contains Original Code and/or Modifications of Original Code 9062 // as defined in and that are subject to the Apple Public Source License 9063 // Version 2.0 (the 'License'). You may not use this file except in 9064 // compliance with the License. The rights granted to you under the License 9065 // may not be used to create, or enable the creation or redistribution of, 9066 // unlawful or unlicensed copies of an Apple operating system, or to 9067 // circumvent, violate, or enable the circumvention or violation of, any 9068 // terms of an Apple operating system software license agreement. 9069 // 9070 // Please obtain a copy of the License at 9071 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9072 // 9073 // The Original Code and all software distributed under the License are 9074 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9075 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9076 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9077 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9078 // Please see the License for the specific language governing rights and 9079 // limitations under the License. 9080 // 9081 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9082 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 9083 // 9084 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9085 // 9086 // This file contains Original Code and/or Modifications of Original Code 9087 // as defined in and that are subject to the Apple Public Source License 9088 // Version 2.0 (the 'License'). You may not use this file except in 9089 // compliance with the License. The rights granted to you under the License 9090 // may not be used to create, or enable the creation or redistribution of, 9091 // unlawful or unlicensed copies of an Apple operating system, or to 9092 // circumvent, violate, or enable the circumvention or violation of, any 9093 // terms of an Apple operating system software license agreement. 9094 // 9095 // Please obtain a copy of the License at 9096 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9097 // 9098 // The Original Code and all software distributed under the License are 9099 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9100 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9101 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9102 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9103 // Please see the License for the specific language governing rights and 9104 // limitations under the License. 9105 // 9106 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9107 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 9108 // 9109 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9110 // 9111 // This file contains Original Code and/or Modifications of Original Code 9112 // as defined in and that are subject to the Apple Public Source License 9113 // Version 2.0 (the 'License'). You may not use this file except in 9114 // compliance with the License. The rights granted to you under the License 9115 // may not be used to create, or enable the creation or redistribution of, 9116 // unlawful or unlicensed copies of an Apple operating system, or to 9117 // circumvent, violate, or enable the circumvention or violation of, any 9118 // terms of an Apple operating system software license agreement. 9119 // 9120 // Please obtain a copy of the License at 9121 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9122 // 9123 // The Original Code and all software distributed under the License are 9124 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9125 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9126 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9127 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9128 // Please see the License for the specific language governing rights and 9129 // limitations under the License. 9130 // 9131 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9132 9133 // Copyright (c) 2000-2007 Apple Inc. All rights reserved. 9134 // 9135 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9136 // 9137 // This file contains Original Code and/or Modifications of Original Code 9138 // as defined in and that are subject to the Apple Public Source License 9139 // Version 2.0 (the 'License'). You may not use this file except in 9140 // compliance with the License. The rights granted to you under the License 9141 // may not be used to create, or enable the creation or redistribution of, 9142 // unlawful or unlicensed copies of an Apple operating system, or to 9143 // circumvent, violate, or enable the circumvention or violation of, any 9144 // terms of an Apple operating system software license agreement. 9145 // 9146 // Please obtain a copy of the License at 9147 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9148 // 9149 // The Original Code and all software distributed under the License are 9150 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9151 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9152 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9153 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9154 // Please see the License for the specific language governing rights and 9155 // limitations under the License. 9156 // 9157 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9158 // Copyright 1995 NeXT Computer, Inc. All rights reserved. 9159 9160 type timespec = struct { 9161 Ftv_sec int64 9162 Ftv_nsec int64 9163 } /* _timespec.h:33:1 */ 9164 9165 type tm = struct { 9166 Ftm_sec int32 9167 Ftm_min int32 9168 Ftm_hour int32 9169 Ftm_mday int32 9170 Ftm_mon int32 9171 Ftm_year int32 9172 Ftm_wday int32 9173 Ftm_yday int32 9174 Ftm_isdst int32 9175 F__ccgo_pad1 [4]byte 9176 Ftm_gmtoff int64 9177 Ftm_zone uintptr 9178 } /* time.h:75:1 */ 9179 9180 type clockid_t = uint32 /* time.h:172:3 */ 9181 type qos_class_t = uint32 /* qos.h:130:1 */ 9182 9183 // ! 9184 // @typedef pthread_override_t 9185 // 9186 // @abstract 9187 // An opaque object representing a QOS class override of a thread. 9188 // 9189 // @discussion 9190 // A QOS class override of a target thread expresses that an item of pending 9191 // work classified with a specific QOS class and relative priority depends on 9192 // the completion of the work currently being executed by the thread (e.g. due 9193 // to ordering requirements). 9194 // 9195 // While overrides are in effect, the target thread will execute at the maximum 9196 // QOS class and relative priority of all overrides and of the QOS class 9197 // requested by the thread itself. 9198 // 9199 // A QOS class override does not modify the target thread's requested QOS class 9200 // value and the effect of an override is not visible to the qos_class_self() 9201 // and pthread_get_qos_class_np() interfaces. 9202 9203 type pthread_override_t = uintptr /* qos.h:211:34 */ 9204 9205 // Copyright (c) 2003-2012 Apple Inc. All rights reserved. 9206 // 9207 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9208 // 9209 // This file contains Original Code and/or Modifications of Original Code 9210 // as defined in and that are subject to the Apple Public Source License 9211 // Version 2.0 (the 'License'). You may not use this file except in 9212 // compliance with the License. The rights granted to you under the License 9213 // may not be used to create, or enable the creation or redistribution of, 9214 // unlawful or unlicensed copies of an Apple operating system, or to 9215 // circumvent, violate, or enable the circumvention or violation of, any 9216 // terms of an Apple operating system software license agreement. 9217 // 9218 // Please obtain a copy of the License at 9219 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9220 // 9221 // The Original Code and all software distributed under the License are 9222 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9223 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9224 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9225 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9226 // Please see the License for the specific language governing rights and 9227 // limitations under the License. 9228 // 9229 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9230 9231 // mach_port_t - a named port right 9232 // 9233 // In user-space, "rights" are represented by the name of the 9234 // right in the Mach port namespace. Even so, this type is 9235 // presented as a unique one to more clearly denote the presence 9236 // of a right coming along with the name. 9237 // 9238 // Often, various rights for a port held in a single name space 9239 // will coalesce and are, therefore, be identified by a single name 9240 // [this is the case for send and receive rights]. But not 9241 // always [send-once rights currently get a unique name for 9242 // each right]. 9243 // 9244 // This definition of mach_port_t is only for user-space. 9245 // 9246 9247 // Copyright (c) 2003-2007 Apple Inc. All rights reserved. 9248 // 9249 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 9250 // 9251 // This file contains Original Code and/or Modifications of Original Code 9252 // as defined in and that are subject to the Apple Public Source License 9253 // Version 2.0 (the 'License'). You may not use this file except in 9254 // compliance with the License. The rights granted to you under the License 9255 // may not be used to create, or enable the creation or redistribution of, 9256 // unlawful or unlicensed copies of an Apple operating system, or to 9257 // circumvent, violate, or enable the circumvention or violation of, any 9258 // terms of an Apple operating system software license agreement. 9259 // 9260 // Please obtain a copy of the License at 9261 // http://www.opensource.apple.com/apsl/ and read it before using this file. 9262 // 9263 // The Original Code and all software distributed under the License are 9264 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 9265 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 9266 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 9267 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 9268 // Please see the License for the specific language governing rights and 9269 // limitations under the License. 9270 // 9271 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 9272 9273 type mach_port_t = uint32 /* _mach_port_t.h:50:30 */ 9274 9275 // ! 9276 // @typedef pthread_jit_write_callback_t 9277 // The type of a function that can be supplied to {@link 9278 // pthread_jit_write_with_callback_np} to write to the MAP_JIT region while it 9279 // is writeable. 9280 // 9281 // @param ctx 9282 // A pointer to context that will be passed through to the callback function. 9283 // 9284 // @result 9285 // A result code to be returned to the caller of @{link 9286 // pthread_jit_write_with_callback_np}. The system does not interpret/act on 9287 // the value of this result. 9288 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. 9289 9290 // Other types 9291 9292 // * 9293 // @brief Generic iterator. 9294 // 9295 // A generic iterator structure. 9296 type xcb_generic_iterator_t = struct { 9297 Fdata uintptr 9298 Frem int32 9299 Findex int32 9300 } /* xcb.h:118:3 */ 9301 9302 // * 9303 // @brief Generic reply. 9304 // 9305 // A generic reply structure. 9306 type xcb_generic_reply_t = struct { 9307 Fresponse_type uint8_t 9308 Fpad0 uint8_t 9309 Fsequence uint16_t 9310 Flength uint32_t 9311 } /* xcb.h:130:3 */ 9312 9313 // * 9314 // @brief Generic event. 9315 // 9316 // A generic event structure. 9317 type xcb_generic_event_t = struct { 9318 Fresponse_type uint8_t 9319 Fpad0 uint8_t 9320 Fsequence uint16_t 9321 Fpad [7]uint32_t 9322 Ffull_sequence uint32_t 9323 } /* xcb.h:143:3 */ 9324 9325 // * 9326 // @brief Raw Generic event. 9327 // 9328 // A generic event structure as used on the wire, i.e., without the full_sequence field 9329 type xcb_raw_generic_event_t = struct { 9330 Fresponse_type uint8_t 9331 Fpad0 uint8_t 9332 Fsequence uint16_t 9333 Fpad [7]uint32_t 9334 } /* xcb.h:155:3 */ 9335 9336 // * 9337 // @brief GE event 9338 // 9339 // An event as sent by the XGE extension. The length field specifies the 9340 // number of 4-byte blocks trailing the struct. 9341 // 9342 // @deprecated Since some fields in this struct have unfortunate names, it is 9343 // recommended to use xcb_ge_generic_event_t instead. 9344 type xcb_ge_event_t = struct { 9345 Fresponse_type uint8_t 9346 Fpad0 uint8_t 9347 Fsequence uint16_t 9348 Flength uint32_t 9349 Fevent_type uint16_t 9350 Fpad1 uint16_t 9351 Fpad [5]uint32_t 9352 Ffull_sequence uint32_t 9353 } /* xcb.h:175:3 */ 9354 9355 // * 9356 // @brief Generic error. 9357 // 9358 // A generic error structure. 9359 type xcb_generic_error_t = struct { 9360 Fresponse_type uint8_t 9361 Ferror_code uint8_t 9362 Fsequence uint16_t 9363 Fresource_id uint32_t 9364 Fminor_code uint16_t 9365 Fmajor_code uint8_t 9366 Fpad0 uint8_t 9367 Fpad [5]uint32_t 9368 Ffull_sequence uint32_t 9369 } /* xcb.h:192:3 */ 9370 9371 // * 9372 // @brief Generic cookie. 9373 // 9374 // A generic cookie structure. 9375 type xcb_void_cookie_t = struct{ Fsequence uint32 } /* xcb.h:201:3 */ 9376 9377 // Include the generated xproto header. 9378 // This file generated automatically from xproto.xml by c_client.py. 9379 // Edit at your peril. 9380 9381 // * 9382 // @defgroup XCB__API XCB API 9383 // @brief XCB Protocol Implementation. 9384 // @{ 9385 // 9386 9387 // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. 9388 // All Rights Reserved. 9389 // 9390 // Permission is hereby granted, free of charge, to any person obtaining a 9391 // copy of this software and associated documentation files (the "Software"), 9392 // to deal in the Software without restriction, including without limitation 9393 // the rights to use, copy, modify, merge, publish, distribute, sublicense, 9394 // and/or sell copies of the Software, and to permit persons to whom the 9395 // Software is furnished to do so, subject to the following conditions: 9396 // 9397 // The above copyright notice and this permission notice shall be included in 9398 // all copies or substantial portions of the Software. 9399 // 9400 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9401 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 9402 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 9403 // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 9404 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 9405 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 9406 // 9407 // Except as contained in this notice, the names of the authors or their 9408 // institutions shall not be used in advertising or otherwise to promote the 9409 // sale, use or other dealings in this Software without prior written 9410 // authorization from the authors. 9411 9412 // * 9413 // @brief xcb_char2b_t 9414 // 9415 type xcb_char2b_t1 = struct { 9416 Fbyte1 uint8_t 9417 Fbyte2 uint8_t 9418 } /* xproto.h:24:9 */ 9419 9420 // Include the generated xproto header. 9421 // This file generated automatically from xproto.xml by c_client.py. 9422 // Edit at your peril. 9423 9424 // * 9425 // @defgroup XCB__API XCB API 9426 // @brief XCB Protocol Implementation. 9427 // @{ 9428 // 9429 9430 // Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. 9431 // All Rights Reserved. 9432 // 9433 // Permission is hereby granted, free of charge, to any person obtaining a 9434 // copy of this software and associated documentation files (the "Software"), 9435 // to deal in the Software without restriction, including without limitation 9436 // the rights to use, copy, modify, merge, publish, distribute, sublicense, 9437 // and/or sell copies of the Software, and to permit persons to whom the 9438 // Software is furnished to do so, subject to the following conditions: 9439 // 9440 // The above copyright notice and this permission notice shall be included in 9441 // all copies or substantial portions of the Software. 9442 // 9443 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9444 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 9445 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 9446 // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 9447 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 9448 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 9449 // 9450 // Except as contained in this notice, the names of the authors or their 9451 // institutions shall not be used in advertising or otherwise to promote the 9452 // sale, use or other dealings in this Software without prior written 9453 // authorization from the authors. 9454 9455 // * 9456 // @brief xcb_char2b_t 9457 // 9458 type xcb_char2b_t = xcb_char2b_t1 /* xproto.h:27:3 */ 9459 9460 // * 9461 // @brief xcb_char2b_iterator_t 9462 // 9463 type xcb_char2b_iterator_t1 = struct { 9464 Fdata uintptr 9465 Frem int32 9466 Findex int32 9467 } /* xproto.h:32:9 */ 9468 9469 // * 9470 // @brief xcb_char2b_iterator_t 9471 // 9472 type xcb_char2b_iterator_t = xcb_char2b_iterator_t1 /* xproto.h:36:3 */ 9473 9474 type xcb_window_t = uint32_t /* xproto.h:38:18 */ 9475 9476 // * 9477 // @brief xcb_window_iterator_t 9478 // 9479 type xcb_window_iterator_t1 = struct { 9480 Fdata uintptr 9481 Frem int32 9482 Findex int32 9483 } /* xproto.h:43:9 */ 9484 9485 // * 9486 // @brief xcb_window_iterator_t 9487 // 9488 type xcb_window_iterator_t = xcb_window_iterator_t1 /* xproto.h:47:3 */ 9489 9490 type xcb_pixmap_t = uint32_t /* xproto.h:49:18 */ 9491 9492 // * 9493 // @brief xcb_pixmap_iterator_t 9494 // 9495 type xcb_pixmap_iterator_t1 = struct { 9496 Fdata uintptr 9497 Frem int32 9498 Findex int32 9499 } /* xproto.h:54:9 */ 9500 9501 // * 9502 // @brief xcb_pixmap_iterator_t 9503 // 9504 type xcb_pixmap_iterator_t = xcb_pixmap_iterator_t1 /* xproto.h:58:3 */ 9505 9506 type xcb_cursor_t = uint32_t /* xproto.h:60:18 */ 9507 9508 // * 9509 // @brief xcb_cursor_iterator_t 9510 // 9511 type xcb_cursor_iterator_t1 = struct { 9512 Fdata uintptr 9513 Frem int32 9514 Findex int32 9515 } /* xproto.h:65:9 */ 9516 9517 // * 9518 // @brief xcb_cursor_iterator_t 9519 // 9520 type xcb_cursor_iterator_t = xcb_cursor_iterator_t1 /* xproto.h:69:3 */ 9521 9522 type xcb_font_t = uint32_t /* xproto.h:71:18 */ 9523 9524 // * 9525 // @brief xcb_font_iterator_t 9526 // 9527 type xcb_font_iterator_t1 = struct { 9528 Fdata uintptr 9529 Frem int32 9530 Findex int32 9531 } /* xproto.h:76:9 */ 9532 9533 // * 9534 // @brief xcb_font_iterator_t 9535 // 9536 type xcb_font_iterator_t = xcb_font_iterator_t1 /* xproto.h:80:3 */ 9537 9538 type xcb_gcontext_t = uint32_t /* xproto.h:82:18 */ 9539 9540 // * 9541 // @brief xcb_gcontext_iterator_t 9542 // 9543 type xcb_gcontext_iterator_t1 = struct { 9544 Fdata uintptr 9545 Frem int32 9546 Findex int32 9547 } /* xproto.h:87:9 */ 9548 9549 // * 9550 // @brief xcb_gcontext_iterator_t 9551 // 9552 type xcb_gcontext_iterator_t = xcb_gcontext_iterator_t1 /* xproto.h:91:3 */ 9553 9554 type xcb_colormap_t = uint32_t /* xproto.h:93:18 */ 9555 9556 // * 9557 // @brief xcb_colormap_iterator_t 9558 // 9559 type xcb_colormap_iterator_t1 = struct { 9560 Fdata uintptr 9561 Frem int32 9562 Findex int32 9563 } /* xproto.h:98:9 */ 9564 9565 // * 9566 // @brief xcb_colormap_iterator_t 9567 // 9568 type xcb_colormap_iterator_t = xcb_colormap_iterator_t1 /* xproto.h:102:3 */ 9569 9570 type xcb_atom_t = uint32_t /* xproto.h:104:18 */ 9571 9572 // * 9573 // @brief xcb_atom_iterator_t 9574 // 9575 type xcb_atom_iterator_t1 = struct { 9576 Fdata uintptr 9577 Frem int32 9578 Findex int32 9579 } /* xproto.h:109:9 */ 9580 9581 // * 9582 // @brief xcb_atom_iterator_t 9583 // 9584 type xcb_atom_iterator_t = xcb_atom_iterator_t1 /* xproto.h:113:3 */ 9585 9586 type xcb_drawable_t = uint32_t /* xproto.h:115:18 */ 9587 9588 // * 9589 // @brief xcb_drawable_iterator_t 9590 // 9591 type xcb_drawable_iterator_t1 = struct { 9592 Fdata uintptr 9593 Frem int32 9594 Findex int32 9595 } /* xproto.h:120:9 */ 9596 9597 // * 9598 // @brief xcb_drawable_iterator_t 9599 // 9600 type xcb_drawable_iterator_t = xcb_drawable_iterator_t1 /* xproto.h:124:3 */ 9601 9602 type xcb_fontable_t = uint32_t /* xproto.h:126:18 */ 9603 9604 // * 9605 // @brief xcb_fontable_iterator_t 9606 // 9607 type xcb_fontable_iterator_t1 = struct { 9608 Fdata uintptr 9609 Frem int32 9610 Findex int32 9611 } /* xproto.h:131:9 */ 9612 9613 // * 9614 // @brief xcb_fontable_iterator_t 9615 // 9616 type xcb_fontable_iterator_t = xcb_fontable_iterator_t1 /* xproto.h:135:3 */ 9617 9618 type xcb_bool32_t = uint32_t /* xproto.h:137:18 */ 9619 9620 // * 9621 // @brief xcb_bool32_iterator_t 9622 // 9623 type xcb_bool32_iterator_t1 = struct { 9624 Fdata uintptr 9625 Frem int32 9626 Findex int32 9627 } /* xproto.h:142:9 */ 9628 9629 // * 9630 // @brief xcb_bool32_iterator_t 9631 // 9632 type xcb_bool32_iterator_t = xcb_bool32_iterator_t1 /* xproto.h:146:3 */ 9633 9634 type xcb_visualid_t = uint32_t /* xproto.h:148:18 */ 9635 9636 // * 9637 // @brief xcb_visualid_iterator_t 9638 // 9639 type xcb_visualid_iterator_t1 = struct { 9640 Fdata uintptr 9641 Frem int32 9642 Findex int32 9643 } /* xproto.h:153:9 */ 9644 9645 // * 9646 // @brief xcb_visualid_iterator_t 9647 // 9648 type xcb_visualid_iterator_t = xcb_visualid_iterator_t1 /* xproto.h:157:3 */ 9649 9650 type xcb_timestamp_t = uint32_t /* xproto.h:159:18 */ 9651 9652 // * 9653 // @brief xcb_timestamp_iterator_t 9654 // 9655 type xcb_timestamp_iterator_t1 = struct { 9656 Fdata uintptr 9657 Frem int32 9658 Findex int32 9659 } /* xproto.h:164:9 */ 9660 9661 // * 9662 // @brief xcb_timestamp_iterator_t 9663 // 9664 type xcb_timestamp_iterator_t = xcb_timestamp_iterator_t1 /* xproto.h:168:3 */ 9665 9666 type xcb_keysym_t = uint32_t /* xproto.h:170:18 */ 9667 9668 // * 9669 // @brief xcb_keysym_iterator_t 9670 // 9671 type xcb_keysym_iterator_t1 = struct { 9672 Fdata uintptr 9673 Frem int32 9674 Findex int32 9675 } /* xproto.h:175:9 */ 9676 9677 // * 9678 // @brief xcb_keysym_iterator_t 9679 // 9680 type xcb_keysym_iterator_t = xcb_keysym_iterator_t1 /* xproto.h:179:3 */ 9681 9682 type xcb_keycode_t = uint8_t /* xproto.h:181:17 */ 9683 9684 // * 9685 // @brief xcb_keycode_iterator_t 9686 // 9687 type xcb_keycode_iterator_t1 = struct { 9688 Fdata uintptr 9689 Frem int32 9690 Findex int32 9691 } /* xproto.h:186:9 */ 9692 9693 // * 9694 // @brief xcb_keycode_iterator_t 9695 // 9696 type xcb_keycode_iterator_t = xcb_keycode_iterator_t1 /* xproto.h:190:3 */ 9697 9698 type xcb_keycode32_t = uint32_t /* xproto.h:192:18 */ 9699 9700 // * 9701 // @brief xcb_keycode32_iterator_t 9702 // 9703 type xcb_keycode32_iterator_t1 = struct { 9704 Fdata uintptr 9705 Frem int32 9706 Findex int32 9707 } /* xproto.h:197:9 */ 9708 9709 // * 9710 // @brief xcb_keycode32_iterator_t 9711 // 9712 type xcb_keycode32_iterator_t = xcb_keycode32_iterator_t1 /* xproto.h:201:3 */ 9713 9714 type xcb_button_t = uint8_t /* xproto.h:203:17 */ 9715 9716 // * 9717 // @brief xcb_button_iterator_t 9718 // 9719 type xcb_button_iterator_t1 = struct { 9720 Fdata uintptr 9721 Frem int32 9722 Findex int32 9723 } /* xproto.h:208:9 */ 9724 9725 // * 9726 // @brief xcb_button_iterator_t 9727 // 9728 type xcb_button_iterator_t = xcb_button_iterator_t1 /* xproto.h:212:3 */ 9729 9730 // * 9731 // @brief xcb_point_t 9732 // 9733 type xcb_point_t1 = struct { 9734 Fx int16_t 9735 Fy int16_t 9736 } /* xproto.h:217:9 */ 9737 9738 // * 9739 // @brief xcb_point_t 9740 // 9741 type xcb_point_t = xcb_point_t1 /* xproto.h:220:3 */ 9742 9743 // * 9744 // @brief xcb_point_iterator_t 9745 // 9746 type xcb_point_iterator_t1 = struct { 9747 Fdata uintptr 9748 Frem int32 9749 Findex int32 9750 } /* xproto.h:225:9 */ 9751 9752 // * 9753 // @brief xcb_point_iterator_t 9754 // 9755 type xcb_point_iterator_t = xcb_point_iterator_t1 /* xproto.h:229:3 */ 9756 9757 // * 9758 // @brief xcb_rectangle_t 9759 // 9760 type xcb_rectangle_t1 = struct { 9761 Fx int16_t 9762 Fy int16_t 9763 Fwidth uint16_t 9764 Fheight uint16_t 9765 } /* xproto.h:234:9 */ 9766 9767 // * 9768 // @brief xcb_rectangle_t 9769 // 9770 type xcb_rectangle_t = xcb_rectangle_t1 /* xproto.h:239:3 */ 9771 9772 // * 9773 // @brief xcb_rectangle_iterator_t 9774 // 9775 type xcb_rectangle_iterator_t1 = struct { 9776 Fdata uintptr 9777 Frem int32 9778 Findex int32 9779 } /* xproto.h:244:9 */ 9780 9781 // * 9782 // @brief xcb_rectangle_iterator_t 9783 // 9784 type xcb_rectangle_iterator_t = xcb_rectangle_iterator_t1 /* xproto.h:248:3 */ 9785 9786 // * 9787 // @brief xcb_arc_t 9788 // 9789 type xcb_arc_t1 = struct { 9790 Fx int16_t 9791 Fy int16_t 9792 Fwidth uint16_t 9793 Fheight uint16_t 9794 Fangle1 int16_t 9795 Fangle2 int16_t 9796 } /* xproto.h:253:9 */ 9797 9798 // * 9799 // @brief xcb_arc_t 9800 // 9801 type xcb_arc_t = xcb_arc_t1 /* xproto.h:260:3 */ 9802 9803 // * 9804 // @brief xcb_arc_iterator_t 9805 // 9806 type xcb_arc_iterator_t1 = struct { 9807 Fdata uintptr 9808 Frem int32 9809 Findex int32 9810 } /* xproto.h:265:9 */ 9811 9812 // * 9813 // @brief xcb_arc_iterator_t 9814 // 9815 type xcb_arc_iterator_t = xcb_arc_iterator_t1 /* xproto.h:269:3 */ 9816 9817 // * 9818 // @brief xcb_format_t 9819 // 9820 type xcb_format_t1 = struct { 9821 Fdepth uint8_t 9822 Fbits_per_pixel uint8_t 9823 Fscanline_pad uint8_t 9824 Fpad0 [5]uint8_t 9825 } /* xproto.h:274:9 */ 9826 9827 // * 9828 // @brief xcb_format_t 9829 // 9830 type xcb_format_t = xcb_format_t1 /* xproto.h:279:3 */ 9831 9832 // * 9833 // @brief xcb_format_iterator_t 9834 // 9835 type xcb_format_iterator_t1 = struct { 9836 Fdata uintptr 9837 Frem int32 9838 Findex int32 9839 } /* xproto.h:284:9 */ 9840 9841 // * 9842 // @brief xcb_format_iterator_t 9843 // 9844 type xcb_format_iterator_t = xcb_format_iterator_t1 /* xproto.h:288:3 */ 9845 9846 type xcb_visual_class_t = uint32 /* xproto.h:297:3 */ 9847 9848 // * 9849 // @brief xcb_visualtype_t 9850 // 9851 type xcb_visualtype_t1 = struct { 9852 Fvisual_id xcb_visualid_t 9853 F_class uint8_t 9854 Fbits_per_rgb_value uint8_t 9855 Fcolormap_entries uint16_t 9856 Fred_mask uint32_t 9857 Fgreen_mask uint32_t 9858 Fblue_mask uint32_t 9859 Fpad0 [4]uint8_t 9860 } /* xproto.h:302:9 */ 9861 9862 // * 9863 // @brief xcb_visualtype_t 9864 // 9865 type xcb_visualtype_t = xcb_visualtype_t1 /* xproto.h:311:3 */ 9866 9867 // * 9868 // @brief xcb_visualtype_iterator_t 9869 // 9870 type xcb_visualtype_iterator_t1 = struct { 9871 Fdata uintptr 9872 Frem int32 9873 Findex int32 9874 } /* xproto.h:316:9 */ 9875 9876 // * 9877 // @brief xcb_visualtype_iterator_t 9878 // 9879 type xcb_visualtype_iterator_t = xcb_visualtype_iterator_t1 /* xproto.h:320:3 */ 9880 9881 // * 9882 // @brief xcb_depth_t 9883 // 9884 type xcb_depth_t1 = struct { 9885 Fdepth uint8_t 9886 Fpad0 uint8_t 9887 Fvisuals_len uint16_t 9888 Fpad1 [4]uint8_t 9889 } /* xproto.h:325:9 */ 9890 9891 // * 9892 // @brief xcb_depth_t 9893 // 9894 type xcb_depth_t = xcb_depth_t1 /* xproto.h:330:3 */ 9895 9896 // * 9897 // @brief xcb_depth_iterator_t 9898 // 9899 type xcb_depth_iterator_t1 = struct { 9900 Fdata uintptr 9901 Frem int32 9902 Findex int32 9903 } /* xproto.h:335:9 */ 9904 9905 // * 9906 // @brief xcb_depth_iterator_t 9907 // 9908 type xcb_depth_iterator_t = xcb_depth_iterator_t1 /* xproto.h:339:3 */ 9909 9910 type xcb_event_mask_t = uint32 /* xproto.h:368:3 */ 9911 9912 type xcb_backing_store_t = uint32 /* xproto.h:374:3 */ 9913 9914 // * 9915 // @brief xcb_screen_t 9916 // 9917 type xcb_screen_t1 = struct { 9918 Froot xcb_window_t 9919 Fdefault_colormap xcb_colormap_t 9920 Fwhite_pixel uint32_t 9921 Fblack_pixel uint32_t 9922 Fcurrent_input_masks uint32_t 9923 Fwidth_in_pixels uint16_t 9924 Fheight_in_pixels uint16_t 9925 Fwidth_in_millimeters uint16_t 9926 Fheight_in_millimeters uint16_t 9927 Fmin_installed_maps uint16_t 9928 Fmax_installed_maps uint16_t 9929 Froot_visual xcb_visualid_t 9930 Fbacking_stores uint8_t 9931 Fsave_unders uint8_t 9932 Froot_depth uint8_t 9933 Fallowed_depths_len uint8_t 9934 } /* xproto.h:379:9 */ 9935 9936 // * 9937 // @brief xcb_screen_t 9938 // 9939 type xcb_screen_t = xcb_screen_t1 /* xproto.h:396:3 */ 9940 9941 // * 9942 // @brief xcb_screen_iterator_t 9943 // 9944 type xcb_screen_iterator_t1 = struct { 9945 Fdata uintptr 9946 Frem int32 9947 Findex int32 9948 } /* xproto.h:401:9 */ 9949 9950 // * 9951 // @brief xcb_screen_iterator_t 9952 // 9953 type xcb_screen_iterator_t = xcb_screen_iterator_t1 /* xproto.h:405:3 */ 9954 9955 // * 9956 // @brief xcb_setup_request_t 9957 // 9958 type xcb_setup_request_t1 = struct { 9959 Fbyte_order uint8_t 9960 Fpad0 uint8_t 9961 Fprotocol_major_version uint16_t 9962 Fprotocol_minor_version uint16_t 9963 Fauthorization_protocol_name_len uint16_t 9964 Fauthorization_protocol_data_len uint16_t 9965 Fpad1 [2]uint8_t 9966 } /* xproto.h:410:9 */ 9967 9968 // * 9969 // @brief xcb_setup_request_t 9970 // 9971 type xcb_setup_request_t = xcb_setup_request_t1 /* xproto.h:418:3 */ 9972 9973 // * 9974 // @brief xcb_setup_request_iterator_t 9975 // 9976 type xcb_setup_request_iterator_t1 = struct { 9977 Fdata uintptr 9978 Frem int32 9979 Findex int32 9980 } /* xproto.h:423:9 */ 9981 9982 // * 9983 // @brief xcb_setup_request_iterator_t 9984 // 9985 type xcb_setup_request_iterator_t = xcb_setup_request_iterator_t1 /* xproto.h:427:3 */ 9986 9987 // * 9988 // @brief xcb_setup_failed_t 9989 // 9990 type xcb_setup_failed_t1 = struct { 9991 Fstatus uint8_t 9992 Freason_len uint8_t 9993 Fprotocol_major_version uint16_t 9994 Fprotocol_minor_version uint16_t 9995 Flength uint16_t 9996 } /* xproto.h:432:9 */ 9997 9998 // * 9999 // @brief xcb_setup_failed_t 10000 // 10001 type xcb_setup_failed_t = xcb_setup_failed_t1 /* xproto.h:438:3 */ 10002 10003 // * 10004 // @brief xcb_setup_failed_iterator_t 10005 // 10006 type xcb_setup_failed_iterator_t1 = struct { 10007 Fdata uintptr 10008 Frem int32 10009 Findex int32 10010 } /* xproto.h:443:9 */ 10011 10012 // * 10013 // @brief xcb_setup_failed_iterator_t 10014 // 10015 type xcb_setup_failed_iterator_t = xcb_setup_failed_iterator_t1 /* xproto.h:447:3 */ 10016 10017 // * 10018 // @brief xcb_setup_authenticate_t 10019 // 10020 type xcb_setup_authenticate_t1 = struct { 10021 Fstatus uint8_t 10022 Fpad0 [5]uint8_t 10023 Flength uint16_t 10024 } /* xproto.h:452:9 */ 10025 10026 // * 10027 // @brief xcb_setup_authenticate_t 10028 // 10029 type xcb_setup_authenticate_t = xcb_setup_authenticate_t1 /* xproto.h:456:3 */ 10030 10031 // * 10032 // @brief xcb_setup_authenticate_iterator_t 10033 // 10034 type xcb_setup_authenticate_iterator_t1 = struct { 10035 Fdata uintptr 10036 Frem int32 10037 Findex int32 10038 } /* xproto.h:461:9 */ 10039 10040 // * 10041 // @brief xcb_setup_authenticate_iterator_t 10042 // 10043 type xcb_setup_authenticate_iterator_t = xcb_setup_authenticate_iterator_t1 /* xproto.h:465:3 */ 10044 10045 type xcb_image_order_t = uint32 /* xproto.h:470:3 */ 10046 10047 // * 10048 // @brief xcb_setup_t 10049 // 10050 type xcb_setup_t1 = struct { 10051 Fstatus uint8_t 10052 Fpad0 uint8_t 10053 Fprotocol_major_version uint16_t 10054 Fprotocol_minor_version uint16_t 10055 Flength uint16_t 10056 Frelease_number uint32_t 10057 Fresource_id_base uint32_t 10058 Fresource_id_mask uint32_t 10059 Fmotion_buffer_size uint32_t 10060 Fvendor_len uint16_t 10061 Fmaximum_request_length uint16_t 10062 Froots_len uint8_t 10063 Fpixmap_formats_len uint8_t 10064 Fimage_byte_order uint8_t 10065 Fbitmap_format_bit_order uint8_t 10066 Fbitmap_format_scanline_unit uint8_t 10067 Fbitmap_format_scanline_pad uint8_t 10068 Fmin_keycode xcb_keycode_t 10069 Fmax_keycode xcb_keycode_t 10070 Fpad1 [4]uint8_t 10071 } /* xproto.h:475:9 */ 10072 10073 // * 10074 // @brief xcb_setup_t 10075 // 10076 type xcb_setup_t = xcb_setup_t1 /* xproto.h:496:3 */ 10077 10078 // * 10079 // @brief xcb_setup_iterator_t 10080 // 10081 type xcb_setup_iterator_t1 = struct { 10082 Fdata uintptr 10083 Frem int32 10084 Findex int32 10085 } /* xproto.h:501:9 */ 10086 10087 // * 10088 // @brief xcb_setup_iterator_t 10089 // 10090 type xcb_setup_iterator_t = xcb_setup_iterator_t1 /* xproto.h:505:3 */ 10091 10092 type xcb_mod_mask_t = uint32 /* xproto.h:517:3 */ 10093 10094 type xcb_key_but_mask_t = uint32 /* xproto.h:533:3 */ 10095 10096 type xcb_window_enum_t = uint32 /* xproto.h:537:3 */ 10097 10098 //* Opcode for xcb_key_press. 10099 10100 // * 10101 // @brief xcb_key_press_event_t 10102 // 10103 type xcb_key_press_event_t1 = struct { 10104 Fresponse_type uint8_t 10105 Fdetail xcb_keycode_t 10106 Fsequence uint16_t 10107 Ftime xcb_timestamp_t 10108 Froot xcb_window_t 10109 Fevent xcb_window_t 10110 Fchild xcb_window_t 10111 Froot_x int16_t 10112 Froot_y int16_t 10113 Fevent_x int16_t 10114 Fevent_y int16_t 10115 Fstate uint16_t 10116 Fsame_screen uint8_t 10117 Fpad0 uint8_t 10118 } /* xproto.h:545:9 */ 10119 10120 //* Opcode for xcb_key_press. 10121 10122 // * 10123 // @brief xcb_key_press_event_t 10124 // 10125 type xcb_key_press_event_t = xcb_key_press_event_t1 /* xproto.h:560:3 */ 10126 10127 //* Opcode for xcb_key_release. 10128 10129 type xcb_key_release_event_t = xcb_key_press_event_t /* xproto.h:565:31 */ 10130 10131 type xcb_button_mask_t = uint32 /* xproto.h:574:3 */ 10132 10133 //* Opcode for xcb_button_press. 10134 10135 // * 10136 // @brief xcb_button_press_event_t 10137 // 10138 type xcb_button_press_event_t1 = struct { 10139 Fresponse_type uint8_t 10140 Fdetail xcb_button_t 10141 Fsequence uint16_t 10142 Ftime xcb_timestamp_t 10143 Froot xcb_window_t 10144 Fevent xcb_window_t 10145 Fchild xcb_window_t 10146 Froot_x int16_t 10147 Froot_y int16_t 10148 Fevent_x int16_t 10149 Fevent_y int16_t 10150 Fstate uint16_t 10151 Fsame_screen uint8_t 10152 Fpad0 uint8_t 10153 } /* xproto.h:582:9 */ 10154 10155 //* Opcode for xcb_button_press. 10156 10157 // * 10158 // @brief xcb_button_press_event_t 10159 // 10160 type xcb_button_press_event_t = xcb_button_press_event_t1 /* xproto.h:597:3 */ 10161 10162 //* Opcode for xcb_button_release. 10163 10164 type xcb_button_release_event_t = xcb_button_press_event_t /* xproto.h:602:34 */ 10165 10166 type xcb_motion_t = uint32 /* xproto.h:607:3 */ 10167 10168 //* Opcode for xcb_motion_notify. 10169 10170 // * 10171 // @brief xcb_motion_notify_event_t 10172 // 10173 type xcb_motion_notify_event_t1 = struct { 10174 Fresponse_type uint8_t 10175 Fdetail uint8_t 10176 Fsequence uint16_t 10177 Ftime xcb_timestamp_t 10178 Froot xcb_window_t 10179 Fevent xcb_window_t 10180 Fchild xcb_window_t 10181 Froot_x int16_t 10182 Froot_y int16_t 10183 Fevent_x int16_t 10184 Fevent_y int16_t 10185 Fstate uint16_t 10186 Fsame_screen uint8_t 10187 Fpad0 uint8_t 10188 } /* xproto.h:615:9 */ 10189 10190 //* Opcode for xcb_motion_notify. 10191 10192 // * 10193 // @brief xcb_motion_notify_event_t 10194 // 10195 type xcb_motion_notify_event_t = xcb_motion_notify_event_t1 /* xproto.h:630:3 */ 10196 10197 type xcb_notify_detail_t = uint32 /* xproto.h:641:3 */ 10198 10199 type xcb_notify_mode_t = uint32 /* xproto.h:648:3 */ 10200 10201 //* Opcode for xcb_enter_notify. 10202 10203 // * 10204 // @brief xcb_enter_notify_event_t 10205 // 10206 type xcb_enter_notify_event_t1 = struct { 10207 Fresponse_type uint8_t 10208 Fdetail uint8_t 10209 Fsequence uint16_t 10210 Ftime xcb_timestamp_t 10211 Froot xcb_window_t 10212 Fevent xcb_window_t 10213 Fchild xcb_window_t 10214 Froot_x int16_t 10215 Froot_y int16_t 10216 Fevent_x int16_t 10217 Fevent_y int16_t 10218 Fstate uint16_t 10219 Fmode uint8_t 10220 Fsame_screen_focus uint8_t 10221 } /* xproto.h:656:9 */ 10222 10223 //* Opcode for xcb_enter_notify. 10224 10225 // * 10226 // @brief xcb_enter_notify_event_t 10227 // 10228 type xcb_enter_notify_event_t = xcb_enter_notify_event_t1 /* xproto.h:671:3 */ 10229 10230 //* Opcode for xcb_leave_notify. 10231 10232 type xcb_leave_notify_event_t = xcb_enter_notify_event_t /* xproto.h:676:34 */ 10233 10234 //* Opcode for xcb_focus_in. 10235 10236 // * 10237 // @brief xcb_focus_in_event_t 10238 // 10239 type xcb_focus_in_event_t1 = struct { 10240 Fresponse_type uint8_t 10241 Fdetail uint8_t 10242 Fsequence uint16_t 10243 Fevent xcb_window_t 10244 Fmode uint8_t 10245 Fpad0 [3]uint8_t 10246 } /* xproto.h:684:9 */ 10247 10248 //* Opcode for xcb_focus_in. 10249 10250 // * 10251 // @brief xcb_focus_in_event_t 10252 // 10253 type xcb_focus_in_event_t = xcb_focus_in_event_t1 /* xproto.h:691:3 */ 10254 10255 //* Opcode for xcb_focus_out. 10256 10257 type xcb_focus_out_event_t = xcb_focus_in_event_t /* xproto.h:696:30 */ 10258 10259 //* Opcode for xcb_keymap_notify. 10260 10261 // * 10262 // @brief xcb_keymap_notify_event_t 10263 // 10264 type xcb_keymap_notify_event_t1 = struct { 10265 Fresponse_type uint8_t 10266 Fkeys [31]uint8_t 10267 } /* xproto.h:704:9 */ 10268 10269 //* Opcode for xcb_keymap_notify. 10270 10271 // * 10272 // @brief xcb_keymap_notify_event_t 10273 // 10274 type xcb_keymap_notify_event_t = xcb_keymap_notify_event_t1 /* xproto.h:707:3 */ 10275 10276 //* Opcode for xcb_expose. 10277 10278 // * 10279 // @brief xcb_expose_event_t 10280 // 10281 type xcb_expose_event_t1 = struct { 10282 Fresponse_type uint8_t 10283 Fpad0 uint8_t 10284 Fsequence uint16_t 10285 Fwindow xcb_window_t 10286 Fx uint16_t 10287 Fy uint16_t 10288 Fwidth uint16_t 10289 Fheight uint16_t 10290 Fcount uint16_t 10291 Fpad1 [2]uint8_t 10292 } /* xproto.h:715:9 */ 10293 10294 //* Opcode for xcb_expose. 10295 10296 // * 10297 // @brief xcb_expose_event_t 10298 // 10299 type xcb_expose_event_t = xcb_expose_event_t1 /* xproto.h:726:3 */ 10300 10301 //* Opcode for xcb_graphics_exposure. 10302 10303 // * 10304 // @brief xcb_graphics_exposure_event_t 10305 // 10306 type xcb_graphics_exposure_event_t1 = struct { 10307 Fresponse_type uint8_t 10308 Fpad0 uint8_t 10309 Fsequence uint16_t 10310 Fdrawable xcb_drawable_t 10311 Fx uint16_t 10312 Fy uint16_t 10313 Fwidth uint16_t 10314 Fheight uint16_t 10315 Fminor_opcode uint16_t 10316 Fcount uint16_t 10317 Fmajor_opcode uint8_t 10318 Fpad1 [3]uint8_t 10319 } /* xproto.h:734:9 */ 10320 10321 //* Opcode for xcb_graphics_exposure. 10322 10323 // * 10324 // @brief xcb_graphics_exposure_event_t 10325 // 10326 type xcb_graphics_exposure_event_t = xcb_graphics_exposure_event_t1 /* xproto.h:747:3 */ 10327 10328 //* Opcode for xcb_no_exposure. 10329 10330 // * 10331 // @brief xcb_no_exposure_event_t 10332 // 10333 type xcb_no_exposure_event_t1 = struct { 10334 Fresponse_type uint8_t 10335 Fpad0 uint8_t 10336 Fsequence uint16_t 10337 Fdrawable xcb_drawable_t 10338 Fminor_opcode uint16_t 10339 Fmajor_opcode uint8_t 10340 Fpad1 uint8_t 10341 } /* xproto.h:755:9 */ 10342 10343 //* Opcode for xcb_no_exposure. 10344 10345 // * 10346 // @brief xcb_no_exposure_event_t 10347 // 10348 type xcb_no_exposure_event_t = xcb_no_exposure_event_t1 /* xproto.h:763:3 */ 10349 10350 type xcb_visibility_t = uint32 /* xproto.h:769:3 */ 10351 10352 //* Opcode for xcb_visibility_notify. 10353 10354 // * 10355 // @brief xcb_visibility_notify_event_t 10356 // 10357 type xcb_visibility_notify_event_t1 = struct { 10358 Fresponse_type uint8_t 10359 Fpad0 uint8_t 10360 Fsequence uint16_t 10361 Fwindow xcb_window_t 10362 Fstate uint8_t 10363 Fpad1 [3]uint8_t 10364 } /* xproto.h:777:9 */ 10365 10366 //* Opcode for xcb_visibility_notify. 10367 10368 // * 10369 // @brief xcb_visibility_notify_event_t 10370 // 10371 type xcb_visibility_notify_event_t = xcb_visibility_notify_event_t1 /* xproto.h:784:3 */ 10372 10373 //* Opcode for xcb_create_notify. 10374 10375 // * 10376 // @brief xcb_create_notify_event_t 10377 // 10378 type xcb_create_notify_event_t1 = struct { 10379 Fresponse_type uint8_t 10380 Fpad0 uint8_t 10381 Fsequence uint16_t 10382 Fparent xcb_window_t 10383 Fwindow xcb_window_t 10384 Fx int16_t 10385 Fy int16_t 10386 Fwidth uint16_t 10387 Fheight uint16_t 10388 Fborder_width uint16_t 10389 Foverride_redirect uint8_t 10390 Fpad1 uint8_t 10391 } /* xproto.h:792:9 */ 10392 10393 //* Opcode for xcb_create_notify. 10394 10395 // * 10396 // @brief xcb_create_notify_event_t 10397 // 10398 type xcb_create_notify_event_t = xcb_create_notify_event_t1 /* xproto.h:805:3 */ 10399 10400 //* Opcode for xcb_destroy_notify. 10401 10402 // * 10403 // @brief xcb_destroy_notify_event_t 10404 // 10405 type xcb_destroy_notify_event_t1 = struct { 10406 Fresponse_type uint8_t 10407 Fpad0 uint8_t 10408 Fsequence uint16_t 10409 Fevent xcb_window_t 10410 Fwindow xcb_window_t 10411 } /* xproto.h:813:9 */ 10412 10413 //* Opcode for xcb_destroy_notify. 10414 10415 // * 10416 // @brief xcb_destroy_notify_event_t 10417 // 10418 type xcb_destroy_notify_event_t = xcb_destroy_notify_event_t1 /* xproto.h:819:3 */ 10419 10420 //* Opcode for xcb_unmap_notify. 10421 10422 // * 10423 // @brief xcb_unmap_notify_event_t 10424 // 10425 type xcb_unmap_notify_event_t1 = struct { 10426 Fresponse_type uint8_t 10427 Fpad0 uint8_t 10428 Fsequence uint16_t 10429 Fevent xcb_window_t 10430 Fwindow xcb_window_t 10431 Ffrom_configure uint8_t 10432 Fpad1 [3]uint8_t 10433 } /* xproto.h:827:9 */ 10434 10435 //* Opcode for xcb_unmap_notify. 10436 10437 // * 10438 // @brief xcb_unmap_notify_event_t 10439 // 10440 type xcb_unmap_notify_event_t = xcb_unmap_notify_event_t1 /* xproto.h:835:3 */ 10441 10442 //* Opcode for xcb_map_notify. 10443 10444 // * 10445 // @brief xcb_map_notify_event_t 10446 // 10447 type xcb_map_notify_event_t1 = struct { 10448 Fresponse_type uint8_t 10449 Fpad0 uint8_t 10450 Fsequence uint16_t 10451 Fevent xcb_window_t 10452 Fwindow xcb_window_t 10453 Foverride_redirect uint8_t 10454 Fpad1 [3]uint8_t 10455 } /* xproto.h:843:9 */ 10456 10457 //* Opcode for xcb_map_notify. 10458 10459 // * 10460 // @brief xcb_map_notify_event_t 10461 // 10462 type xcb_map_notify_event_t = xcb_map_notify_event_t1 /* xproto.h:851:3 */ 10463 10464 //* Opcode for xcb_map_request. 10465 10466 // * 10467 // @brief xcb_map_request_event_t 10468 // 10469 type xcb_map_request_event_t1 = struct { 10470 Fresponse_type uint8_t 10471 Fpad0 uint8_t 10472 Fsequence uint16_t 10473 Fparent xcb_window_t 10474 Fwindow xcb_window_t 10475 } /* xproto.h:859:9 */ 10476 10477 //* Opcode for xcb_map_request. 10478 10479 // * 10480 // @brief xcb_map_request_event_t 10481 // 10482 type xcb_map_request_event_t = xcb_map_request_event_t1 /* xproto.h:865:3 */ 10483 10484 //* Opcode for xcb_reparent_notify. 10485 10486 // * 10487 // @brief xcb_reparent_notify_event_t 10488 // 10489 type xcb_reparent_notify_event_t1 = struct { 10490 Fresponse_type uint8_t 10491 Fpad0 uint8_t 10492 Fsequence uint16_t 10493 Fevent xcb_window_t 10494 Fwindow xcb_window_t 10495 Fparent xcb_window_t 10496 Fx int16_t 10497 Fy int16_t 10498 Foverride_redirect uint8_t 10499 Fpad1 [3]uint8_t 10500 } /* xproto.h:873:9 */ 10501 10502 //* Opcode for xcb_reparent_notify. 10503 10504 // * 10505 // @brief xcb_reparent_notify_event_t 10506 // 10507 type xcb_reparent_notify_event_t = xcb_reparent_notify_event_t1 /* xproto.h:884:3 */ 10508 10509 //* Opcode for xcb_configure_notify. 10510 10511 // * 10512 // @brief xcb_configure_notify_event_t 10513 // 10514 type xcb_configure_notify_event_t1 = struct { 10515 Fresponse_type uint8_t 10516 Fpad0 uint8_t 10517 Fsequence uint16_t 10518 Fevent xcb_window_t 10519 Fwindow xcb_window_t 10520 Fabove_sibling xcb_window_t 10521 Fx int16_t 10522 Fy int16_t 10523 Fwidth uint16_t 10524 Fheight uint16_t 10525 Fborder_width uint16_t 10526 Foverride_redirect uint8_t 10527 Fpad1 uint8_t 10528 } /* xproto.h:892:9 */ 10529 10530 //* Opcode for xcb_configure_notify. 10531 10532 // * 10533 // @brief xcb_configure_notify_event_t 10534 // 10535 type xcb_configure_notify_event_t = xcb_configure_notify_event_t1 /* xproto.h:906:3 */ 10536 10537 //* Opcode for xcb_configure_request. 10538 10539 // * 10540 // @brief xcb_configure_request_event_t 10541 // 10542 type xcb_configure_request_event_t1 = struct { 10543 Fresponse_type uint8_t 10544 Fstack_mode uint8_t 10545 Fsequence uint16_t 10546 Fparent xcb_window_t 10547 Fwindow xcb_window_t 10548 Fsibling xcb_window_t 10549 Fx int16_t 10550 Fy int16_t 10551 Fwidth uint16_t 10552 Fheight uint16_t 10553 Fborder_width uint16_t 10554 Fvalue_mask uint16_t 10555 } /* xproto.h:914:9 */ 10556 10557 //* Opcode for xcb_configure_request. 10558 10559 // * 10560 // @brief xcb_configure_request_event_t 10561 // 10562 type xcb_configure_request_event_t = xcb_configure_request_event_t1 /* xproto.h:927:3 */ 10563 10564 //* Opcode for xcb_gravity_notify. 10565 10566 // * 10567 // @brief xcb_gravity_notify_event_t 10568 // 10569 type xcb_gravity_notify_event_t1 = struct { 10570 Fresponse_type uint8_t 10571 Fpad0 uint8_t 10572 Fsequence uint16_t 10573 Fevent xcb_window_t 10574 Fwindow xcb_window_t 10575 Fx int16_t 10576 Fy int16_t 10577 } /* xproto.h:935:9 */ 10578 10579 //* Opcode for xcb_gravity_notify. 10580 10581 // * 10582 // @brief xcb_gravity_notify_event_t 10583 // 10584 type xcb_gravity_notify_event_t = xcb_gravity_notify_event_t1 /* xproto.h:943:3 */ 10585 10586 //* Opcode for xcb_resize_request. 10587 10588 // * 10589 // @brief xcb_resize_request_event_t 10590 // 10591 type xcb_resize_request_event_t1 = struct { 10592 Fresponse_type uint8_t 10593 Fpad0 uint8_t 10594 Fsequence uint16_t 10595 Fwindow xcb_window_t 10596 Fwidth uint16_t 10597 Fheight uint16_t 10598 } /* xproto.h:951:9 */ 10599 10600 //* Opcode for xcb_resize_request. 10601 10602 // * 10603 // @brief xcb_resize_request_event_t 10604 // 10605 type xcb_resize_request_event_t = xcb_resize_request_event_t1 /* xproto.h:958:3 */ 10606 10607 type xcb_place_t = uint32 /* xproto.h:967:3 */ 10608 10609 //* Opcode for xcb_circulate_notify. 10610 10611 // * 10612 // @brief xcb_circulate_notify_event_t 10613 // 10614 type xcb_circulate_notify_event_t1 = struct { 10615 Fresponse_type uint8_t 10616 Fpad0 uint8_t 10617 Fsequence uint16_t 10618 Fevent xcb_window_t 10619 Fwindow xcb_window_t 10620 Fpad1 [4]uint8_t 10621 Fplace uint8_t 10622 Fpad2 [3]uint8_t 10623 } /* xproto.h:975:9 */ 10624 10625 //* Opcode for xcb_circulate_notify. 10626 10627 // * 10628 // @brief xcb_circulate_notify_event_t 10629 // 10630 type xcb_circulate_notify_event_t = xcb_circulate_notify_event_t1 /* xproto.h:984:3 */ 10631 10632 //* Opcode for xcb_circulate_request. 10633 10634 type xcb_circulate_request_event_t = xcb_circulate_notify_event_t /* xproto.h:989:38 */ 10635 10636 type xcb_property_t = uint32 /* xproto.h:994:3 */ 10637 10638 //* Opcode for xcb_property_notify. 10639 10640 // * 10641 // @brief xcb_property_notify_event_t 10642 // 10643 type xcb_property_notify_event_t1 = struct { 10644 Fresponse_type uint8_t 10645 Fpad0 uint8_t 10646 Fsequence uint16_t 10647 Fwindow xcb_window_t 10648 Fatom xcb_atom_t 10649 Ftime xcb_timestamp_t 10650 Fstate uint8_t 10651 Fpad1 [3]uint8_t 10652 } /* xproto.h:1002:9 */ 10653 10654 //* Opcode for xcb_property_notify. 10655 10656 // * 10657 // @brief xcb_property_notify_event_t 10658 // 10659 type xcb_property_notify_event_t = xcb_property_notify_event_t1 /* xproto.h:1011:3 */ 10660 10661 //* Opcode for xcb_selection_clear. 10662 10663 // * 10664 // @brief xcb_selection_clear_event_t 10665 // 10666 type xcb_selection_clear_event_t1 = struct { 10667 Fresponse_type uint8_t 10668 Fpad0 uint8_t 10669 Fsequence uint16_t 10670 Ftime xcb_timestamp_t 10671 Fowner xcb_window_t 10672 Fselection xcb_atom_t 10673 } /* xproto.h:1019:9 */ 10674 10675 //* Opcode for xcb_selection_clear. 10676 10677 // * 10678 // @brief xcb_selection_clear_event_t 10679 // 10680 type xcb_selection_clear_event_t = xcb_selection_clear_event_t1 /* xproto.h:1026:3 */ 10681 10682 type xcb_time_t = uint32 /* xproto.h:1030:3 */ 10683 10684 type xcb_atom_enum_t = uint32 /* xproto.h:1103:3 */ 10685 10686 //* Opcode for xcb_selection_request. 10687 10688 // * 10689 // @brief xcb_selection_request_event_t 10690 // 10691 type xcb_selection_request_event_t1 = struct { 10692 Fresponse_type uint8_t 10693 Fpad0 uint8_t 10694 Fsequence uint16_t 10695 Ftime xcb_timestamp_t 10696 Fowner xcb_window_t 10697 Frequestor xcb_window_t 10698 Fselection xcb_atom_t 10699 Ftarget xcb_atom_t 10700 Fproperty xcb_atom_t 10701 } /* xproto.h:1111:9 */ 10702 10703 //* Opcode for xcb_selection_request. 10704 10705 // * 10706 // @brief xcb_selection_request_event_t 10707 // 10708 type xcb_selection_request_event_t = xcb_selection_request_event_t1 /* xproto.h:1121:3 */ 10709 10710 //* Opcode for xcb_selection_notify. 10711 10712 // * 10713 // @brief xcb_selection_notify_event_t 10714 // 10715 type xcb_selection_notify_event_t1 = struct { 10716 Fresponse_type uint8_t 10717 Fpad0 uint8_t 10718 Fsequence uint16_t 10719 Ftime xcb_timestamp_t 10720 Frequestor xcb_window_t 10721 Fselection xcb_atom_t 10722 Ftarget xcb_atom_t 10723 Fproperty xcb_atom_t 10724 } /* xproto.h:1129:9 */ 10725 10726 //* Opcode for xcb_selection_notify. 10727 10728 // * 10729 // @brief xcb_selection_notify_event_t 10730 // 10731 type xcb_selection_notify_event_t = xcb_selection_notify_event_t1 /* xproto.h:1138:3 */ 10732 10733 type xcb_colormap_state_t = uint32 /* xproto.h:1147:3 */ 10734 10735 type xcb_colormap_enum_t = uint32 /* xproto.h:1151:3 */ 10736 10737 //* Opcode for xcb_colormap_notify. 10738 10739 // * 10740 // @brief xcb_colormap_notify_event_t 10741 // 10742 type xcb_colormap_notify_event_t1 = struct { 10743 Fresponse_type uint8_t 10744 Fpad0 uint8_t 10745 Fsequence uint16_t 10746 Fwindow xcb_window_t 10747 Fcolormap xcb_colormap_t 10748 F_new uint8_t 10749 Fstate uint8_t 10750 Fpad1 [2]uint8_t 10751 } /* xproto.h:1159:9 */ 10752 10753 //* Opcode for xcb_colormap_notify. 10754 10755 // * 10756 // @brief xcb_colormap_notify_event_t 10757 // 10758 type xcb_colormap_notify_event_t = xcb_colormap_notify_event_t1 /* xproto.h:1168:3 */ 10759 10760 // * 10761 // @brief xcb_client_message_data_t 10762 // 10763 type xcb_client_message_data_t1 = struct { 10764 F__ccgo_pad1 [0]uint32 10765 Fdata8 [20]uint8_t 10766 } /* xproto.h:1173:9 */ 10767 10768 // * 10769 // @brief xcb_client_message_data_t 10770 // 10771 type xcb_client_message_data_t = xcb_client_message_data_t1 /* xproto.h:1177:3 */ 10772 10773 // * 10774 // @brief xcb_client_message_data_iterator_t 10775 // 10776 type xcb_client_message_data_iterator_t1 = struct { 10777 Fdata uintptr 10778 Frem int32 10779 Findex int32 10780 } /* xproto.h:1182:9 */ 10781 10782 // * 10783 // @brief xcb_client_message_data_iterator_t 10784 // 10785 type xcb_client_message_data_iterator_t = xcb_client_message_data_iterator_t1 /* xproto.h:1186:3 */ 10786 10787 //* Opcode for xcb_client_message. 10788 10789 // * 10790 // @brief xcb_client_message_event_t 10791 // 10792 type xcb_client_message_event_t1 = struct { 10793 Fresponse_type uint8_t 10794 Fformat uint8_t 10795 Fsequence uint16_t 10796 Fwindow xcb_window_t 10797 Ftype xcb_atom_t 10798 Fdata xcb_client_message_data_t 10799 } /* xproto.h:1194:9 */ 10800 10801 //* Opcode for xcb_client_message. 10802 10803 // * 10804 // @brief xcb_client_message_event_t 10805 // 10806 type xcb_client_message_event_t = xcb_client_message_event_t1 /* xproto.h:1201:3 */ 10807 10808 type xcb_mapping_t = uint32 /* xproto.h:1207:3 */ 10809 10810 //* Opcode for xcb_mapping_notify. 10811 10812 // * 10813 // @brief xcb_mapping_notify_event_t 10814 // 10815 type xcb_mapping_notify_event_t1 = struct { 10816 Fresponse_type uint8_t 10817 Fpad0 uint8_t 10818 Fsequence uint16_t 10819 Frequest uint8_t 10820 Ffirst_keycode xcb_keycode_t 10821 Fcount uint8_t 10822 Fpad1 uint8_t 10823 } /* xproto.h:1215:9 */ 10824 10825 //* Opcode for xcb_mapping_notify. 10826 10827 // * 10828 // @brief xcb_mapping_notify_event_t 10829 // 10830 type xcb_mapping_notify_event_t = xcb_mapping_notify_event_t1 /* xproto.h:1223:3 */ 10831 10832 //* Opcode for xcb_ge_generic. 10833 10834 // * 10835 // @brief xcb_ge_generic_event_t 10836 // 10837 type xcb_ge_generic_event_t1 = struct { 10838 Fresponse_type uint8_t 10839 Fextension uint8_t 10840 Fsequence uint16_t 10841 Flength uint32_t 10842 Fevent_type uint16_t 10843 Fpad0 [22]uint8_t 10844 Ffull_sequence uint32_t 10845 } /* xproto.h:1231:9 */ 10846 10847 //* Opcode for xcb_ge_generic. 10848 10849 // * 10850 // @brief xcb_ge_generic_event_t 10851 // 10852 type xcb_ge_generic_event_t = xcb_ge_generic_event_t1 /* xproto.h:1239:3 */ 10853 10854 //* Opcode for xcb_request. 10855 10856 // * 10857 // @brief xcb_request_error_t 10858 // 10859 type xcb_request_error_t1 = struct { 10860 Fresponse_type uint8_t 10861 Ferror_code uint8_t 10862 Fsequence uint16_t 10863 Fbad_value uint32_t 10864 Fminor_opcode uint16_t 10865 Fmajor_opcode uint8_t 10866 Fpad0 uint8_t 10867 } /* xproto.h:1247:9 */ 10868 10869 //* Opcode for xcb_request. 10870 10871 // * 10872 // @brief xcb_request_error_t 10873 // 10874 type xcb_request_error_t = xcb_request_error_t1 /* xproto.h:1255:3 */ 10875 10876 //* Opcode for xcb_value. 10877 10878 // * 10879 // @brief xcb_value_error_t 10880 // 10881 type xcb_value_error_t1 = struct { 10882 Fresponse_type uint8_t 10883 Ferror_code uint8_t 10884 Fsequence uint16_t 10885 Fbad_value uint32_t 10886 Fminor_opcode uint16_t 10887 Fmajor_opcode uint8_t 10888 Fpad0 uint8_t 10889 } /* xproto.h:1263:9 */ 10890 10891 //* Opcode for xcb_value. 10892 10893 // * 10894 // @brief xcb_value_error_t 10895 // 10896 type xcb_value_error_t = xcb_value_error_t1 /* xproto.h:1271:3 */ 10897 10898 //* Opcode for xcb_window. 10899 10900 type xcb_window_error_t = xcb_value_error_t /* xproto.h:1276:27 */ 10901 10902 //* Opcode for xcb_pixmap. 10903 10904 type xcb_pixmap_error_t = xcb_value_error_t /* xproto.h:1281:27 */ 10905 10906 //* Opcode for xcb_atom. 10907 10908 type xcb_atom_error_t = xcb_value_error_t /* xproto.h:1286:27 */ 10909 10910 //* Opcode for xcb_cursor. 10911 10912 type xcb_cursor_error_t = xcb_value_error_t /* xproto.h:1291:27 */ 10913 10914 //* Opcode for xcb_font. 10915 10916 type xcb_font_error_t = xcb_value_error_t /* xproto.h:1296:27 */ 10917 10918 //* Opcode for xcb_match. 10919 10920 type xcb_match_error_t = xcb_request_error_t /* xproto.h:1301:29 */ 10921 10922 //* Opcode for xcb_drawable. 10923 10924 type xcb_drawable_error_t = xcb_value_error_t /* xproto.h:1306:27 */ 10925 10926 //* Opcode for xcb_access. 10927 10928 type xcb_access_error_t = xcb_request_error_t /* xproto.h:1311:29 */ 10929 10930 //* Opcode for xcb_alloc. 10931 10932 type xcb_alloc_error_t = xcb_request_error_t /* xproto.h:1316:29 */ 10933 10934 //* Opcode for xcb_colormap. 10935 10936 type xcb_colormap_error_t = xcb_value_error_t /* xproto.h:1321:27 */ 10937 10938 //* Opcode for xcb_g_context. 10939 10940 type xcb_g_context_error_t = xcb_value_error_t /* xproto.h:1326:27 */ 10941 10942 //* Opcode for xcb_id_choice. 10943 10944 type xcb_id_choice_error_t = xcb_value_error_t /* xproto.h:1331:27 */ 10945 10946 //* Opcode for xcb_name. 10947 10948 type xcb_name_error_t = xcb_request_error_t /* xproto.h:1336:29 */ 10949 10950 //* Opcode for xcb_length. 10951 10952 type xcb_length_error_t = xcb_request_error_t /* xproto.h:1341:29 */ 10953 10954 //* Opcode for xcb_implementation. 10955 10956 type xcb_implementation_error_t = xcb_request_error_t /* xproto.h:1346:29 */ 10957 10958 type xcb_window_class_t = uint32 /* xproto.h:1352:3 */ 10959 10960 type xcb_cw_t = uint32 /* xproto.h:1453:3 */ 10961 10962 type xcb_back_pixmap_t = uint32 /* xproto.h:1458:3 */ 10963 10964 type xcb_gravity_t = uint32 /* xproto.h:1473:3 */ 10965 10966 // * 10967 // @brief xcb_create_window_value_list_t 10968 // 10969 type xcb_create_window_value_list_t1 = struct { 10970 Fbackground_pixmap xcb_pixmap_t 10971 Fbackground_pixel uint32_t 10972 Fborder_pixmap xcb_pixmap_t 10973 Fborder_pixel uint32_t 10974 Fbit_gravity uint32_t 10975 Fwin_gravity uint32_t 10976 Fbacking_store uint32_t 10977 Fbacking_planes uint32_t 10978 Fbacking_pixel uint32_t 10979 Foverride_redirect xcb_bool32_t 10980 Fsave_under xcb_bool32_t 10981 Fevent_mask uint32_t 10982 Fdo_not_propogate_mask uint32_t 10983 Fcolormap xcb_colormap_t 10984 Fcursor xcb_cursor_t 10985 } /* xproto.h:1478:9 */ 10986 10987 // * 10988 // @brief xcb_create_window_value_list_t 10989 // 10990 type xcb_create_window_value_list_t = xcb_create_window_value_list_t1 /* xproto.h:1494:3 */ 10991 10992 //* Opcode for xcb_create_window. 10993 10994 // * 10995 // @brief xcb_create_window_request_t 10996 // 10997 type xcb_create_window_request_t1 = struct { 10998 Fmajor_opcode uint8_t 10999 Fdepth uint8_t 11000 Flength uint16_t 11001 Fwid xcb_window_t 11002 Fparent xcb_window_t 11003 Fx int16_t 11004 Fy int16_t 11005 Fwidth uint16_t 11006 Fheight uint16_t 11007 Fborder_width uint16_t 11008 F_class uint16_t 11009 Fvisual xcb_visualid_t 11010 Fvalue_mask uint32_t 11011 } /* xproto.h:1502:9 */ 11012 11013 //* Opcode for xcb_create_window. 11014 11015 // * 11016 // @brief xcb_create_window_request_t 11017 // 11018 type xcb_create_window_request_t = xcb_create_window_request_t1 /* xproto.h:1516:3 */ 11019 11020 // * 11021 // @brief xcb_change_window_attributes_value_list_t 11022 // 11023 type xcb_change_window_attributes_value_list_t1 = struct { 11024 Fbackground_pixmap xcb_pixmap_t 11025 Fbackground_pixel uint32_t 11026 Fborder_pixmap xcb_pixmap_t 11027 Fborder_pixel uint32_t 11028 Fbit_gravity uint32_t 11029 Fwin_gravity uint32_t 11030 Fbacking_store uint32_t 11031 Fbacking_planes uint32_t 11032 Fbacking_pixel uint32_t 11033 Foverride_redirect xcb_bool32_t 11034 Fsave_under xcb_bool32_t 11035 Fevent_mask uint32_t 11036 Fdo_not_propogate_mask uint32_t 11037 Fcolormap xcb_colormap_t 11038 Fcursor xcb_cursor_t 11039 } /* xproto.h:1521:9 */ 11040 11041 // * 11042 // @brief xcb_change_window_attributes_value_list_t 11043 // 11044 type xcb_change_window_attributes_value_list_t = xcb_change_window_attributes_value_list_t1 /* xproto.h:1537:3 */ 11045 11046 //* Opcode for xcb_change_window_attributes. 11047 11048 // * 11049 // @brief xcb_change_window_attributes_request_t 11050 // 11051 type xcb_change_window_attributes_request_t1 = struct { 11052 Fmajor_opcode uint8_t 11053 Fpad0 uint8_t 11054 Flength uint16_t 11055 Fwindow xcb_window_t 11056 Fvalue_mask uint32_t 11057 } /* xproto.h:1545:9 */ 11058 11059 //* Opcode for xcb_change_window_attributes. 11060 11061 // * 11062 // @brief xcb_change_window_attributes_request_t 11063 // 11064 type xcb_change_window_attributes_request_t = xcb_change_window_attributes_request_t1 /* xproto.h:1551:3 */ 11065 11066 type xcb_map_state_t = uint32 /* xproto.h:1557:3 */ 11067 11068 // * 11069 // @brief xcb_get_window_attributes_cookie_t 11070 // 11071 type xcb_get_window_attributes_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1562:9 */ 11072 11073 // * 11074 // @brief xcb_get_window_attributes_cookie_t 11075 // 11076 type xcb_get_window_attributes_cookie_t = xcb_get_window_attributes_cookie_t1 /* xproto.h:1564:3 */ 11077 11078 //* Opcode for xcb_get_window_attributes. 11079 11080 // * 11081 // @brief xcb_get_window_attributes_request_t 11082 // 11083 type xcb_get_window_attributes_request_t1 = struct { 11084 Fmajor_opcode uint8_t 11085 Fpad0 uint8_t 11086 Flength uint16_t 11087 Fwindow xcb_window_t 11088 } /* xproto.h:1572:9 */ 11089 11090 //* Opcode for xcb_get_window_attributes. 11091 11092 // * 11093 // @brief xcb_get_window_attributes_request_t 11094 // 11095 type xcb_get_window_attributes_request_t = xcb_get_window_attributes_request_t1 /* xproto.h:1577:3 */ 11096 11097 // * 11098 // @brief xcb_get_window_attributes_reply_t 11099 // 11100 type xcb_get_window_attributes_reply_t1 = struct { 11101 Fresponse_type uint8_t 11102 Fbacking_store uint8_t 11103 Fsequence uint16_t 11104 Flength uint32_t 11105 Fvisual xcb_visualid_t 11106 F_class uint16_t 11107 Fbit_gravity uint8_t 11108 Fwin_gravity uint8_t 11109 Fbacking_planes uint32_t 11110 Fbacking_pixel uint32_t 11111 Fsave_under uint8_t 11112 Fmap_is_installed uint8_t 11113 Fmap_state uint8_t 11114 Foverride_redirect uint8_t 11115 Fcolormap xcb_colormap_t 11116 Fall_event_masks uint32_t 11117 Fyour_event_mask uint32_t 11118 Fdo_not_propagate_mask uint16_t 11119 Fpad0 [2]uint8_t 11120 } /* xproto.h:1582:9 */ 11121 11122 // * 11123 // @brief xcb_get_window_attributes_reply_t 11124 // 11125 type xcb_get_window_attributes_reply_t = xcb_get_window_attributes_reply_t1 /* xproto.h:1602:3 */ 11126 11127 //* Opcode for xcb_destroy_window. 11128 11129 // * 11130 // @brief xcb_destroy_window_request_t 11131 // 11132 type xcb_destroy_window_request_t1 = struct { 11133 Fmajor_opcode uint8_t 11134 Fpad0 uint8_t 11135 Flength uint16_t 11136 Fwindow xcb_window_t 11137 } /* xproto.h:1610:9 */ 11138 11139 //* Opcode for xcb_destroy_window. 11140 11141 // * 11142 // @brief xcb_destroy_window_request_t 11143 // 11144 type xcb_destroy_window_request_t = xcb_destroy_window_request_t1 /* xproto.h:1615:3 */ 11145 11146 //* Opcode for xcb_destroy_subwindows. 11147 11148 // * 11149 // @brief xcb_destroy_subwindows_request_t 11150 // 11151 type xcb_destroy_subwindows_request_t1 = struct { 11152 Fmajor_opcode uint8_t 11153 Fpad0 uint8_t 11154 Flength uint16_t 11155 Fwindow xcb_window_t 11156 } /* xproto.h:1623:9 */ 11157 11158 //* Opcode for xcb_destroy_subwindows. 11159 11160 // * 11161 // @brief xcb_destroy_subwindows_request_t 11162 // 11163 type xcb_destroy_subwindows_request_t = xcb_destroy_subwindows_request_t1 /* xproto.h:1628:3 */ 11164 11165 type xcb_set_mode_t = uint32 /* xproto.h:1633:3 */ 11166 11167 //* Opcode for xcb_change_save_set. 11168 11169 // * 11170 // @brief xcb_change_save_set_request_t 11171 // 11172 type xcb_change_save_set_request_t1 = struct { 11173 Fmajor_opcode uint8_t 11174 Fmode uint8_t 11175 Flength uint16_t 11176 Fwindow xcb_window_t 11177 } /* xproto.h:1641:9 */ 11178 11179 //* Opcode for xcb_change_save_set. 11180 11181 // * 11182 // @brief xcb_change_save_set_request_t 11183 // 11184 type xcb_change_save_set_request_t = xcb_change_save_set_request_t1 /* xproto.h:1646:3 */ 11185 11186 //* Opcode for xcb_reparent_window. 11187 11188 // * 11189 // @brief xcb_reparent_window_request_t 11190 // 11191 type xcb_reparent_window_request_t1 = struct { 11192 Fmajor_opcode uint8_t 11193 Fpad0 uint8_t 11194 Flength uint16_t 11195 Fwindow xcb_window_t 11196 Fparent xcb_window_t 11197 Fx int16_t 11198 Fy int16_t 11199 } /* xproto.h:1654:9 */ 11200 11201 //* Opcode for xcb_reparent_window. 11202 11203 // * 11204 // @brief xcb_reparent_window_request_t 11205 // 11206 type xcb_reparent_window_request_t = xcb_reparent_window_request_t1 /* xproto.h:1662:3 */ 11207 11208 //* Opcode for xcb_map_window. 11209 11210 // * 11211 // @brief xcb_map_window_request_t 11212 // 11213 type xcb_map_window_request_t1 = struct { 11214 Fmajor_opcode uint8_t 11215 Fpad0 uint8_t 11216 Flength uint16_t 11217 Fwindow xcb_window_t 11218 } /* xproto.h:1670:9 */ 11219 11220 //* Opcode for xcb_map_window. 11221 11222 // * 11223 // @brief xcb_map_window_request_t 11224 // 11225 type xcb_map_window_request_t = xcb_map_window_request_t1 /* xproto.h:1675:3 */ 11226 11227 //* Opcode for xcb_map_subwindows. 11228 11229 // * 11230 // @brief xcb_map_subwindows_request_t 11231 // 11232 type xcb_map_subwindows_request_t1 = struct { 11233 Fmajor_opcode uint8_t 11234 Fpad0 uint8_t 11235 Flength uint16_t 11236 Fwindow xcb_window_t 11237 } /* xproto.h:1683:9 */ 11238 11239 //* Opcode for xcb_map_subwindows. 11240 11241 // * 11242 // @brief xcb_map_subwindows_request_t 11243 // 11244 type xcb_map_subwindows_request_t = xcb_map_subwindows_request_t1 /* xproto.h:1688:3 */ 11245 11246 //* Opcode for xcb_unmap_window. 11247 11248 // * 11249 // @brief xcb_unmap_window_request_t 11250 // 11251 type xcb_unmap_window_request_t1 = struct { 11252 Fmajor_opcode uint8_t 11253 Fpad0 uint8_t 11254 Flength uint16_t 11255 Fwindow xcb_window_t 11256 } /* xproto.h:1696:9 */ 11257 11258 //* Opcode for xcb_unmap_window. 11259 11260 // * 11261 // @brief xcb_unmap_window_request_t 11262 // 11263 type xcb_unmap_window_request_t = xcb_unmap_window_request_t1 /* xproto.h:1701:3 */ 11264 11265 //* Opcode for xcb_unmap_subwindows. 11266 11267 // * 11268 // @brief xcb_unmap_subwindows_request_t 11269 // 11270 type xcb_unmap_subwindows_request_t1 = struct { 11271 Fmajor_opcode uint8_t 11272 Fpad0 uint8_t 11273 Flength uint16_t 11274 Fwindow xcb_window_t 11275 } /* xproto.h:1709:9 */ 11276 11277 //* Opcode for xcb_unmap_subwindows. 11278 11279 // * 11280 // @brief xcb_unmap_subwindows_request_t 11281 // 11282 type xcb_unmap_subwindows_request_t = xcb_unmap_subwindows_request_t1 /* xproto.h:1714:3 */ 11283 11284 type xcb_config_window_t = uint32 /* xproto.h:1724:3 */ 11285 11286 type xcb_stack_mode_t = uint32 /* xproto.h:1732:3 */ 11287 11288 // * 11289 // @brief xcb_configure_window_value_list_t 11290 // 11291 type xcb_configure_window_value_list_t1 = struct { 11292 Fx int32_t 11293 Fy int32_t 11294 Fwidth uint32_t 11295 Fheight uint32_t 11296 Fborder_width uint32_t 11297 Fsibling xcb_window_t 11298 Fstack_mode uint32_t 11299 } /* xproto.h:1737:9 */ 11300 11301 // * 11302 // @brief xcb_configure_window_value_list_t 11303 // 11304 type xcb_configure_window_value_list_t = xcb_configure_window_value_list_t1 /* xproto.h:1745:3 */ 11305 11306 //* Opcode for xcb_configure_window. 11307 11308 // * 11309 // @brief xcb_configure_window_request_t 11310 // 11311 type xcb_configure_window_request_t1 = struct { 11312 Fmajor_opcode uint8_t 11313 Fpad0 uint8_t 11314 Flength uint16_t 11315 Fwindow xcb_window_t 11316 Fvalue_mask uint16_t 11317 Fpad1 [2]uint8_t 11318 } /* xproto.h:1753:9 */ 11319 11320 //* Opcode for xcb_configure_window. 11321 11322 // * 11323 // @brief xcb_configure_window_request_t 11324 // 11325 type xcb_configure_window_request_t = xcb_configure_window_request_t1 /* xproto.h:1760:3 */ 11326 11327 type xcb_circulate_t = uint32 /* xproto.h:1765:3 */ 11328 11329 //* Opcode for xcb_circulate_window. 11330 11331 // * 11332 // @brief xcb_circulate_window_request_t 11333 // 11334 type xcb_circulate_window_request_t1 = struct { 11335 Fmajor_opcode uint8_t 11336 Fdirection uint8_t 11337 Flength uint16_t 11338 Fwindow xcb_window_t 11339 } /* xproto.h:1773:9 */ 11340 11341 //* Opcode for xcb_circulate_window. 11342 11343 // * 11344 // @brief xcb_circulate_window_request_t 11345 // 11346 type xcb_circulate_window_request_t = xcb_circulate_window_request_t1 /* xproto.h:1778:3 */ 11347 11348 // * 11349 // @brief xcb_get_geometry_cookie_t 11350 // 11351 type xcb_get_geometry_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1783:9 */ 11352 11353 // * 11354 // @brief xcb_get_geometry_cookie_t 11355 // 11356 type xcb_get_geometry_cookie_t = xcb_get_geometry_cookie_t1 /* xproto.h:1785:3 */ 11357 11358 //* Opcode for xcb_get_geometry. 11359 11360 // * 11361 // @brief xcb_get_geometry_request_t 11362 // 11363 type xcb_get_geometry_request_t1 = struct { 11364 Fmajor_opcode uint8_t 11365 Fpad0 uint8_t 11366 Flength uint16_t 11367 Fdrawable xcb_drawable_t 11368 } /* xproto.h:1793:9 */ 11369 11370 //* Opcode for xcb_get_geometry. 11371 11372 // * 11373 // @brief xcb_get_geometry_request_t 11374 // 11375 type xcb_get_geometry_request_t = xcb_get_geometry_request_t1 /* xproto.h:1798:3 */ 11376 11377 // * 11378 // @brief xcb_get_geometry_reply_t 11379 // 11380 type xcb_get_geometry_reply_t1 = struct { 11381 Fresponse_type uint8_t 11382 Fdepth uint8_t 11383 Fsequence uint16_t 11384 Flength uint32_t 11385 Froot xcb_window_t 11386 Fx int16_t 11387 Fy int16_t 11388 Fwidth uint16_t 11389 Fheight uint16_t 11390 Fborder_width uint16_t 11391 Fpad0 [2]uint8_t 11392 } /* xproto.h:1803:9 */ 11393 11394 // * 11395 // @brief xcb_get_geometry_reply_t 11396 // 11397 type xcb_get_geometry_reply_t = xcb_get_geometry_reply_t1 /* xproto.h:1815:3 */ 11398 11399 // * 11400 // @brief xcb_query_tree_cookie_t 11401 // 11402 type xcb_query_tree_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1820:9 */ 11403 11404 // * 11405 // @brief xcb_query_tree_cookie_t 11406 // 11407 type xcb_query_tree_cookie_t = xcb_query_tree_cookie_t1 /* xproto.h:1822:3 */ 11408 11409 //* Opcode for xcb_query_tree. 11410 11411 // * 11412 // @brief xcb_query_tree_request_t 11413 // 11414 type xcb_query_tree_request_t1 = struct { 11415 Fmajor_opcode uint8_t 11416 Fpad0 uint8_t 11417 Flength uint16_t 11418 Fwindow xcb_window_t 11419 } /* xproto.h:1830:9 */ 11420 11421 //* Opcode for xcb_query_tree. 11422 11423 // * 11424 // @brief xcb_query_tree_request_t 11425 // 11426 type xcb_query_tree_request_t = xcb_query_tree_request_t1 /* xproto.h:1835:3 */ 11427 11428 // * 11429 // @brief xcb_query_tree_reply_t 11430 // 11431 type xcb_query_tree_reply_t1 = struct { 11432 Fresponse_type uint8_t 11433 Fpad0 uint8_t 11434 Fsequence uint16_t 11435 Flength uint32_t 11436 Froot xcb_window_t 11437 Fparent xcb_window_t 11438 Fchildren_len uint16_t 11439 Fpad1 [14]uint8_t 11440 } /* xproto.h:1840:9 */ 11441 11442 // * 11443 // @brief xcb_query_tree_reply_t 11444 // 11445 type xcb_query_tree_reply_t = xcb_query_tree_reply_t1 /* xproto.h:1849:3 */ 11446 11447 // * 11448 // @brief xcb_intern_atom_cookie_t 11449 // 11450 type xcb_intern_atom_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1854:9 */ 11451 11452 // * 11453 // @brief xcb_intern_atom_cookie_t 11454 // 11455 type xcb_intern_atom_cookie_t = xcb_intern_atom_cookie_t1 /* xproto.h:1856:3 */ 11456 11457 //* Opcode for xcb_intern_atom. 11458 11459 // * 11460 // @brief xcb_intern_atom_request_t 11461 // 11462 type xcb_intern_atom_request_t1 = struct { 11463 Fmajor_opcode uint8_t 11464 Fonly_if_exists uint8_t 11465 Flength uint16_t 11466 Fname_len uint16_t 11467 Fpad0 [2]uint8_t 11468 } /* xproto.h:1864:9 */ 11469 11470 //* Opcode for xcb_intern_atom. 11471 11472 // * 11473 // @brief xcb_intern_atom_request_t 11474 // 11475 type xcb_intern_atom_request_t = xcb_intern_atom_request_t1 /* xproto.h:1870:3 */ 11476 11477 // * 11478 // @brief xcb_intern_atom_reply_t 11479 // 11480 type xcb_intern_atom_reply_t1 = struct { 11481 Fresponse_type uint8_t 11482 Fpad0 uint8_t 11483 Fsequence uint16_t 11484 Flength uint32_t 11485 Fatom xcb_atom_t 11486 } /* xproto.h:1875:9 */ 11487 11488 // * 11489 // @brief xcb_intern_atom_reply_t 11490 // 11491 type xcb_intern_atom_reply_t = xcb_intern_atom_reply_t1 /* xproto.h:1881:3 */ 11492 11493 // * 11494 // @brief xcb_get_atom_name_cookie_t 11495 // 11496 type xcb_get_atom_name_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1886:9 */ 11497 11498 // * 11499 // @brief xcb_get_atom_name_cookie_t 11500 // 11501 type xcb_get_atom_name_cookie_t = xcb_get_atom_name_cookie_t1 /* xproto.h:1888:3 */ 11502 11503 //* Opcode for xcb_get_atom_name. 11504 11505 // * 11506 // @brief xcb_get_atom_name_request_t 11507 // 11508 type xcb_get_atom_name_request_t1 = struct { 11509 Fmajor_opcode uint8_t 11510 Fpad0 uint8_t 11511 Flength uint16_t 11512 Fatom xcb_atom_t 11513 } /* xproto.h:1896:9 */ 11514 11515 //* Opcode for xcb_get_atom_name. 11516 11517 // * 11518 // @brief xcb_get_atom_name_request_t 11519 // 11520 type xcb_get_atom_name_request_t = xcb_get_atom_name_request_t1 /* xproto.h:1901:3 */ 11521 11522 // * 11523 // @brief xcb_get_atom_name_reply_t 11524 // 11525 type xcb_get_atom_name_reply_t1 = struct { 11526 Fresponse_type uint8_t 11527 Fpad0 uint8_t 11528 Fsequence uint16_t 11529 Flength uint32_t 11530 Fname_len uint16_t 11531 Fpad1 [22]uint8_t 11532 } /* xproto.h:1906:9 */ 11533 11534 // * 11535 // @brief xcb_get_atom_name_reply_t 11536 // 11537 type xcb_get_atom_name_reply_t = xcb_get_atom_name_reply_t1 /* xproto.h:1913:3 */ 11538 11539 type xcb_prop_mode_t = uint32 /* xproto.h:1929:3 */ 11540 11541 //* Opcode for xcb_change_property. 11542 11543 // * 11544 // @brief xcb_change_property_request_t 11545 // 11546 type xcb_change_property_request_t1 = struct { 11547 Fmajor_opcode uint8_t 11548 Fmode uint8_t 11549 Flength uint16_t 11550 Fwindow xcb_window_t 11551 Fproperty xcb_atom_t 11552 Ftype xcb_atom_t 11553 Fformat uint8_t 11554 Fpad0 [3]uint8_t 11555 Fdata_len uint32_t 11556 } /* xproto.h:1937:9 */ 11557 11558 //* Opcode for xcb_change_property. 11559 11560 // * 11561 // @brief xcb_change_property_request_t 11562 // 11563 type xcb_change_property_request_t = xcb_change_property_request_t1 /* xproto.h:1947:3 */ 11564 11565 //* Opcode for xcb_delete_property. 11566 11567 // * 11568 // @brief xcb_delete_property_request_t 11569 // 11570 type xcb_delete_property_request_t1 = struct { 11571 Fmajor_opcode uint8_t 11572 Fpad0 uint8_t 11573 Flength uint16_t 11574 Fwindow xcb_window_t 11575 Fproperty xcb_atom_t 11576 } /* xproto.h:1955:9 */ 11577 11578 //* Opcode for xcb_delete_property. 11579 11580 // * 11581 // @brief xcb_delete_property_request_t 11582 // 11583 type xcb_delete_property_request_t = xcb_delete_property_request_t1 /* xproto.h:1961:3 */ 11584 11585 type xcb_get_property_type_t = uint32 /* xproto.h:1965:3 */ 11586 11587 // * 11588 // @brief xcb_get_property_cookie_t 11589 // 11590 type xcb_get_property_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:1970:9 */ 11591 11592 // * 11593 // @brief xcb_get_property_cookie_t 11594 // 11595 type xcb_get_property_cookie_t = xcb_get_property_cookie_t1 /* xproto.h:1972:3 */ 11596 11597 //* Opcode for xcb_get_property. 11598 11599 // * 11600 // @brief xcb_get_property_request_t 11601 // 11602 type xcb_get_property_request_t1 = struct { 11603 Fmajor_opcode uint8_t 11604 F_delete uint8_t 11605 Flength uint16_t 11606 Fwindow xcb_window_t 11607 Fproperty xcb_atom_t 11608 Ftype xcb_atom_t 11609 Flong_offset uint32_t 11610 Flong_length uint32_t 11611 } /* xproto.h:1980:9 */ 11612 11613 //* Opcode for xcb_get_property. 11614 11615 // * 11616 // @brief xcb_get_property_request_t 11617 // 11618 type xcb_get_property_request_t = xcb_get_property_request_t1 /* xproto.h:1989:3 */ 11619 11620 // * 11621 // @brief xcb_get_property_reply_t 11622 // 11623 type xcb_get_property_reply_t1 = struct { 11624 Fresponse_type uint8_t 11625 Fformat uint8_t 11626 Fsequence uint16_t 11627 Flength uint32_t 11628 Ftype xcb_atom_t 11629 Fbytes_after uint32_t 11630 Fvalue_len uint32_t 11631 Fpad0 [12]uint8_t 11632 } /* xproto.h:1994:9 */ 11633 11634 // * 11635 // @brief xcb_get_property_reply_t 11636 // 11637 type xcb_get_property_reply_t = xcb_get_property_reply_t1 /* xproto.h:2003:3 */ 11638 11639 // * 11640 // @brief xcb_list_properties_cookie_t 11641 // 11642 type xcb_list_properties_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2008:9 */ 11643 11644 // * 11645 // @brief xcb_list_properties_cookie_t 11646 // 11647 type xcb_list_properties_cookie_t = xcb_list_properties_cookie_t1 /* xproto.h:2010:3 */ 11648 11649 //* Opcode for xcb_list_properties. 11650 11651 // * 11652 // @brief xcb_list_properties_request_t 11653 // 11654 type xcb_list_properties_request_t1 = struct { 11655 Fmajor_opcode uint8_t 11656 Fpad0 uint8_t 11657 Flength uint16_t 11658 Fwindow xcb_window_t 11659 } /* xproto.h:2018:9 */ 11660 11661 //* Opcode for xcb_list_properties. 11662 11663 // * 11664 // @brief xcb_list_properties_request_t 11665 // 11666 type xcb_list_properties_request_t = xcb_list_properties_request_t1 /* xproto.h:2023:3 */ 11667 11668 // * 11669 // @brief xcb_list_properties_reply_t 11670 // 11671 type xcb_list_properties_reply_t1 = struct { 11672 Fresponse_type uint8_t 11673 Fpad0 uint8_t 11674 Fsequence uint16_t 11675 Flength uint32_t 11676 Fatoms_len uint16_t 11677 Fpad1 [22]uint8_t 11678 } /* xproto.h:2028:9 */ 11679 11680 // * 11681 // @brief xcb_list_properties_reply_t 11682 // 11683 type xcb_list_properties_reply_t = xcb_list_properties_reply_t1 /* xproto.h:2035:3 */ 11684 11685 //* Opcode for xcb_set_selection_owner. 11686 11687 // * 11688 // @brief xcb_set_selection_owner_request_t 11689 // 11690 type xcb_set_selection_owner_request_t1 = struct { 11691 Fmajor_opcode uint8_t 11692 Fpad0 uint8_t 11693 Flength uint16_t 11694 Fowner xcb_window_t 11695 Fselection xcb_atom_t 11696 Ftime xcb_timestamp_t 11697 } /* xproto.h:2043:9 */ 11698 11699 //* Opcode for xcb_set_selection_owner. 11700 11701 // * 11702 // @brief xcb_set_selection_owner_request_t 11703 // 11704 type xcb_set_selection_owner_request_t = xcb_set_selection_owner_request_t1 /* xproto.h:2050:3 */ 11705 11706 // * 11707 // @brief xcb_get_selection_owner_cookie_t 11708 // 11709 type xcb_get_selection_owner_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2055:9 */ 11710 11711 // * 11712 // @brief xcb_get_selection_owner_cookie_t 11713 // 11714 type xcb_get_selection_owner_cookie_t = xcb_get_selection_owner_cookie_t1 /* xproto.h:2057:3 */ 11715 11716 //* Opcode for xcb_get_selection_owner. 11717 11718 // * 11719 // @brief xcb_get_selection_owner_request_t 11720 // 11721 type xcb_get_selection_owner_request_t1 = struct { 11722 Fmajor_opcode uint8_t 11723 Fpad0 uint8_t 11724 Flength uint16_t 11725 Fselection xcb_atom_t 11726 } /* xproto.h:2065:9 */ 11727 11728 //* Opcode for xcb_get_selection_owner. 11729 11730 // * 11731 // @brief xcb_get_selection_owner_request_t 11732 // 11733 type xcb_get_selection_owner_request_t = xcb_get_selection_owner_request_t1 /* xproto.h:2070:3 */ 11734 11735 // * 11736 // @brief xcb_get_selection_owner_reply_t 11737 // 11738 type xcb_get_selection_owner_reply_t1 = struct { 11739 Fresponse_type uint8_t 11740 Fpad0 uint8_t 11741 Fsequence uint16_t 11742 Flength uint32_t 11743 Fowner xcb_window_t 11744 } /* xproto.h:2075:9 */ 11745 11746 // * 11747 // @brief xcb_get_selection_owner_reply_t 11748 // 11749 type xcb_get_selection_owner_reply_t = xcb_get_selection_owner_reply_t1 /* xproto.h:2081:3 */ 11750 11751 //* Opcode for xcb_convert_selection. 11752 11753 // * 11754 // @brief xcb_convert_selection_request_t 11755 // 11756 type xcb_convert_selection_request_t1 = struct { 11757 Fmajor_opcode uint8_t 11758 Fpad0 uint8_t 11759 Flength uint16_t 11760 Frequestor xcb_window_t 11761 Fselection xcb_atom_t 11762 Ftarget xcb_atom_t 11763 Fproperty xcb_atom_t 11764 Ftime xcb_timestamp_t 11765 } /* xproto.h:2089:9 */ 11766 11767 //* Opcode for xcb_convert_selection. 11768 11769 // * 11770 // @brief xcb_convert_selection_request_t 11771 // 11772 type xcb_convert_selection_request_t = xcb_convert_selection_request_t1 /* xproto.h:2098:3 */ 11773 11774 type xcb_send_event_dest_t = uint32 /* xproto.h:2103:3 */ 11775 11776 //* Opcode for xcb_send_event. 11777 11778 // * 11779 // @brief xcb_send_event_request_t 11780 // 11781 type xcb_send_event_request_t1 = struct { 11782 Fmajor_opcode uint8_t 11783 Fpropagate uint8_t 11784 Flength uint16_t 11785 Fdestination xcb_window_t 11786 Fevent_mask uint32_t 11787 Fevent [32]int8 11788 } /* xproto.h:2111:9 */ 11789 11790 //* Opcode for xcb_send_event. 11791 11792 // * 11793 // @brief xcb_send_event_request_t 11794 // 11795 type xcb_send_event_request_t = xcb_send_event_request_t1 /* xproto.h:2118:3 */ 11796 11797 type xcb_grab_mode_t = uint32 /* xproto.h:2129:3 */ 11798 11799 type xcb_grab_status_t = uint32 /* xproto.h:2137:3 */ 11800 11801 type xcb_cursor_enum_t = uint32 /* xproto.h:2141:3 */ 11802 11803 // * 11804 // @brief xcb_grab_pointer_cookie_t 11805 // 11806 type xcb_grab_pointer_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2146:9 */ 11807 11808 // * 11809 // @brief xcb_grab_pointer_cookie_t 11810 // 11811 type xcb_grab_pointer_cookie_t = xcb_grab_pointer_cookie_t1 /* xproto.h:2148:3 */ 11812 11813 //* Opcode for xcb_grab_pointer. 11814 11815 // * 11816 // @brief xcb_grab_pointer_request_t 11817 // 11818 type xcb_grab_pointer_request_t1 = struct { 11819 Fmajor_opcode uint8_t 11820 Fowner_events uint8_t 11821 Flength uint16_t 11822 Fgrab_window xcb_window_t 11823 Fevent_mask uint16_t 11824 Fpointer_mode uint8_t 11825 Fkeyboard_mode uint8_t 11826 Fconfine_to xcb_window_t 11827 Fcursor xcb_cursor_t 11828 Ftime xcb_timestamp_t 11829 } /* xproto.h:2156:9 */ 11830 11831 //* Opcode for xcb_grab_pointer. 11832 11833 // * 11834 // @brief xcb_grab_pointer_request_t 11835 // 11836 type xcb_grab_pointer_request_t = xcb_grab_pointer_request_t1 /* xproto.h:2167:3 */ 11837 11838 // * 11839 // @brief xcb_grab_pointer_reply_t 11840 // 11841 type xcb_grab_pointer_reply_t1 = struct { 11842 Fresponse_type uint8_t 11843 Fstatus uint8_t 11844 Fsequence uint16_t 11845 Flength uint32_t 11846 } /* xproto.h:2172:9 */ 11847 11848 // * 11849 // @brief xcb_grab_pointer_reply_t 11850 // 11851 type xcb_grab_pointer_reply_t = xcb_grab_pointer_reply_t1 /* xproto.h:2177:3 */ 11852 11853 //* Opcode for xcb_ungrab_pointer. 11854 11855 // * 11856 // @brief xcb_ungrab_pointer_request_t 11857 // 11858 type xcb_ungrab_pointer_request_t1 = struct { 11859 Fmajor_opcode uint8_t 11860 Fpad0 uint8_t 11861 Flength uint16_t 11862 Ftime xcb_timestamp_t 11863 } /* xproto.h:2185:9 */ 11864 11865 //* Opcode for xcb_ungrab_pointer. 11866 11867 // * 11868 // @brief xcb_ungrab_pointer_request_t 11869 // 11870 type xcb_ungrab_pointer_request_t = xcb_ungrab_pointer_request_t1 /* xproto.h:2190:3 */ 11871 11872 type xcb_button_index_t = uint32 /* xproto.h:2211:3 */ 11873 11874 //* Opcode for xcb_grab_button. 11875 11876 // * 11877 // @brief xcb_grab_button_request_t 11878 // 11879 type xcb_grab_button_request_t1 = struct { 11880 Fmajor_opcode uint8_t 11881 Fowner_events uint8_t 11882 Flength uint16_t 11883 Fgrab_window xcb_window_t 11884 Fevent_mask uint16_t 11885 Fpointer_mode uint8_t 11886 Fkeyboard_mode uint8_t 11887 Fconfine_to xcb_window_t 11888 Fcursor xcb_cursor_t 11889 Fbutton uint8_t 11890 Fpad0 uint8_t 11891 Fmodifiers uint16_t 11892 } /* xproto.h:2219:9 */ 11893 11894 //* Opcode for xcb_grab_button. 11895 11896 // * 11897 // @brief xcb_grab_button_request_t 11898 // 11899 type xcb_grab_button_request_t = xcb_grab_button_request_t1 /* xproto.h:2232:3 */ 11900 11901 //* Opcode for xcb_ungrab_button. 11902 11903 // * 11904 // @brief xcb_ungrab_button_request_t 11905 // 11906 type xcb_ungrab_button_request_t1 = struct { 11907 Fmajor_opcode uint8_t 11908 Fbutton uint8_t 11909 Flength uint16_t 11910 Fgrab_window xcb_window_t 11911 Fmodifiers uint16_t 11912 Fpad0 [2]uint8_t 11913 } /* xproto.h:2240:9 */ 11914 11915 //* Opcode for xcb_ungrab_button. 11916 11917 // * 11918 // @brief xcb_ungrab_button_request_t 11919 // 11920 type xcb_ungrab_button_request_t = xcb_ungrab_button_request_t1 /* xproto.h:2247:3 */ 11921 11922 //* Opcode for xcb_change_active_pointer_grab. 11923 11924 // * 11925 // @brief xcb_change_active_pointer_grab_request_t 11926 // 11927 type xcb_change_active_pointer_grab_request_t1 = struct { 11928 Fmajor_opcode uint8_t 11929 Fpad0 uint8_t 11930 Flength uint16_t 11931 Fcursor xcb_cursor_t 11932 Ftime xcb_timestamp_t 11933 Fevent_mask uint16_t 11934 Fpad1 [2]uint8_t 11935 } /* xproto.h:2255:9 */ 11936 11937 //* Opcode for xcb_change_active_pointer_grab. 11938 11939 // * 11940 // @brief xcb_change_active_pointer_grab_request_t 11941 // 11942 type xcb_change_active_pointer_grab_request_t = xcb_change_active_pointer_grab_request_t1 /* xproto.h:2263:3 */ 11943 11944 // * 11945 // @brief xcb_grab_keyboard_cookie_t 11946 // 11947 type xcb_grab_keyboard_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2268:9 */ 11948 11949 // * 11950 // @brief xcb_grab_keyboard_cookie_t 11951 // 11952 type xcb_grab_keyboard_cookie_t = xcb_grab_keyboard_cookie_t1 /* xproto.h:2270:3 */ 11953 11954 //* Opcode for xcb_grab_keyboard. 11955 11956 // * 11957 // @brief xcb_grab_keyboard_request_t 11958 // 11959 type xcb_grab_keyboard_request_t1 = struct { 11960 Fmajor_opcode uint8_t 11961 Fowner_events uint8_t 11962 Flength uint16_t 11963 Fgrab_window xcb_window_t 11964 Ftime xcb_timestamp_t 11965 Fpointer_mode uint8_t 11966 Fkeyboard_mode uint8_t 11967 Fpad0 [2]uint8_t 11968 } /* xproto.h:2278:9 */ 11969 11970 //* Opcode for xcb_grab_keyboard. 11971 11972 // * 11973 // @brief xcb_grab_keyboard_request_t 11974 // 11975 type xcb_grab_keyboard_request_t = xcb_grab_keyboard_request_t1 /* xproto.h:2287:3 */ 11976 11977 // * 11978 // @brief xcb_grab_keyboard_reply_t 11979 // 11980 type xcb_grab_keyboard_reply_t1 = struct { 11981 Fresponse_type uint8_t 11982 Fstatus uint8_t 11983 Fsequence uint16_t 11984 Flength uint32_t 11985 } /* xproto.h:2292:9 */ 11986 11987 // * 11988 // @brief xcb_grab_keyboard_reply_t 11989 // 11990 type xcb_grab_keyboard_reply_t = xcb_grab_keyboard_reply_t1 /* xproto.h:2297:3 */ 11991 11992 //* Opcode for xcb_ungrab_keyboard. 11993 11994 // * 11995 // @brief xcb_ungrab_keyboard_request_t 11996 // 11997 type xcb_ungrab_keyboard_request_t1 = struct { 11998 Fmajor_opcode uint8_t 11999 Fpad0 uint8_t 12000 Flength uint16_t 12001 Ftime xcb_timestamp_t 12002 } /* xproto.h:2305:9 */ 12003 12004 //* Opcode for xcb_ungrab_keyboard. 12005 12006 // * 12007 // @brief xcb_ungrab_keyboard_request_t 12008 // 12009 type xcb_ungrab_keyboard_request_t = xcb_ungrab_keyboard_request_t1 /* xproto.h:2310:3 */ 12010 12011 type xcb_grab_t = uint32 /* xproto.h:2314:3 */ 12012 12013 //* Opcode for xcb_grab_key. 12014 12015 // * 12016 // @brief xcb_grab_key_request_t 12017 // 12018 type xcb_grab_key_request_t1 = struct { 12019 Fmajor_opcode uint8_t 12020 Fowner_events uint8_t 12021 Flength uint16_t 12022 Fgrab_window xcb_window_t 12023 Fmodifiers uint16_t 12024 Fkey xcb_keycode_t 12025 Fpointer_mode uint8_t 12026 Fkeyboard_mode uint8_t 12027 Fpad0 [3]uint8_t 12028 } /* xproto.h:2322:9 */ 12029 12030 //* Opcode for xcb_grab_key. 12031 12032 // * 12033 // @brief xcb_grab_key_request_t 12034 // 12035 type xcb_grab_key_request_t = xcb_grab_key_request_t1 /* xproto.h:2332:3 */ 12036 12037 //* Opcode for xcb_ungrab_key. 12038 12039 // * 12040 // @brief xcb_ungrab_key_request_t 12041 // 12042 type xcb_ungrab_key_request_t1 = struct { 12043 Fmajor_opcode uint8_t 12044 Fkey xcb_keycode_t 12045 Flength uint16_t 12046 Fgrab_window xcb_window_t 12047 Fmodifiers uint16_t 12048 Fpad0 [2]uint8_t 12049 } /* xproto.h:2340:9 */ 12050 12051 //* Opcode for xcb_ungrab_key. 12052 12053 // * 12054 // @brief xcb_ungrab_key_request_t 12055 // 12056 type xcb_ungrab_key_request_t = xcb_ungrab_key_request_t1 /* xproto.h:2347:3 */ 12057 12058 type xcb_allow_t = uint32 /* xproto.h:2423:3 */ 12059 12060 //* Opcode for xcb_allow_events. 12061 12062 // * 12063 // @brief xcb_allow_events_request_t 12064 // 12065 type xcb_allow_events_request_t1 = struct { 12066 Fmajor_opcode uint8_t 12067 Fmode uint8_t 12068 Flength uint16_t 12069 Ftime xcb_timestamp_t 12070 } /* xproto.h:2431:9 */ 12071 12072 //* Opcode for xcb_allow_events. 12073 12074 // * 12075 // @brief xcb_allow_events_request_t 12076 // 12077 type xcb_allow_events_request_t = xcb_allow_events_request_t1 /* xproto.h:2436:3 */ 12078 12079 //* Opcode for xcb_grab_server. 12080 12081 // * 12082 // @brief xcb_grab_server_request_t 12083 // 12084 type xcb_grab_server_request_t1 = struct { 12085 Fmajor_opcode uint8_t 12086 Fpad0 uint8_t 12087 Flength uint16_t 12088 } /* xproto.h:2444:9 */ 12089 12090 //* Opcode for xcb_grab_server. 12091 12092 // * 12093 // @brief xcb_grab_server_request_t 12094 // 12095 type xcb_grab_server_request_t = xcb_grab_server_request_t1 /* xproto.h:2448:3 */ 12096 12097 //* Opcode for xcb_ungrab_server. 12098 12099 // * 12100 // @brief xcb_ungrab_server_request_t 12101 // 12102 type xcb_ungrab_server_request_t1 = struct { 12103 Fmajor_opcode uint8_t 12104 Fpad0 uint8_t 12105 Flength uint16_t 12106 } /* xproto.h:2456:9 */ 12107 12108 //* Opcode for xcb_ungrab_server. 12109 12110 // * 12111 // @brief xcb_ungrab_server_request_t 12112 // 12113 type xcb_ungrab_server_request_t = xcb_ungrab_server_request_t1 /* xproto.h:2460:3 */ 12114 12115 // * 12116 // @brief xcb_query_pointer_cookie_t 12117 // 12118 type xcb_query_pointer_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2465:9 */ 12119 12120 // * 12121 // @brief xcb_query_pointer_cookie_t 12122 // 12123 type xcb_query_pointer_cookie_t = xcb_query_pointer_cookie_t1 /* xproto.h:2467:3 */ 12124 12125 //* Opcode for xcb_query_pointer. 12126 12127 // * 12128 // @brief xcb_query_pointer_request_t 12129 // 12130 type xcb_query_pointer_request_t1 = struct { 12131 Fmajor_opcode uint8_t 12132 Fpad0 uint8_t 12133 Flength uint16_t 12134 Fwindow xcb_window_t 12135 } /* xproto.h:2475:9 */ 12136 12137 //* Opcode for xcb_query_pointer. 12138 12139 // * 12140 // @brief xcb_query_pointer_request_t 12141 // 12142 type xcb_query_pointer_request_t = xcb_query_pointer_request_t1 /* xproto.h:2480:3 */ 12143 12144 // * 12145 // @brief xcb_query_pointer_reply_t 12146 // 12147 type xcb_query_pointer_reply_t1 = struct { 12148 Fresponse_type uint8_t 12149 Fsame_screen uint8_t 12150 Fsequence uint16_t 12151 Flength uint32_t 12152 Froot xcb_window_t 12153 Fchild xcb_window_t 12154 Froot_x int16_t 12155 Froot_y int16_t 12156 Fwin_x int16_t 12157 Fwin_y int16_t 12158 Fmask uint16_t 12159 Fpad0 [2]uint8_t 12160 } /* xproto.h:2485:9 */ 12161 12162 // * 12163 // @brief xcb_query_pointer_reply_t 12164 // 12165 type xcb_query_pointer_reply_t = xcb_query_pointer_reply_t1 /* xproto.h:2498:3 */ 12166 12167 // * 12168 // @brief xcb_timecoord_t 12169 // 12170 type xcb_timecoord_t1 = struct { 12171 Ftime xcb_timestamp_t 12172 Fx int16_t 12173 Fy int16_t 12174 } /* xproto.h:2503:9 */ 12175 12176 // * 12177 // @brief xcb_timecoord_t 12178 // 12179 type xcb_timecoord_t = xcb_timecoord_t1 /* xproto.h:2507:3 */ 12180 12181 // * 12182 // @brief xcb_timecoord_iterator_t 12183 // 12184 type xcb_timecoord_iterator_t1 = struct { 12185 Fdata uintptr 12186 Frem int32 12187 Findex int32 12188 } /* xproto.h:2512:9 */ 12189 12190 // * 12191 // @brief xcb_timecoord_iterator_t 12192 // 12193 type xcb_timecoord_iterator_t = xcb_timecoord_iterator_t1 /* xproto.h:2516:3 */ 12194 12195 // * 12196 // @brief xcb_get_motion_events_cookie_t 12197 // 12198 type xcb_get_motion_events_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2521:9 */ 12199 12200 // * 12201 // @brief xcb_get_motion_events_cookie_t 12202 // 12203 type xcb_get_motion_events_cookie_t = xcb_get_motion_events_cookie_t1 /* xproto.h:2523:3 */ 12204 12205 //* Opcode for xcb_get_motion_events. 12206 12207 // * 12208 // @brief xcb_get_motion_events_request_t 12209 // 12210 type xcb_get_motion_events_request_t1 = struct { 12211 Fmajor_opcode uint8_t 12212 Fpad0 uint8_t 12213 Flength uint16_t 12214 Fwindow xcb_window_t 12215 Fstart xcb_timestamp_t 12216 Fstop xcb_timestamp_t 12217 } /* xproto.h:2531:9 */ 12218 12219 //* Opcode for xcb_get_motion_events. 12220 12221 // * 12222 // @brief xcb_get_motion_events_request_t 12223 // 12224 type xcb_get_motion_events_request_t = xcb_get_motion_events_request_t1 /* xproto.h:2538:3 */ 12225 12226 // * 12227 // @brief xcb_get_motion_events_reply_t 12228 // 12229 type xcb_get_motion_events_reply_t1 = struct { 12230 Fresponse_type uint8_t 12231 Fpad0 uint8_t 12232 Fsequence uint16_t 12233 Flength uint32_t 12234 Fevents_len uint32_t 12235 Fpad1 [20]uint8_t 12236 } /* xproto.h:2543:9 */ 12237 12238 // * 12239 // @brief xcb_get_motion_events_reply_t 12240 // 12241 type xcb_get_motion_events_reply_t = xcb_get_motion_events_reply_t1 /* xproto.h:2550:3 */ 12242 12243 // * 12244 // @brief xcb_translate_coordinates_cookie_t 12245 // 12246 type xcb_translate_coordinates_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2555:9 */ 12247 12248 // * 12249 // @brief xcb_translate_coordinates_cookie_t 12250 // 12251 type xcb_translate_coordinates_cookie_t = xcb_translate_coordinates_cookie_t1 /* xproto.h:2557:3 */ 12252 12253 //* Opcode for xcb_translate_coordinates. 12254 12255 // * 12256 // @brief xcb_translate_coordinates_request_t 12257 // 12258 type xcb_translate_coordinates_request_t1 = struct { 12259 Fmajor_opcode uint8_t 12260 Fpad0 uint8_t 12261 Flength uint16_t 12262 Fsrc_window xcb_window_t 12263 Fdst_window xcb_window_t 12264 Fsrc_x int16_t 12265 Fsrc_y int16_t 12266 } /* xproto.h:2565:9 */ 12267 12268 //* Opcode for xcb_translate_coordinates. 12269 12270 // * 12271 // @brief xcb_translate_coordinates_request_t 12272 // 12273 type xcb_translate_coordinates_request_t = xcb_translate_coordinates_request_t1 /* xproto.h:2573:3 */ 12274 12275 // * 12276 // @brief xcb_translate_coordinates_reply_t 12277 // 12278 type xcb_translate_coordinates_reply_t1 = struct { 12279 Fresponse_type uint8_t 12280 Fsame_screen uint8_t 12281 Fsequence uint16_t 12282 Flength uint32_t 12283 Fchild xcb_window_t 12284 Fdst_x int16_t 12285 Fdst_y int16_t 12286 } /* xproto.h:2578:9 */ 12287 12288 // * 12289 // @brief xcb_translate_coordinates_reply_t 12290 // 12291 type xcb_translate_coordinates_reply_t = xcb_translate_coordinates_reply_t1 /* xproto.h:2586:3 */ 12292 12293 //* Opcode for xcb_warp_pointer. 12294 12295 // * 12296 // @brief xcb_warp_pointer_request_t 12297 // 12298 type xcb_warp_pointer_request_t1 = struct { 12299 Fmajor_opcode uint8_t 12300 Fpad0 uint8_t 12301 Flength uint16_t 12302 Fsrc_window xcb_window_t 12303 Fdst_window xcb_window_t 12304 Fsrc_x int16_t 12305 Fsrc_y int16_t 12306 Fsrc_width uint16_t 12307 Fsrc_height uint16_t 12308 Fdst_x int16_t 12309 Fdst_y int16_t 12310 } /* xproto.h:2594:9 */ 12311 12312 //* Opcode for xcb_warp_pointer. 12313 12314 // * 12315 // @brief xcb_warp_pointer_request_t 12316 // 12317 type xcb_warp_pointer_request_t = xcb_warp_pointer_request_t1 /* xproto.h:2606:3 */ 12318 12319 type xcb_input_focus_t = uint32 /* xproto.h:2624:3 */ 12320 12321 //* Opcode for xcb_set_input_focus. 12322 12323 // * 12324 // @brief xcb_set_input_focus_request_t 12325 // 12326 type xcb_set_input_focus_request_t1 = struct { 12327 Fmajor_opcode uint8_t 12328 Frevert_to uint8_t 12329 Flength uint16_t 12330 Ffocus xcb_window_t 12331 Ftime xcb_timestamp_t 12332 } /* xproto.h:2632:9 */ 12333 12334 //* Opcode for xcb_set_input_focus. 12335 12336 // * 12337 // @brief xcb_set_input_focus_request_t 12338 // 12339 type xcb_set_input_focus_request_t = xcb_set_input_focus_request_t1 /* xproto.h:2638:3 */ 12340 12341 // * 12342 // @brief xcb_get_input_focus_cookie_t 12343 // 12344 type xcb_get_input_focus_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2643:9 */ 12345 12346 // * 12347 // @brief xcb_get_input_focus_cookie_t 12348 // 12349 type xcb_get_input_focus_cookie_t = xcb_get_input_focus_cookie_t1 /* xproto.h:2645:3 */ 12350 12351 //* Opcode for xcb_get_input_focus. 12352 12353 // * 12354 // @brief xcb_get_input_focus_request_t 12355 // 12356 type xcb_get_input_focus_request_t1 = struct { 12357 Fmajor_opcode uint8_t 12358 Fpad0 uint8_t 12359 Flength uint16_t 12360 } /* xproto.h:2653:9 */ 12361 12362 //* Opcode for xcb_get_input_focus. 12363 12364 // * 12365 // @brief xcb_get_input_focus_request_t 12366 // 12367 type xcb_get_input_focus_request_t = xcb_get_input_focus_request_t1 /* xproto.h:2657:3 */ 12368 12369 // * 12370 // @brief xcb_get_input_focus_reply_t 12371 // 12372 type xcb_get_input_focus_reply_t1 = struct { 12373 Fresponse_type uint8_t 12374 Frevert_to uint8_t 12375 Fsequence uint16_t 12376 Flength uint32_t 12377 Ffocus xcb_window_t 12378 } /* xproto.h:2662:9 */ 12379 12380 // * 12381 // @brief xcb_get_input_focus_reply_t 12382 // 12383 type xcb_get_input_focus_reply_t = xcb_get_input_focus_reply_t1 /* xproto.h:2668:3 */ 12384 12385 // * 12386 // @brief xcb_query_keymap_cookie_t 12387 // 12388 type xcb_query_keymap_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2673:9 */ 12389 12390 // * 12391 // @brief xcb_query_keymap_cookie_t 12392 // 12393 type xcb_query_keymap_cookie_t = xcb_query_keymap_cookie_t1 /* xproto.h:2675:3 */ 12394 12395 //* Opcode for xcb_query_keymap. 12396 12397 // * 12398 // @brief xcb_query_keymap_request_t 12399 // 12400 type xcb_query_keymap_request_t1 = struct { 12401 Fmajor_opcode uint8_t 12402 Fpad0 uint8_t 12403 Flength uint16_t 12404 } /* xproto.h:2683:9 */ 12405 12406 //* Opcode for xcb_query_keymap. 12407 12408 // * 12409 // @brief xcb_query_keymap_request_t 12410 // 12411 type xcb_query_keymap_request_t = xcb_query_keymap_request_t1 /* xproto.h:2687:3 */ 12412 12413 // * 12414 // @brief xcb_query_keymap_reply_t 12415 // 12416 type xcb_query_keymap_reply_t1 = struct { 12417 Fresponse_type uint8_t 12418 Fpad0 uint8_t 12419 Fsequence uint16_t 12420 Flength uint32_t 12421 Fkeys [32]uint8_t 12422 } /* xproto.h:2692:9 */ 12423 12424 // * 12425 // @brief xcb_query_keymap_reply_t 12426 // 12427 type xcb_query_keymap_reply_t = xcb_query_keymap_reply_t1 /* xproto.h:2698:3 */ 12428 12429 //* Opcode for xcb_open_font. 12430 12431 // * 12432 // @brief xcb_open_font_request_t 12433 // 12434 type xcb_open_font_request_t1 = struct { 12435 Fmajor_opcode uint8_t 12436 Fpad0 uint8_t 12437 Flength uint16_t 12438 Ffid xcb_font_t 12439 Fname_len uint16_t 12440 Fpad1 [2]uint8_t 12441 } /* xproto.h:2706:9 */ 12442 12443 //* Opcode for xcb_open_font. 12444 12445 // * 12446 // @brief xcb_open_font_request_t 12447 // 12448 type xcb_open_font_request_t = xcb_open_font_request_t1 /* xproto.h:2713:3 */ 12449 12450 //* Opcode for xcb_close_font. 12451 12452 // * 12453 // @brief xcb_close_font_request_t 12454 // 12455 type xcb_close_font_request_t1 = struct { 12456 Fmajor_opcode uint8_t 12457 Fpad0 uint8_t 12458 Flength uint16_t 12459 Ffont xcb_font_t 12460 } /* xproto.h:2721:9 */ 12461 12462 //* Opcode for xcb_close_font. 12463 12464 // * 12465 // @brief xcb_close_font_request_t 12466 // 12467 type xcb_close_font_request_t = xcb_close_font_request_t1 /* xproto.h:2726:3 */ 12468 12469 type xcb_font_draw_t = uint32 /* xproto.h:2731:3 */ 12470 12471 // * 12472 // @brief xcb_fontprop_t 12473 // 12474 type xcb_fontprop_t1 = struct { 12475 Fname xcb_atom_t 12476 Fvalue uint32_t 12477 } /* xproto.h:2736:9 */ 12478 12479 // * 12480 // @brief xcb_fontprop_t 12481 // 12482 type xcb_fontprop_t = xcb_fontprop_t1 /* xproto.h:2739:3 */ 12483 12484 // * 12485 // @brief xcb_fontprop_iterator_t 12486 // 12487 type xcb_fontprop_iterator_t1 = struct { 12488 Fdata uintptr 12489 Frem int32 12490 Findex int32 12491 } /* xproto.h:2744:9 */ 12492 12493 // * 12494 // @brief xcb_fontprop_iterator_t 12495 // 12496 type xcb_fontprop_iterator_t = xcb_fontprop_iterator_t1 /* xproto.h:2748:3 */ 12497 12498 // * 12499 // @brief xcb_charinfo_t 12500 // 12501 type xcb_charinfo_t1 = struct { 12502 Fleft_side_bearing int16_t 12503 Fright_side_bearing int16_t 12504 Fcharacter_width int16_t 12505 Fascent int16_t 12506 Fdescent int16_t 12507 Fattributes uint16_t 12508 } /* xproto.h:2753:9 */ 12509 12510 // * 12511 // @brief xcb_charinfo_t 12512 // 12513 type xcb_charinfo_t = xcb_charinfo_t1 /* xproto.h:2760:3 */ 12514 12515 // * 12516 // @brief xcb_charinfo_iterator_t 12517 // 12518 type xcb_charinfo_iterator_t1 = struct { 12519 Fdata uintptr 12520 Frem int32 12521 Findex int32 12522 } /* xproto.h:2765:9 */ 12523 12524 // * 12525 // @brief xcb_charinfo_iterator_t 12526 // 12527 type xcb_charinfo_iterator_t = xcb_charinfo_iterator_t1 /* xproto.h:2769:3 */ 12528 12529 // * 12530 // @brief xcb_query_font_cookie_t 12531 // 12532 type xcb_query_font_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2774:9 */ 12533 12534 // * 12535 // @brief xcb_query_font_cookie_t 12536 // 12537 type xcb_query_font_cookie_t = xcb_query_font_cookie_t1 /* xproto.h:2776:3 */ 12538 12539 //* Opcode for xcb_query_font. 12540 12541 // * 12542 // @brief xcb_query_font_request_t 12543 // 12544 type xcb_query_font_request_t1 = struct { 12545 Fmajor_opcode uint8_t 12546 Fpad0 uint8_t 12547 Flength uint16_t 12548 Ffont xcb_fontable_t 12549 } /* xproto.h:2784:9 */ 12550 12551 //* Opcode for xcb_query_font. 12552 12553 // * 12554 // @brief xcb_query_font_request_t 12555 // 12556 type xcb_query_font_request_t = xcb_query_font_request_t1 /* xproto.h:2789:3 */ 12557 12558 // * 12559 // @brief xcb_query_font_reply_t 12560 // 12561 type xcb_query_font_reply_t1 = struct { 12562 Fresponse_type uint8_t 12563 Fpad0 uint8_t 12564 Fsequence uint16_t 12565 Flength uint32_t 12566 Fmin_bounds xcb_charinfo_t 12567 Fpad1 [4]uint8_t 12568 Fmax_bounds xcb_charinfo_t 12569 Fpad2 [4]uint8_t 12570 Fmin_char_or_byte2 uint16_t 12571 Fmax_char_or_byte2 uint16_t 12572 Fdefault_char uint16_t 12573 Fproperties_len uint16_t 12574 Fdraw_direction uint8_t 12575 Fmin_byte1 uint8_t 12576 Fmax_byte1 uint8_t 12577 Fall_chars_exist uint8_t 12578 Ffont_ascent int16_t 12579 Ffont_descent int16_t 12580 Fchar_infos_len uint32_t 12581 } /* xproto.h:2794:9 */ 12582 12583 // * 12584 // @brief xcb_query_font_reply_t 12585 // 12586 type xcb_query_font_reply_t = xcb_query_font_reply_t1 /* xproto.h:2814:3 */ 12587 12588 // * 12589 // @brief xcb_query_text_extents_cookie_t 12590 // 12591 type xcb_query_text_extents_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2819:9 */ 12592 12593 // * 12594 // @brief xcb_query_text_extents_cookie_t 12595 // 12596 type xcb_query_text_extents_cookie_t = xcb_query_text_extents_cookie_t1 /* xproto.h:2821:3 */ 12597 12598 //* Opcode for xcb_query_text_extents. 12599 12600 // * 12601 // @brief xcb_query_text_extents_request_t 12602 // 12603 type xcb_query_text_extents_request_t1 = struct { 12604 Fmajor_opcode uint8_t 12605 Fodd_length uint8_t 12606 Flength uint16_t 12607 Ffont xcb_fontable_t 12608 } /* xproto.h:2829:9 */ 12609 12610 //* Opcode for xcb_query_text_extents. 12611 12612 // * 12613 // @brief xcb_query_text_extents_request_t 12614 // 12615 type xcb_query_text_extents_request_t = xcb_query_text_extents_request_t1 /* xproto.h:2834:3 */ 12616 12617 // * 12618 // @brief xcb_query_text_extents_reply_t 12619 // 12620 type xcb_query_text_extents_reply_t1 = struct { 12621 Fresponse_type uint8_t 12622 Fdraw_direction uint8_t 12623 Fsequence uint16_t 12624 Flength uint32_t 12625 Ffont_ascent int16_t 12626 Ffont_descent int16_t 12627 Foverall_ascent int16_t 12628 Foverall_descent int16_t 12629 Foverall_width int32_t 12630 Foverall_left int32_t 12631 Foverall_right int32_t 12632 } /* xproto.h:2839:9 */ 12633 12634 // * 12635 // @brief xcb_query_text_extents_reply_t 12636 // 12637 type xcb_query_text_extents_reply_t = xcb_query_text_extents_reply_t1 /* xproto.h:2851:3 */ 12638 12639 // * 12640 // @brief xcb_str_t 12641 // 12642 type xcb_str_t1 = struct{ Fname_len uint8_t } /* xproto.h:2856:9 */ 12643 12644 // * 12645 // @brief xcb_str_t 12646 // 12647 type xcb_str_t = xcb_str_t1 /* xproto.h:2858:3 */ 12648 12649 // * 12650 // @brief xcb_str_iterator_t 12651 // 12652 type xcb_str_iterator_t1 = struct { 12653 Fdata uintptr 12654 Frem int32 12655 Findex int32 12656 } /* xproto.h:2863:9 */ 12657 12658 // * 12659 // @brief xcb_str_iterator_t 12660 // 12661 type xcb_str_iterator_t = xcb_str_iterator_t1 /* xproto.h:2867:3 */ 12662 12663 // * 12664 // @brief xcb_list_fonts_cookie_t 12665 // 12666 type xcb_list_fonts_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2872:9 */ 12667 12668 // * 12669 // @brief xcb_list_fonts_cookie_t 12670 // 12671 type xcb_list_fonts_cookie_t = xcb_list_fonts_cookie_t1 /* xproto.h:2874:3 */ 12672 12673 //* Opcode for xcb_list_fonts. 12674 12675 // * 12676 // @brief xcb_list_fonts_request_t 12677 // 12678 type xcb_list_fonts_request_t1 = struct { 12679 Fmajor_opcode uint8_t 12680 Fpad0 uint8_t 12681 Flength uint16_t 12682 Fmax_names uint16_t 12683 Fpattern_len uint16_t 12684 } /* xproto.h:2882:9 */ 12685 12686 //* Opcode for xcb_list_fonts. 12687 12688 // * 12689 // @brief xcb_list_fonts_request_t 12690 // 12691 type xcb_list_fonts_request_t = xcb_list_fonts_request_t1 /* xproto.h:2888:3 */ 12692 12693 // * 12694 // @brief xcb_list_fonts_reply_t 12695 // 12696 type xcb_list_fonts_reply_t1 = struct { 12697 Fresponse_type uint8_t 12698 Fpad0 uint8_t 12699 Fsequence uint16_t 12700 Flength uint32_t 12701 Fnames_len uint16_t 12702 Fpad1 [22]uint8_t 12703 } /* xproto.h:2893:9 */ 12704 12705 // * 12706 // @brief xcb_list_fonts_reply_t 12707 // 12708 type xcb_list_fonts_reply_t = xcb_list_fonts_reply_t1 /* xproto.h:2900:3 */ 12709 12710 // * 12711 // @brief xcb_list_fonts_with_info_cookie_t 12712 // 12713 type xcb_list_fonts_with_info_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2905:9 */ 12714 12715 // * 12716 // @brief xcb_list_fonts_with_info_cookie_t 12717 // 12718 type xcb_list_fonts_with_info_cookie_t = xcb_list_fonts_with_info_cookie_t1 /* xproto.h:2907:3 */ 12719 12720 //* Opcode for xcb_list_fonts_with_info. 12721 12722 // * 12723 // @brief xcb_list_fonts_with_info_request_t 12724 // 12725 type xcb_list_fonts_with_info_request_t1 = struct { 12726 Fmajor_opcode uint8_t 12727 Fpad0 uint8_t 12728 Flength uint16_t 12729 Fmax_names uint16_t 12730 Fpattern_len uint16_t 12731 } /* xproto.h:2915:9 */ 12732 12733 //* Opcode for xcb_list_fonts_with_info. 12734 12735 // * 12736 // @brief xcb_list_fonts_with_info_request_t 12737 // 12738 type xcb_list_fonts_with_info_request_t = xcb_list_fonts_with_info_request_t1 /* xproto.h:2921:3 */ 12739 12740 // * 12741 // @brief xcb_list_fonts_with_info_reply_t 12742 // 12743 type xcb_list_fonts_with_info_reply_t1 = struct { 12744 Fresponse_type uint8_t 12745 Fname_len uint8_t 12746 Fsequence uint16_t 12747 Flength uint32_t 12748 Fmin_bounds xcb_charinfo_t 12749 Fpad0 [4]uint8_t 12750 Fmax_bounds xcb_charinfo_t 12751 Fpad1 [4]uint8_t 12752 Fmin_char_or_byte2 uint16_t 12753 Fmax_char_or_byte2 uint16_t 12754 Fdefault_char uint16_t 12755 Fproperties_len uint16_t 12756 Fdraw_direction uint8_t 12757 Fmin_byte1 uint8_t 12758 Fmax_byte1 uint8_t 12759 Fall_chars_exist uint8_t 12760 Ffont_ascent int16_t 12761 Ffont_descent int16_t 12762 Freplies_hint uint32_t 12763 } /* xproto.h:2926:9 */ 12764 12765 // * 12766 // @brief xcb_list_fonts_with_info_reply_t 12767 // 12768 type xcb_list_fonts_with_info_reply_t = xcb_list_fonts_with_info_reply_t1 /* xproto.h:2946:3 */ 12769 12770 //* Opcode for xcb_set_font_path. 12771 12772 // * 12773 // @brief xcb_set_font_path_request_t 12774 // 12775 type xcb_set_font_path_request_t1 = struct { 12776 Fmajor_opcode uint8_t 12777 Fpad0 uint8_t 12778 Flength uint16_t 12779 Ffont_qty uint16_t 12780 Fpad1 [2]uint8_t 12781 } /* xproto.h:2954:9 */ 12782 12783 //* Opcode for xcb_set_font_path. 12784 12785 // * 12786 // @brief xcb_set_font_path_request_t 12787 // 12788 type xcb_set_font_path_request_t = xcb_set_font_path_request_t1 /* xproto.h:2960:3 */ 12789 12790 // * 12791 // @brief xcb_get_font_path_cookie_t 12792 // 12793 type xcb_get_font_path_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:2965:9 */ 12794 12795 // * 12796 // @brief xcb_get_font_path_cookie_t 12797 // 12798 type xcb_get_font_path_cookie_t = xcb_get_font_path_cookie_t1 /* xproto.h:2967:3 */ 12799 12800 //* Opcode for xcb_get_font_path. 12801 12802 // * 12803 // @brief xcb_get_font_path_request_t 12804 // 12805 type xcb_get_font_path_request_t1 = struct { 12806 Fmajor_opcode uint8_t 12807 Fpad0 uint8_t 12808 Flength uint16_t 12809 } /* xproto.h:2975:9 */ 12810 12811 //* Opcode for xcb_get_font_path. 12812 12813 // * 12814 // @brief xcb_get_font_path_request_t 12815 // 12816 type xcb_get_font_path_request_t = xcb_get_font_path_request_t1 /* xproto.h:2979:3 */ 12817 12818 // * 12819 // @brief xcb_get_font_path_reply_t 12820 // 12821 type xcb_get_font_path_reply_t1 = struct { 12822 Fresponse_type uint8_t 12823 Fpad0 uint8_t 12824 Fsequence uint16_t 12825 Flength uint32_t 12826 Fpath_len uint16_t 12827 Fpad1 [22]uint8_t 12828 } /* xproto.h:2984:9 */ 12829 12830 // * 12831 // @brief xcb_get_font_path_reply_t 12832 // 12833 type xcb_get_font_path_reply_t = xcb_get_font_path_reply_t1 /* xproto.h:2991:3 */ 12834 12835 //* Opcode for xcb_create_pixmap. 12836 12837 // * 12838 // @brief xcb_create_pixmap_request_t 12839 // 12840 type xcb_create_pixmap_request_t1 = struct { 12841 Fmajor_opcode uint8_t 12842 Fdepth uint8_t 12843 Flength uint16_t 12844 Fpid xcb_pixmap_t 12845 Fdrawable xcb_drawable_t 12846 Fwidth uint16_t 12847 Fheight uint16_t 12848 } /* xproto.h:2999:9 */ 12849 12850 //* Opcode for xcb_create_pixmap. 12851 12852 // * 12853 // @brief xcb_create_pixmap_request_t 12854 // 12855 type xcb_create_pixmap_request_t = xcb_create_pixmap_request_t1 /* xproto.h:3007:3 */ 12856 12857 //* Opcode for xcb_free_pixmap. 12858 12859 // * 12860 // @brief xcb_free_pixmap_request_t 12861 // 12862 type xcb_free_pixmap_request_t1 = struct { 12863 Fmajor_opcode uint8_t 12864 Fpad0 uint8_t 12865 Flength uint16_t 12866 Fpixmap xcb_pixmap_t 12867 } /* xproto.h:3015:9 */ 12868 12869 //* Opcode for xcb_free_pixmap. 12870 12871 // * 12872 // @brief xcb_free_pixmap_request_t 12873 // 12874 type xcb_free_pixmap_request_t = xcb_free_pixmap_request_t1 /* xproto.h:3020:3 */ 12875 12876 type xcb_gc_t = uint32 /* xproto.h:3169:3 */ 12877 12878 type xcb_gx_t = uint32 /* xproto.h:3188:3 */ 12879 12880 type xcb_line_style_t = uint32 /* xproto.h:3194:3 */ 12881 12882 type xcb_cap_style_t = uint32 /* xproto.h:3201:3 */ 12883 12884 type xcb_join_style_t = uint32 /* xproto.h:3207:3 */ 12885 12886 type xcb_fill_style_t = uint32 /* xproto.h:3214:3 */ 12887 12888 type xcb_fill_rule_t = uint32 /* xproto.h:3219:3 */ 12889 12890 type xcb_subwindow_mode_t = uint32 /* xproto.h:3224:3 */ 12891 12892 type xcb_arc_mode_t = uint32 /* xproto.h:3229:3 */ 12893 12894 // * 12895 // @brief xcb_create_gc_value_list_t 12896 // 12897 type xcb_create_gc_value_list_t1 = struct { 12898 Ffunction uint32_t 12899 Fplane_mask uint32_t 12900 Fforeground uint32_t 12901 Fbackground uint32_t 12902 Fline_width uint32_t 12903 Fline_style uint32_t 12904 Fcap_style uint32_t 12905 Fjoin_style uint32_t 12906 Ffill_style uint32_t 12907 Ffill_rule uint32_t 12908 Ftile xcb_pixmap_t 12909 Fstipple xcb_pixmap_t 12910 Ftile_stipple_x_origin int32_t 12911 Ftile_stipple_y_origin int32_t 12912 Ffont xcb_font_t 12913 Fsubwindow_mode uint32_t 12914 Fgraphics_exposures xcb_bool32_t 12915 Fclip_x_origin int32_t 12916 Fclip_y_origin int32_t 12917 Fclip_mask xcb_pixmap_t 12918 Fdash_offset uint32_t 12919 Fdashes uint32_t 12920 Farc_mode uint32_t 12921 } /* xproto.h:3234:9 */ 12922 12923 // * 12924 // @brief xcb_create_gc_value_list_t 12925 // 12926 type xcb_create_gc_value_list_t = xcb_create_gc_value_list_t1 /* xproto.h:3258:3 */ 12927 12928 //* Opcode for xcb_create_gc. 12929 12930 // * 12931 // @brief xcb_create_gc_request_t 12932 // 12933 type xcb_create_gc_request_t1 = struct { 12934 Fmajor_opcode uint8_t 12935 Fpad0 uint8_t 12936 Flength uint16_t 12937 Fcid xcb_gcontext_t 12938 Fdrawable xcb_drawable_t 12939 Fvalue_mask uint32_t 12940 } /* xproto.h:3266:9 */ 12941 12942 //* Opcode for xcb_create_gc. 12943 12944 // * 12945 // @brief xcb_create_gc_request_t 12946 // 12947 type xcb_create_gc_request_t = xcb_create_gc_request_t1 /* xproto.h:3273:3 */ 12948 12949 // * 12950 // @brief xcb_change_gc_value_list_t 12951 // 12952 type xcb_change_gc_value_list_t1 = struct { 12953 Ffunction uint32_t 12954 Fplane_mask uint32_t 12955 Fforeground uint32_t 12956 Fbackground uint32_t 12957 Fline_width uint32_t 12958 Fline_style uint32_t 12959 Fcap_style uint32_t 12960 Fjoin_style uint32_t 12961 Ffill_style uint32_t 12962 Ffill_rule uint32_t 12963 Ftile xcb_pixmap_t 12964 Fstipple xcb_pixmap_t 12965 Ftile_stipple_x_origin int32_t 12966 Ftile_stipple_y_origin int32_t 12967 Ffont xcb_font_t 12968 Fsubwindow_mode uint32_t 12969 Fgraphics_exposures xcb_bool32_t 12970 Fclip_x_origin int32_t 12971 Fclip_y_origin int32_t 12972 Fclip_mask xcb_pixmap_t 12973 Fdash_offset uint32_t 12974 Fdashes uint32_t 12975 Farc_mode uint32_t 12976 } /* xproto.h:3278:9 */ 12977 12978 // * 12979 // @brief xcb_change_gc_value_list_t 12980 // 12981 type xcb_change_gc_value_list_t = xcb_change_gc_value_list_t1 /* xproto.h:3302:3 */ 12982 12983 //* Opcode for xcb_change_gc. 12984 12985 // * 12986 // @brief xcb_change_gc_request_t 12987 // 12988 type xcb_change_gc_request_t1 = struct { 12989 Fmajor_opcode uint8_t 12990 Fpad0 uint8_t 12991 Flength uint16_t 12992 Fgc xcb_gcontext_t 12993 Fvalue_mask uint32_t 12994 } /* xproto.h:3310:9 */ 12995 12996 //* Opcode for xcb_change_gc. 12997 12998 // * 12999 // @brief xcb_change_gc_request_t 13000 // 13001 type xcb_change_gc_request_t = xcb_change_gc_request_t1 /* xproto.h:3316:3 */ 13002 13003 //* Opcode for xcb_copy_gc. 13004 13005 // * 13006 // @brief xcb_copy_gc_request_t 13007 // 13008 type xcb_copy_gc_request_t1 = struct { 13009 Fmajor_opcode uint8_t 13010 Fpad0 uint8_t 13011 Flength uint16_t 13012 Fsrc_gc xcb_gcontext_t 13013 Fdst_gc xcb_gcontext_t 13014 Fvalue_mask uint32_t 13015 } /* xproto.h:3324:9 */ 13016 13017 //* Opcode for xcb_copy_gc. 13018 13019 // * 13020 // @brief xcb_copy_gc_request_t 13021 // 13022 type xcb_copy_gc_request_t = xcb_copy_gc_request_t1 /* xproto.h:3331:3 */ 13023 13024 //* Opcode for xcb_set_dashes. 13025 13026 // * 13027 // @brief xcb_set_dashes_request_t 13028 // 13029 type xcb_set_dashes_request_t1 = struct { 13030 Fmajor_opcode uint8_t 13031 Fpad0 uint8_t 13032 Flength uint16_t 13033 Fgc xcb_gcontext_t 13034 Fdash_offset uint16_t 13035 Fdashes_len uint16_t 13036 } /* xproto.h:3339:9 */ 13037 13038 //* Opcode for xcb_set_dashes. 13039 13040 // * 13041 // @brief xcb_set_dashes_request_t 13042 // 13043 type xcb_set_dashes_request_t = xcb_set_dashes_request_t1 /* xproto.h:3346:3 */ 13044 13045 type xcb_clip_ordering_t = uint32 /* xproto.h:3353:3 */ 13046 13047 //* Opcode for xcb_set_clip_rectangles. 13048 13049 // * 13050 // @brief xcb_set_clip_rectangles_request_t 13051 // 13052 type xcb_set_clip_rectangles_request_t1 = struct { 13053 Fmajor_opcode uint8_t 13054 Fordering uint8_t 13055 Flength uint16_t 13056 Fgc xcb_gcontext_t 13057 Fclip_x_origin int16_t 13058 Fclip_y_origin int16_t 13059 } /* xproto.h:3361:9 */ 13060 13061 //* Opcode for xcb_set_clip_rectangles. 13062 13063 // * 13064 // @brief xcb_set_clip_rectangles_request_t 13065 // 13066 type xcb_set_clip_rectangles_request_t = xcb_set_clip_rectangles_request_t1 /* xproto.h:3368:3 */ 13067 13068 //* Opcode for xcb_free_gc. 13069 13070 // * 13071 // @brief xcb_free_gc_request_t 13072 // 13073 type xcb_free_gc_request_t1 = struct { 13074 Fmajor_opcode uint8_t 13075 Fpad0 uint8_t 13076 Flength uint16_t 13077 Fgc xcb_gcontext_t 13078 } /* xproto.h:3376:9 */ 13079 13080 //* Opcode for xcb_free_gc. 13081 13082 // * 13083 // @brief xcb_free_gc_request_t 13084 // 13085 type xcb_free_gc_request_t = xcb_free_gc_request_t1 /* xproto.h:3381:3 */ 13086 13087 //* Opcode for xcb_clear_area. 13088 13089 // * 13090 // @brief xcb_clear_area_request_t 13091 // 13092 type xcb_clear_area_request_t1 = struct { 13093 Fmajor_opcode uint8_t 13094 Fexposures uint8_t 13095 Flength uint16_t 13096 Fwindow xcb_window_t 13097 Fx int16_t 13098 Fy int16_t 13099 Fwidth uint16_t 13100 Fheight uint16_t 13101 } /* xproto.h:3389:9 */ 13102 13103 //* Opcode for xcb_clear_area. 13104 13105 // * 13106 // @brief xcb_clear_area_request_t 13107 // 13108 type xcb_clear_area_request_t = xcb_clear_area_request_t1 /* xproto.h:3398:3 */ 13109 13110 //* Opcode for xcb_copy_area. 13111 13112 // * 13113 // @brief xcb_copy_area_request_t 13114 // 13115 type xcb_copy_area_request_t1 = struct { 13116 Fmajor_opcode uint8_t 13117 Fpad0 uint8_t 13118 Flength uint16_t 13119 Fsrc_drawable xcb_drawable_t 13120 Fdst_drawable xcb_drawable_t 13121 Fgc xcb_gcontext_t 13122 Fsrc_x int16_t 13123 Fsrc_y int16_t 13124 Fdst_x int16_t 13125 Fdst_y int16_t 13126 Fwidth uint16_t 13127 Fheight uint16_t 13128 } /* xproto.h:3406:9 */ 13129 13130 //* Opcode for xcb_copy_area. 13131 13132 // * 13133 // @brief xcb_copy_area_request_t 13134 // 13135 type xcb_copy_area_request_t = xcb_copy_area_request_t1 /* xproto.h:3419:3 */ 13136 13137 //* Opcode for xcb_copy_plane. 13138 13139 // * 13140 // @brief xcb_copy_plane_request_t 13141 // 13142 type xcb_copy_plane_request_t1 = struct { 13143 Fmajor_opcode uint8_t 13144 Fpad0 uint8_t 13145 Flength uint16_t 13146 Fsrc_drawable xcb_drawable_t 13147 Fdst_drawable xcb_drawable_t 13148 Fgc xcb_gcontext_t 13149 Fsrc_x int16_t 13150 Fsrc_y int16_t 13151 Fdst_x int16_t 13152 Fdst_y int16_t 13153 Fwidth uint16_t 13154 Fheight uint16_t 13155 Fbit_plane uint32_t 13156 } /* xproto.h:3427:9 */ 13157 13158 //* Opcode for xcb_copy_plane. 13159 13160 // * 13161 // @brief xcb_copy_plane_request_t 13162 // 13163 type xcb_copy_plane_request_t = xcb_copy_plane_request_t1 /* xproto.h:3441:3 */ 13164 13165 type xcb_coord_mode_t = uint32 /* xproto.h:3450:3 */ 13166 13167 //* Opcode for xcb_poly_point. 13168 13169 // * 13170 // @brief xcb_poly_point_request_t 13171 // 13172 type xcb_poly_point_request_t1 = struct { 13173 Fmajor_opcode uint8_t 13174 Fcoordinate_mode uint8_t 13175 Flength uint16_t 13176 Fdrawable xcb_drawable_t 13177 Fgc xcb_gcontext_t 13178 } /* xproto.h:3458:9 */ 13179 13180 //* Opcode for xcb_poly_point. 13181 13182 // * 13183 // @brief xcb_poly_point_request_t 13184 // 13185 type xcb_poly_point_request_t = xcb_poly_point_request_t1 /* xproto.h:3464:3 */ 13186 13187 //* Opcode for xcb_poly_line. 13188 13189 // * 13190 // @brief xcb_poly_line_request_t 13191 // 13192 type xcb_poly_line_request_t1 = struct { 13193 Fmajor_opcode uint8_t 13194 Fcoordinate_mode uint8_t 13195 Flength uint16_t 13196 Fdrawable xcb_drawable_t 13197 Fgc xcb_gcontext_t 13198 } /* xproto.h:3472:9 */ 13199 13200 //* Opcode for xcb_poly_line. 13201 13202 // * 13203 // @brief xcb_poly_line_request_t 13204 // 13205 type xcb_poly_line_request_t = xcb_poly_line_request_t1 /* xproto.h:3478:3 */ 13206 13207 // * 13208 // @brief xcb_segment_t 13209 // 13210 type xcb_segment_t1 = struct { 13211 Fx1 int16_t 13212 Fy1 int16_t 13213 Fx2 int16_t 13214 Fy2 int16_t 13215 } /* xproto.h:3483:9 */ 13216 13217 // * 13218 // @brief xcb_segment_t 13219 // 13220 type xcb_segment_t = xcb_segment_t1 /* xproto.h:3488:3 */ 13221 13222 // * 13223 // @brief xcb_segment_iterator_t 13224 // 13225 type xcb_segment_iterator_t1 = struct { 13226 Fdata uintptr 13227 Frem int32 13228 Findex int32 13229 } /* xproto.h:3493:9 */ 13230 13231 // * 13232 // @brief xcb_segment_iterator_t 13233 // 13234 type xcb_segment_iterator_t = xcb_segment_iterator_t1 /* xproto.h:3497:3 */ 13235 13236 //* Opcode for xcb_poly_segment. 13237 13238 // * 13239 // @brief xcb_poly_segment_request_t 13240 // 13241 type xcb_poly_segment_request_t1 = struct { 13242 Fmajor_opcode uint8_t 13243 Fpad0 uint8_t 13244 Flength uint16_t 13245 Fdrawable xcb_drawable_t 13246 Fgc xcb_gcontext_t 13247 } /* xproto.h:3505:9 */ 13248 13249 //* Opcode for xcb_poly_segment. 13250 13251 // * 13252 // @brief xcb_poly_segment_request_t 13253 // 13254 type xcb_poly_segment_request_t = xcb_poly_segment_request_t1 /* xproto.h:3511:3 */ 13255 13256 //* Opcode for xcb_poly_rectangle. 13257 13258 // * 13259 // @brief xcb_poly_rectangle_request_t 13260 // 13261 type xcb_poly_rectangle_request_t1 = struct { 13262 Fmajor_opcode uint8_t 13263 Fpad0 uint8_t 13264 Flength uint16_t 13265 Fdrawable xcb_drawable_t 13266 Fgc xcb_gcontext_t 13267 } /* xproto.h:3519:9 */ 13268 13269 //* Opcode for xcb_poly_rectangle. 13270 13271 // * 13272 // @brief xcb_poly_rectangle_request_t 13273 // 13274 type xcb_poly_rectangle_request_t = xcb_poly_rectangle_request_t1 /* xproto.h:3525:3 */ 13275 13276 //* Opcode for xcb_poly_arc. 13277 13278 // * 13279 // @brief xcb_poly_arc_request_t 13280 // 13281 type xcb_poly_arc_request_t1 = struct { 13282 Fmajor_opcode uint8_t 13283 Fpad0 uint8_t 13284 Flength uint16_t 13285 Fdrawable xcb_drawable_t 13286 Fgc xcb_gcontext_t 13287 } /* xproto.h:3533:9 */ 13288 13289 //* Opcode for xcb_poly_arc. 13290 13291 // * 13292 // @brief xcb_poly_arc_request_t 13293 // 13294 type xcb_poly_arc_request_t = xcb_poly_arc_request_t1 /* xproto.h:3539:3 */ 13295 13296 type xcb_poly_shape_t = uint32 /* xproto.h:3545:3 */ 13297 13298 //* Opcode for xcb_fill_poly. 13299 13300 // * 13301 // @brief xcb_fill_poly_request_t 13302 // 13303 type xcb_fill_poly_request_t1 = struct { 13304 Fmajor_opcode uint8_t 13305 Fpad0 uint8_t 13306 Flength uint16_t 13307 Fdrawable xcb_drawable_t 13308 Fgc xcb_gcontext_t 13309 Fshape uint8_t 13310 Fcoordinate_mode uint8_t 13311 Fpad1 [2]uint8_t 13312 } /* xproto.h:3553:9 */ 13313 13314 //* Opcode for xcb_fill_poly. 13315 13316 // * 13317 // @brief xcb_fill_poly_request_t 13318 // 13319 type xcb_fill_poly_request_t = xcb_fill_poly_request_t1 /* xproto.h:3562:3 */ 13320 13321 //* Opcode for xcb_poly_fill_rectangle. 13322 13323 // * 13324 // @brief xcb_poly_fill_rectangle_request_t 13325 // 13326 type xcb_poly_fill_rectangle_request_t1 = struct { 13327 Fmajor_opcode uint8_t 13328 Fpad0 uint8_t 13329 Flength uint16_t 13330 Fdrawable xcb_drawable_t 13331 Fgc xcb_gcontext_t 13332 } /* xproto.h:3570:9 */ 13333 13334 //* Opcode for xcb_poly_fill_rectangle. 13335 13336 // * 13337 // @brief xcb_poly_fill_rectangle_request_t 13338 // 13339 type xcb_poly_fill_rectangle_request_t = xcb_poly_fill_rectangle_request_t1 /* xproto.h:3576:3 */ 13340 13341 //* Opcode for xcb_poly_fill_arc. 13342 13343 // * 13344 // @brief xcb_poly_fill_arc_request_t 13345 // 13346 type xcb_poly_fill_arc_request_t1 = struct { 13347 Fmajor_opcode uint8_t 13348 Fpad0 uint8_t 13349 Flength uint16_t 13350 Fdrawable xcb_drawable_t 13351 Fgc xcb_gcontext_t 13352 } /* xproto.h:3584:9 */ 13353 13354 //* Opcode for xcb_poly_fill_arc. 13355 13356 // * 13357 // @brief xcb_poly_fill_arc_request_t 13358 // 13359 type xcb_poly_fill_arc_request_t = xcb_poly_fill_arc_request_t1 /* xproto.h:3590:3 */ 13360 13361 type xcb_image_format_t = uint32 /* xproto.h:3596:3 */ 13362 13363 //* Opcode for xcb_put_image. 13364 13365 // * 13366 // @brief xcb_put_image_request_t 13367 // 13368 type xcb_put_image_request_t1 = struct { 13369 Fmajor_opcode uint8_t 13370 Fformat uint8_t 13371 Flength uint16_t 13372 Fdrawable xcb_drawable_t 13373 Fgc xcb_gcontext_t 13374 Fwidth uint16_t 13375 Fheight uint16_t 13376 Fdst_x int16_t 13377 Fdst_y int16_t 13378 Fleft_pad uint8_t 13379 Fdepth uint8_t 13380 Fpad0 [2]uint8_t 13381 } /* xproto.h:3604:9 */ 13382 13383 //* Opcode for xcb_put_image. 13384 13385 // * 13386 // @brief xcb_put_image_request_t 13387 // 13388 type xcb_put_image_request_t = xcb_put_image_request_t1 /* xproto.h:3617:3 */ 13389 13390 // * 13391 // @brief xcb_get_image_cookie_t 13392 // 13393 type xcb_get_image_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3622:9 */ 13394 13395 // * 13396 // @brief xcb_get_image_cookie_t 13397 // 13398 type xcb_get_image_cookie_t = xcb_get_image_cookie_t1 /* xproto.h:3624:3 */ 13399 13400 //* Opcode for xcb_get_image. 13401 13402 // * 13403 // @brief xcb_get_image_request_t 13404 // 13405 type xcb_get_image_request_t1 = struct { 13406 Fmajor_opcode uint8_t 13407 Fformat uint8_t 13408 Flength uint16_t 13409 Fdrawable xcb_drawable_t 13410 Fx int16_t 13411 Fy int16_t 13412 Fwidth uint16_t 13413 Fheight uint16_t 13414 Fplane_mask uint32_t 13415 } /* xproto.h:3632:9 */ 13416 13417 //* Opcode for xcb_get_image. 13418 13419 // * 13420 // @brief xcb_get_image_request_t 13421 // 13422 type xcb_get_image_request_t = xcb_get_image_request_t1 /* xproto.h:3642:3 */ 13423 13424 // * 13425 // @brief xcb_get_image_reply_t 13426 // 13427 type xcb_get_image_reply_t1 = struct { 13428 Fresponse_type uint8_t 13429 Fdepth uint8_t 13430 Fsequence uint16_t 13431 Flength uint32_t 13432 Fvisual xcb_visualid_t 13433 Fpad0 [20]uint8_t 13434 } /* xproto.h:3647:9 */ 13435 13436 // * 13437 // @brief xcb_get_image_reply_t 13438 // 13439 type xcb_get_image_reply_t = xcb_get_image_reply_t1 /* xproto.h:3654:3 */ 13440 13441 //* Opcode for xcb_poly_text_8. 13442 13443 // * 13444 // @brief xcb_poly_text_8_request_t 13445 // 13446 type xcb_poly_text_8_request_t1 = struct { 13447 Fmajor_opcode uint8_t 13448 Fpad0 uint8_t 13449 Flength uint16_t 13450 Fdrawable xcb_drawable_t 13451 Fgc xcb_gcontext_t 13452 Fx int16_t 13453 Fy int16_t 13454 } /* xproto.h:3662:9 */ 13455 13456 //* Opcode for xcb_poly_text_8. 13457 13458 // * 13459 // @brief xcb_poly_text_8_request_t 13460 // 13461 type xcb_poly_text_8_request_t = xcb_poly_text_8_request_t1 /* xproto.h:3670:3 */ 13462 13463 //* Opcode for xcb_poly_text_16. 13464 13465 // * 13466 // @brief xcb_poly_text_16_request_t 13467 // 13468 type xcb_poly_text_16_request_t1 = struct { 13469 Fmajor_opcode uint8_t 13470 Fpad0 uint8_t 13471 Flength uint16_t 13472 Fdrawable xcb_drawable_t 13473 Fgc xcb_gcontext_t 13474 Fx int16_t 13475 Fy int16_t 13476 } /* xproto.h:3678:9 */ 13477 13478 //* Opcode for xcb_poly_text_16. 13479 13480 // * 13481 // @brief xcb_poly_text_16_request_t 13482 // 13483 type xcb_poly_text_16_request_t = xcb_poly_text_16_request_t1 /* xproto.h:3686:3 */ 13484 13485 //* Opcode for xcb_image_text_8. 13486 13487 // * 13488 // @brief xcb_image_text_8_request_t 13489 // 13490 type xcb_image_text_8_request_t1 = struct { 13491 Fmajor_opcode uint8_t 13492 Fstring_len uint8_t 13493 Flength uint16_t 13494 Fdrawable xcb_drawable_t 13495 Fgc xcb_gcontext_t 13496 Fx int16_t 13497 Fy int16_t 13498 } /* xproto.h:3694:9 */ 13499 13500 //* Opcode for xcb_image_text_8. 13501 13502 // * 13503 // @brief xcb_image_text_8_request_t 13504 // 13505 type xcb_image_text_8_request_t = xcb_image_text_8_request_t1 /* xproto.h:3702:3 */ 13506 13507 //* Opcode for xcb_image_text_16. 13508 13509 // * 13510 // @brief xcb_image_text_16_request_t 13511 // 13512 type xcb_image_text_16_request_t1 = struct { 13513 Fmajor_opcode uint8_t 13514 Fstring_len uint8_t 13515 Flength uint16_t 13516 Fdrawable xcb_drawable_t 13517 Fgc xcb_gcontext_t 13518 Fx int16_t 13519 Fy int16_t 13520 } /* xproto.h:3710:9 */ 13521 13522 //* Opcode for xcb_image_text_16. 13523 13524 // * 13525 // @brief xcb_image_text_16_request_t 13526 // 13527 type xcb_image_text_16_request_t = xcb_image_text_16_request_t1 /* xproto.h:3718:3 */ 13528 13529 type xcb_colormap_alloc_t = uint32 /* xproto.h:3723:3 */ 13530 13531 //* Opcode for xcb_create_colormap. 13532 13533 // * 13534 // @brief xcb_create_colormap_request_t 13535 // 13536 type xcb_create_colormap_request_t1 = struct { 13537 Fmajor_opcode uint8_t 13538 Falloc uint8_t 13539 Flength uint16_t 13540 Fmid xcb_colormap_t 13541 Fwindow xcb_window_t 13542 Fvisual xcb_visualid_t 13543 } /* xproto.h:3731:9 */ 13544 13545 //* Opcode for xcb_create_colormap. 13546 13547 // * 13548 // @brief xcb_create_colormap_request_t 13549 // 13550 type xcb_create_colormap_request_t = xcb_create_colormap_request_t1 /* xproto.h:3738:3 */ 13551 13552 //* Opcode for xcb_free_colormap. 13553 13554 // * 13555 // @brief xcb_free_colormap_request_t 13556 // 13557 type xcb_free_colormap_request_t1 = struct { 13558 Fmajor_opcode uint8_t 13559 Fpad0 uint8_t 13560 Flength uint16_t 13561 Fcmap xcb_colormap_t 13562 } /* xproto.h:3746:9 */ 13563 13564 //* Opcode for xcb_free_colormap. 13565 13566 // * 13567 // @brief xcb_free_colormap_request_t 13568 // 13569 type xcb_free_colormap_request_t = xcb_free_colormap_request_t1 /* xproto.h:3751:3 */ 13570 13571 //* Opcode for xcb_copy_colormap_and_free. 13572 13573 // * 13574 // @brief xcb_copy_colormap_and_free_request_t 13575 // 13576 type xcb_copy_colormap_and_free_request_t1 = struct { 13577 Fmajor_opcode uint8_t 13578 Fpad0 uint8_t 13579 Flength uint16_t 13580 Fmid xcb_colormap_t 13581 Fsrc_cmap xcb_colormap_t 13582 } /* xproto.h:3759:9 */ 13583 13584 //* Opcode for xcb_copy_colormap_and_free. 13585 13586 // * 13587 // @brief xcb_copy_colormap_and_free_request_t 13588 // 13589 type xcb_copy_colormap_and_free_request_t = xcb_copy_colormap_and_free_request_t1 /* xproto.h:3765:3 */ 13590 13591 //* Opcode for xcb_install_colormap. 13592 13593 // * 13594 // @brief xcb_install_colormap_request_t 13595 // 13596 type xcb_install_colormap_request_t1 = struct { 13597 Fmajor_opcode uint8_t 13598 Fpad0 uint8_t 13599 Flength uint16_t 13600 Fcmap xcb_colormap_t 13601 } /* xproto.h:3773:9 */ 13602 13603 //* Opcode for xcb_install_colormap. 13604 13605 // * 13606 // @brief xcb_install_colormap_request_t 13607 // 13608 type xcb_install_colormap_request_t = xcb_install_colormap_request_t1 /* xproto.h:3778:3 */ 13609 13610 //* Opcode for xcb_uninstall_colormap. 13611 13612 // * 13613 // @brief xcb_uninstall_colormap_request_t 13614 // 13615 type xcb_uninstall_colormap_request_t1 = struct { 13616 Fmajor_opcode uint8_t 13617 Fpad0 uint8_t 13618 Flength uint16_t 13619 Fcmap xcb_colormap_t 13620 } /* xproto.h:3786:9 */ 13621 13622 //* Opcode for xcb_uninstall_colormap. 13623 13624 // * 13625 // @brief xcb_uninstall_colormap_request_t 13626 // 13627 type xcb_uninstall_colormap_request_t = xcb_uninstall_colormap_request_t1 /* xproto.h:3791:3 */ 13628 13629 // * 13630 // @brief xcb_list_installed_colormaps_cookie_t 13631 // 13632 type xcb_list_installed_colormaps_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3796:9 */ 13633 13634 // * 13635 // @brief xcb_list_installed_colormaps_cookie_t 13636 // 13637 type xcb_list_installed_colormaps_cookie_t = xcb_list_installed_colormaps_cookie_t1 /* xproto.h:3798:3 */ 13638 13639 //* Opcode for xcb_list_installed_colormaps. 13640 13641 // * 13642 // @brief xcb_list_installed_colormaps_request_t 13643 // 13644 type xcb_list_installed_colormaps_request_t1 = struct { 13645 Fmajor_opcode uint8_t 13646 Fpad0 uint8_t 13647 Flength uint16_t 13648 Fwindow xcb_window_t 13649 } /* xproto.h:3806:9 */ 13650 13651 //* Opcode for xcb_list_installed_colormaps. 13652 13653 // * 13654 // @brief xcb_list_installed_colormaps_request_t 13655 // 13656 type xcb_list_installed_colormaps_request_t = xcb_list_installed_colormaps_request_t1 /* xproto.h:3811:3 */ 13657 13658 // * 13659 // @brief xcb_list_installed_colormaps_reply_t 13660 // 13661 type xcb_list_installed_colormaps_reply_t1 = struct { 13662 Fresponse_type uint8_t 13663 Fpad0 uint8_t 13664 Fsequence uint16_t 13665 Flength uint32_t 13666 Fcmaps_len uint16_t 13667 Fpad1 [22]uint8_t 13668 } /* xproto.h:3816:9 */ 13669 13670 // * 13671 // @brief xcb_list_installed_colormaps_reply_t 13672 // 13673 type xcb_list_installed_colormaps_reply_t = xcb_list_installed_colormaps_reply_t1 /* xproto.h:3823:3 */ 13674 13675 // * 13676 // @brief xcb_alloc_color_cookie_t 13677 // 13678 type xcb_alloc_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3828:9 */ 13679 13680 // * 13681 // @brief xcb_alloc_color_cookie_t 13682 // 13683 type xcb_alloc_color_cookie_t = xcb_alloc_color_cookie_t1 /* xproto.h:3830:3 */ 13684 13685 //* Opcode for xcb_alloc_color. 13686 13687 // * 13688 // @brief xcb_alloc_color_request_t 13689 // 13690 type xcb_alloc_color_request_t1 = struct { 13691 Fmajor_opcode uint8_t 13692 Fpad0 uint8_t 13693 Flength uint16_t 13694 Fcmap xcb_colormap_t 13695 Fred uint16_t 13696 Fgreen uint16_t 13697 Fblue uint16_t 13698 Fpad1 [2]uint8_t 13699 } /* xproto.h:3838:9 */ 13700 13701 //* Opcode for xcb_alloc_color. 13702 13703 // * 13704 // @brief xcb_alloc_color_request_t 13705 // 13706 type xcb_alloc_color_request_t = xcb_alloc_color_request_t1 /* xproto.h:3847:3 */ 13707 13708 // * 13709 // @brief xcb_alloc_color_reply_t 13710 // 13711 type xcb_alloc_color_reply_t1 = struct { 13712 Fresponse_type uint8_t 13713 Fpad0 uint8_t 13714 Fsequence uint16_t 13715 Flength uint32_t 13716 Fred uint16_t 13717 Fgreen uint16_t 13718 Fblue uint16_t 13719 Fpad1 [2]uint8_t 13720 Fpixel uint32_t 13721 } /* xproto.h:3852:9 */ 13722 13723 // * 13724 // @brief xcb_alloc_color_reply_t 13725 // 13726 type xcb_alloc_color_reply_t = xcb_alloc_color_reply_t1 /* xproto.h:3862:3 */ 13727 13728 // * 13729 // @brief xcb_alloc_named_color_cookie_t 13730 // 13731 type xcb_alloc_named_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3867:9 */ 13732 13733 // * 13734 // @brief xcb_alloc_named_color_cookie_t 13735 // 13736 type xcb_alloc_named_color_cookie_t = xcb_alloc_named_color_cookie_t1 /* xproto.h:3869:3 */ 13737 13738 //* Opcode for xcb_alloc_named_color. 13739 13740 // * 13741 // @brief xcb_alloc_named_color_request_t 13742 // 13743 type xcb_alloc_named_color_request_t1 = struct { 13744 Fmajor_opcode uint8_t 13745 Fpad0 uint8_t 13746 Flength uint16_t 13747 Fcmap xcb_colormap_t 13748 Fname_len uint16_t 13749 Fpad1 [2]uint8_t 13750 } /* xproto.h:3877:9 */ 13751 13752 //* Opcode for xcb_alloc_named_color. 13753 13754 // * 13755 // @brief xcb_alloc_named_color_request_t 13756 // 13757 type xcb_alloc_named_color_request_t = xcb_alloc_named_color_request_t1 /* xproto.h:3884:3 */ 13758 13759 // * 13760 // @brief xcb_alloc_named_color_reply_t 13761 // 13762 type xcb_alloc_named_color_reply_t1 = struct { 13763 Fresponse_type uint8_t 13764 Fpad0 uint8_t 13765 Fsequence uint16_t 13766 Flength uint32_t 13767 Fpixel uint32_t 13768 Fexact_red uint16_t 13769 Fexact_green uint16_t 13770 Fexact_blue uint16_t 13771 Fvisual_red uint16_t 13772 Fvisual_green uint16_t 13773 Fvisual_blue uint16_t 13774 } /* xproto.h:3889:9 */ 13775 13776 // * 13777 // @brief xcb_alloc_named_color_reply_t 13778 // 13779 type xcb_alloc_named_color_reply_t = xcb_alloc_named_color_reply_t1 /* xproto.h:3901:3 */ 13780 13781 // * 13782 // @brief xcb_alloc_color_cells_cookie_t 13783 // 13784 type xcb_alloc_color_cells_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3906:9 */ 13785 13786 // * 13787 // @brief xcb_alloc_color_cells_cookie_t 13788 // 13789 type xcb_alloc_color_cells_cookie_t = xcb_alloc_color_cells_cookie_t1 /* xproto.h:3908:3 */ 13790 13791 //* Opcode for xcb_alloc_color_cells. 13792 13793 // * 13794 // @brief xcb_alloc_color_cells_request_t 13795 // 13796 type xcb_alloc_color_cells_request_t1 = struct { 13797 Fmajor_opcode uint8_t 13798 Fcontiguous uint8_t 13799 Flength uint16_t 13800 Fcmap xcb_colormap_t 13801 Fcolors uint16_t 13802 Fplanes uint16_t 13803 } /* xproto.h:3916:9 */ 13804 13805 //* Opcode for xcb_alloc_color_cells. 13806 13807 // * 13808 // @brief xcb_alloc_color_cells_request_t 13809 // 13810 type xcb_alloc_color_cells_request_t = xcb_alloc_color_cells_request_t1 /* xproto.h:3923:3 */ 13811 13812 // * 13813 // @brief xcb_alloc_color_cells_reply_t 13814 // 13815 type xcb_alloc_color_cells_reply_t1 = struct { 13816 Fresponse_type uint8_t 13817 Fpad0 uint8_t 13818 Fsequence uint16_t 13819 Flength uint32_t 13820 Fpixels_len uint16_t 13821 Fmasks_len uint16_t 13822 Fpad1 [20]uint8_t 13823 } /* xproto.h:3928:9 */ 13824 13825 // * 13826 // @brief xcb_alloc_color_cells_reply_t 13827 // 13828 type xcb_alloc_color_cells_reply_t = xcb_alloc_color_cells_reply_t1 /* xproto.h:3936:3 */ 13829 13830 // * 13831 // @brief xcb_alloc_color_planes_cookie_t 13832 // 13833 type xcb_alloc_color_planes_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:3941:9 */ 13834 13835 // * 13836 // @brief xcb_alloc_color_planes_cookie_t 13837 // 13838 type xcb_alloc_color_planes_cookie_t = xcb_alloc_color_planes_cookie_t1 /* xproto.h:3943:3 */ 13839 13840 //* Opcode for xcb_alloc_color_planes. 13841 13842 // * 13843 // @brief xcb_alloc_color_planes_request_t 13844 // 13845 type xcb_alloc_color_planes_request_t1 = struct { 13846 Fmajor_opcode uint8_t 13847 Fcontiguous uint8_t 13848 Flength uint16_t 13849 Fcmap xcb_colormap_t 13850 Fcolors uint16_t 13851 Freds uint16_t 13852 Fgreens uint16_t 13853 Fblues uint16_t 13854 } /* xproto.h:3951:9 */ 13855 13856 //* Opcode for xcb_alloc_color_planes. 13857 13858 // * 13859 // @brief xcb_alloc_color_planes_request_t 13860 // 13861 type xcb_alloc_color_planes_request_t = xcb_alloc_color_planes_request_t1 /* xproto.h:3960:3 */ 13862 13863 // * 13864 // @brief xcb_alloc_color_planes_reply_t 13865 // 13866 type xcb_alloc_color_planes_reply_t1 = struct { 13867 Fresponse_type uint8_t 13868 Fpad0 uint8_t 13869 Fsequence uint16_t 13870 Flength uint32_t 13871 Fpixels_len uint16_t 13872 Fpad1 [2]uint8_t 13873 Fred_mask uint32_t 13874 Fgreen_mask uint32_t 13875 Fblue_mask uint32_t 13876 Fpad2 [8]uint8_t 13877 } /* xproto.h:3965:9 */ 13878 13879 // * 13880 // @brief xcb_alloc_color_planes_reply_t 13881 // 13882 type xcb_alloc_color_planes_reply_t = xcb_alloc_color_planes_reply_t1 /* xproto.h:3976:3 */ 13883 13884 //* Opcode for xcb_free_colors. 13885 13886 // * 13887 // @brief xcb_free_colors_request_t 13888 // 13889 type xcb_free_colors_request_t1 = struct { 13890 Fmajor_opcode uint8_t 13891 Fpad0 uint8_t 13892 Flength uint16_t 13893 Fcmap xcb_colormap_t 13894 Fplane_mask uint32_t 13895 } /* xproto.h:3984:9 */ 13896 13897 //* Opcode for xcb_free_colors. 13898 13899 // * 13900 // @brief xcb_free_colors_request_t 13901 // 13902 type xcb_free_colors_request_t = xcb_free_colors_request_t1 /* xproto.h:3990:3 */ 13903 13904 type xcb_color_flag_t = uint32 /* xproto.h:3996:3 */ 13905 13906 // * 13907 // @brief xcb_coloritem_t 13908 // 13909 type xcb_coloritem_t1 = struct { 13910 Fpixel uint32_t 13911 Fred uint16_t 13912 Fgreen uint16_t 13913 Fblue uint16_t 13914 Fflags uint8_t 13915 Fpad0 uint8_t 13916 } /* xproto.h:4001:9 */ 13917 13918 // * 13919 // @brief xcb_coloritem_t 13920 // 13921 type xcb_coloritem_t = xcb_coloritem_t1 /* xproto.h:4008:3 */ 13922 13923 // * 13924 // @brief xcb_coloritem_iterator_t 13925 // 13926 type xcb_coloritem_iterator_t1 = struct { 13927 Fdata uintptr 13928 Frem int32 13929 Findex int32 13930 } /* xproto.h:4013:9 */ 13931 13932 // * 13933 // @brief xcb_coloritem_iterator_t 13934 // 13935 type xcb_coloritem_iterator_t = xcb_coloritem_iterator_t1 /* xproto.h:4017:3 */ 13936 13937 //* Opcode for xcb_store_colors. 13938 13939 // * 13940 // @brief xcb_store_colors_request_t 13941 // 13942 type xcb_store_colors_request_t1 = struct { 13943 Fmajor_opcode uint8_t 13944 Fpad0 uint8_t 13945 Flength uint16_t 13946 Fcmap xcb_colormap_t 13947 } /* xproto.h:4025:9 */ 13948 13949 //* Opcode for xcb_store_colors. 13950 13951 // * 13952 // @brief xcb_store_colors_request_t 13953 // 13954 type xcb_store_colors_request_t = xcb_store_colors_request_t1 /* xproto.h:4030:3 */ 13955 13956 //* Opcode for xcb_store_named_color. 13957 13958 // * 13959 // @brief xcb_store_named_color_request_t 13960 // 13961 type xcb_store_named_color_request_t1 = struct { 13962 Fmajor_opcode uint8_t 13963 Fflags uint8_t 13964 Flength uint16_t 13965 Fcmap xcb_colormap_t 13966 Fpixel uint32_t 13967 Fname_len uint16_t 13968 Fpad0 [2]uint8_t 13969 } /* xproto.h:4038:9 */ 13970 13971 //* Opcode for xcb_store_named_color. 13972 13973 // * 13974 // @brief xcb_store_named_color_request_t 13975 // 13976 type xcb_store_named_color_request_t = xcb_store_named_color_request_t1 /* xproto.h:4046:3 */ 13977 13978 // * 13979 // @brief xcb_rgb_t 13980 // 13981 type xcb_rgb_t1 = struct { 13982 Fred uint16_t 13983 Fgreen uint16_t 13984 Fblue uint16_t 13985 Fpad0 [2]uint8_t 13986 } /* xproto.h:4051:9 */ 13987 13988 // * 13989 // @brief xcb_rgb_t 13990 // 13991 type xcb_rgb_t = xcb_rgb_t1 /* xproto.h:4056:3 */ 13992 13993 // * 13994 // @brief xcb_rgb_iterator_t 13995 // 13996 type xcb_rgb_iterator_t1 = struct { 13997 Fdata uintptr 13998 Frem int32 13999 Findex int32 14000 } /* xproto.h:4061:9 */ 14001 14002 // * 14003 // @brief xcb_rgb_iterator_t 14004 // 14005 type xcb_rgb_iterator_t = xcb_rgb_iterator_t1 /* xproto.h:4065:3 */ 14006 14007 // * 14008 // @brief xcb_query_colors_cookie_t 14009 // 14010 type xcb_query_colors_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4070:9 */ 14011 14012 // * 14013 // @brief xcb_query_colors_cookie_t 14014 // 14015 type xcb_query_colors_cookie_t = xcb_query_colors_cookie_t1 /* xproto.h:4072:3 */ 14016 14017 //* Opcode for xcb_query_colors. 14018 14019 // * 14020 // @brief xcb_query_colors_request_t 14021 // 14022 type xcb_query_colors_request_t1 = struct { 14023 Fmajor_opcode uint8_t 14024 Fpad0 uint8_t 14025 Flength uint16_t 14026 Fcmap xcb_colormap_t 14027 } /* xproto.h:4080:9 */ 14028 14029 //* Opcode for xcb_query_colors. 14030 14031 // * 14032 // @brief xcb_query_colors_request_t 14033 // 14034 type xcb_query_colors_request_t = xcb_query_colors_request_t1 /* xproto.h:4085:3 */ 14035 14036 // * 14037 // @brief xcb_query_colors_reply_t 14038 // 14039 type xcb_query_colors_reply_t1 = struct { 14040 Fresponse_type uint8_t 14041 Fpad0 uint8_t 14042 Fsequence uint16_t 14043 Flength uint32_t 14044 Fcolors_len uint16_t 14045 Fpad1 [22]uint8_t 14046 } /* xproto.h:4090:9 */ 14047 14048 // * 14049 // @brief xcb_query_colors_reply_t 14050 // 14051 type xcb_query_colors_reply_t = xcb_query_colors_reply_t1 /* xproto.h:4097:3 */ 14052 14053 // * 14054 // @brief xcb_lookup_color_cookie_t 14055 // 14056 type xcb_lookup_color_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4102:9 */ 14057 14058 // * 14059 // @brief xcb_lookup_color_cookie_t 14060 // 14061 type xcb_lookup_color_cookie_t = xcb_lookup_color_cookie_t1 /* xproto.h:4104:3 */ 14062 14063 //* Opcode for xcb_lookup_color. 14064 14065 // * 14066 // @brief xcb_lookup_color_request_t 14067 // 14068 type xcb_lookup_color_request_t1 = struct { 14069 Fmajor_opcode uint8_t 14070 Fpad0 uint8_t 14071 Flength uint16_t 14072 Fcmap xcb_colormap_t 14073 Fname_len uint16_t 14074 Fpad1 [2]uint8_t 14075 } /* xproto.h:4112:9 */ 14076 14077 //* Opcode for xcb_lookup_color. 14078 14079 // * 14080 // @brief xcb_lookup_color_request_t 14081 // 14082 type xcb_lookup_color_request_t = xcb_lookup_color_request_t1 /* xproto.h:4119:3 */ 14083 14084 // * 14085 // @brief xcb_lookup_color_reply_t 14086 // 14087 type xcb_lookup_color_reply_t1 = struct { 14088 Fresponse_type uint8_t 14089 Fpad0 uint8_t 14090 Fsequence uint16_t 14091 Flength uint32_t 14092 Fexact_red uint16_t 14093 Fexact_green uint16_t 14094 Fexact_blue uint16_t 14095 Fvisual_red uint16_t 14096 Fvisual_green uint16_t 14097 Fvisual_blue uint16_t 14098 } /* xproto.h:4124:9 */ 14099 14100 // * 14101 // @brief xcb_lookup_color_reply_t 14102 // 14103 type xcb_lookup_color_reply_t = xcb_lookup_color_reply_t1 /* xproto.h:4135:3 */ 14104 14105 type xcb_pixmap_enum_t = uint32 /* xproto.h:4139:3 */ 14106 14107 //* Opcode for xcb_create_cursor. 14108 14109 // * 14110 // @brief xcb_create_cursor_request_t 14111 // 14112 type xcb_create_cursor_request_t1 = struct { 14113 Fmajor_opcode uint8_t 14114 Fpad0 uint8_t 14115 Flength uint16_t 14116 Fcid xcb_cursor_t 14117 Fsource xcb_pixmap_t 14118 Fmask xcb_pixmap_t 14119 Ffore_red uint16_t 14120 Ffore_green uint16_t 14121 Ffore_blue uint16_t 14122 Fback_red uint16_t 14123 Fback_green uint16_t 14124 Fback_blue uint16_t 14125 Fx uint16_t 14126 Fy uint16_t 14127 } /* xproto.h:4147:9 */ 14128 14129 //* Opcode for xcb_create_cursor. 14130 14131 // * 14132 // @brief xcb_create_cursor_request_t 14133 // 14134 type xcb_create_cursor_request_t = xcb_create_cursor_request_t1 /* xproto.h:4162:3 */ 14135 14136 type xcb_font_enum_t = uint32 /* xproto.h:4166:3 */ 14137 14138 //* Opcode for xcb_create_glyph_cursor. 14139 14140 // * 14141 // @brief xcb_create_glyph_cursor_request_t 14142 // 14143 type xcb_create_glyph_cursor_request_t1 = struct { 14144 Fmajor_opcode uint8_t 14145 Fpad0 uint8_t 14146 Flength uint16_t 14147 Fcid xcb_cursor_t 14148 Fsource_font xcb_font_t 14149 Fmask_font xcb_font_t 14150 Fsource_char uint16_t 14151 Fmask_char uint16_t 14152 Ffore_red uint16_t 14153 Ffore_green uint16_t 14154 Ffore_blue uint16_t 14155 Fback_red uint16_t 14156 Fback_green uint16_t 14157 Fback_blue uint16_t 14158 } /* xproto.h:4174:9 */ 14159 14160 //* Opcode for xcb_create_glyph_cursor. 14161 14162 // * 14163 // @brief xcb_create_glyph_cursor_request_t 14164 // 14165 type xcb_create_glyph_cursor_request_t = xcb_create_glyph_cursor_request_t1 /* xproto.h:4189:3 */ 14166 14167 //* Opcode for xcb_free_cursor. 14168 14169 // * 14170 // @brief xcb_free_cursor_request_t 14171 // 14172 type xcb_free_cursor_request_t1 = struct { 14173 Fmajor_opcode uint8_t 14174 Fpad0 uint8_t 14175 Flength uint16_t 14176 Fcursor xcb_cursor_t 14177 } /* xproto.h:4197:9 */ 14178 14179 //* Opcode for xcb_free_cursor. 14180 14181 // * 14182 // @brief xcb_free_cursor_request_t 14183 // 14184 type xcb_free_cursor_request_t = xcb_free_cursor_request_t1 /* xproto.h:4202:3 */ 14185 14186 //* Opcode for xcb_recolor_cursor. 14187 14188 // * 14189 // @brief xcb_recolor_cursor_request_t 14190 // 14191 type xcb_recolor_cursor_request_t1 = struct { 14192 Fmajor_opcode uint8_t 14193 Fpad0 uint8_t 14194 Flength uint16_t 14195 Fcursor xcb_cursor_t 14196 Ffore_red uint16_t 14197 Ffore_green uint16_t 14198 Ffore_blue uint16_t 14199 Fback_red uint16_t 14200 Fback_green uint16_t 14201 Fback_blue uint16_t 14202 } /* xproto.h:4210:9 */ 14203 14204 //* Opcode for xcb_recolor_cursor. 14205 14206 // * 14207 // @brief xcb_recolor_cursor_request_t 14208 // 14209 type xcb_recolor_cursor_request_t = xcb_recolor_cursor_request_t1 /* xproto.h:4221:3 */ 14210 14211 type xcb_query_shape_of_t = uint32 /* xproto.h:4227:3 */ 14212 14213 // * 14214 // @brief xcb_query_best_size_cookie_t 14215 // 14216 type xcb_query_best_size_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4232:9 */ 14217 14218 // * 14219 // @brief xcb_query_best_size_cookie_t 14220 // 14221 type xcb_query_best_size_cookie_t = xcb_query_best_size_cookie_t1 /* xproto.h:4234:3 */ 14222 14223 //* Opcode for xcb_query_best_size. 14224 14225 // * 14226 // @brief xcb_query_best_size_request_t 14227 // 14228 type xcb_query_best_size_request_t1 = struct { 14229 Fmajor_opcode uint8_t 14230 F_class uint8_t 14231 Flength uint16_t 14232 Fdrawable xcb_drawable_t 14233 Fwidth uint16_t 14234 Fheight uint16_t 14235 } /* xproto.h:4242:9 */ 14236 14237 //* Opcode for xcb_query_best_size. 14238 14239 // * 14240 // @brief xcb_query_best_size_request_t 14241 // 14242 type xcb_query_best_size_request_t = xcb_query_best_size_request_t1 /* xproto.h:4249:3 */ 14243 14244 // * 14245 // @brief xcb_query_best_size_reply_t 14246 // 14247 type xcb_query_best_size_reply_t1 = struct { 14248 Fresponse_type uint8_t 14249 Fpad0 uint8_t 14250 Fsequence uint16_t 14251 Flength uint32_t 14252 Fwidth uint16_t 14253 Fheight uint16_t 14254 } /* xproto.h:4254:9 */ 14255 14256 // * 14257 // @brief xcb_query_best_size_reply_t 14258 // 14259 type xcb_query_best_size_reply_t = xcb_query_best_size_reply_t1 /* xproto.h:4261:3 */ 14260 14261 // * 14262 // @brief xcb_query_extension_cookie_t 14263 // 14264 type xcb_query_extension_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4266:9 */ 14265 14266 // * 14267 // @brief xcb_query_extension_cookie_t 14268 // 14269 type xcb_query_extension_cookie_t = xcb_query_extension_cookie_t1 /* xproto.h:4268:3 */ 14270 14271 //* Opcode for xcb_query_extension. 14272 14273 // * 14274 // @brief xcb_query_extension_request_t 14275 // 14276 type xcb_query_extension_request_t1 = struct { 14277 Fmajor_opcode uint8_t 14278 Fpad0 uint8_t 14279 Flength uint16_t 14280 Fname_len uint16_t 14281 Fpad1 [2]uint8_t 14282 } /* xproto.h:4276:9 */ 14283 14284 //* Opcode for xcb_query_extension. 14285 14286 // * 14287 // @brief xcb_query_extension_request_t 14288 // 14289 type xcb_query_extension_request_t = xcb_query_extension_request_t1 /* xproto.h:4282:3 */ 14290 14291 // * 14292 // @brief xcb_query_extension_reply_t 14293 // 14294 type xcb_query_extension_reply_t1 = struct { 14295 Fresponse_type uint8_t 14296 Fpad0 uint8_t 14297 Fsequence uint16_t 14298 Flength uint32_t 14299 Fpresent uint8_t 14300 Fmajor_opcode uint8_t 14301 Ffirst_event uint8_t 14302 Ffirst_error uint8_t 14303 } /* xproto.h:4287:9 */ 14304 14305 // * 14306 // @brief xcb_query_extension_reply_t 14307 // 14308 type xcb_query_extension_reply_t = xcb_query_extension_reply_t1 /* xproto.h:4296:3 */ 14309 14310 // * 14311 // @brief xcb_list_extensions_cookie_t 14312 // 14313 type xcb_list_extensions_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4301:9 */ 14314 14315 // * 14316 // @brief xcb_list_extensions_cookie_t 14317 // 14318 type xcb_list_extensions_cookie_t = xcb_list_extensions_cookie_t1 /* xproto.h:4303:3 */ 14319 14320 //* Opcode for xcb_list_extensions. 14321 14322 // * 14323 // @brief xcb_list_extensions_request_t 14324 // 14325 type xcb_list_extensions_request_t1 = struct { 14326 Fmajor_opcode uint8_t 14327 Fpad0 uint8_t 14328 Flength uint16_t 14329 } /* xproto.h:4311:9 */ 14330 14331 //* Opcode for xcb_list_extensions. 14332 14333 // * 14334 // @brief xcb_list_extensions_request_t 14335 // 14336 type xcb_list_extensions_request_t = xcb_list_extensions_request_t1 /* xproto.h:4315:3 */ 14337 14338 // * 14339 // @brief xcb_list_extensions_reply_t 14340 // 14341 type xcb_list_extensions_reply_t1 = struct { 14342 Fresponse_type uint8_t 14343 Fnames_len uint8_t 14344 Fsequence uint16_t 14345 Flength uint32_t 14346 Fpad0 [24]uint8_t 14347 } /* xproto.h:4320:9 */ 14348 14349 // * 14350 // @brief xcb_list_extensions_reply_t 14351 // 14352 type xcb_list_extensions_reply_t = xcb_list_extensions_reply_t1 /* xproto.h:4326:3 */ 14353 14354 //* Opcode for xcb_change_keyboard_mapping. 14355 14356 // * 14357 // @brief xcb_change_keyboard_mapping_request_t 14358 // 14359 type xcb_change_keyboard_mapping_request_t1 = struct { 14360 Fmajor_opcode uint8_t 14361 Fkeycode_count uint8_t 14362 Flength uint16_t 14363 Ffirst_keycode xcb_keycode_t 14364 Fkeysyms_per_keycode uint8_t 14365 Fpad0 [2]uint8_t 14366 } /* xproto.h:4334:9 */ 14367 14368 //* Opcode for xcb_change_keyboard_mapping. 14369 14370 // * 14371 // @brief xcb_change_keyboard_mapping_request_t 14372 // 14373 type xcb_change_keyboard_mapping_request_t = xcb_change_keyboard_mapping_request_t1 /* xproto.h:4341:3 */ 14374 14375 // * 14376 // @brief xcb_get_keyboard_mapping_cookie_t 14377 // 14378 type xcb_get_keyboard_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4346:9 */ 14379 14380 // * 14381 // @brief xcb_get_keyboard_mapping_cookie_t 14382 // 14383 type xcb_get_keyboard_mapping_cookie_t = xcb_get_keyboard_mapping_cookie_t1 /* xproto.h:4348:3 */ 14384 14385 //* Opcode for xcb_get_keyboard_mapping. 14386 14387 // * 14388 // @brief xcb_get_keyboard_mapping_request_t 14389 // 14390 type xcb_get_keyboard_mapping_request_t1 = struct { 14391 Fmajor_opcode uint8_t 14392 Fpad0 uint8_t 14393 Flength uint16_t 14394 Ffirst_keycode xcb_keycode_t 14395 Fcount uint8_t 14396 } /* xproto.h:4356:9 */ 14397 14398 //* Opcode for xcb_get_keyboard_mapping. 14399 14400 // * 14401 // @brief xcb_get_keyboard_mapping_request_t 14402 // 14403 type xcb_get_keyboard_mapping_request_t = xcb_get_keyboard_mapping_request_t1 /* xproto.h:4362:3 */ 14404 14405 // * 14406 // @brief xcb_get_keyboard_mapping_reply_t 14407 // 14408 type xcb_get_keyboard_mapping_reply_t1 = struct { 14409 Fresponse_type uint8_t 14410 Fkeysyms_per_keycode uint8_t 14411 Fsequence uint16_t 14412 Flength uint32_t 14413 Fpad0 [24]uint8_t 14414 } /* xproto.h:4367:9 */ 14415 14416 // * 14417 // @brief xcb_get_keyboard_mapping_reply_t 14418 // 14419 type xcb_get_keyboard_mapping_reply_t = xcb_get_keyboard_mapping_reply_t1 /* xproto.h:4373:3 */ 14420 14421 type xcb_kb_t = uint32 /* xproto.h:4384:3 */ 14422 14423 type xcb_led_mode_t = uint32 /* xproto.h:4389:3 */ 14424 14425 type xcb_auto_repeat_mode_t = uint32 /* xproto.h:4395:3 */ 14426 14427 // * 14428 // @brief xcb_change_keyboard_control_value_list_t 14429 // 14430 type xcb_change_keyboard_control_value_list_t1 = struct { 14431 Fkey_click_percent int32_t 14432 Fbell_percent int32_t 14433 Fbell_pitch int32_t 14434 Fbell_duration int32_t 14435 Fled uint32_t 14436 Fled_mode uint32_t 14437 Fkey xcb_keycode32_t 14438 Fauto_repeat_mode uint32_t 14439 } /* xproto.h:4400:9 */ 14440 14441 // * 14442 // @brief xcb_change_keyboard_control_value_list_t 14443 // 14444 type xcb_change_keyboard_control_value_list_t = xcb_change_keyboard_control_value_list_t1 /* xproto.h:4409:3 */ 14445 14446 //* Opcode for xcb_change_keyboard_control. 14447 14448 // * 14449 // @brief xcb_change_keyboard_control_request_t 14450 // 14451 type xcb_change_keyboard_control_request_t1 = struct { 14452 Fmajor_opcode uint8_t 14453 Fpad0 uint8_t 14454 Flength uint16_t 14455 Fvalue_mask uint32_t 14456 } /* xproto.h:4417:9 */ 14457 14458 //* Opcode for xcb_change_keyboard_control. 14459 14460 // * 14461 // @brief xcb_change_keyboard_control_request_t 14462 // 14463 type xcb_change_keyboard_control_request_t = xcb_change_keyboard_control_request_t1 /* xproto.h:4422:3 */ 14464 14465 // * 14466 // @brief xcb_get_keyboard_control_cookie_t 14467 // 14468 type xcb_get_keyboard_control_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4427:9 */ 14469 14470 // * 14471 // @brief xcb_get_keyboard_control_cookie_t 14472 // 14473 type xcb_get_keyboard_control_cookie_t = xcb_get_keyboard_control_cookie_t1 /* xproto.h:4429:3 */ 14474 14475 //* Opcode for xcb_get_keyboard_control. 14476 14477 // * 14478 // @brief xcb_get_keyboard_control_request_t 14479 // 14480 type xcb_get_keyboard_control_request_t1 = struct { 14481 Fmajor_opcode uint8_t 14482 Fpad0 uint8_t 14483 Flength uint16_t 14484 } /* xproto.h:4437:9 */ 14485 14486 //* Opcode for xcb_get_keyboard_control. 14487 14488 // * 14489 // @brief xcb_get_keyboard_control_request_t 14490 // 14491 type xcb_get_keyboard_control_request_t = xcb_get_keyboard_control_request_t1 /* xproto.h:4441:3 */ 14492 14493 // * 14494 // @brief xcb_get_keyboard_control_reply_t 14495 // 14496 type xcb_get_keyboard_control_reply_t1 = struct { 14497 Fresponse_type uint8_t 14498 Fglobal_auto_repeat uint8_t 14499 Fsequence uint16_t 14500 Flength uint32_t 14501 Fled_mask uint32_t 14502 Fkey_click_percent uint8_t 14503 Fbell_percent uint8_t 14504 Fbell_pitch uint16_t 14505 Fbell_duration uint16_t 14506 Fpad0 [2]uint8_t 14507 Fauto_repeats [32]uint8_t 14508 } /* xproto.h:4446:9 */ 14509 14510 // * 14511 // @brief xcb_get_keyboard_control_reply_t 14512 // 14513 type xcb_get_keyboard_control_reply_t = xcb_get_keyboard_control_reply_t1 /* xproto.h:4458:3 */ 14514 14515 //* Opcode for xcb_bell. 14516 14517 // * 14518 // @brief xcb_bell_request_t 14519 // 14520 type xcb_bell_request_t1 = struct { 14521 Fmajor_opcode uint8_t 14522 Fpercent int8_t 14523 Flength uint16_t 14524 } /* xproto.h:4466:9 */ 14525 14526 //* Opcode for xcb_bell. 14527 14528 // * 14529 // @brief xcb_bell_request_t 14530 // 14531 type xcb_bell_request_t = xcb_bell_request_t1 /* xproto.h:4470:3 */ 14532 14533 //* Opcode for xcb_change_pointer_control. 14534 14535 // * 14536 // @brief xcb_change_pointer_control_request_t 14537 // 14538 type xcb_change_pointer_control_request_t1 = struct { 14539 Fmajor_opcode uint8_t 14540 Fpad0 uint8_t 14541 Flength uint16_t 14542 Facceleration_numerator int16_t 14543 Facceleration_denominator int16_t 14544 Fthreshold int16_t 14545 Fdo_acceleration uint8_t 14546 Fdo_threshold uint8_t 14547 } /* xproto.h:4478:9 */ 14548 14549 //* Opcode for xcb_change_pointer_control. 14550 14551 // * 14552 // @brief xcb_change_pointer_control_request_t 14553 // 14554 type xcb_change_pointer_control_request_t = xcb_change_pointer_control_request_t1 /* xproto.h:4487:3 */ 14555 14556 // * 14557 // @brief xcb_get_pointer_control_cookie_t 14558 // 14559 type xcb_get_pointer_control_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4492:9 */ 14560 14561 // * 14562 // @brief xcb_get_pointer_control_cookie_t 14563 // 14564 type xcb_get_pointer_control_cookie_t = xcb_get_pointer_control_cookie_t1 /* xproto.h:4494:3 */ 14565 14566 //* Opcode for xcb_get_pointer_control. 14567 14568 // * 14569 // @brief xcb_get_pointer_control_request_t 14570 // 14571 type xcb_get_pointer_control_request_t1 = struct { 14572 Fmajor_opcode uint8_t 14573 Fpad0 uint8_t 14574 Flength uint16_t 14575 } /* xproto.h:4502:9 */ 14576 14577 //* Opcode for xcb_get_pointer_control. 14578 14579 // * 14580 // @brief xcb_get_pointer_control_request_t 14581 // 14582 type xcb_get_pointer_control_request_t = xcb_get_pointer_control_request_t1 /* xproto.h:4506:3 */ 14583 14584 // * 14585 // @brief xcb_get_pointer_control_reply_t 14586 // 14587 type xcb_get_pointer_control_reply_t1 = struct { 14588 Fresponse_type uint8_t 14589 Fpad0 uint8_t 14590 Fsequence uint16_t 14591 Flength uint32_t 14592 Facceleration_numerator uint16_t 14593 Facceleration_denominator uint16_t 14594 Fthreshold uint16_t 14595 Fpad1 [18]uint8_t 14596 } /* xproto.h:4511:9 */ 14597 14598 // * 14599 // @brief xcb_get_pointer_control_reply_t 14600 // 14601 type xcb_get_pointer_control_reply_t = xcb_get_pointer_control_reply_t1 /* xproto.h:4520:3 */ 14602 14603 type xcb_blanking_t = uint32 /* xproto.h:4526:3 */ 14604 14605 type xcb_exposures_t = uint32 /* xproto.h:4532:3 */ 14606 14607 //* Opcode for xcb_set_screen_saver. 14608 14609 // * 14610 // @brief xcb_set_screen_saver_request_t 14611 // 14612 type xcb_set_screen_saver_request_t1 = struct { 14613 Fmajor_opcode uint8_t 14614 Fpad0 uint8_t 14615 Flength uint16_t 14616 Ftimeout int16_t 14617 Finterval int16_t 14618 Fprefer_blanking uint8_t 14619 Fallow_exposures uint8_t 14620 } /* xproto.h:4540:9 */ 14621 14622 //* Opcode for xcb_set_screen_saver. 14623 14624 // * 14625 // @brief xcb_set_screen_saver_request_t 14626 // 14627 type xcb_set_screen_saver_request_t = xcb_set_screen_saver_request_t1 /* xproto.h:4548:3 */ 14628 14629 // * 14630 // @brief xcb_get_screen_saver_cookie_t 14631 // 14632 type xcb_get_screen_saver_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4553:9 */ 14633 14634 // * 14635 // @brief xcb_get_screen_saver_cookie_t 14636 // 14637 type xcb_get_screen_saver_cookie_t = xcb_get_screen_saver_cookie_t1 /* xproto.h:4555:3 */ 14638 14639 //* Opcode for xcb_get_screen_saver. 14640 14641 // * 14642 // @brief xcb_get_screen_saver_request_t 14643 // 14644 type xcb_get_screen_saver_request_t1 = struct { 14645 Fmajor_opcode uint8_t 14646 Fpad0 uint8_t 14647 Flength uint16_t 14648 } /* xproto.h:4563:9 */ 14649 14650 //* Opcode for xcb_get_screen_saver. 14651 14652 // * 14653 // @brief xcb_get_screen_saver_request_t 14654 // 14655 type xcb_get_screen_saver_request_t = xcb_get_screen_saver_request_t1 /* xproto.h:4567:3 */ 14656 14657 // * 14658 // @brief xcb_get_screen_saver_reply_t 14659 // 14660 type xcb_get_screen_saver_reply_t1 = struct { 14661 Fresponse_type uint8_t 14662 Fpad0 uint8_t 14663 Fsequence uint16_t 14664 Flength uint32_t 14665 Ftimeout uint16_t 14666 Finterval uint16_t 14667 Fprefer_blanking uint8_t 14668 Fallow_exposures uint8_t 14669 Fpad1 [18]uint8_t 14670 } /* xproto.h:4572:9 */ 14671 14672 // * 14673 // @brief xcb_get_screen_saver_reply_t 14674 // 14675 type xcb_get_screen_saver_reply_t = xcb_get_screen_saver_reply_t1 /* xproto.h:4582:3 */ 14676 14677 type xcb_host_mode_t = uint32 /* xproto.h:4587:3 */ 14678 14679 type xcb_family_t = uint32 /* xproto.h:4595:3 */ 14680 14681 //* Opcode for xcb_change_hosts. 14682 14683 // * 14684 // @brief xcb_change_hosts_request_t 14685 // 14686 type xcb_change_hosts_request_t1 = struct { 14687 Fmajor_opcode uint8_t 14688 Fmode uint8_t 14689 Flength uint16_t 14690 Ffamily uint8_t 14691 Fpad0 uint8_t 14692 Faddress_len uint16_t 14693 } /* xproto.h:4603:9 */ 14694 14695 //* Opcode for xcb_change_hosts. 14696 14697 // * 14698 // @brief xcb_change_hosts_request_t 14699 // 14700 type xcb_change_hosts_request_t = xcb_change_hosts_request_t1 /* xproto.h:4610:3 */ 14701 14702 // * 14703 // @brief xcb_host_t 14704 // 14705 type xcb_host_t1 = struct { 14706 Ffamily uint8_t 14707 Fpad0 uint8_t 14708 Faddress_len uint16_t 14709 } /* xproto.h:4615:9 */ 14710 14711 // * 14712 // @brief xcb_host_t 14713 // 14714 type xcb_host_t = xcb_host_t1 /* xproto.h:4619:3 */ 14715 14716 // * 14717 // @brief xcb_host_iterator_t 14718 // 14719 type xcb_host_iterator_t1 = struct { 14720 Fdata uintptr 14721 Frem int32 14722 Findex int32 14723 } /* xproto.h:4624:9 */ 14724 14725 // * 14726 // @brief xcb_host_iterator_t 14727 // 14728 type xcb_host_iterator_t = xcb_host_iterator_t1 /* xproto.h:4628:3 */ 14729 14730 // * 14731 // @brief xcb_list_hosts_cookie_t 14732 // 14733 type xcb_list_hosts_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4633:9 */ 14734 14735 // * 14736 // @brief xcb_list_hosts_cookie_t 14737 // 14738 type xcb_list_hosts_cookie_t = xcb_list_hosts_cookie_t1 /* xproto.h:4635:3 */ 14739 14740 //* Opcode for xcb_list_hosts. 14741 14742 // * 14743 // @brief xcb_list_hosts_request_t 14744 // 14745 type xcb_list_hosts_request_t1 = struct { 14746 Fmajor_opcode uint8_t 14747 Fpad0 uint8_t 14748 Flength uint16_t 14749 } /* xproto.h:4643:9 */ 14750 14751 //* Opcode for xcb_list_hosts. 14752 14753 // * 14754 // @brief xcb_list_hosts_request_t 14755 // 14756 type xcb_list_hosts_request_t = xcb_list_hosts_request_t1 /* xproto.h:4647:3 */ 14757 14758 // * 14759 // @brief xcb_list_hosts_reply_t 14760 // 14761 type xcb_list_hosts_reply_t1 = struct { 14762 Fresponse_type uint8_t 14763 Fmode uint8_t 14764 Fsequence uint16_t 14765 Flength uint32_t 14766 Fhosts_len uint16_t 14767 Fpad0 [22]uint8_t 14768 } /* xproto.h:4652:9 */ 14769 14770 // * 14771 // @brief xcb_list_hosts_reply_t 14772 // 14773 type xcb_list_hosts_reply_t = xcb_list_hosts_reply_t1 /* xproto.h:4659:3 */ 14774 14775 type xcb_access_control_t = uint32 /* xproto.h:4664:3 */ 14776 14777 //* Opcode for xcb_set_access_control. 14778 14779 // * 14780 // @brief xcb_set_access_control_request_t 14781 // 14782 type xcb_set_access_control_request_t1 = struct { 14783 Fmajor_opcode uint8_t 14784 Fmode uint8_t 14785 Flength uint16_t 14786 } /* xproto.h:4672:9 */ 14787 14788 //* Opcode for xcb_set_access_control. 14789 14790 // * 14791 // @brief xcb_set_access_control_request_t 14792 // 14793 type xcb_set_access_control_request_t = xcb_set_access_control_request_t1 /* xproto.h:4676:3 */ 14794 14795 type xcb_close_down_t = uint32 /* xproto.h:4682:3 */ 14796 14797 //* Opcode for xcb_set_close_down_mode. 14798 14799 // * 14800 // @brief xcb_set_close_down_mode_request_t 14801 // 14802 type xcb_set_close_down_mode_request_t1 = struct { 14803 Fmajor_opcode uint8_t 14804 Fmode uint8_t 14805 Flength uint16_t 14806 } /* xproto.h:4690:9 */ 14807 14808 //* Opcode for xcb_set_close_down_mode. 14809 14810 // * 14811 // @brief xcb_set_close_down_mode_request_t 14812 // 14813 type xcb_set_close_down_mode_request_t = xcb_set_close_down_mode_request_t1 /* xproto.h:4694:3 */ 14814 14815 type xcb_kill_t = uint32 /* xproto.h:4698:3 */ 14816 14817 //* Opcode for xcb_kill_client. 14818 14819 // * 14820 // @brief xcb_kill_client_request_t 14821 // 14822 type xcb_kill_client_request_t1 = struct { 14823 Fmajor_opcode uint8_t 14824 Fpad0 uint8_t 14825 Flength uint16_t 14826 Fresource uint32_t 14827 } /* xproto.h:4706:9 */ 14828 14829 //* Opcode for xcb_kill_client. 14830 14831 // * 14832 // @brief xcb_kill_client_request_t 14833 // 14834 type xcb_kill_client_request_t = xcb_kill_client_request_t1 /* xproto.h:4711:3 */ 14835 14836 //* Opcode for xcb_rotate_properties. 14837 14838 // * 14839 // @brief xcb_rotate_properties_request_t 14840 // 14841 type xcb_rotate_properties_request_t1 = struct { 14842 Fmajor_opcode uint8_t 14843 Fpad0 uint8_t 14844 Flength uint16_t 14845 Fwindow xcb_window_t 14846 Fatoms_len uint16_t 14847 Fdelta int16_t 14848 } /* xproto.h:4719:9 */ 14849 14850 //* Opcode for xcb_rotate_properties. 14851 14852 // * 14853 // @brief xcb_rotate_properties_request_t 14854 // 14855 type xcb_rotate_properties_request_t = xcb_rotate_properties_request_t1 /* xproto.h:4726:3 */ 14856 14857 type xcb_screen_saver_t = uint32 /* xproto.h:4731:3 */ 14858 14859 //* Opcode for xcb_force_screen_saver. 14860 14861 // * 14862 // @brief xcb_force_screen_saver_request_t 14863 // 14864 type xcb_force_screen_saver_request_t1 = struct { 14865 Fmajor_opcode uint8_t 14866 Fmode uint8_t 14867 Flength uint16_t 14868 } /* xproto.h:4739:9 */ 14869 14870 //* Opcode for xcb_force_screen_saver. 14871 14872 // * 14873 // @brief xcb_force_screen_saver_request_t 14874 // 14875 type xcb_force_screen_saver_request_t = xcb_force_screen_saver_request_t1 /* xproto.h:4743:3 */ 14876 14877 type xcb_mapping_status_t = uint32 /* xproto.h:4749:3 */ 14878 14879 // * 14880 // @brief xcb_set_pointer_mapping_cookie_t 14881 // 14882 type xcb_set_pointer_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4754:9 */ 14883 14884 // * 14885 // @brief xcb_set_pointer_mapping_cookie_t 14886 // 14887 type xcb_set_pointer_mapping_cookie_t = xcb_set_pointer_mapping_cookie_t1 /* xproto.h:4756:3 */ 14888 14889 //* Opcode for xcb_set_pointer_mapping. 14890 14891 // * 14892 // @brief xcb_set_pointer_mapping_request_t 14893 // 14894 type xcb_set_pointer_mapping_request_t1 = struct { 14895 Fmajor_opcode uint8_t 14896 Fmap_len uint8_t 14897 Flength uint16_t 14898 } /* xproto.h:4764:9 */ 14899 14900 //* Opcode for xcb_set_pointer_mapping. 14901 14902 // * 14903 // @brief xcb_set_pointer_mapping_request_t 14904 // 14905 type xcb_set_pointer_mapping_request_t = xcb_set_pointer_mapping_request_t1 /* xproto.h:4768:3 */ 14906 14907 // * 14908 // @brief xcb_set_pointer_mapping_reply_t 14909 // 14910 type xcb_set_pointer_mapping_reply_t1 = struct { 14911 Fresponse_type uint8_t 14912 Fstatus uint8_t 14913 Fsequence uint16_t 14914 Flength uint32_t 14915 } /* xproto.h:4773:9 */ 14916 14917 // * 14918 // @brief xcb_set_pointer_mapping_reply_t 14919 // 14920 type xcb_set_pointer_mapping_reply_t = xcb_set_pointer_mapping_reply_t1 /* xproto.h:4778:3 */ 14921 14922 // * 14923 // @brief xcb_get_pointer_mapping_cookie_t 14924 // 14925 type xcb_get_pointer_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4783:9 */ 14926 14927 // * 14928 // @brief xcb_get_pointer_mapping_cookie_t 14929 // 14930 type xcb_get_pointer_mapping_cookie_t = xcb_get_pointer_mapping_cookie_t1 /* xproto.h:4785:3 */ 14931 14932 //* Opcode for xcb_get_pointer_mapping. 14933 14934 // * 14935 // @brief xcb_get_pointer_mapping_request_t 14936 // 14937 type xcb_get_pointer_mapping_request_t1 = struct { 14938 Fmajor_opcode uint8_t 14939 Fpad0 uint8_t 14940 Flength uint16_t 14941 } /* xproto.h:4793:9 */ 14942 14943 //* Opcode for xcb_get_pointer_mapping. 14944 14945 // * 14946 // @brief xcb_get_pointer_mapping_request_t 14947 // 14948 type xcb_get_pointer_mapping_request_t = xcb_get_pointer_mapping_request_t1 /* xproto.h:4797:3 */ 14949 14950 // * 14951 // @brief xcb_get_pointer_mapping_reply_t 14952 // 14953 type xcb_get_pointer_mapping_reply_t1 = struct { 14954 Fresponse_type uint8_t 14955 Fmap_len uint8_t 14956 Fsequence uint16_t 14957 Flength uint32_t 14958 Fpad0 [24]uint8_t 14959 } /* xproto.h:4802:9 */ 14960 14961 // * 14962 // @brief xcb_get_pointer_mapping_reply_t 14963 // 14964 type xcb_get_pointer_mapping_reply_t = xcb_get_pointer_mapping_reply_t1 /* xproto.h:4808:3 */ 14965 14966 type xcb_map_index_t = uint32 /* xproto.h:4819:3 */ 14967 14968 // * 14969 // @brief xcb_set_modifier_mapping_cookie_t 14970 // 14971 type xcb_set_modifier_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4824:9 */ 14972 14973 // * 14974 // @brief xcb_set_modifier_mapping_cookie_t 14975 // 14976 type xcb_set_modifier_mapping_cookie_t = xcb_set_modifier_mapping_cookie_t1 /* xproto.h:4826:3 */ 14977 14978 //* Opcode for xcb_set_modifier_mapping. 14979 14980 // * 14981 // @brief xcb_set_modifier_mapping_request_t 14982 // 14983 type xcb_set_modifier_mapping_request_t1 = struct { 14984 Fmajor_opcode uint8_t 14985 Fkeycodes_per_modifier uint8_t 14986 Flength uint16_t 14987 } /* xproto.h:4834:9 */ 14988 14989 //* Opcode for xcb_set_modifier_mapping. 14990 14991 // * 14992 // @brief xcb_set_modifier_mapping_request_t 14993 // 14994 type xcb_set_modifier_mapping_request_t = xcb_set_modifier_mapping_request_t1 /* xproto.h:4838:3 */ 14995 14996 // * 14997 // @brief xcb_set_modifier_mapping_reply_t 14998 // 14999 type xcb_set_modifier_mapping_reply_t1 = struct { 15000 Fresponse_type uint8_t 15001 Fstatus uint8_t 15002 Fsequence uint16_t 15003 Flength uint32_t 15004 } /* xproto.h:4843:9 */ 15005 15006 // * 15007 // @brief xcb_set_modifier_mapping_reply_t 15008 // 15009 type xcb_set_modifier_mapping_reply_t = xcb_set_modifier_mapping_reply_t1 /* xproto.h:4848:3 */ 15010 15011 // * 15012 // @brief xcb_get_modifier_mapping_cookie_t 15013 // 15014 type xcb_get_modifier_mapping_cookie_t1 = struct{ Fsequence uint32 } /* xproto.h:4853:9 */ 15015 15016 // * 15017 // @brief xcb_get_modifier_mapping_cookie_t 15018 // 15019 type xcb_get_modifier_mapping_cookie_t = xcb_get_modifier_mapping_cookie_t1 /* xproto.h:4855:3 */ 15020 15021 //* Opcode for xcb_get_modifier_mapping. 15022 15023 // * 15024 // @brief xcb_get_modifier_mapping_request_t 15025 // 15026 type xcb_get_modifier_mapping_request_t1 = struct { 15027 Fmajor_opcode uint8_t 15028 Fpad0 uint8_t 15029 Flength uint16_t 15030 } /* xproto.h:4863:9 */ 15031 15032 //* Opcode for xcb_get_modifier_mapping. 15033 15034 // * 15035 // @brief xcb_get_modifier_mapping_request_t 15036 // 15037 type xcb_get_modifier_mapping_request_t = xcb_get_modifier_mapping_request_t1 /* xproto.h:4867:3 */ 15038 15039 // * 15040 // @brief xcb_get_modifier_mapping_reply_t 15041 // 15042 type xcb_get_modifier_mapping_reply_t1 = struct { 15043 Fresponse_type uint8_t 15044 Fkeycodes_per_modifier uint8_t 15045 Fsequence uint16_t 15046 Flength uint32_t 15047 Fpad0 [24]uint8_t 15048 } /* xproto.h:4872:9 */ 15049 15050 // * 15051 // @brief xcb_get_modifier_mapping_reply_t 15052 // 15053 type xcb_get_modifier_mapping_reply_t = xcb_get_modifier_mapping_reply_t1 /* xproto.h:4878:3 */ 15054 15055 //* Opcode for xcb_no_operation. 15056 15057 // * 15058 // @brief xcb_no_operation_request_t 15059 // 15060 type xcb_no_operation_request_t1 = struct { 15061 Fmajor_opcode uint8_t 15062 Fpad0 uint8_t 15063 Flength uint16_t 15064 } /* xproto.h:4886:9 */ 15065 15066 //* Opcode for xcb_no_operation. 15067 15068 // * 15069 // @brief xcb_no_operation_request_t 15070 // 15071 type xcb_no_operation_request_t = xcb_no_operation_request_t1 /* xproto.h:4890:3 */ 15072 15073 // * 15074 // @} 15075 15076 //* XCB_NONE is the universal null resource or null atom parameter value for many core X requests 15077 15078 //* XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters 15079 15080 //* XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t 15081 15082 //* XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables 15083 15084 // xcb_auth.c 15085 15086 // * 15087 // @brief Container for authorization information. 15088 // 15089 // A container for authorization information to be sent to the X server. 15090 type xcb_auth_info_t1 = struct { 15091 Fnamelen int32 15092 F__ccgo_pad1 [4]byte 15093 Fname uintptr 15094 Fdatalen int32 15095 F__ccgo_pad2 [4]byte 15096 Fdata uintptr 15097 } /* xcb.h:228:9 */ 15098 15099 // * 15100 // @} 15101 15102 //* XCB_NONE is the universal null resource or null atom parameter value for many core X requests 15103 15104 //* XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters 15105 15106 //* XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t 15107 15108 //* XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables 15109 15110 // xcb_auth.c 15111 15112 // * 15113 // @brief Container for authorization information. 15114 // 15115 // A container for authorization information to be sent to the X server. 15116 type xcb_auth_info_t = xcb_auth_info_t1 /* xcb.h:233:3 */ 15117 15118 // * 15119 // @} 15120 15121 func print_modifiers(tls *libc.TLS, mask uint32_t) { /* eventex.c:11:1: */ 15122 bp := tls.Alloc(104) 15123 defer tls.Free(104) 15124 15125 var mod uintptr 15126 *(*[13]uintptr)(unsafe.Pointer(bp /* mods */)) = [13]uintptr{ 15127 ts, ts + 6, ts + 11, ts + 16, 15128 ts + 20, ts + 25, ts + 30, ts + 35, 15129 ts + 40, ts + 48, ts + 56, ts + 64, ts + 72, 15130 } 15131 libc.Xprintf(tls, ts+80, 0) 15132 mod = bp /* &mods[0] */ 15133 __1: 15134 if !(mask != 0) { 15135 goto __3 15136 } 15137 if mask&uint32_t(1) != 0 { 15138 libc.Xprintf(tls, *(*uintptr)(unsafe.Pointer(mod)), 0) 15139 } 15140 goto __2 15141 __2: 15142 mask >>= 1 15143 mod += 8 15144 goto __1 15145 goto __3 15146 __3: 15147 ; 15148 libc.Xputchar(tls, '\n') 15149 } 15150 15151 func main1(tls *libc.TLS, _ int32, _ uintptr) int32 { /* eventex.c:26:1: */ 15152 bp := tls.Alloc(256) 15153 defer tls.Free(256) 15154 15155 var c uintptr 15156 var screen uintptr 15157 var win xcb_window_t 15158 var e uintptr 15159 var mask uint32_t = uint32_t(0) 15160 // var values [2]uint32_t at bp+248, 8 15161 15162 // Open the connection to the X server 15163 c = xcb.Xxcb_connect(tls, uintptr(0), uintptr(0)) 15164 15165 // Get the first screen 15166 screen = xcb.Xxcb_setup_roots_iterator(tls, xcb.Xxcb_get_setup(tls, c)).Fdata 15167 15168 // Ask for our window's Id 15169 win = xcb.Xxcb_generate_id(tls, c) 15170 15171 // Create the window 15172 mask = uint32_t(XCB_CW_BACK_PIXEL | XCB_CW_EVENT_MASK) 15173 *(*uint32_t)(unsafe.Pointer(bp + 248)) = (*xcb_screen_t)(unsafe.Pointer(screen)).Fwhite_pixel 15174 *(*uint32_t)(unsafe.Pointer(bp + 248 + 1*4)) = uint32_t(XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_BUTTON_PRESS | XCB_EVENT_MASK_BUTTON_RELEASE | XCB_EVENT_MASK_POINTER_MOTION | XCB_EVENT_MASK_ENTER_WINDOW | XCB_EVENT_MASK_LEAVE_WINDOW | XCB_EVENT_MASK_KEY_PRESS | XCB_EVENT_MASK_KEY_RELEASE) 15175 xcb.Xxcb_create_window(tls, c, // Connection 15176 uint8(0), // depth 15177 win, // window Id 15178 (*xcb_screen_t)(unsafe.Pointer(screen)).Froot, // parent window 15179 int16(0), int16(0), // x, y 15180 uint16(150), uint16(150), // width, height 15181 uint16(10), // border_width 15182 XCB_WINDOW_CLASS_INPUT_OUTPUT, // class 15183 (*xcb_screen_t)(unsafe.Pointer(screen)).Froot_visual, // visual 15184 mask, bp+248) // masks 15185 15186 // Map the window on the screen 15187 xcb.Xxcb_map_window(tls, c, win) 15188 15189 xcb.Xxcb_flush(tls, c) 15190 15191 for libc.AssignUintptr(&e, xcb.Xxcb_wait_for_event(tls, c)) != 0 { 15192 switch int32((*xcb_generic_event_t)(unsafe.Pointer(e)).Fresponse_type) & libc.CplInt32(0x80) { 15193 case 12: 15194 { 15195 var ev uintptr = e 15196 15197 libc.Xprintf(tls, ts+96, 15198 libc.VaList(bp, (*xcb_expose_event_t)(unsafe.Pointer(ev)).Fwindow, int32((*xcb_expose_event_t)(unsafe.Pointer(ev)).Fx), int32((*xcb_expose_event_t)(unsafe.Pointer(ev)).Fy), int32((*xcb_expose_event_t)(unsafe.Pointer(ev)).Fwidth), int32((*xcb_expose_event_t)(unsafe.Pointer(ev)).Fheight))) 15199 break 15200 15201 } 15202 case 4: 15203 { 15204 var ev uintptr = e 15205 print_modifiers(tls, uint32((*xcb_button_press_event_t)(unsafe.Pointer(ev)).Fstate)) 15206 15207 switch int32((*xcb_button_press_event_t)(unsafe.Pointer(ev)).Fdetail) { 15208 case 4: 15209 libc.Xprintf(tls, ts+182, 15210 libc.VaList(bp+40, (*xcb_button_press_event_t)(unsafe.Pointer(ev)).Fevent, int32((*xcb_button_press_event_t)(unsafe.Pointer(ev)).Fevent_x), int32((*xcb_button_press_event_t)(unsafe.Pointer(ev)).Fevent_y))) 15211 break 15212 case 5: 15213 libc.Xprintf(tls, ts+237, 15214 libc.VaList(bp+64, (*xcb_button_press_event_t)(unsafe.Pointer(ev)).Fevent, int32((*xcb_button_press_event_t)(unsafe.Pointer(ev)).Fevent_x), int32((*xcb_button_press_event_t)(unsafe.Pointer(ev)).Fevent_y))) 15215 break 15216 default: 15217 libc.Xprintf(tls, ts+294, 15218 libc.VaList(bp+88, int32((*xcb_button_press_event_t)(unsafe.Pointer(ev)).Fdetail), (*xcb_button_press_event_t)(unsafe.Pointer(ev)).Fevent, int32((*xcb_button_press_event_t)(unsafe.Pointer(ev)).Fevent_x), int32((*xcb_button_press_event_t)(unsafe.Pointer(ev)).Fevent_y))) 15219 } 15220 break 15221 15222 } 15223 case 5: 15224 { 15225 var ev uintptr = e 15226 print_modifiers(tls, uint32((*xcb_button_release_event_t)(unsafe.Pointer(ev)).Fstate)) 15227 15228 libc.Xprintf(tls, ts+351, 15229 libc.VaList(bp+120, int32((*xcb_button_release_event_t)(unsafe.Pointer(ev)).Fdetail), (*xcb_button_release_event_t)(unsafe.Pointer(ev)).Fevent, int32((*xcb_button_release_event_t)(unsafe.Pointer(ev)).Fevent_x), int32((*xcb_button_release_event_t)(unsafe.Pointer(ev)).Fevent_y))) 15230 break 15231 15232 } 15233 case 6: 15234 { 15235 var ev uintptr = e 15236 15237 libc.Xprintf(tls, ts+409, 15238 libc.VaList(bp+152, (*xcb_motion_notify_event_t)(unsafe.Pointer(ev)).Fevent, int32((*xcb_motion_notify_event_t)(unsafe.Pointer(ev)).Fevent_x), int32((*xcb_motion_notify_event_t)(unsafe.Pointer(ev)).Fevent_y))) 15239 break 15240 15241 } 15242 case 7: 15243 { 15244 var ev uintptr = e 15245 15246 libc.Xprintf(tls, ts+460, 15247 libc.VaList(bp+176, (*xcb_enter_notify_event_t)(unsafe.Pointer(ev)).Fevent, int32((*xcb_enter_notify_event_t)(unsafe.Pointer(ev)).Fevent_x), int32((*xcb_enter_notify_event_t)(unsafe.Pointer(ev)).Fevent_y))) 15248 break 15249 15250 } 15251 case 8: 15252 { 15253 var ev uintptr = e 15254 15255 libc.Xprintf(tls, ts+510, 15256 libc.VaList(bp+200, (*xcb_leave_notify_event_t)(unsafe.Pointer(ev)).Fevent, int32((*xcb_leave_notify_event_t)(unsafe.Pointer(ev)).Fevent_x), int32((*xcb_leave_notify_event_t)(unsafe.Pointer(ev)).Fevent_y))) 15257 break 15258 15259 } 15260 case 2: 15261 { 15262 var ev uintptr = e 15263 print_modifiers(tls, uint32((*xcb_key_press_event_t)(unsafe.Pointer(ev)).Fstate)) 15264 15265 libc.Xprintf(tls, ts+557, 15266 libc.VaList(bp+224, (*xcb_key_press_event_t)(unsafe.Pointer(ev)).Fevent)) 15267 break 15268 15269 } 15270 case 3: 15271 { 15272 var ev uintptr = e 15273 print_modifiers(tls, uint32((*xcb_key_release_event_t)(unsafe.Pointer(ev)).Fstate)) 15274 15275 libc.Xprintf(tls, ts+584, 15276 libc.VaList(bp+232, (*xcb_key_release_event_t)(unsafe.Pointer(ev)).Fevent)) 15277 break 15278 15279 } 15280 default: 15281 // Unknown event type, ignore it 15282 libc.Xprintf(tls, ts+612, libc.VaList(bp+240, int32((*xcb_generic_event_t)(unsafe.Pointer(e)).Fresponse_type))) 15283 break 15284 } 15285 // Free the Generic Event 15286 libc.Xfree(tls, e) 15287 } 15288 15289 return 0 15290 } 15291 15292 var ts1 = "Shift\x00Lock\x00Ctrl\x00Alt\x00Mod2\x00Mod3\x00Mod4\x00Mod5\x00Button1\x00Button2\x00Button3\x00Button4\x00Button5\x00Modifier mask: \x00Window %ld exposed. Region to be redrawn at location (%d,%d), with dimension (%d,%d)\n\x00Wheel Button up in window %ld, at coordinates (%d,%d)\n\x00Wheel Button down in window %ld, at coordinates (%d,%d)\n\x00Button %d pressed in window %ld, at coordinates (%d,%d)\n\x00Button %d released in window %ld, at coordinates (%d,%d)\n\x00Mouse moved in window %ld, at coordinates (%d,%d)\n\x00Mouse entered window %ld, at coordinates (%d,%d)\n\x00Mouse left window %ld, at coordinates (%d,%d)\n\x00Key pressed in window %ld\n\x00Key released in window %ld\n\x00Unknown event: %d\n\x00" 15293 var ts = (*reflect.StringHeader)(unsafe.Pointer(&ts1)).Data