1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
pub type int8_t = ::libc::c_char;
pub type int16_t = ::libc::c_short;
pub type int32_t = ::libc::c_int;
pub type int64_t = ::libc::c_longlong;
pub type uint8_t = ::libc::c_uchar;
pub type uint16_t = ::libc::c_ushort;
pub type uint32_t = ::libc::c_uint;
pub type uint64_t = ::libc::c_ulonglong;
pub type int_least8_t = int8_t;
pub type int_least16_t = int16_t;
pub type int_least32_t = int32_t;
pub type int_least64_t = int64_t;
pub type uint_least8_t = uint8_t;
pub type uint_least16_t = uint16_t;
pub type uint_least32_t = uint32_t;
pub type uint_least64_t = uint64_t;
pub type int_fast8_t = int8_t;
pub type int_fast16_t = int16_t;
pub type int_fast32_t = int32_t;
pub type int_fast64_t = int64_t;
pub type uint_fast8_t = uint8_t;
pub type uint_fast16_t = uint16_t;
pub type uint_fast32_t = uint32_t;
pub type uint_fast64_t = uint64_t;
pub type __int8_t = ::libc::c_char;
pub type __uint8_t = ::libc::c_uchar;
pub type __int16_t = ::libc::c_short;
pub type __uint16_t = ::libc::c_ushort;
pub type __int32_t = ::libc::c_int;
pub type __uint32_t = ::libc::c_uint;
pub type __int64_t = ::libc::c_longlong;
pub type __uint64_t = ::libc::c_ulonglong;
pub type __darwin_intptr_t = ::libc::c_long;
pub type __darwin_natural_t = ::libc::c_uint;
pub type __darwin_ct_rune_t = ::libc::c_int;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Union_Unnamed1 {
pub _bindgen_data_: [u64; 16usize],
}
impl Union_Unnamed1 {
pub unsafe fn __mbstate8(&mut self) -> *mut [::libc::c_char; 128usize] {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _mbstateL(&mut self) -> *mut ::libc::c_longlong {
::std::mem::transmute(&self._bindgen_data_)
}
}
impl ::std::default::Default for Union_Unnamed1 {
fn default() -> Union_Unnamed1 { unsafe { ::std::mem::zeroed() } }
}
pub type __mbstate_t = Union_Unnamed1;
pub type __darwin_mbstate_t = __mbstate_t;
pub type __darwin_ptrdiff_t = ::libc::c_long;
pub type __darwin_size_t = ::libc::c_ulong;
pub type __darwin_va_list = __builtin_va_list;
pub type __darwin_wchar_t = ::libc::c_int;
pub type __darwin_rune_t = __darwin_wchar_t;
pub type __darwin_wint_t = ::libc::c_int;
pub type __darwin_clock_t = ::libc::c_ulong;
pub type __darwin_socklen_t = __uint32_t;
pub type __darwin_ssize_t = ::libc::c_long;
pub type __darwin_time_t = ::libc::c_long;
pub type __darwin_blkcnt_t = __int64_t;
pub type __darwin_blksize_t = __int32_t;
pub type __darwin_dev_t = __int32_t;
pub type __darwin_fsblkcnt_t = ::libc::c_uint;
pub type __darwin_fsfilcnt_t = ::libc::c_uint;
pub type __darwin_gid_t = __uint32_t;
pub type __darwin_id_t = __uint32_t;
pub type __darwin_ino64_t = __uint64_t;
pub type __darwin_ino_t = __darwin_ino64_t;
pub type __darwin_mach_port_name_t = __darwin_natural_t;
pub type __darwin_mach_port_t = __darwin_mach_port_name_t;
pub type __darwin_mode_t = __uint16_t;
pub type __darwin_off_t = __int64_t;
pub type __darwin_pid_t = __int32_t;
pub type __darwin_sigset_t = __uint32_t;
pub type __darwin_suseconds_t = __int32_t;
pub type __darwin_uid_t = __uint32_t;
pub type __darwin_useconds_t = __uint32_t;
pub type __darwin_uuid_t = [::libc::c_uchar; 16usize];
pub type __darwin_uuid_string_t = [::libc::c_char; 37usize];
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___darwin_pthread_handler_rec {
pub __routine: ::std::option::Option<extern "C" fn
(arg1: *mut ::libc::c_void)
-> ()>,
pub __arg: *mut ::libc::c_void,
pub __next: *mut Struct___darwin_pthread_handler_rec,
}
impl ::std::default::Default for Struct___darwin_pthread_handler_rec {
fn default() -> Struct___darwin_pthread_handler_rec {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct__opaque_pthread_attr_t {
pub __sig: ::libc::c_long,
pub __opaque: [::libc::c_char; 56usize],
}
impl ::std::default::Default for Struct__opaque_pthread_attr_t {
fn default() -> Struct__opaque_pthread_attr_t {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct__opaque_pthread_cond_t {
pub __sig: ::libc::c_long,
pub __opaque: [::libc::c_char; 40usize],
}
impl ::std::default::Default for Struct__opaque_pthread_cond_t {
fn default() -> Struct__opaque_pthread_cond_t {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct__opaque_pthread_condattr_t {
pub __sig: ::libc::c_long,
pub __opaque: [::libc::c_char; 8usize],
}
impl ::std::default::Default for Struct__opaque_pthread_condattr_t {
fn default() -> Struct__opaque_pthread_condattr_t {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct__opaque_pthread_mutex_t {
pub __sig: ::libc::c_long,
pub __opaque: [::libc::c_char; 56usize],
}
impl ::std::default::Default for Struct__opaque_pthread_mutex_t {
fn default() -> Struct__opaque_pthread_mutex_t {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct__opaque_pthread_mutexattr_t {
pub __sig: ::libc::c_long,
pub __opaque: [::libc::c_char; 8usize],
}
impl ::std::default::Default for Struct__opaque_pthread_mutexattr_t {
fn default() -> Struct__opaque_pthread_mutexattr_t {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct__opaque_pthread_once_t {
pub __sig: ::libc::c_long,
pub __opaque: [::libc::c_char; 8usize],
}
impl ::std::default::Default for Struct__opaque_pthread_once_t {
fn default() -> Struct__opaque_pthread_once_t {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct__opaque_pthread_rwlock_t {
pub __sig: ::libc::c_long,
pub __opaque: [::libc::c_char; 192usize],
}
impl ::std::default::Default for Struct__opaque_pthread_rwlock_t {
fn default() -> Struct__opaque_pthread_rwlock_t {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct__opaque_pthread_rwlockattr_t {
pub __sig: ::libc::c_long,
pub __opaque: [::libc::c_char; 16usize],
}
impl ::std::default::Default for Struct__opaque_pthread_rwlockattr_t {
fn default() -> Struct__opaque_pthread_rwlockattr_t {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct__opaque_pthread_t {
pub __sig: ::libc::c_long,
pub __cleanup_stack: *mut Struct___darwin_pthread_handler_rec,
pub __opaque: [::libc::c_char; 8176usize],
}
impl ::std::default::Default for Struct__opaque_pthread_t {
fn default() -> Struct__opaque_pthread_t {
unsafe { ::std::mem::zeroed() }
}
}
pub type __darwin_pthread_attr_t = Struct__opaque_pthread_attr_t;
pub type __darwin_pthread_cond_t = Struct__opaque_pthread_cond_t;
pub type __darwin_pthread_condattr_t = Struct__opaque_pthread_condattr_t;
pub type __darwin_pthread_key_t = ::libc::c_ulong;
pub type __darwin_pthread_mutex_t = Struct__opaque_pthread_mutex_t;
pub type __darwin_pthread_mutexattr_t = Struct__opaque_pthread_mutexattr_t;
pub type __darwin_pthread_once_t = Struct__opaque_pthread_once_t;
pub type __darwin_pthread_rwlock_t = Struct__opaque_pthread_rwlock_t;
pub type __darwin_pthread_rwlockattr_t = Struct__opaque_pthread_rwlockattr_t;
pub type __darwin_pthread_t = *mut Struct__opaque_pthread_t;
pub type intptr_t = __darwin_intptr_t;
pub type uintptr_t = ::libc::c_ulong;
pub type intmax_t = ::libc::c_long;
pub type uintmax_t = ::libc::c_ulong;
pub type u_int8_t = ::libc::c_uchar;
pub type u_int16_t = ::libc::c_ushort;
pub type u_int32_t = ::libc::c_uint;
pub type u_int64_t = ::libc::c_ulonglong;
pub type register_t = int64_t;
pub type user_addr_t = u_int64_t;
pub type user_size_t = u_int64_t;
pub type user_ssize_t = int64_t;
pub type user_long_t = int64_t;
pub type user_ulong_t = u_int64_t;
pub type user_time_t = int64_t;
pub type user_off_t = int64_t;
pub type syscall_arg_t = u_int64_t;
pub type u_char = ::libc::c_uchar;
pub type u_short = ::libc::c_ushort;
pub type u_int = ::libc::c_uint;
pub type u_long = ::libc::c_ulong;
pub type ushort = ::libc::c_ushort;
pub type _uint = ::libc::c_uint;
pub type u_quad_t = u_int64_t;
pub type quad_t = int64_t;
pub type qaddr_t = *mut quad_t;
pub type caddr_t = *mut ::libc::c_char;
pub type daddr_t = int32_t;
pub type dev_t = __darwin_dev_t;
pub type fixpt_t = u_int32_t;
pub type blkcnt_t = __darwin_blkcnt_t;
pub type blksize_t = __darwin_blksize_t;
pub type gid_t = __darwin_gid_t;
pub type in_addr_t = __uint32_t;
pub type in_port_t = __uint16_t;
pub type ino_t = __darwin_ino_t;
pub type ino64_t = __darwin_ino64_t;
pub type key_t = __int32_t;
pub type mode_t = __darwin_mode_t;
pub type nlink_t = __uint16_t;
pub type id_t = __darwin_id_t;
pub type pid_t = __darwin_pid_t;
pub type off_t = __darwin_off_t;
pub type segsz_t = int32_t;
pub type swblk_t = int32_t;
pub type uid_t = __darwin_uid_t;
pub type clock_t = __darwin_clock_t;
pub type size_t = __darwin_size_t;
pub type ssize_t = __darwin_ssize_t;
pub type time_t = __darwin_time_t;
pub type useconds_t = __darwin_useconds_t;
pub type suseconds_t = __darwin_suseconds_t;
pub type rsize_t = __darwin_size_t;
pub type errno_t = ::libc::c_int;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_fd_set {
pub fds_bits: [__int32_t; 32usize],
}
impl ::std::default::Default for Struct_fd_set {
fn default() -> Struct_fd_set { unsafe { ::std::mem::zeroed() } }
}
pub type fd_set = Struct_fd_set;
pub type fd_mask = __int32_t;
pub type pthread_attr_t = __darwin_pthread_attr_t;
pub type pthread_cond_t = __darwin_pthread_cond_t;
pub type pthread_condattr_t = __darwin_pthread_condattr_t;
pub type pthread_mutex_t = __darwin_pthread_mutex_t;
pub type pthread_mutexattr_t = __darwin_pthread_mutexattr_t;
pub type pthread_once_t = __darwin_pthread_once_t;
pub type pthread_rwlock_t = __darwin_pthread_rwlock_t;
pub type pthread_rwlockattr_t = __darwin_pthread_rwlockattr_t;
pub type pthread_t = __darwin_pthread_t;
pub type pthread_key_t = __darwin_pthread_key_t;
pub type fsblkcnt_t = __darwin_fsblkcnt_t;
pub type fsfilcnt_t = __darwin_fsfilcnt_t;
pub type UInt8 = ::libc::c_uchar;
pub type SInt8 = ::libc::c_char;
pub type UInt16 = ::libc::c_ushort;
pub type SInt16 = ::libc::c_short;
pub type UInt32 = ::libc::c_uint;
pub type SInt32 = ::libc::c_int;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_wide {
pub lo: UInt32,
pub hi: SInt32,
}
impl ::std::default::Default for Struct_wide {
fn default() -> Struct_wide { unsafe { ::std::mem::zeroed() } }
}
pub type wide = Struct_wide;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_UnsignedWide {
pub lo: UInt32,
pub hi: UInt32,
}
impl ::std::default::Default for Struct_UnsignedWide {
fn default() -> Struct_UnsignedWide { unsafe { ::std::mem::zeroed() } }
}
pub type UnsignedWide = Struct_UnsignedWide;
pub type SInt64 = ::libc::c_longlong;
pub type UInt64 = ::libc::c_ulonglong;
pub type Fixed = SInt32;
pub type FixedPtr = *mut Fixed;
pub type Fract = SInt32;
pub type FractPtr = *mut Fract;
pub type UnsignedFixed = UInt32;
pub type UnsignedFixedPtr = *mut UnsignedFixed;
pub type ShortFixed = ::libc::c_short;
pub type ShortFixedPtr = *mut ShortFixed;
pub type Float32 = ::libc::c_float;
pub type Float64 = ::libc::c_double;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Float80 {
pub exp: SInt16,
pub man: [UInt16; 4usize],
}
impl ::std::default::Default for Struct_Float80 {
fn default() -> Struct_Float80 { unsafe { ::std::mem::zeroed() } }
}
pub type Float80 = Struct_Float80;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Float96 {
pub exp: [SInt16; 2usize],
pub man: [UInt16; 4usize],
}
impl ::std::default::Default for Struct_Float96 {
fn default() -> Struct_Float96 { unsafe { ::std::mem::zeroed() } }
}
pub type Float96 = Struct_Float96;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Float32Point {
pub x: Float32,
pub y: Float32,
}
impl ::std::default::Default for Struct_Float32Point {
fn default() -> Struct_Float32Point { unsafe { ::std::mem::zeroed() } }
}
pub type Float32Point = Struct_Float32Point;
pub type Ptr = *mut ::libc::c_char;
pub type Handle = *mut Ptr;
pub type Size = ::libc::c_long;
pub type OSErr = SInt16;
pub type OSStatus = SInt32;
pub type LogicalAddress = *mut ::libc::c_void;
pub type ConstLogicalAddress = *const ::libc::c_void;
pub type PhysicalAddress = *mut ::libc::c_void;
pub type BytePtr = *mut UInt8;
pub type ByteCount = ::libc::c_ulong;
pub type ByteOffset = ::libc::c_ulong;
pub type Duration = SInt32;
pub type AbsoluteTime = UnsignedWide;
pub type OptionBits = UInt32;
pub type ItemCount = ::libc::c_ulong;
pub type PBVersion = UInt32;
pub type ScriptCode = SInt16;
pub type LangCode = SInt16;
pub type RegionCode = SInt16;
pub type FourCharCode = UInt32;
pub type OSType = FourCharCode;
pub type ResType = FourCharCode;
pub type OSTypePtr = *mut OSType;
pub type ResTypePtr = *mut ResType;
pub type Boolean = ::libc::c_uchar;
pub type ProcPtr = ::std::option::Option<extern "C" fn() -> ::libc::c_long>;
pub type Register68kProcPtr = ::std::option::Option<extern "C" fn() -> ()>;
pub type UniversalProcPtr = ProcPtr;
pub type ProcHandle = *mut ProcPtr;
pub type UniversalProcHandle = *mut UniversalProcPtr;
pub type PRefCon = *mut ::libc::c_void;
pub type URefCon = *mut ::libc::c_void;
pub type SRefCon = *mut ::libc::c_void;
pub type Enum_Unnamed2 = ::libc::c_uint;
pub const noErr: ::libc::c_uint = 0;
pub type Enum_Unnamed3 = ::libc::c_uint;
pub const kNilOptions: ::libc::c_uint = 0;
pub type Enum_Unnamed4 = ::libc::c_uint;
pub const kVariableLengthArray: ::libc::c_uint = 1;
pub type Enum_Unnamed5 = ::libc::c_uint;
pub const kUnknownType: ::libc::c_uint = 1061109567;
pub type UnicodeScalarValue = UInt32;
pub type UTF32Char = UInt32;
pub type UniChar = UInt16;
pub type UTF16Char = UInt16;
pub type UTF8Char = UInt8;
pub type UniCharPtr = *mut UniChar;
pub type UniCharCount = ::libc::c_ulong;
pub type UniCharCountPtr = *mut UniCharCount;
pub type Str255 = [::libc::c_uchar; 256usize];
pub type Str63 = [::libc::c_uchar; 64usize];
pub type Str32 = [::libc::c_uchar; 33usize];
pub type Str31 = [::libc::c_uchar; 32usize];
pub type Str27 = [::libc::c_uchar; 28usize];
pub type Str15 = [::libc::c_uchar; 16usize];
pub type Str32Field = [::libc::c_uchar; 34usize];
pub type StrFileName = Str63;
pub type StringPtr = *mut ::libc::c_uchar;
pub type StringHandle = *mut StringPtr;
pub type ConstStringPtr = *const ::libc::c_uchar;
pub type ConstStr255Param = *const ::libc::c_uchar;
pub type ConstStr63Param = *const ::libc::c_uchar;
pub type ConstStr32Param = *const ::libc::c_uchar;
pub type ConstStr31Param = *const ::libc::c_uchar;
pub type ConstStr27Param = *const ::libc::c_uchar;
pub type ConstStr15Param = *const ::libc::c_uchar;
pub type ConstStrFileNameParam = ConstStr63Param;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_ProcessSerialNumber {
pub highLongOfPSN: UInt32,
pub lowLongOfPSN: UInt32,
}
impl ::std::default::Default for Struct_ProcessSerialNumber {
fn default() -> Struct_ProcessSerialNumber {
unsafe { ::std::mem::zeroed() }
}
}
pub type ProcessSerialNumber = Struct_ProcessSerialNumber;
pub type ProcessSerialNumberPtr = *mut ProcessSerialNumber;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Point {
pub v: ::libc::c_short,
pub h: ::libc::c_short,
}
impl ::std::default::Default for Struct_Point {
fn default() -> Struct_Point { unsafe { ::std::mem::zeroed() } }
}
pub type Point = Struct_Point;
pub type PointPtr = *mut Point;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Rect {
pub top: ::libc::c_short,
pub left: ::libc::c_short,
pub bottom: ::libc::c_short,
pub right: ::libc::c_short,
}
impl ::std::default::Default for Struct_Rect {
fn default() -> Struct_Rect { unsafe { ::std::mem::zeroed() } }
}
pub type Rect = Struct_Rect;
pub type RectPtr = *mut Rect;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_FixedPoint {
pub x: Fixed,
pub y: Fixed,
}
impl ::std::default::Default for Struct_FixedPoint {
fn default() -> Struct_FixedPoint { unsafe { ::std::mem::zeroed() } }
}
pub type FixedPoint = Struct_FixedPoint;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_FixedRect {
pub left: Fixed,
pub top: Fixed,
pub right: Fixed,
pub bottom: Fixed,
}
impl ::std::default::Default for Struct_FixedRect {
fn default() -> Struct_FixedRect { unsafe { ::std::mem::zeroed() } }
}
pub type FixedRect = Struct_FixedRect;
pub type CharParameter = ::libc::c_short;
pub type Enum_Unnamed6 = ::libc::c_uint;
pub const normal: ::libc::c_uint = 0;
pub const bold: ::libc::c_uint = 1;
pub const italic: ::libc::c_uint = 2;
pub const underline: ::libc::c_uint = 4;
pub const outline: ::libc::c_uint = 8;
pub const shadow: ::libc::c_uint = 16;
pub const condense: ::libc::c_uint = 32;
pub const extend: ::libc::c_uint = 64;
pub type Style = ::libc::c_uchar;
pub type StyleParameter = ::libc::c_short;
pub type StyleField = Style;
pub type TimeValue = SInt32;
pub type TimeScale = SInt32;
pub type CompTimeValue = wide;
pub type TimeValue64 = SInt64;
pub enum Struct_TimeBaseRecord { }
pub type TimeBase = *mut Struct_TimeBaseRecord;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_TimeRecord {
pub value: CompTimeValue,
pub scale: TimeScale,
pub base: TimeBase,
}
impl ::std::default::Default for Struct_TimeRecord {
fn default() -> Struct_TimeRecord { unsafe { ::std::mem::zeroed() } }
}
pub type TimeRecord = Struct_TimeRecord;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_NumVersion {
pub nonRelRev: UInt8,
pub stage: UInt8,
pub minorAndBugRev: UInt8,
pub majorRev: UInt8,
}
impl ::std::default::Default for Struct_NumVersion {
fn default() -> Struct_NumVersion { unsafe { ::std::mem::zeroed() } }
}
pub type NumVersion = Struct_NumVersion;
pub type Enum_Unnamed7 = ::libc::c_uint;
pub const developStage: ::libc::c_uint = 32;
pub const alphaStage: ::libc::c_uint = 64;
pub const betaStage: ::libc::c_uint = 96;
pub const finalStage: ::libc::c_uint = 128;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Union_NumVersionVariant {
pub _bindgen_data_: [u16; 2usize],
}
impl Union_NumVersionVariant {
pub unsafe fn parts(&mut self) -> *mut NumVersion {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn whole(&mut self) -> *mut UInt32 {
::std::mem::transmute(&self._bindgen_data_)
}
}
impl ::std::default::Default for Union_NumVersionVariant {
fn default() -> Union_NumVersionVariant {
unsafe { ::std::mem::zeroed() }
}
}
pub type NumVersionVariant = Union_NumVersionVariant;
pub type NumVersionVariantPtr = *mut NumVersionVariant;
pub type NumVersionVariantHandle = *mut NumVersionVariantPtr;
#[repr(C)]
pub struct Struct_VersRec {
pub numericVersion: NumVersion,
pub countryCode: ::libc::c_short,
pub shortVersion: Str255,
pub reserved: Str255,
}
impl ::std::default::Default for Struct_VersRec {
fn default() -> Struct_VersRec { unsafe { ::std::mem::zeroed() } }
}
pub type VersRec = Struct_VersRec;
pub type VersRecPtr = *mut VersRec;
pub type VersRecHndl = *mut VersRecPtr;
pub type Byte = UInt8;
pub type SignedByte = SInt8;
pub type WidePtr = *mut wide;
pub type UnsignedWidePtr = *mut UnsignedWide;
pub type extended80 = Float80;
pub type extended96 = Float96;
pub type VHSelect = SInt8;
pub type CFTypeID = ::libc::c_ulong;
pub type CFOptionFlags = ::libc::c_ulong;
pub type CFHashCode = ::libc::c_ulong;
pub type CFIndex = ::libc::c_long;
pub type CFTypeRef = *const ::libc::c_void;
pub enum Struct___CFString { }
pub type CFStringRef = *const Struct___CFString;
pub type CFMutableStringRef = *mut Struct___CFString;
pub type CFPropertyListRef = CFTypeRef;
pub type CFComparisonResult = CFIndex;
pub type Enum_Unnamed8 = ::libc::c_int;
pub const kCFCompareLessThan: ::libc::c_int = -1;
pub const kCFCompareEqualTo: ::libc::c_int = 0;
pub const kCFCompareGreaterThan: ::libc::c_int = 1;
pub type CFComparatorFunction =
::std::option::Option<extern "C" fn
(val1: *const ::libc::c_void,
val2: *const ::libc::c_void,
context: *mut ::libc::c_void)
-> CFComparisonResult>;
pub type Enum_Unnamed9 = ::libc::c_int;
pub const kCFNotFound: ::libc::c_int = -1;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed10 {
pub location: CFIndex,
pub length: CFIndex,
}
impl ::std::default::Default for Struct_Unnamed10 {
fn default() -> Struct_Unnamed10 { unsafe { ::std::mem::zeroed() } }
}
pub type CFRange = Struct_Unnamed10;
pub enum Struct___CFNull { }
pub type CFNullRef = *const Struct___CFNull;
pub enum Struct___CFAllocator { }
pub type CFAllocatorRef = *const Struct___CFAllocator;
pub type CFAllocatorRetainCallBack =
::std::option::Option<extern "C" fn(info: *const ::libc::c_void)
-> *const ::libc::c_void>;
pub type CFAllocatorReleaseCallBack =
::std::option::Option<extern "C" fn(info: *const ::libc::c_void) -> ()>;
pub type CFAllocatorCopyDescriptionCallBack =
::std::option::Option<extern "C" fn(info: *const ::libc::c_void)
-> CFStringRef>;
pub type CFAllocatorAllocateCallBack =
::std::option::Option<extern "C" fn
(allocSize: CFIndex, hint: CFOptionFlags,
info: *mut ::libc::c_void)
-> *mut ::libc::c_void>;
pub type CFAllocatorReallocateCallBack =
::std::option::Option<extern "C" fn
(ptr: *mut ::libc::c_void, newsize: CFIndex,
hint: CFOptionFlags, info: *mut ::libc::c_void)
-> *mut ::libc::c_void>;
pub type CFAllocatorDeallocateCallBack =
::std::option::Option<extern "C" fn
(ptr: *mut ::libc::c_void,
info: *mut ::libc::c_void) -> ()>;
pub type CFAllocatorPreferredSizeCallBack =
::std::option::Option<extern "C" fn
(size: CFIndex, hint: CFOptionFlags,
info: *mut ::libc::c_void) -> CFIndex>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed11 {
pub version: CFIndex,
pub info: *mut ::libc::c_void,
pub retain: CFAllocatorRetainCallBack,
pub release: CFAllocatorReleaseCallBack,
pub copyDescription: CFAllocatorCopyDescriptionCallBack,
pub allocate: CFAllocatorAllocateCallBack,
pub reallocate: CFAllocatorReallocateCallBack,
pub deallocate: CFAllocatorDeallocateCallBack,
pub preferredSize: CFAllocatorPreferredSizeCallBack,
}
impl ::std::default::Default for Struct_Unnamed11 {
fn default() -> Struct_Unnamed11 { unsafe { ::std::mem::zeroed() } }
}
pub type CFAllocatorContext = Struct_Unnamed11;
pub type Enum_Unnamed12 = ::libc::c_int;
pub const kAudio_UnimplementedError: ::libc::c_int = -4;
pub const kAudio_FileNotFoundError: ::libc::c_int = -43;
pub const kAudio_FilePermissionError: ::libc::c_int = -54;
pub const kAudio_TooManyFilesOpenError: ::libc::c_int = -42;
pub const kAudio_BadFilePathError: ::libc::c_int = 561017960;
pub const kAudio_ParamError: ::libc::c_int = -50;
pub const kAudio_MemFullError: ::libc::c_int = -108;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioValueRange {
pub mMinimum: Float64,
pub mMaximum: Float64,
}
impl ::std::default::Default for Struct_AudioValueRange {
fn default() -> Struct_AudioValueRange { unsafe { ::std::mem::zeroed() } }
}
pub type AudioValueRange = Struct_AudioValueRange;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioValueTranslation {
pub mInputData: *mut ::libc::c_void,
pub mInputDataSize: UInt32,
pub mOutputData: *mut ::libc::c_void,
pub mOutputDataSize: UInt32,
}
impl ::std::default::Default for Struct_AudioValueTranslation {
fn default() -> Struct_AudioValueTranslation {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioValueTranslation = Struct_AudioValueTranslation;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioBuffer {
pub mNumberChannels: UInt32,
pub mDataByteSize: UInt32,
pub mData: *mut ::libc::c_void,
}
impl ::std::default::Default for Struct_AudioBuffer {
fn default() -> Struct_AudioBuffer { unsafe { ::std::mem::zeroed() } }
}
pub type AudioBuffer = Struct_AudioBuffer;
#[repr(C)]
pub struct Struct_AudioBufferList {
pub mNumberBuffers: UInt32,
pub mBuffers: [AudioBuffer; 128usize],
}
impl ::std::default::Default for Struct_AudioBufferList {
fn default() -> Struct_AudioBufferList { unsafe { ::std::mem::zeroed() } }
}
pub type AudioBufferList = Struct_AudioBufferList;
pub type AudioSampleType = Float32;
pub type AudioUnitSampleType = Float32;
pub type AudioFormatID = UInt32;
pub type AudioFormatFlags = UInt32;
#[repr(C)]
#[derive(Copy, Clone, Debug)]
pub struct Struct_AudioStreamBasicDescription {
pub mSampleRate: Float64,
pub mFormatID: AudioFormatID,
pub mFormatFlags: AudioFormatFlags,
pub mBytesPerPacket: UInt32,
pub mFramesPerPacket: UInt32,
pub mBytesPerFrame: UInt32,
pub mChannelsPerFrame: UInt32,
pub mBitsPerChannel: UInt32,
pub mReserved: UInt32,
}
impl ::std::default::Default for Struct_AudioStreamBasicDescription {
fn default() -> Struct_AudioStreamBasicDescription {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioStreamBasicDescription = Struct_AudioStreamBasicDescription;
pub type Enum_Unnamed13 = ::libc::c_uint;
pub const kAudioStreamAnyRate: ::libc::c_uint = 0;
pub type Enum_Unnamed14 = ::libc::c_uint;
pub const kAudioFormatLinearPCM: ::libc::c_uint = 1819304813;
pub const kAudioFormatAC3: ::libc::c_uint = 1633889587;
pub const kAudioFormat60958AC3: ::libc::c_uint = 1667326771;
pub const kAudioFormatAppleIMA4: ::libc::c_uint = 1768775988;
pub const kAudioFormatMPEG4AAC: ::libc::c_uint = 1633772320;
pub const kAudioFormatMPEG4CELP: ::libc::c_uint = 1667591280;
pub const kAudioFormatMPEG4HVXC: ::libc::c_uint = 1752594531;
pub const kAudioFormatMPEG4TwinVQ: ::libc::c_uint = 1953986161;
pub const kAudioFormatMACE3: ::libc::c_uint = 1296122675;
pub const kAudioFormatMACE6: ::libc::c_uint = 1296122678;
pub const kAudioFormatULaw: ::libc::c_uint = 1970037111;
pub const kAudioFormatALaw: ::libc::c_uint = 1634492791;
pub const kAudioFormatQDesign: ::libc::c_uint = 1363430723;
pub const kAudioFormatQDesign2: ::libc::c_uint = 1363430706;
pub const kAudioFormatQUALCOMM: ::libc::c_uint = 1365470320;
pub const kAudioFormatMPEGLayer1: ::libc::c_uint = 778924081;
pub const kAudioFormatMPEGLayer2: ::libc::c_uint = 778924082;
pub const kAudioFormatMPEGLayer3: ::libc::c_uint = 778924083;
pub const kAudioFormatTimeCode: ::libc::c_uint = 1953066341;
pub const kAudioFormatMIDIStream: ::libc::c_uint = 1835623529;
pub const kAudioFormatParameterValueStream: ::libc::c_uint = 1634760307;
pub const kAudioFormatAppleLossless: ::libc::c_uint = 1634492771;
pub const kAudioFormatMPEG4AAC_HE: ::libc::c_uint = 1633772392;
pub const kAudioFormatMPEG4AAC_LD: ::libc::c_uint = 1633772396;
pub const kAudioFormatMPEG4AAC_ELD: ::libc::c_uint = 1633772389;
pub const kAudioFormatMPEG4AAC_ELD_SBR: ::libc::c_uint = 1633772390;
pub const kAudioFormatMPEG4AAC_ELD_V2: ::libc::c_uint = 1633772391;
pub const kAudioFormatMPEG4AAC_HE_V2: ::libc::c_uint = 1633772400;
pub const kAudioFormatMPEG4AAC_Spatial: ::libc::c_uint = 1633772403;
pub const kAudioFormatAMR: ::libc::c_uint = 1935764850;
pub const kAudioFormatAMR_WB: ::libc::c_uint = 1935767394;
pub const kAudioFormatAudible: ::libc::c_uint = 1096107074;
pub const kAudioFormatiLBC: ::libc::c_uint = 1768710755;
pub const kAudioFormatDVIIntelIMA: ::libc::c_uint = 1836253201;
pub const kAudioFormatMicrosoftGSM: ::libc::c_uint = 1836253233;
pub const kAudioFormatAES3: ::libc::c_uint = 1634038579;
pub type Enum_Unnamed15 = ::libc::c_int;
pub const kAudioFormatFlagIsFloat: ::libc::c_int = 1;
pub const kAudioFormatFlagIsBigEndian: ::libc::c_int = 2;
pub const kAudioFormatFlagIsSignedInteger: ::libc::c_int = 4;
pub const kAudioFormatFlagIsPacked: ::libc::c_int = 8;
pub const kAudioFormatFlagIsAlignedHigh: ::libc::c_int = 16;
pub const kAudioFormatFlagIsNonInterleaved: ::libc::c_int = 32;
pub const kAudioFormatFlagIsNonMixable: ::libc::c_int = 64;
pub const kAudioFormatFlagsAreAllClear: ::libc::c_int = -2147483648;
pub const kLinearPCMFormatFlagIsFloat: ::libc::c_int = 1;
pub const kLinearPCMFormatFlagIsBigEndian: ::libc::c_int = 2;
pub const kLinearPCMFormatFlagIsSignedInteger: ::libc::c_int = 4;
pub const kLinearPCMFormatFlagIsPacked: ::libc::c_int = 8;
pub const kLinearPCMFormatFlagIsAlignedHigh: ::libc::c_int = 16;
pub const kLinearPCMFormatFlagIsNonInterleaved: ::libc::c_int = 32;
pub const kLinearPCMFormatFlagIsNonMixable: ::libc::c_int = 64;
pub const kLinearPCMFormatFlagsSampleFractionShift: ::libc::c_int = 7;
pub const kLinearPCMFormatFlagsSampleFractionMask: ::libc::c_int = 8064;
pub const kLinearPCMFormatFlagsAreAllClear: ::libc::c_int = -2147483648;
pub const kAppleLosslessFormatFlag_16BitSourceData: ::libc::c_int = 1;
pub const kAppleLosslessFormatFlag_20BitSourceData: ::libc::c_int = 2;
pub const kAppleLosslessFormatFlag_24BitSourceData: ::libc::c_int = 3;
pub const kAppleLosslessFormatFlag_32BitSourceData: ::libc::c_int = 4;
pub type Enum_Unnamed16 = ::libc::c_uint;
pub const kAudioFormatFlagsNativeEndian: ::libc::c_uint = 0;
pub const kAudioFormatFlagsCanonical: ::libc::c_uint = 9;
pub const kAudioFormatFlagsAudioUnitCanonical: ::libc::c_uint = 41;
pub const kAudioFormatFlagsNativeFloatPacked: ::libc::c_uint = 9;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioStreamPacketDescription {
pub mStartOffset: SInt64,
pub mVariableFramesInPacket: UInt32,
pub mDataByteSize: UInt32,
}
impl ::std::default::Default for Struct_AudioStreamPacketDescription {
fn default() -> Struct_AudioStreamPacketDescription {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioStreamPacketDescription = Struct_AudioStreamPacketDescription;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_SMPTETime {
pub mSubframes: SInt16,
pub mSubframeDivisor: SInt16,
pub mCounter: UInt32,
pub mType: UInt32,
pub mFlags: UInt32,
pub mHours: SInt16,
pub mMinutes: SInt16,
pub mSeconds: SInt16,
pub mFrames: SInt16,
}
impl ::std::default::Default for Struct_SMPTETime {
fn default() -> Struct_SMPTETime { unsafe { ::std::mem::zeroed() } }
}
pub type SMPTETime = Struct_SMPTETime;
pub type Enum_Unnamed17 = ::libc::c_uint;
pub const kSMPTETimeType24: ::libc::c_uint = 0;
pub const kSMPTETimeType25: ::libc::c_uint = 1;
pub const kSMPTETimeType30Drop: ::libc::c_uint = 2;
pub const kSMPTETimeType30: ::libc::c_uint = 3;
pub const kSMPTETimeType2997: ::libc::c_uint = 4;
pub const kSMPTETimeType2997Drop: ::libc::c_uint = 5;
pub const kSMPTETimeType60: ::libc::c_uint = 6;
pub const kSMPTETimeType5994: ::libc::c_uint = 7;
pub const kSMPTETimeType60Drop: ::libc::c_uint = 8;
pub const kSMPTETimeType5994Drop: ::libc::c_uint = 9;
pub const kSMPTETimeType50: ::libc::c_uint = 10;
pub const kSMPTETimeType2398: ::libc::c_uint = 11;
pub type Enum_Unnamed18 = ::libc::c_uint;
pub const kSMPTETimeValid: ::libc::c_uint = 1;
pub const kSMPTETimeRunning: ::libc::c_uint = 2;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioTimeStamp {
pub mSampleTime: Float64,
pub mHostTime: UInt64,
pub mRateScalar: Float64,
pub mWordClockTime: UInt64,
pub mSMPTETime: SMPTETime,
pub mFlags: UInt32,
pub mReserved: UInt32,
}
impl ::std::default::Default for Struct_AudioTimeStamp {
fn default() -> Struct_AudioTimeStamp { unsafe { ::std::mem::zeroed() } }
}
pub type AudioTimeStamp = Struct_AudioTimeStamp;
pub type Enum_Unnamed19 = ::libc::c_uint;
pub const kAudioTimeStampSampleTimeValid: ::libc::c_uint = 1;
pub const kAudioTimeStampHostTimeValid: ::libc::c_uint = 2;
pub const kAudioTimeStampRateScalarValid: ::libc::c_uint = 4;
pub const kAudioTimeStampWordClockTimeValid: ::libc::c_uint = 8;
pub const kAudioTimeStampSMPTETimeValid: ::libc::c_uint = 16;
pub type Enum_Unnamed20 = ::libc::c_uint;
pub const kAudioTimeStampSampleHostTimeValid: ::libc::c_uint = 3;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioClassDescription {
pub mType: OSType,
pub mSubType: OSType,
pub mManufacturer: OSType,
}
impl ::std::default::Default for Struct_AudioClassDescription {
fn default() -> Struct_AudioClassDescription {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioClassDescription = Struct_AudioClassDescription;
pub type AudioChannelLabel = UInt32;
pub type AudioChannelLayoutTag = UInt32;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioChannelDescription {
pub mChannelLabel: AudioChannelLabel,
pub mChannelFlags: UInt32,
pub mCoordinates: [Float32; 3usize],
}
impl ::std::default::Default for Struct_AudioChannelDescription {
fn default() -> Struct_AudioChannelDescription {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioChannelDescription = Struct_AudioChannelDescription;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioChannelLayout {
pub mChannelLayoutTag: AudioChannelLayoutTag,
pub mChannelBitmap: UInt32,
pub mNumberChannelDescriptions: UInt32,
pub mChannelDescriptions: [AudioChannelDescription; 1usize],
}
impl ::std::default::Default for Struct_AudioChannelLayout {
fn default() -> Struct_AudioChannelLayout {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioChannelLayout = Struct_AudioChannelLayout;
pub type Enum_Unnamed21 = ::libc::c_uint;
pub const kAudioChannelLabel_Unknown: ::libc::c_uint = ::std::u32::MAX;
pub const kAudioChannelLabel_Unused: ::libc::c_uint = 0;
pub const kAudioChannelLabel_UseCoordinates: ::libc::c_uint = 100;
pub const kAudioChannelLabel_Left: ::libc::c_uint = 1;
pub const kAudioChannelLabel_Right: ::libc::c_uint = 2;
pub const kAudioChannelLabel_Center: ::libc::c_uint = 3;
pub const kAudioChannelLabel_LFEScreen: ::libc::c_uint = 4;
pub const kAudioChannelLabel_LeftSurround: ::libc::c_uint = 5;
pub const kAudioChannelLabel_RightSurround: ::libc::c_uint = 6;
pub const kAudioChannelLabel_LeftCenter: ::libc::c_uint = 7;
pub const kAudioChannelLabel_RightCenter: ::libc::c_uint = 8;
pub const kAudioChannelLabel_CenterSurround: ::libc::c_uint = 9;
pub const kAudioChannelLabel_LeftSurroundDirect: ::libc::c_uint = 10;
pub const kAudioChannelLabel_RightSurroundDirect: ::libc::c_uint = 11;
pub const kAudioChannelLabel_TopCenterSurround: ::libc::c_uint = 12;
pub const kAudioChannelLabel_VerticalHeightLeft: ::libc::c_uint = 13;
pub const kAudioChannelLabel_VerticalHeightCenter: ::libc::c_uint = 14;
pub const kAudioChannelLabel_VerticalHeightRight: ::libc::c_uint = 15;
pub const kAudioChannelLabel_TopBackLeft: ::libc::c_uint = 16;
pub const kAudioChannelLabel_TopBackCenter: ::libc::c_uint = 17;
pub const kAudioChannelLabel_TopBackRight: ::libc::c_uint = 18;
pub const kAudioChannelLabel_RearSurroundLeft: ::libc::c_uint = 33;
pub const kAudioChannelLabel_RearSurroundRight: ::libc::c_uint = 34;
pub const kAudioChannelLabel_LeftWide: ::libc::c_uint = 35;
pub const kAudioChannelLabel_RightWide: ::libc::c_uint = 36;
pub const kAudioChannelLabel_LFE2: ::libc::c_uint = 37;
pub const kAudioChannelLabel_LeftTotal: ::libc::c_uint = 38;
pub const kAudioChannelLabel_RightTotal: ::libc::c_uint = 39;
pub const kAudioChannelLabel_HearingImpaired: ::libc::c_uint = 40;
pub const kAudioChannelLabel_Narration: ::libc::c_uint = 41;
pub const kAudioChannelLabel_Mono: ::libc::c_uint = 42;
pub const kAudioChannelLabel_DialogCentricMix: ::libc::c_uint = 43;
pub const kAudioChannelLabel_CenterSurroundDirect: ::libc::c_uint = 44;
pub const kAudioChannelLabel_Haptic: ::libc::c_uint = 45;
pub const kAudioChannelLabel_Ambisonic_W: ::libc::c_uint = 200;
pub const kAudioChannelLabel_Ambisonic_X: ::libc::c_uint = 201;
pub const kAudioChannelLabel_Ambisonic_Y: ::libc::c_uint = 202;
pub const kAudioChannelLabel_Ambisonic_Z: ::libc::c_uint = 203;
pub const kAudioChannelLabel_MS_Mid: ::libc::c_uint = 204;
pub const kAudioChannelLabel_MS_Side: ::libc::c_uint = 205;
pub const kAudioChannelLabel_XY_X: ::libc::c_uint = 206;
pub const kAudioChannelLabel_XY_Y: ::libc::c_uint = 207;
pub const kAudioChannelLabel_HeadphonesLeft: ::libc::c_uint = 301;
pub const kAudioChannelLabel_HeadphonesRight: ::libc::c_uint = 302;
pub const kAudioChannelLabel_ClickTrack: ::libc::c_uint = 304;
pub const kAudioChannelLabel_ForeignLanguage: ::libc::c_uint = 305;
pub const kAudioChannelLabel_Discrete: ::libc::c_uint = 400;
pub const kAudioChannelLabel_Discrete_0: ::libc::c_uint = 65536;
pub const kAudioChannelLabel_Discrete_1: ::libc::c_uint = 65537;
pub const kAudioChannelLabel_Discrete_2: ::libc::c_uint = 65538;
pub const kAudioChannelLabel_Discrete_3: ::libc::c_uint = 65539;
pub const kAudioChannelLabel_Discrete_4: ::libc::c_uint = 65540;
pub const kAudioChannelLabel_Discrete_5: ::libc::c_uint = 65541;
pub const kAudioChannelLabel_Discrete_6: ::libc::c_uint = 65542;
pub const kAudioChannelLabel_Discrete_7: ::libc::c_uint = 65543;
pub const kAudioChannelLabel_Discrete_8: ::libc::c_uint = 65544;
pub const kAudioChannelLabel_Discrete_9: ::libc::c_uint = 65545;
pub const kAudioChannelLabel_Discrete_10: ::libc::c_uint = 65546;
pub const kAudioChannelLabel_Discrete_11: ::libc::c_uint = 65547;
pub const kAudioChannelLabel_Discrete_12: ::libc::c_uint = 65548;
pub const kAudioChannelLabel_Discrete_13: ::libc::c_uint = 65549;
pub const kAudioChannelLabel_Discrete_14: ::libc::c_uint = 65550;
pub const kAudioChannelLabel_Discrete_15: ::libc::c_uint = 65551;
pub const kAudioChannelLabel_Discrete_65535: ::libc::c_uint = 131071;
pub type Enum_Unnamed22 = ::libc::c_uint;
pub const kAudioChannelBit_Left: ::libc::c_uint = 1;
pub const kAudioChannelBit_Right: ::libc::c_uint = 2;
pub const kAudioChannelBit_Center: ::libc::c_uint = 4;
pub const kAudioChannelBit_LFEScreen: ::libc::c_uint = 8;
pub const kAudioChannelBit_LeftSurround: ::libc::c_uint = 16;
pub const kAudioChannelBit_RightSurround: ::libc::c_uint = 32;
pub const kAudioChannelBit_LeftCenter: ::libc::c_uint = 64;
pub const kAudioChannelBit_RightCenter: ::libc::c_uint = 128;
pub const kAudioChannelBit_CenterSurround: ::libc::c_uint = 256;
pub const kAudioChannelBit_LeftSurroundDirect: ::libc::c_uint = 512;
pub const kAudioChannelBit_RightSurroundDirect: ::libc::c_uint = 1024;
pub const kAudioChannelBit_TopCenterSurround: ::libc::c_uint = 2048;
pub const kAudioChannelBit_VerticalHeightLeft: ::libc::c_uint = 4096;
pub const kAudioChannelBit_VerticalHeightCenter: ::libc::c_uint = 8192;
pub const kAudioChannelBit_VerticalHeightRight: ::libc::c_uint = 16384;
pub const kAudioChannelBit_TopBackLeft: ::libc::c_uint = 32768;
pub const kAudioChannelBit_TopBackCenter: ::libc::c_uint = 65536;
pub const kAudioChannelBit_TopBackRight: ::libc::c_uint = 131072;
pub type Enum_Unnamed23 = ::libc::c_uint;
pub const kAudioChannelFlags_AllOff: ::libc::c_uint = 0;
pub const kAudioChannelFlags_RectangularCoordinates: ::libc::c_uint = 1;
pub const kAudioChannelFlags_SphericalCoordinates: ::libc::c_uint = 2;
pub const kAudioChannelFlags_Meters: ::libc::c_uint = 4;
pub type Enum_Unnamed24 = ::libc::c_uint;
pub const kAudioChannelCoordinates_LeftRight: ::libc::c_uint = 0;
pub const kAudioChannelCoordinates_BackFront: ::libc::c_uint = 1;
pub const kAudioChannelCoordinates_DownUp: ::libc::c_uint = 2;
pub const kAudioChannelCoordinates_Azimuth: ::libc::c_uint = 0;
pub const kAudioChannelCoordinates_Elevation: ::libc::c_uint = 1;
pub const kAudioChannelCoordinates_Distance: ::libc::c_uint = 2;
pub type Enum_Unnamed25 = ::libc::c_uint;
pub const kAudioChannelLayoutTag_UseChannelDescriptions: ::libc::c_uint = 0;
pub const kAudioChannelLayoutTag_UseChannelBitmap: ::libc::c_uint = 65536;
pub const kAudioChannelLayoutTag_Mono: ::libc::c_uint = 6553601;
pub const kAudioChannelLayoutTag_Stereo: ::libc::c_uint = 6619138;
pub const kAudioChannelLayoutTag_StereoHeadphones: ::libc::c_uint = 6684674;
pub const kAudioChannelLayoutTag_MatrixStereo: ::libc::c_uint = 6750210;
pub const kAudioChannelLayoutTag_MidSide: ::libc::c_uint = 6815746;
pub const kAudioChannelLayoutTag_XY: ::libc::c_uint = 6881282;
pub const kAudioChannelLayoutTag_Binaural: ::libc::c_uint = 6946818;
pub const kAudioChannelLayoutTag_Ambisonic_B_Format: ::libc::c_uint = 7012356;
pub const kAudioChannelLayoutTag_Quadraphonic: ::libc::c_uint = 7077892;
pub const kAudioChannelLayoutTag_Pentagonal: ::libc::c_uint = 7143429;
pub const kAudioChannelLayoutTag_Hexagonal: ::libc::c_uint = 7208966;
pub const kAudioChannelLayoutTag_Octagonal: ::libc::c_uint = 7274504;
pub const kAudioChannelLayoutTag_Cube: ::libc::c_uint = 7340040;
pub const kAudioChannelLayoutTag_MPEG_1_0: ::libc::c_uint = 6553601;
pub const kAudioChannelLayoutTag_MPEG_2_0: ::libc::c_uint = 6619138;
pub const kAudioChannelLayoutTag_MPEG_3_0_A: ::libc::c_uint = 7405571;
pub const kAudioChannelLayoutTag_MPEG_3_0_B: ::libc::c_uint = 7471107;
pub const kAudioChannelLayoutTag_MPEG_4_0_A: ::libc::c_uint = 7536644;
pub const kAudioChannelLayoutTag_MPEG_4_0_B: ::libc::c_uint = 7602180;
pub const kAudioChannelLayoutTag_MPEG_5_0_A: ::libc::c_uint = 7667717;
pub const kAudioChannelLayoutTag_MPEG_5_0_B: ::libc::c_uint = 7733253;
pub const kAudioChannelLayoutTag_MPEG_5_0_C: ::libc::c_uint = 7798789;
pub const kAudioChannelLayoutTag_MPEG_5_0_D: ::libc::c_uint = 7864325;
pub const kAudioChannelLayoutTag_MPEG_5_1_A: ::libc::c_uint = 7929862;
pub const kAudioChannelLayoutTag_MPEG_5_1_B: ::libc::c_uint = 7995398;
pub const kAudioChannelLayoutTag_MPEG_5_1_C: ::libc::c_uint = 8060934;
pub const kAudioChannelLayoutTag_MPEG_5_1_D: ::libc::c_uint = 8126470;
pub const kAudioChannelLayoutTag_MPEG_6_1_A: ::libc::c_uint = 8192007;
pub const kAudioChannelLayoutTag_MPEG_7_1_A: ::libc::c_uint = 8257544;
pub const kAudioChannelLayoutTag_MPEG_7_1_B: ::libc::c_uint = 8323080;
pub const kAudioChannelLayoutTag_MPEG_7_1_C: ::libc::c_uint = 8388616;
pub const kAudioChannelLayoutTag_Emagic_Default_7_1: ::libc::c_uint = 8454152;
pub const kAudioChannelLayoutTag_SMPTE_DTV: ::libc::c_uint = 8519688;
pub const kAudioChannelLayoutTag_ITU_1_0: ::libc::c_uint = 6553601;
pub const kAudioChannelLayoutTag_ITU_2_0: ::libc::c_uint = 6619138;
pub const kAudioChannelLayoutTag_ITU_2_1: ::libc::c_uint = 8585219;
pub const kAudioChannelLayoutTag_ITU_2_2: ::libc::c_uint = 8650756;
pub const kAudioChannelLayoutTag_ITU_3_0: ::libc::c_uint = 7405571;
pub const kAudioChannelLayoutTag_ITU_3_1: ::libc::c_uint = 7536644;
pub const kAudioChannelLayoutTag_ITU_3_2: ::libc::c_uint = 7667717;
pub const kAudioChannelLayoutTag_ITU_3_2_1: ::libc::c_uint = 7929862;
pub const kAudioChannelLayoutTag_ITU_3_4_1: ::libc::c_uint = 8388616;
pub const kAudioChannelLayoutTag_DVD_0: ::libc::c_uint = 6553601;
pub const kAudioChannelLayoutTag_DVD_1: ::libc::c_uint = 6619138;
pub const kAudioChannelLayoutTag_DVD_2: ::libc::c_uint = 8585219;
pub const kAudioChannelLayoutTag_DVD_3: ::libc::c_uint = 8650756;
pub const kAudioChannelLayoutTag_DVD_4: ::libc::c_uint = 8716291;
pub const kAudioChannelLayoutTag_DVD_5: ::libc::c_uint = 8781828;
pub const kAudioChannelLayoutTag_DVD_6: ::libc::c_uint = 8847365;
pub const kAudioChannelLayoutTag_DVD_7: ::libc::c_uint = 7405571;
pub const kAudioChannelLayoutTag_DVD_8: ::libc::c_uint = 7536644;
pub const kAudioChannelLayoutTag_DVD_9: ::libc::c_uint = 7667717;
pub const kAudioChannelLayoutTag_DVD_10: ::libc::c_uint = 8912900;
pub const kAudioChannelLayoutTag_DVD_11: ::libc::c_uint = 8978437;
pub const kAudioChannelLayoutTag_DVD_12: ::libc::c_uint = 7929862;
pub const kAudioChannelLayoutTag_DVD_13: ::libc::c_uint = 7536644;
pub const kAudioChannelLayoutTag_DVD_14: ::libc::c_uint = 7667717;
pub const kAudioChannelLayoutTag_DVD_15: ::libc::c_uint = 8912900;
pub const kAudioChannelLayoutTag_DVD_16: ::libc::c_uint = 8978437;
pub const kAudioChannelLayoutTag_DVD_17: ::libc::c_uint = 7929862;
pub const kAudioChannelLayoutTag_DVD_18: ::libc::c_uint = 9043973;
pub const kAudioChannelLayoutTag_DVD_19: ::libc::c_uint = 7733253;
pub const kAudioChannelLayoutTag_DVD_20: ::libc::c_uint = 7995398;
pub const kAudioChannelLayoutTag_AudioUnit_4: ::libc::c_uint = 7077892;
pub const kAudioChannelLayoutTag_AudioUnit_5: ::libc::c_uint = 7143429;
pub const kAudioChannelLayoutTag_AudioUnit_6: ::libc::c_uint = 7208966;
pub const kAudioChannelLayoutTag_AudioUnit_8: ::libc::c_uint = 7274504;
pub const kAudioChannelLayoutTag_AudioUnit_5_0: ::libc::c_uint = 7733253;
pub const kAudioChannelLayoutTag_AudioUnit_6_0: ::libc::c_uint = 9109510;
pub const kAudioChannelLayoutTag_AudioUnit_7_0: ::libc::c_uint = 9175047;
pub const kAudioChannelLayoutTag_AudioUnit_7_0_Front: ::libc::c_uint =
9699335;
pub const kAudioChannelLayoutTag_AudioUnit_5_1: ::libc::c_uint = 7929862;
pub const kAudioChannelLayoutTag_AudioUnit_6_1: ::libc::c_uint = 8192007;
pub const kAudioChannelLayoutTag_AudioUnit_7_1: ::libc::c_uint = 8388616;
pub const kAudioChannelLayoutTag_AudioUnit_7_1_Front: ::libc::c_uint =
8257544;
pub const kAudioChannelLayoutTag_AAC_3_0: ::libc::c_uint = 7471107;
pub const kAudioChannelLayoutTag_AAC_Quadraphonic: ::libc::c_uint = 7077892;
pub const kAudioChannelLayoutTag_AAC_4_0: ::libc::c_uint = 7602180;
pub const kAudioChannelLayoutTag_AAC_5_0: ::libc::c_uint = 7864325;
pub const kAudioChannelLayoutTag_AAC_5_1: ::libc::c_uint = 8126470;
pub const kAudioChannelLayoutTag_AAC_6_0: ::libc::c_uint = 9240582;
pub const kAudioChannelLayoutTag_AAC_6_1: ::libc::c_uint = 9306119;
pub const kAudioChannelLayoutTag_AAC_7_0: ::libc::c_uint = 9371655;
pub const kAudioChannelLayoutTag_AAC_7_1: ::libc::c_uint = 8323080;
pub const kAudioChannelLayoutTag_AAC_7_1_B: ::libc::c_uint = 11993096;
pub const kAudioChannelLayoutTag_AAC_7_1_C: ::libc::c_uint = 12058632;
pub const kAudioChannelLayoutTag_AAC_Octagonal: ::libc::c_uint = 9437192;
pub const kAudioChannelLayoutTag_TMH_10_2_std: ::libc::c_uint = 9502736;
pub const kAudioChannelLayoutTag_TMH_10_2_full: ::libc::c_uint = 9568277;
pub const kAudioChannelLayoutTag_AC3_1_0_1: ::libc::c_uint = 9764866;
pub const kAudioChannelLayoutTag_AC3_3_0: ::libc::c_uint = 9830403;
pub const kAudioChannelLayoutTag_AC3_3_1: ::libc::c_uint = 9895940;
pub const kAudioChannelLayoutTag_AC3_3_0_1: ::libc::c_uint = 9961476;
pub const kAudioChannelLayoutTag_AC3_2_1_1: ::libc::c_uint = 10027012;
pub const kAudioChannelLayoutTag_AC3_3_1_1: ::libc::c_uint = 10092549;
pub const kAudioChannelLayoutTag_EAC_6_0_A: ::libc::c_uint = 10158086;
pub const kAudioChannelLayoutTag_EAC_7_0_A: ::libc::c_uint = 10223623;
pub const kAudioChannelLayoutTag_EAC3_6_1_A: ::libc::c_uint = 10289159;
pub const kAudioChannelLayoutTag_EAC3_6_1_B: ::libc::c_uint = 10354695;
pub const kAudioChannelLayoutTag_EAC3_6_1_C: ::libc::c_uint = 10420231;
pub const kAudioChannelLayoutTag_EAC3_7_1_A: ::libc::c_uint = 10485768;
pub const kAudioChannelLayoutTag_EAC3_7_1_B: ::libc::c_uint = 10551304;
pub const kAudioChannelLayoutTag_EAC3_7_1_C: ::libc::c_uint = 10616840;
pub const kAudioChannelLayoutTag_EAC3_7_1_D: ::libc::c_uint = 10682376;
pub const kAudioChannelLayoutTag_EAC3_7_1_E: ::libc::c_uint = 10747912;
pub const kAudioChannelLayoutTag_EAC3_7_1_F: ::libc::c_uint = 10813448;
pub const kAudioChannelLayoutTag_EAC3_7_1_G: ::libc::c_uint = 10878984;
pub const kAudioChannelLayoutTag_EAC3_7_1_H: ::libc::c_uint = 10944520;
pub const kAudioChannelLayoutTag_DTS_3_1: ::libc::c_uint = 11010052;
pub const kAudioChannelLayoutTag_DTS_4_1: ::libc::c_uint = 11075589;
pub const kAudioChannelLayoutTag_DTS_6_0_A: ::libc::c_uint = 11141126;
pub const kAudioChannelLayoutTag_DTS_6_0_B: ::libc::c_uint = 11206662;
pub const kAudioChannelLayoutTag_DTS_6_0_C: ::libc::c_uint = 11272198;
pub const kAudioChannelLayoutTag_DTS_6_1_A: ::libc::c_uint = 11337735;
pub const kAudioChannelLayoutTag_DTS_6_1_B: ::libc::c_uint = 11403271;
pub const kAudioChannelLayoutTag_DTS_6_1_C: ::libc::c_uint = 11468807;
pub const kAudioChannelLayoutTag_DTS_7_0: ::libc::c_uint = 11534343;
pub const kAudioChannelLayoutTag_DTS_7_1: ::libc::c_uint = 11599880;
pub const kAudioChannelLayoutTag_DTS_8_0_A: ::libc::c_uint = 11665416;
pub const kAudioChannelLayoutTag_DTS_8_0_B: ::libc::c_uint = 11730952;
pub const kAudioChannelLayoutTag_DTS_8_1_A: ::libc::c_uint = 11796489;
pub const kAudioChannelLayoutTag_DTS_8_1_B: ::libc::c_uint = 11862025;
pub const kAudioChannelLayoutTag_DTS_6_1_D: ::libc::c_uint = 11927559;
pub const kAudioChannelLayoutTag_DiscreteInOrder: ::libc::c_uint = 9633792;
pub const kAudioChannelLayoutTag_Unknown: ::libc::c_uint = ::std::u32::MAX -65535;
pub type Enum_Unnamed26 = ::libc::c_uint;
pub const kMPEG4Object_AAC_Main: ::libc::c_uint = 1;
pub const kMPEG4Object_AAC_LC: ::libc::c_uint = 2;
pub const kMPEG4Object_AAC_SSR: ::libc::c_uint = 3;
pub const kMPEG4Object_AAC_LTP: ::libc::c_uint = 4;
pub const kMPEG4Object_AAC_SBR: ::libc::c_uint = 5;
pub const kMPEG4Object_AAC_Scalable: ::libc::c_uint = 6;
pub const kMPEG4Object_TwinVQ: ::libc::c_uint = 7;
pub const kMPEG4Object_CELP: ::libc::c_uint = 8;
pub const kMPEG4Object_HVXC: ::libc::c_uint = 9;
pub type va_list = __darwin_va_list;
pub type __gnuc_va_list = __builtin_va_list;
pub type __darwin_nl_item = ::libc::c_int;
pub type __darwin_wctrans_t = ::libc::c_int;
pub type __darwin_wctype_t = __uint32_t;
pub type ct_rune_t = __darwin_ct_rune_t;
pub type rune_t = __darwin_rune_t;
pub type wchar_t = __darwin_wchar_t;
pub type wint_t = __darwin_wint_t;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed27 {
pub __min: __darwin_rune_t,
pub __max: __darwin_rune_t,
pub __map: __darwin_rune_t,
pub __types: *mut __uint32_t,
}
impl ::std::default::Default for Struct_Unnamed27 {
fn default() -> Struct_Unnamed27 { unsafe { ::std::mem::zeroed() } }
}
pub type _RuneEntry = Struct_Unnamed27;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed28 {
pub __nranges: ::libc::c_int,
pub __ranges: *mut _RuneEntry,
}
impl ::std::default::Default for Struct_Unnamed28 {
fn default() -> Struct_Unnamed28 { unsafe { ::std::mem::zeroed() } }
}
pub type _RuneRange = Struct_Unnamed28;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed29 {
pub __name: [::libc::c_char; 14usize],
pub __mask: __uint32_t,
}
impl ::std::default::Default for Struct_Unnamed29 {
fn default() -> Struct_Unnamed29 { unsafe { ::std::mem::zeroed() } }
}
pub type _RuneCharClass = Struct_Unnamed29;
#[repr(C)]
pub struct Struct_Unnamed30 {
pub __magic: [::libc::c_char; 8usize],
pub __encoding: [::libc::c_char; 32usize],
pub __sgetrune: ::std::option::Option<extern "C" fn
(arg1: *const ::libc::c_char,
arg2: __darwin_size_t,
arg3:
*mut *const ::libc::c_char)
-> __darwin_rune_t>,
pub __sputrune: ::std::option::Option<extern "C" fn
(arg1: __darwin_rune_t,
arg2: *mut ::libc::c_char,
arg3: __darwin_size_t,
arg4: *mut *mut ::libc::c_char)
-> ::libc::c_int>,
pub __invalid_rune: __darwin_rune_t,
pub __runetype: [__uint32_t; 256usize],
pub __maplower: [__darwin_rune_t; 256usize],
pub __mapupper: [__darwin_rune_t; 256usize],
pub __runetype_ext: _RuneRange,
pub __maplower_ext: _RuneRange,
pub __mapupper_ext: _RuneRange,
pub __variable: *mut ::libc::c_void,
pub __variable_len: ::libc::c_int,
pub __ncharclasses: ::libc::c_int,
pub __charclasses: *mut _RuneCharClass,
}
impl ::std::default::Default for Struct_Unnamed30 {
fn default() -> Struct_Unnamed30 { unsafe { ::std::mem::zeroed() } }
}
pub type _RuneLocale = Struct_Unnamed30;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_lconv {
pub decimal_point: *mut ::libc::c_char,
pub thousands_sep: *mut ::libc::c_char,
pub grouping: *mut ::libc::c_char,
pub int_curr_symbol: *mut ::libc::c_char,
pub currency_symbol: *mut ::libc::c_char,
pub mon_decimal_point: *mut ::libc::c_char,
pub mon_thousands_sep: *mut ::libc::c_char,
pub mon_grouping: *mut ::libc::c_char,
pub positive_sign: *mut ::libc::c_char,
pub negative_sign: *mut ::libc::c_char,
pub int_frac_digits: ::libc::c_char,
pub frac_digits: ::libc::c_char,
pub p_cs_precedes: ::libc::c_char,
pub p_sep_by_space: ::libc::c_char,
pub n_cs_precedes: ::libc::c_char,
pub n_sep_by_space: ::libc::c_char,
pub p_sign_posn: ::libc::c_char,
pub n_sign_posn: ::libc::c_char,
pub int_p_cs_precedes: ::libc::c_char,
pub int_n_cs_precedes: ::libc::c_char,
pub int_p_sep_by_space: ::libc::c_char,
pub int_n_sep_by_space: ::libc::c_char,
pub int_p_sign_posn: ::libc::c_char,
pub int_n_sign_posn: ::libc::c_char,
}
impl ::std::default::Default for Struct_lconv {
fn default() -> Struct_lconv { unsafe { ::std::mem::zeroed() } }
}
pub type float_t = ::libc::c_float;
pub type double_t = ::libc::c_double;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___float2 {
pub __sinval: ::libc::c_float,
pub __cosval: ::libc::c_float,
}
impl ::std::default::Default for Struct___float2 {
fn default() -> Struct___float2 { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___double2 {
pub __sinval: ::libc::c_double,
pub __cosval: ::libc::c_double,
}
impl ::std::default::Default for Struct___double2 {
fn default() -> Struct___double2 { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_exception {
pub _type: ::libc::c_int,
pub name: *mut ::libc::c_char,
pub arg1: ::libc::c_double,
pub arg2: ::libc::c_double,
pub retval: ::libc::c_double,
}
impl ::std::default::Default for Struct_exception {
fn default() -> Struct_exception { unsafe { ::std::mem::zeroed() } }
}
pub type jmp_buf = [::libc::c_int; 37usize];
pub type sigjmp_buf = [::libc::c_int; 38usize];
pub type sig_atomic_t = ::libc::c_int;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___darwin_i386_thread_state {
pub __eax: ::libc::c_uint,
pub __ebx: ::libc::c_uint,
pub __ecx: ::libc::c_uint,
pub __edx: ::libc::c_uint,
pub __edi: ::libc::c_uint,
pub __esi: ::libc::c_uint,
pub __ebp: ::libc::c_uint,
pub __esp: ::libc::c_uint,
pub __ss: ::libc::c_uint,
pub __eflags: ::libc::c_uint,
pub __eip: ::libc::c_uint,
pub __cs: ::libc::c_uint,
pub __ds: ::libc::c_uint,
pub __es: ::libc::c_uint,
pub __fs: ::libc::c_uint,
pub __gs: ::libc::c_uint,
}
impl ::std::default::Default for Struct___darwin_i386_thread_state {
fn default() -> Struct___darwin_i386_thread_state {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___darwin_fp_control {
pub _bindgen_bitfield_1_: ::libc::c_ushort,
}
impl ::std::default::Default for Struct___darwin_fp_control {
fn default() -> Struct___darwin_fp_control {
unsafe { ::std::mem::zeroed() }
}
}
pub type __darwin_fp_control_t = Struct___darwin_fp_control;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___darwin_fp_status {
pub _bindgen_bitfield_1_: ::libc::c_ushort,
}
impl ::std::default::Default for Struct___darwin_fp_status {
fn default() -> Struct___darwin_fp_status {
unsafe { ::std::mem::zeroed() }
}
}
pub type __darwin_fp_status_t = Struct___darwin_fp_status;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___darwin_mmst_reg {
pub __mmst_reg: [::libc::c_char; 10usize],
pub __mmst_rsrv: [::libc::c_char; 6usize],
}
impl ::std::default::Default for Struct___darwin_mmst_reg {
fn default() -> Struct___darwin_mmst_reg {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___darwin_xmm_reg {
pub __xmm_reg: [::libc::c_char; 16usize],
}
impl ::std::default::Default for Struct___darwin_xmm_reg {
fn default() -> Struct___darwin_xmm_reg {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct___darwin_i386_float_state {
pub __fpu_reserved: [::libc::c_int; 2usize],
pub __fpu_fcw: Struct___darwin_fp_control,
pub __fpu_fsw: Struct___darwin_fp_status,
pub __fpu_ftw: __uint8_t,
pub __fpu_rsrv1: __uint8_t,
pub __fpu_fop: __uint16_t,
pub __fpu_ip: __uint32_t,
pub __fpu_cs: __uint16_t,
pub __fpu_rsrv2: __uint16_t,
pub __fpu_dp: __uint32_t,
pub __fpu_ds: __uint16_t,
pub __fpu_rsrv3: __uint16_t,
pub __fpu_mxcsr: __uint32_t,
pub __fpu_mxcsrmask: __uint32_t,
pub __fpu_stmm0: Struct___darwin_mmst_reg,
pub __fpu_stmm1: Struct___darwin_mmst_reg,
pub __fpu_stmm2: Struct___darwin_mmst_reg,
pub __fpu_stmm3: Struct___darwin_mmst_reg,
pub __fpu_stmm4: Struct___darwin_mmst_reg,
pub __fpu_stmm5: Struct___darwin_mmst_reg,
pub __fpu_stmm6: Struct___darwin_mmst_reg,
pub __fpu_stmm7: Struct___darwin_mmst_reg,
pub __fpu_xmm0: Struct___darwin_xmm_reg,
pub __fpu_xmm1: Struct___darwin_xmm_reg,
pub __fpu_xmm2: Struct___darwin_xmm_reg,
pub __fpu_xmm3: Struct___darwin_xmm_reg,
pub __fpu_xmm4: Struct___darwin_xmm_reg,
pub __fpu_xmm5: Struct___darwin_xmm_reg,
pub __fpu_xmm6: Struct___darwin_xmm_reg,
pub __fpu_xmm7: Struct___darwin_xmm_reg,
pub __fpu_rsrv4: [::libc::c_char; 224usize],
pub __fpu_reserved1: ::libc::c_int,
}
impl ::std::default::Default for Struct___darwin_i386_float_state {
fn default() -> Struct___darwin_i386_float_state {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct___darwin_i386_avx_state {
pub __fpu_reserved: [::libc::c_int; 2usize],
pub __fpu_fcw: Struct___darwin_fp_control,
pub __fpu_fsw: Struct___darwin_fp_status,
pub __fpu_ftw: __uint8_t,
pub __fpu_rsrv1: __uint8_t,
pub __fpu_fop: __uint16_t,
pub __fpu_ip: __uint32_t,
pub __fpu_cs: __uint16_t,
pub __fpu_rsrv2: __uint16_t,
pub __fpu_dp: __uint32_t,
pub __fpu_ds: __uint16_t,
pub __fpu_rsrv3: __uint16_t,
pub __fpu_mxcsr: __uint32_t,
pub __fpu_mxcsrmask: __uint32_t,
pub __fpu_stmm0: Struct___darwin_mmst_reg,
pub __fpu_stmm1: Struct___darwin_mmst_reg,
pub __fpu_stmm2: Struct___darwin_mmst_reg,
pub __fpu_stmm3: Struct___darwin_mmst_reg,
pub __fpu_stmm4: Struct___darwin_mmst_reg,
pub __fpu_stmm5: Struct___darwin_mmst_reg,
pub __fpu_stmm6: Struct___darwin_mmst_reg,
pub __fpu_stmm7: Struct___darwin_mmst_reg,
pub __fpu_xmm0: Struct___darwin_xmm_reg,
pub __fpu_xmm1: Struct___darwin_xmm_reg,
pub __fpu_xmm2: Struct___darwin_xmm_reg,
pub __fpu_xmm3: Struct___darwin_xmm_reg,
pub __fpu_xmm4: Struct___darwin_xmm_reg,
pub __fpu_xmm5: Struct___darwin_xmm_reg,
pub __fpu_xmm6: Struct___darwin_xmm_reg,
pub __fpu_xmm7: Struct___darwin_xmm_reg,
pub __fpu_rsrv4: [::libc::c_char; 224usize],
pub __fpu_reserved1: ::libc::c_int,
pub __avx_reserved1: [::libc::c_char; 64usize],
pub __fpu_ymmh0: Struct___darwin_xmm_reg,
pub __fpu_ymmh1: Struct___darwin_xmm_reg,
pub __fpu_ymmh2: Struct___darwin_xmm_reg,
pub __fpu_ymmh3: Struct___darwin_xmm_reg,
pub __fpu_ymmh4: Struct___darwin_xmm_reg,
pub __fpu_ymmh5: Struct___darwin_xmm_reg,
pub __fpu_ymmh6: Struct___darwin_xmm_reg,
pub __fpu_ymmh7: Struct___darwin_xmm_reg,
}
impl ::std::default::Default for Struct___darwin_i386_avx_state {
fn default() -> Struct___darwin_i386_avx_state {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___darwin_i386_exception_state {
pub __trapno: __uint16_t,
pub __cpu: __uint16_t,
pub __err: __uint32_t,
pub __faultvaddr: __uint32_t,
}
impl ::std::default::Default for Struct___darwin_i386_exception_state {
fn default() -> Struct___darwin_i386_exception_state {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___darwin_x86_debug_state32 {
pub __dr0: ::libc::c_uint,
pub __dr1: ::libc::c_uint,
pub __dr2: ::libc::c_uint,
pub __dr3: ::libc::c_uint,
pub __dr4: ::libc::c_uint,
pub __dr5: ::libc::c_uint,
pub __dr6: ::libc::c_uint,
pub __dr7: ::libc::c_uint,
}
impl ::std::default::Default for Struct___darwin_x86_debug_state32 {
fn default() -> Struct___darwin_x86_debug_state32 {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___darwin_x86_thread_state64 {
pub __rax: __uint64_t,
pub __rbx: __uint64_t,
pub __rcx: __uint64_t,
pub __rdx: __uint64_t,
pub __rdi: __uint64_t,
pub __rsi: __uint64_t,
pub __rbp: __uint64_t,
pub __rsp: __uint64_t,
pub __r8: __uint64_t,
pub __r9: __uint64_t,
pub __r10: __uint64_t,
pub __r11: __uint64_t,
pub __r12: __uint64_t,
pub __r13: __uint64_t,
pub __r14: __uint64_t,
pub __r15: __uint64_t,
pub __rip: __uint64_t,
pub __rflags: __uint64_t,
pub __cs: __uint64_t,
pub __fs: __uint64_t,
pub __gs: __uint64_t,
}
impl ::std::default::Default for Struct___darwin_x86_thread_state64 {
fn default() -> Struct___darwin_x86_thread_state64 {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct___darwin_x86_float_state64 {
pub __fpu_reserved: [::libc::c_int; 2usize],
pub __fpu_fcw: Struct___darwin_fp_control,
pub __fpu_fsw: Struct___darwin_fp_status,
pub __fpu_ftw: __uint8_t,
pub __fpu_rsrv1: __uint8_t,
pub __fpu_fop: __uint16_t,
pub __fpu_ip: __uint32_t,
pub __fpu_cs: __uint16_t,
pub __fpu_rsrv2: __uint16_t,
pub __fpu_dp: __uint32_t,
pub __fpu_ds: __uint16_t,
pub __fpu_rsrv3: __uint16_t,
pub __fpu_mxcsr: __uint32_t,
pub __fpu_mxcsrmask: __uint32_t,
pub __fpu_stmm0: Struct___darwin_mmst_reg,
pub __fpu_stmm1: Struct___darwin_mmst_reg,
pub __fpu_stmm2: Struct___darwin_mmst_reg,
pub __fpu_stmm3: Struct___darwin_mmst_reg,
pub __fpu_stmm4: Struct___darwin_mmst_reg,
pub __fpu_stmm5: Struct___darwin_mmst_reg,
pub __fpu_stmm6: Struct___darwin_mmst_reg,
pub __fpu_stmm7: Struct___darwin_mmst_reg,
pub __fpu_xmm0: Struct___darwin_xmm_reg,
pub __fpu_xmm1: Struct___darwin_xmm_reg,
pub __fpu_xmm2: Struct___darwin_xmm_reg,
pub __fpu_xmm3: Struct___darwin_xmm_reg,
pub __fpu_xmm4: Struct___darwin_xmm_reg,
pub __fpu_xmm5: Struct___darwin_xmm_reg,
pub __fpu_xmm6: Struct___darwin_xmm_reg,
pub __fpu_xmm7: Struct___darwin_xmm_reg,
pub __fpu_xmm8: Struct___darwin_xmm_reg,
pub __fpu_xmm9: Struct___darwin_xmm_reg,
pub __fpu_xmm10: Struct___darwin_xmm_reg,
pub __fpu_xmm11: Struct___darwin_xmm_reg,
pub __fpu_xmm12: Struct___darwin_xmm_reg,
pub __fpu_xmm13: Struct___darwin_xmm_reg,
pub __fpu_xmm14: Struct___darwin_xmm_reg,
pub __fpu_xmm15: Struct___darwin_xmm_reg,
pub __fpu_rsrv4: [::libc::c_char; 96usize],
pub __fpu_reserved1: ::libc::c_int,
}
impl ::std::default::Default for Struct___darwin_x86_float_state64 {
fn default() -> Struct___darwin_x86_float_state64 {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct___darwin_x86_avx_state64 {
pub __fpu_reserved: [::libc::c_int; 2usize],
pub __fpu_fcw: Struct___darwin_fp_control,
pub __fpu_fsw: Struct___darwin_fp_status,
pub __fpu_ftw: __uint8_t,
pub __fpu_rsrv1: __uint8_t,
pub __fpu_fop: __uint16_t,
pub __fpu_ip: __uint32_t,
pub __fpu_cs: __uint16_t,
pub __fpu_rsrv2: __uint16_t,
pub __fpu_dp: __uint32_t,
pub __fpu_ds: __uint16_t,
pub __fpu_rsrv3: __uint16_t,
pub __fpu_mxcsr: __uint32_t,
pub __fpu_mxcsrmask: __uint32_t,
pub __fpu_stmm0: Struct___darwin_mmst_reg,
pub __fpu_stmm1: Struct___darwin_mmst_reg,
pub __fpu_stmm2: Struct___darwin_mmst_reg,
pub __fpu_stmm3: Struct___darwin_mmst_reg,
pub __fpu_stmm4: Struct___darwin_mmst_reg,
pub __fpu_stmm5: Struct___darwin_mmst_reg,
pub __fpu_stmm6: Struct___darwin_mmst_reg,
pub __fpu_stmm7: Struct___darwin_mmst_reg,
pub __fpu_xmm0: Struct___darwin_xmm_reg,
pub __fpu_xmm1: Struct___darwin_xmm_reg,
pub __fpu_xmm2: Struct___darwin_xmm_reg,
pub __fpu_xmm3: Struct___darwin_xmm_reg,
pub __fpu_xmm4: Struct___darwin_xmm_reg,
pub __fpu_xmm5: Struct___darwin_xmm_reg,
pub __fpu_xmm6: Struct___darwin_xmm_reg,
pub __fpu_xmm7: Struct___darwin_xmm_reg,
pub __fpu_xmm8: Struct___darwin_xmm_reg,
pub __fpu_xmm9: Struct___darwin_xmm_reg,
pub __fpu_xmm10: Struct___darwin_xmm_reg,
pub __fpu_xmm11: Struct___darwin_xmm_reg,
pub __fpu_xmm12: Struct___darwin_xmm_reg,
pub __fpu_xmm13: Struct___darwin_xmm_reg,
pub __fpu_xmm14: Struct___darwin_xmm_reg,
pub __fpu_xmm15: Struct___darwin_xmm_reg,
pub __fpu_rsrv4: [::libc::c_char; 96usize],
pub __fpu_reserved1: ::libc::c_int,
pub __avx_reserved1: [::libc::c_char; 64usize],
pub __fpu_ymmh0: Struct___darwin_xmm_reg,
pub __fpu_ymmh1: Struct___darwin_xmm_reg,
pub __fpu_ymmh2: Struct___darwin_xmm_reg,
pub __fpu_ymmh3: Struct___darwin_xmm_reg,
pub __fpu_ymmh4: Struct___darwin_xmm_reg,
pub __fpu_ymmh5: Struct___darwin_xmm_reg,
pub __fpu_ymmh6: Struct___darwin_xmm_reg,
pub __fpu_ymmh7: Struct___darwin_xmm_reg,
pub __fpu_ymmh8: Struct___darwin_xmm_reg,
pub __fpu_ymmh9: Struct___darwin_xmm_reg,
pub __fpu_ymmh10: Struct___darwin_xmm_reg,
pub __fpu_ymmh11: Struct___darwin_xmm_reg,
pub __fpu_ymmh12: Struct___darwin_xmm_reg,
pub __fpu_ymmh13: Struct___darwin_xmm_reg,
pub __fpu_ymmh14: Struct___darwin_xmm_reg,
pub __fpu_ymmh15: Struct___darwin_xmm_reg,
}
impl ::std::default::Default for Struct___darwin_x86_avx_state64 {
fn default() -> Struct___darwin_x86_avx_state64 {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___darwin_x86_exception_state64 {
pub __trapno: __uint16_t,
pub __cpu: __uint16_t,
pub __err: __uint32_t,
pub __faultvaddr: __uint64_t,
}
impl ::std::default::Default for Struct___darwin_x86_exception_state64 {
fn default() -> Struct___darwin_x86_exception_state64 {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___darwin_x86_debug_state64 {
pub __dr0: __uint64_t,
pub __dr1: __uint64_t,
pub __dr2: __uint64_t,
pub __dr3: __uint64_t,
pub __dr4: __uint64_t,
pub __dr5: __uint64_t,
pub __dr6: __uint64_t,
pub __dr7: __uint64_t,
}
impl ::std::default::Default for Struct___darwin_x86_debug_state64 {
fn default() -> Struct___darwin_x86_debug_state64 {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct___darwin_mcontext32 {
pub __es: Struct___darwin_i386_exception_state,
pub __ss: Struct___darwin_i386_thread_state,
pub __fs: Struct___darwin_i386_float_state,
}
impl ::std::default::Default for Struct___darwin_mcontext32 {
fn default() -> Struct___darwin_mcontext32 {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct___darwin_mcontext_avx32 {
pub __es: Struct___darwin_i386_exception_state,
pub __ss: Struct___darwin_i386_thread_state,
pub __fs: Struct___darwin_i386_avx_state,
}
impl ::std::default::Default for Struct___darwin_mcontext_avx32 {
fn default() -> Struct___darwin_mcontext_avx32 {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct___darwin_mcontext64 {
pub __es: Struct___darwin_x86_exception_state64,
pub __ss: Struct___darwin_x86_thread_state64,
pub __fs: Struct___darwin_x86_float_state64,
}
impl ::std::default::Default for Struct___darwin_mcontext64 {
fn default() -> Struct___darwin_mcontext64 {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
pub struct Struct___darwin_mcontext_avx64 {
pub __es: Struct___darwin_x86_exception_state64,
pub __ss: Struct___darwin_x86_thread_state64,
pub __fs: Struct___darwin_x86_avx_state64,
}
impl ::std::default::Default for Struct___darwin_mcontext_avx64 {
fn default() -> Struct___darwin_mcontext_avx64 {
unsafe { ::std::mem::zeroed() }
}
}
pub type mcontext_t = *mut Struct___darwin_mcontext64;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___darwin_sigaltstack {
pub ss_sp: *mut ::libc::c_void,
pub ss_size: __darwin_size_t,
pub ss_flags: ::libc::c_int,
}
impl ::std::default::Default for Struct___darwin_sigaltstack {
fn default() -> Struct___darwin_sigaltstack {
unsafe { ::std::mem::zeroed() }
}
}
pub type stack_t = Struct___darwin_sigaltstack;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___darwin_ucontext {
pub uc_onstack: ::libc::c_int,
pub uc_sigmask: __darwin_sigset_t,
pub uc_stack: Struct___darwin_sigaltstack,
pub uc_link: *mut Struct___darwin_ucontext,
pub uc_mcsize: __darwin_size_t,
pub uc_mcontext: *mut Struct___darwin_mcontext64,
}
impl ::std::default::Default for Struct___darwin_ucontext {
fn default() -> Struct___darwin_ucontext {
unsafe { ::std::mem::zeroed() }
}
}
pub type ucontext_t = Struct___darwin_ucontext;
pub type sigset_t = __darwin_sigset_t;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Union_sigval {
pub _bindgen_data_: [u64; 1usize],
}
impl Union_sigval {
pub unsafe fn sival_int(&mut self) -> *mut ::libc::c_int {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn sival_ptr(&mut self) -> *mut *mut ::libc::c_void {
::std::mem::transmute(&self._bindgen_data_)
}
}
impl ::std::default::Default for Union_sigval {
fn default() -> Union_sigval { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_sigevent {
pub sigev_notify: ::libc::c_int,
pub sigev_signo: ::libc::c_int,
pub sigev_value: Union_sigval,
pub sigev_notify_function: ::std::option::Option<extern "C" fn
(arg1: Union_sigval)
-> ()>,
pub sigev_notify_attributes: *mut pthread_attr_t,
}
impl ::std::default::Default for Struct_sigevent {
fn default() -> Struct_sigevent { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___siginfo {
pub si_signo: ::libc::c_int,
pub si_errno: ::libc::c_int,
pub si_code: ::libc::c_int,
pub si_pid: pid_t,
pub si_uid: uid_t,
pub si_status: ::libc::c_int,
pub si_addr: *mut ::libc::c_void,
pub si_value: Union_sigval,
pub si_band: ::libc::c_long,
pub __pad: [::libc::c_ulong; 7usize],
}
impl ::std::default::Default for Struct___siginfo {
fn default() -> Struct___siginfo { unsafe { ::std::mem::zeroed() } }
}
pub type siginfo_t = Struct___siginfo;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Union___sigaction_u {
pub _bindgen_data_: [u64; 1usize],
}
impl Union___sigaction_u {
pub unsafe fn __sa_handler(&mut self)
-> *mut ::std::option::Option<extern "C" fn(arg1: ::libc::c_int) -> ()> {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn __sa_sigaction(&mut self)
->
*mut ::std::option::Option<extern "C" fn
(arg1: ::libc::c_int,
arg2: *mut Struct___siginfo,
arg3: *mut ::libc::c_void) -> ()> {
::std::mem::transmute(&self._bindgen_data_)
}
}
impl ::std::default::Default for Union___sigaction_u {
fn default() -> Union___sigaction_u { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___sigaction {
pub __sigaction_u: Union___sigaction_u,
pub sa_tramp: ::std::option::Option<extern "C" fn
(arg1: *mut ::libc::c_void,
arg2: ::libc::c_int,
arg3: ::libc::c_int,
arg4: *mut siginfo_t,
arg5: *mut ::libc::c_void)
-> ()>,
pub sa_mask: sigset_t,
pub sa_flags: ::libc::c_int,
}
impl ::std::default::Default for Struct___sigaction {
fn default() -> Struct___sigaction { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_sigaction {
pub __sigaction_u: Union___sigaction_u,
pub sa_mask: sigset_t,
pub sa_flags: ::libc::c_int,
}
impl ::std::default::Default for Struct_sigaction {
fn default() -> Struct_sigaction { unsafe { ::std::mem::zeroed() } }
}
pub type sig_t =
::std::option::Option<extern "C" fn(arg1: ::libc::c_int) -> ()>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_sigvec {
pub sv_handler: ::std::option::Option<extern "C" fn(arg1: ::libc::c_int)
-> ()>,
pub sv_mask: ::libc::c_int,
pub sv_flags: ::libc::c_int,
}
impl ::std::default::Default for Struct_sigvec {
fn default() -> Struct_sigvec { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_sigstack {
pub ss_sp: *mut ::libc::c_char,
pub ss_onstack: ::libc::c_int,
}
impl ::std::default::Default for Struct_sigstack {
fn default() -> Struct_sigstack { unsafe { ::std::mem::zeroed() } }
}
pub type ptrdiff_t = ::libc::c_long;
pub type fpos_t = __darwin_off_t;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___sbuf {
pub _base: *mut ::libc::c_uchar,
pub _size: ::libc::c_int,
}
impl ::std::default::Default for Struct___sbuf {
fn default() -> Struct___sbuf { unsafe { ::std::mem::zeroed() } }
}
pub enum Struct___sFILEX { }
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___sFILE {
pub _p: *mut ::libc::c_uchar,
pub _r: ::libc::c_int,
pub _w: ::libc::c_int,
pub _flags: ::libc::c_short,
pub _file: ::libc::c_short,
pub _bf: Struct___sbuf,
pub _lbfsize: ::libc::c_int,
pub _cookie: *mut ::libc::c_void,
pub _close: ::std::option::Option<extern "C" fn(arg1: *mut ::libc::c_void)
-> ::libc::c_int>,
pub _read: ::std::option::Option<extern "C" fn
(arg1: *mut ::libc::c_void,
arg2: *mut ::libc::c_char,
arg3: ::libc::c_int)
-> ::libc::c_int>,
pub _seek: ::std::option::Option<extern "C" fn
(arg1: *mut ::libc::c_void,
arg2: fpos_t, arg3: ::libc::c_int)
-> fpos_t>,
pub _write: ::std::option::Option<extern "C" fn
(arg1: *mut ::libc::c_void,
arg2: *const ::libc::c_char,
arg3: ::libc::c_int)
-> ::libc::c_int>,
pub _ub: Struct___sbuf,
pub _extra: *mut Struct___sFILEX,
pub _ur: ::libc::c_int,
pub _ubuf: [::libc::c_uchar; 3usize],
pub _nbuf: [::libc::c_uchar; 1usize],
pub _lb: Struct___sbuf,
pub _blksize: ::libc::c_int,
pub _offset: fpos_t,
}
impl ::std::default::Default for Struct___sFILE {
fn default() -> Struct___sFILE { unsafe { ::std::mem::zeroed() } }
}
pub type FILE = Struct___sFILE;
pub type Enum_Unnamed31 = ::libc::c_uint;
pub const P_ALL: ::libc::c_uint = 0;
pub const P_PID: ::libc::c_uint = 1;
pub const P_PGID: ::libc::c_uint = 2;
pub type idtype_t = Enum_Unnamed31;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_timeval {
pub tv_sec: __darwin_time_t,
pub tv_usec: __darwin_suseconds_t,
}
impl ::std::default::Default for Struct_timeval {
fn default() -> Struct_timeval { unsafe { ::std::mem::zeroed() } }
}
pub type rlim_t = __uint64_t;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_rusage {
pub ru_utime: Struct_timeval,
pub ru_stime: Struct_timeval,
pub ru_maxrss: ::libc::c_long,
pub ru_ixrss: ::libc::c_long,
pub ru_idrss: ::libc::c_long,
pub ru_isrss: ::libc::c_long,
pub ru_minflt: ::libc::c_long,
pub ru_majflt: ::libc::c_long,
pub ru_nswap: ::libc::c_long,
pub ru_inblock: ::libc::c_long,
pub ru_oublock: ::libc::c_long,
pub ru_msgsnd: ::libc::c_long,
pub ru_msgrcv: ::libc::c_long,
pub ru_nsignals: ::libc::c_long,
pub ru_nvcsw: ::libc::c_long,
pub ru_nivcsw: ::libc::c_long,
}
impl ::std::default::Default for Struct_rusage {
fn default() -> Struct_rusage { unsafe { ::std::mem::zeroed() } }
}
pub type rusage_info_t = *mut ::libc::c_void;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_rusage_info_v0 {
pub ri_uuid: [uint8_t; 16usize],
pub ri_user_time: uint64_t,
pub ri_system_time: uint64_t,
pub ri_pkg_idle_wkups: uint64_t,
pub ri_interrupt_wkups: uint64_t,
pub ri_pageins: uint64_t,
pub ri_wired_size: uint64_t,
pub ri_resident_size: uint64_t,
pub ri_phys_footprint: uint64_t,
pub ri_proc_start_abstime: uint64_t,
pub ri_proc_exit_abstime: uint64_t,
}
impl ::std::default::Default for Struct_rusage_info_v0 {
fn default() -> Struct_rusage_info_v0 { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_rusage_info_v1 {
pub ri_uuid: [uint8_t; 16usize],
pub ri_user_time: uint64_t,
pub ri_system_time: uint64_t,
pub ri_pkg_idle_wkups: uint64_t,
pub ri_interrupt_wkups: uint64_t,
pub ri_pageins: uint64_t,
pub ri_wired_size: uint64_t,
pub ri_resident_size: uint64_t,
pub ri_phys_footprint: uint64_t,
pub ri_proc_start_abstime: uint64_t,
pub ri_proc_exit_abstime: uint64_t,
pub ri_child_user_time: uint64_t,
pub ri_child_system_time: uint64_t,
pub ri_child_pkg_idle_wkups: uint64_t,
pub ri_child_interrupt_wkups: uint64_t,
pub ri_child_pageins: uint64_t,
pub ri_child_elapsed_abstime: uint64_t,
}
impl ::std::default::Default for Struct_rusage_info_v1 {
fn default() -> Struct_rusage_info_v1 { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_rusage_info_v2 {
pub ri_uuid: [uint8_t; 16usize],
pub ri_user_time: uint64_t,
pub ri_system_time: uint64_t,
pub ri_pkg_idle_wkups: uint64_t,
pub ri_interrupt_wkups: uint64_t,
pub ri_pageins: uint64_t,
pub ri_wired_size: uint64_t,
pub ri_resident_size: uint64_t,
pub ri_phys_footprint: uint64_t,
pub ri_proc_start_abstime: uint64_t,
pub ri_proc_exit_abstime: uint64_t,
pub ri_child_user_time: uint64_t,
pub ri_child_system_time: uint64_t,
pub ri_child_pkg_idle_wkups: uint64_t,
pub ri_child_interrupt_wkups: uint64_t,
pub ri_child_pageins: uint64_t,
pub ri_child_elapsed_abstime: uint64_t,
pub ri_diskio_bytesread: uint64_t,
pub ri_diskio_byteswritten: uint64_t,
}
impl ::std::default::Default for Struct_rusage_info_v2 {
fn default() -> Struct_rusage_info_v2 { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_rusage_info_v3 {
pub ri_uuid: [uint8_t; 16usize],
pub ri_user_time: uint64_t,
pub ri_system_time: uint64_t,
pub ri_pkg_idle_wkups: uint64_t,
pub ri_interrupt_wkups: uint64_t,
pub ri_pageins: uint64_t,
pub ri_wired_size: uint64_t,
pub ri_resident_size: uint64_t,
pub ri_phys_footprint: uint64_t,
pub ri_proc_start_abstime: uint64_t,
pub ri_proc_exit_abstime: uint64_t,
pub ri_child_user_time: uint64_t,
pub ri_child_system_time: uint64_t,
pub ri_child_pkg_idle_wkups: uint64_t,
pub ri_child_interrupt_wkups: uint64_t,
pub ri_child_pageins: uint64_t,
pub ri_child_elapsed_abstime: uint64_t,
pub ri_diskio_bytesread: uint64_t,
pub ri_diskio_byteswritten: uint64_t,
pub ri_cpu_time_qos_default: uint64_t,
pub ri_cpu_time_qos_maintenance: uint64_t,
pub ri_cpu_time_qos_background: uint64_t,
pub ri_cpu_time_qos_utility: uint64_t,
pub ri_cpu_time_qos_legacy: uint64_t,
pub ri_cpu_time_qos_user_initiated: uint64_t,
pub ri_cpu_time_qos_user_interactive: uint64_t,
pub ri_billed_system_time: uint64_t,
pub ri_serviced_system_time: uint64_t,
}
impl ::std::default::Default for Struct_rusage_info_v3 {
fn default() -> Struct_rusage_info_v3 { unsafe { ::std::mem::zeroed() } }
}
pub type rusage_info_current = Struct_rusage_info_v3;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_rlimit {
pub rlim_cur: rlim_t,
pub rlim_max: rlim_t,
}
impl ::std::default::Default for Struct_rlimit {
fn default() -> Struct_rlimit { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_proc_rlimit_control_wakeupmon {
pub wm_flags: uint32_t,
pub wm_rate: int32_t,
}
impl ::std::default::Default for Struct_proc_rlimit_control_wakeupmon {
fn default() -> Struct_proc_rlimit_control_wakeupmon {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Union_wait {
pub _bindgen_data_: [u32; 1usize],
}
impl Union_wait {
pub unsafe fn w_status(&mut self) -> *mut ::libc::c_int {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn w_T(&mut self) -> *mut Struct_Unnamed32 {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn w_S(&mut self) -> *mut Struct_Unnamed33 {
::std::mem::transmute(&self._bindgen_data_)
}
}
impl ::std::default::Default for Union_wait {
fn default() -> Union_wait { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed32 {
pub _bindgen_bitfield_1_: ::libc::c_uint,
}
impl ::std::default::Default for Struct_Unnamed32 {
fn default() -> Struct_Unnamed32 { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed33 {
pub _bindgen_bitfield_1_: ::libc::c_uint,
}
impl ::std::default::Default for Struct_Unnamed33 {
fn default() -> Struct_Unnamed33 { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed34 {
pub quot: ::libc::c_int,
pub rem: ::libc::c_int,
}
impl ::std::default::Default for Struct_Unnamed34 {
fn default() -> Struct_Unnamed34 { unsafe { ::std::mem::zeroed() } }
}
pub type div_t = Struct_Unnamed34;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed35 {
pub quot: ::libc::c_long,
pub rem: ::libc::c_long,
}
impl ::std::default::Default for Struct_Unnamed35 {
fn default() -> Struct_Unnamed35 { unsafe { ::std::mem::zeroed() } }
}
pub type ldiv_t = Struct_Unnamed35;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed36 {
pub quot: ::libc::c_longlong,
pub rem: ::libc::c_longlong,
}
impl ::std::default::Default for Struct_Unnamed36 {
fn default() -> Struct_Unnamed36 { unsafe { ::std::mem::zeroed() } }
}
pub type lldiv_t = Struct_Unnamed36;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_timespec {
pub tv_sec: __darwin_time_t,
pub tv_nsec: ::libc::c_long,
}
impl ::std::default::Default for Struct_timespec {
fn default() -> Struct_timespec { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_tm {
pub tm_sec: ::libc::c_int,
pub tm_min: ::libc::c_int,
pub tm_hour: ::libc::c_int,
pub tm_mday: ::libc::c_int,
pub tm_mon: ::libc::c_int,
pub tm_year: ::libc::c_int,
pub tm_wday: ::libc::c_int,
pub tm_yday: ::libc::c_int,
pub tm_isdst: ::libc::c_int,
pub tm_gmtoff: ::libc::c_long,
pub tm_zone: *mut ::libc::c_char,
}
impl ::std::default::Default for Struct_tm {
fn default() -> Struct_tm { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed37 {
pub quot: intmax_t,
pub rem: intmax_t,
}
impl ::std::default::Default for Struct_Unnamed37 {
fn default() -> Struct_Unnamed37 { unsafe { ::std::mem::zeroed() } }
}
pub type imaxdiv_t = Struct_Unnamed37;
pub type CFArrayRetainCallBack =
::std::option::Option<extern "C" fn
(allocator: CFAllocatorRef,
value: *const ::libc::c_void)
-> *const ::libc::c_void>;
pub type CFArrayReleaseCallBack =
::std::option::Option<extern "C" fn
(allocator: CFAllocatorRef,
value: *const ::libc::c_void) -> ()>;
pub type CFArrayCopyDescriptionCallBack =
::std::option::Option<extern "C" fn(value: *const ::libc::c_void)
-> CFStringRef>;
pub type CFArrayEqualCallBack =
::std::option::Option<extern "C" fn
(value1: *const ::libc::c_void,
value2: *const ::libc::c_void) -> Boolean>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed38 {
pub version: CFIndex,
pub retain: CFArrayRetainCallBack,
pub release: CFArrayReleaseCallBack,
pub copyDescription: CFArrayCopyDescriptionCallBack,
pub equal: CFArrayEqualCallBack,
}
impl ::std::default::Default for Struct_Unnamed38 {
fn default() -> Struct_Unnamed38 { unsafe { ::std::mem::zeroed() } }
}
pub type CFArrayCallBacks = Struct_Unnamed38;
pub type CFArrayApplierFunction =
::std::option::Option<extern "C" fn
(value: *const ::libc::c_void,
context: *mut ::libc::c_void) -> ()>;
pub enum Struct___CFArray { }
pub type CFArrayRef = *const Struct___CFArray;
pub type CFMutableArrayRef = *mut Struct___CFArray;
pub type CFBagRetainCallBack =
::std::option::Option<extern "C" fn
(allocator: CFAllocatorRef,
value: *const ::libc::c_void)
-> *const ::libc::c_void>;
pub type CFBagReleaseCallBack =
::std::option::Option<extern "C" fn
(allocator: CFAllocatorRef,
value: *const ::libc::c_void) -> ()>;
pub type CFBagCopyDescriptionCallBack =
::std::option::Option<extern "C" fn(value: *const ::libc::c_void)
-> CFStringRef>;
pub type CFBagEqualCallBack =
::std::option::Option<extern "C" fn
(value1: *const ::libc::c_void,
value2: *const ::libc::c_void) -> Boolean>;
pub type CFBagHashCallBack =
::std::option::Option<extern "C" fn(value: *const ::libc::c_void)
-> CFHashCode>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed39 {
pub version: CFIndex,
pub retain: CFBagRetainCallBack,
pub release: CFBagReleaseCallBack,
pub copyDescription: CFBagCopyDescriptionCallBack,
pub equal: CFBagEqualCallBack,
pub hash: CFBagHashCallBack,
}
impl ::std::default::Default for Struct_Unnamed39 {
fn default() -> Struct_Unnamed39 { unsafe { ::std::mem::zeroed() } }
}
pub type CFBagCallBacks = Struct_Unnamed39;
pub type CFBagApplierFunction =
::std::option::Option<extern "C" fn
(value: *const ::libc::c_void,
context: *mut ::libc::c_void) -> ()>;
pub enum Struct___CFBag { }
pub type CFBagRef = *const Struct___CFBag;
pub type CFMutableBagRef = *mut Struct___CFBag;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed40 {
pub version: CFIndex,
pub info: *mut ::libc::c_void,
pub retain: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> *const ::libc::c_void>,
pub release: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> ()>,
pub copyDescription: ::std::option::Option<extern "C" fn
(info:
*const ::libc::c_void)
-> CFStringRef>,
}
impl ::std::default::Default for Struct_Unnamed40 {
fn default() -> Struct_Unnamed40 { unsafe { ::std::mem::zeroed() } }
}
pub type CFBinaryHeapCompareContext = Struct_Unnamed40;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed41 {
pub version: CFIndex,
pub retain: ::std::option::Option<extern "C" fn
(allocator: CFAllocatorRef,
ptr: *const ::libc::c_void)
-> *const ::libc::c_void>,
pub release: ::std::option::Option<extern "C" fn
(allocator: CFAllocatorRef,
ptr: *const ::libc::c_void)
-> ()>,
pub copyDescription: ::std::option::Option<extern "C" fn
(ptr:
*const ::libc::c_void)
-> CFStringRef>,
pub compare: ::std::option::Option<extern "C" fn
(ptr1: *const ::libc::c_void,
ptr2: *const ::libc::c_void,
context: *mut ::libc::c_void)
-> CFComparisonResult>,
}
impl ::std::default::Default for Struct_Unnamed41 {
fn default() -> Struct_Unnamed41 { unsafe { ::std::mem::zeroed() } }
}
pub type CFBinaryHeapCallBacks = Struct_Unnamed41;
pub type CFBinaryHeapApplierFunction =
::std::option::Option<extern "C" fn
(val: *const ::libc::c_void,
context: *mut ::libc::c_void) -> ()>;
pub enum Struct___CFBinaryHeap { }
pub type CFBinaryHeapRef = *mut Struct___CFBinaryHeap;
pub type CFBit = UInt32;
pub enum Struct___CFBitVector { }
pub type CFBitVectorRef = *const Struct___CFBitVector;
pub type CFMutableBitVectorRef = *mut Struct___CFBitVector;
pub type Enum_Unnamed42 = ::libc::c_uint;
pub const OSUnknownByteOrder: ::libc::c_uint = 0;
pub const OSLittleEndian: ::libc::c_uint = 1;
pub const OSBigEndian: ::libc::c_uint = 2;
pub type Enum___CFByteOrder = ::libc::c_uint;
pub const CFByteOrderUnknown: ::libc::c_uint = 0;
pub const CFByteOrderLittleEndian: ::libc::c_uint = 1;
pub const CFByteOrderBigEndian: ::libc::c_uint = 2;
pub type CFByteOrder = CFIndex;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed43 {
pub v: uint32_t,
}
impl ::std::default::Default for Struct_Unnamed43 {
fn default() -> Struct_Unnamed43 { unsafe { ::std::mem::zeroed() } }
}
pub type CFSwappedFloat32 = Struct_Unnamed43;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed44 {
pub v: uint64_t,
}
impl ::std::default::Default for Struct_Unnamed44 {
fn default() -> Struct_Unnamed44 { unsafe { ::std::mem::zeroed() } }
}
pub type CFSwappedFloat64 = Struct_Unnamed44;
pub type CFDictionaryRetainCallBack =
::std::option::Option<extern "C" fn
(allocator: CFAllocatorRef,
value: *const ::libc::c_void)
-> *const ::libc::c_void>;
pub type CFDictionaryReleaseCallBack =
::std::option::Option<extern "C" fn
(allocator: CFAllocatorRef,
value: *const ::libc::c_void) -> ()>;
pub type CFDictionaryCopyDescriptionCallBack =
::std::option::Option<extern "C" fn(value: *const ::libc::c_void)
-> CFStringRef>;
pub type CFDictionaryEqualCallBack =
::std::option::Option<extern "C" fn
(value1: *const ::libc::c_void,
value2: *const ::libc::c_void) -> Boolean>;
pub type CFDictionaryHashCallBack =
::std::option::Option<extern "C" fn(value: *const ::libc::c_void)
-> CFHashCode>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed45 {
pub version: CFIndex,
pub retain: CFDictionaryRetainCallBack,
pub release: CFDictionaryReleaseCallBack,
pub copyDescription: CFDictionaryCopyDescriptionCallBack,
pub equal: CFDictionaryEqualCallBack,
pub hash: CFDictionaryHashCallBack,
}
impl ::std::default::Default for Struct_Unnamed45 {
fn default() -> Struct_Unnamed45 { unsafe { ::std::mem::zeroed() } }
}
pub type CFDictionaryKeyCallBacks = Struct_Unnamed45;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed46 {
pub version: CFIndex,
pub retain: CFDictionaryRetainCallBack,
pub release: CFDictionaryReleaseCallBack,
pub copyDescription: CFDictionaryCopyDescriptionCallBack,
pub equal: CFDictionaryEqualCallBack,
}
impl ::std::default::Default for Struct_Unnamed46 {
fn default() -> Struct_Unnamed46 { unsafe { ::std::mem::zeroed() } }
}
pub type CFDictionaryValueCallBacks = Struct_Unnamed46;
pub type CFDictionaryApplierFunction =
::std::option::Option<extern "C" fn
(key: *const ::libc::c_void,
value: *const ::libc::c_void,
context: *mut ::libc::c_void) -> ()>;
pub enum Struct___CFDictionary { }
pub type CFDictionaryRef = *const Struct___CFDictionary;
pub type CFMutableDictionaryRef = *mut Struct___CFDictionary;
pub enum Struct___CFLocale { }
pub type CFLocaleRef = *const Struct___CFLocale;
pub type CFLocaleLanguageDirection = CFIndex;
pub type Enum_Unnamed47 = ::libc::c_uint;
pub const kCFLocaleLanguageDirectionUnknown: ::libc::c_uint = 0;
pub const kCFLocaleLanguageDirectionLeftToRight: ::libc::c_uint = 1;
pub const kCFLocaleLanguageDirectionRightToLeft: ::libc::c_uint = 2;
pub const kCFLocaleLanguageDirectionTopToBottom: ::libc::c_uint = 3;
pub const kCFLocaleLanguageDirectionBottomToTop: ::libc::c_uint = 4;
pub type CFTimeInterval = ::libc::c_double;
pub type CFAbsoluteTime = CFTimeInterval;
pub enum Struct___CFDate { }
pub type CFDateRef = *const Struct___CFDate;
pub enum Struct___CFTimeZone { }
pub type CFTimeZoneRef = *const Struct___CFTimeZone;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed48 {
pub year: SInt32,
pub month: SInt8,
pub day: SInt8,
pub hour: SInt8,
pub minute: SInt8,
pub second: ::libc::c_double,
}
impl ::std::default::Default for Struct_Unnamed48 {
fn default() -> Struct_Unnamed48 { unsafe { ::std::mem::zeroed() } }
}
pub type CFGregorianDate = Struct_Unnamed48;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed49 {
pub years: SInt32,
pub months: SInt32,
pub days: SInt32,
pub hours: SInt32,
pub minutes: SInt32,
pub seconds: ::libc::c_double,
}
impl ::std::default::Default for Struct_Unnamed49 {
fn default() -> Struct_Unnamed49 { unsafe { ::std::mem::zeroed() } }
}
pub type CFGregorianUnits = Struct_Unnamed49;
pub type CFGregorianUnitFlags = CFOptionFlags;
pub type Enum_Unnamed50 = ::libc::c_uint;
pub const kCFGregorianUnitsYears: ::libc::c_uint = 1;
pub const kCFGregorianUnitsMonths: ::libc::c_uint = 2;
pub const kCFGregorianUnitsDays: ::libc::c_uint = 4;
pub const kCFGregorianUnitsHours: ::libc::c_uint = 8;
pub const kCFGregorianUnitsMinutes: ::libc::c_uint = 16;
pub const kCFGregorianUnitsSeconds: ::libc::c_uint = 32;
pub const kCFGregorianAllUnits: ::libc::c_uint = 16777215;
pub enum Struct___CFData { }
pub type CFDataRef = *const Struct___CFData;
pub type CFMutableDataRef = *mut Struct___CFData;
pub type CFDataSearchFlags = CFOptionFlags;
pub type Enum_Unnamed51 = ::libc::c_uint;
pub const kCFDataSearchBackwards: ::libc::c_uint = 1;
pub const kCFDataSearchAnchored: ::libc::c_uint = 2;
pub enum Struct___CFCharacterSet { }
pub type CFCharacterSetRef = *const Struct___CFCharacterSet;
pub type CFMutableCharacterSetRef = *mut Struct___CFCharacterSet;
pub type CFCharacterSetPredefinedSet = CFIndex;
pub type Enum_Unnamed52 = ::libc::c_uint;
pub const kCFCharacterSetControl: ::libc::c_uint = 1;
pub const kCFCharacterSetWhitespace: ::libc::c_uint = 2;
pub const kCFCharacterSetWhitespaceAndNewline: ::libc::c_uint = 3;
pub const kCFCharacterSetDecimalDigit: ::libc::c_uint = 4;
pub const kCFCharacterSetLetter: ::libc::c_uint = 5;
pub const kCFCharacterSetLowercaseLetter: ::libc::c_uint = 6;
pub const kCFCharacterSetUppercaseLetter: ::libc::c_uint = 7;
pub const kCFCharacterSetNonBase: ::libc::c_uint = 8;
pub const kCFCharacterSetDecomposable: ::libc::c_uint = 9;
pub const kCFCharacterSetAlphaNumeric: ::libc::c_uint = 10;
pub const kCFCharacterSetPunctuation: ::libc::c_uint = 11;
pub const kCFCharacterSetCapitalizedLetter: ::libc::c_uint = 13;
pub const kCFCharacterSetSymbol: ::libc::c_uint = 14;
pub const kCFCharacterSetNewline: ::libc::c_uint = 15;
pub const kCFCharacterSetIllegal: ::libc::c_uint = 12;
pub type CFStringEncoding = UInt32;
pub type CFStringBuiltInEncodings = CFStringEncoding;
pub type Enum_Unnamed53 = ::libc::c_uint;
pub const kCFStringEncodingMacRoman: ::libc::c_uint = 0;
pub const kCFStringEncodingWindowsLatin1: ::libc::c_uint = 1280;
pub const kCFStringEncodingISOLatin1: ::libc::c_uint = 513;
pub const kCFStringEncodingNextStepLatin: ::libc::c_uint = 2817;
pub const kCFStringEncodingASCII: ::libc::c_uint = 1536;
pub const kCFStringEncodingUnicode: ::libc::c_uint = 256;
pub const kCFStringEncodingUTF8: ::libc::c_uint = 134217984;
pub const kCFStringEncodingNonLossyASCII: ::libc::c_uint = 3071;
pub const kCFStringEncodingUTF16: ::libc::c_uint = 256;
pub const kCFStringEncodingUTF16BE: ::libc::c_uint = 268435712;
pub const kCFStringEncodingUTF16LE: ::libc::c_uint = 335544576;
pub const kCFStringEncodingUTF32: ::libc::c_uint = 201326848;
pub const kCFStringEncodingUTF32BE: ::libc::c_uint = 402653440;
pub const kCFStringEncodingUTF32LE: ::libc::c_uint = 469762304;
pub type CFStringCompareFlags = CFOptionFlags;
pub type Enum_Unnamed54 = ::libc::c_uint;
pub const kCFCompareCaseInsensitive: ::libc::c_uint = 1;
pub const kCFCompareBackwards: ::libc::c_uint = 4;
pub const kCFCompareAnchored: ::libc::c_uint = 8;
pub const kCFCompareNonliteral: ::libc::c_uint = 16;
pub const kCFCompareLocalized: ::libc::c_uint = 32;
pub const kCFCompareNumerically: ::libc::c_uint = 64;
pub const kCFCompareDiacriticInsensitive: ::libc::c_uint = 128;
pub const kCFCompareWidthInsensitive: ::libc::c_uint = 256;
pub const kCFCompareForcedOrdering: ::libc::c_uint = 512;
pub type CFStringNormalizationForm = CFIndex;
pub type Enum_Unnamed55 = ::libc::c_uint;
pub const kCFStringNormalizationFormD: ::libc::c_uint = 0;
pub const kCFStringNormalizationFormKD: ::libc::c_uint = 1;
pub const kCFStringNormalizationFormC: ::libc::c_uint = 2;
pub const kCFStringNormalizationFormKC: ::libc::c_uint = 3;
#[repr(C)]
pub struct Struct_Unnamed56 {
pub buffer: [UniChar; 64usize],
pub theString: CFStringRef,
pub directUniCharBuffer: *const UniChar,
pub directCStringBuffer: *const ::libc::c_char,
pub rangeToBuffer: CFRange,
pub bufferedRangeStart: CFIndex,
pub bufferedRangeEnd: CFIndex,
}
impl ::std::default::Default for Struct_Unnamed56 {
fn default() -> Struct_Unnamed56 { unsafe { ::std::mem::zeroed() } }
}
pub type CFStringInlineBuffer = Struct_Unnamed56;
pub type CFTimeZoneNameStyle = CFIndex;
pub type Enum_Unnamed57 = ::libc::c_uint;
pub const kCFTimeZoneNameStyleStandard: ::libc::c_uint = 0;
pub const kCFTimeZoneNameStyleShortStandard: ::libc::c_uint = 1;
pub const kCFTimeZoneNameStyleDaylightSaving: ::libc::c_uint = 2;
pub const kCFTimeZoneNameStyleShortDaylightSaving: ::libc::c_uint = 3;
pub const kCFTimeZoneNameStyleGeneric: ::libc::c_uint = 4;
pub const kCFTimeZoneNameStyleShortGeneric: ::libc::c_uint = 5;
pub enum Struct___CFCalendar { }
pub type CFCalendarRef = *mut Struct___CFCalendar;
pub type CFCalendarUnit = CFOptionFlags;
pub type Enum_Unnamed58 = ::libc::c_uint;
pub const kCFCalendarUnitEra: ::libc::c_uint = 2;
pub const kCFCalendarUnitYear: ::libc::c_uint = 4;
pub const kCFCalendarUnitMonth: ::libc::c_uint = 8;
pub const kCFCalendarUnitDay: ::libc::c_uint = 16;
pub const kCFCalendarUnitHour: ::libc::c_uint = 32;
pub const kCFCalendarUnitMinute: ::libc::c_uint = 64;
pub const kCFCalendarUnitSecond: ::libc::c_uint = 128;
pub const kCFCalendarUnitWeek: ::libc::c_uint = 256;
pub const kCFCalendarUnitWeekday: ::libc::c_uint = 512;
pub const kCFCalendarUnitWeekdayOrdinal: ::libc::c_uint = 1024;
pub const kCFCalendarUnitQuarter: ::libc::c_uint = 2048;
pub const kCFCalendarUnitWeekOfMonth: ::libc::c_uint = 4096;
pub const kCFCalendarUnitWeekOfYear: ::libc::c_uint = 8192;
pub const kCFCalendarUnitYearForWeekOfYear: ::libc::c_uint = 16384;
pub type Enum_Unnamed59 = ::libc::c_uint;
pub const kCFCalendarComponentsWrap: ::libc::c_uint = 1;
pub enum Struct___CFDateFormatter { }
pub type CFDateFormatterRef = *mut Struct___CFDateFormatter;
pub type CFDateFormatterStyle = CFIndex;
pub type Enum_Unnamed60 = ::libc::c_uint;
pub const kCFDateFormatterNoStyle: ::libc::c_uint = 0;
pub const kCFDateFormatterShortStyle: ::libc::c_uint = 1;
pub const kCFDateFormatterMediumStyle: ::libc::c_uint = 2;
pub const kCFDateFormatterLongStyle: ::libc::c_uint = 3;
pub const kCFDateFormatterFullStyle: ::libc::c_uint = 4;
pub enum Struct___CFError { }
pub type CFErrorRef = *mut Struct___CFError;
pub enum Struct___CFBoolean { }
pub type CFBooleanRef = *const Struct___CFBoolean;
pub type CFNumberType = CFIndex;
pub type Enum_Unnamed61 = ::libc::c_uint;
pub const kCFNumberSInt8Type: ::libc::c_uint = 1;
pub const kCFNumberSInt16Type: ::libc::c_uint = 2;
pub const kCFNumberSInt32Type: ::libc::c_uint = 3;
pub const kCFNumberSInt64Type: ::libc::c_uint = 4;
pub const kCFNumberFloat32Type: ::libc::c_uint = 5;
pub const kCFNumberFloat64Type: ::libc::c_uint = 6;
pub const kCFNumberCharType: ::libc::c_uint = 7;
pub const kCFNumberShortType: ::libc::c_uint = 8;
pub const kCFNumberIntType: ::libc::c_uint = 9;
pub const kCFNumberLongType: ::libc::c_uint = 10;
pub const kCFNumberLongLongType: ::libc::c_uint = 11;
pub const kCFNumberFloatType: ::libc::c_uint = 12;
pub const kCFNumberDoubleType: ::libc::c_uint = 13;
pub const kCFNumberCFIndexType: ::libc::c_uint = 14;
pub const kCFNumberNSIntegerType: ::libc::c_uint = 15;
pub const kCFNumberCGFloatType: ::libc::c_uint = 16;
pub const kCFNumberMaxType: ::libc::c_uint = 16;
pub enum Struct___CFNumber { }
pub type CFNumberRef = *const Struct___CFNumber;
pub enum Struct___CFNumberFormatter { }
pub type CFNumberFormatterRef = *mut Struct___CFNumberFormatter;
pub type CFNumberFormatterStyle = CFIndex;
pub type Enum_Unnamed62 = ::libc::c_uint;
pub const kCFNumberFormatterNoStyle: ::libc::c_uint = 0;
pub const kCFNumberFormatterDecimalStyle: ::libc::c_uint = 1;
pub const kCFNumberFormatterCurrencyStyle: ::libc::c_uint = 2;
pub const kCFNumberFormatterPercentStyle: ::libc::c_uint = 3;
pub const kCFNumberFormatterScientificStyle: ::libc::c_uint = 4;
pub const kCFNumberFormatterSpellOutStyle: ::libc::c_uint = 5;
pub type CFNumberFormatterOptionFlags = CFOptionFlags;
pub type Enum_Unnamed63 = ::libc::c_uint;
pub const kCFNumberFormatterParseIntegersOnly: ::libc::c_uint = 1;
pub type CFNumberFormatterRoundingMode = CFIndex;
pub type Enum_Unnamed64 = ::libc::c_uint;
pub const kCFNumberFormatterRoundCeiling: ::libc::c_uint = 0;
pub const kCFNumberFormatterRoundFloor: ::libc::c_uint = 1;
pub const kCFNumberFormatterRoundDown: ::libc::c_uint = 2;
pub const kCFNumberFormatterRoundUp: ::libc::c_uint = 3;
pub const kCFNumberFormatterRoundHalfEven: ::libc::c_uint = 4;
pub const kCFNumberFormatterRoundHalfDown: ::libc::c_uint = 5;
pub const kCFNumberFormatterRoundHalfUp: ::libc::c_uint = 6;
pub type CFNumberFormatterPadPosition = CFIndex;
pub type Enum_Unnamed65 = ::libc::c_uint;
pub const kCFNumberFormatterPadBeforePrefix: ::libc::c_uint = 0;
pub const kCFNumberFormatterPadAfterPrefix: ::libc::c_uint = 1;
pub const kCFNumberFormatterPadBeforeSuffix: ::libc::c_uint = 2;
pub const kCFNumberFormatterPadAfterSuffix: ::libc::c_uint = 3;
pub type CFURLPathStyle = CFIndex;
pub type Enum_Unnamed66 = ::libc::c_uint;
pub const kCFURLPOSIXPathStyle: ::libc::c_uint = 0;
pub const kCFURLHFSPathStyle: ::libc::c_uint = 1;
pub const kCFURLWindowsPathStyle: ::libc::c_uint = 2;
pub enum Struct___CFURL { }
pub type CFURLRef = *const Struct___CFURL;
pub type CFURLComponentType = CFIndex;
pub type Enum_Unnamed67 = ::libc::c_uint;
pub const kCFURLComponentScheme: ::libc::c_uint = 1;
pub const kCFURLComponentNetLocation: ::libc::c_uint = 2;
pub const kCFURLComponentPath: ::libc::c_uint = 3;
pub const kCFURLComponentResourceSpecifier: ::libc::c_uint = 4;
pub const kCFURLComponentUser: ::libc::c_uint = 5;
pub const kCFURLComponentPassword: ::libc::c_uint = 6;
pub const kCFURLComponentUserInfo: ::libc::c_uint = 7;
pub const kCFURLComponentHost: ::libc::c_uint = 8;
pub const kCFURLComponentPort: ::libc::c_uint = 9;
pub const kCFURLComponentParameterString: ::libc::c_uint = 10;
pub const kCFURLComponentQuery: ::libc::c_uint = 11;
pub const kCFURLComponentFragment: ::libc::c_uint = 12;
pub enum Struct_FSRef { }
pub type CFURLBookmarkCreationOptions = CFOptionFlags;
pub type Enum_Unnamed68 = ::libc::c_uint;
pub const kCFURLBookmarkCreationMinimalBookmarkMask: ::libc::c_uint = 512;
pub const kCFURLBookmarkCreationSuitableForBookmarkFile: ::libc::c_uint =
1024;
pub const kCFURLBookmarkCreationWithSecurityScope: ::libc::c_uint = 2048;
pub const kCFURLBookmarkCreationSecurityScopeAllowOnlyReadAccess:
::libc::c_uint =
4096;
pub const kCFURLBookmarkCreationPreferFileIDResolutionMask: ::libc::c_uint =
256;
pub type CFURLBookmarkResolutionOptions = CFOptionFlags;
pub type Enum_Unnamed69 = ::libc::c_uint;
pub const kCFURLBookmarkResolutionWithoutUIMask: ::libc::c_uint = 256;
pub const kCFURLBookmarkResolutionWithoutMountingMask: ::libc::c_uint = 512;
pub const kCFURLBookmarkResolutionWithSecurityScope: ::libc::c_uint = 1024;
pub const kCFBookmarkResolutionWithoutUIMask: ::libc::c_uint = 256;
pub const kCFBookmarkResolutionWithoutMountingMask: ::libc::c_uint = 512;
pub type CFURLBookmarkFileCreationOptions = CFOptionFlags;
pub type boolean_t = ::libc::c_uint;
pub type natural_t = __darwin_natural_t;
pub type integer_t = ::libc::c_int;
pub type vm_offset_t = uintptr_t;
pub type vm_size_t = uintptr_t;
pub type mach_vm_address_t = uint64_t;
pub type mach_vm_offset_t = uint64_t;
pub type mach_vm_size_t = uint64_t;
pub type vm_map_offset_t = uint64_t;
pub type vm_map_address_t = uint64_t;
pub type vm_map_size_t = uint64_t;
pub type mach_port_context_t = mach_vm_address_t;
pub type mach_port_name_t = natural_t;
pub type mach_port_name_array_t = *mut mach_port_name_t;
pub type mach_port_t = __darwin_mach_port_t;
pub type mach_port_array_t = *mut mach_port_t;
pub type mach_port_right_t = natural_t;
pub type mach_port_type_t = natural_t;
pub type mach_port_type_array_t = *mut mach_port_type_t;
pub type mach_port_urefs_t = natural_t;
pub type mach_port_delta_t = integer_t;
pub type mach_port_seqno_t = natural_t;
pub type mach_port_mscount_t = natural_t;
pub type mach_port_msgcount_t = natural_t;
pub type mach_port_rights_t = natural_t;
pub type mach_port_srights_t = ::libc::c_uint;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_mach_port_status {
pub mps_pset: mach_port_rights_t,
pub mps_seqno: mach_port_seqno_t,
pub mps_mscount: mach_port_mscount_t,
pub mps_qlimit: mach_port_msgcount_t,
pub mps_msgcount: mach_port_msgcount_t,
pub mps_sorights: mach_port_rights_t,
pub mps_srights: boolean_t,
pub mps_pdrequest: boolean_t,
pub mps_nsrequest: boolean_t,
pub mps_flags: natural_t,
}
impl ::std::default::Default for Struct_mach_port_status {
fn default() -> Struct_mach_port_status {
unsafe { ::std::mem::zeroed() }
}
}
pub type mach_port_status_t = Struct_mach_port_status;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_mach_port_limits {
pub mpl_qlimit: mach_port_msgcount_t,
}
impl ::std::default::Default for Struct_mach_port_limits {
fn default() -> Struct_mach_port_limits {
unsafe { ::std::mem::zeroed() }
}
}
pub type mach_port_limits_t = Struct_mach_port_limits;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_mach_port_info_ext {
pub mpie_status: mach_port_status_t,
pub mpie_boost_cnt: mach_port_msgcount_t,
pub reserved: [uint32_t; 6usize],
}
impl ::std::default::Default for Struct_mach_port_info_ext {
fn default() -> Struct_mach_port_info_ext {
unsafe { ::std::mem::zeroed() }
}
}
pub type mach_port_info_ext_t = Struct_mach_port_info_ext;
pub type mach_port_info_t = *mut integer_t;
pub type mach_port_flavor_t = ::libc::c_int;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_mach_port_qos {
pub _bindgen_bitfield_1_: ::libc::c_uint,
pub _bindgen_bitfield_2_: boolean_t,
pub len: natural_t,
}
impl ::std::default::Default for Struct_mach_port_qos {
fn default() -> Struct_mach_port_qos { unsafe { ::std::mem::zeroed() } }
}
pub type mach_port_qos_t = Struct_mach_port_qos;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_mach_port_options {
pub flags: uint32_t,
pub mpl: mach_port_limits_t,
pub reserved: [uint64_t; 2usize],
}
impl ::std::default::Default for Struct_mach_port_options {
fn default() -> Struct_mach_port_options {
unsafe { ::std::mem::zeroed() }
}
}
pub type mach_port_options_t = Struct_mach_port_options;
pub type mach_port_options_ptr_t = *mut mach_port_options_t;
pub type Enum_mach_port_guard_exception_codes = ::libc::c_uint;
pub const kGUARD_EXC_DESTROY: ::libc::c_uint = 1;
pub const kGUARD_EXC_MOD_REFS: ::libc::c_uint = 2;
pub const kGUARD_EXC_SET_CONTEXT: ::libc::c_uint = 4;
pub const kGUARD_EXC_UNGUARDED: ::libc::c_uint = 8;
pub const kGUARD_EXC_INCORRECT_GUARD: ::libc::c_uint = 16;
pub enum Struct___CFRunLoop { }
pub type CFRunLoopRef = *mut Struct___CFRunLoop;
pub enum Struct___CFRunLoopSource { }
pub type CFRunLoopSourceRef = *mut Struct___CFRunLoopSource;
pub enum Struct___CFRunLoopObserver { }
pub type CFRunLoopObserverRef = *mut Struct___CFRunLoopObserver;
pub enum Struct___CFRunLoopTimer { }
pub type CFRunLoopTimerRef = *mut Struct___CFRunLoopTimer;
pub type Enum_Unnamed70 = ::libc::c_uint;
pub const kCFRunLoopRunFinished: ::libc::c_uint = 1;
pub const kCFRunLoopRunStopped: ::libc::c_uint = 2;
pub const kCFRunLoopRunTimedOut: ::libc::c_uint = 3;
pub const kCFRunLoopRunHandledSource: ::libc::c_uint = 4;
pub type CFRunLoopActivity = CFOptionFlags;
pub type Enum_Unnamed71 = ::libc::c_uint;
pub const kCFRunLoopEntry: ::libc::c_uint = 1;
pub const kCFRunLoopBeforeTimers: ::libc::c_uint = 2;
pub const kCFRunLoopBeforeSources: ::libc::c_uint = 4;
pub const kCFRunLoopBeforeWaiting: ::libc::c_uint = 32;
pub const kCFRunLoopAfterWaiting: ::libc::c_uint = 64;
pub const kCFRunLoopExit: ::libc::c_uint = 128;
pub const kCFRunLoopAllActivities: ::libc::c_uint = 268435455;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed72 {
pub version: CFIndex,
pub info: *mut ::libc::c_void,
pub retain: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> *const ::libc::c_void>,
pub release: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> ()>,
pub copyDescription: ::std::option::Option<extern "C" fn
(info:
*const ::libc::c_void)
-> CFStringRef>,
pub equal: ::std::option::Option<extern "C" fn
(info1: *const ::libc::c_void,
info2: *const ::libc::c_void)
-> Boolean>,
pub hash: ::std::option::Option<extern "C" fn(info: *const ::libc::c_void)
-> CFHashCode>,
pub schedule: ::std::option::Option<extern "C" fn
(info: *mut ::libc::c_void,
rl: CFRunLoopRef,
mode: CFStringRef) -> ()>,
pub cancel: ::std::option::Option<extern "C" fn
(info: *mut ::libc::c_void,
rl: CFRunLoopRef,
mode: CFStringRef) -> ()>,
pub perform: ::std::option::Option<extern "C" fn
(info: *mut ::libc::c_void) -> ()>,
}
impl ::std::default::Default for Struct_Unnamed72 {
fn default() -> Struct_Unnamed72 { unsafe { ::std::mem::zeroed() } }
}
pub type CFRunLoopSourceContext = Struct_Unnamed72;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed73 {
pub version: CFIndex,
pub info: *mut ::libc::c_void,
pub retain: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> *const ::libc::c_void>,
pub release: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> ()>,
pub copyDescription: ::std::option::Option<extern "C" fn
(info:
*const ::libc::c_void)
-> CFStringRef>,
pub equal: ::std::option::Option<extern "C" fn
(info1: *const ::libc::c_void,
info2: *const ::libc::c_void)
-> Boolean>,
pub hash: ::std::option::Option<extern "C" fn(info: *const ::libc::c_void)
-> CFHashCode>,
pub getPort: ::std::option::Option<extern "C" fn
(info: *mut ::libc::c_void)
-> mach_port_t>,
pub perform: ::std::option::Option<extern "C" fn
(msg: *mut ::libc::c_void,
size: CFIndex,
allocator: CFAllocatorRef,
info: *mut ::libc::c_void)
-> *mut ::libc::c_void>,
}
impl ::std::default::Default for Struct_Unnamed73 {
fn default() -> Struct_Unnamed73 { unsafe { ::std::mem::zeroed() } }
}
pub type CFRunLoopSourceContext1 = Struct_Unnamed73;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed74 {
pub version: CFIndex,
pub info: *mut ::libc::c_void,
pub retain: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> *const ::libc::c_void>,
pub release: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> ()>,
pub copyDescription: ::std::option::Option<extern "C" fn
(info:
*const ::libc::c_void)
-> CFStringRef>,
}
impl ::std::default::Default for Struct_Unnamed74 {
fn default() -> Struct_Unnamed74 { unsafe { ::std::mem::zeroed() } }
}
pub type CFRunLoopObserverContext = Struct_Unnamed74;
pub type CFRunLoopObserverCallBack =
::std::option::Option<extern "C" fn
(observer: CFRunLoopObserverRef,
activity: CFRunLoopActivity,
info: *mut ::libc::c_void) -> ()>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed75 {
pub version: CFIndex,
pub info: *mut ::libc::c_void,
pub retain: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> *const ::libc::c_void>,
pub release: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> ()>,
pub copyDescription: ::std::option::Option<extern "C" fn
(info:
*const ::libc::c_void)
-> CFStringRef>,
}
impl ::std::default::Default for Struct_Unnamed75 {
fn default() -> Struct_Unnamed75 { unsafe { ::std::mem::zeroed() } }
}
pub type CFRunLoopTimerContext = Struct_Unnamed75;
pub type CFRunLoopTimerCallBack =
::std::option::Option<extern "C" fn
(timer: CFRunLoopTimerRef,
info: *mut ::libc::c_void) -> ()>;
pub enum Struct___CFSocket { }
pub type CFSocketRef = *mut Struct___CFSocket;
pub type CFSocketError = CFIndex;
pub type Enum_Unnamed76 = ::libc::c_int;
pub const kCFSocketSuccess: ::libc::c_int = 0;
pub const kCFSocketError: ::libc::c_int = -1;
pub const kCFSocketTimeout: ::libc::c_int = -2;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed77 {
pub protocolFamily: SInt32,
pub socketType: SInt32,
pub protocol: SInt32,
pub address: CFDataRef,
}
impl ::std::default::Default for Struct_Unnamed77 {
fn default() -> Struct_Unnamed77 { unsafe { ::std::mem::zeroed() } }
}
pub type CFSocketSignature = Struct_Unnamed77;
pub type CFSocketCallBackType = CFOptionFlags;
pub type Enum_Unnamed78 = ::libc::c_uint;
pub const kCFSocketNoCallBack: ::libc::c_uint = 0;
pub const kCFSocketReadCallBack: ::libc::c_uint = 1;
pub const kCFSocketAcceptCallBack: ::libc::c_uint = 2;
pub const kCFSocketDataCallBack: ::libc::c_uint = 3;
pub const kCFSocketConnectCallBack: ::libc::c_uint = 4;
pub const kCFSocketWriteCallBack: ::libc::c_uint = 8;
pub type Enum_Unnamed79 = ::libc::c_uint;
pub const kCFSocketAutomaticallyReenableReadCallBack: ::libc::c_uint = 1;
pub const kCFSocketAutomaticallyReenableAcceptCallBack: ::libc::c_uint = 2;
pub const kCFSocketAutomaticallyReenableDataCallBack: ::libc::c_uint = 3;
pub const kCFSocketAutomaticallyReenableWriteCallBack: ::libc::c_uint = 8;
pub const kCFSocketLeaveErrors: ::libc::c_uint = 64;
pub const kCFSocketCloseOnInvalidate: ::libc::c_uint = 128;
pub type CFSocketCallBack =
::std::option::Option<extern "C" fn
(s: CFSocketRef, _type: CFSocketCallBackType,
address: CFDataRef,
data: *const ::libc::c_void,
info: *mut ::libc::c_void) -> ()>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed80 {
pub version: CFIndex,
pub info: *mut ::libc::c_void,
pub retain: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> *const ::libc::c_void>,
pub release: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> ()>,
pub copyDescription: ::std::option::Option<extern "C" fn
(info:
*const ::libc::c_void)
-> CFStringRef>,
}
impl ::std::default::Default for Struct_Unnamed80 {
fn default() -> Struct_Unnamed80 { unsafe { ::std::mem::zeroed() } }
}
pub type CFSocketContext = Struct_Unnamed80;
pub type CFSocketNativeHandle = ::libc::c_int;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_accessx_descriptor {
pub ad_name_offset: ::libc::c_uint,
pub ad_flags: ::libc::c_int,
pub ad_pad: [::libc::c_int; 2usize],
}
impl ::std::default::Default for Struct_accessx_descriptor {
fn default() -> Struct_accessx_descriptor {
unsafe { ::std::mem::zeroed() }
}
}
pub type uuid_t = __darwin_uuid_t;
pub enum Struct_fssearchblock { }
pub enum Struct_searchstate { }
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_flock {
pub l_start: off_t,
pub l_len: off_t,
pub l_pid: pid_t,
pub l_type: ::libc::c_short,
pub l_whence: ::libc::c_short,
}
impl ::std::default::Default for Struct_flock {
fn default() -> Struct_flock { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_flocktimeout {
pub fl: Struct_flock,
pub timeout: Struct_timespec,
}
impl ::std::default::Default for Struct_flocktimeout {
fn default() -> Struct_flocktimeout { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_radvisory {
pub ra_offset: off_t,
pub ra_count: ::libc::c_int,
}
impl ::std::default::Default for Struct_radvisory {
fn default() -> Struct_radvisory { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_fcodeblobs {
pub f_cd_hash: *mut ::libc::c_void,
pub f_hash_size: size_t,
pub f_cd_buffer: *mut ::libc::c_void,
pub f_cd_size: size_t,
pub f_out_size: *mut ::libc::c_uint,
pub f_arch: ::libc::c_int,
pub __padding: ::libc::c_int,
}
impl ::std::default::Default for Struct_fcodeblobs {
fn default() -> Struct_fcodeblobs { unsafe { ::std::mem::zeroed() } }
}
pub type fcodeblobs_t = Struct_fcodeblobs;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_fsignatures {
pub fs_file_start: off_t,
pub fs_blob_start: *mut ::libc::c_void,
pub fs_blob_size: size_t,
}
impl ::std::default::Default for Struct_fsignatures {
fn default() -> Struct_fsignatures { unsafe { ::std::mem::zeroed() } }
}
pub type fsignatures_t = Struct_fsignatures;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_fstore {
pub fst_flags: ::libc::c_uint,
pub fst_posmode: ::libc::c_int,
pub fst_offset: off_t,
pub fst_length: off_t,
pub fst_bytesalloc: off_t,
}
impl ::std::default::Default for Struct_fstore {
fn default() -> Struct_fstore { unsafe { ::std::mem::zeroed() } }
}
pub type fstore_t = Struct_fstore;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_fbootstraptransfer {
pub fbt_offset: off_t,
pub fbt_length: size_t,
pub fbt_buffer: *mut ::libc::c_void,
}
impl ::std::default::Default for Struct_fbootstraptransfer {
fn default() -> Struct_fbootstraptransfer {
unsafe { ::std::mem::zeroed() }
}
}
pub type fbootstraptransfer_t = Struct_fbootstraptransfer;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_log2phys {
pub l2p_flags: ::libc::c_uint,
pub l2p_contigbytes: off_t,
pub l2p_devoffset: off_t,
}
impl ::std::default::Default for Struct_log2phys {
fn default() -> Struct_log2phys { unsafe { ::std::mem::zeroed() } }
}
pub enum Struct__filesec { }
pub type filesec_t = *mut Struct__filesec;
pub type Enum_Unnamed81 = ::libc::c_uint;
pub const FILESEC_OWNER: ::libc::c_uint = 1;
pub const FILESEC_GROUP: ::libc::c_uint = 2;
pub const FILESEC_UUID: ::libc::c_uint = 3;
pub const FILESEC_MODE: ::libc::c_uint = 4;
pub const FILESEC_ACL: ::libc::c_uint = 5;
pub const FILESEC_GRPUUID: ::libc::c_uint = 6;
pub const FILESEC_ACL_RAW: ::libc::c_uint = 100;
pub const FILESEC_ACL_ALLOCSIZE: ::libc::c_uint = 101;
pub type filesec_property_t = Enum_Unnamed81;
pub type dispatch_function_t =
::std::option::Option<extern "C" fn(arg1: *mut ::libc::c_void) -> ()>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_time_value {
pub seconds: integer_t,
pub microseconds: integer_t,
}
impl ::std::default::Default for Struct_time_value {
fn default() -> Struct_time_value { unsafe { ::std::mem::zeroed() } }
}
pub type time_value_t = Struct_time_value;
pub type alarm_type_t = ::libc::c_int;
pub type sleep_type_t = ::libc::c_int;
pub type clock_id_t = ::libc::c_int;
pub type clock_flavor_t = ::libc::c_int;
pub type clock_attr_t = *mut ::libc::c_int;
pub type clock_res_t = ::libc::c_int;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_mach_timespec {
pub tv_sec: ::libc::c_uint,
pub tv_nsec: clock_res_t,
}
impl ::std::default::Default for Struct_mach_timespec {
fn default() -> Struct_mach_timespec { unsafe { ::std::mem::zeroed() } }
}
pub type mach_timespec_t = Struct_mach_timespec;
pub type dispatch_time_t = uint64_t;
pub enum Struct__os_object_s { }
pub enum Struct_dispatch_object_s { }
pub enum Struct_dispatch_continuation_s { }
pub enum Struct_dispatch_queue_s { }
pub enum Struct_dispatch_queue_attr_s { }
pub enum Struct_dispatch_group_s { }
pub enum Struct_dispatch_source_s { }
pub enum Struct_dispatch_mach_s { }
pub enum Struct_dispatch_mach_msg_s { }
pub enum Struct_dispatch_timer_aggregate_s { }
pub enum Struct_dispatch_source_attr_s { }
pub enum Struct_dispatch_semaphore_s { }
pub enum Struct_dispatch_data_s { }
pub enum Struct_dispatch_io_s { }
pub enum Struct_dispatch_operation_s { }
pub enum Struct_dispatch_disk_s { }
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Union_Unnamed82 {
pub _bindgen_data_: [u64; 1usize],
}
impl Union_Unnamed82 {
pub unsafe fn _os_obj(&mut self) -> *mut *mut Struct__os_object_s {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _do(&mut self) -> *mut *mut Struct_dispatch_object_s {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _dc(&mut self) -> *mut *mut Struct_dispatch_continuation_s {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _dq(&mut self) -> *mut *mut Struct_dispatch_queue_s {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _dqa(&mut self) -> *mut *mut Struct_dispatch_queue_attr_s {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _dg(&mut self) -> *mut *mut Struct_dispatch_group_s {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _ds(&mut self) -> *mut *mut Struct_dispatch_source_s {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _dm(&mut self) -> *mut *mut Struct_dispatch_mach_s {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _dmsg(&mut self) -> *mut *mut Struct_dispatch_mach_msg_s {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _dta(&mut self)
-> *mut *mut Struct_dispatch_timer_aggregate_s {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _dsa(&mut self) -> *mut *mut Struct_dispatch_source_attr_s {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _dsema(&mut self) -> *mut *mut Struct_dispatch_semaphore_s {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _ddata(&mut self) -> *mut *mut Struct_dispatch_data_s {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _dchannel(&mut self) -> *mut *mut Struct_dispatch_io_s {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _doperation(&mut self)
-> *mut *mut Struct_dispatch_operation_s {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _ddisk(&mut self) -> *mut *mut Struct_dispatch_disk_s {
::std::mem::transmute(&self._bindgen_data_)
}
}
impl ::std::default::Default for Union_Unnamed82 {
fn default() -> Union_Unnamed82 { unsafe { ::std::mem::zeroed() } }
}
pub type dispatch_object_t = Union_Unnamed82;
pub type dispatch_block_t = ::libc::c_void;
pub type dispatch_queue_t = *mut Struct_dispatch_queue_s;
pub type dispatch_queue_priority_t = ::libc::c_long;
pub type Enum_Unnamed83 = ::libc::c_uint;
pub const QOS_CLASS_USER_INTERACTIVE: ::libc::c_uint = 33;
pub const QOS_CLASS_USER_INITIATED: ::libc::c_uint = 25;
pub const QOS_CLASS_DEFAULT: ::libc::c_uint = 21;
pub const QOS_CLASS_UTILITY: ::libc::c_uint = 17;
pub const QOS_CLASS_BACKGROUND: ::libc::c_uint = 9;
pub const QOS_CLASS_UNSPECIFIED: ::libc::c_uint = 0;
pub type qos_class_t = ::libc::c_uint;
pub type dispatch_qos_class_t = qos_class_t;
pub type dispatch_queue_attr_t = *mut Struct_dispatch_queue_attr_s;
pub type Enum_Unnamed84 = ::libc::c_uint;
pub const DISPATCH_BLOCK_BARRIER: ::libc::c_uint = 1;
pub const DISPATCH_BLOCK_DETACHED: ::libc::c_uint = 2;
pub const DISPATCH_BLOCK_ASSIGN_CURRENT: ::libc::c_uint = 4;
pub const DISPATCH_BLOCK_NO_QOS_CLASS: ::libc::c_uint = 8;
pub const DISPATCH_BLOCK_INHERIT_QOS_CLASS: ::libc::c_uint = 16;
pub const DISPATCH_BLOCK_ENFORCE_QOS_CLASS: ::libc::c_uint = 32;
pub type dispatch_block_flags_t = ::libc::c_ulong;
pub type kern_return_t = ::libc::c_int;
pub type mach_msg_timeout_t = natural_t;
pub type mach_msg_bits_t = ::libc::c_uint;
pub type mach_msg_size_t = natural_t;
pub type mach_msg_id_t = integer_t;
pub type mach_msg_type_name_t = ::libc::c_uint;
pub type mach_msg_copy_options_t = ::libc::c_uint;
pub type mach_msg_descriptor_type_t = ::libc::c_uint;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed85 {
pub pad1: natural_t,
pub pad2: mach_msg_size_t,
pub _bindgen_bitfield_1_: ::libc::c_uint,
pub _bindgen_bitfield_2_: mach_msg_descriptor_type_t,
}
impl ::std::default::Default for Struct_Unnamed85 {
fn default() -> Struct_Unnamed85 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_type_descriptor_t = Struct_Unnamed85;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed86 {
pub name: mach_port_t,
pub pad1: mach_msg_size_t,
pub _bindgen_bitfield_1_: ::libc::c_uint,
pub _bindgen_bitfield_2_: mach_msg_type_name_t,
pub _bindgen_bitfield_3_: mach_msg_descriptor_type_t,
}
impl ::std::default::Default for Struct_Unnamed86 {
fn default() -> Struct_Unnamed86 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_port_descriptor_t = Struct_Unnamed86;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed87 {
pub address: uint32_t,
pub size: mach_msg_size_t,
pub _bindgen_bitfield_1_: boolean_t,
pub _bindgen_bitfield_2_: mach_msg_copy_options_t,
pub _bindgen_bitfield_3_: ::libc::c_uint,
pub _bindgen_bitfield_4_: mach_msg_descriptor_type_t,
}
impl ::std::default::Default for Struct_Unnamed87 {
fn default() -> Struct_Unnamed87 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_ool_descriptor32_t = Struct_Unnamed87;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed88 {
pub address: uint64_t,
pub _bindgen_bitfield_1_: boolean_t,
pub _bindgen_bitfield_2_: mach_msg_copy_options_t,
pub _bindgen_bitfield_3_: ::libc::c_uint,
pub _bindgen_bitfield_4_: mach_msg_descriptor_type_t,
pub size: mach_msg_size_t,
}
impl ::std::default::Default for Struct_Unnamed88 {
fn default() -> Struct_Unnamed88 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_ool_descriptor64_t = Struct_Unnamed88;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed89 {
pub address: *mut ::libc::c_void,
pub _bindgen_bitfield_1_: boolean_t,
pub _bindgen_bitfield_2_: mach_msg_copy_options_t,
pub _bindgen_bitfield_3_: ::libc::c_uint,
pub _bindgen_bitfield_4_: mach_msg_descriptor_type_t,
pub size: mach_msg_size_t,
}
impl ::std::default::Default for Struct_Unnamed89 {
fn default() -> Struct_Unnamed89 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_ool_descriptor_t = Struct_Unnamed89;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed90 {
pub address: uint32_t,
pub count: mach_msg_size_t,
pub _bindgen_bitfield_1_: boolean_t,
pub _bindgen_bitfield_2_: mach_msg_copy_options_t,
pub _bindgen_bitfield_3_: mach_msg_type_name_t,
pub _bindgen_bitfield_4_: mach_msg_descriptor_type_t,
}
impl ::std::default::Default for Struct_Unnamed90 {
fn default() -> Struct_Unnamed90 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_ool_ports_descriptor32_t = Struct_Unnamed90;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed91 {
pub address: uint64_t,
pub _bindgen_bitfield_1_: boolean_t,
pub _bindgen_bitfield_2_: mach_msg_copy_options_t,
pub _bindgen_bitfield_3_: mach_msg_type_name_t,
pub _bindgen_bitfield_4_: mach_msg_descriptor_type_t,
pub count: mach_msg_size_t,
}
impl ::std::default::Default for Struct_Unnamed91 {
fn default() -> Struct_Unnamed91 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_ool_ports_descriptor64_t = Struct_Unnamed91;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed92 {
pub address: *mut ::libc::c_void,
pub _bindgen_bitfield_1_: boolean_t,
pub _bindgen_bitfield_2_: mach_msg_copy_options_t,
pub _bindgen_bitfield_3_: mach_msg_type_name_t,
pub _bindgen_bitfield_4_: mach_msg_descriptor_type_t,
pub count: mach_msg_size_t,
}
impl ::std::default::Default for Struct_Unnamed92 {
fn default() -> Struct_Unnamed92 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_ool_ports_descriptor_t = Struct_Unnamed92;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Union_Unnamed93 {
pub _bindgen_data_: [u32; 4usize],
}
impl Union_Unnamed93 {
pub unsafe fn port(&mut self) -> *mut mach_msg_port_descriptor_t {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn out_of_line(&mut self) -> *mut mach_msg_ool_descriptor_t {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn ool_ports(&mut self)
-> *mut mach_msg_ool_ports_descriptor_t {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn _type(&mut self) -> *mut mach_msg_type_descriptor_t {
::std::mem::transmute(&self._bindgen_data_)
}
}
impl ::std::default::Default for Union_Unnamed93 {
fn default() -> Union_Unnamed93 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_descriptor_t = Union_Unnamed93;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed94 {
pub msgh_descriptor_count: mach_msg_size_t,
}
impl ::std::default::Default for Struct_Unnamed94 {
fn default() -> Struct_Unnamed94 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_body_t = Struct_Unnamed94;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed95 {
pub msgh_bits: mach_msg_bits_t,
pub msgh_size: mach_msg_size_t,
pub msgh_remote_port: mach_port_t,
pub msgh_local_port: mach_port_t,
pub msgh_voucher_port: mach_port_name_t,
pub msgh_id: mach_msg_id_t,
}
impl ::std::default::Default for Struct_Unnamed95 {
fn default() -> Struct_Unnamed95 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_header_t = Struct_Unnamed95;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed96 {
pub header: mach_msg_header_t,
pub body: mach_msg_body_t,
}
impl ::std::default::Default for Struct_Unnamed96 {
fn default() -> Struct_Unnamed96 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_base_t = Struct_Unnamed96;
pub type mach_msg_trailer_type_t = ::libc::c_uint;
pub type mach_msg_trailer_size_t = ::libc::c_uint;
pub type mach_msg_trailer_info_t = *mut ::libc::c_char;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed97 {
pub msgh_trailer_type: mach_msg_trailer_type_t,
pub msgh_trailer_size: mach_msg_trailer_size_t,
}
impl ::std::default::Default for Struct_Unnamed97 {
fn default() -> Struct_Unnamed97 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_trailer_t = Struct_Unnamed97;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed98 {
pub msgh_trailer_type: mach_msg_trailer_type_t,
pub msgh_trailer_size: mach_msg_trailer_size_t,
pub msgh_seqno: mach_port_seqno_t,
}
impl ::std::default::Default for Struct_Unnamed98 {
fn default() -> Struct_Unnamed98 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_seqno_trailer_t = Struct_Unnamed98;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed99 {
pub val: [::libc::c_uint; 2usize],
}
impl ::std::default::Default for Struct_Unnamed99 {
fn default() -> Struct_Unnamed99 { unsafe { ::std::mem::zeroed() } }
}
pub type security_token_t = Struct_Unnamed99;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed100 {
pub msgh_trailer_type: mach_msg_trailer_type_t,
pub msgh_trailer_size: mach_msg_trailer_size_t,
pub msgh_seqno: mach_port_seqno_t,
pub msgh_sender: security_token_t,
}
impl ::std::default::Default for Struct_Unnamed100 {
fn default() -> Struct_Unnamed100 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_security_trailer_t = Struct_Unnamed100;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed101 {
pub val: [::libc::c_uint; 8usize],
}
impl ::std::default::Default for Struct_Unnamed101 {
fn default() -> Struct_Unnamed101 { unsafe { ::std::mem::zeroed() } }
}
pub type audit_token_t = Struct_Unnamed101;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed102 {
pub msgh_trailer_type: mach_msg_trailer_type_t,
pub msgh_trailer_size: mach_msg_trailer_size_t,
pub msgh_seqno: mach_port_seqno_t,
pub msgh_sender: security_token_t,
pub msgh_audit: audit_token_t,
}
impl ::std::default::Default for Struct_Unnamed102 {
fn default() -> Struct_Unnamed102 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_audit_trailer_t = Struct_Unnamed102;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed103 {
pub msgh_trailer_type: mach_msg_trailer_type_t,
pub msgh_trailer_size: mach_msg_trailer_size_t,
pub msgh_seqno: mach_port_seqno_t,
pub msgh_sender: security_token_t,
pub msgh_audit: audit_token_t,
pub msgh_context: mach_port_context_t,
}
impl ::std::default::Default for Struct_Unnamed103 {
fn default() -> Struct_Unnamed103 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_context_trailer_t = Struct_Unnamed103;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed104 {
pub sender: mach_port_name_t,
}
impl ::std::default::Default for Struct_Unnamed104 {
fn default() -> Struct_Unnamed104 { unsafe { ::std::mem::zeroed() } }
}
pub type msg_labels_t = Struct_Unnamed104;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed105 {
pub msgh_trailer_type: mach_msg_trailer_type_t,
pub msgh_trailer_size: mach_msg_trailer_size_t,
pub msgh_seqno: mach_port_seqno_t,
pub msgh_sender: security_token_t,
pub msgh_audit: audit_token_t,
pub msgh_context: mach_port_context_t,
pub msgh_ad: ::libc::c_int,
pub msgh_labels: msg_labels_t,
}
impl ::std::default::Default for Struct_Unnamed105 {
fn default() -> Struct_Unnamed105 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_mac_trailer_t = Struct_Unnamed105;
pub type mach_msg_max_trailer_t = mach_msg_mac_trailer_t;
pub type mach_msg_format_0_trailer_t = mach_msg_security_trailer_t;
pub type mach_msg_options_t = integer_t;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed106 {
pub header: mach_msg_header_t,
}
impl ::std::default::Default for Struct_Unnamed106 {
fn default() -> Struct_Unnamed106 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_empty_send_t = Struct_Unnamed106;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed107 {
pub header: mach_msg_header_t,
pub trailer: mach_msg_trailer_t,
}
impl ::std::default::Default for Struct_Unnamed107 {
fn default() -> Struct_Unnamed107 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_empty_rcv_t = Struct_Unnamed107;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Union_Unnamed108 {
pub _bindgen_data_: [u32; 8usize],
}
impl Union_Unnamed108 {
pub unsafe fn send(&mut self) -> *mut mach_msg_empty_send_t {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn rcv(&mut self) -> *mut mach_msg_empty_rcv_t {
::std::mem::transmute(&self._bindgen_data_)
}
}
impl ::std::default::Default for Union_Unnamed108 {
fn default() -> Union_Unnamed108 { unsafe { ::std::mem::zeroed() } }
}
pub type mach_msg_empty_t = Union_Unnamed108;
pub type mach_msg_type_size_t = natural_t;
pub type mach_msg_type_number_t = natural_t;
pub type mach_msg_option_t = integer_t;
pub type mach_msg_return_t = kern_return_t;
pub type dispatch_source_t = *mut Struct_dispatch_source_s;
pub enum Struct_dispatch_source_type_s { }
pub type dispatch_source_type_t = *const Struct_dispatch_source_type_s;
pub type dispatch_source_mach_send_flags_t = ::libc::c_ulong;
pub type dispatch_source_memorypressure_flags_t = ::libc::c_ulong;
pub type dispatch_source_proc_flags_t = ::libc::c_ulong;
pub type dispatch_source_vnode_flags_t = ::libc::c_ulong;
pub type dispatch_source_timer_flags_t = ::libc::c_ulong;
pub type dispatch_group_t = *mut Struct_dispatch_group_s;
pub type dispatch_semaphore_t = *mut Struct_dispatch_semaphore_s;
pub type dispatch_once_t = ::libc::c_long;
pub type dispatch_data_t = *mut Struct_dispatch_data_s;
pub type dispatch_data_applier_t = ::libc::c_void;
pub type dispatch_fd_t = ::libc::c_int;
pub type dispatch_io_t = *mut Struct_dispatch_io_s;
pub type dispatch_io_type_t = ::libc::c_ulong;
pub type dispatch_io_handler_t = ::libc::c_void;
pub type dispatch_io_close_flags_t = ::libc::c_ulong;
pub type dispatch_io_interval_flags_t = ::libc::c_ulong;
pub type CFStreamStatus = CFIndex;
pub type Enum_Unnamed109 = ::libc::c_uint;
pub const kCFStreamStatusNotOpen: ::libc::c_uint = 0;
pub const kCFStreamStatusOpening: ::libc::c_uint = 1;
pub const kCFStreamStatusOpen: ::libc::c_uint = 2;
pub const kCFStreamStatusReading: ::libc::c_uint = 3;
pub const kCFStreamStatusWriting: ::libc::c_uint = 4;
pub const kCFStreamStatusAtEnd: ::libc::c_uint = 5;
pub const kCFStreamStatusClosed: ::libc::c_uint = 6;
pub const kCFStreamStatusError: ::libc::c_uint = 7;
pub type CFStreamEventType = CFOptionFlags;
pub type Enum_Unnamed110 = ::libc::c_uint;
pub const kCFStreamEventNone: ::libc::c_uint = 0;
pub const kCFStreamEventOpenCompleted: ::libc::c_uint = 1;
pub const kCFStreamEventHasBytesAvailable: ::libc::c_uint = 2;
pub const kCFStreamEventCanAcceptBytes: ::libc::c_uint = 4;
pub const kCFStreamEventErrorOccurred: ::libc::c_uint = 8;
pub const kCFStreamEventEndEncountered: ::libc::c_uint = 16;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed111 {
pub version: CFIndex,
pub info: *mut ::libc::c_void,
pub retain: ::std::option::Option<extern "C" fn(info: *mut ::libc::c_void)
-> *mut ::libc::c_void>,
pub release: ::std::option::Option<extern "C" fn
(info: *mut ::libc::c_void) -> ()>,
pub copyDescription: ::std::option::Option<extern "C" fn
(info: *mut ::libc::c_void)
-> CFStringRef>,
}
impl ::std::default::Default for Struct_Unnamed111 {
fn default() -> Struct_Unnamed111 { unsafe { ::std::mem::zeroed() } }
}
pub type CFStreamClientContext = Struct_Unnamed111;
pub enum Struct___CFReadStream { }
pub type CFReadStreamRef = *mut Struct___CFReadStream;
pub enum Struct___CFWriteStream { }
pub type CFWriteStreamRef = *mut Struct___CFWriteStream;
pub type CFReadStreamClientCallBack =
::std::option::Option<extern "C" fn
(stream: CFReadStreamRef,
_type: CFStreamEventType,
clientCallBackInfo: *mut ::libc::c_void)
-> ()>;
pub type CFWriteStreamClientCallBack =
::std::option::Option<extern "C" fn
(stream: CFWriteStreamRef,
_type: CFStreamEventType,
clientCallBackInfo: *mut ::libc::c_void)
-> ()>;
pub type CFStreamErrorDomain = CFIndex;
pub type Enum_Unnamed112 = ::libc::c_int;
pub const kCFStreamErrorDomainCustom: ::libc::c_int = -1;
pub const kCFStreamErrorDomainPOSIX: ::libc::c_int = 1;
pub const kCFStreamErrorDomainMacOSStatus: ::libc::c_int = 2;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed113 {
pub domain: CFIndex,
pub error: SInt32,
}
impl ::std::default::Default for Struct_Unnamed113 {
fn default() -> Struct_Unnamed113 { unsafe { ::std::mem::zeroed() } }
}
pub type CFStreamError = Struct_Unnamed113;
pub type CFPropertyListMutabilityOptions = CFOptionFlags;
pub type Enum_Unnamed114 = ::libc::c_uint;
pub const kCFPropertyListImmutable: ::libc::c_uint = 0;
pub const kCFPropertyListMutableContainers: ::libc::c_uint = 1;
pub const kCFPropertyListMutableContainersAndLeaves: ::libc::c_uint = 2;
pub type CFPropertyListFormat = CFIndex;
pub type Enum_Unnamed115 = ::libc::c_uint;
pub const kCFPropertyListOpenStepFormat: ::libc::c_uint = 1;
pub const kCFPropertyListXMLFormat_v1_0: ::libc::c_uint = 100;
pub const kCFPropertyListBinaryFormat_v1_0: ::libc::c_uint = 200;
pub type Enum_Unnamed116 = ::libc::c_uint;
pub const kCFPropertyListReadCorruptError: ::libc::c_uint = 3840;
pub const kCFPropertyListReadUnknownVersionError: ::libc::c_uint = 3841;
pub const kCFPropertyListReadStreamError: ::libc::c_uint = 3842;
pub const kCFPropertyListWriteStreamError: ::libc::c_uint = 3851;
pub type CFSetRetainCallBack =
::std::option::Option<extern "C" fn
(allocator: CFAllocatorRef,
value: *const ::libc::c_void)
-> *const ::libc::c_void>;
pub type CFSetReleaseCallBack =
::std::option::Option<extern "C" fn
(allocator: CFAllocatorRef,
value: *const ::libc::c_void) -> ()>;
pub type CFSetCopyDescriptionCallBack =
::std::option::Option<extern "C" fn(value: *const ::libc::c_void)
-> CFStringRef>;
pub type CFSetEqualCallBack =
::std::option::Option<extern "C" fn
(value1: *const ::libc::c_void,
value2: *const ::libc::c_void) -> Boolean>;
pub type CFSetHashCallBack =
::std::option::Option<extern "C" fn(value: *const ::libc::c_void)
-> CFHashCode>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed117 {
pub version: CFIndex,
pub retain: CFSetRetainCallBack,
pub release: CFSetReleaseCallBack,
pub copyDescription: CFSetCopyDescriptionCallBack,
pub equal: CFSetEqualCallBack,
pub hash: CFSetHashCallBack,
}
impl ::std::default::Default for Struct_Unnamed117 {
fn default() -> Struct_Unnamed117 { unsafe { ::std::mem::zeroed() } }
}
pub type CFSetCallBacks = Struct_Unnamed117;
pub type CFSetApplierFunction =
::std::option::Option<extern "C" fn
(value: *const ::libc::c_void,
context: *mut ::libc::c_void) -> ()>;
pub enum Struct___CFSet { }
pub type CFSetRef = *const Struct___CFSet;
pub type CFMutableSetRef = *mut Struct___CFSet;
pub type CFStringEncodings = CFIndex;
pub type Enum_Unnamed118 = ::libc::c_uint;
pub const kCFStringEncodingMacJapanese: ::libc::c_uint = 1;
pub const kCFStringEncodingMacChineseTrad: ::libc::c_uint = 2;
pub const kCFStringEncodingMacKorean: ::libc::c_uint = 3;
pub const kCFStringEncodingMacArabic: ::libc::c_uint = 4;
pub const kCFStringEncodingMacHebrew: ::libc::c_uint = 5;
pub const kCFStringEncodingMacGreek: ::libc::c_uint = 6;
pub const kCFStringEncodingMacCyrillic: ::libc::c_uint = 7;
pub const kCFStringEncodingMacDevanagari: ::libc::c_uint = 9;
pub const kCFStringEncodingMacGurmukhi: ::libc::c_uint = 10;
pub const kCFStringEncodingMacGujarati: ::libc::c_uint = 11;
pub const kCFStringEncodingMacOriya: ::libc::c_uint = 12;
pub const kCFStringEncodingMacBengali: ::libc::c_uint = 13;
pub const kCFStringEncodingMacTamil: ::libc::c_uint = 14;
pub const kCFStringEncodingMacTelugu: ::libc::c_uint = 15;
pub const kCFStringEncodingMacKannada: ::libc::c_uint = 16;
pub const kCFStringEncodingMacMalayalam: ::libc::c_uint = 17;
pub const kCFStringEncodingMacSinhalese: ::libc::c_uint = 18;
pub const kCFStringEncodingMacBurmese: ::libc::c_uint = 19;
pub const kCFStringEncodingMacKhmer: ::libc::c_uint = 20;
pub const kCFStringEncodingMacThai: ::libc::c_uint = 21;
pub const kCFStringEncodingMacLaotian: ::libc::c_uint = 22;
pub const kCFStringEncodingMacGeorgian: ::libc::c_uint = 23;
pub const kCFStringEncodingMacArmenian: ::libc::c_uint = 24;
pub const kCFStringEncodingMacChineseSimp: ::libc::c_uint = 25;
pub const kCFStringEncodingMacTibetan: ::libc::c_uint = 26;
pub const kCFStringEncodingMacMongolian: ::libc::c_uint = 27;
pub const kCFStringEncodingMacEthiopic: ::libc::c_uint = 28;
pub const kCFStringEncodingMacCentralEurRoman: ::libc::c_uint = 29;
pub const kCFStringEncodingMacVietnamese: ::libc::c_uint = 30;
pub const kCFStringEncodingMacExtArabic: ::libc::c_uint = 31;
pub const kCFStringEncodingMacSymbol: ::libc::c_uint = 33;
pub const kCFStringEncodingMacDingbats: ::libc::c_uint = 34;
pub const kCFStringEncodingMacTurkish: ::libc::c_uint = 35;
pub const kCFStringEncodingMacCroatian: ::libc::c_uint = 36;
pub const kCFStringEncodingMacIcelandic: ::libc::c_uint = 37;
pub const kCFStringEncodingMacRomanian: ::libc::c_uint = 38;
pub const kCFStringEncodingMacCeltic: ::libc::c_uint = 39;
pub const kCFStringEncodingMacGaelic: ::libc::c_uint = 40;
pub const kCFStringEncodingMacFarsi: ::libc::c_uint = 140;
pub const kCFStringEncodingMacUkrainian: ::libc::c_uint = 152;
pub const kCFStringEncodingMacInuit: ::libc::c_uint = 236;
pub const kCFStringEncodingMacVT100: ::libc::c_uint = 252;
pub const kCFStringEncodingMacHFS: ::libc::c_uint = 255;
pub const kCFStringEncodingISOLatin2: ::libc::c_uint = 514;
pub const kCFStringEncodingISOLatin3: ::libc::c_uint = 515;
pub const kCFStringEncodingISOLatin4: ::libc::c_uint = 516;
pub const kCFStringEncodingISOLatinCyrillic: ::libc::c_uint = 517;
pub const kCFStringEncodingISOLatinArabic: ::libc::c_uint = 518;
pub const kCFStringEncodingISOLatinGreek: ::libc::c_uint = 519;
pub const kCFStringEncodingISOLatinHebrew: ::libc::c_uint = 520;
pub const kCFStringEncodingISOLatin5: ::libc::c_uint = 521;
pub const kCFStringEncodingISOLatin6: ::libc::c_uint = 522;
pub const kCFStringEncodingISOLatinThai: ::libc::c_uint = 523;
pub const kCFStringEncodingISOLatin7: ::libc::c_uint = 525;
pub const kCFStringEncodingISOLatin8: ::libc::c_uint = 526;
pub const kCFStringEncodingISOLatin9: ::libc::c_uint = 527;
pub const kCFStringEncodingISOLatin10: ::libc::c_uint = 528;
pub const kCFStringEncodingDOSLatinUS: ::libc::c_uint = 1024;
pub const kCFStringEncodingDOSGreek: ::libc::c_uint = 1029;
pub const kCFStringEncodingDOSBalticRim: ::libc::c_uint = 1030;
pub const kCFStringEncodingDOSLatin1: ::libc::c_uint = 1040;
pub const kCFStringEncodingDOSGreek1: ::libc::c_uint = 1041;
pub const kCFStringEncodingDOSLatin2: ::libc::c_uint = 1042;
pub const kCFStringEncodingDOSCyrillic: ::libc::c_uint = 1043;
pub const kCFStringEncodingDOSTurkish: ::libc::c_uint = 1044;
pub const kCFStringEncodingDOSPortuguese: ::libc::c_uint = 1045;
pub const kCFStringEncodingDOSIcelandic: ::libc::c_uint = 1046;
pub const kCFStringEncodingDOSHebrew: ::libc::c_uint = 1047;
pub const kCFStringEncodingDOSCanadianFrench: ::libc::c_uint = 1048;
pub const kCFStringEncodingDOSArabic: ::libc::c_uint = 1049;
pub const kCFStringEncodingDOSNordic: ::libc::c_uint = 1050;
pub const kCFStringEncodingDOSRussian: ::libc::c_uint = 1051;
pub const kCFStringEncodingDOSGreek2: ::libc::c_uint = 1052;
pub const kCFStringEncodingDOSThai: ::libc::c_uint = 1053;
pub const kCFStringEncodingDOSJapanese: ::libc::c_uint = 1056;
pub const kCFStringEncodingDOSChineseSimplif: ::libc::c_uint = 1057;
pub const kCFStringEncodingDOSKorean: ::libc::c_uint = 1058;
pub const kCFStringEncodingDOSChineseTrad: ::libc::c_uint = 1059;
pub const kCFStringEncodingWindowsLatin2: ::libc::c_uint = 1281;
pub const kCFStringEncodingWindowsCyrillic: ::libc::c_uint = 1282;
pub const kCFStringEncodingWindowsGreek: ::libc::c_uint = 1283;
pub const kCFStringEncodingWindowsLatin5: ::libc::c_uint = 1284;
pub const kCFStringEncodingWindowsHebrew: ::libc::c_uint = 1285;
pub const kCFStringEncodingWindowsArabic: ::libc::c_uint = 1286;
pub const kCFStringEncodingWindowsBalticRim: ::libc::c_uint = 1287;
pub const kCFStringEncodingWindowsVietnamese: ::libc::c_uint = 1288;
pub const kCFStringEncodingWindowsKoreanJohab: ::libc::c_uint = 1296;
pub const kCFStringEncodingANSEL: ::libc::c_uint = 1537;
pub const kCFStringEncodingJIS_X0201_76: ::libc::c_uint = 1568;
pub const kCFStringEncodingJIS_X0208_83: ::libc::c_uint = 1569;
pub const kCFStringEncodingJIS_X0208_90: ::libc::c_uint = 1570;
pub const kCFStringEncodingJIS_X0212_90: ::libc::c_uint = 1571;
pub const kCFStringEncodingJIS_C6226_78: ::libc::c_uint = 1572;
pub const kCFStringEncodingShiftJIS_X0213: ::libc::c_uint = 1576;
pub const kCFStringEncodingShiftJIS_X0213_MenKuTen: ::libc::c_uint = 1577;
pub const kCFStringEncodingGB_2312_80: ::libc::c_uint = 1584;
pub const kCFStringEncodingGBK_95: ::libc::c_uint = 1585;
pub const kCFStringEncodingGB_18030_2000: ::libc::c_uint = 1586;
pub const kCFStringEncodingKSC_5601_87: ::libc::c_uint = 1600;
pub const kCFStringEncodingKSC_5601_92_Johab: ::libc::c_uint = 1601;
pub const kCFStringEncodingCNS_11643_92_P1: ::libc::c_uint = 1617;
pub const kCFStringEncodingCNS_11643_92_P2: ::libc::c_uint = 1618;
pub const kCFStringEncodingCNS_11643_92_P3: ::libc::c_uint = 1619;
pub const kCFStringEncodingISO_2022_JP: ::libc::c_uint = 2080;
pub const kCFStringEncodingISO_2022_JP_2: ::libc::c_uint = 2081;
pub const kCFStringEncodingISO_2022_JP_1: ::libc::c_uint = 2082;
pub const kCFStringEncodingISO_2022_JP_3: ::libc::c_uint = 2083;
pub const kCFStringEncodingISO_2022_CN: ::libc::c_uint = 2096;
pub const kCFStringEncodingISO_2022_CN_EXT: ::libc::c_uint = 2097;
pub const kCFStringEncodingISO_2022_KR: ::libc::c_uint = 2112;
pub const kCFStringEncodingEUC_JP: ::libc::c_uint = 2336;
pub const kCFStringEncodingEUC_CN: ::libc::c_uint = 2352;
pub const kCFStringEncodingEUC_TW: ::libc::c_uint = 2353;
pub const kCFStringEncodingEUC_KR: ::libc::c_uint = 2368;
pub const kCFStringEncodingShiftJIS: ::libc::c_uint = 2561;
pub const kCFStringEncodingKOI8_R: ::libc::c_uint = 2562;
pub const kCFStringEncodingBig5: ::libc::c_uint = 2563;
pub const kCFStringEncodingMacRomanLatin1: ::libc::c_uint = 2564;
pub const kCFStringEncodingHZ_GB_2312: ::libc::c_uint = 2565;
pub const kCFStringEncodingBig5_HKSCS_1999: ::libc::c_uint = 2566;
pub const kCFStringEncodingVISCII: ::libc::c_uint = 2567;
pub const kCFStringEncodingKOI8_U: ::libc::c_uint = 2568;
pub const kCFStringEncodingBig5_E: ::libc::c_uint = 2569;
pub const kCFStringEncodingNextStepJapanese: ::libc::c_uint = 2818;
pub const kCFStringEncodingEBCDIC_US: ::libc::c_uint = 3073;
pub const kCFStringEncodingEBCDIC_CP037: ::libc::c_uint = 3074;
pub const kCFStringEncodingUTF7: ::libc::c_uint = 67109120;
pub const kCFStringEncodingUTF7_IMAP: ::libc::c_uint = 2576;
pub const kCFStringEncodingShiftJIS_X0213_00: ::libc::c_uint = 1576;
pub type CFTreeRetainCallBack =
::std::option::Option<extern "C" fn(info: *const ::libc::c_void)
-> *const ::libc::c_void>;
pub type CFTreeReleaseCallBack =
::std::option::Option<extern "C" fn(info: *const ::libc::c_void) -> ()>;
pub type CFTreeCopyDescriptionCallBack =
::std::option::Option<extern "C" fn(info: *const ::libc::c_void)
-> CFStringRef>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed119 {
pub version: CFIndex,
pub info: *mut ::libc::c_void,
pub retain: CFTreeRetainCallBack,
pub release: CFTreeReleaseCallBack,
pub copyDescription: CFTreeCopyDescriptionCallBack,
}
impl ::std::default::Default for Struct_Unnamed119 {
fn default() -> Struct_Unnamed119 { unsafe { ::std::mem::zeroed() } }
}
pub type CFTreeContext = Struct_Unnamed119;
pub type CFTreeApplierFunction =
::std::option::Option<extern "C" fn
(value: *const ::libc::c_void,
context: *mut ::libc::c_void) -> ()>;
pub enum Struct___CFTree { }
pub type CFTreeRef = *mut Struct___CFTree;
pub type CFURLError = CFIndex;
pub type Enum_Unnamed120 = ::libc::c_int;
pub const kCFURLUnknownError: ::libc::c_int = -10;
pub const kCFURLUnknownSchemeError: ::libc::c_int = -11;
pub const kCFURLResourceNotFoundError: ::libc::c_int = -12;
pub const kCFURLResourceAccessViolationError: ::libc::c_int = -13;
pub const kCFURLRemoteHostUnavailableError: ::libc::c_int = -14;
pub const kCFURLImproperArgumentsError: ::libc::c_int = -15;
pub const kCFURLUnknownPropertyKeyError: ::libc::c_int = -16;
pub const kCFURLPropertyKeyUnavailableError: ::libc::c_int = -17;
pub const kCFURLTimeoutError: ::libc::c_int = -18;
pub enum Struct___CFUUID { }
pub type CFUUIDRef = *const Struct___CFUUID;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed121 {
pub byte0: UInt8,
pub byte1: UInt8,
pub byte2: UInt8,
pub byte3: UInt8,
pub byte4: UInt8,
pub byte5: UInt8,
pub byte6: UInt8,
pub byte7: UInt8,
pub byte8: UInt8,
pub byte9: UInt8,
pub byte10: UInt8,
pub byte11: UInt8,
pub byte12: UInt8,
pub byte13: UInt8,
pub byte14: UInt8,
pub byte15: UInt8,
}
impl ::std::default::Default for Struct_Unnamed121 {
fn default() -> Struct_Unnamed121 { unsafe { ::std::mem::zeroed() } }
}
pub type CFUUIDBytes = Struct_Unnamed121;
pub enum Struct___CFBundle { }
pub type CFBundleRef = *mut Struct___CFBundle;
pub type CFPlugInRef = *mut Struct___CFBundle;
pub type Enum_Unnamed122 = ::libc::c_uint;
pub const kCFBundleExecutableArchitectureI386: ::libc::c_uint = 7;
pub const kCFBundleExecutableArchitecturePPC: ::libc::c_uint = 18;
pub const kCFBundleExecutableArchitectureX86_64: ::libc::c_uint = 16777223;
pub const kCFBundleExecutableArchitecturePPC64: ::libc::c_uint = 16777234;
pub type CFBundleRefNum = ::libc::c_int;
pub enum Struct___CFMessagePort { }
pub type CFMessagePortRef = *mut Struct___CFMessagePort;
pub type Enum_Unnamed123 = ::libc::c_int;
pub const kCFMessagePortSuccess: ::libc::c_int = 0;
pub const kCFMessagePortSendTimeout: ::libc::c_int = -1;
pub const kCFMessagePortReceiveTimeout: ::libc::c_int = -2;
pub const kCFMessagePortIsInvalid: ::libc::c_int = -3;
pub const kCFMessagePortTransportError: ::libc::c_int = -4;
pub const kCFMessagePortBecameInvalidError: ::libc::c_int = -5;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed124 {
pub version: CFIndex,
pub info: *mut ::libc::c_void,
pub retain: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> *const ::libc::c_void>,
pub release: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> ()>,
pub copyDescription: ::std::option::Option<extern "C" fn
(info:
*const ::libc::c_void)
-> CFStringRef>,
}
impl ::std::default::Default for Struct_Unnamed124 {
fn default() -> Struct_Unnamed124 { unsafe { ::std::mem::zeroed() } }
}
pub type CFMessagePortContext = Struct_Unnamed124;
pub type CFMessagePortCallBack =
::std::option::Option<extern "C" fn
(local: CFMessagePortRef, msgid: SInt32,
data: CFDataRef, info: *mut ::libc::c_void)
-> CFDataRef>;
pub type CFMessagePortInvalidationCallBack =
::std::option::Option<extern "C" fn
(ms: CFMessagePortRef,
info: *mut ::libc::c_void) -> ()>;
pub type CFPlugInDynamicRegisterFunction =
::std::option::Option<extern "C" fn(plugIn: CFPlugInRef) -> ()>;
pub type CFPlugInUnloadFunction =
::std::option::Option<extern "C" fn(plugIn: CFPlugInRef) -> ()>;
pub type CFPlugInFactoryFunction =
::std::option::Option<extern "C" fn
(allocator: CFAllocatorRef, typeUUID: CFUUIDRef)
-> *mut ::libc::c_void>;
pub enum Struct___CFPlugInInstance { }
pub type CFPlugInInstanceRef = *mut Struct___CFPlugInInstance;
pub type CFPlugInInstanceGetInterfaceFunction =
::std::option::Option<extern "C" fn
(instance: CFPlugInInstanceRef,
interfaceName: CFStringRef,
ftbl: *mut *mut ::libc::c_void) -> Boolean>;
pub type CFPlugInInstanceDeallocateInstanceDataFunction =
::std::option::Option<extern "C" fn(instanceData: *mut ::libc::c_void)
-> ()>;
pub enum Struct___CFAttributedString { }
pub type CFAttributedStringRef = *const Struct___CFAttributedString;
pub type CFMutableAttributedStringRef = *mut Struct___CFAttributedString;
pub enum Struct___CFNotificationCenter { }
pub type CFNotificationCenterRef = *mut Struct___CFNotificationCenter;
pub type CFNotificationCallback =
::std::option::Option<extern "C" fn
(center: CFNotificationCenterRef,
observer: *mut ::libc::c_void,
name: CFStringRef,
object: *const ::libc::c_void,
userInfo: CFDictionaryRef) -> ()>;
pub type CFNotificationSuspensionBehavior = CFIndex;
pub type Enum_Unnamed125 = ::libc::c_uint;
pub const CFNotificationSuspensionBehaviorDrop: ::libc::c_uint = 1;
pub const CFNotificationSuspensionBehaviorCoalesce: ::libc::c_uint = 2;
pub const CFNotificationSuspensionBehaviorHold: ::libc::c_uint = 3;
pub const CFNotificationSuspensionBehaviorDeliverImmediately: ::libc::c_uint =
4;
pub type Enum_Unnamed126 = ::libc::c_uint;
pub const kCFNotificationDeliverImmediately: ::libc::c_uint = 1;
pub const kCFNotificationPostToAllSessions: ::libc::c_uint = 2;
pub enum Struct___CFURLEnumerator { }
pub type CFURLEnumeratorRef = *const Struct___CFURLEnumerator;
pub type CFURLEnumeratorOptions = CFOptionFlags;
pub type Enum_Unnamed127 = ::libc::c_uint;
pub const kCFURLEnumeratorDefaultBehavior: ::libc::c_uint = 0;
pub const kCFURLEnumeratorDescendRecursively: ::libc::c_uint = 1;
pub const kCFURLEnumeratorSkipInvisibles: ::libc::c_uint = 2;
pub const kCFURLEnumeratorGenerateFileReferenceURLs: ::libc::c_uint = 4;
pub const kCFURLEnumeratorSkipPackageContents: ::libc::c_uint = 8;
pub const kCFURLEnumeratorIncludeDirectoriesPreOrder: ::libc::c_uint = 16;
pub const kCFURLEnumeratorIncludeDirectoriesPostOrder: ::libc::c_uint = 32;
pub type CFURLEnumeratorResult = CFIndex;
pub type Enum_Unnamed128 = ::libc::c_uint;
pub const kCFURLEnumeratorSuccess: ::libc::c_uint = 1;
pub const kCFURLEnumeratorEnd: ::libc::c_uint = 2;
pub const kCFURLEnumeratorError: ::libc::c_uint = 3;
pub const kCFURLEnumeratorDirectoryPostOrderSuccess: ::libc::c_uint = 4;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed129 {
pub g_guid: [::libc::c_uchar; 16usize],
}
impl ::std::default::Default for Struct_Unnamed129 {
fn default() -> Struct_Unnamed129 { unsafe { ::std::mem::zeroed() } }
}
pub type guid_t = Struct_Unnamed129;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed130 {
pub sid_kind: u_int8_t,
pub sid_authcount: u_int8_t,
pub sid_authority: [u_int8_t; 6usize],
pub sid_authorities: [u_int32_t; 16usize],
}
impl ::std::default::Default for Struct_Unnamed130 {
fn default() -> Struct_Unnamed130 { unsafe { ::std::mem::zeroed() } }
}
pub type ntsid_t = Struct_Unnamed130;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_kauth_identity_extlookup {
pub el_seqno: u_int32_t,
pub el_result: u_int32_t,
pub el_flags: u_int32_t,
pub el_info_pid: __darwin_pid_t,
pub el_extend: u_int64_t,
pub el_info_reserved_1: u_int32_t,
pub el_uid: uid_t,
pub el_uguid: guid_t,
pub el_uguid_valid: u_int32_t,
pub el_usid: ntsid_t,
pub el_usid_valid: u_int32_t,
pub el_gid: gid_t,
pub el_gguid: guid_t,
pub el_gguid_valid: u_int32_t,
pub el_gsid: ntsid_t,
pub el_gsid_valid: u_int32_t,
pub el_member_valid: u_int32_t,
pub el_sup_grp_cnt: u_int32_t,
pub el_sup_groups: [gid_t; 16usize],
}
impl ::std::default::Default for Struct_kauth_identity_extlookup {
fn default() -> Struct_kauth_identity_extlookup {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_kauth_cache_sizes {
pub kcs_group_size: u_int32_t,
pub kcs_id_size: u_int32_t,
}
impl ::std::default::Default for Struct_kauth_cache_sizes {
fn default() -> Struct_kauth_cache_sizes {
unsafe { ::std::mem::zeroed() }
}
}
pub type kauth_ace_rights_t = u_int32_t;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_kauth_ace {
pub ace_applicable: guid_t,
pub ace_flags: u_int32_t,
pub ace_rights: kauth_ace_rights_t,
}
impl ::std::default::Default for Struct_kauth_ace {
fn default() -> Struct_kauth_ace { unsafe { ::std::mem::zeroed() } }
}
pub type kauth_ace_t = *mut Struct_kauth_ace;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_kauth_acl {
pub acl_entrycount: u_int32_t,
pub acl_flags: u_int32_t,
pub acl_ace: [Struct_kauth_ace; 1usize],
}
impl ::std::default::Default for Struct_kauth_acl {
fn default() -> Struct_kauth_acl { unsafe { ::std::mem::zeroed() } }
}
pub type kauth_acl_t = *mut Struct_kauth_acl;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_kauth_filesec {
pub fsec_magic: u_int32_t,
pub fsec_owner: guid_t,
pub fsec_group: guid_t,
pub fsec_acl: Struct_kauth_acl,
}
impl ::std::default::Default for Struct_kauth_filesec {
fn default() -> Struct_kauth_filesec { unsafe { ::std::mem::zeroed() } }
}
pub type kauth_filesec_t = *mut Struct_kauth_filesec;
pub type Enum_Unnamed131 = ::libc::c_uint;
pub const ACL_READ_DATA: ::libc::c_uint = 2;
pub const ACL_LIST_DIRECTORY: ::libc::c_uint = 2;
pub const ACL_WRITE_DATA: ::libc::c_uint = 4;
pub const ACL_ADD_FILE: ::libc::c_uint = 4;
pub const ACL_EXECUTE: ::libc::c_uint = 8;
pub const ACL_SEARCH: ::libc::c_uint = 8;
pub const ACL_DELETE: ::libc::c_uint = 16;
pub const ACL_APPEND_DATA: ::libc::c_uint = 32;
pub const ACL_ADD_SUBDIRECTORY: ::libc::c_uint = 32;
pub const ACL_DELETE_CHILD: ::libc::c_uint = 64;
pub const ACL_READ_ATTRIBUTES: ::libc::c_uint = 128;
pub const ACL_WRITE_ATTRIBUTES: ::libc::c_uint = 256;
pub const ACL_READ_EXTATTRIBUTES: ::libc::c_uint = 512;
pub const ACL_WRITE_EXTATTRIBUTES: ::libc::c_uint = 1024;
pub const ACL_READ_SECURITY: ::libc::c_uint = 2048;
pub const ACL_WRITE_SECURITY: ::libc::c_uint = 4096;
pub const ACL_CHANGE_OWNER: ::libc::c_uint = 8192;
pub const ACL_SYNCHRONIZE: ::libc::c_uint = 1048576;
pub type acl_perm_t = Enum_Unnamed131;
pub type Enum_Unnamed132 = ::libc::c_uint;
pub const ACL_UNDEFINED_TAG: ::libc::c_uint = 0;
pub const ACL_EXTENDED_ALLOW: ::libc::c_uint = 1;
pub const ACL_EXTENDED_DENY: ::libc::c_uint = 2;
pub type acl_tag_t = Enum_Unnamed132;
pub type Enum_Unnamed133 = ::libc::c_uint;
pub const ACL_TYPE_EXTENDED: ::libc::c_uint = 256;
pub const ACL_TYPE_ACCESS: ::libc::c_uint = 0;
pub const ACL_TYPE_DEFAULT: ::libc::c_uint = 1;
pub const ACL_TYPE_AFS: ::libc::c_uint = 2;
pub const ACL_TYPE_CODA: ::libc::c_uint = 3;
pub const ACL_TYPE_NTFS: ::libc::c_uint = 4;
pub const ACL_TYPE_NWFS: ::libc::c_uint = 5;
pub type acl_type_t = Enum_Unnamed133;
pub type Enum_Unnamed134 = ::libc::c_int;
pub const ACL_FIRST_ENTRY: ::libc::c_int = 0;
pub const ACL_NEXT_ENTRY: ::libc::c_int = -1;
pub const ACL_LAST_ENTRY: ::libc::c_int = -2;
pub type acl_entry_id_t = Enum_Unnamed134;
pub type Enum_Unnamed135 = ::libc::c_uint;
pub const ACL_FLAG_DEFER_INHERIT: ::libc::c_uint = 1;
pub const ACL_FLAG_NO_INHERIT: ::libc::c_uint = 131072;
pub const ACL_ENTRY_INHERITED: ::libc::c_uint = 16;
pub const ACL_ENTRY_FILE_INHERIT: ::libc::c_uint = 32;
pub const ACL_ENTRY_DIRECTORY_INHERIT: ::libc::c_uint = 64;
pub const ACL_ENTRY_LIMIT_INHERIT: ::libc::c_uint = 128;
pub const ACL_ENTRY_ONLY_INHERIT: ::libc::c_uint = 256;
pub type acl_flag_t = Enum_Unnamed135;
pub enum Struct__acl { }
pub enum Struct__acl_entry { }
pub enum Struct__acl_permset { }
pub enum Struct__acl_flagset { }
pub type acl_t = *mut Struct__acl;
pub type acl_entry_t = *mut Struct__acl_entry;
pub type acl_permset_t = *mut Struct__acl_permset;
pub type acl_flagset_t = *mut Struct__acl_flagset;
pub type acl_permset_mask_t = u_int64_t;
pub enum Struct___CFFileSecurity { }
pub type CFFileSecurityRef = *mut Struct___CFFileSecurity;
pub type CFFileSecurityClearOptions = CFOptionFlags;
pub type Enum_Unnamed136 = ::libc::c_uint;
pub const kCFFileSecurityClearOwner: ::libc::c_uint = 1;
pub const kCFFileSecurityClearGroup: ::libc::c_uint = 2;
pub const kCFFileSecurityClearMode: ::libc::c_uint = 4;
pub const kCFFileSecurityClearOwnerUUID: ::libc::c_uint = 8;
pub const kCFFileSecurityClearGroupUUID: ::libc::c_uint = 16;
pub const kCFFileSecurityClearAccessControlList: ::libc::c_uint = 32;
pub enum Struct___CFMachPort { }
pub type CFMachPortRef = *mut Struct___CFMachPort;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed137 {
pub version: CFIndex,
pub info: *mut ::libc::c_void,
pub retain: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> *const ::libc::c_void>,
pub release: ::std::option::Option<extern "C" fn
(info: *const ::libc::c_void)
-> ()>,
pub copyDescription: ::std::option::Option<extern "C" fn
(info:
*const ::libc::c_void)
-> CFStringRef>,
}
impl ::std::default::Default for Struct_Unnamed137 {
fn default() -> Struct_Unnamed137 { unsafe { ::std::mem::zeroed() } }
}
pub type CFMachPortContext = Struct_Unnamed137;
pub type CFMachPortCallBack =
::std::option::Option<extern "C" fn
(port: CFMachPortRef, msg: *mut ::libc::c_void,
size: CFIndex, info: *mut ::libc::c_void)
-> ()>;
pub type CFMachPortInvalidationCallBack =
::std::option::Option<extern "C" fn
(port: CFMachPortRef, info: *mut ::libc::c_void)
-> ()>;
pub enum Struct___CFStringTokenizer { }
pub type CFStringTokenizerRef = *mut Struct___CFStringTokenizer;
pub type Enum_Unnamed138 = ::libc::c_uint;
pub const kCFStringTokenizerUnitWord: ::libc::c_uint = 0;
pub const kCFStringTokenizerUnitSentence: ::libc::c_uint = 1;
pub const kCFStringTokenizerUnitParagraph: ::libc::c_uint = 2;
pub const kCFStringTokenizerUnitLineBreak: ::libc::c_uint = 3;
pub const kCFStringTokenizerUnitWordBoundary: ::libc::c_uint = 4;
pub const kCFStringTokenizerAttributeLatinTranscription: ::libc::c_uint =
65536;
pub const kCFStringTokenizerAttributeLanguage: ::libc::c_uint = 131072;
pub type CFStringTokenizerTokenType = CFOptionFlags;
pub type Enum_Unnamed139 = ::libc::c_uint;
pub const kCFStringTokenizerTokenNone: ::libc::c_uint = 0;
pub const kCFStringTokenizerTokenNormal: ::libc::c_uint = 1;
pub const kCFStringTokenizerTokenHasSubTokensMask: ::libc::c_uint = 2;
pub const kCFStringTokenizerTokenHasDerivedSubTokensMask: ::libc::c_uint = 4;
pub const kCFStringTokenizerTokenHasHasNumbersMask: ::libc::c_uint = 8;
pub const kCFStringTokenizerTokenHasNonLettersMask: ::libc::c_uint = 16;
pub const kCFStringTokenizerTokenIsCJWordMask: ::libc::c_uint = 32;
pub type CFFileDescriptorNativeDescriptor = ::libc::c_int;
pub enum Struct___CFFileDescriptor { }
pub type CFFileDescriptorRef = *mut Struct___CFFileDescriptor;
pub type Enum_Unnamed140 = ::libc::c_uint;
pub const kCFFileDescriptorReadCallBack: ::libc::c_uint = 1;
pub const kCFFileDescriptorWriteCallBack: ::libc::c_uint = 2;
pub type CFFileDescriptorCallBack =
::std::option::Option<extern "C" fn
(f: CFFileDescriptorRef,
callBackTypes: CFOptionFlags,
info: *mut ::libc::c_void) -> ()>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed141 {
pub version: CFIndex,
pub info: *mut ::libc::c_void,
pub retain: ::std::option::Option<extern "C" fn(info: *mut ::libc::c_void)
-> *mut ::libc::c_void>,
pub release: ::std::option::Option<extern "C" fn
(info: *mut ::libc::c_void) -> ()>,
pub copyDescription: ::std::option::Option<extern "C" fn
(info: *mut ::libc::c_void)
-> CFStringRef>,
}
impl ::std::default::Default for Struct_Unnamed141 {
fn default() -> Struct_Unnamed141 { unsafe { ::std::mem::zeroed() } }
}
pub type CFFileDescriptorContext = Struct_Unnamed141;
pub enum Struct___CFUserNotification { }
pub type CFUserNotificationRef = *mut Struct___CFUserNotification;
pub type CFUserNotificationCallBack =
::std::option::Option<extern "C" fn
(userNotification: CFUserNotificationRef,
responseFlags: CFOptionFlags) -> ()>;
pub type Enum_Unnamed142 = ::libc::c_uint;
pub const kCFUserNotificationStopAlertLevel: ::libc::c_uint = 0;
pub const kCFUserNotificationNoteAlertLevel: ::libc::c_uint = 1;
pub const kCFUserNotificationCautionAlertLevel: ::libc::c_uint = 2;
pub const kCFUserNotificationPlainAlertLevel: ::libc::c_uint = 3;
pub type Enum_Unnamed143 = ::libc::c_uint;
pub const kCFUserNotificationDefaultResponse: ::libc::c_uint = 0;
pub const kCFUserNotificationAlternateResponse: ::libc::c_uint = 1;
pub const kCFUserNotificationOtherResponse: ::libc::c_uint = 2;
pub const kCFUserNotificationCancelResponse: ::libc::c_uint = 3;
pub type Enum_Unnamed144 = ::libc::c_uint;
pub const kCFUserNotificationNoDefaultButtonFlag: ::libc::c_uint = 32;
pub const kCFUserNotificationUseRadioButtonsFlag: ::libc::c_uint = 64;
pub type Enum_Unnamed145 = ::libc::c_uint;
pub const kCFXMLNodeCurrentVersion: ::libc::c_uint = 1;
pub enum Struct___CFXMLNode { }
pub type CFXMLNodeRef = *const Struct___CFXMLNode;
pub type CFXMLTreeRef = CFTreeRef;
pub type CFXMLNodeTypeCode = CFIndex;
pub type Enum_Unnamed146 = ::libc::c_uint;
pub const kCFXMLNodeTypeDocument: ::libc::c_uint = 1;
pub const kCFXMLNodeTypeElement: ::libc::c_uint = 2;
pub const kCFXMLNodeTypeAttribute: ::libc::c_uint = 3;
pub const kCFXMLNodeTypeProcessingInstruction: ::libc::c_uint = 4;
pub const kCFXMLNodeTypeComment: ::libc::c_uint = 5;
pub const kCFXMLNodeTypeText: ::libc::c_uint = 6;
pub const kCFXMLNodeTypeCDATASection: ::libc::c_uint = 7;
pub const kCFXMLNodeTypeDocumentFragment: ::libc::c_uint = 8;
pub const kCFXMLNodeTypeEntity: ::libc::c_uint = 9;
pub const kCFXMLNodeTypeEntityReference: ::libc::c_uint = 10;
pub const kCFXMLNodeTypeDocumentType: ::libc::c_uint = 11;
pub const kCFXMLNodeTypeWhitespace: ::libc::c_uint = 12;
pub const kCFXMLNodeTypeNotation: ::libc::c_uint = 13;
pub const kCFXMLNodeTypeElementTypeDeclaration: ::libc::c_uint = 14;
pub const kCFXMLNodeTypeAttributeListDeclaration: ::libc::c_uint = 15;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed147 {
pub attributes: CFDictionaryRef,
pub attributeOrder: CFArrayRef,
pub isEmpty: Boolean,
pub _reserved: [::libc::c_char; 3usize],
}
impl ::std::default::Default for Struct_Unnamed147 {
fn default() -> Struct_Unnamed147 { unsafe { ::std::mem::zeroed() } }
}
pub type CFXMLElementInfo = Struct_Unnamed147;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed148 {
pub dataString: CFStringRef,
}
impl ::std::default::Default for Struct_Unnamed148 {
fn default() -> Struct_Unnamed148 { unsafe { ::std::mem::zeroed() } }
}
pub type CFXMLProcessingInstructionInfo = Struct_Unnamed148;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed149 {
pub sourceURL: CFURLRef,
pub encoding: CFStringEncoding,
}
impl ::std::default::Default for Struct_Unnamed149 {
fn default() -> Struct_Unnamed149 { unsafe { ::std::mem::zeroed() } }
}
pub type CFXMLDocumentInfo = Struct_Unnamed149;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed150 {
pub systemID: CFURLRef,
pub publicID: CFStringRef,
}
impl ::std::default::Default for Struct_Unnamed150 {
fn default() -> Struct_Unnamed150 { unsafe { ::std::mem::zeroed() } }
}
pub type CFXMLExternalID = Struct_Unnamed150;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed151 {
pub externalID: CFXMLExternalID,
}
impl ::std::default::Default for Struct_Unnamed151 {
fn default() -> Struct_Unnamed151 { unsafe { ::std::mem::zeroed() } }
}
pub type CFXMLDocumentTypeInfo = Struct_Unnamed151;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed152 {
pub externalID: CFXMLExternalID,
}
impl ::std::default::Default for Struct_Unnamed152 {
fn default() -> Struct_Unnamed152 { unsafe { ::std::mem::zeroed() } }
}
pub type CFXMLNotationInfo = Struct_Unnamed152;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed153 {
pub contentDescription: CFStringRef,
}
impl ::std::default::Default for Struct_Unnamed153 {
fn default() -> Struct_Unnamed153 { unsafe { ::std::mem::zeroed() } }
}
pub type CFXMLElementTypeDeclarationInfo = Struct_Unnamed153;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed154 {
pub attributeName: CFStringRef,
pub typeString: CFStringRef,
pub defaultString: CFStringRef,
}
impl ::std::default::Default for Struct_Unnamed154 {
fn default() -> Struct_Unnamed154 { unsafe { ::std::mem::zeroed() } }
}
pub type CFXMLAttributeDeclarationInfo = Struct_Unnamed154;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed155 {
pub numberOfAttributes: CFIndex,
pub attributes: *mut CFXMLAttributeDeclarationInfo,
}
impl ::std::default::Default for Struct_Unnamed155 {
fn default() -> Struct_Unnamed155 { unsafe { ::std::mem::zeroed() } }
}
pub type CFXMLAttributeListDeclarationInfo = Struct_Unnamed155;
pub type CFXMLEntityTypeCode = CFIndex;
pub type Enum_Unnamed156 = ::libc::c_uint;
pub const kCFXMLEntityTypeParameter: ::libc::c_uint = 0;
pub const kCFXMLEntityTypeParsedInternal: ::libc::c_uint = 1;
pub const kCFXMLEntityTypeParsedExternal: ::libc::c_uint = 2;
pub const kCFXMLEntityTypeUnparsed: ::libc::c_uint = 3;
pub const kCFXMLEntityTypeCharacter: ::libc::c_uint = 4;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed157 {
pub entityType: CFXMLEntityTypeCode,
pub replacementText: CFStringRef,
pub entityID: CFXMLExternalID,
pub notationName: CFStringRef,
}
impl ::std::default::Default for Struct_Unnamed157 {
fn default() -> Struct_Unnamed157 { unsafe { ::std::mem::zeroed() } }
}
pub type CFXMLEntityInfo = Struct_Unnamed157;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed158 {
pub entityType: CFXMLEntityTypeCode,
}
impl ::std::default::Default for Struct_Unnamed158 {
fn default() -> Struct_Unnamed158 { unsafe { ::std::mem::zeroed() } }
}
pub type CFXMLEntityReferenceInfo = Struct_Unnamed158;
pub enum Struct___CFXMLParser { }
pub type CFXMLParserRef = *mut Struct___CFXMLParser;
pub type CFXMLParserOptions = CFOptionFlags;
pub type Enum_Unnamed159 = ::libc::c_uint;
pub const kCFXMLParserValidateDocument: ::libc::c_uint = 1;
pub const kCFXMLParserSkipMetaData: ::libc::c_uint = 2;
pub const kCFXMLParserReplacePhysicalEntities: ::libc::c_uint = 4;
pub const kCFXMLParserSkipWhitespace: ::libc::c_uint = 8;
pub const kCFXMLParserResolveExternalEntities: ::libc::c_uint = 16;
pub const kCFXMLParserAddImpliedAttributes: ::libc::c_uint = 32;
pub const kCFXMLParserAllOptions: ::libc::c_uint = 16777215;
pub const kCFXMLParserNoOptions: ::libc::c_uint = 0;
pub type CFXMLParserStatusCode = CFIndex;
pub type Enum_Unnamed160 = ::libc::c_int;
pub const kCFXMLStatusParseNotBegun: ::libc::c_int = -2;
pub const kCFXMLStatusParseInProgress: ::libc::c_int = -1;
pub const kCFXMLStatusParseSuccessful: ::libc::c_int = 0;
pub const kCFXMLErrorUnexpectedEOF: ::libc::c_int = 1;
pub const kCFXMLErrorUnknownEncoding: ::libc::c_int = 2;
pub const kCFXMLErrorEncodingConversionFailure: ::libc::c_int = 3;
pub const kCFXMLErrorMalformedProcessingInstruction: ::libc::c_int = 4;
pub const kCFXMLErrorMalformedDTD: ::libc::c_int = 5;
pub const kCFXMLErrorMalformedName: ::libc::c_int = 6;
pub const kCFXMLErrorMalformedCDSect: ::libc::c_int = 7;
pub const kCFXMLErrorMalformedCloseTag: ::libc::c_int = 8;
pub const kCFXMLErrorMalformedStartTag: ::libc::c_int = 9;
pub const kCFXMLErrorMalformedDocument: ::libc::c_int = 10;
pub const kCFXMLErrorElementlessDocument: ::libc::c_int = 11;
pub const kCFXMLErrorMalformedComment: ::libc::c_int = 12;
pub const kCFXMLErrorMalformedCharacterReference: ::libc::c_int = 13;
pub const kCFXMLErrorMalformedParsedCharacterData: ::libc::c_int = 14;
pub const kCFXMLErrorNoData: ::libc::c_int = 15;
pub type CFXMLParserCreateXMLStructureCallBack =
::std::option::Option<extern "C" fn
(parser: CFXMLParserRef, nodeDesc: CFXMLNodeRef,
info: *mut ::libc::c_void)
-> *mut ::libc::c_void>;
pub type CFXMLParserAddChildCallBack =
::std::option::Option<extern "C" fn
(parser: CFXMLParserRef,
parent: *mut ::libc::c_void,
child: *mut ::libc::c_void,
info: *mut ::libc::c_void) -> ()>;
pub type CFXMLParserEndXMLStructureCallBack =
::std::option::Option<extern "C" fn
(parser: CFXMLParserRef,
xmlType: *mut ::libc::c_void,
info: *mut ::libc::c_void) -> ()>;
pub type CFXMLParserResolveExternalEntityCallBack =
::std::option::Option<extern "C" fn
(parser: CFXMLParserRef,
extID: *mut CFXMLExternalID,
info: *mut ::libc::c_void) -> CFDataRef>;
pub type CFXMLParserHandleErrorCallBack =
::std::option::Option<extern "C" fn
(parser: CFXMLParserRef,
error: CFXMLParserStatusCode,
info: *mut ::libc::c_void) -> Boolean>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed161 {
pub version: CFIndex,
pub createXMLStructure: CFXMLParserCreateXMLStructureCallBack,
pub addChild: CFXMLParserAddChildCallBack,
pub endXMLStructure: CFXMLParserEndXMLStructureCallBack,
pub resolveExternalEntity: CFXMLParserResolveExternalEntityCallBack,
pub handleError: CFXMLParserHandleErrorCallBack,
}
impl ::std::default::Default for Struct_Unnamed161 {
fn default() -> Struct_Unnamed161 { unsafe { ::std::mem::zeroed() } }
}
pub type CFXMLParserCallBacks = Struct_Unnamed161;
pub type CFXMLParserRetainCallBack =
::std::option::Option<extern "C" fn(info: *const ::libc::c_void)
-> *const ::libc::c_void>;
pub type CFXMLParserReleaseCallBack =
::std::option::Option<extern "C" fn(info: *const ::libc::c_void) -> ()>;
pub type CFXMLParserCopyDescriptionCallBack =
::std::option::Option<extern "C" fn(info: *const ::libc::c_void)
-> CFStringRef>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed162 {
pub version: CFIndex,
pub info: *mut ::libc::c_void,
pub retain: CFXMLParserRetainCallBack,
pub release: CFXMLParserReleaseCallBack,
pub copyDescription: CFXMLParserCopyDescriptionCallBack,
}
impl ::std::default::Default for Struct_Unnamed162 {
fn default() -> Struct_Unnamed162 { unsafe { ::std::mem::zeroed() } }
}
pub type CFXMLParserContext = Struct_Unnamed162;
pub type Enum_Unnamed163 = ::libc::c_uint;
pub const kAudioComponentFlag_Unsearchable: ::libc::c_uint = 1;
pub const kAudioComponentFlag_SandboxSafe: ::libc::c_uint = 2;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioComponentDescription {
pub componentType: OSType,
pub componentSubType: OSType,
pub componentManufacturer: OSType,
pub componentFlags: UInt32,
pub componentFlagsMask: UInt32,
}
impl ::std::default::Default for Struct_AudioComponentDescription {
fn default() -> Struct_AudioComponentDescription {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioComponentDescription = Struct_AudioComponentDescription;
pub enum Struct_OpaqueAudioComponent { }
pub type AudioComponent = *mut Struct_OpaqueAudioComponent;
pub enum Struct_ComponentInstanceRecord { }
pub type AudioComponentInstance = *mut Struct_ComponentInstanceRecord;
pub type AudioComponentMethod =
::std::option::Option<extern "C" fn(_self: *mut ::libc::c_void, ...)
-> OSStatus>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioComponentPlugInInterface {
pub Open: ::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
mInstance: AudioComponentInstance)
-> OSStatus>,
pub Close: ::std::option::Option<extern "C" fn(_self: *mut ::libc::c_void)
-> OSStatus>,
pub Lookup: ::std::option::Option<extern "C" fn(selector: SInt16)
-> AudioComponentMethod>,
pub reserved: *mut ::libc::c_void,
}
impl ::std::default::Default for Struct_AudioComponentPlugInInterface {
fn default() -> Struct_AudioComponentPlugInInterface {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioComponentPlugInInterface = Struct_AudioComponentPlugInInterface;
pub type AudioComponentFactoryFunction =
::std::option::Option<extern "C" fn
(inDesc: *const AudioComponentDescription)
-> *mut AudioComponentPlugInInterface>;
pub type AudioUnit = AudioComponentInstance;
pub type Enum_Unnamed164 = ::libc::c_uint;
pub const kAudioUnitType_Output: ::libc::c_uint = 1635086197;
pub const kAudioUnitType_MusicDevice: ::libc::c_uint = 1635085685;
pub const kAudioUnitType_MusicEffect: ::libc::c_uint = 1635085670;
pub const kAudioUnitType_FormatConverter: ::libc::c_uint = 1635083875;
pub const kAudioUnitType_Effect: ::libc::c_uint = 1635083896;
pub const kAudioUnitType_Mixer: ::libc::c_uint = 1635085688;
pub const kAudioUnitType_Panner: ::libc::c_uint = 1635086446;
pub const kAudioUnitType_Generator: ::libc::c_uint = 1635084142;
pub const kAudioUnitType_OfflineEffect: ::libc::c_uint = 1635086188;
pub const kAudioUnitType_MIDIProcessor: ::libc::c_uint = 1635085673;
pub type Enum_Unnamed165 = ::libc::c_uint;
pub const kAudioUnitManufacturer_Apple: ::libc::c_uint = 1634758764;
pub type Enum_Unnamed166 = ::libc::c_uint;
pub const kAudioUnitSubType_GenericOutput: ::libc::c_uint = 1734700658;
pub const kAudioUnitSubType_HALOutput: ::libc::c_uint = 1634230636;
pub const kAudioUnitSubType_DefaultOutput: ::libc::c_uint = 1684366880;
pub const kAudioUnitSubType_SystemOutput: ::libc::c_uint = 1937339168;
pub const kAudioUnitSubType_VoiceProcessingIO: ::libc::c_uint = 1987078511;
pub type Enum_Unnamed167 = ::libc::c_uint;
pub const kAudioUnitSubType_DLSSynth: ::libc::c_uint = 1684828960;
pub const kAudioUnitSubType_Sampler: ::libc::c_uint = 1935764848;
pub const kAudioUnitSubType_MIDISynth: ::libc::c_uint = 1836284270;
pub type Enum_Unnamed168 = ::libc::c_uint;
pub const kAudioUnitSubType_AUConverter: ::libc::c_uint = 1668247158;
pub const kAudioUnitSubType_Varispeed: ::libc::c_uint = 1986097769;
pub const kAudioUnitSubType_DeferredRenderer: ::libc::c_uint = 1684366962;
pub const kAudioUnitSubType_Splitter: ::libc::c_uint = 1936747636;
pub const kAudioUnitSubType_Merger: ::libc::c_uint = 1835364967;
pub const kAudioUnitSubType_NewTimePitch: ::libc::c_uint = 1853191280;
pub const kAudioUnitSubType_AUiPodTimeOther: ::libc::c_uint = 1768977519;
pub const kAudioUnitSubType_RoundTripAAC: ::libc::c_uint = 1918984547;
pub const kAudioUnitSubType_TimePitch: ::libc::c_uint = 1953329268;
pub type Enum_Unnamed169 = ::libc::c_uint;
pub const kAudioUnitSubType_PeakLimiter: ::libc::c_uint = 1819112562;
pub const kAudioUnitSubType_DynamicsProcessor: ::libc::c_uint = 1684237680;
pub const kAudioUnitSubType_LowPassFilter: ::libc::c_uint = 1819304307;
pub const kAudioUnitSubType_HighPassFilter: ::libc::c_uint = 1752195443;
pub const kAudioUnitSubType_BandPassFilter: ::libc::c_uint = 1651532147;
pub const kAudioUnitSubType_HighShelfFilter: ::libc::c_uint = 1752393830;
pub const kAudioUnitSubType_LowShelfFilter: ::libc::c_uint = 1819502694;
pub const kAudioUnitSubType_ParametricEQ: ::libc::c_uint = 1886217585;
pub const kAudioUnitSubType_Distortion: ::libc::c_uint = 1684632436;
pub const kAudioUnitSubType_Delay: ::libc::c_uint = 1684368505;
pub const kAudioUnitSubType_SampleDelay: ::libc::c_uint = 1935961209;
pub const kAudioUnitSubType_GraphicEQ: ::libc::c_uint = 1735550321;
pub const kAudioUnitSubType_MultiBandCompressor: ::libc::c_uint = 1835232624;
pub const kAudioUnitSubType_MatrixReverb: ::libc::c_uint = 1836213622;
pub const kAudioUnitSubType_Pitch: ::libc::c_uint = 1953329268;
pub const kAudioUnitSubType_AUFilter: ::libc::c_uint = 1718185076;
pub const kAudioUnitSubType_NetSend: ::libc::c_uint = 1853058660;
pub const kAudioUnitSubType_RogerBeep: ::libc::c_uint = 1919903602;
pub const kAudioUnitSubType_NBandEQ: ::libc::c_uint = 1851942257;
pub type Enum_Unnamed170 = ::libc::c_uint;
pub const kAudioUnitSubType_MultiChannelMixer: ::libc::c_uint = 1835232632;
pub const kAudioUnitSubType_MatrixMixer: ::libc::c_uint = 1836608888;
pub const kAudioUnitSubType_SpatialMixer: ::libc::c_uint = 862217581;
pub const kAudioUnitSubType_StereoMixer: ::libc::c_uint = 1936554098;
pub const kAudioUnitSubType_3DMixer: ::libc::c_uint = 862219640;
pub type Enum_Unnamed171 = ::libc::c_uint;
pub const kAudioUnitSubType_SphericalHeadPanner: ::libc::c_uint = 1936746610;
pub const kAudioUnitSubType_VectorPanner: ::libc::c_uint = 1986158963;
pub const kAudioUnitSubType_SoundFieldPanner: ::libc::c_uint = 1634558569;
pub const kAudioUnitSubType_HRTFPanner: ::libc::c_uint = 1752331366;
pub type Enum_Unnamed172 = ::libc::c_uint;
pub const kAudioUnitSubType_NetReceive: ::libc::c_uint = 1852990326;
pub const kAudioUnitSubType_ScheduledSoundPlayer: ::libc::c_uint = 1936945260;
pub const kAudioUnitSubType_AudioFilePlayer: ::libc::c_uint = 1634103404;
pub type Enum_Unnamed173 = ::libc::c_uint;
pub const kAudioUnitRenderAction_PreRender: ::libc::c_uint = 4;
pub const kAudioUnitRenderAction_PostRender: ::libc::c_uint = 8;
pub const kAudioUnitRenderAction_OutputIsSilence: ::libc::c_uint = 16;
pub const kAudioOfflineUnitRenderAction_Preflight: ::libc::c_uint = 32;
pub const kAudioOfflineUnitRenderAction_Render: ::libc::c_uint = 64;
pub const kAudioOfflineUnitRenderAction_Complete: ::libc::c_uint = 128;
pub const kAudioUnitRenderAction_PostRenderError: ::libc::c_uint = 256;
pub const kAudioUnitRenderAction_DoNotCheckRenderArgs: ::libc::c_uint = 512;
pub type AudioUnitRenderActionFlags = UInt32;
pub type Enum_Unnamed174 = ::libc::c_int;
pub const kAudioUnitErr_InvalidProperty: ::libc::c_int = -10879;
pub const kAudioUnitErr_InvalidParameter: ::libc::c_int = -10878;
pub const kAudioUnitErr_InvalidElement: ::libc::c_int = -10877;
pub const kAudioUnitErr_NoConnection: ::libc::c_int = -10876;
pub const kAudioUnitErr_FailedInitialization: ::libc::c_int = -10875;
pub const kAudioUnitErr_TooManyFramesToProcess: ::libc::c_int = -10874;
pub const kAudioUnitErr_InvalidFile: ::libc::c_int = -10871;
pub const kAudioUnitErr_FormatNotSupported: ::libc::c_int = -10868;
pub const kAudioUnitErr_Uninitialized: ::libc::c_int = -10867;
pub const kAudioUnitErr_InvalidScope: ::libc::c_int = -10866;
pub const kAudioUnitErr_PropertyNotWritable: ::libc::c_int = -10865;
pub const kAudioUnitErr_CannotDoInCurrentContext: ::libc::c_int = -10863;
pub const kAudioUnitErr_InvalidPropertyValue: ::libc::c_int = -10851;
pub const kAudioUnitErr_PropertyNotInUse: ::libc::c_int = -10850;
pub const kAudioUnitErr_Initialized: ::libc::c_int = -10849;
pub const kAudioUnitErr_InvalidOfflineRender: ::libc::c_int = -10848;
pub const kAudioUnitErr_Unauthorized: ::libc::c_int = -10847;
pub type AudioUnitPropertyID = UInt32;
pub type AudioUnitScope = UInt32;
pub type AudioUnitElement = UInt32;
pub type AudioUnitParameterID = UInt32;
pub type AudioUnitParameterValue = Float32;
pub type Enum_Unnamed175 = ::libc::c_uint;
pub const kParameterEvent_Immediate: ::libc::c_uint = 1;
pub const kParameterEvent_Ramped: ::libc::c_uint = 2;
pub type AUParameterEventType = UInt32;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitParameterEvent {
pub scope: AudioUnitScope,
pub element: AudioUnitElement,
pub parameter: AudioUnitParameterID,
pub eventType: AUParameterEventType,
pub eventValues: Union_Unnamed176,
}
impl ::std::default::Default for Struct_AudioUnitParameterEvent {
fn default() -> Struct_AudioUnitParameterEvent {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Union_Unnamed176 {
pub _bindgen_data_: [u32; 4usize],
}
impl Union_Unnamed176 {
pub unsafe fn ramp(&mut self) -> *mut Struct_Unnamed177 {
::std::mem::transmute(&self._bindgen_data_)
}
pub unsafe fn immediate(&mut self) -> *mut Struct_Unnamed178 {
::std::mem::transmute(&self._bindgen_data_)
}
}
impl ::std::default::Default for Union_Unnamed176 {
fn default() -> Union_Unnamed176 { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed177 {
pub startBufferOffset: SInt32,
pub durationInFrames: UInt32,
pub startValue: AudioUnitParameterValue,
pub endValue: AudioUnitParameterValue,
}
impl ::std::default::Default for Struct_Unnamed177 {
fn default() -> Struct_Unnamed177 { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed178 {
pub bufferOffset: UInt32,
pub value: AudioUnitParameterValue,
}
impl ::std::default::Default for Struct_Unnamed178 {
fn default() -> Struct_Unnamed178 { unsafe { ::std::mem::zeroed() } }
}
pub type AudioUnitParameterEvent = Struct_AudioUnitParameterEvent;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitParameter {
pub mAudioUnit: AudioUnit,
pub mParameterID: AudioUnitParameterID,
pub mScope: AudioUnitScope,
pub mElement: AudioUnitElement,
}
impl ::std::default::Default for Struct_AudioUnitParameter {
fn default() -> Struct_AudioUnitParameter {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitParameter = Struct_AudioUnitParameter;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitProperty {
pub mAudioUnit: AudioUnit,
pub mPropertyID: AudioUnitPropertyID,
pub mScope: AudioUnitScope,
pub mElement: AudioUnitElement,
}
impl ::std::default::Default for Struct_AudioUnitProperty {
fn default() -> Struct_AudioUnitProperty {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitProperty = Struct_AudioUnitProperty;
pub type AURenderCallback =
::std::option::Option<extern "C" fn
(inRefCon: *mut ::libc::c_void,
ioActionFlags: *mut AudioUnitRenderActionFlags,
inTimeStamp: *const AudioTimeStamp,
inBusNumber: UInt32, inNumberFrames: UInt32,
ioData: *mut AudioBufferList) -> OSStatus>;
pub type AudioUnitPropertyListenerProc =
::std::option::Option<extern "C" fn
(inRefCon: *mut ::libc::c_void,
inUnit: AudioUnit, inID: AudioUnitPropertyID,
inScope: AudioUnitScope,
inElement: AudioUnitElement) -> ()>;
pub type AUInputSamplesInOutputCallback =
::std::option::Option<extern "C" fn
(inRefCon: *mut ::libc::c_void,
inOutputTimeStamp: *const AudioTimeStamp,
inInputSample: Float64,
inNumberInputSamples: Float64) -> ()>;
pub type Enum_Unnamed179 = ::libc::c_uint;
pub const kAudioUnitRange: ::libc::c_uint = 0;
pub const kAudioUnitInitializeSelect: ::libc::c_uint = 1;
pub const kAudioUnitUninitializeSelect: ::libc::c_uint = 2;
pub const kAudioUnitGetPropertyInfoSelect: ::libc::c_uint = 3;
pub const kAudioUnitGetPropertySelect: ::libc::c_uint = 4;
pub const kAudioUnitSetPropertySelect: ::libc::c_uint = 5;
pub const kAudioUnitAddPropertyListenerSelect: ::libc::c_uint = 10;
pub const kAudioUnitRemovePropertyListenerSelect: ::libc::c_uint = 11;
pub const kAudioUnitRemovePropertyListenerWithUserDataSelect: ::libc::c_uint =
18;
pub const kAudioUnitAddRenderNotifySelect: ::libc::c_uint = 15;
pub const kAudioUnitRemoveRenderNotifySelect: ::libc::c_uint = 16;
pub const kAudioUnitGetParameterSelect: ::libc::c_uint = 6;
pub const kAudioUnitSetParameterSelect: ::libc::c_uint = 7;
pub const kAudioUnitScheduleParametersSelect: ::libc::c_uint = 17;
pub const kAudioUnitRenderSelect: ::libc::c_uint = 14;
pub const kAudioUnitResetSelect: ::libc::c_uint = 9;
pub const kAudioUnitComplexRenderSelect: ::libc::c_uint = 19;
pub const kAudioUnitProcessSelect: ::libc::c_uint = 20;
pub const kAudioUnitProcessMultipleSelect: ::libc::c_uint = 21;
pub type AudioUnitInitializeProc =
::std::option::Option<extern "C" fn(_self: *mut ::libc::c_void)
-> OSStatus>;
pub type AudioUnitUninitializeProc =
::std::option::Option<extern "C" fn(_self: *mut ::libc::c_void)
-> OSStatus>;
pub type AudioUnitGetPropertyInfoProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
prop: AudioUnitPropertyID,
scope: AudioUnitScope, elem: AudioUnitElement,
outDataSize: *mut UInt32,
outWritable: *mut Boolean) -> OSStatus>;
pub type AudioUnitGetPropertyProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
inID: AudioUnitPropertyID,
inScope: AudioUnitScope,
inElement: AudioUnitElement,
outData: *mut ::libc::c_void,
ioDataSize: *mut UInt32) -> OSStatus>;
pub type AudioUnitSetPropertyProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
inID: AudioUnitPropertyID,
inScope: AudioUnitScope,
inElement: AudioUnitElement,
inData: *const ::libc::c_void,
inDataSize: UInt32) -> OSStatus>;
pub type AudioUnitAddPropertyListenerProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
prop: AudioUnitPropertyID,
_proc: AudioUnitPropertyListenerProc,
userData: *mut ::libc::c_void) -> OSStatus>;
pub type AudioUnitRemovePropertyListenerProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
prop: AudioUnitPropertyID,
_proc: AudioUnitPropertyListenerProc)
-> OSStatus>;
pub type AudioUnitRemovePropertyListenerWithUserDataProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
prop: AudioUnitPropertyID,
_proc: AudioUnitPropertyListenerProc,
userData: *mut ::libc::c_void) -> OSStatus>;
pub type AudioUnitAddRenderNotifyProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
_proc: AURenderCallback,
userData: *mut ::libc::c_void) -> OSStatus>;
pub type AudioUnitRemoveRenderNotifyProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
_proc: AURenderCallback,
userData: *mut ::libc::c_void) -> OSStatus>;
pub type AudioUnitScheduleParametersProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
events: *const AudioUnitParameterEvent,
numEvents: UInt32) -> OSStatus>;
pub type AudioUnitResetProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
inScope: AudioUnitScope,
inElement: AudioUnitElement) -> OSStatus>;
pub type AudioUnitComplexRenderProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
ioActionFlags: *mut AudioUnitRenderActionFlags,
inTimeStamp: *const AudioTimeStamp,
inOutputBusNumber: UInt32,
inNumberOfPackets: UInt32,
outNumberOfPackets: *mut UInt32,
outPacketDescriptions:
*mut AudioStreamPacketDescription,
ioData: *mut AudioBufferList,
outMetadata: *mut ::libc::c_void,
outMetadataByteSize: *mut UInt32) -> OSStatus>;
pub type AudioUnitProcessProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
ioActionFlags: *mut AudioUnitRenderActionFlags,
inTimeStamp: *const AudioTimeStamp,
inNumberFrames: UInt32,
ioData: *mut AudioBufferList) -> OSStatus>;
pub type AudioUnitProcessMultipleProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
ioActionFlags: *mut AudioUnitRenderActionFlags,
inTimeStamp: *const AudioTimeStamp,
inNumberFrames: UInt32,
inNumberInputBufferLists: UInt32,
inInputBufferLists:
*mut *const AudioBufferList,
inNumberOutputBufferLists: UInt32,
ioOutputBufferLists: *mut *mut AudioBufferList)
-> OSStatus>;
pub type AudioUnitGetParameterProc =
::std::option::Option<extern "C" fn
(inComponentStorage: *mut ::libc::c_void,
inID: AudioUnitParameterID,
inScope: AudioUnitScope,
inElement: AudioUnitElement,
outValue: *mut AudioUnitParameterValue)
-> OSStatus>;
pub type AudioUnitSetParameterProc =
::std::option::Option<extern "C" fn
(inComponentStorage: *mut ::libc::c_void,
inID: AudioUnitParameterID,
inScope: AudioUnitScope,
inElement: AudioUnitElement,
inValue: AudioUnitParameterValue,
inBufferOffsetInFrames: UInt32) -> OSStatus>;
pub type AudioUnitRenderProc =
::std::option::Option<extern "C" fn
(inComponentStorage: *mut ::libc::c_void,
ioActionFlags: *mut AudioUnitRenderActionFlags,
inTimeStamp: *const AudioTimeStamp,
inOutputBusNumber: UInt32,
inNumberFrames: UInt32,
ioData: *mut AudioBufferList) -> OSStatus>;
pub type Enum_Unnamed180 = ::libc::c_int;
pub const kAudioUnitErr_IllegalInstrument: ::libc::c_int = -10873;
pub const kAudioUnitErr_InstrumentTypeNotFound: ::libc::c_int = -10872;
pub const kAudioUnitErr_UnknownFileType: ::libc::c_int = -10870;
pub const kAudioUnitErr_FileNotSpecified: ::libc::c_int = -10869;
pub type Enum_Unnamed181 = ::libc::c_uint;
pub const kAudioOutputUnitRange: ::libc::c_uint = 512;
pub const kAudioOutputUnitStartSelect: ::libc::c_uint = 513;
pub const kAudioOutputUnitStopSelect: ::libc::c_uint = 514;
pub type AudioOutputUnitStartProc =
::std::option::Option<extern "C" fn(_self: *mut ::libc::c_void)
-> OSStatus>;
pub type AudioOutputUnitStopProc =
::std::option::Option<extern "C" fn(_self: *mut ::libc::c_void)
-> OSStatus>;
pub type Enum_Unnamed182 = ::libc::c_uint;
pub const kAudioUnitScope_Global: ::libc::c_uint = 0;
pub const kAudioUnitScope_Input: ::libc::c_uint = 1;
pub const kAudioUnitScope_Output: ::libc::c_uint = 2;
pub const kAudioUnitScope_Group: ::libc::c_uint = 3;
pub const kAudioUnitScope_Part: ::libc::c_uint = 4;
pub const kAudioUnitScope_Note: ::libc::c_uint = 5;
pub const kAudioUnitScope_Layer: ::libc::c_uint = 6;
pub const kAudioUnitScope_LayerItem: ::libc::c_uint = 7;
pub type Enum_Unnamed183 = ::libc::c_uint;
pub const kAudioUnitProperty_ClassInfo: ::libc::c_uint = 0;
pub const kAudioUnitProperty_MakeConnection: ::libc::c_uint = 1;
pub const kAudioUnitProperty_SampleRate: ::libc::c_uint = 2;
pub const kAudioUnitProperty_ParameterList: ::libc::c_uint = 3;
pub const kAudioUnitProperty_ParameterInfo: ::libc::c_uint = 4;
pub const kAudioUnitProperty_CPULoad: ::libc::c_uint = 6;
pub const kAudioUnitProperty_StreamFormat: ::libc::c_uint = 8;
pub const kAudioUnitProperty_ElementCount: ::libc::c_uint = 11;
pub const kAudioUnitProperty_Latency: ::libc::c_uint = 12;
pub const kAudioUnitProperty_SupportedNumChannels: ::libc::c_uint = 13;
pub const kAudioUnitProperty_MaximumFramesPerSlice: ::libc::c_uint = 14;
pub const kAudioUnitProperty_ParameterValueStrings: ::libc::c_uint = 16;
pub const kAudioUnitProperty_AudioChannelLayout: ::libc::c_uint = 19;
pub const kAudioUnitProperty_TailTime: ::libc::c_uint = 20;
pub const kAudioUnitProperty_BypassEffect: ::libc::c_uint = 21;
pub const kAudioUnitProperty_LastRenderError: ::libc::c_uint = 22;
pub const kAudioUnitProperty_SetRenderCallback: ::libc::c_uint = 23;
pub const kAudioUnitProperty_FactoryPresets: ::libc::c_uint = 24;
pub const kAudioUnitProperty_RenderQuality: ::libc::c_uint = 26;
pub const kAudioUnitProperty_HostCallbacks: ::libc::c_uint = 27;
pub const kAudioUnitProperty_InPlaceProcessing: ::libc::c_uint = 29;
pub const kAudioUnitProperty_ElementName: ::libc::c_uint = 30;
pub const kAudioUnitProperty_SupportedChannelLayoutTags: ::libc::c_uint = 32;
pub const kAudioUnitProperty_PresentPreset: ::libc::c_uint = 36;
pub const kAudioUnitProperty_DependentParameters: ::libc::c_uint = 45;
pub const kAudioUnitProperty_InputSamplesInOutput: ::libc::c_uint = 49;
pub const kAudioUnitProperty_ShouldAllocateBuffer: ::libc::c_uint = 51;
pub const kAudioUnitProperty_FrequencyResponse: ::libc::c_uint = 52;
pub const kAudioUnitProperty_ParameterHistoryInfo: ::libc::c_uint = 53;
pub const kAudioUnitProperty_NickName: ::libc::c_uint = 54;
pub const kAudioUnitProperty_OfflineRender: ::libc::c_uint = 37;
pub const kAudioUnitProperty_ParameterIDName: ::libc::c_uint = 34;
pub const kAudioUnitProperty_ParameterStringFromValue: ::libc::c_uint = 33;
pub const kAudioUnitProperty_ParameterValueFromString: ::libc::c_uint = 38;
pub const kAudioUnitProperty_FastDispatch: ::libc::c_uint = 5;
pub const kAudioUnitProperty_SetExternalBuffer: ::libc::c_uint = 15;
pub const kAudioUnitProperty_GetUIComponentList: ::libc::c_uint = 18;
pub const kAudioUnitProperty_ContextName: ::libc::c_uint = 25;
pub const kAudioUnitProperty_CocoaUI: ::libc::c_uint = 31;
pub const kAudioUnitProperty_ParameterClumpName: ::libc::c_uint = 35;
pub const kAudioUnitProperty_IconLocation: ::libc::c_uint = 39;
pub const kAudioUnitProperty_PresentationLatency: ::libc::c_uint = 40;
pub const kAudioUnitProperty_AUHostIdentifier: ::libc::c_uint = 46;
pub const kAudioUnitProperty_MIDIOutputCallbackInfo: ::libc::c_uint = 47;
pub const kAudioUnitProperty_MIDIOutputCallback: ::libc::c_uint = 48;
pub const kAudioUnitProperty_ClassInfoFromDocument: ::libc::c_uint = 50;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitConnection {
pub sourceAudioUnit: AudioUnit,
pub sourceOutputNumber: UInt32,
pub destInputNumber: UInt32,
}
impl ::std::default::Default for Struct_AudioUnitConnection {
fn default() -> Struct_AudioUnitConnection {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitConnection = Struct_AudioUnitConnection;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AUChannelInfo {
pub inChannels: SInt16,
pub outChannels: SInt16,
}
impl ::std::default::Default for Struct_AUChannelInfo {
fn default() -> Struct_AUChannelInfo { unsafe { ::std::mem::zeroed() } }
}
pub type AUChannelInfo = Struct_AUChannelInfo;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitExternalBuffer {
pub buffer: *mut Byte,
pub size: UInt32,
}
impl ::std::default::Default for Struct_AudioUnitExternalBuffer {
fn default() -> Struct_AudioUnitExternalBuffer {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitExternalBuffer = Struct_AudioUnitExternalBuffer;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AURenderCallbackStruct {
pub inputProc: AURenderCallback,
pub inputProcRefCon: *mut ::libc::c_void,
}
impl ::std::default::Default for Struct_AURenderCallbackStruct {
fn default() -> Struct_AURenderCallbackStruct {
unsafe { ::std::mem::zeroed() }
}
}
pub type AURenderCallbackStruct = Struct_AURenderCallbackStruct;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AUPreset {
pub presetNumber: SInt32,
pub presetName: CFStringRef,
}
impl ::std::default::Default for Struct_AUPreset {
fn default() -> Struct_AUPreset { unsafe { ::std::mem::zeroed() } }
}
pub type AUPreset = Struct_AUPreset;
pub type Enum_Unnamed184 = ::libc::c_uint;
pub const kRenderQuality_Max: ::libc::c_uint = 127;
pub const kRenderQuality_High: ::libc::c_uint = 96;
pub const kRenderQuality_Medium: ::libc::c_uint = 64;
pub const kRenderQuality_Low: ::libc::c_uint = 32;
pub const kRenderQuality_Min: ::libc::c_uint = 0;
pub type Enum_Unnamed185 = ::libc::c_uint;
pub const kNumberOfResponseFrequencies: ::libc::c_uint = 1024;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitFrequencyResponseBin {
pub mFrequency: Float64,
pub mMagnitude: Float64,
}
impl ::std::default::Default for Struct_AudioUnitFrequencyResponseBin {
fn default() -> Struct_AudioUnitFrequencyResponseBin {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitFrequencyResponseBin = Struct_AudioUnitFrequencyResponseBin;
pub type HostCallback_GetBeatAndTempo =
::std::option::Option<extern "C" fn
(inHostUserData: *mut ::libc::c_void,
outCurrentBeat: *mut Float64,
outCurrentTempo: *mut Float64) -> OSStatus>;
pub type HostCallback_GetMusicalTimeLocation =
::std::option::Option<extern "C" fn
(inHostUserData: *mut ::libc::c_void,
outDeltaSampleOffsetToNextBeat: *mut UInt32,
outTimeSig_Numerator: *mut Float32,
outTimeSig_Denominator: *mut UInt32,
outCurrentMeasureDownBeat: *mut Float64)
-> OSStatus>;
pub type HostCallback_GetTransportState =
::std::option::Option<extern "C" fn
(inHostUserData: *mut ::libc::c_void,
outIsPlaying: *mut Boolean,
outTransportStateChanged: *mut Boolean,
outCurrentSampleInTimeLine: *mut Float64,
outIsCycling: *mut Boolean,
outCycleStartBeat: *mut Float64,
outCycleEndBeat: *mut Float64) -> OSStatus>;
pub type HostCallback_GetTransportState2 =
::std::option::Option<extern "C" fn
(inHostUserData: *mut ::libc::c_void,
outIsPlaying: *mut Boolean,
outIsRecording: *mut Boolean,
outTransportStateChanged: *mut Boolean,
outCurrentSampleInTimeLine: *mut Float64,
outIsCycling: *mut Boolean,
outCycleStartBeat: *mut Float64,
outCycleEndBeat: *mut Float64) -> OSStatus>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_HostCallbackInfo {
pub hostUserData: *mut ::libc::c_void,
pub beatAndTempoProc: HostCallback_GetBeatAndTempo,
pub musicalTimeLocationProc: HostCallback_GetMusicalTimeLocation,
pub transportStateProc: HostCallback_GetTransportState,
pub transportStateProc2: HostCallback_GetTransportState2,
}
impl ::std::default::Default for Struct_HostCallbackInfo {
fn default() -> Struct_HostCallbackInfo {
unsafe { ::std::mem::zeroed() }
}
}
pub type HostCallbackInfo = Struct_HostCallbackInfo;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AUDependentParameter {
pub mScope: AudioUnitScope,
pub mParameterID: AudioUnitParameterID,
}
impl ::std::default::Default for Struct_AUDependentParameter {
fn default() -> Struct_AUDependentParameter {
unsafe { ::std::mem::zeroed() }
}
}
pub type AUDependentParameter = Struct_AUDependentParameter;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitCocoaViewInfo {
pub mCocoaAUViewBundleLocation: CFURLRef,
pub mCocoaAUViewClass: [CFStringRef; 1usize],
}
impl ::std::default::Default for Struct_AudioUnitCocoaViewInfo {
fn default() -> Struct_AudioUnitCocoaViewInfo {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitCocoaViewInfo = Struct_AudioUnitCocoaViewInfo;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AUHostVersionIdentifier {
pub hostName: CFStringRef,
pub hostVersion: UInt32,
}
impl ::std::default::Default for Struct_AUHostVersionIdentifier {
fn default() -> Struct_AUHostVersionIdentifier {
unsafe { ::std::mem::zeroed() }
}
}
pub type AUHostVersionIdentifier = Struct_AUHostVersionIdentifier;
pub enum Struct_MIDIPacketList { }
pub type AUMIDIOutputCallback =
::std::option::Option<extern "C" fn
(userData: *mut ::libc::c_void,
timeStamp: *const AudioTimeStamp,
midiOutNum: UInt32,
pktlist: *const Struct_MIDIPacketList)
-> OSStatus>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AUMIDIOutputCallbackStruct {
pub midiOutputCallback: AUMIDIOutputCallback,
pub userData: *mut ::libc::c_void,
}
impl ::std::default::Default for Struct_AUMIDIOutputCallbackStruct {
fn default() -> Struct_AUMIDIOutputCallbackStruct {
unsafe { ::std::mem::zeroed() }
}
}
pub type AUMIDIOutputCallbackStruct = Struct_AUMIDIOutputCallbackStruct;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AUInputSamplesInOutputCallbackStruct {
pub inputToOutputCallback: AUInputSamplesInOutputCallback,
pub userData: *mut ::libc::c_void,
}
impl ::std::default::Default for Struct_AUInputSamplesInOutputCallbackStruct {
fn default() -> Struct_AUInputSamplesInOutputCallbackStruct {
unsafe { ::std::mem::zeroed() }
}
}
pub type AUInputSamplesInOutputCallbackStruct =
Struct_AUInputSamplesInOutputCallbackStruct;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitParameterHistoryInfo {
pub updatesPerSecond: Float32,
pub historyDurationInSeconds: Float32,
}
impl ::std::default::Default for Struct_AudioUnitParameterHistoryInfo {
fn default() -> Struct_AudioUnitParameterHistoryInfo {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitParameterHistoryInfo = Struct_AudioUnitParameterHistoryInfo;
pub type Enum_Unnamed186 = ::libc::c_uint;
pub const kAudioUnitParameterUnit_Generic: ::libc::c_uint = 0;
pub const kAudioUnitParameterUnit_Indexed: ::libc::c_uint = 1;
pub const kAudioUnitParameterUnit_Boolean: ::libc::c_uint = 2;
pub const kAudioUnitParameterUnit_Percent: ::libc::c_uint = 3;
pub const kAudioUnitParameterUnit_Seconds: ::libc::c_uint = 4;
pub const kAudioUnitParameterUnit_SampleFrames: ::libc::c_uint = 5;
pub const kAudioUnitParameterUnit_Phase: ::libc::c_uint = 6;
pub const kAudioUnitParameterUnit_Rate: ::libc::c_uint = 7;
pub const kAudioUnitParameterUnit_Hertz: ::libc::c_uint = 8;
pub const kAudioUnitParameterUnit_Cents: ::libc::c_uint = 9;
pub const kAudioUnitParameterUnit_RelativeSemiTones: ::libc::c_uint = 10;
pub const kAudioUnitParameterUnit_MIDINoteNumber: ::libc::c_uint = 11;
pub const kAudioUnitParameterUnit_MIDIController: ::libc::c_uint = 12;
pub const kAudioUnitParameterUnit_Decibels: ::libc::c_uint = 13;
pub const kAudioUnitParameterUnit_LinearGain: ::libc::c_uint = 14;
pub const kAudioUnitParameterUnit_Degrees: ::libc::c_uint = 15;
pub const kAudioUnitParameterUnit_EqualPowerCrossfade: ::libc::c_uint = 16;
pub const kAudioUnitParameterUnit_MixerFaderCurve1: ::libc::c_uint = 17;
pub const kAudioUnitParameterUnit_Pan: ::libc::c_uint = 18;
pub const kAudioUnitParameterUnit_Meters: ::libc::c_uint = 19;
pub const kAudioUnitParameterUnit_AbsoluteCents: ::libc::c_uint = 20;
pub const kAudioUnitParameterUnit_Octaves: ::libc::c_uint = 21;
pub const kAudioUnitParameterUnit_BPM: ::libc::c_uint = 22;
pub const kAudioUnitParameterUnit_Beats: ::libc::c_uint = 23;
pub const kAudioUnitParameterUnit_Milliseconds: ::libc::c_uint = 24;
pub const kAudioUnitParameterUnit_Ratio: ::libc::c_uint = 25;
pub const kAudioUnitParameterUnit_CustomUnit: ::libc::c_uint = 26;
pub type AudioUnitParameterUnit = UInt32;
#[repr(C)]
pub struct Struct_AudioUnitParameterInfo {
pub name: [::libc::c_char; 52usize],
pub unitName: CFStringRef,
pub clumpID: UInt32,
pub cfNameString: CFStringRef,
pub unit: AudioUnitParameterUnit,
pub minValue: AudioUnitParameterValue,
pub maxValue: AudioUnitParameterValue,
pub defaultValue: AudioUnitParameterValue,
pub flags: UInt32,
}
impl ::std::default::Default for Struct_AudioUnitParameterInfo {
fn default() -> Struct_AudioUnitParameterInfo {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitParameterInfo = Struct_AudioUnitParameterInfo;
pub type Enum_Unnamed187 = ::libc::c_uint;
pub const kAudioUnitParameterFlag_CFNameRelease: ::libc::c_uint = 16;
pub const kAudioUnitParameterFlag_OmitFromPresets: ::libc::c_uint = 8192;
pub const kAudioUnitParameterFlag_PlotHistory: ::libc::c_uint = 16384;
pub const kAudioUnitParameterFlag_MeterReadOnly: ::libc::c_uint = 32768;
pub const kAudioUnitParameterFlag_DisplayMask: ::libc::c_uint = 4653056;
pub const kAudioUnitParameterFlag_DisplaySquareRoot: ::libc::c_uint = 65536;
pub const kAudioUnitParameterFlag_DisplaySquared: ::libc::c_uint = 131072;
pub const kAudioUnitParameterFlag_DisplayCubed: ::libc::c_uint = 196608;
pub const kAudioUnitParameterFlag_DisplayCubeRoot: ::libc::c_uint = 262144;
pub const kAudioUnitParameterFlag_DisplayExponential: ::libc::c_uint = 327680;
pub const kAudioUnitParameterFlag_HasClump: ::libc::c_uint = 1048576;
pub const kAudioUnitParameterFlag_ValuesHaveStrings: ::libc::c_uint = 2097152;
pub const kAudioUnitParameterFlag_DisplayLogarithmic: ::libc::c_uint =
4194304;
pub const kAudioUnitParameterFlag_IsHighResolution: ::libc::c_uint = 8388608;
pub const kAudioUnitParameterFlag_NonRealTime: ::libc::c_uint = 16777216;
pub const kAudioUnitParameterFlag_CanRamp: ::libc::c_uint = 33554432;
pub const kAudioUnitParameterFlag_ExpertMode: ::libc::c_uint = 67108864;
pub const kAudioUnitParameterFlag_HasCFNameString: ::libc::c_uint = 134217728;
pub const kAudioUnitParameterFlag_IsGlobalMeta: ::libc::c_uint = 268435456;
pub const kAudioUnitParameterFlag_IsElementMeta: ::libc::c_uint = 536870912;
pub const kAudioUnitParameterFlag_IsReadable: ::libc::c_uint = 1073741824;
pub const kAudioUnitParameterFlag_IsWritable: ::libc::c_uint = ::std::u32::MAX -2147483647;
pub type Enum_Unnamed188 = ::libc::c_uint;
pub const kAudioUnitClumpID_System: ::libc::c_uint = 0;
pub type Enum_Unnamed189 = ::libc::c_int;
pub const kAudioUnitParameterName_Full: ::libc::c_int = -1;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitParameterNameInfo {
pub inID: AudioUnitParameterID,
pub inDesiredLength: SInt32,
pub outName: CFStringRef,
}
impl ::std::default::Default for Struct_AudioUnitParameterNameInfo {
fn default() -> Struct_AudioUnitParameterNameInfo {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitParameterIDName = Struct_AudioUnitParameterNameInfo;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitParameterStringFromValue {
pub inParamID: AudioUnitParameterID,
pub inValue: *const AudioUnitParameterValue,
pub outString: CFStringRef,
}
impl ::std::default::Default for Struct_AudioUnitParameterStringFromValue {
fn default() -> Struct_AudioUnitParameterStringFromValue {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitParameterStringFromValue =
Struct_AudioUnitParameterStringFromValue;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitParameterValueFromString {
pub inParamID: AudioUnitParameterID,
pub inString: CFStringRef,
pub outValue: AudioUnitParameterValue,
}
impl ::std::default::Default for Struct_AudioUnitParameterValueFromString {
fn default() -> Struct_AudioUnitParameterValueFromString {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitParameterValueFromString =
Struct_AudioUnitParameterValueFromString;
pub type Enum_Unnamed190 = ::libc::c_uint;
pub const kAudioOutputUnitProperty_IsRunning: ::libc::c_uint = 2001;
pub type Enum_Unnamed191 = ::libc::c_uint;
pub const kAudioUnitProperty_AllParameterMIDIMappings: ::libc::c_uint = 41;
pub const kAudioUnitProperty_AddParameterMIDIMapping: ::libc::c_uint = 42;
pub const kAudioUnitProperty_RemoveParameterMIDIMapping: ::libc::c_uint = 43;
pub const kAudioUnitProperty_HotMapParameterMIDIMapping: ::libc::c_uint = 44;
pub type Enum_Unnamed192 = ::libc::c_uint;
pub const kAUParameterMIDIMapping_AnyChannelFlag: ::libc::c_uint = 1;
pub const kAUParameterMIDIMapping_AnyNoteFlag: ::libc::c_uint = 2;
pub const kAUParameterMIDIMapping_SubRange: ::libc::c_uint = 4;
pub const kAUParameterMIDIMapping_Toggle: ::libc::c_uint = 8;
pub const kAUParameterMIDIMapping_Bipolar: ::libc::c_uint = 16;
pub const kAUParameterMIDIMapping_Bipolar_On: ::libc::c_uint = 32;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AUParameterMIDIMapping {
pub mScope: AudioUnitScope,
pub mElement: AudioUnitElement,
pub mParameterID: AudioUnitParameterID,
pub mFlags: UInt32,
pub mSubRangeMin: AudioUnitParameterValue,
pub mSubRangeMax: AudioUnitParameterValue,
pub mStatus: UInt8,
pub mData1: UInt8,
pub reserved1: UInt8,
pub reserved2: UInt8,
pub reserved3: UInt32,
}
impl ::std::default::Default for Struct_AUParameterMIDIMapping {
fn default() -> Struct_AUParameterMIDIMapping {
unsafe { ::std::mem::zeroed() }
}
}
pub type AUParameterMIDIMapping = Struct_AUParameterMIDIMapping;
pub type Enum_Unnamed193 = ::libc::c_uint;
pub const kMusicDeviceProperty_MIDIXMLNames: ::libc::c_uint = 1006;
pub const kMusicDeviceProperty_PartGroup: ::libc::c_uint = 1010;
pub const kMusicDeviceProperty_DualSchedulingMode: ::libc::c_uint = 1013;
pub const kMusicDeviceProperty_SupportsStartStopNote: ::libc::c_uint = 1014;
pub type Enum_Unnamed194 = ::libc::c_uint;
pub const kMusicDeviceSampleFrameMask_SampleOffset: ::libc::c_uint = 16777215;
pub const kMusicDeviceSampleFrameMask_IsScheduled: ::libc::c_uint = 16777216;
pub type Enum_Unnamed195 = ::libc::c_uint;
pub const kAudioUnitOfflineProperty_InputSize: ::libc::c_uint = 3020;
pub const kAudioUnitOfflineProperty_OutputSize: ::libc::c_uint = 3021;
pub const kAudioUnitOfflineProperty_StartOffset: ::libc::c_uint = 3022;
pub const kAudioUnitOfflineProperty_PreflightRequirements: ::libc::c_uint =
3023;
pub const kAudioUnitOfflineProperty_PreflightName: ::libc::c_uint = 3024;
pub type Enum_Unnamed196 = ::libc::c_uint;
pub const kOfflinePreflight_NotRequired: ::libc::c_uint = 0;
pub const kOfflinePreflight_Optional: ::libc::c_uint = 1;
pub const kOfflinePreflight_Required: ::libc::c_uint = 2;
pub type Enum_Unnamed197 = ::libc::c_uint;
pub const kAudioUnitProperty_DistanceAttenuationData: ::libc::c_uint = 3600;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AUDistanceAttenuationData {
pub inNumberOfPairs: UInt32,
pub pairs: [Struct_Unnamed198; 1usize],
}
impl ::std::default::Default for Struct_AUDistanceAttenuationData {
fn default() -> Struct_AUDistanceAttenuationData {
unsafe { ::std::mem::zeroed() }
}
}
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_Unnamed198 {
pub inDistance: Float32,
pub outGain: Float32,
}
impl ::std::default::Default for Struct_Unnamed198 {
fn default() -> Struct_Unnamed198 { unsafe { ::std::mem::zeroed() } }
}
pub type AUDistanceAttenuationData = Struct_AUDistanceAttenuationData;
pub type Enum_Unnamed199 = ::libc::c_uint;
pub const kAudioUnitMigrateProperty_FromPlugin: ::libc::c_uint = 4000;
pub const kAudioUnitMigrateProperty_OldAutomation: ::libc::c_uint = 4001;
pub type Enum_Unnamed200 = ::libc::c_uint;
pub const kOtherPluginFormat_Undefined: ::libc::c_uint = 0;
pub const kOtherPluginFormat_kMAS: ::libc::c_uint = 1;
pub const kOtherPluginFormat_kVST: ::libc::c_uint = 2;
pub const kOtherPluginFormat_AU: ::libc::c_uint = 3;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitOtherPluginDesc {
pub format: UInt32,
pub plugin: AudioClassDescription,
}
impl ::std::default::Default for Struct_AudioUnitOtherPluginDesc {
fn default() -> Struct_AudioUnitOtherPluginDesc {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitOtherPluginDesc = Struct_AudioUnitOtherPluginDesc;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitParameterValueTranslation {
pub otherDesc: AudioUnitOtherPluginDesc,
pub otherParamID: UInt32,
pub otherValue: Float32,
pub auParamID: AudioUnitParameterID,
pub auValue: AudioUnitParameterValue,
}
impl ::std::default::Default for Struct_AudioUnitParameterValueTranslation {
fn default() -> Struct_AudioUnitParameterValueTranslation {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitParameterValueTranslation =
Struct_AudioUnitParameterValueTranslation;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitPresetMAS_SettingData {
pub isStockSetting: UInt32,
pub settingID: UInt32,
pub dataLen: UInt32,
pub data: [UInt8; 1usize],
}
impl ::std::default::Default for Struct_AudioUnitPresetMAS_SettingData {
fn default() -> Struct_AudioUnitPresetMAS_SettingData {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitPresetMAS_SettingData =
Struct_AudioUnitPresetMAS_SettingData;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitPresetMAS_Settings {
pub manufacturerID: UInt32,
pub effectID: UInt32,
pub variantID: UInt32,
pub settingsVersion: UInt32,
pub numberOfSettings: UInt32,
pub settings: [AudioUnitPresetMAS_SettingData; 1usize],
}
impl ::std::default::Default for Struct_AudioUnitPresetMAS_Settings {
fn default() -> Struct_AudioUnitPresetMAS_Settings {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitPresetMAS_Settings = Struct_AudioUnitPresetMAS_Settings;
pub type Enum_Unnamed201 = ::libc::c_uint;
pub const kAudioUnitProperty_SampleRateConverterComplexity: ::libc::c_uint =
3014;
pub type Enum_Unnamed202 = ::libc::c_uint;
pub const kAudioUnitSampleRateConverterComplexity_Linear: ::libc::c_uint =
1818848869;
pub const kAudioUnitSampleRateConverterComplexity_Normal: ::libc::c_uint =
1852797549;
pub const kAudioUnitSampleRateConverterComplexity_Mastering: ::libc::c_uint =
1650553971;
pub type Enum_Unnamed203 = ::libc::c_uint;
pub const kAudioOutputUnitProperty_CurrentDevice: ::libc::c_uint = 2000;
pub const kAudioOutputUnitProperty_ChannelMap: ::libc::c_uint = 2002;
pub const kAudioOutputUnitProperty_EnableIO: ::libc::c_uint = 2003;
pub const kAudioOutputUnitProperty_StartTime: ::libc::c_uint = 2004;
pub const kAudioOutputUnitProperty_SetInputCallback: ::libc::c_uint = 2005;
pub const kAudioOutputUnitProperty_HasIO: ::libc::c_uint = 2006;
pub const kAudioOutputUnitProperty_StartTimestampsAtZero: ::libc::c_uint =
2007;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioOutputUnitStartAtTimeParams {
pub mTimestamp: AudioTimeStamp,
pub mFlags: UInt32,
}
impl ::std::default::Default for Struct_AudioOutputUnitStartAtTimeParams {
fn default() -> Struct_AudioOutputUnitStartAtTimeParams {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioOutputUnitStartAtTimeParams =
Struct_AudioOutputUnitStartAtTimeParams;
pub type Enum_Unnamed204 = ::libc::c_uint;
pub const kAUVoiceIOProperty_BypassVoiceProcessing: ::libc::c_uint = 2100;
pub const kAUVoiceIOProperty_VoiceProcessingEnableAGC: ::libc::c_uint = 2101;
pub const kAUVoiceIOProperty_MuteOutput: ::libc::c_uint = 2104;
pub type Enum_Unnamed205 = ::libc::c_uint;
pub const kAUVoiceIOProperty_VoiceProcessingQuality: ::libc::c_uint = 2103;
pub type Enum_Unnamed206 = ::libc::c_uint;
pub const kAUNBandEQProperty_NumberOfBands: ::libc::c_uint = 2200;
pub const kAUNBandEQProperty_MaxNumberOfBands: ::libc::c_uint = 2201;
pub const kAUNBandEQProperty_BiquadCoefficients: ::libc::c_uint = 2203;
pub type Enum_Unnamed207 = ::libc::c_int;
pub const kAUVoiceIOErr_UnexpectedNumberOfInputChannels: ::libc::c_int =
-66784;
pub type Enum_Unnamed208 = ::libc::c_uint;
pub const kAudioUnitProperty_MeteringMode: ::libc::c_uint = 3007;
pub const kAudioUnitProperty_MatrixLevels: ::libc::c_uint = 3006;
pub const kAudioUnitProperty_MatrixDimensions: ::libc::c_uint = 3009;
pub const kAudioUnitProperty_MeterClipping: ::libc::c_uint = 3011;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitMeterClipping {
pub peakValueSinceLastCall: Float32,
pub sawInfinity: Boolean,
pub sawNotANumber: Boolean,
}
impl ::std::default::Default for Struct_AudioUnitMeterClipping {
fn default() -> Struct_AudioUnitMeterClipping {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitMeterClipping = Struct_AudioUnitMeterClipping;
pub type Enum_Unnamed209 = ::libc::c_uint;
pub const kAudioUnitProperty_ReverbRoomType: ::libc::c_uint = 10;
pub const kAudioUnitProperty_UsesInternalReverb: ::libc::c_uint = 1005;
pub const kAudioUnitProperty_SpatializationAlgorithm: ::libc::c_uint = 3000;
pub const kAudioUnitProperty_SpatialMixerDistanceParams: ::libc::c_uint =
3010;
pub const kAudioUnitProperty_SpatialMixerAttenuationCurve: ::libc::c_uint =
3013;
pub const kAudioUnitProperty_SpatialMixerRenderingFlags: ::libc::c_uint =
3003;
pub type Enum_Unnamed210 = ::libc::c_uint;
pub const kSpatializationAlgorithm_EqualPowerPanning: ::libc::c_uint = 0;
pub const kSpatializationAlgorithm_SphericalHead: ::libc::c_uint = 1;
pub const kSpatializationAlgorithm_HRTF: ::libc::c_uint = 2;
pub const kSpatializationAlgorithm_SoundField: ::libc::c_uint = 3;
pub const kSpatializationAlgorithm_VectorBasedPanning: ::libc::c_uint = 4;
pub const kSpatializationAlgorithm_StereoPassThrough: ::libc::c_uint = 5;
pub type Enum_Unnamed211 = ::libc::c_uint;
pub const kReverbRoomType_SmallRoom: ::libc::c_uint = 0;
pub const kReverbRoomType_MediumRoom: ::libc::c_uint = 1;
pub const kReverbRoomType_LargeRoom: ::libc::c_uint = 2;
pub const kReverbRoomType_MediumHall: ::libc::c_uint = 3;
pub const kReverbRoomType_LargeHall: ::libc::c_uint = 4;
pub const kReverbRoomType_Plate: ::libc::c_uint = 5;
pub const kReverbRoomType_MediumChamber: ::libc::c_uint = 6;
pub const kReverbRoomType_LargeChamber: ::libc::c_uint = 7;
pub const kReverbRoomType_Cathedral: ::libc::c_uint = 8;
pub const kReverbRoomType_LargeRoom2: ::libc::c_uint = 9;
pub const kReverbRoomType_MediumHall2: ::libc::c_uint = 10;
pub const kReverbRoomType_MediumHall3: ::libc::c_uint = 11;
pub const kReverbRoomType_LargeHall2: ::libc::c_uint = 12;
pub type Enum_Unnamed212 = ::libc::c_uint;
pub const kSpatialMixerAttenuationCurve_Power: ::libc::c_uint = 0;
pub const kSpatialMixerAttenuationCurve_Exponential: ::libc::c_uint = 1;
pub const kSpatialMixerAttenuationCurve_Inverse: ::libc::c_uint = 2;
pub const kSpatialMixerAttenuationCurve_Linear: ::libc::c_uint = 3;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_MixerDistanceParams {
pub mReferenceDistance: Float32,
pub mMaxDistance: Float32,
pub mMaxAttenuation: Float32,
}
impl ::std::default::Default for Struct_MixerDistanceParams {
fn default() -> Struct_MixerDistanceParams {
unsafe { ::std::mem::zeroed() }
}
}
pub type MixerDistanceParams = Struct_MixerDistanceParams;
pub type Enum_Unnamed213 = ::libc::c_uint;
pub const kSpatialMixerRenderingFlags_InterAuralDelay: ::libc::c_uint = 1;
pub const kSpatialMixerRenderingFlags_DistanceAttenuation: ::libc::c_uint = 4;
pub type Enum_Unnamed214 = ::libc::c_uint;
pub const kAudioUnitProperty_3DMixerDistanceParams: ::libc::c_uint = 3010;
pub const kAudioUnitProperty_3DMixerAttenuationCurve: ::libc::c_uint = 3013;
pub const kAudioUnitProperty_DopplerShift: ::libc::c_uint = 3002;
pub const kAudioUnitProperty_3DMixerRenderingFlags: ::libc::c_uint = 3003;
pub const kAudioUnitProperty_3DMixerDistanceAtten: ::libc::c_uint = 3004;
pub const kAudioUnitProperty_ReverbPreset: ::libc::c_uint = 3012;
pub type Enum_Unnamed215 = ::libc::c_uint;
pub const k3DMixerRenderingFlags_InterAuralDelay: ::libc::c_uint = 1;
pub const k3DMixerRenderingFlags_DopplerShift: ::libc::c_uint = 2;
pub const k3DMixerRenderingFlags_DistanceAttenuation: ::libc::c_uint = 4;
pub const k3DMixerRenderingFlags_DistanceFilter: ::libc::c_uint = 8;
pub const k3DMixerRenderingFlags_DistanceDiffusion: ::libc::c_uint = 16;
pub const k3DMixerRenderingFlags_LinearDistanceAttenuation: ::libc::c_uint =
32;
pub const k3DMixerRenderingFlags_ConstantReverbBlend: ::libc::c_uint = 64;
pub type Enum_Unnamed216 = ::libc::c_uint;
pub const k3DMixerAttenuationCurve_Power: ::libc::c_uint = 0;
pub const k3DMixerAttenuationCurve_Exponential: ::libc::c_uint = 1;
pub const k3DMixerAttenuationCurve_Inverse: ::libc::c_uint = 2;
pub const k3DMixerAttenuationCurve_Linear: ::libc::c_uint = 3;
pub type Enum_Unnamed217 = ::libc::c_uint;
pub const kAudioUnitProperty_ScheduleAudioSlice: ::libc::c_uint = 3300;
pub const kAudioUnitProperty_ScheduleStartTimeStamp: ::libc::c_uint = 3301;
pub const kAudioUnitProperty_CurrentPlayTime: ::libc::c_uint = 3302;
pub type Enum_Unnamed218 = ::libc::c_uint;
pub const kScheduledAudioSliceFlag_Complete: ::libc::c_uint = 1;
pub const kScheduledAudioSliceFlag_BeganToRender: ::libc::c_uint = 2;
pub const kScheduledAudioSliceFlag_BeganToRenderLate: ::libc::c_uint = 4;
pub const kScheduledAudioSliceFlag_Loop: ::libc::c_uint = 8;
pub const kScheduledAudioSliceFlag_Interrupt: ::libc::c_uint = 16;
pub const kScheduledAudioSliceFlag_InterruptAtLoop: ::libc::c_uint = 32;
pub type ScheduledAudioSlice = Struct_ScheduledAudioSlice;
pub type ScheduledAudioSliceCompletionProc =
::std::option::Option<extern "C" fn
(userData: *mut ::libc::c_void,
bufferList: *mut ScheduledAudioSlice) -> ()>;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_ScheduledAudioSlice {
pub mTimeStamp: AudioTimeStamp,
pub mCompletionProc: ScheduledAudioSliceCompletionProc,
pub mCompletionProcUserData: *mut ::libc::c_void,
pub mFlags: UInt32,
pub mReserved: UInt32,
pub mReserved2: *mut ::libc::c_void,
pub mNumberFrames: UInt32,
pub mBufferList: *mut AudioBufferList,
}
impl ::std::default::Default for Struct_ScheduledAudioSlice {
fn default() -> Struct_ScheduledAudioSlice {
unsafe { ::std::mem::zeroed() }
}
}
pub type Enum_Unnamed219 = ::libc::c_uint;
pub const kAudioUnitProperty_ScheduledFileIDs: ::libc::c_uint = 3310;
pub const kAudioUnitProperty_ScheduledFileRegion: ::libc::c_uint = 3311;
pub const kAudioUnitProperty_ScheduledFilePrime: ::libc::c_uint = 3312;
pub const kAudioUnitProperty_ScheduledFileBufferSizeFrames: ::libc::c_uint =
3313;
pub const kAudioUnitProperty_ScheduledFileNumberBuffers: ::libc::c_uint =
3314;
pub type ScheduledAudioFileRegion = Struct_ScheduledAudioFileRegion;
pub type ScheduledAudioFileRegionCompletionProc =
::std::option::Option<extern "C" fn
(userData: *mut ::libc::c_void,
fileRegion: *mut ScheduledAudioFileRegion,
result: OSStatus) -> ()>;
pub enum Struct_OpaqueAudioFileID { }
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_ScheduledAudioFileRegion {
pub mTimeStamp: AudioTimeStamp,
pub mCompletionProc: ScheduledAudioFileRegionCompletionProc,
pub mCompletionProcUserData: *mut ::libc::c_void,
pub mAudioFile: *mut Struct_OpaqueAudioFileID,
pub mLoopCount: UInt32,
pub mStartFrame: SInt64,
pub mFramesToPlay: UInt32,
}
impl ::std::default::Default for Struct_ScheduledAudioFileRegion {
fn default() -> Struct_ScheduledAudioFileRegion {
unsafe { ::std::mem::zeroed() }
}
}
pub type Enum_Unnamed220 = ::libc::c_uint;
pub const kMusicDeviceProperty_UsesInternalReverb: ::libc::c_uint = 1005;
pub const kMusicDeviceProperty_SoundBankData: ::libc::c_uint = 1008;
pub const kMusicDeviceProperty_StreamFromDisk: ::libc::c_uint = 1011;
pub const kMusicDeviceProperty_SoundBankFSRef: ::libc::c_uint = 1012;
pub type Enum_Unnamed221 = ::libc::c_uint;
pub const kMusicDeviceProperty_InstrumentName: ::libc::c_uint = 1001;
pub const kMusicDeviceProperty_InstrumentNumber: ::libc::c_uint = 1004;
pub type Enum_Unnamed222 = ::libc::c_uint;
pub const kMusicDeviceProperty_InstrumentCount: ::libc::c_uint = 1000;
pub const kMusicDeviceProperty_BankName: ::libc::c_uint = 1007;
pub const kMusicDeviceProperty_SoundBankURL: ::libc::c_uint = 1100;
pub type Enum_Unnamed223 = ::libc::c_uint;
pub const kAUMIDISynthProperty_EnablePreload: ::libc::c_uint = 4119;
pub type Enum_Unnamed224 = ::libc::c_uint;
pub const kAUSamplerProperty_LoadInstrument: ::libc::c_uint = 4102;
pub const kAUSamplerProperty_LoadAudioFiles: ::libc::c_uint = 4101;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AUSamplerInstrumentData {
pub fileURL: CFURLRef,
pub instrumentType: UInt8,
pub bankMSB: UInt8,
pub bankLSB: UInt8,
pub presetID: UInt8,
}
impl ::std::default::Default for Struct_AUSamplerInstrumentData {
fn default() -> Struct_AUSamplerInstrumentData {
unsafe { ::std::mem::zeroed() }
}
}
pub type AUSamplerInstrumentData = Struct_AUSamplerInstrumentData;
pub type Enum_Unnamed225 = ::libc::c_uint;
pub const kInstrumentType_DLSPreset: ::libc::c_uint = 1;
pub const kInstrumentType_SF2Preset: ::libc::c_uint = 1;
pub const kInstrumentType_AUPreset: ::libc::c_uint = 2;
pub const kInstrumentType_Audiofile: ::libc::c_uint = 3;
pub const kInstrumentType_EXS24: ::libc::c_uint = 4;
pub type Enum_Unnamed226 = ::libc::c_uint;
pub const kAUSampler_DefaultPercussionBankMSB: ::libc::c_uint = 120;
pub const kAUSampler_DefaultMelodicBankMSB: ::libc::c_uint = 121;
pub const kAUSampler_DefaultBankLSB: ::libc::c_uint = 0;
pub type Enum_Unnamed227 = ::libc::c_uint;
pub const kAudioUnitProperty_DeferredRendererPullSize: ::libc::c_uint = 3320;
pub const kAudioUnitProperty_DeferredRendererExtraLatency: ::libc::c_uint =
3321;
pub const kAudioUnitProperty_DeferredRendererWaitFrames: ::libc::c_uint =
3322;
pub type Enum_Unnamed228 = ::libc::c_uint;
pub const kAUNetReceiveProperty_Hostname: ::libc::c_uint = 3511;
pub const kAUNetReceiveProperty_Password: ::libc::c_uint = 3512;
pub type Enum_Unnamed229 = ::libc::c_uint;
pub const kAUNetSendProperty_PortNum: ::libc::c_uint = 3513;
pub const kAUNetSendProperty_TransmissionFormat: ::libc::c_uint = 3514;
pub const kAUNetSendProperty_TransmissionFormatIndex: ::libc::c_uint = 3515;
pub const kAUNetSendProperty_ServiceName: ::libc::c_uint = 3516;
pub const kAUNetSendProperty_Disconnect: ::libc::c_uint = 3517;
pub const kAUNetSendProperty_Password: ::libc::c_uint = 3518;
pub type Enum_Unnamed230 = ::libc::c_uint;
pub const kAUNetSendPresetFormat_PCMFloat32: ::libc::c_uint = 0;
pub const kAUNetSendPresetFormat_PCMInt24: ::libc::c_uint = 1;
pub const kAUNetSendPresetFormat_PCMInt16: ::libc::c_uint = 2;
pub const kAUNetSendPresetFormat_Lossless24: ::libc::c_uint = 3;
pub const kAUNetSendPresetFormat_Lossless16: ::libc::c_uint = 4;
pub const kAUNetSendPresetFormat_ULaw: ::libc::c_uint = 5;
pub const kAUNetSendPresetFormat_IMA4: ::libc::c_uint = 6;
pub const kAUNetSendPresetFormat_AAC_128kbpspc: ::libc::c_uint = 7;
pub const kAUNetSendPresetFormat_AAC_96kbpspc: ::libc::c_uint = 8;
pub const kAUNetSendPresetFormat_AAC_80kbpspc: ::libc::c_uint = 9;
pub const kAUNetSendPresetFormat_AAC_64kbpspc: ::libc::c_uint = 10;
pub const kAUNetSendPresetFormat_AAC_48kbpspc: ::libc::c_uint = 11;
pub const kAUNetSendPresetFormat_AAC_40kbpspc: ::libc::c_uint = 12;
pub const kAUNetSendPresetFormat_AAC_32kbpspc: ::libc::c_uint = 13;
pub const kAUNetSendPresetFormat_AAC_LD_64kbpspc: ::libc::c_uint = 14;
pub const kAUNetSendPresetFormat_AAC_LD_48kbpspc: ::libc::c_uint = 15;
pub const kAUNetSendPresetFormat_AAC_LD_40kbpspc: ::libc::c_uint = 16;
pub const kAUNetSendPresetFormat_AAC_LD_32kbpspc: ::libc::c_uint = 17;
pub const kAUNetSendNumPresetFormats: ::libc::c_uint = 18;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AUNumVersion {
pub nonRelRev: UInt8,
pub stage: UInt8,
pub minorAndBugRev: UInt8,
pub majorRev: UInt8,
}
impl ::std::default::Default for Struct_AUNumVersion {
fn default() -> Struct_AUNumVersion { unsafe { ::std::mem::zeroed() } }
}
pub type AUNumVersion = Struct_AUNumVersion;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AUHostIdentifier {
pub hostName: CFStringRef,
pub hostVersion: AUNumVersion,
}
impl ::std::default::Default for Struct_AUHostIdentifier {
fn default() -> Struct_AUHostIdentifier {
unsafe { ::std::mem::zeroed() }
}
}
pub type AUHostIdentifier = Struct_AUHostIdentifier;
pub type Enum_Unnamed231 = ::libc::c_uint;
pub const kAudioUnitParameterFlag_Global: ::libc::c_uint = 1;
pub const kAudioUnitParameterFlag_Input: ::libc::c_uint = 2;
pub const kAudioUnitParameterFlag_Output: ::libc::c_uint = 4;
pub const kAudioUnitParameterFlag_Group: ::libc::c_uint = 8;
pub type Enum_Unnamed232 = ::libc::c_uint;
pub const kAudioUnitParameterFlag_HasName: ::libc::c_uint = 2097152;
pub type Enum_Unnamed233 = ::libc::c_uint;
pub const kAudioUnitProperty_SRCAlgorithm: ::libc::c_uint = 9;
pub const kAudioUnitProperty_MIDIControlMapping: ::libc::c_uint = 17;
pub const kAudioUnitProperty_CurrentPreset: ::libc::c_uint = 28;
pub const kAudioUnitProperty_ParameterValueName: ::libc::c_uint = 33;
pub const kAudioUnitProperty_BusCount: ::libc::c_uint = 11;
pub const kAudioOfflineUnitProperty_InputSize: ::libc::c_uint = 3020;
pub const kAudioOfflineUnitProperty_OutputSize: ::libc::c_uint = 3021;
pub type Enum_Unnamed234 = ::libc::c_uint;
pub const kAudioUnitSRCAlgorithm_Polyphase: ::libc::c_uint = 1886350457;
pub const kAudioUnitSRCAlgorithm_MediumQuality: ::libc::c_uint = 1668510307;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitMIDIControlMapping {
pub midiNRPN: UInt16,
pub midiControl: UInt8,
pub scope: UInt8,
pub element: AudioUnitElement,
pub parameter: AudioUnitParameterID,
}
impl ::std::default::Default for Struct_AudioUnitMIDIControlMapping {
fn default() -> Struct_AudioUnitMIDIControlMapping {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitMIDIControlMapping = Struct_AudioUnitMIDIControlMapping;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioUnitParameterValueName {
pub inParamID: AudioUnitParameterID,
pub inValue: *const Float32,
pub outName: CFStringRef,
}
impl ::std::default::Default for Struct_AudioUnitParameterValueName {
fn default() -> Struct_AudioUnitParameterValueName {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioUnitParameterValueName = Struct_AudioUnitParameterValueName;
pub type Enum_Unnamed235 = ::libc::c_uint;
pub const kMusicDeviceProperty_GroupOutputBus: ::libc::c_uint = 1002;
pub const kMusicDeviceProperty_SoundBankFSSpec: ::libc::c_uint = 1003;
pub const kAudioUnitProperty_PannerMode: ::libc::c_uint = 3008;
pub type Enum_Unnamed236 = ::libc::c_uint;
pub const kAudioUnitProperty_SpeakerConfiguration: ::libc::c_uint = 3001;
pub type Enum_Unnamed237 = ::libc::c_uint;
pub const kSpeakerConfiguration_HeadPhones: ::libc::c_uint = 0;
pub const kSpeakerConfiguration_Stereo: ::libc::c_uint = 1;
pub const kSpeakerConfiguration_Quad: ::libc::c_uint = 2;
pub const kSpeakerConfiguration_5_0: ::libc::c_uint = 3;
pub const kSpeakerConfiguration_5_1: ::libc::c_uint = 3;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AUSamplerBankPresetData {
pub bankURL: CFURLRef,
pub bankMSB: UInt8,
pub bankLSB: UInt8,
pub presetID: UInt8,
pub reserved: UInt8,
}
impl ::std::default::Default for Struct_AUSamplerBankPresetData {
fn default() -> Struct_AUSamplerBankPresetData {
unsafe { ::std::mem::zeroed() }
}
}
pub type AUSamplerBankPresetData = Struct_AUSamplerBankPresetData;
pub type Enum_Unnamed238 = ::libc::c_uint;
pub const kAUSamplerProperty_LoadPresetFromBank: ::libc::c_uint = 4100;
pub const kAUSamplerProperty_BankAndPreset: ::libc::c_uint = 4100;
pub type Enum_Unnamed239 = ::libc::c_uint;
pub const kAUGroupParameterID_Volume: ::libc::c_uint = 7;
pub const kAUGroupParameterID_Sustain: ::libc::c_uint = 64;
pub const kAUGroupParameterID_Sostenuto: ::libc::c_uint = 66;
pub const kAUGroupParameterID_AllNotesOff: ::libc::c_uint = 123;
pub const kAUGroupParameterID_ModWheel: ::libc::c_uint = 1;
pub const kAUGroupParameterID_PitchBend: ::libc::c_uint = 224;
pub const kAUGroupParameterID_AllSoundOff: ::libc::c_uint = 120;
pub const kAUGroupParameterID_ResetAllControllers: ::libc::c_uint = 121;
pub const kAUGroupParameterID_Pan: ::libc::c_uint = 10;
pub const kAUGroupParameterID_Foot: ::libc::c_uint = 4;
pub const kAUGroupParameterID_ChannelPressure: ::libc::c_uint = 208;
pub const kAUGroupParameterID_KeyPressure: ::libc::c_uint = 160;
pub const kAUGroupParameterID_Expression: ::libc::c_uint = 11;
pub const kAUGroupParameterID_DataEntry: ::libc::c_uint = 6;
pub const kAUGroupParameterID_Volume_LSB: ::libc::c_uint = 39;
pub const kAUGroupParameterID_ModWheel_LSB: ::libc::c_uint = 33;
pub const kAUGroupParameterID_Pan_LSB: ::libc::c_uint = 42;
pub const kAUGroupParameterID_Foot_LSB: ::libc::c_uint = 36;
pub const kAUGroupParameterID_Expression_LSB: ::libc::c_uint = 43;
pub const kAUGroupParameterID_DataEntry_LSB: ::libc::c_uint = 38;
pub const kAUGroupParameterID_KeyPressure_FirstKey: ::libc::c_uint = 256;
pub const kAUGroupParameterID_KeyPressure_LastKey: ::libc::c_uint = 383;
pub type Enum_Unnamed240 = ::libc::c_uint;
pub const kPannerParam_Gain: ::libc::c_uint = 0;
pub const kPannerParam_Azimuth: ::libc::c_uint = 1;
pub const kPannerParam_Elevation: ::libc::c_uint = 2;
pub const kPannerParam_Distance: ::libc::c_uint = 3;
pub const kPannerParam_CoordScale: ::libc::c_uint = 4;
pub const kPannerParam_RefDistance: ::libc::c_uint = 5;
pub type Enum_Unnamed241 = ::libc::c_uint;
pub const kSpatialMixerParam_Azimuth: ::libc::c_uint = 0;
pub const kSpatialMixerParam_Elevation: ::libc::c_uint = 1;
pub const kSpatialMixerParam_Distance: ::libc::c_uint = 2;
pub const kSpatialMixerParam_Gain: ::libc::c_uint = 3;
pub const kSpatialMixerParam_PlaybackRate: ::libc::c_uint = 4;
pub const kSpatialMixerParam_Enable: ::libc::c_uint = 5;
pub const kSpatialMixerParam_MinGain: ::libc::c_uint = 6;
pub const kSpatialMixerParam_MaxGain: ::libc::c_uint = 7;
pub const kSpatialMixerParam_ReverbBlend: ::libc::c_uint = 8;
pub const kSpatialMixerParam_GlobalReverbGain: ::libc::c_uint = 9;
pub const kSpatialMixerParam_OcclusionAttenuation: ::libc::c_uint = 10;
pub const kSpatialMixerParam_ObstructionAttenuation: ::libc::c_uint = 11;
pub type Enum_Unnamed242 = ::libc::c_uint;
pub const kReverbParam_FilterFrequency: ::libc::c_uint = 14;
pub const kReverbParam_FilterBandwidth: ::libc::c_uint = 15;
pub const kReverbParam_FilterGain: ::libc::c_uint = 16;
pub const kReverbParam_FilterType: ::libc::c_uint = 17;
pub const kReverbParam_FilterEnable: ::libc::c_uint = 18;
pub type Enum_Unnamed243 = ::libc::c_uint;
pub const k3DMixerParam_Azimuth: ::libc::c_uint = 0;
pub const k3DMixerParam_Elevation: ::libc::c_uint = 1;
pub const k3DMixerParam_Distance: ::libc::c_uint = 2;
pub const k3DMixerParam_Gain: ::libc::c_uint = 3;
pub const k3DMixerParam_PlaybackRate: ::libc::c_uint = 4;
pub const k3DMixerParam_ReverbBlend: ::libc::c_uint = 5;
pub const k3DMixerParam_GlobalReverbGain: ::libc::c_uint = 6;
pub const k3DMixerParam_OcclusionAttenuation: ::libc::c_uint = 7;
pub const k3DMixerParam_ObstructionAttenuation: ::libc::c_uint = 8;
pub const k3DMixerParam_MinGain: ::libc::c_uint = 9;
pub const k3DMixerParam_MaxGain: ::libc::c_uint = 10;
pub const k3DMixerParam_PreAveragePower: ::libc::c_uint = 1000;
pub const k3DMixerParam_PrePeakHoldLevel: ::libc::c_uint = 2000;
pub const k3DMixerParam_PostAveragePower: ::libc::c_uint = 3000;
pub const k3DMixerParam_PostPeakHoldLevel: ::libc::c_uint = 4000;
pub type Enum_Unnamed244 = ::libc::c_uint;
pub const kMultiChannelMixerParam_Volume: ::libc::c_uint = 0;
pub const kMultiChannelMixerParam_Enable: ::libc::c_uint = 1;
pub const kMultiChannelMixerParam_Pan: ::libc::c_uint = 2;
pub const kMultiChannelMixerParam_PreAveragePower: ::libc::c_uint = 1000;
pub const kMultiChannelMixerParam_PrePeakHoldLevel: ::libc::c_uint = 2000;
pub const kMultiChannelMixerParam_PostAveragePower: ::libc::c_uint = 3000;
pub const kMultiChannelMixerParam_PostPeakHoldLevel: ::libc::c_uint = 4000;
pub type Enum_Unnamed245 = ::libc::c_uint;
pub const kMatrixMixerParam_Volume: ::libc::c_uint = 0;
pub const kMatrixMixerParam_Enable: ::libc::c_uint = 1;
pub const kMatrixMixerParam_PreAveragePower: ::libc::c_uint = 1000;
pub const kMatrixMixerParam_PrePeakHoldLevel: ::libc::c_uint = 2000;
pub const kMatrixMixerParam_PostAveragePower: ::libc::c_uint = 3000;
pub const kMatrixMixerParam_PostPeakHoldLevel: ::libc::c_uint = 4000;
pub const kMatrixMixerParam_PreAveragePowerLinear: ::libc::c_uint = 5000;
pub const kMatrixMixerParam_PrePeakHoldLevelLinear: ::libc::c_uint = 6000;
pub const kMatrixMixerParam_PostAveragePowerLinear: ::libc::c_uint = 7000;
pub const kMatrixMixerParam_PostPeakHoldLevelLinear: ::libc::c_uint = 8000;
pub type Enum_Unnamed246 = ::libc::c_uint;
pub const kHALOutputParam_Volume: ::libc::c_uint = 14;
pub type Enum_Unnamed247 = ::libc::c_uint;
pub const kTimePitchParam_Rate: ::libc::c_uint = 0;
pub const kTimePitchParam_Pitch: ::libc::c_uint = 1;
pub const kTimePitchParam_EffectBlend: ::libc::c_uint = 2;
pub type Enum_Unnamed248 = ::libc::c_uint;
pub const kNewTimePitchParam_Rate: ::libc::c_uint = 0;
pub const kNewTimePitchParam_Pitch: ::libc::c_uint = 1;
pub const kNewTimePitchParam_Overlap: ::libc::c_uint = 4;
pub const kNewTimePitchParam_EnablePeakLocking: ::libc::c_uint = 6;
pub type Enum_Unnamed249 = ::libc::c_uint;
pub const kAUSamplerParam_Gain: ::libc::c_uint = 900;
pub const kAUSamplerParam_CoarseTuning: ::libc::c_uint = 901;
pub const kAUSamplerParam_FineTuning: ::libc::c_uint = 902;
pub const kAUSamplerParam_Pan: ::libc::c_uint = 903;
pub type Enum_Unnamed250 = ::libc::c_uint;
pub const kBandpassParam_CenterFrequency: ::libc::c_uint = 0;
pub const kBandpassParam_Bandwidth: ::libc::c_uint = 1;
pub type Enum_Unnamed251 = ::libc::c_uint;
pub const kHipassParam_CutoffFrequency: ::libc::c_uint = 0;
pub const kHipassParam_Resonance: ::libc::c_uint = 1;
pub type Enum_Unnamed252 = ::libc::c_uint;
pub const kLowPassParam_CutoffFrequency: ::libc::c_uint = 0;
pub const kLowPassParam_Resonance: ::libc::c_uint = 1;
pub type Enum_Unnamed253 = ::libc::c_uint;
pub const kHighShelfParam_CutOffFrequency: ::libc::c_uint = 0;
pub const kHighShelfParam_Gain: ::libc::c_uint = 1;
pub type Enum_Unnamed254 = ::libc::c_uint;
pub const kAULowShelfParam_CutoffFrequency: ::libc::c_uint = 0;
pub const kAULowShelfParam_Gain: ::libc::c_uint = 1;
pub type Enum_Unnamed255 = ::libc::c_uint;
pub const kParametricEQParam_CenterFreq: ::libc::c_uint = 0;
pub const kParametricEQParam_Q: ::libc::c_uint = 1;
pub const kParametricEQParam_Gain: ::libc::c_uint = 2;
pub type Enum_Unnamed256 = ::libc::c_uint;
pub const kLimiterParam_AttackTime: ::libc::c_uint = 0;
pub const kLimiterParam_DecayTime: ::libc::c_uint = 1;
pub const kLimiterParam_PreGain: ::libc::c_uint = 2;
pub type Enum_Unnamed257 = ::libc::c_uint;
pub const kDynamicsProcessorParam_Threshold: ::libc::c_uint = 0;
pub const kDynamicsProcessorParam_HeadRoom: ::libc::c_uint = 1;
pub const kDynamicsProcessorParam_ExpansionRatio: ::libc::c_uint = 2;
pub const kDynamicsProcessorParam_ExpansionThreshold: ::libc::c_uint = 3;
pub const kDynamicsProcessorParam_AttackTime: ::libc::c_uint = 4;
pub const kDynamicsProcessorParam_ReleaseTime: ::libc::c_uint = 5;
pub const kDynamicsProcessorParam_MasterGain: ::libc::c_uint = 6;
pub const kDynamicsProcessorParam_CompressionAmount: ::libc::c_uint = 1000;
pub const kDynamicsProcessorParam_InputAmplitude: ::libc::c_uint = 2000;
pub const kDynamicsProcessorParam_OutputAmplitude: ::libc::c_uint = 3000;
pub type Enum_Unnamed258 = ::libc::c_uint;
pub const kVarispeedParam_PlaybackRate: ::libc::c_uint = 0;
pub const kVarispeedParam_PlaybackCents: ::libc::c_uint = 1;
pub type Enum_Unnamed259 = ::libc::c_uint;
pub const kDistortionParam_Delay: ::libc::c_uint = 0;
pub const kDistortionParam_Decay: ::libc::c_uint = 1;
pub const kDistortionParam_DelayMix: ::libc::c_uint = 2;
pub const kDistortionParam_Decimation: ::libc::c_uint = 3;
pub const kDistortionParam_Rounding: ::libc::c_uint = 4;
pub const kDistortionParam_DecimationMix: ::libc::c_uint = 5;
pub const kDistortionParam_LinearTerm: ::libc::c_uint = 6;
pub const kDistortionParam_SquaredTerm: ::libc::c_uint = 7;
pub const kDistortionParam_CubicTerm: ::libc::c_uint = 8;
pub const kDistortionParam_PolynomialMix: ::libc::c_uint = 9;
pub const kDistortionParam_RingModFreq1: ::libc::c_uint = 10;
pub const kDistortionParam_RingModFreq2: ::libc::c_uint = 11;
pub const kDistortionParam_RingModBalance: ::libc::c_uint = 12;
pub const kDistortionParam_RingModMix: ::libc::c_uint = 13;
pub const kDistortionParam_SoftClipGain: ::libc::c_uint = 14;
pub const kDistortionParam_FinalMix: ::libc::c_uint = 15;
pub type Enum_Unnamed260 = ::libc::c_uint;
pub const kDelayParam_WetDryMix: ::libc::c_uint = 0;
pub const kDelayParam_DelayTime: ::libc::c_uint = 1;
pub const kDelayParam_Feedback: ::libc::c_uint = 2;
pub const kDelayParam_LopassCutoff: ::libc::c_uint = 3;
pub type Enum_Unnamed261 = ::libc::c_uint;
pub const kAUNBandEQParam_GlobalGain: ::libc::c_uint = 0;
pub const kAUNBandEQParam_BypassBand: ::libc::c_uint = 1000;
pub const kAUNBandEQParam_FilterType: ::libc::c_uint = 2000;
pub const kAUNBandEQParam_Frequency: ::libc::c_uint = 3000;
pub const kAUNBandEQParam_Gain: ::libc::c_uint = 4000;
pub const kAUNBandEQParam_Bandwidth: ::libc::c_uint = 5000;
pub type Enum_Unnamed262 = ::libc::c_uint;
pub const kAUNBandEQFilterType_Parametric: ::libc::c_uint = 0;
pub const kAUNBandEQFilterType_2ndOrderButterworthLowPass: ::libc::c_uint = 1;
pub const kAUNBandEQFilterType_2ndOrderButterworthHighPass: ::libc::c_uint =
2;
pub const kAUNBandEQFilterType_ResonantLowPass: ::libc::c_uint = 3;
pub const kAUNBandEQFilterType_ResonantHighPass: ::libc::c_uint = 4;
pub const kAUNBandEQFilterType_BandPass: ::libc::c_uint = 5;
pub const kAUNBandEQFilterType_BandStop: ::libc::c_uint = 6;
pub const kAUNBandEQFilterType_LowShelf: ::libc::c_uint = 7;
pub const kAUNBandEQFilterType_HighShelf: ::libc::c_uint = 8;
pub const kAUNBandEQFilterType_ResonantLowShelf: ::libc::c_uint = 9;
pub const kAUNBandEQFilterType_ResonantHighShelf: ::libc::c_uint = 10;
pub const kNumAUNBandEQFilterTypes: ::libc::c_uint = 11;
pub type Enum_Unnamed263 = ::libc::c_uint;
pub const kRoundTripAACParam_Format: ::libc::c_uint = 0;
pub const kRoundTripAACParam_EncodingStrategy: ::libc::c_uint = 1;
pub const kRoundTripAACParam_RateOrQuality: ::libc::c_uint = 2;
pub const kRoundTripAACParam_BitRate: ::libc::c_uint = 1;
pub const kRoundTripAACParam_Quality: ::libc::c_uint = 2;
pub const kRoundTripAACParam_CompressedFormatSampleRate: ::libc::c_uint = 3;
pub type Enum_Unnamed264 = ::libc::c_uint;
pub const kGraphicEQParam_NumberOfBands: ::libc::c_uint = 10000;
pub type Enum_Unnamed265 = ::libc::c_uint;
pub const kReverbParam_DryWetMix: ::libc::c_uint = 0;
pub const kReverbParam_SmallLargeMix: ::libc::c_uint = 1;
pub const kReverbParam_SmallSize: ::libc::c_uint = 2;
pub const kReverbParam_LargeSize: ::libc::c_uint = 3;
pub const kReverbParam_PreDelay: ::libc::c_uint = 4;
pub const kReverbParam_LargeDelay: ::libc::c_uint = 5;
pub const kReverbParam_SmallDensity: ::libc::c_uint = 6;
pub const kReverbParam_LargeDensity: ::libc::c_uint = 7;
pub const kReverbParam_LargeDelayRange: ::libc::c_uint = 8;
pub const kReverbParam_SmallBrightness: ::libc::c_uint = 9;
pub const kReverbParam_LargeBrightness: ::libc::c_uint = 10;
pub const kReverbParam_SmallDelayRange: ::libc::c_uint = 11;
pub const kReverbParam_ModulationRate: ::libc::c_uint = 12;
pub const kReverbParam_ModulationDepth: ::libc::c_uint = 13;
pub type Enum_Unnamed266 = ::libc::c_uint;
pub const kMultibandCompressorParam_Pregain: ::libc::c_uint = 0;
pub const kMultibandCompressorParam_Postgain: ::libc::c_uint = 1;
pub const kMultibandCompressorParam_Crossover1: ::libc::c_uint = 2;
pub const kMultibandCompressorParam_Crossover2: ::libc::c_uint = 3;
pub const kMultibandCompressorParam_Crossover3: ::libc::c_uint = 4;
pub const kMultibandCompressorParam_Threshold1: ::libc::c_uint = 5;
pub const kMultibandCompressorParam_Threshold2: ::libc::c_uint = 6;
pub const kMultibandCompressorParam_Threshold3: ::libc::c_uint = 7;
pub const kMultibandCompressorParam_Threshold4: ::libc::c_uint = 8;
pub const kMultibandCompressorParam_Headroom1: ::libc::c_uint = 9;
pub const kMultibandCompressorParam_Headroom2: ::libc::c_uint = 10;
pub const kMultibandCompressorParam_Headroom3: ::libc::c_uint = 11;
pub const kMultibandCompressorParam_Headroom4: ::libc::c_uint = 12;
pub const kMultibandCompressorParam_AttackTime: ::libc::c_uint = 13;
pub const kMultibandCompressorParam_ReleaseTime: ::libc::c_uint = 14;
pub const kMultibandCompressorParam_EQ1: ::libc::c_uint = 15;
pub const kMultibandCompressorParam_EQ2: ::libc::c_uint = 16;
pub const kMultibandCompressorParam_EQ3: ::libc::c_uint = 17;
pub const kMultibandCompressorParam_EQ4: ::libc::c_uint = 18;
pub const kMultibandCompressorParam_CompressionAmount1: ::libc::c_uint = 1000;
pub const kMultibandCompressorParam_CompressionAmount2: ::libc::c_uint = 2000;
pub const kMultibandCompressorParam_CompressionAmount3: ::libc::c_uint = 3000;
pub const kMultibandCompressorParam_CompressionAmount4: ::libc::c_uint = 4000;
pub const kMultibandCompressorParam_InputAmplitude1: ::libc::c_uint = 5000;
pub const kMultibandCompressorParam_InputAmplitude2: ::libc::c_uint = 6000;
pub const kMultibandCompressorParam_InputAmplitude3: ::libc::c_uint = 7000;
pub const kMultibandCompressorParam_InputAmplitude4: ::libc::c_uint = 8000;
pub const kMultibandCompressorParam_OutputAmplitude1: ::libc::c_uint = 9000;
pub const kMultibandCompressorParam_OutputAmplitude2: ::libc::c_uint = 10000;
pub const kMultibandCompressorParam_OutputAmplitude3: ::libc::c_uint = 11000;
pub const kMultibandCompressorParam_OutputAmplitude4: ::libc::c_uint = 12000;
pub type Enum_Unnamed267 = ::libc::c_uint;
pub const kMultibandFilter_LowFilterType: ::libc::c_uint = 0;
pub const kMultibandFilter_LowFrequency: ::libc::c_uint = 1;
pub const kMultibandFilter_LowGain: ::libc::c_uint = 2;
pub const kMultibandFilter_CenterFreq1: ::libc::c_uint = 3;
pub const kMultibandFilter_CenterGain1: ::libc::c_uint = 4;
pub const kMultibandFilter_Bandwidth1: ::libc::c_uint = 5;
pub const kMultibandFilter_CenterFreq2: ::libc::c_uint = 6;
pub const kMultibandFilter_CenterGain2: ::libc::c_uint = 7;
pub const kMultibandFilter_Bandwidth2: ::libc::c_uint = 8;
pub const kMultibandFilter_CenterFreq3: ::libc::c_uint = 9;
pub const kMultibandFilter_CenterGain3: ::libc::c_uint = 10;
pub const kMultibandFilter_Bandwidth3: ::libc::c_uint = 11;
pub const kMultibandFilter_HighFilterType: ::libc::c_uint = 12;
pub const kMultibandFilter_HighFrequency: ::libc::c_uint = 13;
pub const kMultibandFilter_HighGain: ::libc::c_uint = 14;
pub type Enum_Unnamed268 = ::libc::c_uint;
pub const kRogerBeepParam_InGateThreshold: ::libc::c_uint = 0;
pub const kRogerBeepParam_InGateThresholdTime: ::libc::c_uint = 1;
pub const kRogerBeepParam_OutGateThreshold: ::libc::c_uint = 2;
pub const kRogerBeepParam_OutGateThresholdTime: ::libc::c_uint = 3;
pub const kRogerBeepParam_Sensitivity: ::libc::c_uint = 4;
pub const kRogerBeepParam_RogerType: ::libc::c_uint = 5;
pub const kRogerBeepParam_RogerGain: ::libc::c_uint = 6;
pub type Enum_Unnamed269 = ::libc::c_uint;
pub const kStereoMixerParam_Volume: ::libc::c_uint = 0;
pub const kStereoMixerParam_Pan: ::libc::c_uint = 1;
pub const kStereoMixerParam_PreAveragePower: ::libc::c_uint = 1000;
pub const kStereoMixerParam_PrePeakHoldLevel: ::libc::c_uint = 2000;
pub const kStereoMixerParam_PostAveragePower: ::libc::c_uint = 3000;
pub const kStereoMixerParam_PostPeakHoldLevel: ::libc::c_uint = 4000;
pub type Enum_Unnamed270 = ::libc::c_uint;
pub const kAUNetReceiveParam_Status: ::libc::c_uint = 0;
pub const kAUNetReceiveParam_NumParameters: ::libc::c_uint = 1;
pub type Enum_Unnamed271 = ::libc::c_uint;
pub const kAUNetSendParam_Status: ::libc::c_uint = 0;
pub const kAUNetSendParam_NumParameters: ::libc::c_uint = 1;
pub type Enum_Unnamed272 = ::libc::c_uint;
pub const kAUNetStatus_NotConnected: ::libc::c_uint = 0;
pub const kAUNetStatus_Connected: ::libc::c_uint = 1;
pub const kAUNetStatus_Overflow: ::libc::c_uint = 2;
pub const kAUNetStatus_Underflow: ::libc::c_uint = 3;
pub const kAUNetStatus_Connecting: ::libc::c_uint = 4;
pub const kAUNetStatus_Listening: ::libc::c_uint = 5;
pub type Enum_Unnamed273 = ::libc::c_uint;
pub const kMusicDeviceParam_Tuning: ::libc::c_uint = 0;
pub const kMusicDeviceParam_Volume: ::libc::c_uint = 1;
pub const kMusicDeviceParam_ReverbVolume: ::libc::c_uint = 2;
pub type Enum_Unnamed274 = ::libc::c_uint;
pub const kRandomParam_BoundA: ::libc::c_uint = 0;
pub const kRandomParam_BoundB: ::libc::c_uint = 1;
pub const kRandomParam_Curve: ::libc::c_uint = 2;
pub type MusicDeviceInstrumentID = UInt32;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_MusicDeviceStdNoteParams {
pub argCount: UInt32,
pub mPitch: Float32,
pub mVelocity: Float32,
}
impl ::std::default::Default for Struct_MusicDeviceStdNoteParams {
fn default() -> Struct_MusicDeviceStdNoteParams {
unsafe { ::std::mem::zeroed() }
}
}
pub type MusicDeviceStdNoteParams = Struct_MusicDeviceStdNoteParams;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_NoteParamsControlValue {
pub mID: AudioUnitParameterID,
pub mValue: AudioUnitParameterValue,
}
impl ::std::default::Default for Struct_NoteParamsControlValue {
fn default() -> Struct_NoteParamsControlValue {
unsafe { ::std::mem::zeroed() }
}
}
pub type NoteParamsControlValue = Struct_NoteParamsControlValue;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_MusicDeviceNoteParams {
pub argCount: UInt32,
pub mPitch: Float32,
pub mVelocity: Float32,
pub mControls: [NoteParamsControlValue; 1usize],
}
impl ::std::default::Default for Struct_MusicDeviceNoteParams {
fn default() -> Struct_MusicDeviceNoteParams {
unsafe { ::std::mem::zeroed() }
}
}
pub type MusicDeviceNoteParams = Struct_MusicDeviceNoteParams;
pub type Enum_Unnamed275 = ::libc::c_uint;
pub const kMusicNoteEvent_UseGroupInstrument: ::libc::c_uint = ::std::u32::MAX;
pub const kMusicNoteEvent_Unused: ::libc::c_uint = ::std::u32::MAX;
pub type MusicDeviceGroupID = UInt32;
pub type NoteInstanceID = UInt32;
pub type MusicDeviceComponent = AudioComponentInstance;
pub type Enum_Unnamed276 = ::libc::c_uint;
pub const kMusicDeviceRange: ::libc::c_uint = 256;
pub const kMusicDeviceMIDIEventSelect: ::libc::c_uint = 257;
pub const kMusicDeviceSysExSelect: ::libc::c_uint = 258;
pub const kMusicDevicePrepareInstrumentSelect: ::libc::c_uint = 259;
pub const kMusicDeviceReleaseInstrumentSelect: ::libc::c_uint = 260;
pub const kMusicDeviceStartNoteSelect: ::libc::c_uint = 261;
pub const kMusicDeviceStopNoteSelect: ::libc::c_uint = 262;
pub type MusicDeviceMIDIEventProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void, inStatus: UInt32,
inData1: UInt32, inData2: UInt32,
inOffsetSampleFrame: UInt32) -> OSStatus>;
pub type MusicDeviceSysExProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
inData: *const UInt8, inLength: UInt32)
-> OSStatus>;
pub type MusicDeviceStartNoteProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
inInstrument: MusicDeviceInstrumentID,
inGroupID: MusicDeviceGroupID,
outNoteInstanceID: *mut NoteInstanceID,
inOffsetSampleFrame: UInt32,
inParams: *const MusicDeviceNoteParams)
-> OSStatus>;
pub type MusicDeviceStopNoteProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
inGroupID: MusicDeviceGroupID,
inNoteInstanceID: NoteInstanceID,
inOffsetSampleFrame: UInt32) -> OSStatus>;
pub type AudioCodec = AudioComponentInstance;
pub type AudioCodecPropertyID = UInt32;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioCodecMagicCookieInfo {
pub mMagicCookieSize: UInt32,
pub mMagicCookie: *const ::libc::c_void,
}
impl ::std::default::Default for Struct_AudioCodecMagicCookieInfo {
fn default() -> Struct_AudioCodecMagicCookieInfo {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioCodecMagicCookieInfo = Struct_AudioCodecMagicCookieInfo;
pub type Enum_Unnamed277 = ::libc::c_uint;
pub const kAudioDecoderComponentType: ::libc::c_uint = 1633969507;
pub const kAudioEncoderComponentType: ::libc::c_uint = 1634037347;
pub const kAudioUnityCodecComponentType: ::libc::c_uint = 1633903715;
pub type Enum_Unnamed278 = ::libc::c_uint;
pub const kAudioCodecPropertySupportedInputFormats: ::libc::c_uint =
1768320291;
pub const kAudioCodecPropertySupportedOutputFormats: ::libc::c_uint =
1868983587;
pub const kAudioCodecPropertyAvailableInputSampleRates: ::libc::c_uint =
1634300786;
pub const kAudioCodecPropertyAvailableOutputSampleRates: ::libc::c_uint =
1634694002;
pub const kAudioCodecPropertyAvailableBitRateRange: ::libc::c_uint =
1633841780;
pub const kAudioCodecPropertyMinimumNumberInputPackets: ::libc::c_uint =
1835952496;
pub const kAudioCodecPropertyMinimumNumberOutputPackets: ::libc::c_uint =
1835954032;
pub const kAudioCodecPropertyAvailableNumberChannels: ::libc::c_uint =
1668116067;
pub const kAudioCodecPropertyDoesSampleRateConversion: ::libc::c_uint =
1819112035;
pub const kAudioCodecPropertyAvailableInputChannelLayoutTags: ::libc::c_uint =
1634296684;
pub const kAudioCodecPropertyAvailableOutputChannelLayoutTags: ::libc::c_uint
=
1634689900;
pub const kAudioCodecPropertyInputFormatsForOutputFormat: ::libc::c_uint =
1768305775;
pub const kAudioCodecPropertyOutputFormatsForInputFormat: ::libc::c_uint =
1868969065;
pub const kAudioCodecPropertyFormatInfo: ::libc::c_uint = 1633904233;
pub type Enum_Unnamed279 = ::libc::c_uint;
pub const kAudioCodecPropertyInputBufferSize: ::libc::c_uint = 1952609638;
pub const kAudioCodecPropertyPacketFrameSize: ::libc::c_uint = 1885432678;
pub const kAudioCodecPropertyHasVariablePacketByteSizes: ::libc::c_uint =
1987078975;
pub const kAudioCodecPropertyMaximumPacketByteSize: ::libc::c_uint =
1885432674;
pub const kAudioCodecPropertyPacketSizeLimitForVBR: ::libc::c_uint =
1885432684;
pub const kAudioCodecPropertyCurrentInputFormat: ::libc::c_uint = 1768320372;
pub const kAudioCodecPropertyCurrentOutputFormat: ::libc::c_uint = 1868983668;
pub const kAudioCodecPropertyMagicCookie: ::libc::c_uint = 1802857321;
pub const kAudioCodecPropertyUsedInputBufferSize: ::libc::c_uint = 1969386854;
pub const kAudioCodecPropertyIsInitialized: ::libc::c_uint = 1768843636;
pub const kAudioCodecPropertyCurrentTargetBitRate: ::libc::c_uint =
1651663220;
pub const kAudioCodecPropertyCurrentInputSampleRate: ::libc::c_uint =
1667855218;
pub const kAudioCodecPropertyCurrentOutputSampleRate: ::libc::c_uint =
1668248434;
pub const kAudioCodecPropertyQualitySetting: ::libc::c_uint = 1936876401;
pub const kAudioCodecPropertyApplicableBitRateRange: ::libc::c_uint =
1651668065;
pub const kAudioCodecPropertyRecommendedBitRateRange: ::libc::c_uint =
1651668082;
pub const kAudioCodecPropertyApplicableInputSampleRates: ::libc::c_uint =
1769173601;
pub const kAudioCodecPropertyApplicableOutputSampleRates: ::libc::c_uint =
1869836897;
pub const kAudioCodecPropertyPaddedZeros: ::libc::c_uint = 1885430832;
pub const kAudioCodecPropertyPrimeMethod: ::libc::c_uint = 1886547309;
pub const kAudioCodecPropertyPrimeInfo: ::libc::c_uint = 1886546285;
pub const kAudioCodecPropertyCurrentInputChannelLayout: ::libc::c_uint =
1768123424;
pub const kAudioCodecPropertyCurrentOutputChannelLayout: ::libc::c_uint =
1868786720;
pub const kAudioCodecPropertySettings: ::libc::c_uint = 1633907488;
pub const kAudioCodecPropertyFormatList: ::libc::c_uint = 1633904236;
pub const kAudioCodecPropertyBitRateControlMode: ::libc::c_uint = 1633903206;
pub const kAudioCodecPropertySoundQualityForVBR: ::libc::c_uint = 1986163313;
pub const kAudioCodecPropertyDelayMode: ::libc::c_uint = 1684893540;
pub const kAudioCodecPropertyAdjustLocalQuality: ::libc::c_uint = 1584488812;
pub const kAudioCodecPropertyProgramTargetLevel: ::libc::c_uint = 1886418028;
pub const kAudioCodecPropertyDynamicRangeControlMode: ::libc::c_uint =
1835299427;
pub const kAudioCodecPropertyProgramTargetLevelConstant: ::libc::c_uint =
1886678115;
pub type Enum_Unnamed280 = ::libc::c_uint;
pub const kAudioCodecQuality_Max: ::libc::c_uint = 127;
pub const kAudioCodecQuality_High: ::libc::c_uint = 96;
pub const kAudioCodecQuality_Medium: ::libc::c_uint = 64;
pub const kAudioCodecQuality_Low: ::libc::c_uint = 32;
pub const kAudioCodecQuality_Min: ::libc::c_uint = 0;
pub type Enum_Unnamed281 = ::libc::c_uint;
pub const kAudioCodecPrimeMethod_Pre: ::libc::c_uint = 0;
pub const kAudioCodecPrimeMethod_Normal: ::libc::c_uint = 1;
pub const kAudioCodecPrimeMethod_None: ::libc::c_uint = 2;
pub type Enum_Unnamed282 = ::libc::c_uint;
pub const kAudioCodecBitRateControlMode_Constant: ::libc::c_uint = 0;
pub const kAudioCodecBitRateControlMode_LongTermAverage: ::libc::c_uint = 1;
pub const kAudioCodecBitRateControlMode_VariableConstrained: ::libc::c_uint =
2;
pub const kAudioCodecBitRateControlMode_Variable: ::libc::c_uint = 3;
pub type Enum_Unnamed283 = ::libc::c_uint;
pub const kAudioCodecDelayMode_Compatibility: ::libc::c_uint = 0;
pub const kAudioCodecDelayMode_Minimum: ::libc::c_uint = 1;
pub const kAudioCodecDelayMode_Optimal: ::libc::c_uint = 2;
pub type Enum_Unnamed284 = ::libc::c_uint;
pub const kProgramTargetLevel_None: ::libc::c_uint = 0;
pub const kProgramTargetLevel_Minus31dB: ::libc::c_uint = 1;
pub const kProgramTargetLevel_Minus23dB: ::libc::c_uint = 2;
pub const kProgramTargetLevel_Minus20dB: ::libc::c_uint = 3;
pub type Enum_Unnamed285 = ::libc::c_uint;
pub const kDynamicRangeControlMode_None: ::libc::c_uint = 0;
pub const kDynamicRangeControlMode_Light: ::libc::c_uint = 1;
pub const kDynamicRangeControlMode_Heavy: ::libc::c_uint = 2;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct_AudioCodecPrimeInfo {
pub leadingFrames: UInt32,
pub trailingFrames: UInt32,
}
impl ::std::default::Default for Struct_AudioCodecPrimeInfo {
fn default() -> Struct_AudioCodecPrimeInfo {
unsafe { ::std::mem::zeroed() }
}
}
pub type AudioCodecPrimeInfo = Struct_AudioCodecPrimeInfo;
pub type Enum_Unnamed286 = ::libc::c_uint;
pub const kAudioSettingsFlags_ExpertParameter: ::libc::c_uint = 1;
pub const kAudioSettingsFlags_InvisibleParameter: ::libc::c_uint = 2;
pub const kAudioSettingsFlags_MetaParameter: ::libc::c_uint = 4;
pub const kAudioSettingsFlags_UserInterfaceParameter: ::libc::c_uint = 8;
pub type Enum_Unnamed287 = ::libc::c_uint;
pub const kAudioCodecProduceOutputPacketFailure: ::libc::c_uint = 1;
pub const kAudioCodecProduceOutputPacketSuccess: ::libc::c_uint = 2;
pub const kAudioCodecProduceOutputPacketSuccessHasMore: ::libc::c_uint = 3;
pub const kAudioCodecProduceOutputPacketNeedsMoreInputData: ::libc::c_uint =
4;
pub const kAudioCodecProduceOutputPacketAtEOF: ::libc::c_uint = 5;
pub type Enum_Unnamed288 = ::libc::c_uint;
pub const kAudioCodecGetPropertyInfoSelect: ::libc::c_uint = 1;
pub const kAudioCodecGetPropertySelect: ::libc::c_uint = 2;
pub const kAudioCodecSetPropertySelect: ::libc::c_uint = 3;
pub const kAudioCodecInitializeSelect: ::libc::c_uint = 4;
pub const kAudioCodecUninitializeSelect: ::libc::c_uint = 5;
pub const kAudioCodecAppendInputDataSelect: ::libc::c_uint = 6;
pub const kAudioCodecProduceOutputDataSelect: ::libc::c_uint = 7;
pub const kAudioCodecResetSelect: ::libc::c_uint = 8;
pub const kAudioCodecAppendInputBufferListSelect: ::libc::c_uint = 9;
pub const kAudioCodecProduceOutputBufferListSelect: ::libc::c_uint = 10;
pub type Enum_Unnamed289 = ::libc::c_uint;
pub const kAudioCodecNoError: ::libc::c_uint = 0;
pub const kAudioCodecUnspecifiedError: ::libc::c_uint = 2003329396;
pub const kAudioCodecUnknownPropertyError: ::libc::c_uint = 2003332927;
pub const kAudioCodecBadPropertySizeError: ::libc::c_uint = 561211770;
pub const kAudioCodecIllegalOperationError: ::libc::c_uint = 1852797029;
pub const kAudioCodecUnsupportedFormatError: ::libc::c_uint = 560226676;
pub const kAudioCodecStateError: ::libc::c_uint = 561214580;
pub const kAudioCodecNotEnoughBufferSpaceError: ::libc::c_uint = 560100710;
pub type AudioCodecGetPropertyInfoProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
inPropertyID: AudioCodecPropertyID,
outSize: *mut UInt32,
outWritable: *mut Boolean) -> OSStatus>;
pub type AudioCodecGetPropertyProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
inPropertyID: AudioCodecPropertyID,
ioPropertyDataSize: *mut UInt32,
outPropertyData: *mut ::libc::c_void)
-> OSStatus>;
pub type AudioCodecSetPropertyProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
inPropertyID: AudioCodecPropertyID,
inPropertyDataSize: UInt32,
inPropertyData: *const ::libc::c_void)
-> OSStatus>;
pub type AudioCodecInitializeProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
inInputFormat:
*const AudioStreamBasicDescription,
inOutputFormat:
*const AudioStreamBasicDescription,
inMagicCookie: *const ::libc::c_void,
inMagicCookieByteSize: UInt32) -> OSStatus>;
pub type AudioCodecUninitializeProc =
::std::option::Option<extern "C" fn(_self: *mut ::libc::c_void)
-> OSStatus>;
pub type AudioCodecAppendInputDataProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
inInputData: *const ::libc::c_void,
ioInputDataByteSize: *mut UInt32,
ioNumberPackets: *mut UInt32,
inPacketDescription:
*const AudioStreamPacketDescription)
-> OSStatus>;
pub type AudioCodecProduceOutputPacketsProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
outOutputData: *mut ::libc::c_void,
ioOutputDataByteSize: *mut UInt32,
ioNumberPackets: *mut UInt32,
outPacketDescription:
*mut AudioStreamPacketDescription,
outStatus: *mut UInt32) -> OSStatus>;
pub type AudioCodecResetProc =
::std::option::Option<extern "C" fn(_self: *mut ::libc::c_void)
-> OSStatus>;
pub type AudioCodecAppendInputBufferListProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
ioBufferList: *const AudioBufferList,
inNumberPackets: *mut UInt32,
inPacketDescription:
*const AudioStreamPacketDescription,
outBytesConsumed: *mut UInt32) -> OSStatus>;
pub type AudioCodecProduceOutputBufferListProc =
::std::option::Option<extern "C" fn
(_self: *mut ::libc::c_void,
ioBufferList: *mut AudioBufferList,
ioNumberPackets: *mut UInt32,
outPacketDescription:
*mut AudioStreamPacketDescription,
outStatus: *mut UInt32) -> OSStatus>;
pub type Enum_Unnamed290 = ::libc::c_uint;
pub const kAudioCodecPropertyMinimumDelayMode: ::libc::c_uint = 1835296108;
pub type Enum_Unnamed291 = ::libc::c_uint;
pub const kAudioCodecPropertyNameCFString: ::libc::c_uint = 1819173229;
pub const kAudioCodecPropertyManufacturerCFString: ::libc::c_uint =
1819107691;
pub const kAudioCodecPropertyFormatCFString: ::libc::c_uint = 1818652530;
pub type Enum_Unnamed292 = ::libc::c_uint;
pub const kAudioCodecPropertyRequiresPacketDescription: ::libc::c_uint =
1885432676;
pub const kAudioCodecPropertyAvailableBitRates: ::libc::c_uint = 1651668003;
pub const kAudioCodecExtendFrequencies: ::libc::c_uint = 1633903974;
pub const kAudioCodecUseRecommendedSampleRate: ::libc::c_uint = 1970434930;
pub const kAudioCodecOutputPrecedence: ::libc::c_uint = 1869639794;
pub const kAudioCodecBitRateFormat: ::libc::c_uint = 1633903206;
pub const kAudioCodecDoesSampleRateConversion: ::libc::c_uint = 1819112035;
pub const kAudioCodecInputFormatsForOutputFormat: ::libc::c_uint = 1768305775;
pub const kAudioCodecOutputFormatsForInputFormat: ::libc::c_uint = 1868969065;
pub const kAudioCodecPropertyInputChannelLayout: ::libc::c_uint = 1768123424;
pub const kAudioCodecPropertyOutputChannelLayout: ::libc::c_uint = 1868786720;
pub const kAudioCodecPropertyAvailableInputChannelLayouts: ::libc::c_uint =
1634296684;
pub const kAudioCodecPropertyAvailableOutputChannelLayouts: ::libc::c_uint =
1634689900;
pub const kAudioCodecPropertyZeroFramesPadded: ::libc::c_uint = 1885430832;
pub type Enum_Unnamed293 = ::libc::c_uint;
pub const kAudioCodecBitRateFormat_CBR: ::libc::c_uint = 0;
pub const kAudioCodecBitRateFormat_ABR: ::libc::c_uint = 1;
pub const kAudioCodecBitRateFormat_VBR: ::libc::c_uint = 2;
pub type Enum_Unnamed294 = ::libc::c_uint;
pub const kAudioCodecOutputPrecedenceNone: ::libc::c_uint = 0;
pub const kAudioCodecOutputPrecedenceBitRate: ::libc::c_uint = 1;
pub const kAudioCodecOutputPrecedenceSampleRate: ::libc::c_uint = 2;
pub type MagicCookieInfo = Struct_AudioCodecMagicCookieInfo;
pub type Enum_Unnamed295 = ::libc::c_uint;
pub const kHintBasic: ::libc::c_uint = 0;
pub const kHintAdvanced: ::libc::c_uint = 1;
pub const kHintHidden: ::libc::c_uint = 2;
pub type __builtin_va_list = [__va_list_tag; 1usize];
pub type __va_list_tag = Struct___va_list_tag;
#[repr(C)]
#[derive(Clone, Copy)]
pub struct Struct___va_list_tag {
pub gp_offset: ::libc::c_uint,
pub fp_offset: ::libc::c_uint,
pub overflow_arg_area: *mut ::libc::c_void,
pub reg_save_area: *mut ::libc::c_void,
}
impl ::std::default::Default for Struct___va_list_tag {
fn default() -> Struct___va_list_tag { unsafe { ::std::mem::zeroed() } }
}
#[link(name = "AudioUnit", kind = "framework")]
extern "C" {
pub static mut _NSConcreteGlobalBlock: [*mut ::libc::c_void; 32usize];
pub static mut _NSConcreteStackBlock: [*mut ::libc::c_void; 32usize];
pub static mut kCFCoreFoundationVersionNumber: ::libc::c_double;
pub static kCFNull: CFNullRef;
pub static kCFAllocatorDefault: CFAllocatorRef;
pub static kCFAllocatorSystemDefault: CFAllocatorRef;
pub static kCFAllocatorMalloc: CFAllocatorRef;
pub static kCFAllocatorMallocZone: CFAllocatorRef;
pub static kCFAllocatorNull: CFAllocatorRef;
pub static kCFAllocatorUseContext: CFAllocatorRef;
pub static mut _DefaultRuneLocale: _RuneLocale;
pub static mut _CurrentRuneLocale: *mut _RuneLocale;
pub static mut signgam: ::libc::c_int;
pub static mut sys_signame: [*const ::libc::c_char; 32usize];
pub static mut sys_siglist: [*const ::libc::c_char; 32usize];
pub static mut __stdinp: *mut FILE;
pub static mut __stdoutp: *mut FILE;
pub static mut __stderrp: *mut FILE;
pub static sys_nerr: ::libc::c_int;
pub static mut sys_errlist: *const *const ::libc::c_char;
pub static mut __mb_cur_max: ::libc::c_int;
pub static mut suboptarg: *mut ::libc::c_char;
pub static mut tzname: *mut *mut ::libc::c_char;
pub static mut getdate_err: ::libc::c_int;
pub static mut timezone: ::libc::c_long;
pub static mut daylight: ::libc::c_int;
pub static kCFTypeArrayCallBacks: CFArrayCallBacks;
pub static kCFTypeBagCallBacks: CFBagCallBacks;
pub static kCFCopyStringBagCallBacks: CFBagCallBacks;
pub static kCFStringBinaryHeapCallBacks: CFBinaryHeapCallBacks;
pub static kCFTypeDictionaryKeyCallBacks: CFDictionaryKeyCallBacks;
pub static kCFCopyStringDictionaryKeyCallBacks: CFDictionaryKeyCallBacks;
pub static kCFTypeDictionaryValueCallBacks: CFDictionaryValueCallBacks;
pub static kCFLocaleCurrentLocaleDidChangeNotification: CFStringRef;
pub static kCFLocaleIdentifier: CFStringRef;
pub static kCFLocaleLanguageCode: CFStringRef;
pub static kCFLocaleCountryCode: CFStringRef;
pub static kCFLocaleScriptCode: CFStringRef;
pub static kCFLocaleVariantCode: CFStringRef;
pub static kCFLocaleExemplarCharacterSet: CFStringRef;
pub static kCFLocaleCalendarIdentifier: CFStringRef;
pub static kCFLocaleCalendar: CFStringRef;
pub static kCFLocaleCollationIdentifier: CFStringRef;
pub static kCFLocaleUsesMetricSystem: CFStringRef;
pub static kCFLocaleMeasurementSystem: CFStringRef;
pub static kCFLocaleDecimalSeparator: CFStringRef;
pub static kCFLocaleGroupingSeparator: CFStringRef;
pub static kCFLocaleCurrencySymbol: CFStringRef;
pub static kCFLocaleCurrencyCode: CFStringRef;
pub static kCFLocaleCollatorIdentifier: CFStringRef;
pub static kCFLocaleQuotationBeginDelimiterKey: CFStringRef;
pub static kCFLocaleQuotationEndDelimiterKey: CFStringRef;
pub static kCFLocaleAlternateQuotationBeginDelimiterKey: CFStringRef;
pub static kCFLocaleAlternateQuotationEndDelimiterKey: CFStringRef;
pub static kCFGregorianCalendar: CFStringRef;
pub static kCFBuddhistCalendar: CFStringRef;
pub static kCFChineseCalendar: CFStringRef;
pub static kCFHebrewCalendar: CFStringRef;
pub static kCFIslamicCalendar: CFStringRef;
pub static kCFIslamicCivilCalendar: CFStringRef;
pub static kCFJapaneseCalendar: CFStringRef;
pub static kCFRepublicOfChinaCalendar: CFStringRef;
pub static kCFPersianCalendar: CFStringRef;
pub static kCFIndianCalendar: CFStringRef;
pub static kCFISO8601Calendar: CFStringRef;
pub static kCFIslamicTabularCalendar: CFStringRef;
pub static kCFIslamicUmmAlQuraCalendar: CFStringRef;
pub static kCFAbsoluteTimeIntervalSince1970: CFTimeInterval;
pub static kCFAbsoluteTimeIntervalSince1904: CFTimeInterval;
pub static kCFStringTransformStripCombiningMarks: CFStringRef;
pub static kCFStringTransformToLatin: CFStringRef;
pub static kCFStringTransformFullwidthHalfwidth: CFStringRef;
pub static kCFStringTransformLatinKatakana: CFStringRef;
pub static kCFStringTransformLatinHiragana: CFStringRef;
pub static kCFStringTransformHiraganaKatakana: CFStringRef;
pub static kCFStringTransformMandarinLatin: CFStringRef;
pub static kCFStringTransformLatinHangul: CFStringRef;
pub static kCFStringTransformLatinArabic: CFStringRef;
pub static kCFStringTransformLatinHebrew: CFStringRef;
pub static kCFStringTransformLatinThai: CFStringRef;
pub static kCFStringTransformLatinCyrillic: CFStringRef;
pub static kCFStringTransformLatinGreek: CFStringRef;
pub static kCFStringTransformToXMLHex: CFStringRef;
pub static kCFStringTransformToUnicodeName: CFStringRef;
pub static kCFStringTransformStripDiacritics: CFStringRef;
pub static kCFTimeZoneSystemTimeZoneDidChangeNotification: CFStringRef;
pub static kCFDateFormatterIsLenient: CFStringRef;
pub static kCFDateFormatterTimeZone: CFStringRef;
pub static kCFDateFormatterCalendarName: CFStringRef;
pub static kCFDateFormatterDefaultFormat: CFStringRef;
pub static kCFDateFormatterTwoDigitStartDate: CFStringRef;
pub static kCFDateFormatterDefaultDate: CFStringRef;
pub static kCFDateFormatterCalendar: CFStringRef;
pub static kCFDateFormatterEraSymbols: CFStringRef;
pub static kCFDateFormatterMonthSymbols: CFStringRef;
pub static kCFDateFormatterShortMonthSymbols: CFStringRef;
pub static kCFDateFormatterWeekdaySymbols: CFStringRef;
pub static kCFDateFormatterShortWeekdaySymbols: CFStringRef;
pub static kCFDateFormatterAMSymbol: CFStringRef;
pub static kCFDateFormatterPMSymbol: CFStringRef;
pub static kCFDateFormatterLongEraSymbols: CFStringRef;
pub static kCFDateFormatterVeryShortMonthSymbols: CFStringRef;
pub static kCFDateFormatterStandaloneMonthSymbols: CFStringRef;
pub static kCFDateFormatterShortStandaloneMonthSymbols: CFStringRef;
pub static kCFDateFormatterVeryShortStandaloneMonthSymbols: CFStringRef;
pub static kCFDateFormatterVeryShortWeekdaySymbols: CFStringRef;
pub static kCFDateFormatterStandaloneWeekdaySymbols: CFStringRef;
pub static kCFDateFormatterShortStandaloneWeekdaySymbols: CFStringRef;
pub static kCFDateFormatterVeryShortStandaloneWeekdaySymbols: CFStringRef;
pub static kCFDateFormatterQuarterSymbols: CFStringRef;
pub static kCFDateFormatterShortQuarterSymbols: CFStringRef;
pub static kCFDateFormatterStandaloneQuarterSymbols: CFStringRef;
pub static kCFDateFormatterShortStandaloneQuarterSymbols: CFStringRef;
pub static kCFDateFormatterGregorianStartDate: CFStringRef;
pub static kCFDateFormatterDoesRelativeDateFormattingKey: CFStringRef;
pub static kCFErrorDomainPOSIX: CFStringRef;
pub static kCFErrorDomainOSStatus: CFStringRef;
pub static kCFErrorDomainMach: CFStringRef;
pub static kCFErrorDomainCocoa: CFStringRef;
pub static kCFErrorLocalizedDescriptionKey: CFStringRef;
pub static kCFErrorLocalizedFailureReasonKey: CFStringRef;
pub static kCFErrorLocalizedRecoverySuggestionKey: CFStringRef;
pub static kCFErrorDescriptionKey: CFStringRef;
pub static kCFErrorUnderlyingErrorKey: CFStringRef;
pub static kCFErrorURLKey: CFStringRef;
pub static kCFErrorFilePathKey: CFStringRef;
pub static kCFBooleanTrue: CFBooleanRef;
pub static kCFBooleanFalse: CFBooleanRef;
pub static kCFNumberPositiveInfinity: CFNumberRef;
pub static kCFNumberNegativeInfinity: CFNumberRef;
pub static kCFNumberNaN: CFNumberRef;
pub static kCFNumberFormatterCurrencyCode: CFStringRef;
pub static kCFNumberFormatterDecimalSeparator: CFStringRef;
pub static kCFNumberFormatterCurrencyDecimalSeparator: CFStringRef;
pub static kCFNumberFormatterAlwaysShowDecimalSeparator: CFStringRef;
pub static kCFNumberFormatterGroupingSeparator: CFStringRef;
pub static kCFNumberFormatterUseGroupingSeparator: CFStringRef;
pub static kCFNumberFormatterPercentSymbol: CFStringRef;
pub static kCFNumberFormatterZeroSymbol: CFStringRef;
pub static kCFNumberFormatterNaNSymbol: CFStringRef;
pub static kCFNumberFormatterInfinitySymbol: CFStringRef;
pub static kCFNumberFormatterMinusSign: CFStringRef;
pub static kCFNumberFormatterPlusSign: CFStringRef;
pub static kCFNumberFormatterCurrencySymbol: CFStringRef;
pub static kCFNumberFormatterExponentSymbol: CFStringRef;
pub static kCFNumberFormatterMinIntegerDigits: CFStringRef;
pub static kCFNumberFormatterMaxIntegerDigits: CFStringRef;
pub static kCFNumberFormatterMinFractionDigits: CFStringRef;
pub static kCFNumberFormatterMaxFractionDigits: CFStringRef;
pub static kCFNumberFormatterGroupingSize: CFStringRef;
pub static kCFNumberFormatterSecondaryGroupingSize: CFStringRef;
pub static kCFNumberFormatterRoundingMode: CFStringRef;
pub static kCFNumberFormatterRoundingIncrement: CFStringRef;
pub static kCFNumberFormatterFormatWidth: CFStringRef;
pub static kCFNumberFormatterPaddingPosition: CFStringRef;
pub static kCFNumberFormatterPaddingCharacter: CFStringRef;
pub static kCFNumberFormatterDefaultFormat: CFStringRef;
pub static kCFNumberFormatterMultiplier: CFStringRef;
pub static kCFNumberFormatterPositivePrefix: CFStringRef;
pub static kCFNumberFormatterPositiveSuffix: CFStringRef;
pub static kCFNumberFormatterNegativePrefix: CFStringRef;
pub static kCFNumberFormatterNegativeSuffix: CFStringRef;
pub static kCFNumberFormatterPerMillSymbol: CFStringRef;
pub static kCFNumberFormatterInternationalCurrencySymbol: CFStringRef;
pub static kCFNumberFormatterCurrencyGroupingSeparator: CFStringRef;
pub static kCFNumberFormatterIsLenient: CFStringRef;
pub static kCFNumberFormatterUseSignificantDigits: CFStringRef;
pub static kCFNumberFormatterMinSignificantDigits: CFStringRef;
pub static kCFNumberFormatterMaxSignificantDigits: CFStringRef;
pub static kCFPreferencesAnyApplication: CFStringRef;
pub static kCFPreferencesCurrentApplication: CFStringRef;
pub static kCFPreferencesAnyHost: CFStringRef;
pub static kCFPreferencesCurrentHost: CFStringRef;
pub static kCFPreferencesAnyUser: CFStringRef;
pub static kCFPreferencesCurrentUser: CFStringRef;
pub static kCFURLKeysOfUnsetValuesKey: CFStringRef;
pub static kCFURLNameKey: CFStringRef;
pub static kCFURLLocalizedNameKey: CFStringRef;
pub static kCFURLIsRegularFileKey: CFStringRef;
pub static kCFURLIsDirectoryKey: CFStringRef;
pub static kCFURLIsSymbolicLinkKey: CFStringRef;
pub static kCFURLIsVolumeKey: CFStringRef;
pub static kCFURLIsPackageKey: CFStringRef;
pub static kCFURLIsSystemImmutableKey: CFStringRef;
pub static kCFURLIsUserImmutableKey: CFStringRef;
pub static kCFURLIsHiddenKey: CFStringRef;
pub static kCFURLHasHiddenExtensionKey: CFStringRef;
pub static kCFURLCreationDateKey: CFStringRef;
pub static kCFURLContentAccessDateKey: CFStringRef;
pub static kCFURLContentModificationDateKey: CFStringRef;
pub static kCFURLAttributeModificationDateKey: CFStringRef;
pub static kCFURLLinkCountKey: CFStringRef;
pub static kCFURLParentDirectoryURLKey: CFStringRef;
pub static kCFURLVolumeURLKey: CFStringRef;
pub static kCFURLTypeIdentifierKey: CFStringRef;
pub static kCFURLLocalizedTypeDescriptionKey: CFStringRef;
pub static kCFURLLabelNumberKey: CFStringRef;
pub static kCFURLLabelColorKey: CFStringRef;
pub static kCFURLLocalizedLabelKey: CFStringRef;
pub static kCFURLEffectiveIconKey: CFStringRef;
pub static kCFURLCustomIconKey: CFStringRef;
pub static kCFURLFileResourceIdentifierKey: CFStringRef;
pub static kCFURLVolumeIdentifierKey: CFStringRef;
pub static kCFURLPreferredIOBlockSizeKey: CFStringRef;
pub static kCFURLIsReadableKey: CFStringRef;
pub static kCFURLIsWritableKey: CFStringRef;
pub static kCFURLIsExecutableKey: CFStringRef;
pub static kCFURLFileSecurityKey: CFStringRef;
pub static kCFURLIsExcludedFromBackupKey: CFStringRef;
pub static kCFURLTagNamesKey: CFStringRef;
pub static kCFURLPathKey: CFStringRef;
pub static kCFURLIsMountTriggerKey: CFStringRef;
pub static kCFURLGenerationIdentifierKey: CFStringRef;
pub static kCFURLDocumentIdentifierKey: CFStringRef;
pub static kCFURLAddedToDirectoryDateKey: CFStringRef;
pub static kCFURLQuarantinePropertiesKey: CFStringRef;
pub static kCFURLFileResourceTypeKey: CFStringRef;
pub static kCFURLFileResourceTypeNamedPipe: CFStringRef;
pub static kCFURLFileResourceTypeCharacterSpecial: CFStringRef;
pub static kCFURLFileResourceTypeDirectory: CFStringRef;
pub static kCFURLFileResourceTypeBlockSpecial: CFStringRef;
pub static kCFURLFileResourceTypeRegular: CFStringRef;
pub static kCFURLFileResourceTypeSymbolicLink: CFStringRef;
pub static kCFURLFileResourceTypeSocket: CFStringRef;
pub static kCFURLFileResourceTypeUnknown: CFStringRef;
pub static kCFURLFileSizeKey: CFStringRef;
pub static kCFURLFileAllocatedSizeKey: CFStringRef;
pub static kCFURLTotalFileSizeKey: CFStringRef;
pub static kCFURLTotalFileAllocatedSizeKey: CFStringRef;
pub static kCFURLIsAliasFileKey: CFStringRef;
pub static kCFURLVolumeLocalizedFormatDescriptionKey: CFStringRef;
pub static kCFURLVolumeTotalCapacityKey: CFStringRef;
pub static kCFURLVolumeAvailableCapacityKey: CFStringRef;
pub static kCFURLVolumeResourceCountKey: CFStringRef;
pub static kCFURLVolumeSupportsPersistentIDsKey: CFStringRef;
pub static kCFURLVolumeSupportsSymbolicLinksKey: CFStringRef;
pub static kCFURLVolumeSupportsHardLinksKey: CFStringRef;
pub static kCFURLVolumeSupportsJournalingKey: CFStringRef;
pub static kCFURLVolumeIsJournalingKey: CFStringRef;
pub static kCFURLVolumeSupportsSparseFilesKey: CFStringRef;
pub static kCFURLVolumeSupportsZeroRunsKey: CFStringRef;
pub static kCFURLVolumeSupportsCaseSensitiveNamesKey: CFStringRef;
pub static kCFURLVolumeSupportsCasePreservedNamesKey: CFStringRef;
pub static kCFURLVolumeSupportsRootDirectoryDatesKey: CFStringRef;
pub static kCFURLVolumeSupportsVolumeSizesKey: CFStringRef;
pub static kCFURLVolumeSupportsRenamingKey: CFStringRef;
pub static kCFURLVolumeSupportsAdvisoryFileLockingKey: CFStringRef;
pub static kCFURLVolumeSupportsExtendedSecurityKey: CFStringRef;
pub static kCFURLVolumeIsBrowsableKey: CFStringRef;
pub static kCFURLVolumeMaximumFileSizeKey: CFStringRef;
pub static kCFURLVolumeIsEjectableKey: CFStringRef;
pub static kCFURLVolumeIsRemovableKey: CFStringRef;
pub static kCFURLVolumeIsInternalKey: CFStringRef;
pub static kCFURLVolumeIsAutomountedKey: CFStringRef;
pub static kCFURLVolumeIsLocalKey: CFStringRef;
pub static kCFURLVolumeIsReadOnlyKey: CFStringRef;
pub static kCFURLVolumeCreationDateKey: CFStringRef;
pub static kCFURLVolumeURLForRemountingKey: CFStringRef;
pub static kCFURLVolumeUUIDStringKey: CFStringRef;
pub static kCFURLVolumeNameKey: CFStringRef;
pub static kCFURLVolumeLocalizedNameKey: CFStringRef;
pub static kCFURLIsUbiquitousItemKey: CFStringRef;
pub static kCFURLUbiquitousItemHasUnresolvedConflictsKey: CFStringRef;
pub static kCFURLUbiquitousItemIsDownloadedKey: CFStringRef;
pub static kCFURLUbiquitousItemIsDownloadingKey: CFStringRef;
pub static kCFURLUbiquitousItemIsUploadedKey: CFStringRef;
pub static kCFURLUbiquitousItemIsUploadingKey: CFStringRef;
pub static kCFURLUbiquitousItemPercentDownloadedKey: CFStringRef;
pub static kCFURLUbiquitousItemPercentUploadedKey: CFStringRef;
pub static kCFURLUbiquitousItemDownloadingStatusKey: CFStringRef;
pub static kCFURLUbiquitousItemDownloadingErrorKey: CFStringRef;
pub static kCFURLUbiquitousItemUploadingErrorKey: CFStringRef;
pub static kCFURLUbiquitousItemDownloadingStatusNotDownloaded:
CFStringRef;
pub static kCFURLUbiquitousItemDownloadingStatusDownloaded: CFStringRef;
pub static kCFURLUbiquitousItemDownloadingStatusCurrent: CFStringRef;
pub static kCFRunLoopDefaultMode: CFStringRef;
pub static kCFRunLoopCommonModes: CFStringRef;
pub static kCFSocketCommandKey: CFStringRef;
pub static kCFSocketNameKey: CFStringRef;
pub static kCFSocketValueKey: CFStringRef;
pub static kCFSocketResultKey: CFStringRef;
pub static kCFSocketErrorKey: CFStringRef;
pub static kCFSocketRegisterCommand: CFStringRef;
pub static kCFSocketRetrieveCommand: CFStringRef;
pub static mut optarg: *mut ::libc::c_char;
pub static mut optind: ::libc::c_int;
pub static mut opterr: ::libc::c_int;
pub static mut optopt: ::libc::c_int;
pub static mut optreset: ::libc::c_int;
pub static mut _dispatch_main_q: Struct_dispatch_queue_s;
pub static mut _dispatch_queue_attr_concurrent:
Struct_dispatch_queue_attr_s;
pub static mut KERNEL_SECURITY_TOKEN: security_token_t;
pub static mut KERNEL_AUDIT_TOKEN: audit_token_t;
pub static _dispatch_source_type_data_add: Struct_dispatch_source_type_s;
pub static _dispatch_source_type_data_or: Struct_dispatch_source_type_s;
pub static _dispatch_source_type_mach_send: Struct_dispatch_source_type_s;
pub static _dispatch_source_type_mach_recv: Struct_dispatch_source_type_s;
pub static _dispatch_source_type_memorypressure:
Struct_dispatch_source_type_s;
pub static _dispatch_source_type_proc: Struct_dispatch_source_type_s;
pub static _dispatch_source_type_read: Struct_dispatch_source_type_s;
pub static _dispatch_source_type_signal: Struct_dispatch_source_type_s;
pub static _dispatch_source_type_timer: Struct_dispatch_source_type_s;
pub static _dispatch_source_type_vnode: Struct_dispatch_source_type_s;
pub static _dispatch_source_type_write: Struct_dispatch_source_type_s;
pub static mut _dispatch_data_empty: Struct_dispatch_data_s;
pub static _dispatch_data_destructor_free: dispatch_block_t;
pub static _dispatch_data_destructor_munmap: dispatch_block_t;
pub static kCFStreamPropertyDataWritten: CFStringRef;
pub static kCFStreamPropertyAppendToFile: CFStringRef;
pub static kCFStreamPropertyFileCurrentOffset: CFStringRef;
pub static kCFStreamPropertySocketNativeHandle: CFStringRef;
pub static kCFStreamPropertySocketRemoteHostName: CFStringRef;
pub static kCFStreamPropertySocketRemotePortNumber: CFStringRef;
pub static kCFTypeSetCallBacks: CFSetCallBacks;
pub static kCFCopyStringSetCallBacks: CFSetCallBacks;
pub static kCFURLFileExists: CFStringRef;
pub static kCFURLFileDirectoryContents: CFStringRef;
pub static kCFURLFileLength: CFStringRef;
pub static kCFURLFileLastModificationTime: CFStringRef;
pub static kCFURLFilePOSIXMode: CFStringRef;
pub static kCFURLFileOwnerID: CFStringRef;
pub static kCFURLHTTPStatusCode: CFStringRef;
pub static kCFURLHTTPStatusLine: CFStringRef;
pub static kCFBundleInfoDictionaryVersionKey: CFStringRef;
pub static kCFBundleExecutableKey: CFStringRef;
pub static kCFBundleIdentifierKey: CFStringRef;
pub static kCFBundleVersionKey: CFStringRef;
pub static kCFBundleDevelopmentRegionKey: CFStringRef;
pub static kCFBundleNameKey: CFStringRef;
pub static kCFBundleLocalizationsKey: CFStringRef;
pub static kCFPlugInDynamicRegistrationKey: CFStringRef;
pub static kCFPlugInDynamicRegisterFunctionKey: CFStringRef;
pub static kCFPlugInUnloadFunctionKey: CFStringRef;
pub static kCFPlugInFactoriesKey: CFStringRef;
pub static kCFPlugInTypesKey: CFStringRef;
pub static kCFUserNotificationIconURLKey: CFStringRef;
pub static kCFUserNotificationSoundURLKey: CFStringRef;
pub static kCFUserNotificationLocalizationURLKey: CFStringRef;
pub static kCFUserNotificationAlertHeaderKey: CFStringRef;
pub static kCFUserNotificationAlertMessageKey: CFStringRef;
pub static kCFUserNotificationDefaultButtonTitleKey: CFStringRef;
pub static kCFUserNotificationAlternateButtonTitleKey: CFStringRef;
pub static kCFUserNotificationOtherButtonTitleKey: CFStringRef;
pub static kCFUserNotificationProgressIndicatorValueKey: CFStringRef;
pub static kCFUserNotificationPopUpTitlesKey: CFStringRef;
pub static kCFUserNotificationTextFieldTitlesKey: CFStringRef;
pub static kCFUserNotificationCheckBoxTitlesKey: CFStringRef;
pub static kCFUserNotificationTextFieldValuesKey: CFStringRef;
pub static kCFUserNotificationPopUpSelectionKey: CFStringRef;
pub static kCFXMLTreeErrorDescription: CFStringRef;
pub static kCFXMLTreeErrorLineNumber: CFStringRef;
pub static kCFXMLTreeErrorLocation: CFStringRef;
pub static kCFXMLTreeErrorStatusCode: CFStringRef;
}
#[link(name = "AudioUnit", kind = "framework")]
extern "C" {
pub fn _Block_copy(aBlock: *const ::libc::c_void) -> *mut ::libc::c_void;
pub fn _Block_release(aBlock: *const ::libc::c_void) -> ();
pub fn _Block_object_assign(arg1: *mut ::libc::c_void,
arg2: *const ::libc::c_void,
arg3: ::libc::c_int) -> ();
pub fn _Block_object_dispose(arg1: *const ::libc::c_void,
arg2: ::libc::c_int) -> ();
pub fn Debugger() -> ();
pub fn DebugStr(debuggerMsg: ConstStr255Param) -> ();
pub fn SysBreak() -> ();
pub fn SysBreakStr(debuggerMsg: ConstStr255Param) -> ();
pub fn SysBreakFunc(debuggerMsg: ConstStr255Param) -> ();
pub fn __CFRangeMake(loc: CFIndex, len: CFIndex) -> CFRange;
pub fn CFNullGetTypeID() -> CFTypeID;
pub fn CFAllocatorGetTypeID() -> CFTypeID;
pub fn CFAllocatorSetDefault(allocator: CFAllocatorRef) -> ();
pub fn CFAllocatorGetDefault() -> CFAllocatorRef;
pub fn CFAllocatorCreate(allocator: CFAllocatorRef,
context: *mut CFAllocatorContext)
-> CFAllocatorRef;
pub fn CFAllocatorAllocate(allocator: CFAllocatorRef, size: CFIndex,
hint: CFOptionFlags) -> *mut ::libc::c_void;
pub fn CFAllocatorReallocate(allocator: CFAllocatorRef,
ptr: *mut ::libc::c_void, newsize: CFIndex,
hint: CFOptionFlags) -> *mut ::libc::c_void;
pub fn CFAllocatorDeallocate(allocator: CFAllocatorRef,
ptr: *mut ::libc::c_void) -> ();
pub fn CFAllocatorGetPreferredSizeForSize(allocator: CFAllocatorRef,
size: CFIndex,
hint: CFOptionFlags) -> CFIndex;
pub fn CFAllocatorGetContext(allocator: CFAllocatorRef,
context: *mut CFAllocatorContext) -> ();
pub fn CFGetTypeID(cf: CFTypeRef) -> CFTypeID;
pub fn CFCopyTypeIDDescription(type_id: CFTypeID) -> CFStringRef;
pub fn CFRetain(cf: CFTypeRef) -> CFTypeRef;
pub fn CFRelease(cf: CFTypeRef) -> ();
pub fn CFAutorelease(arg: CFTypeRef) -> CFTypeRef;
pub fn CFGetRetainCount(cf: CFTypeRef) -> CFIndex;
pub fn CFEqual(cf1: CFTypeRef, cf2: CFTypeRef) -> Boolean;
pub fn CFHash(cf: CFTypeRef) -> CFHashCode;
pub fn CFCopyDescription(cf: CFTypeRef) -> CFStringRef;
pub fn CFGetAllocator(cf: CFTypeRef) -> CFAllocatorRef;
pub fn CFMakeCollectable(cf: CFTypeRef) -> CFTypeRef;
pub fn __assert_rtn(arg1: *const ::libc::c_char,
arg2: *const ::libc::c_char, arg3: ::libc::c_int,
arg4: *const ::libc::c_char) -> ();
pub fn ___runetype(arg1: __darwin_ct_rune_t) -> ::libc::c_ulong;
pub fn ___tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t;
pub fn ___toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t;
pub fn isascii(_c: ::libc::c_int) -> ::libc::c_int;
pub fn __maskrune(arg1: __darwin_ct_rune_t, arg2: ::libc::c_ulong)
-> ::libc::c_int;
pub fn __istype(_c: __darwin_ct_rune_t, _f: ::libc::c_ulong)
-> ::libc::c_int;
pub fn __isctype(_c: __darwin_ct_rune_t, _f: ::libc::c_ulong)
-> __darwin_ct_rune_t;
pub fn __toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t;
pub fn __tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t;
pub fn __wcwidth(_c: __darwin_ct_rune_t) -> ::libc::c_int;
pub fn isalnum(_c: ::libc::c_int) -> ::libc::c_int;
pub fn isalpha(_c: ::libc::c_int) -> ::libc::c_int;
pub fn isblank(_c: ::libc::c_int) -> ::libc::c_int;
pub fn iscntrl(_c: ::libc::c_int) -> ::libc::c_int;
pub fn isdigit(_c: ::libc::c_int) -> ::libc::c_int;
pub fn isgraph(_c: ::libc::c_int) -> ::libc::c_int;
pub fn islower(_c: ::libc::c_int) -> ::libc::c_int;
pub fn isprint(_c: ::libc::c_int) -> ::libc::c_int;
pub fn ispunct(_c: ::libc::c_int) -> ::libc::c_int;
pub fn isspace(_c: ::libc::c_int) -> ::libc::c_int;
pub fn isupper(_c: ::libc::c_int) -> ::libc::c_int;
pub fn isxdigit(_c: ::libc::c_int) -> ::libc::c_int;
pub fn toascii(_c: ::libc::c_int) -> ::libc::c_int;
pub fn tolower(_c: ::libc::c_int) -> ::libc::c_int;
pub fn toupper(_c: ::libc::c_int) -> ::libc::c_int;
pub fn digittoint(_c: ::libc::c_int) -> ::libc::c_int;
pub fn ishexnumber(_c: ::libc::c_int) -> ::libc::c_int;
pub fn isideogram(_c: ::libc::c_int) -> ::libc::c_int;
pub fn isnumber(_c: ::libc::c_int) -> ::libc::c_int;
pub fn isphonogram(_c: ::libc::c_int) -> ::libc::c_int;
pub fn isrune(_c: ::libc::c_int) -> ::libc::c_int;
pub fn isspecial(_c: ::libc::c_int) -> ::libc::c_int;
pub fn __error() -> *mut ::libc::c_int;
pub fn localeconv() -> *mut Struct_lconv;
pub fn setlocale(arg1: ::libc::c_int, arg2: *const ::libc::c_char)
-> *mut ::libc::c_char;
pub fn __math_errhandling() -> ::libc::c_int;
pub fn __fpclassifyf(arg1: ::libc::c_float) -> ::libc::c_int;
pub fn __fpclassifyd(arg1: ::libc::c_double) -> ::libc::c_int;
pub fn __fpclassifyl(arg1: ::libc::c_double) -> ::libc::c_int;
pub fn __inline_isfinitef(__x: ::libc::c_float) -> ::libc::c_int;
pub fn __inline_isfinited(__x: ::libc::c_double) -> ::libc::c_int;
pub fn __inline_isfinitel(__x: ::libc::c_double) -> ::libc::c_int;
pub fn __inline_isinff(__x: ::libc::c_float) -> ::libc::c_int;
pub fn __inline_isinfd(__x: ::libc::c_double) -> ::libc::c_int;
pub fn __inline_isinfl(__x: ::libc::c_double) -> ::libc::c_int;
pub fn __inline_isnanf(__x: ::libc::c_float) -> ::libc::c_int;
pub fn __inline_isnand(__x: ::libc::c_double) -> ::libc::c_int;
pub fn __inline_isnanl(__x: ::libc::c_double) -> ::libc::c_int;
pub fn __inline_isnormalf(__x: ::libc::c_float) -> ::libc::c_int;
pub fn __inline_isnormald(__x: ::libc::c_double) -> ::libc::c_int;
pub fn __inline_isnormall(__x: ::libc::c_double) -> ::libc::c_int;
pub fn __inline_signbitf(__x: ::libc::c_float) -> ::libc::c_int;
pub fn __inline_signbitd(__x: ::libc::c_double) -> ::libc::c_int;
pub fn __inline_signbitl(__x: ::libc::c_double) -> ::libc::c_int;
pub fn acosf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn acos(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn acosl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn asinf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn asin(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn asinl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn atanf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn atan(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn atanl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn atan2f(arg1: ::libc::c_float, arg2: ::libc::c_float)
-> ::libc::c_float;
pub fn atan2(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn atan2l(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn cosf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn cos(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn cosl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn sinf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn sin(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn sinl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn tanf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn tan(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn tanl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn acoshf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn acosh(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn acoshl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn asinhf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn asinh(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn asinhl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn atanhf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn atanh(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn atanhl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn coshf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn cosh(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn coshl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn sinhf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn sinh(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn sinhl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn tanhf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn tanh(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn tanhl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn expf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn exp(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn expl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn exp2f(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn exp2(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn exp2l(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn expm1f(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn expm1(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn expm1l(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn logf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn log(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn logl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn log10f(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn log10(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn log10l(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn log2f(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn log2(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn log2l(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn log1pf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn log1p(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn log1pl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn logbf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn logb(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn logbl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn modff(arg1: ::libc::c_float, arg2: *mut ::libc::c_float)
-> ::libc::c_float;
pub fn modf(arg1: ::libc::c_double, arg2: *mut ::libc::c_double)
-> ::libc::c_double;
pub fn modfl(arg1: ::libc::c_double, arg2: *mut ::libc::c_double)
-> ::libc::c_double;
pub fn ldexpf(arg1: ::libc::c_float, arg2: ::libc::c_int)
-> ::libc::c_float;
pub fn ldexp(arg1: ::libc::c_double, arg2: ::libc::c_int)
-> ::libc::c_double;
pub fn ldexpl(arg1: ::libc::c_double, arg2: ::libc::c_int)
-> ::libc::c_double;
pub fn frexpf(arg1: ::libc::c_float, arg2: *mut ::libc::c_int)
-> ::libc::c_float;
pub fn frexp(arg1: ::libc::c_double, arg2: *mut ::libc::c_int)
-> ::libc::c_double;
pub fn frexpl(arg1: ::libc::c_double, arg2: *mut ::libc::c_int)
-> ::libc::c_double;
pub fn ilogbf(arg1: ::libc::c_float) -> ::libc::c_int;
pub fn ilogb(arg1: ::libc::c_double) -> ::libc::c_int;
pub fn ilogbl(arg1: ::libc::c_double) -> ::libc::c_int;
pub fn scalbnf(arg1: ::libc::c_float, arg2: ::libc::c_int)
-> ::libc::c_float;
pub fn scalbn(arg1: ::libc::c_double, arg2: ::libc::c_int)
-> ::libc::c_double;
pub fn scalbnl(arg1: ::libc::c_double, arg2: ::libc::c_int)
-> ::libc::c_double;
pub fn scalblnf(arg1: ::libc::c_float, arg2: ::libc::c_long)
-> ::libc::c_float;
pub fn scalbln(arg1: ::libc::c_double, arg2: ::libc::c_long)
-> ::libc::c_double;
pub fn scalblnl(arg1: ::libc::c_double, arg2: ::libc::c_long)
-> ::libc::c_double;
pub fn fabsf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn fabs(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn fabsl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn cbrtf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn cbrt(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn cbrtl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn hypotf(arg1: ::libc::c_float, arg2: ::libc::c_float)
-> ::libc::c_float;
pub fn hypot(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn hypotl(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn powf(arg1: ::libc::c_float, arg2: ::libc::c_float)
-> ::libc::c_float;
pub fn pow(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn powl(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn sqrtf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn sqrt(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn sqrtl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn erff(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn erf(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn erfl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn erfcf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn erfc(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn erfcl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn lgammaf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn lgamma(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn lgammal(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn tgammaf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn tgamma(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn tgammal(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn ceilf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn ceil(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn ceill(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn floorf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn floor(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn floorl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn nearbyintf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn nearbyint(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn nearbyintl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn rintf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn rint(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn rintl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn lrintf(arg1: ::libc::c_float) -> ::libc::c_long;
pub fn lrint(arg1: ::libc::c_double) -> ::libc::c_long;
pub fn lrintl(arg1: ::libc::c_double) -> ::libc::c_long;
pub fn roundf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn round(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn roundl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn lroundf(arg1: ::libc::c_float) -> ::libc::c_long;
pub fn lround(arg1: ::libc::c_double) -> ::libc::c_long;
pub fn lroundl(arg1: ::libc::c_double) -> ::libc::c_long;
pub fn llrintf(arg1: ::libc::c_float) -> ::libc::c_longlong;
pub fn llrint(arg1: ::libc::c_double) -> ::libc::c_longlong;
pub fn llrintl(arg1: ::libc::c_double) -> ::libc::c_longlong;
pub fn llroundf(arg1: ::libc::c_float) -> ::libc::c_longlong;
pub fn llround(arg1: ::libc::c_double) -> ::libc::c_longlong;
pub fn llroundl(arg1: ::libc::c_double) -> ::libc::c_longlong;
pub fn truncf(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn trunc(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn truncl(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn fmodf(arg1: ::libc::c_float, arg2: ::libc::c_float)
-> ::libc::c_float;
pub fn fmod(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn fmodl(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn remainderf(arg1: ::libc::c_float, arg2: ::libc::c_float)
-> ::libc::c_float;
pub fn remainder(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn remainderl(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn remquof(arg1: ::libc::c_float, arg2: ::libc::c_float,
arg3: *mut ::libc::c_int) -> ::libc::c_float;
pub fn remquo(arg1: ::libc::c_double, arg2: ::libc::c_double,
arg3: *mut ::libc::c_int) -> ::libc::c_double;
pub fn remquol(arg1: ::libc::c_double, arg2: ::libc::c_double,
arg3: *mut ::libc::c_int) -> ::libc::c_double;
pub fn copysignf(arg1: ::libc::c_float, arg2: ::libc::c_float)
-> ::libc::c_float;
pub fn copysign(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn copysignl(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn nanf(arg1: *const ::libc::c_char) -> ::libc::c_float;
pub fn nan(arg1: *const ::libc::c_char) -> ::libc::c_double;
pub fn nanl(arg1: *const ::libc::c_char) -> ::libc::c_double;
pub fn nextafterf(arg1: ::libc::c_float, arg2: ::libc::c_float)
-> ::libc::c_float;
pub fn nextafter(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn nextafterl(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn nexttoward(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn nexttowardf(arg1: ::libc::c_float, arg2: ::libc::c_double)
-> ::libc::c_float;
pub fn nexttowardl(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn fdimf(arg1: ::libc::c_float, arg2: ::libc::c_float)
-> ::libc::c_float;
pub fn fdim(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn fdiml(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn fmaxf(arg1: ::libc::c_float, arg2: ::libc::c_float)
-> ::libc::c_float;
pub fn fmax(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn fmaxl(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn fminf(arg1: ::libc::c_float, arg2: ::libc::c_float)
-> ::libc::c_float;
pub fn fmin(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn fminl(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn fmaf(arg1: ::libc::c_float, arg2: ::libc::c_float,
arg3: ::libc::c_float) -> ::libc::c_float;
pub fn fma(arg1: ::libc::c_double, arg2: ::libc::c_double,
arg3: ::libc::c_double) -> ::libc::c_double;
pub fn fmal(arg1: ::libc::c_double, arg2: ::libc::c_double,
arg3: ::libc::c_double) -> ::libc::c_double;
pub fn __inff() -> ::libc::c_float;
pub fn __inf() -> ::libc::c_double;
pub fn __infl() -> ::libc::c_double;
pub fn __nan() -> ::libc::c_float;
pub fn __exp10f(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn __exp10(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn __sincosf(__x: ::libc::c_float, __sinp: *mut ::libc::c_float,
__cosp: *mut ::libc::c_float) -> ();
pub fn __sincos(__x: ::libc::c_double, __sinp: *mut ::libc::c_double,
__cosp: *mut ::libc::c_double) -> ();
pub fn __cospif(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn __cospi(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn __sinpif(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn __sinpi(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn __tanpif(arg1: ::libc::c_float) -> ::libc::c_float;
pub fn __tanpi(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn __sincospif(__x: ::libc::c_float, __sinp: *mut ::libc::c_float,
__cosp: *mut ::libc::c_float) -> ();
pub fn __sincospi(__x: ::libc::c_double, __sinp: *mut ::libc::c_double,
__cosp: *mut ::libc::c_double) -> ();
pub fn __sincosf_stret(arg1: ::libc::c_float) -> Struct___float2;
pub fn __sincos_stret(arg1: ::libc::c_double) -> Struct___double2;
pub fn __sincospif_stret(arg1: ::libc::c_float) -> Struct___float2;
pub fn __sincospi_stret(arg1: ::libc::c_double) -> Struct___double2;
pub fn j0(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn j1(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn jn(arg1: ::libc::c_int, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn y0(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn y1(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn yn(arg1: ::libc::c_int, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn scalb(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn rinttol(arg1: ::libc::c_double) -> ::libc::c_long;
pub fn roundtol(arg1: ::libc::c_double) -> ::libc::c_long;
pub fn drem(arg1: ::libc::c_double, arg2: ::libc::c_double)
-> ::libc::c_double;
pub fn finite(arg1: ::libc::c_double) -> ::libc::c_int;
pub fn gamma(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn significand(arg1: ::libc::c_double) -> ::libc::c_double;
pub fn matherr(arg1: *mut Struct_exception) -> ::libc::c_int;
pub fn setjmp(arg1: jmp_buf) -> ::libc::c_int;
pub fn longjmp(arg1: jmp_buf, arg2: ::libc::c_int) -> ();
pub fn _setjmp(arg1: jmp_buf) -> ::libc::c_int;
pub fn _longjmp(arg1: jmp_buf, arg2: ::libc::c_int) -> ();
pub fn sigsetjmp(arg1: sigjmp_buf, arg2: ::libc::c_int) -> ::libc::c_int;
pub fn siglongjmp(arg1: sigjmp_buf, arg2: ::libc::c_int) -> ();
pub fn longjmperror() -> ();
pub fn signal(arg1: ::libc::c_int,
arg2:
::std::option::Option<extern "C" fn(arg1: ::libc::c_int)
-> ()>)
->
::std::option::Option<extern "C" fn
(arg1: ::libc::c_int,
arg2:
::std::option::Option<extern "C" fn
(arg1:
::libc::c_int)
-> ()>)
-> ()>;
pub fn raise(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn bsd_signal(arg1: ::libc::c_int,
arg2:
::std::option::Option<extern "C" fn
(arg1: ::libc::c_int)
-> ()>)
->
::std::option::Option<extern "C" fn
(arg1: ::libc::c_int,
arg2:
::std::option::Option<extern "C" fn
(arg1:
::libc::c_int)
-> ()>)
-> ()>;
pub fn kill(arg1: pid_t, arg2: ::libc::c_int) -> ::libc::c_int;
pub fn killpg(arg1: pid_t, arg2: ::libc::c_int) -> ::libc::c_int;
pub fn pthread_kill(arg1: pthread_t, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn pthread_sigmask(arg1: ::libc::c_int, arg2: *const sigset_t,
arg3: *mut sigset_t) -> ::libc::c_int;
pub fn sigaction(arg1: ::libc::c_int, arg2: *const Struct_sigaction,
arg3: *mut Struct_sigaction) -> ::libc::c_int;
pub fn sigaddset(arg1: *mut sigset_t, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn sigaltstack(arg1: *const stack_t, arg2: *mut stack_t)
-> ::libc::c_int;
pub fn sigdelset(arg1: *mut sigset_t, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn sigemptyset(arg1: *mut sigset_t) -> ::libc::c_int;
pub fn sigfillset(arg1: *mut sigset_t) -> ::libc::c_int;
pub fn sighold(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn sigignore(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn siginterrupt(arg1: ::libc::c_int, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn sigismember(arg1: *const sigset_t, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn sigpause(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn sigpending(arg1: *mut sigset_t) -> ::libc::c_int;
pub fn sigprocmask(arg1: ::libc::c_int, arg2: *const sigset_t,
arg3: *mut sigset_t) -> ::libc::c_int;
pub fn sigrelse(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn sigset(arg1: ::libc::c_int,
arg2:
::std::option::Option<extern "C" fn(arg1: ::libc::c_int)
-> ()>)
->
::std::option::Option<extern "C" fn
(arg1: ::libc::c_int,
arg2:
::std::option::Option<extern "C" fn
(arg1:
::libc::c_int)
-> ()>)
-> ()>;
pub fn sigsuspend(arg1: *const sigset_t) -> ::libc::c_int;
pub fn sigwait(arg1: *const sigset_t, arg2: *mut ::libc::c_int)
-> ::libc::c_int;
pub fn psignal(arg1: ::libc::c_uint, arg2: *const ::libc::c_char) -> ();
pub fn sigblock(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn sigsetmask(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn sigvec(arg1: ::libc::c_int, arg2: *mut Struct_sigvec,
arg3: *mut Struct_sigvec) -> ::libc::c_int;
pub fn __sigbits(__signo: ::libc::c_int) -> ::libc::c_int;
pub fn renameat(arg1: ::libc::c_int, arg2: *const ::libc::c_char,
arg3: ::libc::c_int, arg4: *const ::libc::c_char)
-> ::libc::c_int;
pub fn clearerr(arg1: *mut FILE) -> ();
pub fn fclose(arg1: *mut FILE) -> ::libc::c_int;
pub fn feof(arg1: *mut FILE) -> ::libc::c_int;
pub fn ferror(arg1: *mut FILE) -> ::libc::c_int;
pub fn fflush(arg1: *mut FILE) -> ::libc::c_int;
pub fn fgetc(arg1: *mut FILE) -> ::libc::c_int;
pub fn fgetpos(arg1: *mut FILE, arg2: *mut fpos_t) -> ::libc::c_int;
pub fn fgets(arg1: *mut ::libc::c_char, arg2: ::libc::c_int,
arg3: *mut FILE) -> *mut ::libc::c_char;
pub fn fopen(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char)
-> *mut FILE;
pub fn fprintf(arg1: *mut FILE, arg2: *const ::libc::c_char, ...)
-> ::libc::c_int;
pub fn fputc(arg1: ::libc::c_int, arg2: *mut FILE) -> ::libc::c_int;
pub fn fputs(arg1: *const ::libc::c_char, arg2: *mut FILE)
-> ::libc::c_int;
pub fn fread(arg1: *mut ::libc::c_void, arg2: size_t, arg3: size_t,
arg4: *mut FILE) -> size_t;
pub fn freopen(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char,
arg3: *mut FILE) -> *mut FILE;
pub fn fscanf(arg1: *mut FILE, arg2: *const ::libc::c_char, ...)
-> ::libc::c_int;
pub fn fseek(arg1: *mut FILE, arg2: ::libc::c_long, arg3: ::libc::c_int)
-> ::libc::c_int;
pub fn fsetpos(arg1: *mut FILE, arg2: *const fpos_t) -> ::libc::c_int;
pub fn ftell(arg1: *mut FILE) -> ::libc::c_long;
pub fn fwrite(arg1: *const ::libc::c_void, arg2: size_t, arg3: size_t,
arg4: *mut FILE) -> size_t;
pub fn getc(arg1: *mut FILE) -> ::libc::c_int;
pub fn getchar() -> ::libc::c_int;
pub fn gets(arg1: *mut ::libc::c_char) -> *mut ::libc::c_char;
pub fn perror(arg1: *const ::libc::c_char) -> ();
pub fn printf(arg1: *const ::libc::c_char, ...) -> ::libc::c_int;
pub fn putc(arg1: ::libc::c_int, arg2: *mut FILE) -> ::libc::c_int;
pub fn putchar(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn puts(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn remove(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn rename(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char)
-> ::libc::c_int;
pub fn rewind(arg1: *mut FILE) -> ();
pub fn scanf(arg1: *const ::libc::c_char, ...) -> ::libc::c_int;
pub fn setbuf(arg1: *mut FILE, arg2: *mut ::libc::c_char) -> ();
pub fn setvbuf(arg1: *mut FILE, arg2: *mut ::libc::c_char,
arg3: ::libc::c_int, arg4: size_t) -> ::libc::c_int;
pub fn sprintf(arg1: *mut ::libc::c_char,
arg2: *const ::libc::c_char, ...) -> ::libc::c_int;
pub fn sscanf(arg1: *const ::libc::c_char,
arg2: *const ::libc::c_char, ...) -> ::libc::c_int;
pub fn tmpfile() -> *mut FILE;
pub fn tmpnam(arg1: *mut ::libc::c_char) -> *mut ::libc::c_char;
pub fn ungetc(arg1: ::libc::c_int, arg2: *mut FILE) -> ::libc::c_int;
pub fn vfprintf(arg1: *mut FILE, arg2: *const ::libc::c_char,
arg3: va_list) -> ::libc::c_int;
pub fn vprintf(arg1: *const ::libc::c_char, arg2: va_list)
-> ::libc::c_int;
pub fn vsprintf(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char,
arg3: va_list) -> ::libc::c_int;
pub fn ctermid(arg1: *mut ::libc::c_char) -> *mut ::libc::c_char;
pub fn fdopen(arg1: ::libc::c_int, arg2: *const ::libc::c_char)
-> *mut FILE;
pub fn fileno(arg1: *mut FILE) -> ::libc::c_int;
pub fn pclose(arg1: *mut FILE) -> ::libc::c_int;
pub fn popen(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char)
-> *mut FILE;
pub fn __srget(arg1: *mut FILE) -> ::libc::c_int;
pub fn __svfscanf(arg1: *mut FILE, arg2: *const ::libc::c_char,
arg3: va_list) -> ::libc::c_int;
pub fn __swbuf(arg1: ::libc::c_int, arg2: *mut FILE) -> ::libc::c_int;
pub fn __sputc(_c: ::libc::c_int, _p: *mut FILE) -> ::libc::c_int;
pub fn flockfile(arg1: *mut FILE) -> ();
pub fn ftrylockfile(arg1: *mut FILE) -> ::libc::c_int;
pub fn funlockfile(arg1: *mut FILE) -> ();
pub fn getc_unlocked(arg1: *mut FILE) -> ::libc::c_int;
pub fn getchar_unlocked() -> ::libc::c_int;
pub fn putc_unlocked(arg1: ::libc::c_int, arg2: *mut FILE)
-> ::libc::c_int;
pub fn putchar_unlocked(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn getw(arg1: *mut FILE) -> ::libc::c_int;
pub fn putw(arg1: ::libc::c_int, arg2: *mut FILE) -> ::libc::c_int;
pub fn tempnam(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char)
-> *mut ::libc::c_char;
pub fn fseeko(arg1: *mut FILE, arg2: off_t, arg3: ::libc::c_int)
-> ::libc::c_int;
pub fn ftello(arg1: *mut FILE) -> off_t;
pub fn snprintf(arg1: *mut ::libc::c_char, arg2: size_t,
arg3: *const ::libc::c_char, ...) -> ::libc::c_int;
pub fn vfscanf(arg1: *mut FILE, arg2: *const ::libc::c_char,
arg3: va_list) -> ::libc::c_int;
pub fn vscanf(arg1: *const ::libc::c_char, arg2: va_list)
-> ::libc::c_int;
pub fn vsnprintf(arg1: *mut ::libc::c_char, arg2: size_t,
arg3: *const ::libc::c_char, arg4: va_list)
-> ::libc::c_int;
pub fn vsscanf(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char,
arg3: va_list) -> ::libc::c_int;
pub fn dprintf(arg1: ::libc::c_int, arg2: *const ::libc::c_char, ...)
-> ::libc::c_int;
pub fn vdprintf(arg1: ::libc::c_int, arg2: *const ::libc::c_char,
arg3: va_list) -> ::libc::c_int;
pub fn getdelim(arg1: *mut *mut ::libc::c_char, arg2: *mut size_t,
arg3: ::libc::c_int, arg4: *mut FILE) -> ssize_t;
pub fn getline(arg1: *mut *mut ::libc::c_char, arg2: *mut size_t,
arg3: *mut FILE) -> ssize_t;
pub fn asprintf(arg1: *mut *mut ::libc::c_char,
arg2: *const ::libc::c_char, ...) -> ::libc::c_int;
pub fn ctermid_r(arg1: *mut ::libc::c_char) -> *mut ::libc::c_char;
pub fn fgetln(arg1: *mut FILE, arg2: *mut size_t) -> *mut ::libc::c_char;
pub fn fmtcheck(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char)
-> *const ::libc::c_char;
pub fn fpurge(arg1: *mut FILE) -> ::libc::c_int;
pub fn setbuffer(arg1: *mut FILE, arg2: *mut ::libc::c_char,
arg3: ::libc::c_int) -> ();
pub fn setlinebuf(arg1: *mut FILE) -> ::libc::c_int;
pub fn vasprintf(arg1: *mut *mut ::libc::c_char,
arg2: *const ::libc::c_char, arg3: va_list)
-> ::libc::c_int;
pub fn zopen(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char,
arg3: ::libc::c_int) -> *mut FILE;
pub fn funopen(arg1: *const ::libc::c_void,
arg2:
::std::option::Option<extern "C" fn
(arg1: *mut ::libc::c_void,
arg2: *mut ::libc::c_char,
arg3: ::libc::c_int)
-> ::libc::c_int>,
arg3:
::std::option::Option<extern "C" fn
(arg1: *mut ::libc::c_void,
arg2: *const ::libc::c_char,
arg3: ::libc::c_int)
-> ::libc::c_int>,
arg4:
::std::option::Option<extern "C" fn
(arg1: *mut ::libc::c_void,
arg2: fpos_t,
arg3: ::libc::c_int)
-> fpos_t>,
arg5:
::std::option::Option<extern "C" fn
(arg1: *mut ::libc::c_void)
-> ::libc::c_int>)
-> *mut FILE;
pub fn __sprintf_chk(arg1: *mut ::libc::c_char, arg2: ::libc::c_int,
arg3: size_t, arg4: *const ::libc::c_char, ...)
-> ::libc::c_int;
pub fn __snprintf_chk(arg1: *mut ::libc::c_char, arg2: size_t,
arg3: ::libc::c_int, arg4: size_t,
arg5: *const ::libc::c_char, ...) -> ::libc::c_int;
pub fn __vsprintf_chk(arg1: *mut ::libc::c_char, arg2: ::libc::c_int,
arg3: size_t, arg4: *const ::libc::c_char,
arg5: va_list) -> ::libc::c_int;
pub fn __vsnprintf_chk(arg1: *mut ::libc::c_char, arg2: size_t,
arg3: ::libc::c_int, arg4: size_t,
arg5: *const ::libc::c_char, arg6: va_list)
-> ::libc::c_int;
pub fn getpriority(arg1: ::libc::c_int, arg2: id_t) -> ::libc::c_int;
pub fn getiopolicy_np(arg1: ::libc::c_int, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn getrlimit(arg1: ::libc::c_int, arg2: *mut Struct_rlimit)
-> ::libc::c_int;
pub fn getrusage(arg1: ::libc::c_int, arg2: *mut Struct_rusage)
-> ::libc::c_int;
pub fn setpriority(arg1: ::libc::c_int, arg2: id_t, arg3: ::libc::c_int)
-> ::libc::c_int;
pub fn setiopolicy_np(arg1: ::libc::c_int, arg2: ::libc::c_int,
arg3: ::libc::c_int) -> ::libc::c_int;
pub fn setrlimit(arg1: ::libc::c_int, arg2: *const Struct_rlimit)
-> ::libc::c_int;
pub fn wait(arg1: *mut ::libc::c_int) -> pid_t;
pub fn waitpid(arg1: pid_t, arg2: *mut ::libc::c_int, arg3: ::libc::c_int)
-> pid_t;
pub fn waitid(arg1: idtype_t, arg2: id_t, arg3: *mut siginfo_t,
arg4: ::libc::c_int) -> ::libc::c_int;
pub fn wait3(arg1: *mut ::libc::c_int, arg2: ::libc::c_int,
arg3: *mut Struct_rusage) -> pid_t;
pub fn wait4(arg1: pid_t, arg2: *mut ::libc::c_int, arg3: ::libc::c_int,
arg4: *mut Struct_rusage) -> pid_t;
pub fn alloca(arg1: size_t) -> *mut ::libc::c_void;
pub fn abort() -> ();
pub fn abs(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn atexit(arg1: ::std::option::Option<extern "C" fn() -> ()>)
-> ::libc::c_int;
pub fn atof(arg1: *const ::libc::c_char) -> ::libc::c_double;
pub fn atoi(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn atol(arg1: *const ::libc::c_char) -> ::libc::c_long;
pub fn atoll(arg1: *const ::libc::c_char) -> ::libc::c_longlong;
pub fn bsearch(arg1: *const ::libc::c_void, arg2: *const ::libc::c_void,
arg3: size_t, arg4: size_t,
arg5:
::std::option::Option<extern "C" fn
(arg1: *const ::libc::c_void,
arg2: *const ::libc::c_void)
-> ::libc::c_int>)
-> *mut ::libc::c_void;
pub fn calloc(arg1: size_t, arg2: size_t) -> *mut ::libc::c_void;
pub fn div(arg1: ::libc::c_int, arg2: ::libc::c_int) -> div_t;
pub fn exit(arg1: ::libc::c_int) -> ();
pub fn free(arg1: *mut ::libc::c_void) -> ();
pub fn getenv(arg1: *const ::libc::c_char) -> *mut ::libc::c_char;
pub fn labs(arg1: ::libc::c_long) -> ::libc::c_long;
pub fn ldiv(arg1: ::libc::c_long, arg2: ::libc::c_long) -> ldiv_t;
pub fn llabs(arg1: ::libc::c_longlong) -> ::libc::c_longlong;
pub fn lldiv(arg1: ::libc::c_longlong, arg2: ::libc::c_longlong)
-> lldiv_t;
pub fn malloc(arg1: size_t) -> *mut ::libc::c_void;
pub fn mblen(arg1: *const ::libc::c_char, arg2: size_t) -> ::libc::c_int;
pub fn mbstowcs(arg1: *mut wchar_t, arg2: *const ::libc::c_char,
arg3: size_t) -> size_t;
pub fn mbtowc(arg1: *mut wchar_t, arg2: *const ::libc::c_char,
arg3: size_t) -> ::libc::c_int;
pub fn posix_memalign(arg1: *mut *mut ::libc::c_void, arg2: size_t,
arg3: size_t) -> ::libc::c_int;
pub fn qsort(arg1: *mut ::libc::c_void, arg2: size_t, arg3: size_t,
arg4:
::std::option::Option<extern "C" fn
(arg1: *const ::libc::c_void,
arg2: *const ::libc::c_void)
-> ::libc::c_int>) -> ();
pub fn rand() -> ::libc::c_int;
pub fn realloc(arg1: *mut ::libc::c_void, arg2: size_t)
-> *mut ::libc::c_void;
pub fn srand(arg1: ::libc::c_uint) -> ();
pub fn strtod(arg1: *const ::libc::c_char, arg2: *mut *mut ::libc::c_char)
-> ::libc::c_double;
pub fn strtof(arg1: *const ::libc::c_char, arg2: *mut *mut ::libc::c_char)
-> ::libc::c_float;
pub fn strtol(arg1: *const ::libc::c_char, arg2: *mut *mut ::libc::c_char,
arg3: ::libc::c_int) -> ::libc::c_long;
pub fn strtold(arg1: *const ::libc::c_char,
arg2: *mut *mut ::libc::c_char) -> ::libc::c_double;
pub fn strtoll(arg1: *const ::libc::c_char,
arg2: *mut *mut ::libc::c_char, arg3: ::libc::c_int)
-> ::libc::c_longlong;
pub fn strtoul(arg1: *const ::libc::c_char,
arg2: *mut *mut ::libc::c_char, arg3: ::libc::c_int)
-> ::libc::c_ulong;
pub fn strtoull(arg1: *const ::libc::c_char,
arg2: *mut *mut ::libc::c_char, arg3: ::libc::c_int)
-> ::libc::c_ulonglong;
pub fn system(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn wcstombs(arg1: *mut ::libc::c_char, arg2: *const wchar_t,
arg3: size_t) -> size_t;
pub fn wctomb(arg1: *mut ::libc::c_char, arg2: wchar_t) -> ::libc::c_int;
pub fn _Exit(arg1: ::libc::c_int) -> ();
pub fn a64l(arg1: *const ::libc::c_char) -> ::libc::c_long;
pub fn drand48() -> ::libc::c_double;
pub fn ecvt(arg1: ::libc::c_double, arg2: ::libc::c_int,
arg3: *mut ::libc::c_int, arg4: *mut ::libc::c_int)
-> *mut ::libc::c_char;
pub fn erand48(arg1: *mut ::libc::c_ushort) -> ::libc::c_double;
pub fn fcvt(arg1: ::libc::c_double, arg2: ::libc::c_int,
arg3: *mut ::libc::c_int, arg4: *mut ::libc::c_int)
-> *mut ::libc::c_char;
pub fn gcvt(arg1: ::libc::c_double, arg2: ::libc::c_int,
arg3: *mut ::libc::c_char) -> *mut ::libc::c_char;
pub fn getsubopt(arg1: *mut *mut ::libc::c_char,
arg2: *const *mut ::libc::c_char,
arg3: *mut *mut ::libc::c_char) -> ::libc::c_int;
pub fn grantpt(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn initstate(arg1: ::libc::c_uint, arg2: *mut ::libc::c_char,
arg3: size_t) -> *mut ::libc::c_char;
pub fn jrand48(arg1: *mut ::libc::c_ushort) -> ::libc::c_long;
pub fn l64a(arg1: ::libc::c_long) -> *mut ::libc::c_char;
pub fn lcong48(arg1: *mut ::libc::c_ushort) -> ();
pub fn lrand48() -> ::libc::c_long;
pub fn mktemp(arg1: *mut ::libc::c_char) -> *mut ::libc::c_char;
pub fn mkstemp(arg1: *mut ::libc::c_char) -> ::libc::c_int;
pub fn mrand48() -> ::libc::c_long;
pub fn nrand48(arg1: *mut ::libc::c_ushort) -> ::libc::c_long;
pub fn posix_openpt(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn ptsname(arg1: ::libc::c_int) -> *mut ::libc::c_char;
pub fn putenv(arg1: *mut ::libc::c_char) -> ::libc::c_int;
pub fn random() -> ::libc::c_long;
pub fn rand_r(arg1: *mut ::libc::c_uint) -> ::libc::c_int;
pub fn realpath(arg1: *const ::libc::c_char, arg2: *mut ::libc::c_char)
-> *mut ::libc::c_char;
pub fn seed48(arg1: *mut ::libc::c_ushort) -> *mut ::libc::c_ushort;
pub fn setenv(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char,
arg3: ::libc::c_int) -> ::libc::c_int;
pub fn setkey(arg1: *const ::libc::c_char) -> ();
pub fn setstate(arg1: *const ::libc::c_char) -> *mut ::libc::c_char;
pub fn srand48(arg1: ::libc::c_long) -> ();
pub fn srandom(arg1: ::libc::c_uint) -> ();
pub fn unlockpt(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn unsetenv(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn arc4random() -> u_int32_t;
pub fn arc4random_addrandom(arg1: *mut ::libc::c_uchar,
arg2: ::libc::c_int) -> ();
pub fn arc4random_buf(arg1: *mut ::libc::c_void, arg2: size_t) -> ();
pub fn arc4random_stir() -> ();
pub fn arc4random_uniform(arg1: u_int32_t) -> u_int32_t;
pub fn atexit_b(arg1: ::libc::c_void) -> ::libc::c_int;
pub fn bsearch_b(arg1: *const ::libc::c_void, arg2: *const ::libc::c_void,
arg3: size_t, arg4: size_t, arg5: ::libc::c_void)
-> *mut ::libc::c_void;
pub fn cgetcap(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char,
arg3: ::libc::c_int) -> *mut ::libc::c_char;
pub fn cgetclose() -> ::libc::c_int;
pub fn cgetent(arg1: *mut *mut ::libc::c_char,
arg2: *mut *mut ::libc::c_char,
arg3: *const ::libc::c_char) -> ::libc::c_int;
pub fn cgetfirst(arg1: *mut *mut ::libc::c_char,
arg2: *mut *mut ::libc::c_char) -> ::libc::c_int;
pub fn cgetmatch(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char)
-> ::libc::c_int;
pub fn cgetnext(arg1: *mut *mut ::libc::c_char,
arg2: *mut *mut ::libc::c_char) -> ::libc::c_int;
pub fn cgetnum(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char,
arg3: *mut ::libc::c_long) -> ::libc::c_int;
pub fn cgetset(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn cgetstr(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char,
arg3: *mut *mut ::libc::c_char) -> ::libc::c_int;
pub fn cgetustr(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char,
arg3: *mut *mut ::libc::c_char) -> ::libc::c_int;
pub fn daemon(arg1: ::libc::c_int, arg2: ::libc::c_int) -> ::libc::c_int;
pub fn devname(arg1: dev_t, arg2: mode_t) -> *mut ::libc::c_char;
pub fn devname_r(arg1: dev_t, arg2: mode_t, buf: *mut ::libc::c_char,
len: ::libc::c_int) -> *mut ::libc::c_char;
pub fn getbsize(arg1: *mut ::libc::c_int, arg2: *mut ::libc::c_long)
-> *mut ::libc::c_char;
pub fn getloadavg(arg1: *mut ::libc::c_double, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn getprogname() -> *const ::libc::c_char;
pub fn heapsort(arg1: *mut ::libc::c_void, arg2: size_t, arg3: size_t,
arg4:
::std::option::Option<extern "C" fn
(arg1:
*const ::libc::c_void,
arg2:
*const ::libc::c_void)
-> ::libc::c_int>)
-> ::libc::c_int;
pub fn heapsort_b(arg1: *mut ::libc::c_void, arg2: size_t, arg3: size_t,
arg4: ::libc::c_void) -> ::libc::c_int;
pub fn mergesort(arg1: *mut ::libc::c_void, arg2: size_t, arg3: size_t,
arg4:
::std::option::Option<extern "C" fn
(arg1:
*const ::libc::c_void,
arg2:
*const ::libc::c_void)
-> ::libc::c_int>)
-> ::libc::c_int;
pub fn mergesort_b(arg1: *mut ::libc::c_void, arg2: size_t, arg3: size_t,
arg4: ::libc::c_void) -> ::libc::c_int;
pub fn psort(arg1: *mut ::libc::c_void, arg2: size_t, arg3: size_t,
arg4:
::std::option::Option<extern "C" fn
(arg1: *const ::libc::c_void,
arg2: *const ::libc::c_void)
-> ::libc::c_int>) -> ();
pub fn psort_b(arg1: *mut ::libc::c_void, arg2: size_t, arg3: size_t,
arg4: ::libc::c_void) -> ();
pub fn psort_r(arg1: *mut ::libc::c_void, arg2: size_t, arg3: size_t,
arg4: *mut ::libc::c_void,
arg5:
::std::option::Option<extern "C" fn
(arg1: *mut ::libc::c_void,
arg2: *const ::libc::c_void,
arg3: *const ::libc::c_void)
-> ::libc::c_int>) -> ();
pub fn qsort_b(arg1: *mut ::libc::c_void, arg2: size_t, arg3: size_t,
arg4: ::libc::c_void) -> ();
pub fn qsort_r(arg1: *mut ::libc::c_void, arg2: size_t, arg3: size_t,
arg4: *mut ::libc::c_void,
arg5:
::std::option::Option<extern "C" fn
(arg1: *mut ::libc::c_void,
arg2: *const ::libc::c_void,
arg3: *const ::libc::c_void)
-> ::libc::c_int>) -> ();
pub fn radixsort(arg1: *mut *const ::libc::c_uchar, arg2: ::libc::c_int,
arg3: *const ::libc::c_uchar, arg4: ::libc::c_uint)
-> ::libc::c_int;
pub fn setprogname(arg1: *const ::libc::c_char) -> ();
pub fn sradixsort(arg1: *mut *const ::libc::c_uchar, arg2: ::libc::c_int,
arg3: *const ::libc::c_uchar, arg4: ::libc::c_uint)
-> ::libc::c_int;
pub fn sranddev() -> ();
pub fn srandomdev() -> ();
pub fn reallocf(arg1: *mut ::libc::c_void, arg2: size_t)
-> *mut ::libc::c_void;
pub fn strtoq(arg1: *const ::libc::c_char, arg2: *mut *mut ::libc::c_char,
arg3: ::libc::c_int) -> ::libc::c_longlong;
pub fn strtouq(arg1: *const ::libc::c_char,
arg2: *mut *mut ::libc::c_char, arg3: ::libc::c_int)
-> ::libc::c_ulonglong;
pub fn valloc(arg1: size_t) -> *mut ::libc::c_void;
pub fn memchr(arg1: *const ::libc::c_void, arg2: ::libc::c_int,
arg3: size_t) -> *mut ::libc::c_void;
pub fn memcmp(arg1: *const ::libc::c_void, arg2: *const ::libc::c_void,
arg3: size_t) -> ::libc::c_int;
pub fn memcpy(arg1: *mut ::libc::c_void, arg2: *const ::libc::c_void,
arg3: size_t) -> *mut ::libc::c_void;
pub fn memmove(arg1: *mut ::libc::c_void, arg2: *const ::libc::c_void,
arg3: size_t) -> *mut ::libc::c_void;
pub fn memset(arg1: *mut ::libc::c_void, arg2: ::libc::c_int,
arg3: size_t) -> *mut ::libc::c_void;
pub fn strcat(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char)
-> *mut ::libc::c_char;
pub fn strchr(arg1: *const ::libc::c_char, arg2: ::libc::c_int)
-> *mut ::libc::c_char;
pub fn strcmp(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char)
-> ::libc::c_int;
pub fn strcoll(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char)
-> ::libc::c_int;
pub fn strcpy(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char)
-> *mut ::libc::c_char;
pub fn strcspn(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char)
-> size_t;
pub fn strerror(arg1: ::libc::c_int) -> *mut ::libc::c_char;
pub fn strlen(arg1: *const ::libc::c_char) -> size_t;
pub fn strncat(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char,
arg3: size_t) -> *mut ::libc::c_char;
pub fn strncmp(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char,
arg3: size_t) -> ::libc::c_int;
pub fn strncpy(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char,
arg3: size_t) -> *mut ::libc::c_char;
pub fn strpbrk(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char)
-> *mut ::libc::c_char;
pub fn strrchr(arg1: *const ::libc::c_char, arg2: ::libc::c_int)
-> *mut ::libc::c_char;
pub fn strspn(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char)
-> size_t;
pub fn strstr(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char)
-> *mut ::libc::c_char;
pub fn strtok(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char)
-> *mut ::libc::c_char;
pub fn strxfrm(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char,
arg3: size_t) -> size_t;
pub fn strtok_r(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char,
arg3: *mut *mut ::libc::c_char) -> *mut ::libc::c_char;
pub fn strerror_r(arg1: ::libc::c_int, arg2: *mut ::libc::c_char,
arg3: size_t) -> ::libc::c_int;
pub fn strdup(arg1: *const ::libc::c_char) -> *mut ::libc::c_char;
pub fn memccpy(arg1: *mut ::libc::c_void, arg2: *const ::libc::c_void,
arg3: ::libc::c_int, arg4: size_t) -> *mut ::libc::c_void;
pub fn stpcpy(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char)
-> *mut ::libc::c_char;
pub fn stpncpy(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char,
arg3: size_t) -> *mut ::libc::c_char;
pub fn strndup(arg1: *const ::libc::c_char, arg2: size_t)
-> *mut ::libc::c_char;
pub fn strnlen(arg1: *const ::libc::c_char, arg2: size_t) -> size_t;
pub fn strsignal(sig: ::libc::c_int) -> *mut ::libc::c_char;
pub fn memset_s(arg1: *mut ::libc::c_void, arg2: rsize_t,
arg3: ::libc::c_int, arg4: rsize_t) -> errno_t;
pub fn memmem(arg1: *const ::libc::c_void, arg2: size_t,
arg3: *const ::libc::c_void, arg4: size_t)
-> *mut ::libc::c_void;
pub fn memset_pattern4(arg1: *mut ::libc::c_void,
arg2: *const ::libc::c_void, arg3: size_t) -> ();
pub fn memset_pattern8(arg1: *mut ::libc::c_void,
arg2: *const ::libc::c_void, arg3: size_t) -> ();
pub fn memset_pattern16(arg1: *mut ::libc::c_void,
arg2: *const ::libc::c_void, arg3: size_t) -> ();
pub fn strcasestr(arg1: *const ::libc::c_char,
arg2: *const ::libc::c_char) -> *mut ::libc::c_char;
pub fn strnstr(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char,
arg3: size_t) -> *mut ::libc::c_char;
pub fn strlcat(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char,
arg3: size_t) -> size_t;
pub fn strlcpy(arg1: *mut ::libc::c_char, arg2: *const ::libc::c_char,
arg3: size_t) -> size_t;
pub fn strmode(arg1: ::libc::c_int, arg2: *mut ::libc::c_char) -> ();
pub fn strsep(arg1: *mut *mut ::libc::c_char, arg2: *const ::libc::c_char)
-> *mut ::libc::c_char;
pub fn swab(arg1: *const ::libc::c_void, arg2: *mut ::libc::c_void,
arg3: ssize_t) -> ();
pub fn bcmp(arg1: *const ::libc::c_void, arg2: *const ::libc::c_void,
arg3: size_t) -> ::libc::c_int;
pub fn bcopy(arg1: *const ::libc::c_void, arg2: *mut ::libc::c_void,
arg3: size_t) -> ();
pub fn bzero(arg1: *mut ::libc::c_void, arg2: size_t) -> ();
pub fn index(arg1: *const ::libc::c_char, arg2: ::libc::c_int)
-> *mut ::libc::c_char;
pub fn rindex(arg1: *const ::libc::c_char, arg2: ::libc::c_int)
-> *mut ::libc::c_char;
pub fn ffs(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn strcasecmp(arg1: *const ::libc::c_char,
arg2: *const ::libc::c_char) -> ::libc::c_int;
pub fn strncasecmp(arg1: *const ::libc::c_char,
arg2: *const ::libc::c_char, arg3: size_t)
-> ::libc::c_int;
pub fn ffsl(arg1: ::libc::c_long) -> ::libc::c_int;
pub fn ffsll(arg1: ::libc::c_longlong) -> ::libc::c_int;
pub fn fls(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn flsl(arg1: ::libc::c_long) -> ::libc::c_int;
pub fn flsll(arg1: ::libc::c_longlong) -> ::libc::c_int;
pub fn asctime(arg1: *const Struct_tm) -> *mut ::libc::c_char;
pub fn clock() -> clock_t;
pub fn ctime(arg1: *const time_t) -> *mut ::libc::c_char;
pub fn difftime(arg1: time_t, arg2: time_t) -> ::libc::c_double;
pub fn getdate(arg1: *const ::libc::c_char) -> *mut Struct_tm;
pub fn gmtime(arg1: *const time_t) -> *mut Struct_tm;
pub fn localtime(arg1: *const time_t) -> *mut Struct_tm;
pub fn mktime(arg1: *mut Struct_tm) -> time_t;
pub fn strftime(arg1: *mut ::libc::c_char, arg2: size_t,
arg3: *const ::libc::c_char, arg4: *const Struct_tm)
-> size_t;
pub fn strptime(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char,
arg3: *mut Struct_tm) -> *mut ::libc::c_char;
pub fn time(arg1: *mut time_t) -> time_t;
pub fn tzset() -> ();
pub fn asctime_r(arg1: *const Struct_tm, arg2: *mut ::libc::c_char)
-> *mut ::libc::c_char;
pub fn ctime_r(arg1: *const time_t, arg2: *mut ::libc::c_char)
-> *mut ::libc::c_char;
pub fn gmtime_r(arg1: *const time_t, arg2: *mut Struct_tm)
-> *mut Struct_tm;
pub fn localtime_r(arg1: *const time_t, arg2: *mut Struct_tm)
-> *mut Struct_tm;
pub fn posix2time(arg1: time_t) -> time_t;
pub fn tzsetwall() -> ();
pub fn time2posix(arg1: time_t) -> time_t;
pub fn timelocal(arg1: *mut Struct_tm) -> time_t;
pub fn timegm(arg1: *mut Struct_tm) -> time_t;
pub fn nanosleep(arg1: *const Struct_timespec, arg2: *mut Struct_timespec)
-> ::libc::c_int;
pub fn imaxabs(j: intmax_t) -> intmax_t;
pub fn imaxdiv(__numer: intmax_t, __denom: intmax_t) -> imaxdiv_t;
pub fn strtoimax(__nptr: *const ::libc::c_char,
__endptr: *mut *mut ::libc::c_char,
__base: ::libc::c_int) -> intmax_t;
pub fn strtoumax(__nptr: *const ::libc::c_char,
__endptr: *mut *mut ::libc::c_char,
__base: ::libc::c_int) -> uintmax_t;
pub fn wcstoimax(__nptr: *const wchar_t, __endptr: *mut *mut wchar_t,
__base: ::libc::c_int) -> intmax_t;
pub fn wcstoumax(__nptr: *const wchar_t, __endptr: *mut *mut wchar_t,
__base: ::libc::c_int) -> uintmax_t;
pub fn CFArrayGetTypeID() -> CFTypeID;
pub fn CFArrayCreate(allocator: CFAllocatorRef,
values: *mut *const ::libc::c_void,
numValues: CFIndex,
callBacks: *const CFArrayCallBacks) -> CFArrayRef;
pub fn CFArrayCreateCopy(allocator: CFAllocatorRef, theArray: CFArrayRef)
-> CFArrayRef;
pub fn CFArrayCreateMutable(allocator: CFAllocatorRef, capacity: CFIndex,
callBacks: *const CFArrayCallBacks)
-> CFMutableArrayRef;
pub fn CFArrayCreateMutableCopy(allocator: CFAllocatorRef,
capacity: CFIndex, theArray: CFArrayRef)
-> CFMutableArrayRef;
pub fn CFArrayGetCount(theArray: CFArrayRef) -> CFIndex;
pub fn CFArrayGetCountOfValue(theArray: CFArrayRef, range: CFRange,
value: *const ::libc::c_void) -> CFIndex;
pub fn CFArrayContainsValue(theArray: CFArrayRef, range: CFRange,
value: *const ::libc::c_void) -> Boolean;
pub fn CFArrayGetValueAtIndex(theArray: CFArrayRef, idx: CFIndex)
-> *const ::libc::c_void;
pub fn CFArrayGetValues(theArray: CFArrayRef, range: CFRange,
values: *mut *const ::libc::c_void) -> ();
pub fn CFArrayApplyFunction(theArray: CFArrayRef, range: CFRange,
applier: CFArrayApplierFunction,
context: *mut ::libc::c_void) -> ();
pub fn CFArrayGetFirstIndexOfValue(theArray: CFArrayRef, range: CFRange,
value: *const ::libc::c_void)
-> CFIndex;
pub fn CFArrayGetLastIndexOfValue(theArray: CFArrayRef, range: CFRange,
value: *const ::libc::c_void)
-> CFIndex;
pub fn CFArrayBSearchValues(theArray: CFArrayRef, range: CFRange,
value: *const ::libc::c_void,
comparator: CFComparatorFunction,
context: *mut ::libc::c_void) -> CFIndex;
pub fn CFArrayAppendValue(theArray: CFMutableArrayRef,
value: *const ::libc::c_void) -> ();
pub fn CFArrayInsertValueAtIndex(theArray: CFMutableArrayRef,
idx: CFIndex,
value: *const ::libc::c_void) -> ();
pub fn CFArraySetValueAtIndex(theArray: CFMutableArrayRef, idx: CFIndex,
value: *const ::libc::c_void) -> ();
pub fn CFArrayRemoveValueAtIndex(theArray: CFMutableArrayRef,
idx: CFIndex) -> ();
pub fn CFArrayRemoveAllValues(theArray: CFMutableArrayRef) -> ();
pub fn CFArrayReplaceValues(theArray: CFMutableArrayRef, range: CFRange,
newValues: *mut *const ::libc::c_void,
newCount: CFIndex) -> ();
pub fn CFArrayExchangeValuesAtIndices(theArray: CFMutableArrayRef,
idx1: CFIndex, idx2: CFIndex) -> ();
pub fn CFArraySortValues(theArray: CFMutableArrayRef, range: CFRange,
comparator: CFComparatorFunction,
context: *mut ::libc::c_void) -> ();
pub fn CFArrayAppendArray(theArray: CFMutableArrayRef,
otherArray: CFArrayRef, otherRange: CFRange)
-> ();
pub fn CFBagGetTypeID() -> CFTypeID;
pub fn CFBagCreate(allocator: CFAllocatorRef,
values: *mut *const ::libc::c_void, numValues: CFIndex,
callBacks: *const CFBagCallBacks) -> CFBagRef;
pub fn CFBagCreateCopy(allocator: CFAllocatorRef, theBag: CFBagRef)
-> CFBagRef;
pub fn CFBagCreateMutable(allocator: CFAllocatorRef, capacity: CFIndex,
callBacks: *const CFBagCallBacks)
-> CFMutableBagRef;
pub fn CFBagCreateMutableCopy(allocator: CFAllocatorRef,
capacity: CFIndex, theBag: CFBagRef)
-> CFMutableBagRef;
pub fn CFBagGetCount(theBag: CFBagRef) -> CFIndex;
pub fn CFBagGetCountOfValue(theBag: CFBagRef,
value: *const ::libc::c_void) -> CFIndex;
pub fn CFBagContainsValue(theBag: CFBagRef, value: *const ::libc::c_void)
-> Boolean;
pub fn CFBagGetValue(theBag: CFBagRef, value: *const ::libc::c_void)
-> *const ::libc::c_void;
pub fn CFBagGetValueIfPresent(theBag: CFBagRef,
candidate: *const ::libc::c_void,
value: *mut *const ::libc::c_void)
-> Boolean;
pub fn CFBagGetValues(theBag: CFBagRef,
values: *mut *const ::libc::c_void) -> ();
pub fn CFBagApplyFunction(theBag: CFBagRef, applier: CFBagApplierFunction,
context: *mut ::libc::c_void) -> ();
pub fn CFBagAddValue(theBag: CFMutableBagRef,
value: *const ::libc::c_void) -> ();
pub fn CFBagReplaceValue(theBag: CFMutableBagRef,
value: *const ::libc::c_void) -> ();
pub fn CFBagSetValue(theBag: CFMutableBagRef,
value: *const ::libc::c_void) -> ();
pub fn CFBagRemoveValue(theBag: CFMutableBagRef,
value: *const ::libc::c_void) -> ();
pub fn CFBagRemoveAllValues(theBag: CFMutableBagRef) -> ();
pub fn CFBinaryHeapGetTypeID() -> CFTypeID;
pub fn CFBinaryHeapCreate(allocator: CFAllocatorRef, capacity: CFIndex,
callBacks: *const CFBinaryHeapCallBacks,
compareContext:
*const CFBinaryHeapCompareContext)
-> CFBinaryHeapRef;
pub fn CFBinaryHeapCreateCopy(allocator: CFAllocatorRef,
capacity: CFIndex, heap: CFBinaryHeapRef)
-> CFBinaryHeapRef;
pub fn CFBinaryHeapGetCount(heap: CFBinaryHeapRef) -> CFIndex;
pub fn CFBinaryHeapGetCountOfValue(heap: CFBinaryHeapRef,
value: *const ::libc::c_void)
-> CFIndex;
pub fn CFBinaryHeapContainsValue(heap: CFBinaryHeapRef,
value: *const ::libc::c_void) -> Boolean;
pub fn CFBinaryHeapGetMinimum(heap: CFBinaryHeapRef)
-> *const ::libc::c_void;
pub fn CFBinaryHeapGetMinimumIfPresent(heap: CFBinaryHeapRef,
value: *mut *const ::libc::c_void)
-> Boolean;
pub fn CFBinaryHeapGetValues(heap: CFBinaryHeapRef,
values: *mut *const ::libc::c_void) -> ();
pub fn CFBinaryHeapApplyFunction(heap: CFBinaryHeapRef,
applier: CFBinaryHeapApplierFunction,
context: *mut ::libc::c_void) -> ();
pub fn CFBinaryHeapAddValue(heap: CFBinaryHeapRef,
value: *const ::libc::c_void) -> ();
pub fn CFBinaryHeapRemoveMinimumValue(heap: CFBinaryHeapRef) -> ();
pub fn CFBinaryHeapRemoveAllValues(heap: CFBinaryHeapRef) -> ();
pub fn CFBitVectorGetTypeID() -> CFTypeID;
pub fn CFBitVectorCreate(allocator: CFAllocatorRef, bytes: *const UInt8,
numBits: CFIndex) -> CFBitVectorRef;
pub fn CFBitVectorCreateCopy(allocator: CFAllocatorRef,
bv: CFBitVectorRef) -> CFBitVectorRef;
pub fn CFBitVectorCreateMutable(allocator: CFAllocatorRef,
capacity: CFIndex)
-> CFMutableBitVectorRef;
pub fn CFBitVectorCreateMutableCopy(allocator: CFAllocatorRef,
capacity: CFIndex, bv: CFBitVectorRef)
-> CFMutableBitVectorRef;
pub fn CFBitVectorGetCount(bv: CFBitVectorRef) -> CFIndex;
pub fn CFBitVectorGetCountOfBit(bv: CFBitVectorRef, range: CFRange,
value: CFBit) -> CFIndex;
pub fn CFBitVectorContainsBit(bv: CFBitVectorRef, range: CFRange,
value: CFBit) -> Boolean;
pub fn CFBitVectorGetBitAtIndex(bv: CFBitVectorRef, idx: CFIndex)
-> CFBit;
pub fn CFBitVectorGetBits(bv: CFBitVectorRef, range: CFRange,
bytes: *mut UInt8) -> ();
pub fn CFBitVectorGetFirstIndexOfBit(bv: CFBitVectorRef, range: CFRange,
value: CFBit) -> CFIndex;
pub fn CFBitVectorGetLastIndexOfBit(bv: CFBitVectorRef, range: CFRange,
value: CFBit) -> CFIndex;
pub fn CFBitVectorSetCount(bv: CFMutableBitVectorRef, count: CFIndex)
-> ();
pub fn CFBitVectorFlipBitAtIndex(bv: CFMutableBitVectorRef, idx: CFIndex)
-> ();
pub fn CFBitVectorFlipBits(bv: CFMutableBitVectorRef, range: CFRange)
-> ();
pub fn CFBitVectorSetBitAtIndex(bv: CFMutableBitVectorRef, idx: CFIndex,
value: CFBit) -> ();
pub fn CFBitVectorSetBits(bv: CFMutableBitVectorRef, range: CFRange,
value: CFBit) -> ();
pub fn CFBitVectorSetAllBits(bv: CFMutableBitVectorRef, value: CFBit)
-> ();
pub fn CFDictionaryGetTypeID() -> CFTypeID;
pub fn CFDictionaryCreate(allocator: CFAllocatorRef,
keys: *mut *const ::libc::c_void,
values: *mut *const ::libc::c_void,
numValues: CFIndex,
keyCallBacks: *const CFDictionaryKeyCallBacks,
valueCallBacks:
*const CFDictionaryValueCallBacks)
-> CFDictionaryRef;
pub fn CFDictionaryCreateCopy(allocator: CFAllocatorRef,
theDict: CFDictionaryRef)
-> CFDictionaryRef;
pub fn CFDictionaryCreateMutable(allocator: CFAllocatorRef,
capacity: CFIndex,
keyCallBacks:
*const CFDictionaryKeyCallBacks,
valueCallBacks:
*const CFDictionaryValueCallBacks)
-> CFMutableDictionaryRef;
pub fn CFDictionaryCreateMutableCopy(allocator: CFAllocatorRef,
capacity: CFIndex,
theDict: CFDictionaryRef)
-> CFMutableDictionaryRef;
pub fn CFDictionaryGetCount(theDict: CFDictionaryRef) -> CFIndex;
pub fn CFDictionaryGetCountOfKey(theDict: CFDictionaryRef,
key: *const ::libc::c_void) -> CFIndex;
pub fn CFDictionaryGetCountOfValue(theDict: CFDictionaryRef,
value: *const ::libc::c_void)
-> CFIndex;
pub fn CFDictionaryContainsKey(theDict: CFDictionaryRef,
key: *const ::libc::c_void) -> Boolean;
pub fn CFDictionaryContainsValue(theDict: CFDictionaryRef,
value: *const ::libc::c_void) -> Boolean;
pub fn CFDictionaryGetValue(theDict: CFDictionaryRef,
key: *const ::libc::c_void)
-> *const ::libc::c_void;
pub fn CFDictionaryGetValueIfPresent(theDict: CFDictionaryRef,
key: *const ::libc::c_void,
value: *mut *const ::libc::c_void)
-> Boolean;
pub fn CFDictionaryGetKeysAndValues(theDict: CFDictionaryRef,
keys: *mut *const ::libc::c_void,
values: *mut *const ::libc::c_void)
-> ();
pub fn CFDictionaryApplyFunction(theDict: CFDictionaryRef,
applier: CFDictionaryApplierFunction,
context: *mut ::libc::c_void) -> ();
pub fn CFDictionaryAddValue(theDict: CFMutableDictionaryRef,
key: *const ::libc::c_void,
value: *const ::libc::c_void) -> ();
pub fn CFDictionarySetValue(theDict: CFMutableDictionaryRef,
key: *const ::libc::c_void,
value: *const ::libc::c_void) -> ();
pub fn CFDictionaryReplaceValue(theDict: CFMutableDictionaryRef,
key: *const ::libc::c_void,
value: *const ::libc::c_void) -> ();
pub fn CFDictionaryRemoveValue(theDict: CFMutableDictionaryRef,
key: *const ::libc::c_void) -> ();
pub fn CFDictionaryRemoveAllValues(theDict: CFMutableDictionaryRef) -> ();
pub fn CFLocaleGetTypeID() -> CFTypeID;
pub fn CFLocaleGetSystem() -> CFLocaleRef;
pub fn CFLocaleCopyCurrent() -> CFLocaleRef;
pub fn CFLocaleCopyAvailableLocaleIdentifiers() -> CFArrayRef;
pub fn CFLocaleCopyISOLanguageCodes() -> CFArrayRef;
pub fn CFLocaleCopyISOCountryCodes() -> CFArrayRef;
pub fn CFLocaleCopyISOCurrencyCodes() -> CFArrayRef;
pub fn CFLocaleCopyCommonISOCurrencyCodes() -> CFArrayRef;
pub fn CFLocaleCopyPreferredLanguages() -> CFArrayRef;
pub fn CFLocaleCreateCanonicalLanguageIdentifierFromString(allocator:
CFAllocatorRef,
localeIdentifier:
CFStringRef)
-> CFStringRef;
pub fn CFLocaleCreateCanonicalLocaleIdentifierFromString(allocator:
CFAllocatorRef,
localeIdentifier:
CFStringRef)
-> CFStringRef;
pub fn CFLocaleCreateCanonicalLocaleIdentifierFromScriptManagerCodes(allocator:
CFAllocatorRef,
lcode:
LangCode,
rcode:
RegionCode)
-> CFStringRef;
pub fn CFLocaleCreateLocaleIdentifierFromWindowsLocaleCode(allocator:
CFAllocatorRef,
lcid: uint32_t)
-> CFStringRef;
pub fn CFLocaleGetWindowsLocaleCodeFromLocaleIdentifier(localeIdentifier:
CFStringRef)
-> uint32_t;
pub fn CFLocaleGetLanguageCharacterDirection(isoLangCode: CFStringRef)
-> CFLocaleLanguageDirection;
pub fn CFLocaleGetLanguageLineDirection(isoLangCode: CFStringRef)
-> CFLocaleLanguageDirection;
pub fn CFLocaleCreateComponentsFromLocaleIdentifier(allocator:
CFAllocatorRef,
localeID: CFStringRef)
-> CFDictionaryRef;
pub fn CFLocaleCreateLocaleIdentifierFromComponents(allocator:
CFAllocatorRef,
dictionary:
CFDictionaryRef)
-> CFStringRef;
pub fn CFLocaleCreate(allocator: CFAllocatorRef,
localeIdentifier: CFStringRef) -> CFLocaleRef;
pub fn CFLocaleCreateCopy(allocator: CFAllocatorRef, locale: CFLocaleRef)
-> CFLocaleRef;
pub fn CFLocaleGetIdentifier(locale: CFLocaleRef) -> CFStringRef;
pub fn CFLocaleGetValue(locale: CFLocaleRef, key: CFStringRef)
-> CFTypeRef;
pub fn CFLocaleCopyDisplayNameForPropertyValue(displayLocale: CFLocaleRef,
key: CFStringRef,
value: CFStringRef)
-> CFStringRef;
pub fn CFAbsoluteTimeGetCurrent() -> CFAbsoluteTime;
pub fn CFDateGetTypeID() -> CFTypeID;
pub fn CFDateCreate(allocator: CFAllocatorRef, at: CFAbsoluteTime)
-> CFDateRef;
pub fn CFDateGetAbsoluteTime(theDate: CFDateRef) -> CFAbsoluteTime;
pub fn CFDateGetTimeIntervalSinceDate(theDate: CFDateRef,
otherDate: CFDateRef)
-> CFTimeInterval;
pub fn CFDateCompare(theDate: CFDateRef, otherDate: CFDateRef,
context: *mut ::libc::c_void) -> CFComparisonResult;
pub fn CFGregorianDateIsValid(gdate: CFGregorianDate,
unitFlags: CFOptionFlags) -> Boolean;
pub fn CFGregorianDateGetAbsoluteTime(gdate: CFGregorianDate,
tz: CFTimeZoneRef)
-> CFAbsoluteTime;
pub fn CFAbsoluteTimeGetGregorianDate(at: CFAbsoluteTime,
tz: CFTimeZoneRef)
-> CFGregorianDate;
pub fn CFAbsoluteTimeAddGregorianUnits(at: CFAbsoluteTime,
tz: CFTimeZoneRef,
units: CFGregorianUnits)
-> CFAbsoluteTime;
pub fn CFAbsoluteTimeGetDifferenceAsGregorianUnits(at1: CFAbsoluteTime,
at2: CFAbsoluteTime,
tz: CFTimeZoneRef,
unitFlags:
CFOptionFlags)
-> CFGregorianUnits;
pub fn CFAbsoluteTimeGetDayOfWeek(at: CFAbsoluteTime, tz: CFTimeZoneRef)
-> SInt32;
pub fn CFAbsoluteTimeGetDayOfYear(at: CFAbsoluteTime, tz: CFTimeZoneRef)
-> SInt32;
pub fn CFAbsoluteTimeGetWeekOfYear(at: CFAbsoluteTime, tz: CFTimeZoneRef)
-> SInt32;
pub fn CFDataGetTypeID() -> CFTypeID;
pub fn CFDataCreate(allocator: CFAllocatorRef, bytes: *const UInt8,
length: CFIndex) -> CFDataRef;
pub fn CFDataCreateWithBytesNoCopy(allocator: CFAllocatorRef,
bytes: *const UInt8, length: CFIndex,
bytesDeallocator: CFAllocatorRef)
-> CFDataRef;
pub fn CFDataCreateCopy(allocator: CFAllocatorRef, theData: CFDataRef)
-> CFDataRef;
pub fn CFDataCreateMutable(allocator: CFAllocatorRef, capacity: CFIndex)
-> CFMutableDataRef;
pub fn CFDataCreateMutableCopy(allocator: CFAllocatorRef,
capacity: CFIndex, theData: CFDataRef)
-> CFMutableDataRef;
pub fn CFDataGetLength(theData: CFDataRef) -> CFIndex;
pub fn CFDataGetBytePtr(theData: CFDataRef) -> *const UInt8;
pub fn CFDataGetMutableBytePtr(theData: CFMutableDataRef) -> *mut UInt8;
pub fn CFDataGetBytes(theData: CFDataRef, range: CFRange,
buffer: *mut UInt8) -> ();
pub fn CFDataSetLength(theData: CFMutableDataRef, length: CFIndex) -> ();
pub fn CFDataIncreaseLength(theData: CFMutableDataRef,
extraLength: CFIndex) -> ();
pub fn CFDataAppendBytes(theData: CFMutableDataRef, bytes: *const UInt8,
length: CFIndex) -> ();
pub fn CFDataReplaceBytes(theData: CFMutableDataRef, range: CFRange,
newBytes: *const UInt8, newLength: CFIndex)
-> ();
pub fn CFDataDeleteBytes(theData: CFMutableDataRef, range: CFRange) -> ();
pub fn CFDataFind(theData: CFDataRef, dataToFind: CFDataRef,
searchRange: CFRange, compareOptions: CFDataSearchFlags)
-> CFRange;
pub fn CFCharacterSetGetTypeID() -> CFTypeID;
pub fn CFCharacterSetGetPredefined(theSetIdentifier:
CFCharacterSetPredefinedSet)
-> CFCharacterSetRef;
pub fn CFCharacterSetCreateWithCharactersInRange(alloc: CFAllocatorRef,
theRange: CFRange)
-> CFCharacterSetRef;
pub fn CFCharacterSetCreateWithCharactersInString(alloc: CFAllocatorRef,
theString: CFStringRef)
-> CFCharacterSetRef;
pub fn CFCharacterSetCreateWithBitmapRepresentation(alloc: CFAllocatorRef,
theData: CFDataRef)
-> CFCharacterSetRef;
pub fn CFCharacterSetCreateInvertedSet(alloc: CFAllocatorRef,
theSet: CFCharacterSetRef)
-> CFCharacterSetRef;
pub fn CFCharacterSetIsSupersetOfSet(theSet: CFCharacterSetRef,
theOtherset: CFCharacterSetRef)
-> Boolean;
pub fn CFCharacterSetHasMemberInPlane(theSet: CFCharacterSetRef,
thePlane: CFIndex) -> Boolean;
pub fn CFCharacterSetCreateMutable(alloc: CFAllocatorRef)
-> CFMutableCharacterSetRef;
pub fn CFCharacterSetCreateCopy(alloc: CFAllocatorRef,
theSet: CFCharacterSetRef)
-> CFCharacterSetRef;
pub fn CFCharacterSetCreateMutableCopy(alloc: CFAllocatorRef,
theSet: CFCharacterSetRef)
-> CFMutableCharacterSetRef;
pub fn CFCharacterSetIsCharacterMember(theSet: CFCharacterSetRef,
theChar: UniChar) -> Boolean;
pub fn CFCharacterSetIsLongCharacterMember(theSet: CFCharacterSetRef,
theChar: UTF32Char) -> Boolean;
pub fn CFCharacterSetCreateBitmapRepresentation(alloc: CFAllocatorRef,
theSet: CFCharacterSetRef)
-> CFDataRef;
pub fn CFCharacterSetAddCharactersInRange(theSet:
CFMutableCharacterSetRef,
theRange: CFRange) -> ();
pub fn CFCharacterSetRemoveCharactersInRange(theSet:
CFMutableCharacterSetRef,
theRange: CFRange) -> ();
pub fn CFCharacterSetAddCharactersInString(theSet:
CFMutableCharacterSetRef,
theString: CFStringRef) -> ();
pub fn CFCharacterSetRemoveCharactersInString(theSet:
CFMutableCharacterSetRef,
theString: CFStringRef)
-> ();
pub fn CFCharacterSetUnion(theSet: CFMutableCharacterSetRef,
theOtherSet: CFCharacterSetRef) -> ();
pub fn CFCharacterSetIntersect(theSet: CFMutableCharacterSetRef,
theOtherSet: CFCharacterSetRef) -> ();
pub fn CFCharacterSetInvert(theSet: CFMutableCharacterSetRef) -> ();
pub fn CFStringGetTypeID() -> CFTypeID;
pub fn CFStringCreateWithPascalString(alloc: CFAllocatorRef,
pStr: ConstStr255Param,
encoding: CFStringEncoding)
-> CFStringRef;
pub fn CFStringCreateWithCString(alloc: CFAllocatorRef,
cStr: *const ::libc::c_char,
encoding: CFStringEncoding)
-> CFStringRef;
pub fn CFStringCreateWithBytes(alloc: CFAllocatorRef, bytes: *const UInt8,
numBytes: CFIndex,
encoding: CFStringEncoding,
isExternalRepresentation: Boolean)
-> CFStringRef;
pub fn CFStringCreateWithCharacters(alloc: CFAllocatorRef,
chars: *const UniChar,
numChars: CFIndex) -> CFStringRef;
pub fn CFStringCreateWithPascalStringNoCopy(alloc: CFAllocatorRef,
pStr: ConstStr255Param,
encoding: CFStringEncoding,
contentsDeallocator:
CFAllocatorRef)
-> CFStringRef;
pub fn CFStringCreateWithCStringNoCopy(alloc: CFAllocatorRef,
cStr: *const ::libc::c_char,
encoding: CFStringEncoding,
contentsDeallocator:
CFAllocatorRef) -> CFStringRef;
pub fn CFStringCreateWithBytesNoCopy(alloc: CFAllocatorRef,
bytes: *const UInt8,
numBytes: CFIndex,
encoding: CFStringEncoding,
isExternalRepresentation: Boolean,
contentsDeallocator: CFAllocatorRef)
-> CFStringRef;
pub fn CFStringCreateWithCharactersNoCopy(alloc: CFAllocatorRef,
chars: *const UniChar,
numChars: CFIndex,
contentsDeallocator:
CFAllocatorRef)
-> CFStringRef;
pub fn CFStringCreateWithSubstring(alloc: CFAllocatorRef,
str: CFStringRef, range: CFRange)
-> CFStringRef;
pub fn CFStringCreateCopy(alloc: CFAllocatorRef, theString: CFStringRef)
-> CFStringRef;
pub fn CFStringCreateWithFormat(alloc: CFAllocatorRef,
formatOptions: CFDictionaryRef,
format: CFStringRef, ...) -> CFStringRef;
pub fn CFStringCreateWithFormatAndArguments(alloc: CFAllocatorRef,
formatOptions:
CFDictionaryRef,
format: CFStringRef,
arguments: va_list)
-> CFStringRef;
pub fn CFStringCreateMutable(alloc: CFAllocatorRef, maxLength: CFIndex)
-> CFMutableStringRef;
pub fn CFStringCreateMutableCopy(alloc: CFAllocatorRef,
maxLength: CFIndex,
theString: CFStringRef)
-> CFMutableStringRef;
pub fn CFStringCreateMutableWithExternalCharactersNoCopy(alloc:
CFAllocatorRef,
chars:
*mut UniChar,
numChars:
CFIndex,
capacity:
CFIndex,
externalCharactersAllocator:
CFAllocatorRef)
-> CFMutableStringRef;
pub fn CFStringGetLength(theString: CFStringRef) -> CFIndex;
pub fn CFStringGetCharacterAtIndex(theString: CFStringRef, idx: CFIndex)
-> UniChar;
pub fn CFStringGetCharacters(theString: CFStringRef, range: CFRange,
buffer: *mut UniChar) -> ();
pub fn CFStringGetPascalString(theString: CFStringRef, buffer: StringPtr,
bufferSize: CFIndex,
encoding: CFStringEncoding) -> Boolean;
pub fn CFStringGetCString(theString: CFStringRef,
buffer: *mut ::libc::c_char,
bufferSize: CFIndex, encoding: CFStringEncoding)
-> Boolean;
pub fn CFStringGetPascalStringPtr(theString: CFStringRef,
encoding: CFStringEncoding)
-> ConstStringPtr;
pub fn CFStringGetCStringPtr(theString: CFStringRef,
encoding: CFStringEncoding)
-> *const ::libc::c_char;
pub fn CFStringGetCharactersPtr(theString: CFStringRef) -> *const UniChar;
pub fn CFStringGetBytes(theString: CFStringRef, range: CFRange,
encoding: CFStringEncoding, lossByte: UInt8,
isExternalRepresentation: Boolean,
buffer: *mut UInt8, maxBufLen: CFIndex,
usedBufLen: *mut CFIndex) -> CFIndex;
pub fn CFStringCreateFromExternalRepresentation(alloc: CFAllocatorRef,
data: CFDataRef,
encoding:
CFStringEncoding)
-> CFStringRef;
pub fn CFStringCreateExternalRepresentation(alloc: CFAllocatorRef,
theString: CFStringRef,
encoding: CFStringEncoding,
lossByte: UInt8) -> CFDataRef;
pub fn CFStringGetSmallestEncoding(theString: CFStringRef)
-> CFStringEncoding;
pub fn CFStringGetFastestEncoding(theString: CFStringRef)
-> CFStringEncoding;
pub fn CFStringGetSystemEncoding() -> CFStringEncoding;
pub fn CFStringGetMaximumSizeForEncoding(length: CFIndex,
encoding: CFStringEncoding)
-> CFIndex;
pub fn CFStringGetFileSystemRepresentation(string: CFStringRef,
buffer: *mut ::libc::c_char,
maxBufLen: CFIndex) -> Boolean;
pub fn CFStringGetMaximumSizeOfFileSystemRepresentation(string:
CFStringRef)
-> CFIndex;
pub fn CFStringCreateWithFileSystemRepresentation(alloc: CFAllocatorRef,
buffer:
*const ::libc::c_char)
-> CFStringRef;
pub fn CFStringCompareWithOptionsAndLocale(theString1: CFStringRef,
theString2: CFStringRef,
rangeToCompare: CFRange,
compareOptions:
CFStringCompareFlags,
locale: CFLocaleRef)
-> CFComparisonResult;
pub fn CFStringCompareWithOptions(theString1: CFStringRef,
theString2: CFStringRef,
rangeToCompare: CFRange,
compareOptions: CFStringCompareFlags)
-> CFComparisonResult;
pub fn CFStringCompare(theString1: CFStringRef, theString2: CFStringRef,
compareOptions: CFStringCompareFlags)
-> CFComparisonResult;
pub fn CFStringFindWithOptionsAndLocale(theString: CFStringRef,
stringToFind: CFStringRef,
rangeToSearch: CFRange,
searchOptions:
CFStringCompareFlags,
locale: CFLocaleRef,
result: *mut CFRange) -> Boolean;
pub fn CFStringFindWithOptions(theString: CFStringRef,
stringToFind: CFStringRef,
rangeToSearch: CFRange,
searchOptions: CFStringCompareFlags,
result: *mut CFRange) -> Boolean;
pub fn CFStringCreateArrayWithFindResults(alloc: CFAllocatorRef,
theString: CFStringRef,
stringToFind: CFStringRef,
rangeToSearch: CFRange,
compareOptions:
CFStringCompareFlags)
-> CFArrayRef;
pub fn CFStringFind(theString: CFStringRef, stringToFind: CFStringRef,
compareOptions: CFStringCompareFlags) -> CFRange;
pub fn CFStringHasPrefix(theString: CFStringRef, prefix: CFStringRef)
-> Boolean;
pub fn CFStringHasSuffix(theString: CFStringRef, suffix: CFStringRef)
-> Boolean;
pub fn CFStringGetRangeOfComposedCharactersAtIndex(theString: CFStringRef,
theIndex: CFIndex)
-> CFRange;
pub fn CFStringFindCharacterFromSet(theString: CFStringRef,
theSet: CFCharacterSetRef,
rangeToSearch: CFRange,
searchOptions: CFStringCompareFlags,
result: *mut CFRange) -> Boolean;
pub fn CFStringGetLineBounds(theString: CFStringRef, range: CFRange,
lineBeginIndex: *mut CFIndex,
lineEndIndex: *mut CFIndex,
contentsEndIndex: *mut CFIndex) -> ();
pub fn CFStringGetParagraphBounds(string: CFStringRef, range: CFRange,
parBeginIndex: *mut CFIndex,
parEndIndex: *mut CFIndex,
contentsEndIndex: *mut CFIndex) -> ();
pub fn CFStringGetHyphenationLocationBeforeIndex(string: CFStringRef,
location: CFIndex,
limitRange: CFRange,
options: CFOptionFlags,
locale: CFLocaleRef,
character:
*mut UTF32Char)
-> CFIndex;
pub fn CFStringIsHyphenationAvailableForLocale(locale: CFLocaleRef)
-> Boolean;
pub fn CFStringCreateByCombiningStrings(alloc: CFAllocatorRef,
theArray: CFArrayRef,
separatorString: CFStringRef)
-> CFStringRef;
pub fn CFStringCreateArrayBySeparatingStrings(alloc: CFAllocatorRef,
theString: CFStringRef,
separatorString:
CFStringRef)
-> CFArrayRef;
pub fn CFStringGetIntValue(str: CFStringRef) -> SInt32;
pub fn CFStringGetDoubleValue(str: CFStringRef) -> ::libc::c_double;
pub fn CFStringAppend(theString: CFMutableStringRef,
appendedString: CFStringRef) -> ();
pub fn CFStringAppendCharacters(theString: CFMutableStringRef,
chars: *const UniChar, numChars: CFIndex)
-> ();
pub fn CFStringAppendPascalString(theString: CFMutableStringRef,
pStr: ConstStr255Param,
encoding: CFStringEncoding) -> ();
pub fn CFStringAppendCString(theString: CFMutableStringRef,
cStr: *const ::libc::c_char,
encoding: CFStringEncoding) -> ();
pub fn CFStringAppendFormat(theString: CFMutableStringRef,
formatOptions: CFDictionaryRef,
format: CFStringRef, ...) -> ();
pub fn CFStringAppendFormatAndArguments(theString: CFMutableStringRef,
formatOptions: CFDictionaryRef,
format: CFStringRef,
arguments: va_list) -> ();
pub fn CFStringInsert(str: CFMutableStringRef, idx: CFIndex,
insertedStr: CFStringRef) -> ();
pub fn CFStringDelete(theString: CFMutableStringRef, range: CFRange)
-> ();
pub fn CFStringReplace(theString: CFMutableStringRef, range: CFRange,
replacement: CFStringRef) -> ();
pub fn CFStringReplaceAll(theString: CFMutableStringRef,
replacement: CFStringRef) -> ();
pub fn CFStringFindAndReplace(theString: CFMutableStringRef,
stringToFind: CFStringRef,
replacementString: CFStringRef,
rangeToSearch: CFRange,
compareOptions: CFStringCompareFlags)
-> CFIndex;
pub fn CFStringSetExternalCharactersNoCopy(theString: CFMutableStringRef,
chars: *mut UniChar,
length: CFIndex,
capacity: CFIndex) -> ();
pub fn CFStringPad(theString: CFMutableStringRef, padString: CFStringRef,
length: CFIndex, indexIntoPad: CFIndex) -> ();
pub fn CFStringTrim(theString: CFMutableStringRef,
trimString: CFStringRef) -> ();
pub fn CFStringTrimWhitespace(theString: CFMutableStringRef) -> ();
pub fn CFStringLowercase(theString: CFMutableStringRef,
locale: CFLocaleRef) -> ();
pub fn CFStringUppercase(theString: CFMutableStringRef,
locale: CFLocaleRef) -> ();
pub fn CFStringCapitalize(theString: CFMutableStringRef,
locale: CFLocaleRef) -> ();
pub fn CFStringNormalize(theString: CFMutableStringRef,
theForm: CFStringNormalizationForm) -> ();
pub fn CFStringFold(theString: CFMutableStringRef,
theFlags: CFStringCompareFlags,
theLocale: CFLocaleRef) -> ();
pub fn CFStringTransform(string: CFMutableStringRef, range: *mut CFRange,
transform: CFStringRef, reverse: Boolean)
-> Boolean;
pub fn CFStringIsEncodingAvailable(encoding: CFStringEncoding) -> Boolean;
pub fn CFStringGetListOfAvailableEncodings() -> *const CFStringEncoding;
pub fn CFStringGetNameOfEncoding(encoding: CFStringEncoding)
-> CFStringRef;
pub fn CFStringConvertEncodingToNSStringEncoding(encoding:
CFStringEncoding)
-> ::libc::c_ulong;
pub fn CFStringConvertNSStringEncodingToEncoding(encoding:
::libc::c_ulong)
-> CFStringEncoding;
pub fn CFStringConvertEncodingToWindowsCodepage(encoding:
CFStringEncoding)
-> UInt32;
pub fn CFStringConvertWindowsCodepageToEncoding(codepage: UInt32)
-> CFStringEncoding;
pub fn CFStringConvertIANACharSetNameToEncoding(theString: CFStringRef)
-> CFStringEncoding;
pub fn CFStringConvertEncodingToIANACharSetName(encoding:
CFStringEncoding)
-> CFStringRef;
pub fn CFStringGetMostCompatibleMacStringEncoding(encoding:
CFStringEncoding)
-> CFStringEncoding;
pub fn CFShow(obj: CFTypeRef) -> ();
pub fn CFShowStr(str: CFStringRef) -> ();
pub fn __CFStringMakeConstantString(cStr: *const ::libc::c_char)
-> CFStringRef;
pub fn CFTimeZoneGetTypeID() -> CFTypeID;
pub fn CFTimeZoneCopySystem() -> CFTimeZoneRef;
pub fn CFTimeZoneResetSystem() -> ();
pub fn CFTimeZoneCopyDefault() -> CFTimeZoneRef;
pub fn CFTimeZoneSetDefault(tz: CFTimeZoneRef) -> ();
pub fn CFTimeZoneCopyKnownNames() -> CFArrayRef;
pub fn CFTimeZoneCopyAbbreviationDictionary() -> CFDictionaryRef;
pub fn CFTimeZoneSetAbbreviationDictionary(dict: CFDictionaryRef) -> ();
pub fn CFTimeZoneCreate(allocator: CFAllocatorRef, name: CFStringRef,
data: CFDataRef) -> CFTimeZoneRef;
pub fn CFTimeZoneCreateWithTimeIntervalFromGMT(allocator: CFAllocatorRef,
ti: CFTimeInterval)
-> CFTimeZoneRef;
pub fn CFTimeZoneCreateWithName(allocator: CFAllocatorRef,
name: CFStringRef, tryAbbrev: Boolean)
-> CFTimeZoneRef;
pub fn CFTimeZoneGetName(tz: CFTimeZoneRef) -> CFStringRef;
pub fn CFTimeZoneGetData(tz: CFTimeZoneRef) -> CFDataRef;
pub fn CFTimeZoneGetSecondsFromGMT(tz: CFTimeZoneRef, at: CFAbsoluteTime)
-> CFTimeInterval;
pub fn CFTimeZoneCopyAbbreviation(tz: CFTimeZoneRef, at: CFAbsoluteTime)
-> CFStringRef;
pub fn CFTimeZoneIsDaylightSavingTime(tz: CFTimeZoneRef,
at: CFAbsoluteTime) -> Boolean;
pub fn CFTimeZoneGetDaylightSavingTimeOffset(tz: CFTimeZoneRef,
at: CFAbsoluteTime)
-> CFTimeInterval;
pub fn CFTimeZoneGetNextDaylightSavingTimeTransition(tz: CFTimeZoneRef,
at: CFAbsoluteTime)
-> CFAbsoluteTime;
pub fn CFTimeZoneCopyLocalizedName(tz: CFTimeZoneRef,
style: CFTimeZoneNameStyle,
locale: CFLocaleRef) -> CFStringRef;
pub fn CFCalendarGetTypeID() -> CFTypeID;
pub fn CFCalendarCopyCurrent() -> CFCalendarRef;
pub fn CFCalendarCreateWithIdentifier(allocator: CFAllocatorRef,
identifier: CFStringRef)
-> CFCalendarRef;
pub fn CFCalendarGetIdentifier(calendar: CFCalendarRef) -> CFStringRef;
pub fn CFCalendarCopyLocale(calendar: CFCalendarRef) -> CFLocaleRef;
pub fn CFCalendarSetLocale(calendar: CFCalendarRef, locale: CFLocaleRef)
-> ();
pub fn CFCalendarCopyTimeZone(calendar: CFCalendarRef) -> CFTimeZoneRef;
pub fn CFCalendarSetTimeZone(calendar: CFCalendarRef, tz: CFTimeZoneRef)
-> ();
pub fn CFCalendarGetFirstWeekday(calendar: CFCalendarRef) -> CFIndex;
pub fn CFCalendarSetFirstWeekday(calendar: CFCalendarRef, wkdy: CFIndex)
-> ();
pub fn CFCalendarGetMinimumDaysInFirstWeek(calendar: CFCalendarRef)
-> CFIndex;
pub fn CFCalendarSetMinimumDaysInFirstWeek(calendar: CFCalendarRef,
mwd: CFIndex) -> ();
pub fn CFCalendarGetMinimumRangeOfUnit(calendar: CFCalendarRef,
unit: CFCalendarUnit) -> CFRange;
pub fn CFCalendarGetMaximumRangeOfUnit(calendar: CFCalendarRef,
unit: CFCalendarUnit) -> CFRange;
pub fn CFCalendarGetRangeOfUnit(calendar: CFCalendarRef,
smallerUnit: CFCalendarUnit,
biggerUnit: CFCalendarUnit,
at: CFAbsoluteTime) -> CFRange;
pub fn CFCalendarGetOrdinalityOfUnit(calendar: CFCalendarRef,
smallerUnit: CFCalendarUnit,
biggerUnit: CFCalendarUnit,
at: CFAbsoluteTime) -> CFIndex;
pub fn CFCalendarGetTimeRangeOfUnit(calendar: CFCalendarRef,
unit: CFCalendarUnit,
at: CFAbsoluteTime,
startp: *mut CFAbsoluteTime,
tip: *mut CFTimeInterval) -> Boolean;
pub fn CFCalendarComposeAbsoluteTime(calendar: CFCalendarRef,
at: *mut CFAbsoluteTime,
componentDesc:
*const ::libc::c_char, ...)
-> Boolean;
pub fn CFCalendarDecomposeAbsoluteTime(calendar: CFCalendarRef,
at: CFAbsoluteTime,
componentDesc:
*const ::libc::c_char, ...)
-> Boolean;
pub fn CFCalendarAddComponents(calendar: CFCalendarRef,
at: *mut CFAbsoluteTime,
options: CFOptionFlags,
componentDesc: *const ::libc::c_char, ...)
-> Boolean;
pub fn CFCalendarGetComponentDifference(calendar: CFCalendarRef,
startingAT: CFAbsoluteTime,
resultAT: CFAbsoluteTime,
options: CFOptionFlags,
componentDesc:
*const ::libc::c_char, ...)
-> Boolean;
pub fn CFDateFormatterCreateDateFormatFromTemplate(allocator:
CFAllocatorRef,
tmplate: CFStringRef,
options: CFOptionFlags,
locale: CFLocaleRef)
-> CFStringRef;
pub fn CFDateFormatterGetTypeID() -> CFTypeID;
pub fn CFDateFormatterCreate(allocator: CFAllocatorRef,
locale: CFLocaleRef,
dateStyle: CFDateFormatterStyle,
timeStyle: CFDateFormatterStyle)
-> CFDateFormatterRef;
pub fn CFDateFormatterGetLocale(formatter: CFDateFormatterRef)
-> CFLocaleRef;
pub fn CFDateFormatterGetDateStyle(formatter: CFDateFormatterRef)
-> CFDateFormatterStyle;
pub fn CFDateFormatterGetTimeStyle(formatter: CFDateFormatterRef)
-> CFDateFormatterStyle;
pub fn CFDateFormatterGetFormat(formatter: CFDateFormatterRef)
-> CFStringRef;
pub fn CFDateFormatterSetFormat(formatter: CFDateFormatterRef,
formatString: CFStringRef) -> ();
pub fn CFDateFormatterCreateStringWithDate(allocator: CFAllocatorRef,
formatter: CFDateFormatterRef,
date: CFDateRef)
-> CFStringRef;
pub fn CFDateFormatterCreateStringWithAbsoluteTime(allocator:
CFAllocatorRef,
formatter:
CFDateFormatterRef,
at: CFAbsoluteTime)
-> CFStringRef;
pub fn CFDateFormatterCreateDateFromString(allocator: CFAllocatorRef,
formatter: CFDateFormatterRef,
string: CFStringRef,
rangep: *mut CFRange)
-> CFDateRef;
pub fn CFDateFormatterGetAbsoluteTimeFromString(formatter:
CFDateFormatterRef,
string: CFStringRef,
rangep: *mut CFRange,
atp: *mut CFAbsoluteTime)
-> Boolean;
pub fn CFDateFormatterSetProperty(formatter: CFDateFormatterRef,
key: CFStringRef, value: CFTypeRef)
-> ();
pub fn CFDateFormatterCopyProperty(formatter: CFDateFormatterRef,
key: CFStringRef) -> CFTypeRef;
pub fn CFErrorGetTypeID() -> CFTypeID;
pub fn CFErrorCreate(allocator: CFAllocatorRef, domain: CFStringRef,
code: CFIndex, userInfo: CFDictionaryRef)
-> CFErrorRef;
pub fn CFErrorCreateWithUserInfoKeysAndValues(allocator: CFAllocatorRef,
domain: CFStringRef,
code: CFIndex,
userInfoKeys:
*const *const ::libc::c_void,
userInfoValues:
*const *const ::libc::c_void,
numUserInfoValues: CFIndex)
-> CFErrorRef;
pub fn CFErrorGetDomain(err: CFErrorRef) -> CFStringRef;
pub fn CFErrorGetCode(err: CFErrorRef) -> CFIndex;
pub fn CFErrorCopyUserInfo(err: CFErrorRef) -> CFDictionaryRef;
pub fn CFErrorCopyDescription(err: CFErrorRef) -> CFStringRef;
pub fn CFErrorCopyFailureReason(err: CFErrorRef) -> CFStringRef;
pub fn CFErrorCopyRecoverySuggestion(err: CFErrorRef) -> CFStringRef;
pub fn CFBooleanGetTypeID() -> CFTypeID;
pub fn CFBooleanGetValue(boolean: CFBooleanRef) -> Boolean;
pub fn CFNumberGetTypeID() -> CFTypeID;
pub fn CFNumberCreate(allocator: CFAllocatorRef, theType: CFNumberType,
valuePtr: *const ::libc::c_void) -> CFNumberRef;
pub fn CFNumberGetType(number: CFNumberRef) -> CFNumberType;
pub fn CFNumberGetByteSize(number: CFNumberRef) -> CFIndex;
pub fn CFNumberIsFloatType(number: CFNumberRef) -> Boolean;
pub fn CFNumberGetValue(number: CFNumberRef, theType: CFNumberType,
valuePtr: *mut ::libc::c_void) -> Boolean;
pub fn CFNumberCompare(number: CFNumberRef, otherNumber: CFNumberRef,
context: *mut ::libc::c_void)
-> CFComparisonResult;
pub fn CFNumberFormatterGetTypeID() -> CFTypeID;
pub fn CFNumberFormatterCreate(allocator: CFAllocatorRef,
locale: CFLocaleRef,
style: CFNumberFormatterStyle)
-> CFNumberFormatterRef;
pub fn CFNumberFormatterGetLocale(formatter: CFNumberFormatterRef)
-> CFLocaleRef;
pub fn CFNumberFormatterGetStyle(formatter: CFNumberFormatterRef)
-> CFNumberFormatterStyle;
pub fn CFNumberFormatterGetFormat(formatter: CFNumberFormatterRef)
-> CFStringRef;
pub fn CFNumberFormatterSetFormat(formatter: CFNumberFormatterRef,
formatString: CFStringRef) -> ();
pub fn CFNumberFormatterCreateStringWithNumber(allocator: CFAllocatorRef,
formatter:
CFNumberFormatterRef,
number: CFNumberRef)
-> CFStringRef;
pub fn CFNumberFormatterCreateStringWithValue(allocator: CFAllocatorRef,
formatter:
CFNumberFormatterRef,
numberType: CFNumberType,
valuePtr:
*const ::libc::c_void)
-> CFStringRef;
pub fn CFNumberFormatterCreateNumberFromString(allocator: CFAllocatorRef,
formatter:
CFNumberFormatterRef,
string: CFStringRef,
rangep: *mut CFRange,
options: CFOptionFlags)
-> CFNumberRef;
pub fn CFNumberFormatterGetValueFromString(formatter:
CFNumberFormatterRef,
string: CFStringRef,
rangep: *mut CFRange,
numberType: CFNumberType,
valuePtr: *mut ::libc::c_void)
-> Boolean;
pub fn CFNumberFormatterSetProperty(formatter: CFNumberFormatterRef,
key: CFStringRef, value: CFTypeRef)
-> ();
pub fn CFNumberFormatterCopyProperty(formatter: CFNumberFormatterRef,
key: CFStringRef) -> CFTypeRef;
pub fn CFNumberFormatterGetDecimalInfoForCurrencyCode(currencyCode:
CFStringRef,
defaultFractionDigits:
*mut int32_t,
roundingIncrement:
*mut ::libc::c_double)
-> Boolean;
pub fn CFPreferencesCopyAppValue(key: CFStringRef,
applicationID: CFStringRef)
-> CFPropertyListRef;
pub fn CFPreferencesGetAppBooleanValue(key: CFStringRef,
applicationID: CFStringRef,
keyExistsAndHasValidFormat:
*mut Boolean) -> Boolean;
pub fn CFPreferencesGetAppIntegerValue(key: CFStringRef,
applicationID: CFStringRef,
keyExistsAndHasValidFormat:
*mut Boolean) -> CFIndex;
pub fn CFPreferencesSetAppValue(key: CFStringRef,
value: CFPropertyListRef,
applicationID: CFStringRef) -> ();
pub fn CFPreferencesAddSuitePreferencesToApp(applicationID: CFStringRef,
suiteID: CFStringRef) -> ();
pub fn CFPreferencesRemoveSuitePreferencesFromApp(applicationID:
CFStringRef,
suiteID: CFStringRef)
-> ();
pub fn CFPreferencesAppSynchronize(applicationID: CFStringRef) -> Boolean;
pub fn CFPreferencesCopyValue(key: CFStringRef,
applicationID: CFStringRef,
userName: CFStringRef,
hostName: CFStringRef) -> CFPropertyListRef;
pub fn CFPreferencesCopyMultiple(keysToFetch: CFArrayRef,
applicationID: CFStringRef,
userName: CFStringRef,
hostName: CFStringRef)
-> CFDictionaryRef;
pub fn CFPreferencesSetValue(key: CFStringRef, value: CFPropertyListRef,
applicationID: CFStringRef,
userName: CFStringRef, hostName: CFStringRef)
-> ();
pub fn CFPreferencesSetMultiple(keysToSet: CFDictionaryRef,
keysToRemove: CFArrayRef,
applicationID: CFStringRef,
userName: CFStringRef,
hostName: CFStringRef) -> ();
pub fn CFPreferencesSynchronize(applicationID: CFStringRef,
userName: CFStringRef,
hostName: CFStringRef) -> Boolean;
pub fn CFPreferencesCopyApplicationList(userName: CFStringRef,
hostName: CFStringRef)
-> CFArrayRef;
pub fn CFPreferencesCopyKeyList(applicationID: CFStringRef,
userName: CFStringRef,
hostName: CFStringRef) -> CFArrayRef;
pub fn CFPreferencesAppValueIsForced(key: CFStringRef,
applicationID: CFStringRef)
-> Boolean;
pub fn CFURLGetTypeID() -> CFTypeID;
pub fn CFURLCreateWithBytes(allocator: CFAllocatorRef,
URLBytes: *const UInt8, length: CFIndex,
encoding: CFStringEncoding, baseURL: CFURLRef)
-> CFURLRef;
pub fn CFURLCreateData(allocator: CFAllocatorRef, url: CFURLRef,
encoding: CFStringEncoding,
escapeWhitespace: Boolean) -> CFDataRef;
pub fn CFURLCreateWithString(allocator: CFAllocatorRef,
URLString: CFStringRef, baseURL: CFURLRef)
-> CFURLRef;
pub fn CFURLCreateAbsoluteURLWithBytes(alloc: CFAllocatorRef,
relativeURLBytes: *const UInt8,
length: CFIndex,
encoding: CFStringEncoding,
baseURL: CFURLRef,
useCompatibilityMode: Boolean)
-> CFURLRef;
pub fn CFURLCreateWithFileSystemPath(allocator: CFAllocatorRef,
filePath: CFStringRef,
pathStyle: CFURLPathStyle,
isDirectory: Boolean) -> CFURLRef;
pub fn CFURLCreateFromFileSystemRepresentation(allocator: CFAllocatorRef,
buffer: *const UInt8,
bufLen: CFIndex,
isDirectory: Boolean)
-> CFURLRef;
pub fn CFURLCreateWithFileSystemPathRelativeToBase(allocator:
CFAllocatorRef,
filePath: CFStringRef,
pathStyle:
CFURLPathStyle,
isDirectory: Boolean,
baseURL: CFURLRef)
-> CFURLRef;
pub fn CFURLCreateFromFileSystemRepresentationRelativeToBase(allocator:
CFAllocatorRef,
buffer:
*const UInt8,
bufLen:
CFIndex,
isDirectory:
Boolean,
baseURL:
CFURLRef)
-> CFURLRef;
pub fn CFURLGetFileSystemRepresentation(url: CFURLRef,
resolveAgainstBase: Boolean,
buffer: *mut UInt8,
maxBufLen: CFIndex) -> Boolean;
pub fn CFURLCopyAbsoluteURL(relativeURL: CFURLRef) -> CFURLRef;
pub fn CFURLGetString(anURL: CFURLRef) -> CFStringRef;
pub fn CFURLGetBaseURL(anURL: CFURLRef) -> CFURLRef;
pub fn CFURLCanBeDecomposed(anURL: CFURLRef) -> Boolean;
pub fn CFURLCopyScheme(anURL: CFURLRef) -> CFStringRef;
pub fn CFURLCopyNetLocation(anURL: CFURLRef) -> CFStringRef;
pub fn CFURLCopyPath(anURL: CFURLRef) -> CFStringRef;
pub fn CFURLCopyStrictPath(anURL: CFURLRef, isAbsolute: *mut Boolean)
-> CFStringRef;
pub fn CFURLCopyFileSystemPath(anURL: CFURLRef, pathStyle: CFURLPathStyle)
-> CFStringRef;
pub fn CFURLHasDirectoryPath(anURL: CFURLRef) -> Boolean;
pub fn CFURLCopyResourceSpecifier(anURL: CFURLRef) -> CFStringRef;
pub fn CFURLCopyHostName(anURL: CFURLRef) -> CFStringRef;
pub fn CFURLGetPortNumber(anURL: CFURLRef) -> SInt32;
pub fn CFURLCopyUserName(anURL: CFURLRef) -> CFStringRef;
pub fn CFURLCopyPassword(anURL: CFURLRef) -> CFStringRef;
pub fn CFURLCopyParameterString(anURL: CFURLRef,
charactersToLeaveEscaped: CFStringRef)
-> CFStringRef;
pub fn CFURLCopyQueryString(anURL: CFURLRef,
charactersToLeaveEscaped: CFStringRef)
-> CFStringRef;
pub fn CFURLCopyFragment(anURL: CFURLRef,
charactersToLeaveEscaped: CFStringRef)
-> CFStringRef;
pub fn CFURLCopyLastPathComponent(url: CFURLRef) -> CFStringRef;
pub fn CFURLCopyPathExtension(url: CFURLRef) -> CFStringRef;
pub fn CFURLCreateCopyAppendingPathComponent(allocator: CFAllocatorRef,
url: CFURLRef,
pathComponent: CFStringRef,
isDirectory: Boolean)
-> CFURLRef;
pub fn CFURLCreateCopyDeletingLastPathComponent(allocator: CFAllocatorRef,
url: CFURLRef)
-> CFURLRef;
pub fn CFURLCreateCopyAppendingPathExtension(allocator: CFAllocatorRef,
url: CFURLRef,
extension: CFStringRef)
-> CFURLRef;
pub fn CFURLCreateCopyDeletingPathExtension(allocator: CFAllocatorRef,
url: CFURLRef) -> CFURLRef;
pub fn CFURLGetBytes(url: CFURLRef, buffer: *mut UInt8,
bufferLength: CFIndex) -> CFIndex;
pub fn CFURLGetByteRangeForComponent(url: CFURLRef,
component: CFURLComponentType,
rangeIncludingSeparators:
*mut CFRange) -> CFRange;
pub fn CFURLCreateStringByReplacingPercentEscapes(allocator:
CFAllocatorRef,
originalString:
CFStringRef,
charactersToLeaveEscaped:
CFStringRef)
-> CFStringRef;
pub fn CFURLCreateStringByReplacingPercentEscapesUsingEncoding(allocator:
CFAllocatorRef,
origString:
CFStringRef,
charsToLeaveEscaped:
CFStringRef,
encoding:
CFStringEncoding)
-> CFStringRef;
pub fn CFURLCreateStringByAddingPercentEscapes(allocator: CFAllocatorRef,
originalString:
CFStringRef,
charactersToLeaveUnescaped:
CFStringRef,
legalURLCharactersToBeEscaped:
CFStringRef,
encoding: CFStringEncoding)
-> CFStringRef;
pub fn CFURLIsFileReferenceURL(url: CFURLRef) -> Boolean;
pub fn CFURLCreateFileReferenceURL(allocator: CFAllocatorRef,
url: CFURLRef, error: *mut CFErrorRef)
-> CFURLRef;
pub fn CFURLCreateFilePathURL(allocator: CFAllocatorRef, url: CFURLRef,
error: *mut CFErrorRef) -> CFURLRef;
pub fn CFURLCreateFromFSRef(allocator: CFAllocatorRef,
fsRef: *const Struct_FSRef) -> CFURLRef;
pub fn CFURLGetFSRef(url: CFURLRef, fsRef: *mut Struct_FSRef) -> Boolean;
pub fn CFURLCopyResourcePropertyForKey(url: CFURLRef, key: CFStringRef,
propertyValueTypeRefPtr:
*mut ::libc::c_void,
error: *mut CFErrorRef) -> Boolean;
pub fn CFURLCopyResourcePropertiesForKeys(url: CFURLRef, keys: CFArrayRef,
error: *mut CFErrorRef)
-> CFDictionaryRef;
pub fn CFURLSetResourcePropertyForKey(url: CFURLRef, key: CFStringRef,
propertyValue: CFTypeRef,
error: *mut CFErrorRef) -> Boolean;
pub fn CFURLSetResourcePropertiesForKeys(url: CFURLRef,
keyedPropertyValues:
CFDictionaryRef,
error: *mut CFErrorRef)
-> Boolean;
pub fn CFURLClearResourcePropertyCacheForKey(url: CFURLRef,
key: CFStringRef) -> ();
pub fn CFURLClearResourcePropertyCache(url: CFURLRef) -> ();
pub fn CFURLSetTemporaryResourcePropertyForKey(url: CFURLRef,
key: CFStringRef,
propertyValue: CFTypeRef)
-> ();
pub fn CFURLResourceIsReachable(url: CFURLRef, error: *mut CFErrorRef)
-> Boolean;
pub fn CFURLCreateBookmarkData(allocator: CFAllocatorRef, url: CFURLRef,
options: CFURLBookmarkCreationOptions,
resourcePropertiesToInclude: CFArrayRef,
relativeToURL: CFURLRef,
error: *mut CFErrorRef) -> CFDataRef;
pub fn CFURLCreateByResolvingBookmarkData(allocator: CFAllocatorRef,
bookmark: CFDataRef,
options:
CFURLBookmarkResolutionOptions,
relativeToURL: CFURLRef,
resourcePropertiesToInclude:
CFArrayRef,
isStale: *mut Boolean,
error: *mut CFErrorRef)
-> CFURLRef;
pub fn CFURLCreateResourcePropertiesForKeysFromBookmarkData(allocator:
CFAllocatorRef,
resourcePropertiesToReturn:
CFArrayRef,
bookmark:
CFDataRef)
-> CFDictionaryRef;
pub fn CFURLCreateResourcePropertyForKeyFromBookmarkData(allocator:
CFAllocatorRef,
resourcePropertyKey:
CFStringRef,
bookmark:
CFDataRef)
-> CFTypeRef;
pub fn CFURLCreateBookmarkDataFromFile(allocator: CFAllocatorRef,
fileURL: CFURLRef,
errorRef: *mut CFErrorRef)
-> CFDataRef;
pub fn CFURLWriteBookmarkDataToFile(bookmarkRef: CFDataRef,
fileURL: CFURLRef,
options:
CFURLBookmarkFileCreationOptions,
errorRef: *mut CFErrorRef) -> Boolean;
pub fn CFURLCreateBookmarkDataFromAliasRecord(allocatorRef:
CFAllocatorRef,
aliasRecordDataRef:
CFDataRef) -> CFDataRef;
pub fn CFURLStartAccessingSecurityScopedResource(url: CFURLRef)
-> Boolean;
pub fn CFURLStopAccessingSecurityScopedResource(url: CFURLRef) -> ();
pub fn CFRunLoopGetTypeID() -> CFTypeID;
pub fn CFRunLoopGetCurrent() -> CFRunLoopRef;
pub fn CFRunLoopGetMain() -> CFRunLoopRef;
pub fn CFRunLoopCopyCurrentMode(rl: CFRunLoopRef) -> CFStringRef;
pub fn CFRunLoopCopyAllModes(rl: CFRunLoopRef) -> CFArrayRef;
pub fn CFRunLoopAddCommonMode(rl: CFRunLoopRef, mode: CFStringRef) -> ();
pub fn CFRunLoopGetNextTimerFireDate(rl: CFRunLoopRef, mode: CFStringRef)
-> CFAbsoluteTime;
pub fn CFRunLoopRun() -> ();
pub fn CFRunLoopRunInMode(mode: CFStringRef, seconds: CFTimeInterval,
returnAfterSourceHandled: Boolean) -> SInt32;
pub fn CFRunLoopIsWaiting(rl: CFRunLoopRef) -> Boolean;
pub fn CFRunLoopWakeUp(rl: CFRunLoopRef) -> ();
pub fn CFRunLoopStop(rl: CFRunLoopRef) -> ();
pub fn CFRunLoopPerformBlock(rl: CFRunLoopRef, mode: CFTypeRef,
block: ::libc::c_void) -> ();
pub fn CFRunLoopContainsSource(rl: CFRunLoopRef,
source: CFRunLoopSourceRef,
mode: CFStringRef) -> Boolean;
pub fn CFRunLoopAddSource(rl: CFRunLoopRef, source: CFRunLoopSourceRef,
mode: CFStringRef) -> ();
pub fn CFRunLoopRemoveSource(rl: CFRunLoopRef, source: CFRunLoopSourceRef,
mode: CFStringRef) -> ();
pub fn CFRunLoopContainsObserver(rl: CFRunLoopRef,
observer: CFRunLoopObserverRef,
mode: CFStringRef) -> Boolean;
pub fn CFRunLoopAddObserver(rl: CFRunLoopRef,
observer: CFRunLoopObserverRef,
mode: CFStringRef) -> ();
pub fn CFRunLoopRemoveObserver(rl: CFRunLoopRef,
observer: CFRunLoopObserverRef,
mode: CFStringRef) -> ();
pub fn CFRunLoopContainsTimer(rl: CFRunLoopRef, timer: CFRunLoopTimerRef,
mode: CFStringRef) -> Boolean;
pub fn CFRunLoopAddTimer(rl: CFRunLoopRef, timer: CFRunLoopTimerRef,
mode: CFStringRef) -> ();
pub fn CFRunLoopRemoveTimer(rl: CFRunLoopRef, timer: CFRunLoopTimerRef,
mode: CFStringRef) -> ();
pub fn CFRunLoopSourceGetTypeID() -> CFTypeID;
pub fn CFRunLoopSourceCreate(allocator: CFAllocatorRef, order: CFIndex,
context: *mut CFRunLoopSourceContext)
-> CFRunLoopSourceRef;
pub fn CFRunLoopSourceGetOrder(source: CFRunLoopSourceRef) -> CFIndex;
pub fn CFRunLoopSourceInvalidate(source: CFRunLoopSourceRef) -> ();
pub fn CFRunLoopSourceIsValid(source: CFRunLoopSourceRef) -> Boolean;
pub fn CFRunLoopSourceGetContext(source: CFRunLoopSourceRef,
context: *mut CFRunLoopSourceContext)
-> ();
pub fn CFRunLoopSourceSignal(source: CFRunLoopSourceRef) -> ();
pub fn CFRunLoopObserverGetTypeID() -> CFTypeID;
pub fn CFRunLoopObserverCreate(allocator: CFAllocatorRef,
activities: CFOptionFlags,
repeats: Boolean, order: CFIndex,
callout: CFRunLoopObserverCallBack,
context: *mut CFRunLoopObserverContext)
-> CFRunLoopObserverRef;
pub fn CFRunLoopObserverCreateWithHandler(allocator: CFAllocatorRef,
activities: CFOptionFlags,
repeats: Boolean,
order: CFIndex,
block: ::libc::c_void)
-> CFRunLoopObserverRef;
pub fn CFRunLoopObserverGetActivities(observer: CFRunLoopObserverRef)
-> CFOptionFlags;
pub fn CFRunLoopObserverDoesRepeat(observer: CFRunLoopObserverRef)
-> Boolean;
pub fn CFRunLoopObserverGetOrder(observer: CFRunLoopObserverRef)
-> CFIndex;
pub fn CFRunLoopObserverInvalidate(observer: CFRunLoopObserverRef) -> ();
pub fn CFRunLoopObserverIsValid(observer: CFRunLoopObserverRef)
-> Boolean;
pub fn CFRunLoopObserverGetContext(observer: CFRunLoopObserverRef,
context: *mut CFRunLoopObserverContext)
-> ();
pub fn CFRunLoopTimerGetTypeID() -> CFTypeID;
pub fn CFRunLoopTimerCreate(allocator: CFAllocatorRef,
fireDate: CFAbsoluteTime,
interval: CFTimeInterval,
flags: CFOptionFlags, order: CFIndex,
callout: CFRunLoopTimerCallBack,
context: *mut CFRunLoopTimerContext)
-> CFRunLoopTimerRef;
pub fn CFRunLoopTimerCreateWithHandler(allocator: CFAllocatorRef,
fireDate: CFAbsoluteTime,
interval: CFTimeInterval,
flags: CFOptionFlags,
order: CFIndex,
block: ::libc::c_void)
-> CFRunLoopTimerRef;
pub fn CFRunLoopTimerGetNextFireDate(timer: CFRunLoopTimerRef)
-> CFAbsoluteTime;
pub fn CFRunLoopTimerSetNextFireDate(timer: CFRunLoopTimerRef,
fireDate: CFAbsoluteTime) -> ();
pub fn CFRunLoopTimerGetInterval(timer: CFRunLoopTimerRef)
-> CFTimeInterval;
pub fn CFRunLoopTimerDoesRepeat(timer: CFRunLoopTimerRef) -> Boolean;
pub fn CFRunLoopTimerGetOrder(timer: CFRunLoopTimerRef) -> CFIndex;
pub fn CFRunLoopTimerInvalidate(timer: CFRunLoopTimerRef) -> ();
pub fn CFRunLoopTimerIsValid(timer: CFRunLoopTimerRef) -> Boolean;
pub fn CFRunLoopTimerGetContext(timer: CFRunLoopTimerRef,
context: *mut CFRunLoopTimerContext)
-> ();
pub fn CFRunLoopTimerGetTolerance(timer: CFRunLoopTimerRef)
-> CFTimeInterval;
pub fn CFRunLoopTimerSetTolerance(timer: CFRunLoopTimerRef,
tolerance: CFTimeInterval) -> ();
pub fn CFSocketGetTypeID() -> CFTypeID;
pub fn CFSocketCreate(allocator: CFAllocatorRef, protocolFamily: SInt32,
socketType: SInt32, protocol: SInt32,
callBackTypes: CFOptionFlags,
callout: CFSocketCallBack,
context: *const CFSocketContext) -> CFSocketRef;
pub fn CFSocketCreateWithNative(allocator: CFAllocatorRef,
sock: CFSocketNativeHandle,
callBackTypes: CFOptionFlags,
callout: CFSocketCallBack,
context: *const CFSocketContext)
-> CFSocketRef;
pub fn CFSocketCreateWithSocketSignature(allocator: CFAllocatorRef,
signature:
*const CFSocketSignature,
callBackTypes: CFOptionFlags,
callout: CFSocketCallBack,
context: *const CFSocketContext)
-> CFSocketRef;
pub fn CFSocketCreateConnectedToSocketSignature(allocator: CFAllocatorRef,
signature:
*const CFSocketSignature,
callBackTypes:
CFOptionFlags,
callout: CFSocketCallBack,
context:
*const CFSocketContext,
timeout: CFTimeInterval)
-> CFSocketRef;
pub fn CFSocketSetAddress(s: CFSocketRef, address: CFDataRef)
-> CFSocketError;
pub fn CFSocketConnectToAddress(s: CFSocketRef, address: CFDataRef,
timeout: CFTimeInterval) -> CFSocketError;
pub fn CFSocketInvalidate(s: CFSocketRef) -> ();
pub fn CFSocketIsValid(s: CFSocketRef) -> Boolean;
pub fn CFSocketCopyAddress(s: CFSocketRef) -> CFDataRef;
pub fn CFSocketCopyPeerAddress(s: CFSocketRef) -> CFDataRef;
pub fn CFSocketGetContext(s: CFSocketRef, context: *mut CFSocketContext)
-> ();
pub fn CFSocketGetNative(s: CFSocketRef) -> CFSocketNativeHandle;
pub fn CFSocketCreateRunLoopSource(allocator: CFAllocatorRef,
s: CFSocketRef, order: CFIndex)
-> CFRunLoopSourceRef;
pub fn CFSocketGetSocketFlags(s: CFSocketRef) -> CFOptionFlags;
pub fn CFSocketSetSocketFlags(s: CFSocketRef, flags: CFOptionFlags) -> ();
pub fn CFSocketDisableCallBacks(s: CFSocketRef,
callBackTypes: CFOptionFlags) -> ();
pub fn CFSocketEnableCallBacks(s: CFSocketRef,
callBackTypes: CFOptionFlags) -> ();
pub fn CFSocketSendData(s: CFSocketRef, address: CFDataRef,
data: CFDataRef, timeout: CFTimeInterval)
-> CFSocketError;
pub fn CFSocketRegisterValue(nameServerSignature:
*const CFSocketSignature,
timeout: CFTimeInterval, name: CFStringRef,
value: CFPropertyListRef) -> CFSocketError;
pub fn CFSocketCopyRegisteredValue(nameServerSignature:
*const CFSocketSignature,
timeout: CFTimeInterval,
name: CFStringRef,
value: *mut CFPropertyListRef,
nameServerAddress: *mut CFDataRef)
-> CFSocketError;
pub fn CFSocketRegisterSocketSignature(nameServerSignature:
*const CFSocketSignature,
timeout: CFTimeInterval,
name: CFStringRef,
signature:
*const CFSocketSignature)
-> CFSocketError;
pub fn CFSocketCopyRegisteredSocketSignature(nameServerSignature:
*const CFSocketSignature,
timeout: CFTimeInterval,
name: CFStringRef,
signature:
*mut CFSocketSignature,
nameServerAddress:
*mut CFDataRef)
-> CFSocketError;
pub fn CFSocketUnregister(nameServerSignature: *const CFSocketSignature,
timeout: CFTimeInterval, name: CFStringRef)
-> CFSocketError;
pub fn CFSocketSetDefaultNameRegistryPortNumber(port: UInt16) -> ();
pub fn CFSocketGetDefaultNameRegistryPortNumber() -> UInt16;
pub fn getattrlistbulk(arg1: ::libc::c_int, arg2: *mut ::libc::c_void,
arg3: *mut ::libc::c_void, arg4: size_t,
arg5: uint64_t) -> ::libc::c_int;
pub fn faccessat(arg1: ::libc::c_int, arg2: *const ::libc::c_char,
arg3: ::libc::c_int, arg4: ::libc::c_int)
-> ::libc::c_int;
pub fn fchownat(arg1: ::libc::c_int, arg2: *const ::libc::c_char,
arg3: uid_t, arg4: gid_t, arg5: ::libc::c_int)
-> ::libc::c_int;
pub fn linkat(arg1: ::libc::c_int, arg2: *const ::libc::c_char,
arg3: ::libc::c_int, arg4: *const ::libc::c_char,
arg5: ::libc::c_int) -> ::libc::c_int;
pub fn readlinkat(arg1: ::libc::c_int, arg2: *const ::libc::c_char,
arg3: *mut ::libc::c_char, arg4: size_t) -> ssize_t;
pub fn symlinkat(arg1: *const ::libc::c_char, arg2: ::libc::c_int,
arg3: *const ::libc::c_char) -> ::libc::c_int;
pub fn unlinkat(arg1: ::libc::c_int, arg2: *const ::libc::c_char,
arg3: ::libc::c_int) -> ::libc::c_int;
pub fn getattrlistat(arg1: ::libc::c_int, arg2: *const ::libc::c_char,
arg3: *mut ::libc::c_void, arg4: *mut ::libc::c_void,
arg5: size_t, arg6: ::libc::c_ulong)
-> ::libc::c_int;
pub fn _exit(arg1: ::libc::c_int) -> ();
pub fn access(arg1: *const ::libc::c_char, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn alarm(arg1: ::libc::c_uint) -> ::libc::c_uint;
pub fn chdir(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn chown(arg1: *const ::libc::c_char, arg2: uid_t, arg3: gid_t)
-> ::libc::c_int;
pub fn close(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn dup(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn dup2(arg1: ::libc::c_int, arg2: ::libc::c_int) -> ::libc::c_int;
pub fn execl(arg1: *const ::libc::c_char,
arg2: *const ::libc::c_char, ...) -> ::libc::c_int;
pub fn execle(arg1: *const ::libc::c_char,
arg2: *const ::libc::c_char, ...) -> ::libc::c_int;
pub fn execlp(arg1: *const ::libc::c_char,
arg2: *const ::libc::c_char, ...) -> ::libc::c_int;
pub fn execv(arg1: *const ::libc::c_char,
arg2: *const *mut ::libc::c_char) -> ::libc::c_int;
pub fn execve(arg1: *const ::libc::c_char,
arg2: *const *mut ::libc::c_char,
arg3: *const *mut ::libc::c_char) -> ::libc::c_int;
pub fn execvp(arg1: *const ::libc::c_char,
arg2: *const *mut ::libc::c_char) -> ::libc::c_int;
pub fn fork() -> pid_t;
pub fn fpathconf(arg1: ::libc::c_int, arg2: ::libc::c_int)
-> ::libc::c_long;
pub fn getcwd(arg1: *mut ::libc::c_char, arg2: size_t)
-> *mut ::libc::c_char;
pub fn getegid() -> gid_t;
pub fn geteuid() -> uid_t;
pub fn getgid() -> gid_t;
pub fn getgroups(arg1: ::libc::c_int, arg2: *mut gid_t) -> ::libc::c_int;
pub fn getlogin() -> *mut ::libc::c_char;
pub fn getpgrp() -> pid_t;
pub fn getpid() -> pid_t;
pub fn getppid() -> pid_t;
pub fn getuid() -> uid_t;
pub fn isatty(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn link(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char)
-> ::libc::c_int;
pub fn lseek(arg1: ::libc::c_int, arg2: off_t, arg3: ::libc::c_int)
-> off_t;
pub fn pathconf(arg1: *const ::libc::c_char, arg2: ::libc::c_int)
-> ::libc::c_long;
pub fn pause() -> ::libc::c_int;
pub fn pipe(arg1: *mut ::libc::c_int) -> ::libc::c_int;
pub fn read(arg1: ::libc::c_int, arg2: *mut ::libc::c_void, arg3: size_t)
-> ssize_t;
pub fn rmdir(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn setgid(arg1: gid_t) -> ::libc::c_int;
pub fn setpgid(arg1: pid_t, arg2: pid_t) -> ::libc::c_int;
pub fn setsid() -> pid_t;
pub fn setuid(arg1: uid_t) -> ::libc::c_int;
pub fn sleep(arg1: ::libc::c_uint) -> ::libc::c_uint;
pub fn sysconf(arg1: ::libc::c_int) -> ::libc::c_long;
pub fn tcgetpgrp(arg1: ::libc::c_int) -> pid_t;
pub fn tcsetpgrp(arg1: ::libc::c_int, arg2: pid_t) -> ::libc::c_int;
pub fn ttyname(arg1: ::libc::c_int) -> *mut ::libc::c_char;
pub fn ttyname_r(arg1: ::libc::c_int, arg2: *mut ::libc::c_char,
arg3: size_t) -> ::libc::c_int;
pub fn unlink(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn write(arg1: ::libc::c_int, arg2: *const ::libc::c_void,
arg3: size_t) -> ssize_t;
pub fn confstr(arg1: ::libc::c_int, arg2: *mut ::libc::c_char,
arg3: size_t) -> size_t;
pub fn getopt(arg1: ::libc::c_int, arg2: *const *mut ::libc::c_char,
arg3: *const ::libc::c_char) -> ::libc::c_int;
pub fn brk(arg1: *const ::libc::c_void) -> *mut ::libc::c_void;
pub fn chroot(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn crypt(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char)
-> *mut ::libc::c_char;
pub fn encrypt(arg1: *mut ::libc::c_char, arg2: ::libc::c_int) -> ();
pub fn fchdir(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn gethostid() -> ::libc::c_long;
pub fn getpgid(arg1: pid_t) -> pid_t;
pub fn getsid(arg1: pid_t) -> pid_t;
pub fn getdtablesize() -> ::libc::c_int;
pub fn getpagesize() -> ::libc::c_int;
pub fn getpass(arg1: *const ::libc::c_char) -> *mut ::libc::c_char;
pub fn getwd(arg1: *mut ::libc::c_char) -> *mut ::libc::c_char;
pub fn lchown(arg1: *const ::libc::c_char, arg2: uid_t, arg3: gid_t)
-> ::libc::c_int;
pub fn lockf(arg1: ::libc::c_int, arg2: ::libc::c_int, arg3: off_t)
-> ::libc::c_int;
pub fn nice(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn pread(arg1: ::libc::c_int, arg2: *mut ::libc::c_void, arg3: size_t,
arg4: off_t) -> ssize_t;
pub fn pwrite(arg1: ::libc::c_int, arg2: *const ::libc::c_void,
arg3: size_t, arg4: off_t) -> ssize_t;
pub fn sbrk(arg1: ::libc::c_int) -> *mut ::libc::c_void;
pub fn setpgrp() -> pid_t;
pub fn setregid(arg1: gid_t, arg2: gid_t) -> ::libc::c_int;
pub fn setreuid(arg1: uid_t, arg2: uid_t) -> ::libc::c_int;
pub fn sync() -> ();
pub fn truncate(arg1: *const ::libc::c_char, arg2: off_t)
-> ::libc::c_int;
pub fn ualarm(arg1: useconds_t, arg2: useconds_t) -> useconds_t;
pub fn usleep(arg1: useconds_t) -> ::libc::c_int;
pub fn vfork() -> pid_t;
pub fn fsync(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn ftruncate(arg1: ::libc::c_int, arg2: off_t) -> ::libc::c_int;
pub fn getlogin_r(arg1: *mut ::libc::c_char, arg2: size_t)
-> ::libc::c_int;
pub fn fchown(arg1: ::libc::c_int, arg2: uid_t, arg3: gid_t)
-> ::libc::c_int;
pub fn gethostname(arg1: *mut ::libc::c_char, arg2: size_t)
-> ::libc::c_int;
pub fn readlink(arg1: *const ::libc::c_char, arg2: *mut ::libc::c_char,
arg3: size_t) -> ssize_t;
pub fn setegid(arg1: gid_t) -> ::libc::c_int;
pub fn seteuid(arg1: uid_t) -> ::libc::c_int;
pub fn symlink(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char)
-> ::libc::c_int;
pub fn pselect(arg1: ::libc::c_int, arg2: *mut fd_set, arg3: *mut fd_set,
arg4: *mut fd_set, arg5: *const Struct_timespec,
arg6: *const sigset_t) -> ::libc::c_int;
pub fn select(arg1: ::libc::c_int, arg2: *mut fd_set, arg3: *mut fd_set,
arg4: *mut fd_set, arg5: *mut Struct_timeval)
-> ::libc::c_int;
pub fn accessx_np(arg1: *const Struct_accessx_descriptor, arg2: size_t,
arg3: *mut ::libc::c_int, arg4: uid_t) -> ::libc::c_int;
pub fn acct(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn add_profil(arg1: *mut ::libc::c_char, arg2: size_t,
arg3: ::libc::c_ulong, arg4: ::libc::c_uint)
-> ::libc::c_int;
pub fn endusershell() -> ();
pub fn execvP(arg1: *const ::libc::c_char, arg2: *const ::libc::c_char,
arg3: *const *mut ::libc::c_char) -> ::libc::c_int;
pub fn fflagstostr(arg1: ::libc::c_ulong) -> *mut ::libc::c_char;
pub fn getdomainname(arg1: *mut ::libc::c_char, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn getgrouplist(arg1: *const ::libc::c_char, arg2: ::libc::c_int,
arg3: *mut ::libc::c_int, arg4: *mut ::libc::c_int)
-> ::libc::c_int;
pub fn gethostuuid(arg1: uuid_t, arg2: *const Struct_timespec)
-> ::libc::c_int;
pub fn getmode(arg1: *const ::libc::c_void, arg2: mode_t) -> mode_t;
pub fn getpeereid(arg1: ::libc::c_int, arg2: *mut uid_t, arg3: *mut gid_t)
-> ::libc::c_int;
pub fn getsgroups_np(arg1: *mut ::libc::c_int, arg2: uuid_t)
-> ::libc::c_int;
pub fn getusershell() -> *mut ::libc::c_char;
pub fn getwgroups_np(arg1: *mut ::libc::c_int, arg2: uuid_t)
-> ::libc::c_int;
pub fn initgroups(arg1: *const ::libc::c_char, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn iruserok(arg1: ::libc::c_ulong, arg2: ::libc::c_int,
arg3: *const ::libc::c_char, arg4: *const ::libc::c_char)
-> ::libc::c_int;
pub fn iruserok_sa(arg1: *const ::libc::c_void, arg2: ::libc::c_int,
arg3: ::libc::c_int, arg4: *const ::libc::c_char,
arg5: *const ::libc::c_char) -> ::libc::c_int;
pub fn issetugid() -> ::libc::c_int;
pub fn mkdtemp(arg1: *mut ::libc::c_char) -> *mut ::libc::c_char;
pub fn mknod(arg1: *const ::libc::c_char, arg2: mode_t, arg3: dev_t)
-> ::libc::c_int;
pub fn mkpath_np(path: *const ::libc::c_char, omode: mode_t)
-> ::libc::c_int;
pub fn mkstemps(arg1: *mut ::libc::c_char, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn nfssvc(arg1: ::libc::c_int, arg2: *mut ::libc::c_void)
-> ::libc::c_int;
pub fn profil(arg1: *mut ::libc::c_char, arg2: size_t,
arg3: ::libc::c_ulong, arg4: ::libc::c_uint)
-> ::libc::c_int;
pub fn pthread_setugid_np(arg1: uid_t, arg2: gid_t) -> ::libc::c_int;
pub fn pthread_getugid_np(arg1: *mut uid_t, arg2: *mut gid_t)
-> ::libc::c_int;
pub fn rcmd(arg1: *mut *mut ::libc::c_char, arg2: ::libc::c_int,
arg3: *const ::libc::c_char, arg4: *const ::libc::c_char,
arg5: *const ::libc::c_char, arg6: *mut ::libc::c_int)
-> ::libc::c_int;
pub fn rcmd_af(arg1: *mut *mut ::libc::c_char, arg2: ::libc::c_int,
arg3: *const ::libc::c_char, arg4: *const ::libc::c_char,
arg5: *const ::libc::c_char, arg6: *mut ::libc::c_int,
arg7: ::libc::c_int) -> ::libc::c_int;
pub fn reboot(arg1: ::libc::c_int) -> ::libc::c_int;
pub fn revoke(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn rresvport(arg1: *mut ::libc::c_int) -> ::libc::c_int;
pub fn rresvport_af(arg1: *mut ::libc::c_int, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn ruserok(arg1: *const ::libc::c_char, arg2: ::libc::c_int,
arg3: *const ::libc::c_char, arg4: *const ::libc::c_char)
-> ::libc::c_int;
pub fn setdomainname(arg1: *const ::libc::c_char, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn setgroups(arg1: ::libc::c_int, arg2: *const gid_t)
-> ::libc::c_int;
pub fn sethostid(arg1: ::libc::c_long) -> ();
pub fn sethostname(arg1: *const ::libc::c_char, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn setlogin(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn setmode(arg1: *const ::libc::c_char) -> *mut ::libc::c_void;
pub fn setrgid(arg1: gid_t) -> ::libc::c_int;
pub fn setruid(arg1: uid_t) -> ::libc::c_int;
pub fn setsgroups_np(arg1: ::libc::c_int, arg2: uuid_t) -> ::libc::c_int;
pub fn setusershell() -> ();
pub fn setwgroups_np(arg1: ::libc::c_int, arg2: uuid_t) -> ::libc::c_int;
pub fn strtofflags(arg1: *mut *mut ::libc::c_char,
arg2: *mut ::libc::c_ulong, arg3: *mut ::libc::c_ulong)
-> ::libc::c_int;
pub fn swapon(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn syscall(arg1: ::libc::c_int, ...) -> ::libc::c_int;
pub fn ttyslot() -> ::libc::c_int;
pub fn undelete(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn unwhiteout(arg1: *const ::libc::c_char) -> ::libc::c_int;
pub fn fgetattrlist(arg1: ::libc::c_int, arg2: *mut ::libc::c_void,
arg3: *mut ::libc::c_void, arg4: size_t,
arg5: ::libc::c_uint) -> ::libc::c_int;
pub fn fsetattrlist(arg1: ::libc::c_int, arg2: *mut ::libc::c_void,
arg3: *mut ::libc::c_void, arg4: size_t,
arg5: ::libc::c_uint) -> ::libc::c_int;
pub fn getattrlist(arg1: *const ::libc::c_char, arg2: *mut ::libc::c_void,
arg3: *mut ::libc::c_void, arg4: size_t,
arg5: ::libc::c_uint) -> ::libc::c_int;
pub fn setattrlist(arg1: *const ::libc::c_char, arg2: *mut ::libc::c_void,
arg3: *mut ::libc::c_void, arg4: size_t,
arg5: ::libc::c_uint) -> ::libc::c_int;
pub fn exchangedata(arg1: *const ::libc::c_char,
arg2: *const ::libc::c_char, arg3: ::libc::c_uint)
-> ::libc::c_int;
pub fn getdirentriesattr(arg1: ::libc::c_int, arg2: *mut ::libc::c_void,
arg3: *mut ::libc::c_void, arg4: size_t,
arg5: *mut ::libc::c_uint,
arg6: *mut ::libc::c_uint,
arg7: *mut ::libc::c_uint, arg8: ::libc::c_uint)
-> ::libc::c_int;
pub fn searchfs(arg1: *const ::libc::c_char,
arg2: *mut Struct_fssearchblock,
arg3: *mut ::libc::c_ulong, arg4: ::libc::c_uint,
arg5: ::libc::c_uint, arg6: *mut Struct_searchstate)
-> ::libc::c_int;
pub fn fsctl(arg1: *const ::libc::c_char, arg2: ::libc::c_ulong,
arg3: *mut ::libc::c_void, arg4: ::libc::c_uint)
-> ::libc::c_int;
pub fn ffsctl(arg1: ::libc::c_int, arg2: ::libc::c_ulong,
arg3: *mut ::libc::c_void, arg4: ::libc::c_uint)
-> ::libc::c_int;
pub fn fsync_volume_np(arg1: ::libc::c_int, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn sync_volume_np(arg1: *const ::libc::c_char, arg2: ::libc::c_int)
-> ::libc::c_int;
pub fn open(arg1: *const ::libc::c_char, arg2: ::libc::c_int, ...)
-> ::libc::c_int;
pub fn openat(arg1: ::libc::c_int, arg2: *const ::libc::c_char,
arg3: ::libc::c_int, ...) -> ::libc::c_int;
pub fn creat(arg1: *const ::libc::c_char, arg2: mode_t) -> ::libc::c_int;
pub fn fcntl(arg1: ::libc::c_int, arg2: ::libc::c_int, ...)
-> ::libc::c_int;
pub fn openx_np(arg1: *const ::libc::c_char, arg2: ::libc::c_int,
arg3: filesec_t) -> ::libc::c_int;
pub fn open_dprotected_np(arg1: *const ::libc::c_char,
arg2: ::libc::c_int, arg3: ::libc::c_int,
arg4: ::libc::c_int, ...) -> ::libc::c_int;
pub fn flock(arg1: ::libc::c_int, arg2: ::libc::c_int) -> ::libc::c_int;
pub fn filesec_init() -> filesec_t;
pub fn filesec_dup(arg1: filesec_t) -> filesec_t;
pub fn filesec_free(arg1: filesec_t) -> ();
pub fn filesec_get_property(arg1: filesec_t, arg2: filesec_property_t,
arg3: *mut ::libc::c_void) -> ::libc::c_int;
pub fn filesec_query_property(arg1: filesec_t, arg2: filesec_property_t,
arg3: *mut ::libc::c_int) -> ::libc::c_int;
pub fn filesec_set_property(arg1: filesec_t, arg2: filesec_property_t,
arg3: *const ::libc::c_void) -> ::libc::c_int;
pub fn filesec_unset_property(arg1: filesec_t, arg2: filesec_property_t)
-> ::libc::c_int;
pub fn os_retain(object: *mut ::libc::c_void) -> *mut ::libc::c_void;
pub fn os_release(object: *mut ::libc::c_void) -> ();
pub fn dispatch_time(when: dispatch_time_t, delta: int64_t)
-> dispatch_time_t;
pub fn dispatch_walltime(when: *const Struct_timespec, delta: int64_t)
-> dispatch_time_t;
pub fn dispatch_retain(object: dispatch_object_t) -> ();
pub fn dispatch_release(object: dispatch_object_t) -> ();
pub fn dispatch_get_context(object: dispatch_object_t)
-> *mut ::libc::c_void;
pub fn dispatch_set_context(object: dispatch_object_t,
context: *mut ::libc::c_void) -> ();
pub fn dispatch_set_finalizer_f(object: dispatch_object_t,
finalizer: dispatch_function_t) -> ();
pub fn dispatch_suspend(object: dispatch_object_t) -> ();
pub fn dispatch_resume(object: dispatch_object_t) -> ();
pub fn dispatch_wait(object: *mut ::libc::c_void,
timeout: dispatch_time_t) -> ::libc::c_long;
pub fn dispatch_notify(object: *mut ::libc::c_void,
queue: dispatch_object_t,
notification_block: dispatch_block_t) -> ();
pub fn dispatch_cancel(object: *mut ::libc::c_void) -> ();
pub fn dispatch_testcancel(object: *mut ::libc::c_void) -> ::libc::c_long;
pub fn dispatch_debug(object: dispatch_object_t,
message: *const ::libc::c_char, ...) -> ();
pub fn dispatch_debugv(object: dispatch_object_t,
message: *const ::libc::c_char, ap: va_list) -> ();
pub fn dispatch_async(queue: dispatch_queue_t, block: dispatch_block_t)
-> ();
pub fn dispatch_async_f(queue: dispatch_queue_t,
context: *mut ::libc::c_void,
work: dispatch_function_t) -> ();
pub fn dispatch_sync(queue: dispatch_queue_t, block: dispatch_block_t)
-> ();
pub fn dispatch_sync_f(queue: dispatch_queue_t,
context: *mut ::libc::c_void,
work: dispatch_function_t) -> ();
pub fn dispatch_apply(iterations: size_t, queue: dispatch_queue_t,
block: ::libc::c_void) -> ();
pub fn dispatch_apply_f(iterations: size_t, queue: dispatch_queue_t,
context: *mut ::libc::c_void,
work:
::std::option::Option<extern "C" fn
(arg1:
*mut ::libc::c_void,
arg2: size_t)
-> ()>) -> ();
pub fn dispatch_get_current_queue() -> dispatch_queue_t;
pub fn qos_class_self() -> qos_class_t;
pub fn qos_class_main() -> qos_class_t;
pub fn dispatch_get_global_queue(identifier: ::libc::c_long,
flags: ::libc::c_ulong)
-> dispatch_queue_t;
pub fn dispatch_queue_attr_make_with_qos_class(attr:
dispatch_queue_attr_t,
qos_class:
dispatch_qos_class_t,
relative_priority:
::libc::c_int)
-> dispatch_queue_attr_t;
pub fn dispatch_queue_create(label: *const ::libc::c_char,
attr: dispatch_queue_attr_t)
-> dispatch_queue_t;
pub fn dispatch_queue_get_label(queue: dispatch_queue_t)
-> *const ::libc::c_char;
pub fn dispatch_queue_get_qos_class(queue: dispatch_queue_t,
relative_priority_ptr:
*mut ::libc::c_int)
-> dispatch_qos_class_t;
pub fn dispatch_set_target_queue(object: dispatch_object_t,
queue: dispatch_queue_t) -> ();
pub fn dispatch_main() -> ();
pub fn dispatch_after(when: dispatch_time_t, queue: dispatch_queue_t,
block: dispatch_block_t) -> ();
pub fn dispatch_after_f(when: dispatch_time_t, queue: dispatch_queue_t,
context: *mut ::libc::c_void,
work: dispatch_function_t) -> ();
pub fn dispatch_barrier_async(queue: dispatch_queue_t,
block: dispatch_block_t) -> ();
pub fn dispatch_barrier_async_f(queue: dispatch_queue_t,
context: *mut ::libc::c_void,
work: dispatch_function_t) -> ();
pub fn dispatch_barrier_sync(queue: dispatch_queue_t,
block: dispatch_block_t) -> ();
pub fn dispatch_barrier_sync_f(queue: dispatch_queue_t,
context: *mut ::libc::c_void,
work: dispatch_function_t) -> ();
pub fn dispatch_queue_set_specific(queue: dispatch_queue_t,
key: *const ::libc::c_void,
context: *mut ::libc::c_void,
destructor: dispatch_function_t) -> ();
pub fn dispatch_queue_get_specific(queue: dispatch_queue_t,
key: *const ::libc::c_void)
-> *mut ::libc::c_void;
pub fn dispatch_get_specific(key: *const ::libc::c_void)
-> *mut ::libc::c_void;
pub fn dispatch_block_create(flags: dispatch_block_flags_t,
block: dispatch_block_t) -> dispatch_block_t;
pub fn dispatch_block_create_with_qos_class(flags: dispatch_block_flags_t,
qos_class:
dispatch_qos_class_t,
relative_priority:
::libc::c_int,
block: dispatch_block_t)
-> dispatch_block_t;
pub fn dispatch_block_perform(flags: dispatch_block_flags_t,
block: dispatch_block_t) -> ();
pub fn dispatch_block_wait(block: dispatch_block_t,
timeout: dispatch_time_t) -> ::libc::c_long;
pub fn dispatch_block_notify(block: dispatch_block_t,
queue: dispatch_queue_t,
notification_block: dispatch_block_t) -> ();
pub fn dispatch_block_cancel(block: dispatch_block_t) -> ();
pub fn dispatch_block_testcancel(block: dispatch_block_t)
-> ::libc::c_long;
pub fn mach_msg_overwrite(msg: *mut mach_msg_header_t,
option: mach_msg_option_t,
send_size: mach_msg_size_t,
rcv_size: mach_msg_size_t,
rcv_name: mach_port_name_t,
timeout: mach_msg_timeout_t,
notify: mach_port_name_t,
rcv_msg: *mut mach_msg_header_t,
rcv_limit: mach_msg_size_t)
-> mach_msg_return_t;
pub fn mach_msg(msg: *mut mach_msg_header_t, option: mach_msg_option_t,
send_size: mach_msg_size_t, rcv_size: mach_msg_size_t,
rcv_name: mach_port_name_t, timeout: mach_msg_timeout_t,
notify: mach_port_name_t) -> mach_msg_return_t;
pub fn mach_voucher_deallocate(voucher: mach_port_name_t)
-> kern_return_t;
pub fn dispatch_source_create(_type: dispatch_source_type_t,
handle: uintptr_t, mask: ::libc::c_ulong,
queue: dispatch_queue_t)
-> dispatch_source_t;
pub fn dispatch_source_set_event_handler(source: dispatch_source_t,
handler: dispatch_block_t) -> ();
pub fn dispatch_source_set_event_handler_f(source: dispatch_source_t,
handler: dispatch_function_t)
-> ();
pub fn dispatch_source_set_cancel_handler(source: dispatch_source_t,
handler: dispatch_block_t)
-> ();
pub fn dispatch_source_set_cancel_handler_f(source: dispatch_source_t,
handler: dispatch_function_t)
-> ();
pub fn dispatch_source_cancel(source: dispatch_source_t) -> ();
pub fn dispatch_source_testcancel(source: dispatch_source_t)
-> ::libc::c_long;
pub fn dispatch_source_get_handle(source: dispatch_source_t) -> uintptr_t;
pub fn dispatch_source_get_mask(source: dispatch_source_t)
-> ::libc::c_ulong;
pub fn dispatch_source_get_data(source: dispatch_source_t)
-> ::libc::c_ulong;
pub fn dispatch_source_merge_data(source: dispatch_source_t,
value: ::libc::c_ulong) -> ();
pub fn dispatch_source_set_timer(source: dispatch_source_t,
start: dispatch_time_t,
interval: uint64_t, leeway: uint64_t)
-> ();
pub fn dispatch_source_set_registration_handler(source: dispatch_source_t,
handler: dispatch_block_t)
-> ();
pub fn dispatch_source_set_registration_handler_f(source:
dispatch_source_t,
handler:
dispatch_function_t)
-> ();
pub fn dispatch_group_create() -> dispatch_group_t;
pub fn dispatch_group_async(group: dispatch_group_t,
queue: dispatch_queue_t,
block: dispatch_block_t) -> ();
pub fn dispatch_group_async_f(group: dispatch_group_t,
queue: dispatch_queue_t,
context: *mut ::libc::c_void,
work: dispatch_function_t) -> ();
pub fn dispatch_group_wait(group: dispatch_group_t,
timeout: dispatch_time_t) -> ::libc::c_long;
pub fn dispatch_group_notify(group: dispatch_group_t,
queue: dispatch_queue_t,
block: dispatch_block_t) -> ();
pub fn dispatch_group_notify_f(group: dispatch_group_t,
queue: dispatch_queue_t,
context: *mut ::libc::c_void,
work: dispatch_function_t) -> ();
pub fn dispatch_group_enter(group: dispatch_group_t) -> ();
pub fn dispatch_group_leave(group: dispatch_group_t) -> ();
pub fn dispatch_semaphore_create(value: ::libc::c_long)
-> dispatch_semaphore_t;
pub fn dispatch_semaphore_wait(dsema: dispatch_semaphore_t,
timeout: dispatch_time_t)
-> ::libc::c_long;
pub fn dispatch_semaphore_signal(dsema: dispatch_semaphore_t)
-> ::libc::c_long;
pub fn dispatch_once(predicate: *mut dispatch_once_t,
block: dispatch_block_t) -> ();
pub fn dispatch_once_f(predicate: *mut dispatch_once_t,
context: *mut ::libc::c_void,
function: dispatch_function_t) -> ();
pub fn dispatch_data_create(buffer: *const ::libc::c_void, size: size_t,
queue: dispatch_queue_t,
destructor: dispatch_block_t)
-> dispatch_data_t;
pub fn dispatch_data_get_size(data: dispatch_data_t) -> size_t;
pub fn dispatch_data_create_map(data: dispatch_data_t,
buffer_ptr: *mut *const ::libc::c_void,
size_ptr: *mut size_t) -> dispatch_data_t;
pub fn dispatch_data_create_concat(data1: dispatch_data_t,
data2: dispatch_data_t)
-> dispatch_data_t;
pub fn dispatch_data_create_subrange(data: dispatch_data_t,
offset: size_t, length: size_t)
-> dispatch_data_t;
pub fn dispatch_data_apply(data: dispatch_data_t,
applier: dispatch_data_applier_t) -> u8;
pub fn dispatch_data_copy_region(data: dispatch_data_t, location: size_t,
offset_ptr: *mut size_t)
-> dispatch_data_t;
pub fn dispatch_read(fd: dispatch_fd_t, length: size_t,
queue: dispatch_queue_t, handler: ::libc::c_void)
-> ();
pub fn dispatch_write(fd: dispatch_fd_t, data: dispatch_data_t,
queue: dispatch_queue_t, handler: ::libc::c_void)
-> ();
pub fn dispatch_io_create(_type: dispatch_io_type_t, fd: dispatch_fd_t,
queue: dispatch_queue_t,
cleanup_handler: ::libc::c_void)
-> dispatch_io_t;
pub fn dispatch_io_create_with_path(_type: dispatch_io_type_t,
path: *const ::libc::c_char,
oflag: ::libc::c_int, mode: mode_t,
queue: dispatch_queue_t,
cleanup_handler: ::libc::c_void)
-> dispatch_io_t;
pub fn dispatch_io_create_with_io(_type: dispatch_io_type_t,
io: dispatch_io_t,
queue: dispatch_queue_t,
cleanup_handler: ::libc::c_void)
-> dispatch_io_t;
pub fn dispatch_io_read(channel: dispatch_io_t, offset: off_t,
length: size_t, queue: dispatch_queue_t,
io_handler: dispatch_io_handler_t) -> ();
pub fn dispatch_io_write(channel: dispatch_io_t, offset: off_t,
data: dispatch_data_t, queue: dispatch_queue_t,
io_handler: dispatch_io_handler_t) -> ();
pub fn dispatch_io_close(channel: dispatch_io_t,
flags: dispatch_io_close_flags_t) -> ();
pub fn dispatch_io_barrier(channel: dispatch_io_t,
barrier: dispatch_block_t) -> ();
pub fn dispatch_io_get_descriptor(channel: dispatch_io_t)
-> dispatch_fd_t;
pub fn dispatch_io_set_high_water(channel: dispatch_io_t,
high_water: size_t) -> ();
pub fn dispatch_io_set_low_water(channel: dispatch_io_t,
low_water: size_t) -> ();
pub fn dispatch_io_set_interval(channel: dispatch_io_t,
interval: uint64_t,
flags: dispatch_io_interval_flags_t)
-> ();
pub fn CFReadStreamGetTypeID() -> CFTypeID;
pub fn CFWriteStreamGetTypeID() -> CFTypeID;
pub fn CFReadStreamCreateWithBytesNoCopy(alloc: CFAllocatorRef,
bytes: *const UInt8,
length: CFIndex,
bytesDeallocator: CFAllocatorRef)
-> CFReadStreamRef;
pub fn CFWriteStreamCreateWithBuffer(alloc: CFAllocatorRef,
buffer: *mut UInt8,
bufferCapacity: CFIndex)
-> CFWriteStreamRef;
pub fn CFWriteStreamCreateWithAllocatedBuffers(alloc: CFAllocatorRef,
bufferAllocator:
CFAllocatorRef)
-> CFWriteStreamRef;
pub fn CFReadStreamCreateWithFile(alloc: CFAllocatorRef,
fileURL: CFURLRef) -> CFReadStreamRef;
pub fn CFWriteStreamCreateWithFile(alloc: CFAllocatorRef,
fileURL: CFURLRef) -> CFWriteStreamRef;
pub fn CFStreamCreateBoundPair(alloc: CFAllocatorRef,
readStream: *mut CFReadStreamRef,
writeStream: *mut CFWriteStreamRef,
transferBufferSize: CFIndex) -> ();
pub fn CFStreamCreatePairWithSocket(alloc: CFAllocatorRef,
sock: CFSocketNativeHandle,
readStream: *mut CFReadStreamRef,
writeStream: *mut CFWriteStreamRef)
-> ();
pub fn CFStreamCreatePairWithSocketToHost(alloc: CFAllocatorRef,
host: CFStringRef, port: UInt32,
readStream:
*mut CFReadStreamRef,
writeStream:
*mut CFWriteStreamRef)
-> ();
pub fn CFStreamCreatePairWithPeerSocketSignature(alloc: CFAllocatorRef,
signature:
*const CFSocketSignature,
readStream:
*mut CFReadStreamRef,
writeStream:
*mut CFWriteStreamRef)
-> ();
pub fn CFReadStreamGetStatus(stream: CFReadStreamRef) -> CFStreamStatus;
pub fn CFWriteStreamGetStatus(stream: CFWriteStreamRef) -> CFStreamStatus;
pub fn CFReadStreamCopyError(stream: CFReadStreamRef) -> CFErrorRef;
pub fn CFWriteStreamCopyError(stream: CFWriteStreamRef) -> CFErrorRef;
pub fn CFReadStreamOpen(stream: CFReadStreamRef) -> Boolean;
pub fn CFWriteStreamOpen(stream: CFWriteStreamRef) -> Boolean;
pub fn CFReadStreamClose(stream: CFReadStreamRef) -> ();
pub fn CFWriteStreamClose(stream: CFWriteStreamRef) -> ();
pub fn CFReadStreamHasBytesAvailable(stream: CFReadStreamRef) -> Boolean;
pub fn CFReadStreamRead(stream: CFReadStreamRef, buffer: *mut UInt8,
bufferLength: CFIndex) -> CFIndex;
pub fn CFReadStreamGetBuffer(stream: CFReadStreamRef,
maxBytesToRead: CFIndex,
numBytesRead: *mut CFIndex) -> *const UInt8;
pub fn CFWriteStreamCanAcceptBytes(stream: CFWriteStreamRef) -> Boolean;
pub fn CFWriteStreamWrite(stream: CFWriteStreamRef, buffer: *const UInt8,
bufferLength: CFIndex) -> CFIndex;
pub fn CFReadStreamCopyProperty(stream: CFReadStreamRef,
propertyName: CFStringRef) -> CFTypeRef;
pub fn CFWriteStreamCopyProperty(stream: CFWriteStreamRef,
propertyName: CFStringRef) -> CFTypeRef;
pub fn CFReadStreamSetProperty(stream: CFReadStreamRef,
propertyName: CFStringRef,
propertyValue: CFTypeRef) -> Boolean;
pub fn CFWriteStreamSetProperty(stream: CFWriteStreamRef,
propertyName: CFStringRef,
propertyValue: CFTypeRef) -> Boolean;
pub fn CFReadStreamSetClient(stream: CFReadStreamRef,
streamEvents: CFOptionFlags,
clientCB: CFReadStreamClientCallBack,
clientContext: *mut CFStreamClientContext)
-> Boolean;
pub fn CFWriteStreamSetClient(stream: CFWriteStreamRef,
streamEvents: CFOptionFlags,
clientCB: CFWriteStreamClientCallBack,
clientContext: *mut CFStreamClientContext)
-> Boolean;
pub fn CFReadStreamScheduleWithRunLoop(stream: CFReadStreamRef,
runLoop: CFRunLoopRef,
runLoopMode: CFStringRef) -> ();
pub fn CFWriteStreamScheduleWithRunLoop(stream: CFWriteStreamRef,
runLoop: CFRunLoopRef,
runLoopMode: CFStringRef) -> ();
pub fn CFReadStreamUnscheduleFromRunLoop(stream: CFReadStreamRef,
runLoop: CFRunLoopRef,
runLoopMode: CFStringRef) -> ();
pub fn CFWriteStreamUnscheduleFromRunLoop(stream: CFWriteStreamRef,
runLoop: CFRunLoopRef,
runLoopMode: CFStringRef) -> ();
pub fn CFReadStreamSetDispatchQueue(stream: CFReadStreamRef,
q: dispatch_queue_t) -> ();
pub fn CFWriteStreamSetDispatchQueue(stream: CFWriteStreamRef,
q: dispatch_queue_t) -> ();
pub fn CFReadStreamCopyDispatchQueue(stream: CFReadStreamRef)
-> dispatch_queue_t;
pub fn CFWriteStreamCopyDispatchQueue(stream: CFWriteStreamRef)
-> dispatch_queue_t;
pub fn CFReadStreamGetError(stream: CFReadStreamRef) -> CFStreamError;
pub fn CFWriteStreamGetError(stream: CFWriteStreamRef) -> CFStreamError;
pub fn CFPropertyListCreateFromXMLData(allocator: CFAllocatorRef,
xmlData: CFDataRef,
mutabilityOption: CFOptionFlags,
errorString: *mut CFStringRef)
-> CFPropertyListRef;
pub fn CFPropertyListCreateXMLData(allocator: CFAllocatorRef,
propertyList: CFPropertyListRef)
-> CFDataRef;
pub fn CFPropertyListCreateDeepCopy(allocator: CFAllocatorRef,
propertyList: CFPropertyListRef,
mutabilityOption: CFOptionFlags)
-> CFPropertyListRef;
pub fn CFPropertyListIsValid(plist: CFPropertyListRef,
format: CFPropertyListFormat) -> Boolean;
pub fn CFPropertyListWriteToStream(propertyList: CFPropertyListRef,
stream: CFWriteStreamRef,
format: CFPropertyListFormat,
errorString: *mut CFStringRef)
-> CFIndex;
pub fn CFPropertyListCreateFromStream(allocator: CFAllocatorRef,
stream: CFReadStreamRef,
streamLength: CFIndex,
mutabilityOption: CFOptionFlags,
format: *mut CFPropertyListFormat,
errorString: *mut CFStringRef)
-> CFPropertyListRef;
pub fn CFPropertyListCreateWithData(allocator: CFAllocatorRef,
data: CFDataRef,
options: CFOptionFlags,
format: *mut CFPropertyListFormat,
error: *mut CFErrorRef)
-> CFPropertyListRef;
pub fn CFPropertyListCreateWithStream(allocator: CFAllocatorRef,
stream: CFReadStreamRef,
streamLength: CFIndex,
options: CFOptionFlags,
format: *mut CFPropertyListFormat,
error: *mut CFErrorRef)
-> CFPropertyListRef;
pub fn CFPropertyListWrite(propertyList: CFPropertyListRef,
stream: CFWriteStreamRef,
format: CFPropertyListFormat,
options: CFOptionFlags, error: *mut CFErrorRef)
-> CFIndex;
pub fn CFPropertyListCreateData(allocator: CFAllocatorRef,
propertyList: CFPropertyListRef,
format: CFPropertyListFormat,
options: CFOptionFlags,
error: *mut CFErrorRef) -> CFDataRef;
pub fn CFSetGetTypeID() -> CFTypeID;
pub fn CFSetCreate(allocator: CFAllocatorRef,
values: *mut *const ::libc::c_void, numValues: CFIndex,
callBacks: *const CFSetCallBacks) -> CFSetRef;
pub fn CFSetCreateCopy(allocator: CFAllocatorRef, theSet: CFSetRef)
-> CFSetRef;
pub fn CFSetCreateMutable(allocator: CFAllocatorRef, capacity: CFIndex,
callBacks: *const CFSetCallBacks)
-> CFMutableSetRef;
pub fn CFSetCreateMutableCopy(allocator: CFAllocatorRef,
capacity: CFIndex, theSet: CFSetRef)
-> CFMutableSetRef;
pub fn CFSetGetCount(theSet: CFSetRef) -> CFIndex;
pub fn CFSetGetCountOfValue(theSet: CFSetRef,
value: *const ::libc::c_void) -> CFIndex;
pub fn CFSetContainsValue(theSet: CFSetRef, value: *const ::libc::c_void)
-> Boolean;
pub fn CFSetGetValue(theSet: CFSetRef, value: *const ::libc::c_void)
-> *const ::libc::c_void;
pub fn CFSetGetValueIfPresent(theSet: CFSetRef,
candidate: *const ::libc::c_void,
value: *mut *const ::libc::c_void)
-> Boolean;
pub fn CFSetGetValues(theSet: CFSetRef,
values: *mut *const ::libc::c_void) -> ();
pub fn CFSetApplyFunction(theSet: CFSetRef, applier: CFSetApplierFunction,
context: *mut ::libc::c_void) -> ();
pub fn CFSetAddValue(theSet: CFMutableSetRef,
value: *const ::libc::c_void) -> ();
pub fn CFSetReplaceValue(theSet: CFMutableSetRef,
value: *const ::libc::c_void) -> ();
pub fn CFSetSetValue(theSet: CFMutableSetRef,
value: *const ::libc::c_void) -> ();
pub fn CFSetRemoveValue(theSet: CFMutableSetRef,
value: *const ::libc::c_void) -> ();
pub fn CFSetRemoveAllValues(theSet: CFMutableSetRef) -> ();
pub fn CFTreeGetTypeID() -> CFTypeID;
pub fn CFTreeCreate(allocator: CFAllocatorRef,
context: *const CFTreeContext) -> CFTreeRef;
pub fn CFTreeGetParent(tree: CFTreeRef) -> CFTreeRef;
pub fn CFTreeGetNextSibling(tree: CFTreeRef) -> CFTreeRef;
pub fn CFTreeGetFirstChild(tree: CFTreeRef) -> CFTreeRef;
pub fn CFTreeGetContext(tree: CFTreeRef, context: *mut CFTreeContext)
-> ();
pub fn CFTreeGetChildCount(tree: CFTreeRef) -> CFIndex;
pub fn CFTreeGetChildAtIndex(tree: CFTreeRef, idx: CFIndex) -> CFTreeRef;
pub fn CFTreeGetChildren(tree: CFTreeRef, children: *mut CFTreeRef) -> ();
pub fn CFTreeApplyFunctionToChildren(tree: CFTreeRef,
applier: CFTreeApplierFunction,
context: *mut ::libc::c_void) -> ();
pub fn CFTreeFindRoot(tree: CFTreeRef) -> CFTreeRef;
pub fn CFTreeSetContext(tree: CFTreeRef, context: *const CFTreeContext)
-> ();
pub fn CFTreePrependChild(tree: CFTreeRef, newChild: CFTreeRef) -> ();
pub fn CFTreeAppendChild(tree: CFTreeRef, newChild: CFTreeRef) -> ();
pub fn CFTreeInsertSibling(tree: CFTreeRef, newSibling: CFTreeRef) -> ();
pub fn CFTreeRemove(tree: CFTreeRef) -> ();
pub fn CFTreeRemoveAllChildren(tree: CFTreeRef) -> ();
pub fn CFTreeSortChildren(tree: CFTreeRef,
comparator: CFComparatorFunction,
context: *mut ::libc::c_void) -> ();
pub fn CFURLCreateDataAndPropertiesFromResource(alloc: CFAllocatorRef,
url: CFURLRef,
resourceData:
*mut CFDataRef,
properties:
*mut CFDictionaryRef,
desiredProperties:
CFArrayRef,
errorCode: *mut SInt32)
-> Boolean;
pub fn CFURLWriteDataAndPropertiesToResource(url: CFURLRef,
dataToWrite: CFDataRef,
propertiesToWrite:
CFDictionaryRef,
errorCode: *mut SInt32)
-> Boolean;
pub fn CFURLDestroyResource(url: CFURLRef, errorCode: *mut SInt32)
-> Boolean;
pub fn CFURLCreatePropertyFromResource(alloc: CFAllocatorRef,
url: CFURLRef,
property: CFStringRef,
errorCode: *mut SInt32)
-> CFTypeRef;
pub fn CFUUIDGetTypeID() -> CFTypeID;
pub fn CFUUIDCreate(alloc: CFAllocatorRef) -> CFUUIDRef;
pub fn CFUUIDCreateWithBytes(alloc: CFAllocatorRef, byte0: UInt8,
byte1: UInt8, byte2: UInt8, byte3: UInt8,
byte4: UInt8, byte5: UInt8, byte6: UInt8,
byte7: UInt8, byte8: UInt8, byte9: UInt8,
byte10: UInt8, byte11: UInt8, byte12: UInt8,
byte13: UInt8, byte14: UInt8, byte15: UInt8)
-> CFUUIDRef;
pub fn CFUUIDCreateFromString(alloc: CFAllocatorRef, uuidStr: CFStringRef)
-> CFUUIDRef;
pub fn CFUUIDCreateString(alloc: CFAllocatorRef, uuid: CFUUIDRef)
-> CFStringRef;
pub fn CFUUIDGetConstantUUIDWithBytes(alloc: CFAllocatorRef, byte0: UInt8,
byte1: UInt8, byte2: UInt8,
byte3: UInt8, byte4: UInt8,
byte5: UInt8, byte6: UInt8,
byte7: UInt8, byte8: UInt8,
byte9: UInt8, byte10: UInt8,
byte11: UInt8, byte12: UInt8,
byte13: UInt8, byte14: UInt8,
byte15: UInt8) -> CFUUIDRef;
pub fn CFUUIDGetUUIDBytes(uuid: CFUUIDRef) -> CFUUIDBytes;
pub fn CFUUIDCreateFromUUIDBytes(alloc: CFAllocatorRef,
bytes: CFUUIDBytes) -> CFUUIDRef;
pub fn CFCopyHomeDirectoryURL() -> CFURLRef;
pub fn CFBundleGetMainBundle() -> CFBundleRef;
pub fn CFBundleGetBundleWithIdentifier(bundleID: CFStringRef)
-> CFBundleRef;
pub fn CFBundleGetAllBundles() -> CFArrayRef;
pub fn CFBundleGetTypeID() -> CFTypeID;
pub fn CFBundleCreate(allocator: CFAllocatorRef, bundleURL: CFURLRef)
-> CFBundleRef;
pub fn CFBundleCreateBundlesFromDirectory(allocator: CFAllocatorRef,
directoryURL: CFURLRef,
bundleType: CFStringRef)
-> CFArrayRef;
pub fn CFBundleCopyBundleURL(bundle: CFBundleRef) -> CFURLRef;
pub fn CFBundleGetValueForInfoDictionaryKey(bundle: CFBundleRef,
key: CFStringRef)
-> CFTypeRef;
pub fn CFBundleGetInfoDictionary(bundle: CFBundleRef) -> CFDictionaryRef;
pub fn CFBundleGetLocalInfoDictionary(bundle: CFBundleRef)
-> CFDictionaryRef;
pub fn CFBundleGetPackageInfo(bundle: CFBundleRef,
packageType: *mut UInt32,
packageCreator: *mut UInt32) -> ();
pub fn CFBundleGetIdentifier(bundle: CFBundleRef) -> CFStringRef;
pub fn CFBundleGetVersionNumber(bundle: CFBundleRef) -> UInt32;
pub fn CFBundleGetDevelopmentRegion(bundle: CFBundleRef) -> CFStringRef;
pub fn CFBundleCopySupportFilesDirectoryURL(bundle: CFBundleRef)
-> CFURLRef;
pub fn CFBundleCopyResourcesDirectoryURL(bundle: CFBundleRef) -> CFURLRef;
pub fn CFBundleCopyPrivateFrameworksURL(bundle: CFBundleRef) -> CFURLRef;
pub fn CFBundleCopySharedFrameworksURL(bundle: CFBundleRef) -> CFURLRef;
pub fn CFBundleCopySharedSupportURL(bundle: CFBundleRef) -> CFURLRef;
pub fn CFBundleCopyBuiltInPlugInsURL(bundle: CFBundleRef) -> CFURLRef;
pub fn CFBundleCopyInfoDictionaryInDirectory(bundleURL: CFURLRef)
-> CFDictionaryRef;
pub fn CFBundleGetPackageInfoInDirectory(url: CFURLRef,
packageType: *mut UInt32,
packageCreator: *mut UInt32)
-> Boolean;
pub fn CFBundleCopyResourceURL(bundle: CFBundleRef,
resourceName: CFStringRef,
resourceType: CFStringRef,
subDirName: CFStringRef) -> CFURLRef;
pub fn CFBundleCopyResourceURLsOfType(bundle: CFBundleRef,
resourceType: CFStringRef,
subDirName: CFStringRef)
-> CFArrayRef;
pub fn CFBundleCopyLocalizedString(bundle: CFBundleRef, key: CFStringRef,
value: CFStringRef,
tableName: CFStringRef) -> CFStringRef;
pub fn CFBundleCopyResourceURLInDirectory(bundleURL: CFURLRef,
resourceName: CFStringRef,
resourceType: CFStringRef,
subDirName: CFStringRef)
-> CFURLRef;
pub fn CFBundleCopyResourceURLsOfTypeInDirectory(bundleURL: CFURLRef,
resourceType:
CFStringRef,
subDirName: CFStringRef)
-> CFArrayRef;
pub fn CFBundleCopyBundleLocalizations(bundle: CFBundleRef) -> CFArrayRef;
pub fn CFBundleCopyPreferredLocalizationsFromArray(locArray: CFArrayRef)
-> CFArrayRef;
pub fn CFBundleCopyLocalizationsForPreferences(locArray: CFArrayRef,
prefArray: CFArrayRef)
-> CFArrayRef;
pub fn CFBundleCopyResourceURLForLocalization(bundle: CFBundleRef,
resourceName: CFStringRef,
resourceType: CFStringRef,
subDirName: CFStringRef,
localizationName:
CFStringRef)
-> CFURLRef;
pub fn CFBundleCopyResourceURLsOfTypeForLocalization(bundle: CFBundleRef,
resourceType:
CFStringRef,
subDirName:
CFStringRef,
localizationName:
CFStringRef)
-> CFArrayRef;
pub fn CFBundleCopyInfoDictionaryForURL(url: CFURLRef) -> CFDictionaryRef;
pub fn CFBundleCopyLocalizationsForURL(url: CFURLRef) -> CFArrayRef;
pub fn CFBundleCopyExecutableArchitecturesForURL(url: CFURLRef)
-> CFArrayRef;
pub fn CFBundleCopyExecutableURL(bundle: CFBundleRef) -> CFURLRef;
pub fn CFBundleCopyExecutableArchitectures(bundle: CFBundleRef)
-> CFArrayRef;
pub fn CFBundlePreflightExecutable(bundle: CFBundleRef,
error: *mut CFErrorRef) -> Boolean;
pub fn CFBundleLoadExecutableAndReturnError(bundle: CFBundleRef,
error: *mut CFErrorRef)
-> Boolean;
pub fn CFBundleLoadExecutable(bundle: CFBundleRef) -> Boolean;
pub fn CFBundleIsExecutableLoaded(bundle: CFBundleRef) -> Boolean;
pub fn CFBundleUnloadExecutable(bundle: CFBundleRef) -> ();
pub fn CFBundleGetFunctionPointerForName(bundle: CFBundleRef,
functionName: CFStringRef)
-> *mut ::libc::c_void;
pub fn CFBundleGetFunctionPointersForNames(bundle: CFBundleRef,
functionNames: CFArrayRef,
ftbl: *mut *mut ::libc::c_void)
-> ();
pub fn CFBundleGetDataPointerForName(bundle: CFBundleRef,
symbolName: CFStringRef)
-> *mut ::libc::c_void;
pub fn CFBundleGetDataPointersForNames(bundle: CFBundleRef,
symbolNames: CFArrayRef,
stbl: *mut *mut ::libc::c_void)
-> ();
pub fn CFBundleCopyAuxiliaryExecutableURL(bundle: CFBundleRef,
executableName: CFStringRef)
-> CFURLRef;
pub fn CFBundleGetPlugIn(bundle: CFBundleRef) -> CFPlugInRef;
pub fn CFBundleOpenBundleResourceMap(bundle: CFBundleRef)
-> CFBundleRefNum;
pub fn CFBundleOpenBundleResourceFiles(bundle: CFBundleRef,
refNum: *mut CFBundleRefNum,
localizedRefNum:
*mut CFBundleRefNum) -> SInt32;
pub fn CFBundleCloseBundleResourceMap(bundle: CFBundleRef,
refNum: CFBundleRefNum) -> ();
pub fn CFMessagePortGetTypeID() -> CFTypeID;
pub fn CFMessagePortCreateLocal(allocator: CFAllocatorRef,
name: CFStringRef,
callout: CFMessagePortCallBack,
context: *mut CFMessagePortContext,
shouldFreeInfo: *mut Boolean)
-> CFMessagePortRef;
pub fn CFMessagePortCreateRemote(allocator: CFAllocatorRef,
name: CFStringRef) -> CFMessagePortRef;
pub fn CFMessagePortIsRemote(ms: CFMessagePortRef) -> Boolean;
pub fn CFMessagePortGetName(ms: CFMessagePortRef) -> CFStringRef;
pub fn CFMessagePortSetName(ms: CFMessagePortRef, newName: CFStringRef)
-> Boolean;
pub fn CFMessagePortGetContext(ms: CFMessagePortRef,
context: *mut CFMessagePortContext) -> ();
pub fn CFMessagePortInvalidate(ms: CFMessagePortRef) -> ();
pub fn CFMessagePortIsValid(ms: CFMessagePortRef) -> Boolean;
pub fn CFMessagePortGetInvalidationCallBack(ms: CFMessagePortRef)
-> CFMessagePortInvalidationCallBack;
pub fn CFMessagePortSetInvalidationCallBack(ms: CFMessagePortRef,
callout:
CFMessagePortInvalidationCallBack)
-> ();
pub fn CFMessagePortSendRequest(remote: CFMessagePortRef, msgid: SInt32,
data: CFDataRef,
sendTimeout: CFTimeInterval,
rcvTimeout: CFTimeInterval,
replyMode: CFStringRef,
returnData: *mut CFDataRef) -> SInt32;
pub fn CFMessagePortCreateRunLoopSource(allocator: CFAllocatorRef,
local: CFMessagePortRef,
order: CFIndex)
-> CFRunLoopSourceRef;
pub fn CFMessagePortSetDispatchQueue(ms: CFMessagePortRef,
queue: dispatch_queue_t) -> ();
pub fn CFPlugInGetTypeID() -> CFTypeID;
pub fn CFPlugInCreate(allocator: CFAllocatorRef, plugInURL: CFURLRef)
-> CFPlugInRef;
pub fn CFPlugInGetBundle(plugIn: CFPlugInRef) -> CFBundleRef;
pub fn CFPlugInSetLoadOnDemand(plugIn: CFPlugInRef, flag: Boolean) -> ();
pub fn CFPlugInIsLoadOnDemand(plugIn: CFPlugInRef) -> Boolean;
pub fn CFPlugInFindFactoriesForPlugInType(typeUUID: CFUUIDRef)
-> CFArrayRef;
pub fn CFPlugInFindFactoriesForPlugInTypeInPlugIn(typeUUID: CFUUIDRef,
plugIn: CFPlugInRef)
-> CFArrayRef;
pub fn CFPlugInInstanceCreate(allocator: CFAllocatorRef,
factoryUUID: CFUUIDRef, typeUUID: CFUUIDRef)
-> *mut ::libc::c_void;
pub fn CFPlugInRegisterFactoryFunction(factoryUUID: CFUUIDRef,
func: CFPlugInFactoryFunction)
-> Boolean;
pub fn CFPlugInRegisterFactoryFunctionByName(factoryUUID: CFUUIDRef,
plugIn: CFPlugInRef,
functionName: CFStringRef)
-> Boolean;
pub fn CFPlugInUnregisterFactory(factoryUUID: CFUUIDRef) -> Boolean;
pub fn CFPlugInRegisterPlugInType(factoryUUID: CFUUIDRef,
typeUUID: CFUUIDRef) -> Boolean;
pub fn CFPlugInUnregisterPlugInType(factoryUUID: CFUUIDRef,
typeUUID: CFUUIDRef) -> Boolean;
pub fn CFPlugInAddInstanceForFactory(factoryID: CFUUIDRef) -> ();
pub fn CFPlugInRemoveInstanceForFactory(factoryID: CFUUIDRef) -> ();
pub fn CFPlugInInstanceGetInterfaceFunctionTable(instance:
CFPlugInInstanceRef,
interfaceName:
CFStringRef,
ftbl:
*mut *mut ::libc::c_void)
-> Boolean;
pub fn CFPlugInInstanceGetFactoryName(instance: CFPlugInInstanceRef)
-> CFStringRef;
pub fn CFPlugInInstanceGetInstanceData(instance: CFPlugInInstanceRef)
-> *mut ::libc::c_void;
pub fn CFPlugInInstanceGetTypeID() -> CFTypeID;
pub fn CFPlugInInstanceCreateWithInstanceDataSize(allocator:
CFAllocatorRef,
instanceDataSize:
CFIndex,
deallocateInstanceFunction:
CFPlugInInstanceDeallocateInstanceDataFunction,
factoryName:
CFStringRef,
getInterfaceFunction:
CFPlugInInstanceGetInterfaceFunction)
-> CFPlugInInstanceRef;
pub fn CFAttributedStringGetTypeID() -> CFTypeID;
pub fn CFAttributedStringCreate(alloc: CFAllocatorRef, str: CFStringRef,
attributes: CFDictionaryRef)
-> CFAttributedStringRef;
pub fn CFAttributedStringCreateWithSubstring(alloc: CFAllocatorRef,
aStr: CFAttributedStringRef,
range: CFRange)
-> CFAttributedStringRef;
pub fn CFAttributedStringCreateCopy(alloc: CFAllocatorRef,
aStr: CFAttributedStringRef)
-> CFAttributedStringRef;
pub fn CFAttributedStringGetString(aStr: CFAttributedStringRef)
-> CFStringRef;
pub fn CFAttributedStringGetLength(aStr: CFAttributedStringRef)
-> CFIndex;
pub fn CFAttributedStringGetAttributes(aStr: CFAttributedStringRef,
loc: CFIndex,
effectiveRange: *mut CFRange)
-> CFDictionaryRef;
pub fn CFAttributedStringGetAttribute(aStr: CFAttributedStringRef,
loc: CFIndex, attrName: CFStringRef,
effectiveRange: *mut CFRange)
-> CFTypeRef;
pub fn CFAttributedStringGetAttributesAndLongestEffectiveRange(aStr:
CFAttributedStringRef,
loc:
CFIndex,
inRange:
CFRange,
longestEffectiveRange:
*mut CFRange)
-> CFDictionaryRef;
pub fn CFAttributedStringGetAttributeAndLongestEffectiveRange(aStr:
CFAttributedStringRef,
loc:
CFIndex,
attrName:
CFStringRef,
inRange:
CFRange,
longestEffectiveRange:
*mut CFRange)
-> CFTypeRef;
pub fn CFAttributedStringCreateMutableCopy(alloc: CFAllocatorRef,
maxLength: CFIndex,
aStr: CFAttributedStringRef)
-> CFMutableAttributedStringRef;
pub fn CFAttributedStringCreateMutable(alloc: CFAllocatorRef,
maxLength: CFIndex)
-> CFMutableAttributedStringRef;
pub fn CFAttributedStringReplaceString(aStr: CFMutableAttributedStringRef,
range: CFRange,
replacement: CFStringRef) -> ();
pub fn CFAttributedStringGetMutableString(aStr:
CFMutableAttributedStringRef)
-> CFMutableStringRef;
pub fn CFAttributedStringSetAttributes(aStr: CFMutableAttributedStringRef,
range: CFRange,
replacement: CFDictionaryRef,
clearOtherAttributes: Boolean)
-> ();
pub fn CFAttributedStringSetAttribute(aStr: CFMutableAttributedStringRef,
range: CFRange,
attrName: CFStringRef,
value: CFTypeRef) -> ();
pub fn CFAttributedStringRemoveAttribute(aStr:
CFMutableAttributedStringRef,
range: CFRange,
attrName: CFStringRef) -> ();
pub fn CFAttributedStringReplaceAttributedString(aStr:
CFMutableAttributedStringRef,
range: CFRange,
replacement:
CFAttributedStringRef)
-> ();
pub fn CFAttributedStringBeginEditing(aStr: CFMutableAttributedStringRef)
-> ();
pub fn CFAttributedStringEndEditing(aStr: CFMutableAttributedStringRef)
-> ();
pub fn CFNotificationCenterGetTypeID() -> CFTypeID;
pub fn CFNotificationCenterGetLocalCenter() -> CFNotificationCenterRef;
pub fn CFNotificationCenterGetDistributedCenter()
-> CFNotificationCenterRef;
pub fn CFNotificationCenterGetDarwinNotifyCenter()
-> CFNotificationCenterRef;
pub fn CFNotificationCenterAddObserver(center: CFNotificationCenterRef,
observer: *const ::libc::c_void,
callBack: CFNotificationCallback,
name: CFStringRef,
object: *const ::libc::c_void,
suspensionBehavior:
CFNotificationSuspensionBehavior)
-> ();
pub fn CFNotificationCenterRemoveObserver(center: CFNotificationCenterRef,
observer: *const ::libc::c_void,
name: CFStringRef,
object: *const ::libc::c_void)
-> ();
pub fn CFNotificationCenterRemoveEveryObserver(center:
CFNotificationCenterRef,
observer:
*const ::libc::c_void)
-> ();
pub fn CFNotificationCenterPostNotification(center:
CFNotificationCenterRef,
name: CFStringRef,
object: *const ::libc::c_void,
userInfo: CFDictionaryRef,
deliverImmediately: Boolean)
-> ();
pub fn CFNotificationCenterPostNotificationWithOptions(center:
CFNotificationCenterRef,
name: CFStringRef,
object:
*const ::libc::c_void,
userInfo:
CFDictionaryRef,
options:
CFOptionFlags)
-> ();
pub fn CFURLEnumeratorGetTypeID() -> CFTypeID;
pub fn CFURLEnumeratorCreateForDirectoryURL(alloc: CFAllocatorRef,
directoryURL: CFURLRef,
option:
CFURLEnumeratorOptions,
propertyKeys: CFArrayRef)
-> CFURLEnumeratorRef;
pub fn CFURLEnumeratorCreateForMountedVolumes(alloc: CFAllocatorRef,
option:
CFURLEnumeratorOptions,
propertyKeys: CFArrayRef)
-> CFURLEnumeratorRef;
pub fn CFURLEnumeratorGetNextURL(enumerator: CFURLEnumeratorRef,
url: *mut CFURLRef,
error: *mut CFErrorRef)
-> CFURLEnumeratorResult;
pub fn CFURLEnumeratorSkipDescendents(enumerator: CFURLEnumeratorRef)
-> ();
pub fn CFURLEnumeratorGetDescendentLevel(enumerator: CFURLEnumeratorRef)
-> CFIndex;
pub fn CFURLEnumeratorGetSourceDidChange(enumerator: CFURLEnumeratorRef)
-> Boolean;
pub fn acl_dup(acl: acl_t) -> acl_t;
pub fn acl_free(obj_p: *mut ::libc::c_void) -> ::libc::c_int;
pub fn acl_init(count: ::libc::c_int) -> acl_t;
pub fn acl_copy_entry(dest_d: acl_entry_t, src_d: acl_entry_t)
-> ::libc::c_int;
pub fn acl_create_entry(acl_p: *mut acl_t, entry_p: *mut acl_entry_t)
-> ::libc::c_int;
pub fn acl_create_entry_np(acl_p: *mut acl_t, entry_p: *mut acl_entry_t,
entry_index: ::libc::c_int) -> ::libc::c_int;
pub fn acl_delete_entry(acl: acl_t, entry_d: acl_entry_t)
-> ::libc::c_int;
pub fn acl_get_entry(acl: acl_t, entry_id: ::libc::c_int,
entry_p: *mut acl_entry_t) -> ::libc::c_int;
pub fn acl_valid(acl: acl_t) -> ::libc::c_int;
pub fn acl_valid_fd_np(fd: ::libc::c_int, _type: acl_type_t, acl: acl_t)
-> ::libc::c_int;
pub fn acl_valid_file_np(path: *const ::libc::c_char, _type: acl_type_t,
acl: acl_t) -> ::libc::c_int;
pub fn acl_valid_link_np(path: *const ::libc::c_char, _type: acl_type_t,
acl: acl_t) -> ::libc::c_int;
pub fn acl_add_perm(permset_d: acl_permset_t, perm: acl_perm_t)
-> ::libc::c_int;
pub fn acl_calc_mask(acl_p: *mut acl_t) -> ::libc::c_int;
pub fn acl_clear_perms(permset_d: acl_permset_t) -> ::libc::c_int;
pub fn acl_delete_perm(permset_d: acl_permset_t, perm: acl_perm_t)
-> ::libc::c_int;
pub fn acl_get_perm_np(permset_d: acl_permset_t, perm: acl_perm_t)
-> ::libc::c_int;
pub fn acl_get_permset(entry_d: acl_entry_t,
permset_p: *mut acl_permset_t) -> ::libc::c_int;
pub fn acl_set_permset(entry_d: acl_entry_t, permset_d: acl_permset_t)
-> ::libc::c_int;
pub fn acl_maximal_permset_mask_np(mask_p: *mut acl_permset_mask_t)
-> ::libc::c_int;
pub fn acl_get_permset_mask_np(entry_d: acl_entry_t,
mask_p: *mut acl_permset_mask_t)
-> ::libc::c_int;
pub fn acl_set_permset_mask_np(entry_d: acl_entry_t,
mask: acl_permset_mask_t) -> ::libc::c_int;
pub fn acl_add_flag_np(flagset_d: acl_flagset_t, flag: acl_flag_t)
-> ::libc::c_int;
pub fn acl_clear_flags_np(flagset_d: acl_flagset_t) -> ::libc::c_int;
pub fn acl_delete_flag_np(flagset_d: acl_flagset_t, flag: acl_flag_t)
-> ::libc::c_int;
pub fn acl_get_flag_np(flagset_d: acl_flagset_t, flag: acl_flag_t)
-> ::libc::c_int;
pub fn acl_get_flagset_np(obj_p: *mut ::libc::c_void,
flagset_p: *mut acl_flagset_t) -> ::libc::c_int;
pub fn acl_set_flagset_np(obj_p: *mut ::libc::c_void,
flagset_d: acl_flagset_t) -> ::libc::c_int;
pub fn acl_get_qualifier(entry_d: acl_entry_t) -> *mut ::libc::c_void;
pub fn acl_get_tag_type(entry_d: acl_entry_t, tag_type_p: *mut acl_tag_t)
-> ::libc::c_int;
pub fn acl_set_qualifier(entry_d: acl_entry_t,
tag_qualifier_p: *const ::libc::c_void)
-> ::libc::c_int;
pub fn acl_set_tag_type(entry_d: acl_entry_t, tag_type: acl_tag_t)
-> ::libc::c_int;
pub fn acl_delete_def_file(path_p: *const ::libc::c_char)
-> ::libc::c_int;
pub fn acl_get_fd(fd: ::libc::c_int) -> acl_t;
pub fn acl_get_fd_np(fd: ::libc::c_int, _type: acl_type_t) -> acl_t;
pub fn acl_get_file(path_p: *const ::libc::c_char, _type: acl_type_t)
-> acl_t;
pub fn acl_get_link_np(path_p: *const ::libc::c_char, _type: acl_type_t)
-> acl_t;
pub fn acl_set_fd(fd: ::libc::c_int, acl: acl_t) -> ::libc::c_int;
pub fn acl_set_fd_np(fd: ::libc::c_int, acl: acl_t, acl_type: acl_type_t)
-> ::libc::c_int;
pub fn acl_set_file(path_p: *const ::libc::c_char, _type: acl_type_t,
acl: acl_t) -> ::libc::c_int;
pub fn acl_set_link_np(path_p: *const ::libc::c_char, _type: acl_type_t,
acl: acl_t) -> ::libc::c_int;
pub fn acl_copy_ext(buf_p: *mut ::libc::c_void, acl: acl_t, size: ssize_t)
-> ssize_t;
pub fn acl_copy_ext_native(buf_p: *mut ::libc::c_void, acl: acl_t,
size: ssize_t) -> ssize_t;
pub fn acl_copy_int(buf_p: *const ::libc::c_void) -> acl_t;
pub fn acl_copy_int_native(buf_p: *const ::libc::c_void) -> acl_t;
pub fn acl_from_text(buf_p: *const ::libc::c_char) -> acl_t;
pub fn acl_size(acl: acl_t) -> ssize_t;
pub fn acl_to_text(acl: acl_t, len_p: *mut ssize_t)
-> *mut ::libc::c_char;
pub fn CFFileSecurityGetTypeID() -> CFTypeID;
pub fn CFFileSecurityCreate(allocator: CFAllocatorRef)
-> CFFileSecurityRef;
pub fn CFFileSecurityCreateCopy(allocator: CFAllocatorRef,
fileSec: CFFileSecurityRef)
-> CFFileSecurityRef;
pub fn CFFileSecurityCopyOwnerUUID(fileSec: CFFileSecurityRef,
ownerUUID: *mut CFUUIDRef) -> Boolean;
pub fn CFFileSecuritySetOwnerUUID(fileSec: CFFileSecurityRef,
ownerUUID: CFUUIDRef) -> Boolean;
pub fn CFFileSecurityCopyGroupUUID(fileSec: CFFileSecurityRef,
groupUUID: *mut CFUUIDRef) -> Boolean;
pub fn CFFileSecuritySetGroupUUID(fileSec: CFFileSecurityRef,
groupUUID: CFUUIDRef) -> Boolean;
pub fn CFFileSecurityCopyAccessControlList(fileSec: CFFileSecurityRef,
accessControlList: *mut acl_t)
-> Boolean;
pub fn CFFileSecuritySetAccessControlList(fileSec: CFFileSecurityRef,
accessControlList: acl_t)
-> Boolean;
pub fn CFFileSecurityGetOwner(fileSec: CFFileSecurityRef,
owner: *mut uid_t) -> Boolean;
pub fn CFFileSecuritySetOwner(fileSec: CFFileSecurityRef, owner: uid_t)
-> Boolean;
pub fn CFFileSecurityGetGroup(fileSec: CFFileSecurityRef,
group: *mut gid_t) -> Boolean;
pub fn CFFileSecuritySetGroup(fileSec: CFFileSecurityRef, group: gid_t)
-> Boolean;
pub fn CFFileSecurityGetMode(fileSec: CFFileSecurityRef,
mode: *mut mode_t) -> Boolean;
pub fn CFFileSecuritySetMode(fileSec: CFFileSecurityRef, mode: mode_t)
-> Boolean;
pub fn CFFileSecurityClearProperties(fileSec: CFFileSecurityRef,
clearPropertyMask:
CFFileSecurityClearOptions)
-> Boolean;
pub fn CFMachPortGetTypeID() -> CFTypeID;
pub fn CFMachPortCreate(allocator: CFAllocatorRef,
callout: CFMachPortCallBack,
context: *mut CFMachPortContext,
shouldFreeInfo: *mut Boolean) -> CFMachPortRef;
pub fn CFMachPortCreateWithPort(allocator: CFAllocatorRef,
portNum: mach_port_t,
callout: CFMachPortCallBack,
context: *mut CFMachPortContext,
shouldFreeInfo: *mut Boolean)
-> CFMachPortRef;
pub fn CFMachPortGetPort(port: CFMachPortRef) -> mach_port_t;
pub fn CFMachPortGetContext(port: CFMachPortRef,
context: *mut CFMachPortContext) -> ();
pub fn CFMachPortInvalidate(port: CFMachPortRef) -> ();
pub fn CFMachPortIsValid(port: CFMachPortRef) -> Boolean;
pub fn CFMachPortGetInvalidationCallBack(port: CFMachPortRef)
-> CFMachPortInvalidationCallBack;
pub fn CFMachPortSetInvalidationCallBack(port: CFMachPortRef,
callout:
CFMachPortInvalidationCallBack)
-> ();
pub fn CFMachPortCreateRunLoopSource(allocator: CFAllocatorRef,
port: CFMachPortRef, order: CFIndex)
-> CFRunLoopSourceRef;
pub fn CFStringTokenizerCopyBestStringLanguage(string: CFStringRef,
range: CFRange)
-> CFStringRef;
pub fn CFStringTokenizerGetTypeID() -> CFTypeID;
pub fn CFStringTokenizerCreate(alloc: CFAllocatorRef, string: CFStringRef,
range: CFRange, options: CFOptionFlags,
locale: CFLocaleRef)
-> CFStringTokenizerRef;
pub fn CFStringTokenizerSetString(tokenizer: CFStringTokenizerRef,
string: CFStringRef, range: CFRange)
-> ();
pub fn CFStringTokenizerGoToTokenAtIndex(tokenizer: CFStringTokenizerRef,
index: CFIndex)
-> CFStringTokenizerTokenType;
pub fn CFStringTokenizerAdvanceToNextToken(tokenizer:
CFStringTokenizerRef)
-> CFStringTokenizerTokenType;
pub fn CFStringTokenizerGetCurrentTokenRange(tokenizer:
CFStringTokenizerRef)
-> CFRange;
pub fn CFStringTokenizerCopyCurrentTokenAttribute(tokenizer:
CFStringTokenizerRef,
attribute:
CFOptionFlags)
-> CFTypeRef;
pub fn CFStringTokenizerGetCurrentSubTokens(tokenizer:
CFStringTokenizerRef,
ranges: *mut CFRange,
maxRangeLength: CFIndex,
derivedSubTokens:
CFMutableArrayRef)
-> CFIndex;
pub fn CFFileDescriptorGetTypeID() -> CFTypeID;
pub fn CFFileDescriptorCreate(allocator: CFAllocatorRef,
fd: CFFileDescriptorNativeDescriptor,
closeOnInvalidate: Boolean,
callout: CFFileDescriptorCallBack,
context: *const CFFileDescriptorContext)
-> CFFileDescriptorRef;
pub fn CFFileDescriptorGetNativeDescriptor(f: CFFileDescriptorRef)
-> CFFileDescriptorNativeDescriptor;
pub fn CFFileDescriptorGetContext(f: CFFileDescriptorRef,
context: *mut CFFileDescriptorContext)
-> ();
pub fn CFFileDescriptorEnableCallBacks(f: CFFileDescriptorRef,
callBackTypes: CFOptionFlags)
-> ();
pub fn CFFileDescriptorDisableCallBacks(f: CFFileDescriptorRef,
callBackTypes: CFOptionFlags)
-> ();
pub fn CFFileDescriptorInvalidate(f: CFFileDescriptorRef) -> ();
pub fn CFFileDescriptorIsValid(f: CFFileDescriptorRef) -> Boolean;
pub fn CFFileDescriptorCreateRunLoopSource(allocator: CFAllocatorRef,
f: CFFileDescriptorRef,
order: CFIndex)
-> CFRunLoopSourceRef;
pub fn CFUserNotificationGetTypeID() -> CFTypeID;
pub fn CFUserNotificationCreate(allocator: CFAllocatorRef,
timeout: CFTimeInterval,
flags: CFOptionFlags, error: *mut SInt32,
dictionary: CFDictionaryRef)
-> CFUserNotificationRef;
pub fn CFUserNotificationReceiveResponse(userNotification:
CFUserNotificationRef,
timeout: CFTimeInterval,
responseFlags:
*mut CFOptionFlags)
-> SInt32;
pub fn CFUserNotificationGetResponseValue(userNotification:
CFUserNotificationRef,
key: CFStringRef, idx: CFIndex)
-> CFStringRef;
pub fn CFUserNotificationGetResponseDictionary(userNotification:
CFUserNotificationRef)
-> CFDictionaryRef;
pub fn CFUserNotificationUpdate(userNotification: CFUserNotificationRef,
timeout: CFTimeInterval,
flags: CFOptionFlags,
dictionary: CFDictionaryRef) -> SInt32;
pub fn CFUserNotificationCancel(userNotification: CFUserNotificationRef)
-> SInt32;
pub fn CFUserNotificationCreateRunLoopSource(allocator: CFAllocatorRef,
userNotification:
CFUserNotificationRef,
callout:
CFUserNotificationCallBack,
order: CFIndex)
-> CFRunLoopSourceRef;
pub fn CFUserNotificationDisplayNotice(timeout: CFTimeInterval,
flags: CFOptionFlags,
iconURL: CFURLRef,
soundURL: CFURLRef,
localizationURL: CFURLRef,
alertHeader: CFStringRef,
alertMessage: CFStringRef,
defaultButtonTitle: CFStringRef)
-> SInt32;
pub fn CFUserNotificationDisplayAlert(timeout: CFTimeInterval,
flags: CFOptionFlags,
iconURL: CFURLRef,
soundURL: CFURLRef,
localizationURL: CFURLRef,
alertHeader: CFStringRef,
alertMessage: CFStringRef,
defaultButtonTitle: CFStringRef,
alternateButtonTitle: CFStringRef,
otherButtonTitle: CFStringRef,
responseFlags: *mut CFOptionFlags)
-> SInt32;
pub fn CFXMLNodeGetTypeID() -> CFTypeID;
pub fn CFXMLNodeCreate(alloc: CFAllocatorRef, xmlType: CFXMLNodeTypeCode,
dataString: CFStringRef,
additionalInfoPtr: *const ::libc::c_void,
version: CFIndex) -> CFXMLNodeRef;
pub fn CFXMLNodeCreateCopy(alloc: CFAllocatorRef, origNode: CFXMLNodeRef)
-> CFXMLNodeRef;
pub fn CFXMLNodeGetTypeCode(node: CFXMLNodeRef) -> CFXMLNodeTypeCode;
pub fn CFXMLNodeGetString(node: CFXMLNodeRef) -> CFStringRef;
pub fn CFXMLNodeGetInfoPtr(node: CFXMLNodeRef) -> *const ::libc::c_void;
pub fn CFXMLNodeGetVersion(node: CFXMLNodeRef) -> CFIndex;
pub fn CFXMLTreeCreateWithNode(allocator: CFAllocatorRef,
node: CFXMLNodeRef) -> CFXMLTreeRef;
pub fn CFXMLTreeGetNode(xmlTree: CFXMLTreeRef) -> CFXMLNodeRef;
pub fn CFXMLParserGetTypeID() -> CFTypeID;
pub fn CFXMLParserCreate(allocator: CFAllocatorRef, xmlData: CFDataRef,
dataSource: CFURLRef,
parseOptions: CFOptionFlags,
versionOfNodes: CFIndex,
callBacks: *mut CFXMLParserCallBacks,
context: *mut CFXMLParserContext)
-> CFXMLParserRef;
pub fn CFXMLParserCreateWithDataFromURL(allocator: CFAllocatorRef,
dataSource: CFURLRef,
parseOptions: CFOptionFlags,
versionOfNodes: CFIndex,
callBacks:
*mut CFXMLParserCallBacks,
context: *mut CFXMLParserContext)
-> CFXMLParserRef;
pub fn CFXMLParserGetContext(parser: CFXMLParserRef,
context: *mut CFXMLParserContext) -> ();
pub fn CFXMLParserGetCallBacks(parser: CFXMLParserRef,
callBacks: *mut CFXMLParserCallBacks)
-> ();
pub fn CFXMLParserGetSourceURL(parser: CFXMLParserRef) -> CFURLRef;
pub fn CFXMLParserGetLocation(parser: CFXMLParserRef) -> CFIndex;
pub fn CFXMLParserGetLineNumber(parser: CFXMLParserRef) -> CFIndex;
pub fn CFXMLParserGetDocument(parser: CFXMLParserRef)
-> *mut ::libc::c_void;
pub fn CFXMLParserGetStatusCode(parser: CFXMLParserRef)
-> CFXMLParserStatusCode;
pub fn CFXMLParserCopyErrorDescription(parser: CFXMLParserRef)
-> CFStringRef;
pub fn CFXMLParserAbort(parser: CFXMLParserRef,
errorCode: CFXMLParserStatusCode,
errorDescription: CFStringRef) -> ();
pub fn CFXMLParserParse(parser: CFXMLParserRef) -> Boolean;
pub fn CFXMLTreeCreateFromData(allocator: CFAllocatorRef,
xmlData: CFDataRef, dataSource: CFURLRef,
parseOptions: CFOptionFlags,
versionOfNodes: CFIndex) -> CFXMLTreeRef;
pub fn CFXMLTreeCreateFromDataWithError(allocator: CFAllocatorRef,
xmlData: CFDataRef,
dataSource: CFURLRef,
parseOptions: CFOptionFlags,
versionOfNodes: CFIndex,
errorDict: *mut CFDictionaryRef)
-> CFXMLTreeRef;
pub fn CFXMLTreeCreateWithDataFromURL(allocator: CFAllocatorRef,
dataSource: CFURLRef,
parseOptions: CFOptionFlags,
versionOfNodes: CFIndex)
-> CFXMLTreeRef;
pub fn CFXMLTreeCreateXMLData(allocator: CFAllocatorRef,
xmlTree: CFXMLTreeRef) -> CFDataRef;
pub fn CFXMLCreateStringByEscapingEntities(allocator: CFAllocatorRef,
string: CFStringRef,
entitiesDictionary:
CFDictionaryRef)
-> CFStringRef;
pub fn CFXMLCreateStringByUnescapingEntities(allocator: CFAllocatorRef,
string: CFStringRef,
entitiesDictionary:
CFDictionaryRef)
-> CFStringRef;
pub fn AudioComponentFindNext(inComponent: AudioComponent,
inDesc: *const AudioComponentDescription)
-> AudioComponent;
pub fn AudioComponentCount(inDesc: *const AudioComponentDescription)
-> UInt32;
pub fn AudioComponentCopyName(inComponent: AudioComponent,
outName: *mut CFStringRef) -> OSStatus;
pub fn AudioComponentGetDescription(inComponent: AudioComponent,
outDesc:
*mut AudioComponentDescription)
-> OSStatus;
pub fn AudioComponentGetVersion(inComponent: AudioComponent,
outVersion: *mut UInt32) -> OSStatus;
pub fn AudioComponentInstanceNew(inComponent: AudioComponent,
outInstance: *mut AudioComponentInstance)
-> OSStatus;
pub fn AudioComponentInstanceDispose(inInstance: AudioComponentInstance)
-> OSStatus;
pub fn AudioComponentInstanceGetComponent(inInstance:
AudioComponentInstance)
-> AudioComponent;
pub fn AudioComponentInstanceCanDo(inInstance: AudioComponentInstance,
inSelectorID: SInt16) -> Boolean;
pub fn AudioComponentRegister(inDesc: *const AudioComponentDescription,
inName: CFStringRef, inVersion: UInt32,
inFactory: AudioComponentFactoryFunction)
-> AudioComponent;
pub fn AudioComponentCopyConfigurationInfo(inComponent: AudioComponent,
outConfigurationInfo:
*mut CFDictionaryRef)
-> OSStatus;
pub fn AudioUnitInitialize(inUnit: AudioUnit) -> OSStatus;
pub fn AudioUnitUninitialize(inUnit: AudioUnit) -> OSStatus;
pub fn AudioUnitGetPropertyInfo(inUnit: AudioUnit,
inID: AudioUnitPropertyID,
inScope: AudioUnitScope,
inElement: AudioUnitElement,
outDataSize: *mut UInt32,
outWritable: *mut Boolean) -> OSStatus;
pub fn AudioUnitGetProperty(inUnit: AudioUnit, inID: AudioUnitPropertyID,
inScope: AudioUnitScope,
inElement: AudioUnitElement,
outData: *mut ::libc::c_void,
ioDataSize: *mut UInt32) -> OSStatus;
pub fn AudioUnitSetProperty(inUnit: AudioUnit, inID: AudioUnitPropertyID,
inScope: AudioUnitScope,
inElement: AudioUnitElement,
inData: *const ::libc::c_void,
inDataSize: UInt32) -> OSStatus;
pub fn AudioUnitAddPropertyListener(inUnit: AudioUnit,
inID: AudioUnitPropertyID,
inProc: AudioUnitPropertyListenerProc,
inProcUserData: *mut ::libc::c_void)
-> OSStatus;
pub fn AudioUnitRemovePropertyListenerWithUserData(inUnit: AudioUnit,
inID:
AudioUnitPropertyID,
inProc:
AudioUnitPropertyListenerProc,
inProcUserData:
*mut ::libc::c_void)
-> OSStatus;
pub fn AudioUnitAddRenderNotify(inUnit: AudioUnit,
inProc: AURenderCallback,
inProcUserData: *mut ::libc::c_void)
-> OSStatus;
pub fn AudioUnitRemoveRenderNotify(inUnit: AudioUnit,
inProc: AURenderCallback,
inProcUserData: *mut ::libc::c_void)
-> OSStatus;
pub fn AudioUnitGetParameter(inUnit: AudioUnit,
inID: AudioUnitParameterID,
inScope: AudioUnitScope,
inElement: AudioUnitElement,
outValue: *mut AudioUnitParameterValue)
-> OSStatus;
pub fn AudioUnitSetParameter(inUnit: AudioUnit,
inID: AudioUnitParameterID,
inScope: AudioUnitScope,
inElement: AudioUnitElement,
inValue: AudioUnitParameterValue,
inBufferOffsetInFrames: UInt32) -> OSStatus;
pub fn AudioUnitScheduleParameters(inUnit: AudioUnit,
inParameterEvent:
*const AudioUnitParameterEvent,
inNumParamEvents: UInt32) -> OSStatus;
pub fn AudioUnitRender(inUnit: AudioUnit,
ioActionFlags: *mut AudioUnitRenderActionFlags,
inTimeStamp: *const AudioTimeStamp,
inOutputBusNumber: UInt32, inNumberFrames: UInt32,
ioData: *mut AudioBufferList) -> OSStatus;
pub fn AudioUnitProcess(inUnit: AudioUnit,
ioActionFlags: *mut AudioUnitRenderActionFlags,
inTimeStamp: *const AudioTimeStamp,
inNumberFrames: UInt32,
ioData: *mut AudioBufferList) -> OSStatus;
pub fn AudioUnitProcessMultiple(inUnit: AudioUnit,
ioActionFlags:
*mut AudioUnitRenderActionFlags,
inTimeStamp: *const AudioTimeStamp,
inNumberFrames: UInt32,
inNumberInputBufferLists: UInt32,
inInputBufferLists:
*mut *const AudioBufferList,
inNumberOutputBufferLists: UInt32,
ioOutputBufferLists:
*mut *mut AudioBufferList)
-> OSStatus;
pub fn AudioUnitReset(inUnit: AudioUnit, inScope: AudioUnitScope,
inElement: AudioUnitElement) -> OSStatus;
pub fn AudioOutputUnitStart(ci: AudioUnit) -> OSStatus;
pub fn AudioOutputUnitStop(ci: AudioUnit) -> OSStatus;
pub fn MusicDeviceMIDIEvent(inUnit: MusicDeviceComponent,
inStatus: UInt32, inData1: UInt32,
inData2: UInt32, inOffsetSampleFrame: UInt32)
-> OSStatus;
pub fn MusicDeviceSysEx(inUnit: MusicDeviceComponent,
inData: *const UInt8, inLength: UInt32)
-> OSStatus;
pub fn MusicDeviceStartNote(inUnit: MusicDeviceComponent,
inInstrument: MusicDeviceInstrumentID,
inGroupID: MusicDeviceGroupID,
outNoteInstanceID: *mut NoteInstanceID,
inOffsetSampleFrame: UInt32,
inParams: *const MusicDeviceNoteParams)
-> OSStatus;
pub fn MusicDeviceStopNote(inUnit: MusicDeviceComponent,
inGroupID: MusicDeviceGroupID,
inNoteInstanceID: NoteInstanceID,
inOffsetSampleFrame: UInt32) -> OSStatus;
pub fn MusicDevicePrepareInstrument(inUnit: MusicDeviceComponent,
inInstrument: MusicDeviceInstrumentID)
-> OSStatus;
pub fn MusicDeviceReleaseInstrument(inUnit: MusicDeviceComponent,
inInstrument: MusicDeviceInstrumentID)
-> OSStatus;
pub fn AudioCodecGetPropertyInfo(inCodec: AudioCodec,
inPropertyID: AudioCodecPropertyID,
outSize: *mut UInt32,
outWritable: *mut Boolean) -> OSStatus;
pub fn AudioCodecGetProperty(inCodec: AudioCodec,
inPropertyID: AudioCodecPropertyID,
ioPropertyDataSize: *mut UInt32,
outPropertyData: *mut ::libc::c_void)
-> OSStatus;
pub fn AudioCodecSetProperty(inCodec: AudioCodec,
inPropertyID: AudioCodecPropertyID,
inPropertyDataSize: UInt32,
inPropertyData: *const ::libc::c_void)
-> OSStatus;
pub fn AudioCodecInitialize(inCodec: AudioCodec,
inInputFormat:
*const AudioStreamBasicDescription,
inOutputFormat:
*const AudioStreamBasicDescription,
inMagicCookie: *const ::libc::c_void,
inMagicCookieByteSize: UInt32) -> OSStatus;
pub fn AudioCodecUninitialize(inCodec: AudioCodec) -> OSStatus;
pub fn AudioCodecAppendInputData(inCodec: AudioCodec,
inInputData: *const ::libc::c_void,
ioInputDataByteSize: *mut UInt32,
ioNumberPackets: *mut UInt32,
inPacketDescription:
*const AudioStreamPacketDescription)
-> OSStatus;
pub fn AudioCodecProduceOutputPackets(inCodec: AudioCodec,
outOutputData: *mut ::libc::c_void,
ioOutputDataByteSize: *mut UInt32,
ioNumberPackets: *mut UInt32,
outPacketDescription:
*mut AudioStreamPacketDescription,
outStatus: *mut UInt32) -> OSStatus;
pub fn AudioCodecAppendInputBufferList(inCodec: AudioCodec,
inBufferList:
*const AudioBufferList,
ioNumberPackets: *mut UInt32,
inPacketDescription:
*const AudioStreamPacketDescription,
outBytesConsumed: *mut UInt32)
-> OSStatus;
pub fn AudioCodecProduceOutputBufferList(inCodec: AudioCodec,
ioBufferList:
*mut AudioBufferList,
ioNumberPackets: *mut UInt32,
outPacketDescription:
*mut AudioStreamPacketDescription,
outStatus: *mut UInt32)
-> OSStatus;
pub fn AudioCodecReset(inCodec: AudioCodec) -> OSStatus;
}