objc2-open-directory 0.3.2

Bindings to the OpenDirectory framework
Documentation
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
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ffi::*;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-core-foundation")]
use objc2_core_foundation::*;
use objc2_foundation::*;

use crate::*;

extern "C" {
    /// the address to connect to via proxy, used when making the options dictionary
    ///
    /// the address to connect to via proxy, used when making the options dictionary
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodsessionproxyaddress?language=objc)
    #[cfg(feature = "objc2-core-foundation")]
    pub static kODSessionProxyAddress: Option<&'static CFString>;
}

extern "C" {
    /// the port to connect to via proxy, used when making the options dictionary
    ///
    /// the port to connect to via proxy, used when making the options dictionary.  This parameter
    /// is optional and should not be passed normally.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodsessionproxyport?language=objc)
    #[cfg(feature = "objc2-core-foundation")]
    pub static kODSessionProxyPort: Option<&'static CFString>;
}

extern "C" {
    /// the username to connect with via proxy, used when making the options dictionary
    ///
    /// the username to connect with via proxy, used when making the options dictionary
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodsessionproxyusername?language=objc)
    #[cfg(feature = "objc2-core-foundation")]
    pub static kODSessionProxyUsername: Option<&'static CFString>;
}

extern "C" {
    /// the password to connect with via proxy, used when making the options dictionary
    ///
    /// the password to connect with via proxy, used when making the options dictionary
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodsessionproxypassword?language=objc)
    #[cfg(feature = "objc2-core-foundation")]
    pub static kODSessionProxyPassword: Option<&'static CFString>;
}

extern "C" {
    /// number of seconds before a query times out
    ///
    /// number of seconds before a query times out
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmoduleconfigoptionquerytimeout?language=objc)
    #[cfg(feature = "objc2-core-foundation")]
    pub static kODModuleConfigOptionQueryTimeout: Option<&'static CFString>;
}

extern "C" {
    /// number of seconds before a connection attempt times out
    ///
    /// number of seconds before a connection attempt times out
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmoduleconfigoptionconnectionsetuptimeout?language=objc)
    #[cfg(feature = "objc2-core-foundation")]
    pub static kODModuleConfigOptionConnectionSetupTimeout: Option<&'static CFString>;
}

extern "C" {
    /// number of seconds before a connection is idle disconnected
    ///
    /// number of seconds before a connection is idle disconnected
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmoduleconfigoptionconnectionidledisconnect?language=objc)
    #[cfg(feature = "objc2-core-foundation")]
    pub static kODModuleConfigOptionConnectionIdleDisconnect: Option<&'static CFString>;
}

extern "C" {
    /// enable or disable packet signing
    ///
    /// number of seconds before a query times out
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmoduleconfigoptionpacketsigning?language=objc)
    #[cfg(feature = "objc2-core-foundation")]
    pub static kODModuleConfigOptionPacketSigning: Option<&'static CFString>;
}

extern "C" {
    /// enable or disable packet encryption
    ///
    /// enable or disable packet encryption
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmoduleconfigoptionpacketencryption?language=objc)
    #[cfg(feature = "objc2-core-foundation")]
    pub static kODModuleConfigOptionPacketEncryption: Option<&'static CFString>;
}

extern "C" {
    /// enable or disable man-in-middle countermeasures
    ///
    /// enable or disable man-in-middle countermeasures
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmoduleconfigoptionmaninthemiddle?language=objc)
    #[cfg(feature = "objc2-core-foundation")]
    pub static kODModuleConfigOptionManInTheMiddle: Option<&'static CFString>;
}

/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodnodetypeauthentication?language=objc)
pub const kODNodeTypeAuthentication: c_uint = 0x2201;
/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodnodetypecontacts?language=objc)
pub const kODNodeTypeContacts: c_uint = 0x2204;
/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodnodetypenetwork?language=objc)
pub const kODNodeTypeNetwork: c_uint = 0x2205;
/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodnodetypelocalnodes?language=objc)
pub const kODNodeTypeLocalNodes: c_uint = 0x2200;
/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodnodetypeconfigure?language=objc)
pub const kODNodeTypeConfigure: c_uint = 0x2202;

/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/odnodetype?language=objc)
pub type ODNodeType = u32;

extern "C" {
    /// Used with nodes that support options.
    ///
    /// Passed in an options dictionary where the value is a boolean (kCFBooleanTrue/kCFBooleanFalse).
    /// If a node supports the option it will notify the client when a subnode is skipped during queries.
    /// Supported options are listed in node details under kODAttributeTypeNodeOptions.  Node may fail to
    /// open if unsupported options are used.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodnodeoptionsqueryskippedsubnode?language=objc)
    #[cfg(feature = "objc2-core-foundation")]
    pub static kODNodeOptionsQuerySkippedSubnode: Option<&'static CFString>;
}

/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmatchany?language=objc)
pub const kODMatchAny: c_uint = 0x0001;
/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmatchequalto?language=objc)
pub const kODMatchEqualTo: c_uint = 0x2001;
/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmatchbeginswith?language=objc)
pub const kODMatchBeginsWith: c_uint = 0x2002;
/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmatchcontains?language=objc)
pub const kODMatchContains: c_uint = 0x2004;
/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmatchendswith?language=objc)
pub const kODMatchEndsWith: c_uint = 0x2003;
/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmatchinsensitiveequalto?language=objc)
#[deprecated = "case matching is defined by attribute schema"]
pub const kODMatchInsensitiveEqualTo: c_uint = 0x2101;
/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmatchinsensitivebeginswith?language=objc)
#[deprecated = "case matching is defined by attribute schema"]
pub const kODMatchInsensitiveBeginsWith: c_uint = 0x2102;
/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmatchinsensitivecontains?language=objc)
#[deprecated = "case matching is defined by attribute schema"]
pub const kODMatchInsensitiveContains: c_uint = 0x2104;
/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmatchinsensitiveendswith?language=objc)
#[deprecated = "case matching is defined by attribute schema"]
pub const kODMatchInsensitiveEndsWith: c_uint = 0x2103;
/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmatchgreaterthan?language=objc)
pub const kODMatchGreaterThan: c_uint = 0x2006;
/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodmatchlessthan?language=objc)
pub const kODMatchLessThan: c_uint = 0x2007;

/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/odmatchtype?language=objc)
pub type ODMatchType = u32;

/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/odrecordtype?language=objc)
pub type ODRecordType = NSString;

/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/odattributetype?language=objc)
pub type ODAttributeType = NSString;

/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/odauthenticationtype?language=objc)
pub type ODAuthenticationType = NSString;

/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/odpolicytype?language=objc)
pub type ODPolicyType = NSString;

/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/oderroruserinfokeytype?language=objc)
pub type ODErrorUserInfoKeyType = NSString;

/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/odoptionkeytype?language=objc)
pub type ODOptionKeyType = NSString;

extern "C" {
    /// Identifies records that represent each possible attribute type.
    ///
    /// Identifies records that represent each possible attribute type.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeattributetypes?language=objc)
    pub static kODRecordTypeAttributeTypes: Option<&'static ODRecordType>;
}

extern "C" {
    /// Record type of AFP server records.
    ///
    /// Record type of AFP server records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeafpserver?language=objc)
    pub static kODRecordTypeAFPServer: Option<&'static ODRecordType>;
}

extern "C" {
    /// Used to represent alias records.
    ///
    /// Used to represent alias records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypealiases?language=objc)
    pub static kODRecordTypeAliases: Option<&'static ODRecordType>;
}

extern "C" {
    /// Used to store augmented record data.
    ///
    /// Used to store augmented record data.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeaugments?language=objc)
    pub static kODRecordTypeAugments: Option<&'static ODRecordType>;
}

extern "C" {
    /// Used to store automount record data.
    ///
    /// Used to store automount record data.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeautomount?language=objc)
    pub static kODRecordTypeAutomount: Option<&'static ODRecordType>;
}

extern "C" {
    /// Used to store automountMap record data.
    ///
    /// Used to store automountMap record data.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeautomountmap?language=objc)
    pub static kODRecordTypeAutomountMap: Option<&'static ODRecordType>;
}

extern "C" {
    /// Used to discover automated server setup information.
    ///
    /// Used to discover automated server setup information.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeautoserversetup?language=objc)
    pub static kODRecordTypeAutoServerSetup: Option<&'static ODRecordType>;
}

extern "C" {
    /// Record in the local node for storing bootp info.
    ///
    /// Record in the local node for storing bootp info.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypebootp?language=objc)
    pub static kODRecordTypeBootp: Option<&'static ODRecordType>;
}

extern "C" {
    /// Record type that contains certificate authority information.
    ///
    /// Record type that contains certificate authority information.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypecertificateauthorities?language=objc)
    pub static kODRecordTypeCertificateAuthorities: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies computer list records.
    ///
    /// Identifies computer list records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypecomputerlists?language=objc)
    pub static kODRecordTypeComputerLists: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies computer group records.
    ///
    /// Identifies computer group records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypecomputergroups?language=objc)
    pub static kODRecordTypeComputerGroups: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies computer records.
    ///
    /// Identifies computer records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypecomputers?language=objc)
    pub static kODRecordTypeComputers: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies configuration records.
    ///
    /// Identifies configuration records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeconfiguration?language=objc)
    pub static kODRecordTypeConfiguration: Option<&'static ODRecordType>;
}

extern "C" {
    /// Record in the node for storing ethernets.
    ///
    /// Record in the node for storing ethernets.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeethernets?language=objc)
    pub static kODRecordTypeEthernets: Option<&'static ODRecordType>;
}

extern "C" {
    /// FileMaker servers record type.
    ///
    /// FileMaker servers record type that describes available FileMaker servers,
    /// used for service discovery.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypefilemakerservers?language=objc)
    pub static kODRecordTypeFileMakerServers: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies ftp server records.
    ///
    /// Identifies ftp server records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeftpserver?language=objc)
    pub static kODRecordTypeFTPServer: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies group records.
    ///
    /// Identifies group records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypegroups?language=objc)
    pub static kODRecordTypeGroups: Option<&'static ODRecordType>;
}

extern "C" {
    /// Record in the local node for storing host services.
    ///
    /// Record in the local node for storing host services.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypehostservices?language=objc)
    pub static kODRecordTypeHostServices: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies host records.
    ///
    /// Identifies host records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypehosts?language=objc)
    pub static kODRecordTypeHosts: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies LDAP server records.
    ///
    /// Identifies LDAP server records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeldapserver?language=objc)
    pub static kODRecordTypeLDAPServer: Option<&'static ODRecordType>;
}

extern "C" {
    /// Location record type.
    ///
    /// Location record type.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypelocations?language=objc)
    pub static kODRecordTypeLocations: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies mount records.
    ///
    /// Identifies mount records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypemounts?language=objc)
    pub static kODRecordTypeMounts: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies NFS records.
    ///
    /// Identifies NFS records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypenfs?language=objc)
    pub static kODRecordTypeNFS: Option<&'static ODRecordType>;
}

extern "C" {
    /// Record in the local node for storing net domains.
    ///
    /// Record in the local node for storing net domains.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypenetdomains?language=objc)
    pub static kODRecordTypeNetDomains: Option<&'static ODRecordType>;
}

extern "C" {
    /// Record in the local node for storing net groups.
    ///
    /// Record in the local node for storing net groups.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypenetgroups?language=objc)
    pub static kODRecordTypeNetGroups: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies network records.
    ///
    /// Identifies network records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypenetworks?language=objc)
    pub static kODRecordTypeNetworks: Option<&'static ODRecordType>;
}

extern "C" {
    /// Record type that contains "People" records used for contact information.
    ///
    /// Record type that contains "People" records used for contact information.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypepeople?language=objc)
    pub static kODRecordTypePeople: Option<&'static ODRecordType>;
}

extern "C" {
    /// The computer record type used for presets in record creation.
    ///
    /// The computer record type used for presets in record creation.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypepresetcomputers?language=objc)
    pub static kODRecordTypePresetComputers: Option<&'static ODRecordType>;
}

extern "C" {
    /// The computer group record type used for presets in record creation.
    ///
    /// The computer group record type used for presets in record creation.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypepresetcomputergroups?language=objc)
    pub static kODRecordTypePresetComputerGroups: Option<&'static ODRecordType>;
}

extern "C" {
    /// The computer list record type used for presets in record creation.
    ///
    /// The computer list record type used for presets in record creation.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypepresetcomputerlists?language=objc)
    pub static kODRecordTypePresetComputerLists: Option<&'static ODRecordType>;
}

extern "C" {
    /// The group record type used for presets in record creation.
    ///
    /// The group record type used for presets in record creation.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypepresetgroups?language=objc)
    pub static kODRecordTypePresetGroups: Option<&'static ODRecordType>;
}

extern "C" {
    /// The user record type used for presets in record creation.
    ///
    /// The user record type used for presets in record creation.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypepresetusers?language=objc)
    pub static kODRecordTypePresetUsers: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies print service records.
    ///
    /// Identifies print service records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeprintservice?language=objc)
    pub static kODRecordTypePrintService: Option<&'static ODRecordType>;
}

extern "C" {
    /// Record in the local node for storing quota usage for a user.
    ///
    /// Record in the local node for storing quota usage for a user.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeprintserviceuser?language=objc)
    pub static kODRecordTypePrintServiceUser: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies printer records.
    ///
    /// Identifies printer records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeprinters?language=objc)
    pub static kODRecordTypePrinters: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies protocol records.
    ///
    /// Identifies protocol records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeprotocols?language=objc)
    pub static kODRecordTypeProtocols: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies quicktime streaming server records.
    ///
    /// Identifies quicktime streaming server records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeqtsserver?language=objc)
    pub static kODRecordTypeQTSServer: Option<&'static ODRecordType>;
}

extern "C" {
    /// Special query information record
    ///
    /// Specifically to return query information inline such as skipped nodes
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypequeryinformation?language=objc)
    pub static kODRecordTypeQueryInformation: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies records that represent each possible record type.
    ///
    /// Identifies records that represent each possible record type.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtyperecordtypes?language=objc)
    pub static kODRecordTypeRecordTypes: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies resources used in group services.
    ///
    /// Identifies resources used in group services.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtyperesources?language=objc)
    pub static kODRecordTypeResources: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies remote procedure call records.
    ///
    /// Identifies remote procedure call records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtyperpc?language=objc)
    pub static kODRecordTypeRPC: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies SMB server records.
    ///
    /// Identifies SMB server records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypesmbserver?language=objc)
    pub static kODRecordTypeSMBServer: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies generic server records.
    ///
    /// Identifies generic server records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeserver?language=objc)
    pub static kODRecordTypeServer: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies directory based service records.
    ///
    /// Identifies directory based service records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeservices?language=objc)
    pub static kODRecordTypeServices: Option<&'static ODRecordType>;
}

extern "C" {
    /// Share point record type.
    ///
    /// Share point record type.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypesharepoints?language=objc)
    pub static kODRecordTypeSharePoints: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies user records.
    ///
    /// Identifies user records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypeusers?language=objc)
    pub static kODRecordTypeUsers: Option<&'static ODRecordType>;
}

extern "C" {
    /// Identifies web server records.
    ///
    /// Identifies web server records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodrecordtypewebserver?language=objc)
    pub static kODRecordTypeWebServer: Option<&'static ODRecordType>;
}

extern "C" {
    /// Used in requesting all attribute types in a search.
    ///
    /// Used in requesting all attribute types in a search.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeallattributes?language=objc)
    pub static kODAttributeTypeAllAttributes: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used in requesting all standard attribute types in a query.
    ///
    /// Used in requesting all standard attribute types in a query.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypestandardonly?language=objc)
    pub static kODAttributeTypeStandardOnly: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used in requesting all native attribute types in a search.
    ///
    /// Used in requesting all native attribute types in a search.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenativeonly?language=objc)
    pub static kODAttributeTypeNativeOnly: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used to disambiguate a provided name.
    ///
    /// Searches a configured list of attributes; by default: RecordName, FullName, EMailAddress.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypemetaambiguousname?language=objc)
    pub static kODAttributeTypeMetaAmbiguousName: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attributes that have been augmented.
    ///
    /// Attributes that have been augmented.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypemetaaugmentedattributes?language=objc)
    pub static kODAttributeTypeMetaAugmentedAttributes: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Native record name.
    ///
    /// Native record name, e.g. LDAP DN
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypemetarecordname?language=objc)
    pub static kODAttributeTypeMetaRecordName: Option<&'static ODAttributeType>;
}

extern "C" {
    /// XML plist indicating what an admin user can edit.
    ///
    /// XML plist indicating what an admin user can edit. Found in kODRecordTypeUsers records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeadminlimits?language=objc)
    pub static kODAttributeTypeAdminLimits: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used to store alternate identities for the record
    ///
    /// Used to store alternate identities for the record. Values will have standardized form as
    /// specified by Microsoft LDAP schema (1.2.840.113556.1.4.867).
    ///
    /// Kerberos:user
    /// @
    /// REALM
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypealtsecurityidentities?language=objc)
    pub static kODAttributeTypeAltSecurityIdentities: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used to identify the authentication hint phrase.
    ///
    /// Used to identify the authentication hint phrase.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeauthenticationhint?language=objc)
    pub static kODAttributeTypeAuthenticationHint: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used to indicated recommended attribute types for a record type in the Config node.
    ///
    /// Used to indicated recommended attribute types for a record type in the Config node.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypealltypes?language=objc)
    pub static kODAttributeTypeAllTypes: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute containing the binary of the authority revocation list
    ///
    /// Attribute containing the binary of the authority revocation list.
    /// A certificate revocation list that defines certificate authority certificates
    /// which are no longer trusted.  No user certificates are included in this list.
    /// Usually found in kODRecordTypeCertificateAuthorities records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeauthorityrevocationlist?language=objc)
    pub static kODAttributeTypeAuthorityRevocationList: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Single-valued attribute that defines the user's birthday.
    ///
    /// Single-valued attribute that defines the user's birthday.
    /// Format is x.208 standard YYYYMMDDHHMMSSZ which we will require as GMT time.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypebirthday?language=objc)
    pub static kODAttributeTypeBirthday: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute containing the binary of the certificate of a certificate authority.
    ///
    /// Attribute containing the binary of the certificate of a certificate authority.
    /// Its corresponding private key is used to sign certificates.
    /// Usually found in kODRecordTypeCertificateAuthority records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypecacertificate?language=objc)
    pub static kODAttributeTypeCACertificate: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute type for the capacity of a resource.
    ///
    /// Attribute type for the capacity of a resource.
    /// found in resource records (kODRecordTypeResources).
    /// Example: 50
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypecapacity?language=objc)
    pub static kODAttributeTypeCapacity: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute containing the binary of the certificate revocation list.
    ///
    /// Attribute containing the binary of the certificate revocation list.
    /// This is a list of certificates which are no longer trusted.
    /// Usually found in kODRecordTypeCertificateAuthority records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypecertificaterevocationlist?language=objc)
    pub static kODAttributeTypeCertificateRevocationList: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute used for unformatted comment.
    ///
    /// Attribute used for unformatted comment.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypecomment?language=objc)
    pub static kODAttributeTypeComment: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute type for the contact GUID of a group.
    ///
    /// Attribute type for the contact GUID of a group.
    /// Usually found in group records (kODRecordTypeGroups)
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypecontactguid?language=objc)
    pub static kODAttributeTypeContactGUID: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute type for the contact person of the machine.
    ///
    /// Attribute type for the contact person of the machine.
    /// Found in host or machine records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypecontactperson?language=objc)
    pub static kODAttributeTypeContactPerson: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute showing date/time of record creation.
    ///
    /// Attribute showing date/time of record creation.
    /// Format is x.208 standard YYYYMMDDHHMMSSZ which should be GMT time.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypecreationtimestamp?language=objc)
    pub static kODAttributeTypeCreationTimestamp: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute containing the binary of a pair of certificates which
    /// verify each other.
    ///
    /// Attribute containing the binary of a pair of certificates which
    /// verify each other.  Both certificates have the same level of authority.
    /// Usually found in kODRecordTypeCertificateAuthority records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypecrosscertificatepair?language=objc)
    pub static kODAttributeTypeCrossCertificatePair: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute for checksum/meta data
    ///
    /// Attribute for checksum/meta data
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypedatastamp?language=objc)
    pub static kODAttributeTypeDataStamp: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Full name of a record
    ///
    /// Full name of a record (e.g., "John Doe", "John Doe's Computer")
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypefullname?language=objc)
    pub static kODAttributeTypeFullName: Option<&'static ODAttributeType>;
}

extern "C" {
    /// DNS Resolver domain attribute.
    ///
    /// DNS Resolver domain attribute.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypednsdomain?language=objc)
    pub static kODAttributeTypeDNSDomain: Option<&'static ODAttributeType>;
}

extern "C" {
    /// DNS Resolver nameserver attribute.
    ///
    /// DNS Resolver nameserver attribute.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypednsnameserver?language=objc)
    pub static kODAttributeTypeDNSNameServer: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute for hardware Ethernet address (MAC address).
    ///
    /// Attribute for hardware Ethernet address (MAC address).
    /// Found in computer records (kODRecordTypeComputers).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeenetaddress?language=objc)
    pub static kODAttributeTypeENetAddress: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used for expiration date or time depending on association.
    ///
    /// Used for expiration date or time depending on association.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeexpire?language=objc)
    pub static kODAttributeTypeExpire: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used for first name of user or person record.
    ///
    /// Used for first name of user or person record.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypefirstname?language=objc)
    pub static kODAttributeTypeFirstName: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used for 36 character (128 bit) unique ID.
    ///
    /// Used for 36 character (128 bit) unique ID. An example value is
    /// "A579E95E-CDFE-4EBC-B7E7-F2158562170F". The standard format contains
    /// 32 uppercase hex characters and four hyphen characters.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeguid?language=objc)
    pub static kODAttributeTypeGUID: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used to store hardware UUID in string form
    ///
    /// Used to store hardware UUID in string form for a record.  Typically found in
    /// kODRecordTypeComputers.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypehardwareuuid?language=objc)
    pub static kODAttributeTypeHardwareUUID: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the allowed usage for a user's home directory in bytes.
    ///
    /// Represents the allowed usage for a user's home directory in bytes.
    /// Found in user records (kODRecordTypeUsers).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypehomedirectoryquota?language=objc)
    pub static kODAttributeTypeHomeDirectoryQuota: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used to define home directory size limit in bytes when user is notified
    /// that the hard limit is approaching.
    ///
    /// Used to define home directory size limit in bytes when user is notified
    /// that the hard limit is approaching.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypehomedirectorysoftquota?language=objc)
    pub static kODAttributeTypeHomeDirectorySoftQuota: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the owner of a workgroup's shared home directory.
    ///
    /// Represents the owner of a workgroup's shared home directory.
    /// Typically found in kODRecordTypeGroups records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypehomelocowner?language=objc)
    pub static kODAttributeTypeHomeLocOwner: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used to track internet alias.
    ///
    /// Used to track internet alias.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeinternetalias?language=objc)
    pub static kODAttributeTypeInternetAlias: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Contents of the kdc.conf file.
    ///
    /// Contents of the kdc.conf file.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypekdcconfigdata?language=objc)
    pub static kODAttributeTypeKDCConfigData: Option<&'static ODAttributeType>;
}

extern "C" {
    /// This is used to store the principals in host records (i.e., "host", "vnc", etc.)
    ///
    /// This is used to store the principals in host records (i.e., "host", "vnc", etc.)
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypekerberosservices?language=objc)
    pub static kODAttributeTypeKerberosServices: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used for the last name of user or person record.
    ///
    /// Used for the last name of user or person record.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypelastname?language=objc)
    pub static kODAttributeTypeLastName: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Search base suffix for a LDAP server.
    ///
    /// Search base suffix for a LDAP server.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeldapsearchbasesuffix?language=objc)
    pub static kODAttributeTypeLDAPSearchBaseSuffix: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the location a service is available from (usually domain name)
    ///
    /// Represents the location a service is available from (usually domain name).
    /// Typically found in service record types including kODRecordTypeAFPServer,
    /// kODRecordTypeLDAPServer, and kODRecordTypeWebServer.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypelocation?language=objc)
    pub static kODAttributeTypeLocation: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the GUID for a record's map
    ///
    /// Represents the GUID for a record's map.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypemapguid?language=objc)
    pub static kODAttributeTypeMapGUID: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used by ManagedClient
    ///
    /// Used by ManagedClient.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypemcxflags?language=objc)
    pub static kODAttributeTypeMCXFlags: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used by ManagedClient
    ///
    /// Used by ManagedClient.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypemcxsettings?language=objc)
    pub static kODAttributeTypeMCXSettings: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Holds the mail account config data
    ///
    /// Holds the mail account config data.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypemailattribute?language=objc)
    pub static kODAttributeTypeMailAttribute: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used to query for kODRecordTypeAutomount entries
    ///
    /// Used to query for kODRecordTypeAutomount entries associated with a specific
    /// kODRecordTypeAutomountMap.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypemetaautomountmap?language=objc)
    pub static kODAttributeTypeMetaAutomountMap: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used for the middle name of user or person record.
    ///
    /// Used for the middle name of user or person record.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypemiddlename?language=objc)
    pub static kODAttributeTypeMiddleName: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute showing date/time of record modification.
    ///
    /// Attribute showing date/time of record modification.
    /// Format is x.208 standard YYYYMMDDHHMMSSZ which is required as GMT time.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypemodificationtimestamp?language=objc)
    pub static kODAttributeTypeModificationTimestamp: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Defines a user's home directory mount point on the local machine.
    ///
    /// Defines a user's home directory mount point on the local machine.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenfshomedirectory?language=objc)
    pub static kODAttributeTypeNFSHomeDirectory: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Note attribute.
    ///
    /// Note attribute.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenote?language=objc)
    pub static kODAttributeTypeNote: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Returns the operating system type where the daemon is running
    ///
    /// Returns the operating system type where the daemon is running,
    /// e.g., Mac OS X or Mac OS X Server
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeoperatingsystem?language=objc)
    pub static kODAttributeTypeOperatingSystem: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Returns the operating system version where the daemon is running
    ///
    /// Returns the operating system version where the daemon is running,
    /// e.g., 10.6
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeoperatingsystemversion?language=objc)
    pub static kODAttributeTypeOperatingSystemVersion: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute type for the owner of a record.
    ///
    /// Attribute type for the owner of a record.
    /// Typically the value is a LDAP distinguished name.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeowner?language=objc)
    pub static kODAttributeTypeOwner: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute type for the owner GUID of a group.
    ///
    /// Attribute type for the owner GUID of a group.
    /// Found in group records (kODRecordTypeGroups).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeownerguid?language=objc)
    pub static kODAttributeTypeOwnerGUID: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Holds the password or credential value.
    ///
    /// Holds the password or credential value.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypepassword?language=objc)
    pub static kODAttributeTypePassword: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Holds marker data to indicate possible authentication redirection.
    ///
    /// Holds marker data to indicate possible authentication redirection.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypepasswordplus?language=objc)
    pub static kODAttributeTypePasswordPlus: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Collection of password policy options in single attribute.
    ///
    /// Collection of password policy options in single attribute.
    /// Used in user presets record.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypepasswordpolicyoptions?language=objc)
    pub static kODAttributeTypePasswordPolicyOptions: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the attribute for storing the password server's replication information.
    ///
    /// Represents the attribute for storing the password server's replication information.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypepasswordserverlist?language=objc)
    pub static kODAttributeTypePasswordServerList: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Specifies the IP address or domain name of the Password Server associated
    /// with a given directory node.
    ///
    /// Specifies the IP address or domain name of the Password Server associated
    /// with a given directory node. Found in a config record named PasswordServer.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypepasswordserverlocation?language=objc)
    pub static kODAttributeTypePasswordServerLocation: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the path of the picture for each user displayed in the login window.
    ///
    /// Represents the path of the picture for each user displayed in the login window.
    /// Found in user records (kODRecordTypeUsers).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypepicture?language=objc)
    pub static kODAttributeTypePicture: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the port number a service is available on.
    ///
    /// Represents the port number a service is available on.
    /// Typically found in service record types including kODRecordTypeAFPServer,
    /// kODRecordTypeLDAPServer, and kODRecordTypeWebServer.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeport?language=objc)
    pub static kODAttributeTypePort: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Flag to indicate whether users created from this preset are administrators
    /// by default.
    ///
    /// Flag to indicate whether users created from this preset are administrators
    /// by default. Found in kODRecordTypePresetUsers records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypepresetuserisadmin?language=objc)
    pub static kODAttributeTypePresetUserIsAdmin: Option<&'static ODAttributeType>;
}

extern "C" {
    /// An attribute that defines a primary computer of the computer group.
    ///
    /// An attribute that defines a primary computer of the computer group.
    /// Added to computer group record type (kODRecordTypeComputerGroups)
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprimarycomputerguid?language=objc)
    pub static kODAttributeTypePrimaryComputerGUID: Option<&'static ODAttributeType>;
}

extern "C" {
    /// The GUID of the computer list with which this computer record is associated.
    ///
    /// The GUID of the computer list with which this computer record is associated.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprimarycomputerlist?language=objc)
    pub static kODAttributeTypePrimaryComputerList: Option<&'static ODAttributeType>;
}

extern "C" {
    /// This is the 32 bit unique ID that represents the primary group
    /// a user is part of, or the ID of a group.
    ///
    /// This is the 32 bit unique ID that represents the primary group
    /// a user is part of, or the ID of a group. Format is a signed 32 bit integer
    /// represented as a string.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprimarygroupid?language=objc)
    pub static kODAttributeTypePrimaryGroupID: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute that defines the IEEE 1284 DeviceID of a printer.
    ///
    /// Attribute that defines the IEEE 1284 DeviceID of a printer.
    /// This is used when configuring a printer.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprinter1284deviceid?language=objc)
    pub static kODAttributeTypePrinter1284DeviceID: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Standard attribute type for kODRecordTypePrinters.
    ///
    /// Standard attribute type for kODRecordTypePrinters.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprinterlprhost?language=objc)
    pub static kODAttributeTypePrinterLPRHost: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Standard attribute type for kODRecordTypePrinters.
    ///
    /// Standard attribute type for kODRecordTypePrinters.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprinterlprqueue?language=objc)
    pub static kODAttributeTypePrinterLPRQueue: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute for definition of the Printer Make and Model.
    ///
    /// Attribute for definition of the Printer Make and Model.  An example
    /// value would be "HP LaserJet 2200".  This would be used to determine the proper PPD
    /// file to be used when configuring a printer from the Directory.  This attribute
    /// is based on the IPP Printing Specification RFC and IETF IPP-LDAP Printer Record.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprintermakeandmodel?language=objc)
    pub static kODAttributeTypePrinterMakeAndModel: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Standard attribute type for kODRecordTypePrinters.
    ///
    /// Standard attribute type for kODRecordTypePrinters.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprintertype?language=objc)
    pub static kODAttributeTypePrinterType: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute that defines the URI of a printer "ipp://address" or
    /// "smb://server/queue".
    ///
    /// Attribute that defines the URI of a printer "ipp://address" or
    /// "smb://server/queue".  This is used when configuring a printer. This attribute
    /// is based on the IPP Printing Specification RFC and IETF IPP-LDAP Printer Record.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprinteruri?language=objc)
    pub static kODAttributeTypePrinterURI: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute that defines additional URIs supported by a printer.
    ///
    /// attribute that defines additional URIs supported by a printer.
    /// This is used when configuring a printer. This attribute is based on the IPP
    /// Printing Specification RFC and IETF IPP-LDAP Printer Record.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprinterxrisupported?language=objc)
    pub static kODAttributeTypePrinterXRISupported: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Standard attribute type for kODRecordTypePrinters.
    ///
    /// Standard attribute type for kODRecordTypePrinters.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprintserviceinfotext?language=objc)
    pub static kODAttributeTypePrintServiceInfoText: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Standard attribute type for kODRecordTypePrinters.
    ///
    /// Standard attribute type for kODRecordTypePrinters.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprintserviceinfoxml?language=objc)
    pub static kODAttributeTypePrintServiceInfoXML: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute for print quota configuration or statistics (XML data).
    ///
    /// Attribute for print quota configuration or statistics (XML data).
    /// Found in user records (kODRecordTypeUsers) or print service
    /// statistics records (kODRecordTypePrintServiceUser).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprintserviceuserdata?language=objc)
    pub static kODAttributeTypePrintServiceUserData: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used by Managed Client.
    ///
    /// Used by Managed Client
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetyperealuserid?language=objc)
    pub static kODAttributeTypeRealUserID: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used to map the first native LDAP attribute type required in the building of the
    /// Relative Distinguished Name for LDAP record creation.
    ///
    /// Used to map the first native LDAP attribute type required in the building of the
    /// Relative Distinguished Name for LDAP record creation.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetyperelativednprefix?language=objc)
    pub static kODAttributeTypeRelativeDNPrefix: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Account control flag.
    ///
    /// Account control flag.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesmbacctflags?language=objc)
    pub static kODAttributeTypeSMBAcctFlags: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Constant for supporting PDC SMB interaction with DirectoryService.
    ///
    /// Constant for supporting PDC SMB interaction with DirectoryService.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesmbgrouprid?language=objc)
    pub static kODAttributeTypeSMBGroupRID: Option<&'static ODAttributeType>;
}

extern "C" {
    /// UNC address of Windows homedirectory mount point (
    /// \
    /// server
    /// \
    /// sharepoint).
    ///
    /// UNC address of Windows homedirectory mount point (
    /// \
    /// server
    /// \
    /// sharepoint).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesmbhome?language=objc)
    pub static kODAttributeTypeSMBHome: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Drive letter for homedirectory mount point.
    ///
    /// Drive letter for homedirectory mount point.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesmbhomedrive?language=objc)
    pub static kODAttributeTypeSMBHomeDrive: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute in support of SMB interaction.
    ///
    /// Attribute in support of SMB interaction.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesmbkickofftime?language=objc)
    pub static kODAttributeTypeSMBKickoffTime: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute in support of SMB interaction.
    ///
    /// Attribute in support of SMB interaction.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesmblogofftime?language=objc)
    pub static kODAttributeTypeSMBLogoffTime: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute in support of SMB interaction.
    ///
    /// Attribute in support of SMB interaction.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesmblogontime?language=objc)
    pub static kODAttributeTypeSMBLogonTime: Option<&'static ODAttributeType>;
}

extern "C" {
    /// SMB Primary Group Security ID, stored as a string attribute of
    /// up to 64 bytes.
    ///
    /// SMB Primary Group Security ID, stored as a string attribute of
    /// up to 64 bytes. Found in user, group, and computer records
    /// (kODRecordTypeUsers, kODRecordTypeGroups, kODRecordTypeComputers).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesmbprimarygroupsid?language=objc)
    pub static kODAttributeTypeSMBPrimaryGroupSID: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute in support of SMB interaction.
    ///
    /// Attribute in support of SMB interaction.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesmbpwdlastset?language=objc)
    pub static kODAttributeTypeSMBPWDLastSet: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Desktop management info (dock, desktop links, etc).
    ///
    /// Desktop management info (dock, desktop links, etc).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesmbprofilepath?language=objc)
    pub static kODAttributeTypeSMBProfilePath: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute in support of SMB interaction.
    ///
    /// Attribute in support of SMB interaction.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesmbrid?language=objc)
    pub static kODAttributeTypeSMBRID: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Login script path.
    ///
    /// Login script path.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesmbscriptpath?language=objc)
    pub static kODAttributeTypeSMBScriptPath: Option<&'static ODAttributeType>;
}

extern "C" {
    /// SMB Security ID, stored as a string attribute of up to 64 bytes.
    ///
    /// SMB Security ID, stored as a string attribute of up to 64 bytes.
    /// Found in user, group, and computer records (kODRecordTypeUsers,
    /// kODRecordTypeGroups, kODRecordTypeComputers).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesmbsid?language=objc)
    pub static kODAttributeTypeSMBSID: Option<&'static ODAttributeType>;
}

extern "C" {
    /// List of workstations user can login from (machine account names).
    ///
    /// List of workstations user can login from (machine account names).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesmbuserworkstations?language=objc)
    pub static kODAttributeTypeSMBUserWorkstations: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the service type for the service.  This is the raw service type of the
    /// service.
    ///
    /// Represents the service type for the service.  This is the raw service type of the
    /// service.  For example a service record type of kODRecordTypeWebServer
    /// might have a service type of "http" or "https".
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeservicetype?language=objc)
    pub static kODAttributeTypeServiceType: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used for Setup Assistant automatic population.
    ///
    /// Used for Setup Assistant automatic population.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesetupadvertising?language=objc)
    pub static kODAttributeTypeSetupAdvertising: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used for Setup Assistant automatic population.
    ///
    /// Used for Setup Assistant automatic population.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesetupautoregister?language=objc)
    pub static kODAttributeTypeSetupAutoRegister: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used for Setup Assistant automatic population.
    ///
    /// Used for Setup Assistant automatic population.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesetuplocation?language=objc)
    pub static kODAttributeTypeSetupLocation: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used for Setup Assistant automatic population.
    ///
    /// Used for Setup Assistant automatic population.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesetupoccupation?language=objc)
    pub static kODAttributeTypeSetupOccupation: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute recommending how long to cache the record's attribute values.
    ///
    /// Attribute recommending how long to cache the record's attribute values.
    /// Format is an unsigned 32 bit representing seconds. ie. 300 is 5 minutes.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypetimetolive?language=objc)
    pub static kODAttributeTypeTimeToLive: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used to describe a node's trust information.
    ///
    /// Used to describe a node's trust information.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypetrustinformation?language=objc)
    pub static kODAttributeTypeTrustInformation: Option<&'static ODAttributeType>;
}

extern "C" {
    /// This is the 32 bit unique ID that represents the user in the legacy manner.
    ///
    /// This is the 32 bit unique ID that represents the user in the legacy manner.
    /// Format is a signed integer represented as a string.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeuniqueid?language=objc)
    pub static kODAttributeTypeUniqueID: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute containing the binary of the user's certificate.
    ///
    /// Attribute containing the binary of the user's certificate.
    /// Usually found in user records. The certificate is data which identifies a user.
    /// This data is attested to by a known party, and can be independently verified
    /// by a third party.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeusercertificate?language=objc)
    pub static kODAttributeTypeUserCertificate: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute containing binary data in PKCS #12 format.
    ///
    /// Attribute containing binary data in PKCS #12 format.
    /// Usually found in user records. The value can contain keys, certificates,
    /// and other related information and is encrypted with a passphrase.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeuserpkcs12data?language=objc)
    pub static kODAttributeTypeUserPKCS12Data: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used to represent the user's shell setting.
    ///
    /// Used to represent the user's shell setting.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeusershell?language=objc)
    pub static kODAttributeTypeUserShell: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute containing the binary of the user's SMIME certificate.
    ///
    /// Attribute containing the binary of the user's SMIME certificate.
    /// Usually found in user records. The certificate is data which identifies a user.
    /// This data is attested to by a known party, and can be independently verified
    /// by a third party. SMIME certificates are often used for signed or encrypted
    /// emails.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeusersmimecertificate?language=objc)
    pub static kODAttributeTypeUserSMIMECertificate: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute used to support mount records.
    ///
    /// Attribute used to support mount records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypevfsdumpfreq?language=objc)
    pub static kODAttributeTypeVFSDumpFreq: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute used to support mount records.
    ///
    /// Attribute used to support mount records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypevfslinkdir?language=objc)
    pub static kODAttributeTypeVFSLinkDir: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute used to support mount records.
    ///
    /// Attribute used to support mount records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypevfspassno?language=objc)
    pub static kODAttributeTypeVFSPassNo: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute used to support mount records.
    ///
    /// Attribute used to support mount records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypevfstype?language=objc)
    pub static kODAttributeTypeVFSType: Option<&'static ODAttributeType>;
}

extern "C" {
    /// attribute that defines the URI of a user's weblog.
    ///
    /// attribute that defines the URI of a user's weblog.
    /// Usually found in user records (kODRecordTypeUsers).
    /// Example: http://example.com/blog/jsmith
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypewebloguri?language=objc)
    pub static kODAttributeTypeWeblogURI: Option<&'static ODAttributeType>;
}

extern "C" {
    /// XML plist used.
    ///
    /// XML plist used.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypexmlplist?language=objc)
    pub static kODAttributeTypeXMLPlist: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute that defines a protocol number.
    ///
    /// Attribute that defines a protocol number.  Usually found
    /// in protocol records (kODRecordTypeProtocols)
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprotocolnumber?language=objc)
    pub static kODAttributeTypeProtocolNumber: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute that defines an RPC number.
    ///
    /// Attribute that defines an RPC number.  Usually found
    /// in RPC records (kODRecordTypeRPC)
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetyperpcnumber?language=objc)
    pub static kODAttributeTypeRPCNumber: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute that defines a network number.
    ///
    /// Attribute that defines a network number.  Usually found
    /// in network records (kODRecordTypeNetworks)
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenetworknumber?language=objc)
    pub static kODAttributeTypeNetworkNumber: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute type which stores directory access control directives.
    ///
    /// Attribute type which stores directory access control directives.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeaccesscontrolentry?language=objc)
    pub static kODAttributeTypeAccessControlEntry: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Line one of multiple lines of address data for a user.
    ///
    /// Line one of multiple lines of address data for a user.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeaddressline1?language=objc)
    pub static kODAttributeTypeAddressLine1: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Line two of multiple lines of address data for a user.
    ///
    /// Line two of multiple lines of address data for a user.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeaddressline2?language=objc)
    pub static kODAttributeTypeAddressLine2: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Line three of multiple lines of address data for a user.
    ///
    /// Line three of multiple lines of address data for a user.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeaddressline3?language=objc)
    pub static kODAttributeTypeAddressLine3: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Area code of a user's phone number.
    ///
    /// Area code of a user's phone number.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeareacode?language=objc)
    pub static kODAttributeTypeAreaCode: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Determines what mechanism is used to verify or set a user's password.
    ///
    /// Determines what mechanism is used to verify or set a user's password.
    /// If multiple values are present, the first attributes returned take precedence.
    /// Typically found in User records (kODRecordTypeUsers).
    ///
    /// Authentication authorities are a multi-part string separated by semi-colons.
    /// One component is the "type" of authority, such as those listed below:
    ///
    /// "basic"                    - is a crypt password
    /// "ShadowHash"            - is a hashed password stored in a secure location
    /// "ApplePasswordServer"    - is a password server-based account
    /// "Kerberosv5"            - is a Kerberosv5 based
    /// "LocalCachedUser"        - is a cached account based on an account from another node, using a ShadowHash password
    /// "DisabledUser"            - is an account that has been disabled
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeauthenticationauthority?language=objc)
    pub static kODAttributeTypeAuthenticationAuthority: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Determines what mechanism is used to verify or set a user's password.
    ///
    /// Determines what mechanism is used to verify or set a user's password.
    /// If multiple values are present, the first attributes returned take precedence.
    /// Typically found in User records (kODRecordTypeUsers).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeautomountinformation?language=objc)
    pub static kODAttributeTypeAutomountInformation: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute type in host or machine records for storing boot params.
    ///
    /// Attribute type in host or machine records for storing boot params.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypebootparams?language=objc)
    pub static kODAttributeTypeBootParams: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the building name for a user or person record.
    ///
    /// Represents the building name for a user or person record.
    /// Usually found in user or people records (kODRecordTypeUsers or
    /// kODRecordTypePeople).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypebuilding?language=objc)
    pub static kODAttributeTypeBuilding: Option<&'static ODAttributeType>;
}

extern "C" {
    /// the URI for a record's calendar
    ///
    /// the URI for a record's calendar
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeserviceslocator?language=objc)
    pub static kODAttributeTypeServicesLocator: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Usually, city for a user or person record.
    ///
    /// Usually, city for a user or person record.
    /// Usually found in user or people records (kODRecordTypeUsers or
    /// kODRecordTypePeople).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypecity?language=objc)
    pub static kODAttributeTypeCity: Option<&'static ODAttributeType>;
}

extern "C" {
    /// attribute that defines the user's company.
    ///
    /// attribute that defines the user's company.
    /// Example: Apple Inc.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypecompany?language=objc)
    pub static kODAttributeTypeCompany: Option<&'static ODAttributeType>;
}

extern "C" {
    /// List of computers.
    ///
    /// List of computers.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypecomputers?language=objc)
    pub static kODAttributeTypeComputers: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents country of a record entry.
    ///
    /// Represents country of a record entry.
    /// Usually found in user or people records (kODRecordTypeUsers or
    /// kODRecordTypePeople).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypecountry?language=objc)
    pub static kODAttributeTypeCountry: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the department name of a user or person.
    ///
    /// Represents the department name of a user or person.
    /// Usually found in user or people records (kODRecordTypeUsers or
    /// kODRecordTypePeople).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypedepartment?language=objc)
    pub static kODAttributeTypeDepartment: Option<&'static ODAttributeType>;
}

extern "C" {
    /// DNS Resolver nameserver attribute.
    ///
    /// DNS Resolver nameserver attribute.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypednsname?language=objc)
    pub static kODAttributeTypeDNSName: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Email address of usually a user record.
    ///
    /// Email address of usually a user record.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeemailaddress?language=objc)
    pub static kODAttributeTypeEMailAddress: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute that defines a record's custom email addresses.
    ///
    /// Attribute that defines a record's custom email addresses.
    /// found in user records (kODRecordTypeUsers).
    /// Example: home:johndoe
    /// @
    /// mymail.com
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeemailcontacts?language=objc)
    pub static kODAttributeTypeEMailContacts: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the FAX numbers of a user or person.
    ///
    /// Represents the FAX numbers of a user or person.
    /// Usually found in user or people records (kODRecordTypeUsers or
    /// kODRecordTypePeople).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypefaxnumber?language=objc)
    pub static kODAttributeTypeFaxNumber: Option<&'static ODAttributeType>;
}

extern "C" {
    /// List of groups.
    ///
    /// List of groups.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypegroup?language=objc)
    pub static kODAttributeTypeGroup: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute type in group records containing lists of GUID values for members other than groups.
    ///
    /// Attribute type in group records containing lists of GUID values for members other than groups.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypegroupmembers?language=objc)
    pub static kODAttributeTypeGroupMembers: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Usually a list of users that below to a given group record.
    ///
    /// Usually a list of users that below to a given group record.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypegroupmembership?language=objc)
    pub static kODAttributeTypeGroupMembership: Option<&'static ODAttributeType>;
}

extern "C" {
    /// xml-plist attribute that defines a group's services.
    ///
    /// xml-plist attribute that defines a group's services.
    /// Found in group records (kODRecordTypeGroups).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypegroupservices?language=objc)
    pub static kODAttributeTypeGroupServices: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Home telephone number of a user or person.
    ///
    /// Home telephone number of a user or person.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypehomephonenumber?language=objc)
    pub static kODAttributeTypeHomePhoneNumber: Option<&'static ODAttributeType>;
}

extern "C" {
    /// HTML location.
    ///
    /// HTML location.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypehtml?language=objc)
    pub static kODAttributeTypeHTML: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Network home directory URL.
    ///
    /// Network home directory URL.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypehomedirectory?language=objc)
    pub static kODAttributeTypeHomeDirectory: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the Instant Messaging handles of a user.
    ///
    /// Represents the Instant Messaging handles of a user.
    /// Values should be prefixed with the appropriate IM type
    /// (i.e., AIM:, Jabber:, MSN:, Yahoo:, or ICQ:).
    /// Usually found in user records (kODRecordTypeUsers).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeimhandle?language=objc)
    pub static kODAttributeTypeIMHandle: Option<&'static ODAttributeType>;
}

extern "C" {
    /// IP address expressed either as domain or IP notation.
    ///
    /// IP address expressed either as domain or IP notation.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeipaddress?language=objc)
    pub static kODAttributeTypeIPAddress: Option<&'static ODAttributeType>;
}

extern "C" {
    /// A pairing of IPv4 or IPv6 addresses with Ethernet addresses
    ///
    /// A pairing of IPv4 or IPv6 addresses with Ethernet addresses
    /// (e.g., "10.1.1.1/00:16:cb:92:56:41").  Usually found on kODRecordTypeComputers for use by
    /// services that need specific pairing of the two values.  This should be in addition to
    /// kODAttributeTypeIPAddress, kODAttributeTypeIPv6Address and kODAttributeTypeENetAddress. This is
    /// necessary because not all directories return attribute values in a guaranteed order.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeipaddressandenetaddress?language=objc)
    pub static kODAttributeTypeIPAddressAndENetAddress: Option<&'static ODAttributeType>;
}

extern "C" {
    /// IPv6 address expressed in the standard notation
    ///
    /// IPv6 address expressed in the standard notation (e.g., "fe80::236:caff:fcc2:5641")
    /// Usually found on kODRecordTypeComputers and kODRecordTypeHosts.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeipv6address?language=objc)
    pub static kODAttributeTypeIPv6Address: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used to store binary picture data in JPEG format.
    ///
    /// Used to store binary picture data in JPEG format.
    /// Usually found in user, people or group records (kODRecordTypeUsers,
    /// kODRecordTypePeople, kODRecordTypeGroups).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypejpegphoto?language=objc)
    pub static kODAttributeTypeJPEGPhoto: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the job title of a user.
    ///
    /// Represents the job title of a user.
    /// Usually found in user or people records (kODRecordTypeUsers or
    /// kODRecordTypePeople).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypejobtitle?language=objc)
    pub static kODAttributeTypeJobTitle: Option<&'static ODAttributeType>;
}

extern "C" {
    /// KDC master key RSA encrypted with realm public key.
    ///
    /// KDC master key RSA encrypted with realm public key.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypekdcauthkey?language=objc)
    pub static kODAttributeTypeKDCAuthKey: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Keywords using for searching capability.
    ///
    /// Keywords using for searching capability.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypekeywords?language=objc)
    pub static kODAttributeTypeKeywords: Option<&'static ODAttributeType>;
}

extern "C" {
    /// List of LDAP server URLs which can each be used to read directory data.
    ///
    /// List of LDAP server URLs which can each be used to read directory data.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeldapreadreplicas?language=objc)
    pub static kODAttributeTypeLDAPReadReplicas: Option<&'static ODAttributeType>;
}

extern "C" {
    /// List of LDAP server URLs which can each be used to write directory data.
    ///
    /// List of LDAP server URLs which can each be used to write directory data.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeldapwritereplicas?language=objc)
    pub static kODAttributeTypeLDAPWriteReplicas: Option<&'static ODAttributeType>;
}

extern "C" {
    /// attribute that defines coordinates for a user's location.
    ///
    /// attribute that defines coordinates for a user's location .
    /// found in user records (kODRecordTypeUsers) and resource records (kODRecordTypeResources).
    /// Example: 7.7,10.6
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypemapcoordinates?language=objc)
    pub static kODAttributeTypeMapCoordinates: Option<&'static ODAttributeType>;
}

extern "C" {
    /// attribute that defines the URI of a user's location.
    ///
    /// attribute that defines the URI of a user's location.
    /// Usually found in user records (kODRecordTypeUsers).
    /// Example: http://example.com/bldg1
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypemapuri?language=objc)
    pub static kODAttributeTypeMapURI: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Data contained in this attribute type is a fully qualified MIME Type.
    ///
    /// Data contained in this attribute type is a fully qualified MIME Type.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypemime?language=objc)
    pub static kODAttributeTypeMIME: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the mobile numbers of a user or person.
    ///
    /// Represents the mobile numbers of a user or person.
    /// Usually found in user or people records (kODRecordTypeUsers or
    /// kODRecordTypePeople).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypemobilenumber?language=objc)
    pub static kODAttributeTypeMobileNumber: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute type in group records for the list of GUID values for nested groups.
    ///
    /// Attribute type in group records for the list of GUID values for nested groups.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenestedgroups?language=objc)
    pub static kODAttributeTypeNestedGroups: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute type that indicates which netgroups its record is a member of.
    ///
    /// Attribute type that indicates which netgroups its record is a member of.
    /// Found in user and host records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenetgroups?language=objc)
    pub static kODAttributeTypeNetGroups: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the nickname of a user or person.
    ///
    /// Represents the nickname of a user or person.
    /// Usually found in user or people records (kODRecordTypeUsers or
    /// kODRecordTypePeople).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenickname?language=objc)
    pub static kODAttributeTypeNickName: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Usually the organization info of a user.
    ///
    /// Usually the organization info of a user.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeorganizationinfo?language=objc)
    pub static kODAttributeTypeOrganizationInfo: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Usually the organization of a user.
    ///
    /// Usually the organization of a user.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeorganizationname?language=objc)
    pub static kODAttributeTypeOrganizationName: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the pager numbers of a user or person.
    ///
    /// Represents the pager numbers of a user or person.
    /// Usually found in user or people records (kODRecordTypeUsers or
    /// kODRecordTypePeople).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypepagernumber?language=objc)
    pub static kODAttributeTypePagerNumber: Option<&'static ODAttributeType>;
}

extern "C" {
    /// attribute that defines a record's custom phone numbers.
    ///
    /// attribute that defines a record's custom phone numbers.
    /// found in user or people records.
    /// Example: home fax:408-555-4444
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypephonecontacts?language=objc)
    pub static kODAttributeTypePhoneContacts: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Telephone number of a user.
    ///
    /// Telephone number of a user.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypephonenumber?language=objc)
    pub static kODAttributeTypePhoneNumber: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Pretty Good Privacy public encryption key.
    ///
    /// Pretty Good Privacy public encryption key.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypepgppublickey?language=objc)
    pub static kODAttributeTypePGPPublicKey: Option<&'static ODAttributeType>;
}

extern "C" {
    /// The postal address usually excluding postal code.
    ///
    /// The postal address usually excluding postal code.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypepostaladdress?language=objc)
    pub static kODAttributeTypePostalAddress: Option<&'static ODAttributeType>;
}

extern "C" {
    /// attribute that defines a record's alternate postal addresses.
    ///
    /// attribute that defines a record's alternate postal addresses.
    /// Found in user records (kODRecordTypeUsers) and resource records (kODRecordTypeResources).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypepostaladdresscontacts?language=objc)
    pub static kODAttributeTypePostalAddressContacts: Option<&'static ODAttributeType>;
}

extern "C" {
    /// The postal code such as zip code in the USA.
    ///
    /// The postal code such as zip code in the USA.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypepostalcode?language=objc)
    pub static kODAttributeTypePostalCode: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the title prefix of a user or person.
    ///
    /// Represents the title prefix of a user or person.
    /// ie. Mr., Ms., Mrs., Dr., etc.
    /// Usually found in user or people records (kODRecordTypeUsers or
    /// kODRecordTypePeople).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenameprefix?language=objc)
    pub static kODAttributeTypeNamePrefix: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Profiles associated with the record.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprofiles?language=objc)
    pub static kODAttributeTypeProfiles: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Timestamp for the profiles associated with the record.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprofilestimestamp?language=objc)
    pub static kODAttributeTypeProfilesTimestamp: Option<&'static ODAttributeType>;
}

extern "C" {
    /// List of protocols.
    ///
    /// List of protocols.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprotocols?language=objc)
    pub static kODAttributeTypeProtocols: Option<&'static ODAttributeType>;
}

extern "C" {
    /// List of names/keys for this record.
    ///
    /// List of names/keys for this record.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetyperecordname?language=objc)
    pub static kODAttributeTypeRecordName: Option<&'static ODAttributeType>;
}

extern "C" {
    /// attribute that defines the relationship to the record type.
    ///
    /// attribute that defines the relationship to the record type.
    /// found in user records (kODRecordTypeUsers).
    /// Example: brother:John
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetyperelationships?language=objc)
    pub static kODAttributeTypeRelationships: Option<&'static ODAttributeType>;
}

extern "C" {
    /// attribute that defines a resource record's info.
    ///
    /// attribute that defines a resource record's info.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetyperesourceinfo?language=objc)
    pub static kODAttributeTypeResourceInfo: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute type for the kind of resource.
    ///
    /// Attribute type for the kind of resource.
    /// found in resource records (kODRecordTypeResources).
    /// Example: ConferenceRoom
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetyperesourcetype?language=objc)
    pub static kODAttributeTypeResourceType: Option<&'static ODAttributeType>;
}

extern "C" {
    /// The state or province of a country.
    ///
    /// The state or province of a country.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypestate?language=objc)
    pub static kODAttributeTypeState: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the street address of a user or person.
    ///
    /// Represents the street address of a user or person.
    /// Usually found in user or people records (kODRecordTypeUsers or
    /// kODRecordTypePeople).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypestreet?language=objc)
    pub static kODAttributeTypeStreet: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Represents the name suffix of a user or person.
    ///
    /// Represents the name suffix of a user or person.
    /// i.e., Jr., Sr., etc.
    /// Usually found in user or people records (kODRecordTypeUsers or
    /// kODRecordTypePeople).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenamesuffix?language=objc)
    pub static kODAttributeTypeNameSuffix: Option<&'static ODAttributeType>;
}

extern "C" {
    /// List of URLs.
    ///
    /// List of URLs.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeurl?language=objc)
    pub static kODAttributeTypeURL: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Used in support of mount records.
    ///
    /// Used in support of mount records.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypevfsopts?language=objc)
    pub static kODAttributeTypeVFSOpts: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Alias attribute, contain pointer to another node/record/attribute.
    ///
    /// Alias attribute, contain pointer to another node/record/attribute.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypealias?language=objc)
    pub static kODAttributeTypeAlias: Option<&'static ODAttributeType>;
}

extern "C" {
    /// An authentication credential, to be used to authenticate to a Directory.
    ///
    /// An authentication credential, to be used to authenticate to a Directory.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeauthcredential?language=objc)
    pub static kODAttributeTypeAuthCredential: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Timestamp used in local account caching.
    ///
    /// Timestamp used in local account caching.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypecopytimestamp?language=objc)
    pub static kODAttributeTypeCopyTimestamp: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Date of record creation.
    ///
    /// Date of record creation.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypedaterecordcreated?language=objc)
    pub static kODAttributeTypeDateRecordCreated: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Supports Kerberized SMB Server services.
    ///
    /// Supports Kerberized SMB Server services.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypekerberosrealm?language=objc)
    pub static kODAttributeTypeKerberosRealm: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Supports Kerberized SMB Server services.
    ///
    /// Supports Kerberized SMB Server services.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypentdomaincomputeraccount?language=objc)
    pub static kODAttributeTypeNTDomainComputerAccount: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Home directory URL used in local account caching.
    ///
    /// Home directory URL used in local account caching.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeoriginalhomedirectory?language=objc)
    pub static kODAttributeTypeOriginalHomeDirectory: Option<&'static ODAttributeType>;
}

extern "C" {
    /// NFS home directory used in local account caching.
    ///
    /// NFS home directory used in local account caching.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeoriginalnfshomedirectory?language=objc)
    pub static kODAttributeTypeOriginalNFSHomeDirectory: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Nodename used in local account caching.
    ///
    /// Nodename used in local account caching.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeoriginalnodename?language=objc)
    pub static kODAttributeTypeOriginalNodeName: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Supports Kerberized SMB Server services.
    ///
    /// Supports Kerberized SMB Server services.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprimaryntdomain?language=objc)
    pub static kODAttributeTypePrimaryNTDomain: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Contains the password aging policy data for an authentication capable record.
    ///
    /// Contains the password aging policy data for an authentication capable record.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypepwdagingpolicy?language=objc)
    pub static kODAttributeTypePwdAgingPolicy: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Can be found using dsGetDirNodeInfo and will return one of
    /// ReadOnly, ReadWrite, or WriteOnly strings.
    ///
    /// Can be found using dsGetDirNodeInfo and will return one of
    /// ReadOnly, ReadWrite, or WriteOnly strings.
    /// Note that ReadWrite does not imply fully readable or writable
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypereadonlynode?language=objc)
    pub static kODAttributeTypeReadOnlyNode: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Data of Create, Modify, Backup time in UTC.
    ///
    /// Data of Create, Modify, Backup time in UTC.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypetimepackage?language=objc)
    pub static kODAttributeTypeTimePackage: Option<&'static ODAttributeType>;
}

extern "C" {
    /// checksum/meta data.
    ///
    /// checksum/meta data.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypetotalsize?language=objc)
    pub static kODAttributeTypeTotalSize: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Authentication method for an authentication capable record.
    ///
    /// Authentication method for an authentication capable record.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeauthmethod?language=objc)
    pub static kODAttributeTypeAuthMethod: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Meta attribute returning registered node name by directory node plugin.
    ///
    /// Meta attribute returning registered node name by directory node plugin.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypemetanodelocation?language=objc)
    pub static kODAttributeTypeMetaNodeLocation: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute type in Neighborhood records describing the DS Node to search while
    /// looking up aliases in this neighborhood.
    ///
    /// Attribute type in Neighborhood records describing the DS Node to search while
    /// looking up aliases in this neighborhood.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenodepath?language=objc)
    pub static kODAttributeTypeNodePath: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Information (version, signature, about, credits, etc.) about the plug-in
    /// that is actually servicing a particular directory node.
    ///
    /// Information (version, signature, about, credits, etc.) about the plug-in
    /// that is actually servicing a particular directory node.
    /// Has never been supported.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeplugininfo?language=objc)
    pub static kODAttributeTypePlugInInfo: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute for a Record or a Directory Node.
    ///
    /// Attribute for a Record or a Directory Node.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetyperecordtype?language=objc)
    pub static kODAttributeTypeRecordType: Option<&'static ODAttributeType>;
}

extern "C" {
    /// List of attribute types.
    ///
    /// List of attribute types.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeschema?language=objc)
    pub static kODAttributeTypeSchema: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute of a node which lists the available subnodes
    /// of that node.
    ///
    /// Attribute of a node which lists the available subnodes
    /// of that node.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesubnodes?language=objc)
    pub static kODAttributeTypeSubNodes: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute that defines the host, user and domain triplet combinations
    /// to support NetGroups.  Each attribute value is comma separated string to maintain the
    /// triplet (e.g., host,user,domain).
    ///
    /// Attribute that defines the host, user and domain triplet combinations
    /// to support NetGroups.  Each attribute value is comma separated string to maintain the
    /// triplet (e.g., host,user,domain).
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenetgrouptriplet?language=objc)
    pub static kODAttributeTypeNetGroupTriplet: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Search path used by the search node.
    ///
    /// Search path used by the search node.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesearchpath?language=objc)
    pub static kODAttributeTypeSearchPath: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Search policy for the search node.
    ///
    /// Search policy for the search node.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypesearchpolicy?language=objc)
    pub static kODAttributeTypeSearchPolicy: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Automatic search path defined by the search node.
    ///
    /// Automatic search path defined by the search node.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeautomaticsearchpath?language=objc)
    pub static kODAttributeTypeAutomaticSearchPath: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Local only search path defined by the search node.
    ///
    /// Local only search path defined by the search node.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypelocalonlysearchpath?language=objc)
    pub static kODAttributeTypeLocalOnlySearchPath: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Admin user configured custom search path defined by the search node.
    ///
    /// Admin user configured custom search path defined by the search node.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypecustomsearchpath?language=objc)
    pub static kODAttributeTypeCustomSearchPath: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Any extended options supported by the node during creation
    ///
    /// Any extended options supported by the node during creation
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenodeoptions?language=objc)
    pub static kODAttributeTypeNodeOptions: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Contains the SASL realm associated with this node (if any)
    ///
    /// Contains the SASL realm associated with this node (if any)
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenodesaslrealm?language=objc)
    pub static kODAttributeTypeNodeSASLRealm: Option<&'static ODAttributeType>;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeadvertisedservices?language=objc)
    pub static kODAttributeTypeAdvertisedServices: Option<&'static ODAttributeType>;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypelocalerelay?language=objc)
    pub static kODAttributeTypeLocaleRelay: Option<&'static ODAttributeType>;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypelocalesubnets?language=objc)
    pub static kODAttributeTypeLocaleSubnets: Option<&'static ODAttributeType>;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenetworkinterfaces?language=objc)
    pub static kODAttributeTypeNetworkInterfaces: Option<&'static ODAttributeType>;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeparentlocales?language=objc)
    pub static kODAttributeTypeParentLocales: Option<&'static ODAttributeType>;
}

extern "C" {
    /// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprimarylocale?language=objc)
    pub static kODAttributeTypePrimaryLocale: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Build version for reference.
    ///
    /// Build version for reference.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypebuildversion?language=objc)
    pub static kODAttributeTypeBuildVersion: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Config avail tag.
    ///
    /// Config avail tag.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeconfigavailable?language=objc)
    pub static kODAttributeTypeConfigAvailable: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Config file name.
    ///
    /// Config file name.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeconfigfile?language=objc)
    pub static kODAttributeTypeConfigFile: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Core FW version for reference.
    ///
    /// Core FW version for reference.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypecorefwversion?language=objc)
    pub static kODAttributeTypeCoreFWVersion: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Functional state of plugin for example.
    ///
    /// Functional state of plugin for example.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypefunctionalstate?language=objc)
    pub static kODAttributeTypeFunctionalState: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Framework version for reference.
    ///
    /// Framework version for reference.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypefwversion?language=objc)
    pub static kODAttributeTypeFWVersion: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Plugin index for reference.
    ///
    /// Plugin index for reference.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypepluginindex?language=objc)
    pub static kODAttributeTypePluginIndex: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Summary of the reference table entries presented as attribute values
    /// from the Configure node.
    ///
    /// Summary of the reference table entries presented as attribute values
    /// from the Configure node.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenumtablelist?language=objc)
    pub static kODAttributeTypeNumTableList: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Version label.
    ///
    /// Version label.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeversion?language=objc)
    pub static kODAttributeTypeVersion: Option<&'static ODAttributeType>;
}

extern "C" {
    /// PID value.
    ///
    /// PID value.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypepidvalue?language=objc)
    pub static kODAttributeTypePIDValue: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Process Name.
    ///
    /// Process Name.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeprocessname?language=objc)
    pub static kODAttributeTypeProcessName: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Total count of references for a process.
    ///
    /// Total count of references for a process.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypetotalrefcount?language=objc)
    pub static kODAttributeTypeTotalRefCount: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Directory reference count for a process.
    ///
    /// Directory reference count for a process.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypedirrefcount?language=objc)
    pub static kODAttributeTypeDirRefCount: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Node reference count for a process.
    ///
    /// Node reference count for a process.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenoderefcount?language=objc)
    pub static kODAttributeTypeNodeRefCount: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Record reference count for a process.
    ///
    /// Record reference count for a process.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetyperecrefcount?language=objc)
    pub static kODAttributeTypeRecRefCount: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attribute List reference count for a process.
    ///
    /// Attribute List reference count for a process.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeattrlistrefcount?language=objc)
    pub static kODAttributeTypeAttrListRefCount: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Attr List Value reference count for a process.
    ///
    /// Attr List Value reference count for a process.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeattrlistvaluerefcount?language=objc)
    pub static kODAttributeTypeAttrListValueRefCount: Option<&'static ODAttributeType>;
}

extern "C" {
    /// All the directory references for a process.
    ///
    /// All the directory references for a process.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypedirrefs?language=objc)
    pub static kODAttributeTypeDirRefs: Option<&'static ODAttributeType>;
}

extern "C" {
    /// All the node references for a process.
    ///
    /// All the node references for a process.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypenoderefs?language=objc)
    pub static kODAttributeTypeNodeRefs: Option<&'static ODAttributeType>;
}

extern "C" {
    /// All the record references for a process.
    ///
    /// All the record references for a process.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetyperecrefs?language=objc)
    pub static kODAttributeTypeRecRefs: Option<&'static ODAttributeType>;
}

extern "C" {
    /// All the attribute list references for a process.
    ///
    /// All the attribute list references for a process.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeattrlistrefs?language=objc)
    pub static kODAttributeTypeAttrListRefs: Option<&'static ODAttributeType>;
}

extern "C" {
    /// All the attribute list value references for a process.
    ///
    /// All the attribute list value references for a process.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodattributetypeattrlistvaluerefs?language=objc)
    pub static kODAttributeTypeAttrListValueRefs: Option<&'static ODAttributeType>;
}

extern "C" {
    /// Two way random authentication method.
    ///
    /// Two way random authentication method. This method uses two passes to
    /// complete the authentication.
    ///
    /// First pass authentication array has items:
    /// user name in UTF8 encoding
    ///
    /// Second pass authentication array has items:
    /// 8 byte DES digest,
    /// 8 bytes of random
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtype2wayrandom?language=objc)
    pub static kODAuthenticationType2WayRandom: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Change the password for a user using the two-way random method.
    ///
    /// Change the password for a user using the two-way random method.
    /// Does not require prior authentication.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// old password encrypted with new (should be 8 chars),
    /// new password encrypted with old (should be 8 chars)
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtype2wayrandomchangepasswd?language=objc)
    pub static kODAuthenticationType2WayRandomChangePasswd: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// APOP authentication method.
    ///
    /// APOP authentication method.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// server challenge in UTF8 encoding,
    /// client response in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypeapop?language=objc)
    pub static kODAuthenticationTypeAPOP: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// CRAM MD5 authentication method.
    ///
    /// CRAM MD5 authentication method.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// server challenge in UTF8 encoding,
    /// client response data
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypecram_md5?language=objc)
    pub static kODAuthenticationTypeCRAM_MD5: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Change the password for a user.
    ///
    /// Change the password for a user. Does not require prior authentication.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// old password in UTF8 encoding,
    /// new password in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypechangepasswd?language=objc)
    pub static kODAuthenticationTypeChangePasswd: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Clear text authentication method.
    ///
    /// Clear text authentication method.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// password in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypecleartext?language=objc)
    pub static kODAuthenticationTypeClearText: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Clear text authentication method.
    ///
    /// Clear text authentication method.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// password in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypecleartextreadonly?language=objc)
    pub static kODAuthenticationTypeClearTextReadOnly: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Use a crypt password stored in the user record if available to
    /// do the authentication.
    ///
    /// Use a crypt password stored in the user record if available to
    /// do the authentication.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// password in UTF8 encoding
    ///
    /// This method may not be supported by all plug-ins or for all users.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypecrypt?language=objc)
    pub static kODAuthenticationTypeCrypt: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Digest MD5 authentication method.
    ///
    /// Digest MD5 authentication method.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// server challenge in UTF8 encoding,
    /// client response data,
    /// HTTP method in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypedigest_md5?language=objc)
    pub static kODAuthenticationTypeDIGEST_MD5: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Used for Apple password server user deletion.
    ///
    /// Used for Apple password server user deletion.
    /// This authentication method is only implemented by the PasswordServer node.
    ///
    /// Authentication array has following items in order:
    /// Password Server ID in UTF8 encoding,
    /// authenticator password in UTF8 encoding,
    /// user's Password Server ID in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypedeleteuser?language=objc)
    pub static kODAuthenticationTypeDeleteUser: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Used to extract, from a password server, the actual policies that will be applied
    /// to a user; a combination of global and user policies.
    ///
    /// Used to extract, from a password server, the actual policies that will be applied
    /// to a user; a combination of global and user policies.
    ///
    /// Authentication array has following items in order:
    /// user name or Password Server ID in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypegeteffectivepolicy?language=objc)
    pub static kODAuthenticationTypeGetEffectivePolicy: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Used for extraction of global authentication policy.
    ///
    /// Used for extraction of global authentication policy. Authentication
    /// is not required to get policies. The authenticator name and password
    /// fields are optional.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding
    /// password in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypegetglobalpolicy?language=objc)
    pub static kODAuthenticationTypeGetGlobalPolicy: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Retrieves Kerberos Principal name.
    ///
    /// Retrieves Kerberos Principal name.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypegetkerberosprincipal?language=objc)
    pub static kODAuthenticationTypeGetKerberosPrincipal: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// The plug-in should determine which specific authentication method to use.
    ///
    /// The plug-in should determine which specific authentication method to use.
    /// Authentication is not required to get policies. The authenticator name and password
    /// fields may be left blank by using a length of 1 and a zero-byte for the data.
    ///
    /// Authentication array has following items in order:
    /// authenticator's name or Password Server ID in UTF8 encoding,
    /// authenticator's password in UTF8 encoding
    /// account's name or Password Server ID
    ///
    /// The Password Server does not require authentication for this authentication method.
    /// The first two fields are to cover us for future policy changes and to keep the buffer
    /// format as standardized as possible.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypegetpolicy?language=objc)
    pub static kODAuthenticationTypeGetPolicy: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Used with Apple password server.
    ///
    /// Used with Apple password server. The password server maintains a space
    /// for a small amount of miscellaneous data.
    /// This authentication method is only implemented by the PasswordServer node.
    ///
    /// Authentication array has following items in order:
    /// authenticator's Password Server ID in UTF8 encoding,
    /// authenticator's password in UTF8 encoding
    /// Password Server ID in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypegetuserdata?language=objc)
    pub static kODAuthenticationTypeGetUserData: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Used with Apple password server.
    ///
    /// Used with Apple password server. This name is the same as the primary
    /// short name for the user.
    /// This authentication method is only implemented by the PasswordServer node.
    ///
    /// Authentication array has following items in order:
    /// authenticator's Password Server ID in UTF8 encoding,
    /// authenticator's password in UTF8 encoding,
    /// user's Password Server ID in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypegetusername?language=objc)
    pub static kODAuthenticationTypeGetUserName: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Provides write-access to LDAP with an existing Kerberos ticket.
    ///
    /// Provides write-access to LDAP with an existing Kerberos ticket
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// krb5_data containing a service ticket
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypekerberostickets?language=objc)
    pub static kODAuthenticationTypeKerberosTickets: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Generated 40-bit or 128-bit primary keys from MS-CHAPv2 credentials (RFC 3079).
    ///
    /// Keys from which the session keys will be derived.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// MS-CHAPv2 digest (P24),
    /// key size, 8 or 16 (packed as a byte, not a string)
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypemppeprimarykeys?language=objc)
    pub static kODAuthenticationTypeMPPEPrimaryKeys: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Deprecated.  Use kODAuthenticationTypeMPPEPrimaryKeys.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypemppemasterkeys?language=objc)
    #[deprecated]
    pub static kODAuthenticationTypeMPPEMasterKeys: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// MS-CHAP2 is a mutual authentication method.
    ///
    /// MS-CHAP2 is a mutual authentication method. The plug-in will generate the data to
    /// send back to the client and put it in the continue items array.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// server challenge,
    /// peer challenge,
    /// client's digest,
    /// client's user name (the name used for MS-CHAPv2, usually the first short name)
    ///
    /// Continue items array contains:
    /// digest for the client's challenge
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypemschap2?language=objc)
    pub static kODAuthenticationTypeMSCHAP2: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Verifies an NTLMv2 challenge and response.
    ///
    /// Verifies an NTLMv2 challenge and response. The session keys
    /// (if any) must be retrieved separately with a trusted authentication.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// SMB server challenge,
    /// the client "blob" which includes 16 bytes of client digest prefixed
    /// to the the blob data,
    /// the user name used to calculate the digest in UTF8 encoding,
    /// the SMB domain in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypentlmv2?language=objc)
    pub static kODAuthenticationTypeNTLMv2: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// An optimized method that checks the user's challenge and response
    /// and retrieves session keys in a single call.
    ///
    /// An optimized method that checks the user's challenge and response
    /// and retrieves session keys in a single call. If the NTLMv2 session key is
    /// supported, it is returned in the step buffer.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// SMB server challenge,
    /// the client "blob" which includes 16 bytes of client digest prefixed
    /// to the the blob data,
    /// the user name used to calculate the digest  in UTF8 encoding,
    /// the SMB domain in UTF8 encoding,
    /// user name in UTF8 encoding,
    /// authenticator password in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypentlmv2withsessionkey?language=objc)
    pub static kODAuthenticationTypeNTLMv2WithSessionKey: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Create a new user record with the authentication authority.
    ///
    /// Create a new user record with the authentication authority
    /// This authentication method is only implemented by the PasswordServer node.
    ///
    /// Authentication array has following items in order:
    /// authenticator's Password Server ID in UTF8 encoding,
    /// authenticator's password in UTF8 encoding,
    /// user's short-name,
    /// user's password
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypenewuser?language=objc)
    pub static kODAuthenticationTypeNewUser: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Create a new user record with the authentication authority and initial policy settings.
    ///
    /// Create a new user record with the authentication authority and initial policy settings
    /// This authentication method is only implemented by the PasswordServer node.
    ///
    /// Authentication array has following items in order:
    /// authenticator's Password Server ID in UTF8 encoding,
    /// authenticator's password in UTF8 encoding,
    /// user's short-name,
    /// user's password,
    /// policy string in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypenewuserwithpolicy?language=objc)
    pub static kODAuthenticationTypeNewUserWithPolicy: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// The plug-in should determine which specific authentication method to use.
    ///
    /// The plug-in should determine which specific authentication method to use.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// password in UTF8 encoding
    ///
    /// The plug-in may choose to use a cleartext authentication method if necessary.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypenodenativecleartextok?language=objc)
    pub static kODAuthenticationTypeNodeNativeClearTextOK: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// The plug-in should determine which specific authentication method to use.
    ///
    /// The plug-in should determine which specific authentication method to use.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// password in UTF8 encoding
    ///
    /// The plug-in must not use an authentication method that sends the password in cleartext.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypenodenativenocleartext?language=objc)
    pub static kODAuthenticationTypeNodeNativeNoClearText: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Returns the SHA1 or Seeded SHA1 hash for a local user.
    ///
    /// Returns the SHA1 or Seeded SHA1 hash for a local user
    /// Only accessible by root processes. Only implemented by the local node.
    ///
    /// Authentication array has following items in order:
    /// user's name in UTF8 encoding
    ///
    /// Continue items array contains:
    /// value, either the old 20-byte SHA1 or the new seeded 24-byte SHA1.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypereadsecurehash?language=objc)
    pub static kODAuthenticationTypeReadSecureHash: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Generate the ntlm-v2 user session key.
    ///
    /// Generate the ntlm-v2 user session key. Requires prior authentication with a trusted
    /// authentication method.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// 8 byte server challenge
    /// client response buffer
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesmbntv2usersessionkey?language=objc)
    pub static kODAuthenticationTypeSMBNTv2UserSessionKey: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Generates an SMB workstation credential session key.
    ///
    /// Generates an SMB workstation credential session key.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// 8 byte server challenge + 8 byte client challenge
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesmbworkstationcredentialsessionkey?language=objc)
    pub static kODAuthenticationTypeSMBWorkstationCredentialSessionKey:
        Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// SMB Lan Manager authentication method.
    ///
    /// SMB Lan Manager authentication method.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// 8 byte server challenge,
    /// 24 byte client response
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesmb_lm_key?language=objc)
    pub static kODAuthenticationTypeSMB_LM_Key: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// SMB NT authentication method.
    ///
    /// SMB NT authentication method.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// 8 byte server challenge,
    /// 24 byte client response
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesmb_nt_key?language=objc)
    pub static kODAuthenticationTypeSMB_NT_Key: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Used by SMB to get session keys.
    ///
    /// Used by SMB to get session keys
    /// This authentication method is only implemented by the PasswordServer node.
    ///
    /// Authentication array has following items in order:
    /// Password Server ID in UTF8 encoding
    ///
    /// Continue items array contains:
    /// MD4( ntHash )
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesmb_nt_usersessionkey?language=objc)
    pub static kODAuthenticationTypeSMB_NT_UserSessionKey: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Used by SMB to authenticate and get session keys.
    ///
    /// Used by SMB to authenticate and get session keys
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// 8 byte server challenge,
    /// 24 byte client response,
    /// authenticator name in UTF8 encoding,
    /// authenticator password in UTF8 encoding
    ///
    /// Continue items array contains:
    /// MD4( ntHash )
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesmb_nt_withusersessionkey?language=objc)
    pub static kODAuthenticationTypeSMB_NT_WithUserSessionKey:
        Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Authentication specifically using the secure hash.
    ///
    /// Authentication specifically using the secure hash.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// salted SHA1 hash
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesecurehash?language=objc)
    #[deprecated]
    pub static kODAuthenticationTypeSecureHash: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Set certificate using the authenticated user's credentials.
    ///
    /// Set certificate using the authenticated user's credentials.
    ///
    /// Authentication array has the following items in order:
    /// user name in UTF8 encoding
    /// hashed certificate data (40 hex characters)
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesetcertificatehashascurrent?language=objc)
    pub static kODAuthenticationTypeSetCertificateHashAsCurrent:
        Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Used to set the global policy.
    ///
    /// Used to set the global policy.
    ///
    /// Authentication array has following items in order:
    /// user name or Password Server ID in UTF8 encoding,
    /// password in UTF8 encoding,
    /// policy string in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesetglobalpolicy?language=objc)
    pub static kODAuthenticationTypeSetGlobalPolicy: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Set the LAN Manager hash for an account.
    ///
    /// Set the LAN Manager hash for an account. This method requires prior authentication.
    /// Setting the LM hash for an account instead of the plain text password can cause the Windows
    /// password to get out-of-sync with the password for other services. Therefore, this
    /// authentication method should only be used when there is no other choice.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// LAN Manager hash buffer
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesetlmhash?language=objc)
    pub static kODAuthenticationTypeSetLMHash: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Set the NT hash for a user.
    ///
    /// Set the NT hash for a user. This method requires prior authentication.
    /// Setting the NT hash for an account instead of the plain text password can cause the Windows
    /// password to get out-of-sync with the password for other services. Therefore, this
    /// authentication method should only be used when there is no other choice.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// NT hash buffer
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesetnthash?language=objc)
    pub static kODAuthenticationTypeSetNTHash: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Set password method.
    ///
    /// Set password method.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// new password in UTF8 encoding,
    /// authenticator's name in UTF8 encoding,
    /// authenticator's password in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesetpassword?language=objc)
    pub static kODAuthenticationTypeSetPassword: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Set password using the current credentials.
    ///
    /// Set password using the current credentials.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// new password in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesetpasswordascurrent?language=objc)
    pub static kODAuthenticationTypeSetPasswordAsCurrent: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// The plug-in should determine which specific authentication method to use.
    ///
    /// The plug-in should determine which specific authentication method to use.
    ///
    /// Authentication array has following items in order:
    /// authenticator's name or Password Server ID in UTF8 encoding,
    /// authenticator's password in UTF8 encoding,
    /// name or Password Server ID of the target account in UTF8 encoding,
    /// policy data
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesetpolicy?language=objc)
    pub static kODAuthenticationTypeSetPolicy: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// A set policy for the password server.
    ///
    /// A set policy for the password server.
    ///
    /// Authentication array has following items in order:
    /// user name or Password Server ID of the target account in UTF8 encoding,
    /// policy data
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesetpolicyascurrent?language=objc)
    pub static kODAuthenticationTypeSetPolicyAsCurrent: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Used for Apple password server.
    ///
    /// Used for Apple password server.
    /// This authentication method is only implemented by the PasswordServer node.
    ///
    /// Authentication array has following items in order:
    /// authenticator's Password Server ID in UTF8 encoding,
    /// authenticator's password in UTF8 encoding,
    /// Password Server ID in UTF8 encoding,
    /// user data
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesetuserdata?language=objc)
    pub static kODAuthenticationTypeSetUserData: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Used for Apple password server.
    ///
    /// Used for Apple password server.
    /// This authentication method is only implemented by the PasswordServer node.
    ///
    /// Authentication array has following items in order:
    /// authenticator's Password Server ID in UTF8 encoding,
    /// authenticator's password in UTF8 encoding,
    /// Password Server ID in UTF8 encoding,
    /// user's short name in UTF8 encoding
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesetusername?language=objc)
    pub static kODAuthenticationTypeSetUserName: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Supports PDC SMB interaction with DS.
    ///
    /// Supports PDC SMB interaction with DS.
    ///
    /// Authentication array has following items in order:
    /// workstation's Password Server ID in UTF8 encoding,
    /// NT hash
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypesetworkstationpassword?language=objc)
    pub static kODAuthenticationTypeSetWorkstationPassword: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Allows access to local directories as root with a valid AuthorizationRef.
    ///
    /// Allows access to local directories as root with a valid AuthorizationRef.
    ///
    /// Authentication array has following items in order:
    /// externalized AuthorizationRef
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypewithauthorizationref?language=objc)
    pub static kODAuthenticationTypeWithAuthorizationRef: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Supports ONLY a root process to be able to directly write the secure hash of a user record.
    ///
    /// Supports ONLY a root process to be able to directly write the secure hash of a user record.
    ///
    /// Authentication array has following items in order:
    /// user name in UTF8 encoding,
    /// salted SHA1 hash
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodauthenticationtypewritesecurehash?language=objc)
    pub static kODAuthenticationTypeWriteSecureHash: Option<&'static ODAuthenticationType>;
}

extern "C" {
    /// Boolean signifying the password must not contain the name of the account.
    ///
    /// Boolean signifying the password must not contain the name of the account.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypepasswordcannotbeaccountname?language=objc)
    pub static kODPolicyTypePasswordCannotBeAccountName: Option<&'static ODPolicyType>;
}

extern "C" {
    /// Boolean stating the password should be changed on next logon.
    ///
    /// Should be set to a CFBooleanRef/NSNumber accordingly to signify the password should be changed at next logon.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypepasswordchangerequired?language=objc)
    pub static kODPolicyTypePasswordChangeRequired: Option<&'static ODPolicyType>;
}

extern "C" {
    /// The number of previous passwords that will be remembered.
    ///
    /// Should be set with a CFNumber/NSNumber accordingly with a range of 1 to 15 passwords.  Remove this policy or
    /// set to 0 if no history is tracked.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypepasswordhistory?language=objc)
    pub static kODPolicyTypePasswordHistory: Option<&'static ODPolicyType>;
}

extern "C" {
    /// The minimum number of characters a password must contain.
    ///
    /// A CFNumber/NSNumber signifying the minimum number of characters a password must contain.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypepasswordminimumnumberofcharacters?language=objc)
    pub static kODPolicyTypePasswordMinimumNumberOfCharacters: Option<&'static ODPolicyType>;
}

extern "C" {
    /// The maximum number of characters a password can contain.
    ///
    /// A CFNumber/NSNumber signifying the maximum number of characters a password can contain.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypepasswordmaximumnumberofcharacters?language=objc)
    pub static kODPolicyTypePasswordMaximumNumberOfCharacters: Option<&'static ODPolicyType>;
}

extern "C" {
    /// Number of minutes before password must be changed.
    ///
    /// The value for the policy should be a CFNumberRef/NSNumber accordingly.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypepasswordmaximumageinminutes?language=objc)
    pub static kODPolicyTypePasswordMaximumAgeInMinutes: Option<&'static ODPolicyType>;
}

extern "C" {
    /// Sets the number of alpha characters that must present in the password.
    ///
    /// A CFNumber/NSNumber signifying the number of alpha characters [A-Z][a-z] that must be present in the password.
    /// Note, not all modules will support this capability.  If you exceed the module's capabilities, it will reset to
    /// the maximum supported by that module.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypepasswordrequiresalpha?language=objc)
    pub static kODPolicyTypePasswordRequiresAlpha: Option<&'static ODPolicyType>;
}

extern "C" {
    /// Boolean signifying if password requires mixed case characters both upper and lower characters.
    ///
    /// Boolean signifying if password requires mixed case characters both upper and lower characters.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypepasswordrequiresmixedcase?language=objc)
    pub static kODPolicyTypePasswordRequiresMixedCase: Option<&'static ODPolicyType>;
}

extern "C" {
    /// Sets the number of numeric characters that must present in the password.
    ///
    /// A CFNumber/NSNumber signifying the number of numeric characters [0-9] that must be present in the password.
    /// Note, not all modules will support this capability.  If you exceed the module's capabilities, it will reset to
    /// the maximum supported by that module.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypepasswordrequiresnumeric?language=objc)
    pub static kODPolicyTypePasswordRequiresNumeric: Option<&'static ODPolicyType>;
}

extern "C" {
    /// Sets the number of symbol characters that must present in the password.
    ///
    /// A CFNumber/NSNumber signifying the number of symbol characters that must be present in the password.
    /// Note, not all modules will support this capability.  If you exceed the module's capabilities, it will reset to
    /// the maximum supported by that module.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypepasswordrequiressymbol?language=objc)
    pub static kODPolicyTypePasswordRequiresSymbol: Option<&'static ODPolicyType>;
}

extern "C" {
    /// Boolean stating if the account is allowed to change their own password.
    ///
    /// Should be set to a CFBooleanRef/NSNumber accordingly to signify the if the account holder is allowed to change
    /// their own password.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypepasswordselfmodification?language=objc)
    pub static kODPolicyTypePasswordSelfModification: Option<&'static ODPolicyType>;
}

extern "C" {
    /// Date when an account expires and becomes deactivated.
    ///
    /// A CFDate/NSDate signifying when an account expires will be deactivated.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypeaccountexpiresondate?language=objc)
    pub static kODPolicyTypeAccountExpiresOnDate: Option<&'static ODPolicyType>;
}

extern "C" {
    /// Sets the number of maximum failed logins allowed for the account.
    ///
    /// A CFNumber/NSNumber signifying the number of times a bad password can be entered before the account is locked out.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypeaccountmaximumfailedlogins?language=objc)
    pub static kODPolicyTypeAccountMaximumFailedLogins: Option<&'static ODPolicyType>;
}

extern "C" {
    /// Sets the number of maximum number of minutes before this account is disabled automatically from password set.
    ///
    /// A CFNumber/NSNumber signifying the number of minutes before the account should be auto-disabled.  Note,
    /// calculation of this is based on timestamp of the password, therefore also preventing the password from
    /// being changed is required.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypeaccountmaximumminutesuntildisabled?language=objc)
    pub static kODPolicyTypeAccountMaximumMinutesUntilDisabled: Option<&'static ODPolicyType>;
}

extern "C" {
    /// Number of minutes before an account locked out by bad passwords is automatically re-activated.
    ///
    /// The value for the policy should be a CFNumberRef/NSNumber accordingly.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypeaccountminutesuntilfailedloginreset?language=objc)
    pub static kODPolicyTypeAccountMinutesUntilFailedLoginReset: Option<&'static ODPolicyType>;
}

extern "C" {
    /// Maximum number of minutes that an account has not been used before it is deactivated.
    ///
    /// A CFNumber/NSNumber signifying the number of minutes before an account has not been used before it is deactivated.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicytypeaccountmaximumminutesofnonuse?language=objc)
    pub static kODPolicyTypeAccountMaximumMinutesOfNonUse: Option<&'static ODPolicyType>;
}

/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodexpirationtimeexpired?language=objc)
pub const kODExpirationTimeExpired: c_int = 0;
/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodexpirationtimeneverexpires?language=objc)
pub const kODExpirationTimeNeverExpires: c_int = -1;

/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/odpolicykeytype?language=objc)
pub type ODPolicyKeyType = NSString;

extern "C" {
    /// Key for the policy identifier in a policy dictionary.
    ///
    /// Key for the policy identifier in a policy dictionary.  Required
    /// key in a policy dictionary.  The value of this key is a string
    /// that uniquely identifies the policy.  It can be anything from a
    /// GUID to a string that describes the policy (e.g. "max num chars").
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicykeyidentifier?language=objc)
    pub static kODPolicyKeyIdentifier: Option<&'static ODPolicyKeyType>;
}

extern "C" {
    /// Key for the policy parameters, if any, in a policy dictionary.
    ///
    /// Key for the policy parameters, if any, in a policy dictionary.
    /// Optional key in a policy dictionary.  The value of this key is a
    /// dictionary containing any parameters that are relevant to the
    /// policy.  Parameters may be used for information purposes or to
    /// provide additional data to be used in the policy format string.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicykeyparameters?language=objc)
    pub static kODPolicyKeyParameters: Option<&'static ODPolicyKeyType>;
}

extern "C" {
    /// Key for the policy format string in a policy dictionary.
    ///
    /// Key for the policy format string in a policy dictionary.
    /// Required key in a policy dictionary.  The value of this key is a
    /// string containing the policy itself, from which a predicate will
    /// be created.  The predicate will be applied during policy
    /// evaluation.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicykeycontent?language=objc)
    pub static kODPolicyKeyContent: Option<&'static ODPolicyKeyType>;
}

extern "C" {
    /// Key for the policy content description.
    ///
    /// Key for the policy content description.  Used in either a policy
    /// dictionary or in kODPolicyKeyEvaluationDetails dictionary.  It
    /// is an optional key in either dictionary.
    ///
    /// When used in a policy dictionary, the value of this key is a
    /// dictionary containing key/value pairs consisting of locale
    /// identifiers and localized descriptions of the policy content.
    ///
    /// When used in kODPolicyKeyEvaluationDetails dictionary, the value
    /// is a string containing the localized description of the policy
    /// content.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicykeycontentdescription?language=objc)
    pub static kODPolicyKeyContentDescription: Option<&'static ODPolicyKeyType>;
}

extern "C" {
    /// Key containing details of the policy evaluation results.
    ///
    /// Key containing details of the policy evaluation results.  This
    /// key may be used in the userInfo portion of a CFErrorRef/NSError.
    /// The value of this key is an array of dictionaries, with each
    /// dictionary containing the results of an individual policy
    /// evaluation.  The keys in the details dictionaries are:
    /// kODPolicyKeyIdentifier
    /// kODPolicyKeyContentDescription
    /// kODPolicyKeyPolicySatisfied
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicykeyevaluationdetails?language=objc)
    pub static kODPolicyKeyEvaluationDetails: Option<&'static ODPolicyKeyType>;
}

extern "C" {
    /// Key denoting if a specific policy was satisfied during evaluation.
    ///
    /// Key denoting if a specific policy was satisfied during evaluation.
    /// This key is used in the dictionaries in kODPolicyKeyEvaluationDetails.
    /// The value of this key will be true if the specific policy was
    /// satisfied and false if not.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicykeypolicysatisfied?language=objc)
    pub static kODPolicyKeyPolicySatisfied: Option<&'static ODPolicyKeyType>;
}

/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/odpolicycategorytype?language=objc)
pub type ODPolicyCategoryType = NSString;

extern "C" {
    /// Category for policies controlling when authentications are allowed.
    ///
    /// Category for policies controlling when authentications are allowed.
    /// Policies in this category are evaluated when determining if an
    /// authentication should be allowed or when authentications will
    /// expire.  This constant is also used as a key in a policy set
    /// dictionary with a value containing an array of policy
    /// dictionaries.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicycategoryauthentication?language=objc)
    pub static kODPolicyCategoryAuthentication: Option<&'static ODPolicyCategoryType>;
}

extern "C" {
    /// Category for policies controlling content of passwords.
    ///
    /// Category for policies controlling content of passwords.
    /// Policies in this category are evaluated when determining if a
    /// password contains the required content, which is typically done
    /// during password changes.  This constant is also used as a key in
    /// a policy set dictionary with a value containing an array of
    /// policy dictionaries.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicycategorypasswordcontent?language=objc)
    pub static kODPolicyCategoryPasswordContent: Option<&'static ODPolicyCategoryType>;
}

extern "C" {
    /// Category for policies controlling when password require changing.
    ///
    /// Category for policies controlling when password require changing.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicycategorypasswordchange?language=objc)
    pub static kODPolicyCategoryPasswordChange: Option<&'static ODPolicyCategoryType>;
}

/// [Apple's documentation](https://developer.apple.com/documentation/opendirectory/odpolicyattributetype?language=objc)
pub type ODPolicyAttributeType = NSString;

extern "C" {
    /// Policy attribute for the record name.
    ///
    /// Policy attribute for the record name.  May be used in policies
    /// to compare against other record attributes.  For example, this
    /// Password Content policy string prevents the password from being
    /// the same as the record name:
    /// [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// != %
    /// "
    /// , kODPolicyAttributeRecordName, kODPolicyAttributePassword];
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributerecordname?language=objc)
    pub static kODPolicyAttributeRecordName: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the record type.
    ///
    /// Policy attribute for the record type.  Could be used in policies
    /// to tailor behavior for a particular record type.  For example,
    /// this Password Content policy string would require computer
    /// passwords to be a minimum of 24 characters long:
    /// [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// == %
    /// @
    /// and %
    /// @
    /// matches '.{24,}+'",
    /// kODPolicyAttributeRecordType, kODRecordTypeComputer,
    /// kODPolicyAttributePassword];
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributerecordtype?language=objc)
    pub static kODPolicyAttributeRecordType: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the password.
    ///
    /// Policy attribute for the password in plain text.  May be used in
    /// policies to compare against other attributes or for evaluation
    /// against regular expressions.  Primarily useful in the Password
    /// Content policies.  For example, this policy string checks
    /// whether the password length is at least 8 characters:
    /// [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// matches '.{8,}+'", kODPolicyAttributePassword];
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributepassword?language=objc)
    pub static kODPolicyAttributePassword: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the password hashes
    ///
    /// Policy attribute for the password hashes.  The value should be a
    /// CFArray containing one or more CFData values representing a
    /// password hash.
    ///
    /// Used in Password Content policy strings to compare the new
    /// password against the password history, for example:
    /// [NSString stringWithFormat:
    /// "
    /// none %
    /// @
    /// in %
    /// "
    /// , kODPolicyAttributePasswordHashes, kODPolicyAttributePasswordHistory];
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributepasswordhashes?language=objc)
    pub static kODPolicyAttributePasswordHashes: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the list of previous password hashes
    ///
    /// Policy attribute for the list of previous password hashes.  The
    /// value of this attribute is a CFArray containing one or more
    /// CFData elements representing a hash of a previous password.
    /// Hash types may be mixed.
    ///
    /// Used in Password Content policy strings to compare the new
    /// password against the password history, for example:
    /// [NSString stringWithFormat:
    /// "
    /// none %
    /// @
    /// in %
    /// "
    /// , kODPolicyAttributePasswordHashes, kODPolicyAttributePasswordHistory];
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributepasswordhistory?language=objc)
    pub static kODPolicyAttributePasswordHistory: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the number of previous hashed passwords to keep.
    ///
    /// Policy attribute for the number of previous hashed passwords to
    /// keep.  Should used as a key in the policy parameter dictionary,
    /// with a CFNumber value, specifying the number of password to keep.
    /// Should not be used in a policy string.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributepasswordhistorydepth?language=objc)
    pub static kODPolicyAttributePasswordHistoryDepth: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the current date and time as a CFDate.
    ///
    /// Policy attribute for the current date and time as a CFDate used
    /// in policy strings to compare the current date against another
    /// date.  The following policy string would allow authentications
    /// until the expiration date:
    /// [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// <
    /// %
    /// "
    /// , kODPolicyAttributeCurrentDate, kODPolicyAttributeExpiresOnDate];
    ///
    /// Do not use kODPolicyAttributeCurrentDate in policies where date
    /// arithmetic is needed; for those policies use
    /// kODPolicyAttributeCurrentTime instead.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributecurrentdate?language=objc)
    pub static kODPolicyAttributeCurrentDate: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the current date and time in seconds.
    ///
    /// Policy attribute for the current date and time in seconds since
    /// the Unix epoch.  Used in policy strings to compare the
    /// current time against other times.  Suitable for use in policies
    /// where "date arithmetic" is needed (i.e. adding/subtracting
    /// values to/from the current time or another time in seconds).
    /// Ensure all times and date arithmetic in the policy are specified
    /// in seconds.
    ///
    /// Note that kODPolicyAttributeExpiresEveryNDays needs to be
    /// converted to seconds to match the units of the other times.  The
    /// special keyword DAYS_TO_SECONDS can be used to accomplish this.
    ///
    /// In the policy below, password changes are required every 90 days
    /// (kODPolicyAttributeExpiresEveryNDays = 90).
    ///
    /// [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// <
    /// %
    /// @
    /// + (%
    /// @
    /// * DAYS_TO_SECONDS)",
    /// kODPolicyAttributeCurrentTime,
    /// kODPolicyAttributeLastPasswordChangeTime,
    /// kODPolicyAttributeExpiresEveryNDays];
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributecurrenttime?language=objc)
    pub static kODPolicyAttributeCurrentTime: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the current time of day as a CFNumber.
    ///
    /// Policy attribute for the current time of day as a CFNumber, in
    /// 24 hour time, i.e. the range is 0000 through 2359.  Does not
    /// contain any date information.
    ///
    /// This attribute is used in policies to compare the current time
    /// of day against another time of day.  For example, to allow
    /// authentications between the hours of 8:00 AM and 5:00 PM, the
    /// policy string would be (kODPolicyAttributeEnableAtTimeOfDay is
    /// set to 0800 and  kODPolicyAttributeExpiresAtTimeOfDay is 1700):
    /// [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// > %
    /// @
    /// and %
    /// @
    /// <
    /// %
    /// "
    /// ,
    /// kODPolicyAttributeCurrentTimeOfDay,
    /// kODPolicyAttributeEnableAtTimeOfDay,
    /// kODPolicyAttributeCurrentTimeOfDay,
    /// kODPolicyAttributeExpiresAtTimeOfDay];
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributecurrenttimeofday?language=objc)
    pub static kODPolicyAttributeCurrentTimeOfDay: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the current day of the week, as a CFNumber.
    ///
    /// Policy attribute for the current day of the week, as a CFNumber.
    /// Specified in units appropriate for the local calendar.  The
    /// range is 1 through 7, with 1 representing the first day of the
    /// week in the local calendar, and 7 representing the last day of
    /// the week.
    ///
    /// This attribute is used in policies to compare the current day of
    /// the week against another day of the week.  For example, to
    /// enable authentications on Monday through Friday, the policy
    /// would be (kODPolicyAttributeEnableOnDayOfWeek is set to the
    /// number for Monday and kODPolicyAttributeExpiresOnDayOfWeek is
    /// set to the number for Friday):
    /// [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// > %
    /// @
    /// and %
    /// @
    /// <
    /// %
    /// "
    /// ,
    /// kODPolicyAttributeCurrentDayOfWeek,
    /// kODPolicyAttributeEnableOnDayOfWeek,
    /// kODPolicyAttributeCurrentDayOfWeek,
    /// kODPolicyAttributeExpiresOnDayOfWeek];
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributecurrentdayofweek?language=objc)
    pub static kODPolicyAttributeCurrentDayOfWeek: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the number of failed authentications.
    ///
    /// Policy attribute for the number of failed authentications for
    /// the record.  Used in policies to compare against the maximum
    /// failed authentications.  The following policy would deny further
    /// authentications after 3 failed attempts (assumes
    /// kODPolicyAttributeMaximumFailedAuthentications is 3):
    /// [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// <
    /// %
    /// "
    /// ,
    /// kODPolicyAttributeFailedAuthentications,
    /// kODPolicyAttributeMaximumFailedAuthentications];
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributefailedauthentications?language=objc)
    pub static kODPolicyAttributeFailedAuthentications: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the maximum failed authentication attempts.
    ///
    /// Policy attribute for the maximum failed authentication attempts.
    /// Used as a key in policy parameter dictionary to specify the
    /// maximum allowable failed authentication attempts with a CFNumber
    /// value.  Also used in the policy string to compare against the
    /// number of failed authentication attempts.  This policy would
    /// disallow authentications after 3 failed attempts:
    /// @
    /// { kODPolicyKeyIdentifier  :
    /// "
    /// maximum failed authentications",
    /// kODPolicyKeyParameters  :
    /// @
    /// { kODPolicyAttributeMaximumFailedAuthentications :
    /// @
    /// 3 },
    /// kODPolicyKeyContent     : [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// <
    /// %
    /// "
    /// ,
    /// kODPolicyAttributeFailedAuthentications,
    /// kODPolicyAttributeMaximumFailedAuthentications] };
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributemaximumfailedauthentications?language=objc)
    pub static kODPolicyAttributeMaximumFailedAuthentications:
        Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the time of the last failed auth attempt.
    ///
    /// Policy attribute for the time of the last failed auth attempt.
    /// CFNumber with a value representing the the number of seconds
    /// since the Unix epoch.  Used in policies to compare against other
    /// times.  As an example, this policy string would prevent another
    /// authentication within 10 seconds of a failed authentication:
    /// [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// > %
    /// @
    /// + 10",
    /// kODPolicyAttributeCurrentTime,
    /// kODPolicyAttributeLastFailedAuthenticationTime];
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributelastfailedauthenticationtime?language=objc)
    pub static kODPolicyAttributeLastFailedAuthenticationTime:
        Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the time of the last successful auth attempt.
    ///
    /// Policy attribute for the time of the last successful auth attempt.
    /// CFNumber with a value representing the number of seconds since
    /// the Unix epoch.  Used in policies to compare against another
    /// time.
    ///
    /// The sample policy string below would deny authentications if
    /// there have been no authentications in the last 90 days.
    ///
    /// Note that the number of days needs to be converted to seconds to
    /// match the units of kODPolicyAttributeCurrentTime.  The special
    /// keyword DAYS_TO_SECONDS can be used for the conversion.
    ///
    /// [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// <
    /// %
    /// @
    /// + 90 * DAYS_TO_SECONDS",
    /// kODPolicyAttributeCurrentTime,
    /// kODPolicyAttributeLastAuthenticationTime];
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributelastauthenticationtime?language=objc)
    pub static kODPolicyAttributeLastAuthenticationTime: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for time of the last password change.
    ///
    /// Policy attribute for time of the last password change.  The time
    /// is specified as the number of seconds since the Unix epoch.
    /// Used in policies to compare against other times.  Typically
    /// would be used in Password Change policies to expire a password
    /// at a certain time or interval.
    ///
    /// The policy string below requires a password change every 90 days
    /// (kODPolicyAttributeExpiresEveryNDays is set to 90).
    ///
    /// Note that kODPolicyAttributeExpiresEveryNDays needs to be
    /// converted to seconds to match the units of the other times.  The
    /// special keyword DAYS_TO_SECONDS can be used for the conversion.
    ///
    /// [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// <
    /// %
    /// @
    /// + %
    /// @
    /// * DAYS_TO_SECONDS",
    /// kODPolicyAttributeCurrentTime,
    /// kODPolicyAttributeLastPasswordChangeTime,
    /// kODPolicyAttributeExpiresEveryNDays];
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributelastpasswordchangetime?language=objc)
    pub static kODPolicyAttributeLastPasswordChangeTime: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the time when "new password required" was set.
    ///
    /// Policy attribute for the time when "new password required" was set.
    /// The time is specified as the number of seconds since the
    /// Unix epoch.
    ///
    /// This attribute may be used in the policy string.  Whenever it's
    /// used in the policy string, it must also be specified in the
    /// policy's parameter dictionary.
    ///
    /// This attribute is used to capture the time when the system
    /// administrator wants to force all users to change their
    /// passwords.  This would be a "one-time" change, i.e. once the
    /// user changed the password, the policy would apply.  The policy
    /// would have to be updated with a new time for
    /// kODPolicyAttributeNewPasswordRequiredTime in order to force a
    /// new round of password changes.
    ///
    /// For example:
    /// @
    /// { kODPolicyKeyIdentifier :
    /// "
    /// change on next auth",
    /// kODPolicyKeyParameters :
    /// @
    /// { kODPolicyAttributeNewPasswordRequiredTime :
    /// @
    /// (
    /// <time
    /// >) },
    /// kODPolicyKeyContent    : [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// <
    /// %
    /// "
    /// ,
    /// kODPolicyAttributeLastPasswordChangeTime,
    /// kODPolicyAttributeNewPasswordRequiredTime]};
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributenewpasswordrequiredtime?language=objc)
    pub static kODPolicyAttributeNewPasswordRequiredTime: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the record creation time.
    ///
    /// Policy attribute for the record creation time.  The time is
    /// specified as the number of seconds since the "reference date".
    /// Could be used to disable "temporary" accounts after a specific
    /// period of time.
    ///
    /// The example below disables authentications after 10
    /// days after the account was created.
    ///
    /// Note that kODPolicyAttributeDaysUntilExpiration must be
    /// converted to seconds to match the units of the other times.  The
    /// special keyword DAYS_TO_SECONDS can be used for the conversion.
    ///
    /// @
    /// { kODPolicyKeyIdentifier :
    /// "
    /// expires after 10 days",
    /// kODPolicyKeyParameters :
    /// @
    /// {kODPolicyAttributeDaysUntilExpiration :
    /// @
    /// 10 },
    /// kODPolicyKeyContent    : [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// <
    /// %
    /// @
    /// + (%
    /// @
    /// * DAYS_TO_SECONDS)",
    /// kODPolicyAttributeCurrentTime,
    /// kODPolicyAttributeCreationTime,
    /// kODPolicyAttributeDaysUntilExpiration]};
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributecreationtime?language=objc)
    pub static kODPolicyAttributeCreationTime: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for expires every N days.
    ///
    /// Policy attribute for expires every N days.  This attribute is
    /// used as a key in the policy parameter dictionary, with CFNumber
    /// value.  Also used in the policy strings. Typically would be used
    /// in Password Change policies to expire a password at a certain
    /// time or interval.
    ///
    /// The example policy below would require a password change every
    /// 90 days.
    ///
    /// Note that kODPolicyAttributeExpiresEveryNDays needs to be
    /// converted to seconds to match the units of the other times used
    /// in the policy.  The special keyword DAYS_TO_SECONDS can be used
    /// for the conversion.
    ///
    /// @
    /// { kODPolicyKeyIdentifier :
    /// "
    /// expires every 90 days",
    /// kODPolicyKeyParameters :
    /// @
    /// { kODPolicyAttributeExpiresEveryNDays :
    /// @
    /// 90 },
    /// kODPolicyKeyContent    : [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// <
    /// %
    /// @
    /// + %
    /// @
    /// * DAYS_TO_SECONDS",
    /// kODPolicyAttributeCurrentTime,
    /// kODPolicyAttributeLastPasswordChangeTime,
    /// kODPolicyAttributeExpiresEveryNDays]};
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributeexpireseveryndays?language=objc)
    pub static kODPolicyAttributeExpiresEveryNDays: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the "enable on" date.
    ///
    /// Policy attribute for the "enable on" date.  Used as a key in the
    /// policy parameter dictionary, with a CFDate value.   Also used in
    /// policy strings. The date is specified as a CFDate representing a
    /// fixed date, appropriate for the locale.  Use in policies when
    /// comparing other date-based attributes.
    ///
    /// This attribute is typically used Authentication policies to
    /// control when authentications are allowed. This policy would
    /// enable authentications on Jan 1, 2014 (assumes the date
    /// formatter is properly configured for the locale):
    /// @
    /// { kODPolicyKeyIdentifier :
    /// "
    /// enable on Jan 1",
    /// kODPolicyKeyParameters :
    /// @
    /// { kODPolicyAttributeEnableOnDate : [localFormatter dateWithString:
    /// "
    /// 01/01/2014"] },
    /// kODPolicyKeyContent    : [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// >= %
    /// "
    /// ,
    /// kODPolicyAttributeCurrentDate,
    /// kODPolicyAttributeEnableOnDate]};
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributeenableondate?language=objc)
    pub static kODPolicyAttributeEnableOnDate: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the "expires on" date.
    ///
    /// Policy attribute for the "expires on" date.  Used as a key in the
    /// policy parameter dictionary, with a CFDate value.   Also used in
    /// policy strings. The date is specified as a CFDate representing a
    /// fixed date, appropriate for the locale.  Use in policies when
    /// comparing other date-based attributes.
    ///
    /// This attribute is typically used in Authentication policies to
    /// control when authentications are allowed. This policy would
    /// disallow authentications on Jan 1, 2014 (assumes the date
    /// formatter is properly configured for the locale):
    /// @
    /// { kODPolicyKeyIdentifier :
    /// "
    /// expires on Jan 1",
    /// kODPolicyKeyParameters :
    /// @
    /// { kODPolicyAttributeExpiresOnDate : [localFormatter dateWithString:
    /// "
    /// 01/01/2014"] },
    /// kODPolicyKeyContent    : [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// <
    /// %
    /// "
    /// ,
    /// kODPolicyAttributeCurrentDate,
    /// kODPolicyAttributeExpiresOnDate]};
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributeexpiresondate?language=objc)
    pub static kODPolicyAttributeExpiresOnDate: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for enable on a day of the week.
    ///
    /// Policy attribute for enable on a day of the week.  Specified as a
    /// in units appropriate for the local calendar.  The range is 1
    /// through 7, with 1 representing the first day of the week in the
    /// local calendar, and 7 representing the last day of the week.
    ///
    /// This attribute is used as a key in the policy parameter
    /// dictionary, with a CFNumber value, and in policy strings.
    /// Typically used i policy strings to compare against the another
    /// day of the week.  For example, to allow authentications only on
    /// Monday through Friday, the policy would be (assumes Monday = 2
    /// and Friday = 6 in the local calendar):
    /// @
    /// { kODPolicyKeyIdentifier :
    /// "
    /// mon-fri only",
    /// kODPolicyKeyParameters :
    /// @
    /// { kODPolicyAttributeEnableOnDayOfWeek :
    /// @
    /// 2,
    /// kODPolicyAttributeExpiresOnDayOfWeek :
    /// @
    /// 6 },
    /// kOPolicyKeyPolicy      : [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// > %
    /// @
    /// and %
    /// @
    /// <
    /// %
    /// "
    /// ,
    /// kODPolicyAttributeCurrentDayOfWeek,
    /// kODPolicyAttributeEnableOnDayOfWeek,
    /// kODPolicyAttributeCurrentDayOfWeek,
    /// kODPolicyAttributeExpiresOnDayOfWeek]};
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributeenableondayofweek?language=objc)
    pub static kODPolicyAttributeEnableOnDayOfWeek: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for expires on a day of the week.
    ///
    /// Policy attribute for expires on a day of the week.  Specified as a
    /// in units appropriate for the local calendar.  The range is 1
    /// through 7, with 1 representing the first day of the week in the
    /// local calendar, and 7 representing the last day of the week.
    ///
    /// This attribute is used as a key in the policy parameter
    /// dictionary, with a CFNumber value, and in policy strings.
    /// Typically used i policy strings to compare against the another
    /// day of the week.  See the example above for kODPolicyAttributeEnableOnDayOfWeek.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributeexpiresondayofweek?language=objc)
    pub static kODPolicyAttributeExpiresOnDayOfWeek: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for enable at a specific time of day.
    ///
    /// Policy attribute for enable at a specific time of day.
    /// The time is specified in 24-hour time, with a range of 0000
    /// through 2359.  This attribute can be used as a key in the policy
    /// parameter dictionary, with a CFNumber value, and in the policy
    /// strings.
    ///
    /// Typically used in authentication policies to control specific
    /// times of when when authentications are allowed.  For example, to
    /// enable authentications between the hours of 8:00 AM and 5:00 PM,
    /// the policy would be:
    /// @
    /// { kODPolicyKeyIdentifier :
    /// "
    /// school hours",
    /// kODPolicyKeyParameters :
    /// @
    /// { kODPolicyAttributeEnableAtTimeOfDay  :
    /// @
    /// 800,
    /// kODPolicyAttributeExpiresAtTimeOfDay :
    /// @
    /// 1700 },
    /// kODPolicyKeyContent    : [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// > %
    /// @
    /// and %
    /// @
    /// <
    /// %
    /// "
    /// ,
    /// kODPolicyAttributeCurrentTimeOfDay,
    /// kODPolicyAttributeEnableAtTimeOfDay,
    /// kODPolicyAttributeCurrentTimeOfDay,
    /// kODPolicyAttributeExpiresAtTimeOfDay]};
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributeenableattimeofday?language=objc)
    pub static kODPolicyAttributeEnableAtTimeOfDay: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for expires at a specific time of day.
    ///
    /// Policy attribute for expires at a specific time of day.
    /// The time is specified in 24-hour time, with a range of 0000
    /// through 2359.  This attribute can be used as a key in the policy
    /// parameter dictionary, with a CFNumber value, and in the policy
    /// strings.
    ///
    /// Typically used in authentication policies to control specific
    /// times of when when authentications are allowed.  See the example
    /// above for kODPolicyAttributeEnableAtTimeOfDay.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributeexpiresattimeofday?language=objc)
    pub static kODPolicyAttributeExpiresAtTimeOfDay: Option<&'static ODPolicyAttributeType>;
}

extern "C" {
    /// Policy attribute for the number of days until expiration.
    ///
    /// Policy attribute for the number of days until expiration.
    /// This attribute can be used as a key in the policy parameter
    /// dictionary with a CFNumber value representing some number of
    /// days.  It can also be used in the policy strings.
    ///
    /// May be used in Authentication policies to expire authentications
    /// after some number of days or in Password Change policies to
    /// expire passwords.
    ///
    /// The example below disables authentications after 10
    /// days after the account was created.
    ///
    /// Note that kODPolicyAttributeDaysUntilExpiration must be
    /// converted to seconds to match the units of the other times.  The
    /// special keyword DAYS_TO_SECONDS can be used for the conversion.
    ///
    /// @
    /// { kODPolicyKeyIdentifier :
    /// "
    /// expires after 10 days",
    /// kODPolicyKeyParameters :
    /// @
    /// {kODPolicyAttributeDaysUntilExpiration :
    /// @
    /// 10 },
    /// kODPolicyKeyContent    : [NSString stringWithFormat:
    /// "
    /// %
    /// @
    /// <
    /// %
    /// @
    /// + (%
    /// @
    /// * DAYS_TO_SECONDS)",
    /// kODPolicyAttributeCurrentTime,
    /// kODPolicyAttributeCreationTime,
    /// kODPolicyAttributeDaysUntilExpiration]};
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodpolicyattributedaysuntilexpiration?language=objc)
    pub static kODPolicyAttributeDaysUntilExpiration: Option<&'static ODPolicyAttributeType>;
}

/// Errors specific to the framework and to underlying calls
///
/// Errors specific to the framework and to underlying calls
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/odframeworkerrors?language=objc)
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct ODFrameworkErrors(pub c_uint);
impl ODFrameworkErrors {
    #[doc(alias = "kODErrorSuccess")]
    pub const ErrorSuccess: Self = Self(0);
    #[doc(alias = "kODErrorSessionLocalOnlyDaemonInUse")]
    pub const ErrorSessionLocalOnlyDaemonInUse: Self = Self(1000);
    #[doc(alias = "kODErrorSessionNormalDaemonInUse")]
    pub const ErrorSessionNormalDaemonInUse: Self = Self(1001);
    #[doc(alias = "kODErrorSessionDaemonNotRunning")]
    pub const ErrorSessionDaemonNotRunning: Self = Self(1002);
    #[doc(alias = "kODErrorSessionDaemonRefused")]
    pub const ErrorSessionDaemonRefused: Self = Self(1003);
    #[doc(alias = "kODErrorSessionProxyCommunicationError")]
    pub const ErrorSessionProxyCommunicationError: Self = Self(1100);
    #[doc(alias = "kODErrorSessionProxyVersionMismatch")]
    pub const ErrorSessionProxyVersionMismatch: Self = Self(1101);
    #[doc(alias = "kODErrorSessionProxyIPUnreachable")]
    pub const ErrorSessionProxyIPUnreachable: Self = Self(1102);
    #[doc(alias = "kODErrorSessionProxyUnknownHost")]
    pub const ErrorSessionProxyUnknownHost: Self = Self(1103);
    #[doc(alias = "kODErrorNodeUnknownName")]
    pub const ErrorNodeUnknownName: Self = Self(2000);
    #[doc(alias = "kODErrorNodeUnknownType")]
    pub const ErrorNodeUnknownType: Self = Self(2001);
    #[doc(alias = "kODErrorNodeDisabled")]
    pub const ErrorNodeDisabled: Self = Self(2002);
    #[doc(alias = "kODErrorNodeConnectionFailed")]
    pub const ErrorNodeConnectionFailed: Self = Self(2100);
    #[doc(alias = "kODErrorNodeUnknownHost")]
    pub const ErrorNodeUnknownHost: Self = Self(2200);
    #[doc(alias = "kODErrorQuerySynchronize")]
    pub const ErrorQuerySynchronize: Self = Self(3000);
    #[doc(alias = "kODErrorQueryInvalidMatchType")]
    pub const ErrorQueryInvalidMatchType: Self = Self(3100);
    #[doc(alias = "kODErrorQueryUnsupportedMatchType")]
    pub const ErrorQueryUnsupportedMatchType: Self = Self(3101);
    #[doc(alias = "kODErrorQueryTimeout")]
    pub const ErrorQueryTimeout: Self = Self(3102);
    #[doc(alias = "kODErrorRecordReadOnlyNode")]
    pub const ErrorRecordReadOnlyNode: Self = Self(4000);
    #[doc(alias = "kODErrorRecordPermissionError")]
    pub const ErrorRecordPermissionError: Self = Self(4001);
    #[doc(alias = "kODErrorRecordParameterError")]
    pub const ErrorRecordParameterError: Self = Self(4100);
    #[doc(alias = "kODErrorRecordInvalidType")]
    pub const ErrorRecordInvalidType: Self = Self(4101);
    #[doc(alias = "kODErrorRecordAlreadyExists")]
    pub const ErrorRecordAlreadyExists: Self = Self(4102);
    #[doc(alias = "kODErrorRecordTypeDisabled")]
    pub const ErrorRecordTypeDisabled: Self = Self(4103);
    #[doc(alias = "kODErrorRecordNoLongerExists")]
    pub const ErrorRecordNoLongerExists: Self = Self(4104);
    #[doc(alias = "kODErrorRecordAttributeUnknownType")]
    pub const ErrorRecordAttributeUnknownType: Self = Self(4200);
    #[doc(alias = "kODErrorRecordAttributeNotFound")]
    pub const ErrorRecordAttributeNotFound: Self = Self(4201);
    #[doc(alias = "kODErrorRecordAttributeValueSchemaError")]
    pub const ErrorRecordAttributeValueSchemaError: Self = Self(4202);
    #[doc(alias = "kODErrorRecordAttributeValueNotFound")]
    pub const ErrorRecordAttributeValueNotFound: Self = Self(4203);
    #[doc(alias = "kODErrorCredentialsInvalid")]
    pub const ErrorCredentialsInvalid: Self = Self(5000);
    #[doc(alias = "kODErrorCredentialsMethodNotSupported")]
    pub const ErrorCredentialsMethodNotSupported: Self = Self(5100);
    #[doc(alias = "kODErrorCredentialsNotAuthorized")]
    pub const ErrorCredentialsNotAuthorized: Self = Self(5101);
    #[doc(alias = "kODErrorCredentialsParameterError")]
    pub const ErrorCredentialsParameterError: Self = Self(5102);
    #[doc(alias = "kODErrorCredentialsOperationFailed")]
    pub const ErrorCredentialsOperationFailed: Self = Self(5103);
    #[doc(alias = "kODErrorCredentialsServerUnreachable")]
    pub const ErrorCredentialsServerUnreachable: Self = Self(5200);
    #[doc(alias = "kODErrorCredentialsServerNotFound")]
    pub const ErrorCredentialsServerNotFound: Self = Self(5201);
    #[doc(alias = "kODErrorCredentialsServerError")]
    pub const ErrorCredentialsServerError: Self = Self(5202);
    #[doc(alias = "kODErrorCredentialsServerTimeout")]
    pub const ErrorCredentialsServerTimeout: Self = Self(5203);
    #[doc(alias = "kODErrorCredentialsContactPrimary")]
    pub const ErrorCredentialsContactPrimary: Self = Self(5204);
    #[doc(alias = "kODErrorCredentialsContactMaster")]
    #[deprecated]
    pub const ErrorCredentialsContactMaster: Self =
        Self(ODFrameworkErrors::ErrorCredentialsContactPrimary.0);
    #[doc(alias = "kODErrorCredentialsServerCommunicationError")]
    pub const ErrorCredentialsServerCommunicationError: Self = Self(5205);
    #[doc(alias = "kODErrorCredentialsAccountNotFound")]
    pub const ErrorCredentialsAccountNotFound: Self = Self(5300);
    #[doc(alias = "kODErrorCredentialsAccountDisabled")]
    pub const ErrorCredentialsAccountDisabled: Self = Self(5301);
    #[doc(alias = "kODErrorCredentialsAccountExpired")]
    pub const ErrorCredentialsAccountExpired: Self = Self(5302);
    #[doc(alias = "kODErrorCredentialsAccountInactive")]
    pub const ErrorCredentialsAccountInactive: Self = Self(5303);
    #[doc(alias = "kODErrorCredentialsAccountTemporarilyLocked")]
    pub const ErrorCredentialsAccountTemporarilyLocked: Self = Self(5304);
    #[doc(alias = "kODErrorCredentialsAccountLocked")]
    pub const ErrorCredentialsAccountLocked: Self = Self(5305);
    #[doc(alias = "kODErrorCredentialsPasswordExpired")]
    pub const ErrorCredentialsPasswordExpired: Self = Self(5400);
    #[doc(alias = "kODErrorCredentialsPasswordChangeRequired")]
    pub const ErrorCredentialsPasswordChangeRequired: Self = Self(5401);
    #[doc(alias = "kODErrorCredentialsPasswordQualityFailed")]
    pub const ErrorCredentialsPasswordQualityFailed: Self = Self(5402);
    #[doc(alias = "kODErrorCredentialsPasswordTooShort")]
    pub const ErrorCredentialsPasswordTooShort: Self = Self(5403);
    #[doc(alias = "kODErrorCredentialsPasswordTooLong")]
    pub const ErrorCredentialsPasswordTooLong: Self = Self(5404);
    #[doc(alias = "kODErrorCredentialsPasswordNeedsLetter")]
    pub const ErrorCredentialsPasswordNeedsLetter: Self = Self(5405);
    #[doc(alias = "kODErrorCredentialsPasswordNeedsDigit")]
    pub const ErrorCredentialsPasswordNeedsDigit: Self = Self(5406);
    #[doc(alias = "kODErrorCredentialsPasswordChangeTooSoon")]
    pub const ErrorCredentialsPasswordChangeTooSoon: Self = Self(5407);
    #[doc(alias = "kODErrorCredentialsPasswordUnrecoverable")]
    pub const ErrorCredentialsPasswordUnrecoverable: Self = Self(5408);
    #[doc(alias = "kODErrorCredentialsInvalidLogonHours")]
    pub const ErrorCredentialsInvalidLogonHours: Self = Self(5500);
    #[doc(alias = "kODErrorCredentialsInvalidComputer")]
    pub const ErrorCredentialsInvalidComputer: Self = Self(5501);
    #[doc(alias = "kODErrorPolicyUnsupported")]
    pub const ErrorPolicyUnsupported: Self = Self(6000);
    #[doc(alias = "kODErrorPolicyOutOfRange")]
    pub const ErrorPolicyOutOfRange: Self = Self(6001);
    #[doc(alias = "kODErrorPluginOperationNotSupported")]
    pub const ErrorPluginOperationNotSupported: Self = Self(10000);
    #[doc(alias = "kODErrorPluginError")]
    pub const ErrorPluginError: Self = Self(10001);
    #[doc(alias = "kODErrorDaemonError")]
    pub const ErrorDaemonError: Self = Self(10002);
    #[doc(alias = "kODErrorPluginOperationTimeout")]
    pub const ErrorPluginOperationTimeout: Self = Self(10003);
}

unsafe impl Encode for ODFrameworkErrors {
    const ENCODING: Encoding = c_uint::ENCODING;
}

unsafe impl RefEncode for ODFrameworkErrors {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

extern "C" {
    /// Number of seconds an account is in backoff
    ///
    /// Returned by verifyPassword and authenticationAllowed APIs.
    /// This is the number of seconds the account is in "back off".
    /// During backoff authentication attempts are ignored.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/opendirectory/kodbackoffseconds?language=objc)
    pub static kODBackOffSeconds: Option<&'static ODErrorUserInfoKeyType>;
}