summaryrefslogtreecommitdiffstats
path: root/rust/dist/rust-bindings.h
blob: 77afc3b2ac4aebb0446151f14500bfcfdac48e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
/* Copyright (C) 2019 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
* Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* version 2 along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/

#ifndef __RUST_BINDINGS_GEN_H_
#define __RUST_BINDINGS_GEN_H_

/* Generated with cbindgen:0.24.3 */

/* DO NOT EDIT This file is autogenerated by cbindgen. Don't modify this manually. */

#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>

#define STREAM_START 1

#define STREAM_EOF 2

#define STREAM_TOSERVER 4

#define STREAM_TOCLIENT 8

#define STREAM_GAP 16

#define STREAM_DEPTH 32

#define STREAM_MIDSTREAM 64

#define DIR_BOTH 12

#define DETECT_BYTEMATH_FLAG_RELATIVE 1

#define DETECT_BYTEMATH_FLAG_STRING 2

#define DETECT_BYTEMATH_FLAG_BITMASK 4

#define DETECT_BYTEMATH_FLAG_ENDIAN 8

#define DETECT_BYTEMATH_FLAG_RVALUE_VAR 16

#define DETECT_BYTEMATH_FLAG_NBYTES_VAR 32

#define DETECT_BYTEMATH_FIXED_PARAM_COUNT 5

#define DETECT_BYTEMATH_MAX_PARAM_COUNT 10

/**
 * DNS record types.
 */
#define DNS_RECORD_TYPE_A 1

#define DNS_RECORD_TYPE_NS 2

#define DNS_RECORD_TYPE_MD 3

#define DNS_RECORD_TYPE_MF 4

#define DNS_RECORD_TYPE_CNAME 5

#define DNS_RECORD_TYPE_SOA 6

#define DNS_RECORD_TYPE_MB 7

#define DNS_RECORD_TYPE_MG 8

#define DNS_RECORD_TYPE_MR 9

#define DNS_RECORD_TYPE_NULL 10

#define DNS_RECORD_TYPE_WKS 11

#define DNS_RECORD_TYPE_PTR 12

#define DNS_RECORD_TYPE_HINFO 13

#define DNS_RECORD_TYPE_MINFO 14

#define DNS_RECORD_TYPE_MX 15

#define DNS_RECORD_TYPE_TXT 16

#define DNS_RECORD_TYPE_RP 17

#define DNS_RECORD_TYPE_AFSDB 18

#define DNS_RECORD_TYPE_X25 19

#define DNS_RECORD_TYPE_ISDN 20

#define DNS_RECORD_TYPE_RT 21

#define DNS_RECORD_TYPE_NSAP 22

#define DNS_RECORD_TYPE_NSAPPTR 23

#define DNS_RECORD_TYPE_SIG 24

#define DNS_RECORD_TYPE_KEY 25

#define DNS_RECORD_TYPE_PX 26

#define DNS_RECORD_TYPE_GPOS 27

#define DNS_RECORD_TYPE_AAAA 28

#define DNS_RECORD_TYPE_LOC 29

#define DNS_RECORD_TYPE_NXT 30

#define DNS_RECORD_TYPE_SRV 33

#define DNS_RECORD_TYPE_ATMA 34

#define DNS_RECORD_TYPE_NAPTR 35

#define DNS_RECORD_TYPE_KX 36

#define DNS_RECORD_TYPE_CERT 37

#define DNS_RECORD_TYPE_A6 38

#define DNS_RECORD_TYPE_DNAME 39

#define DNS_RECORD_TYPE_OPT 41

#define DNS_RECORD_TYPE_APL 42

#define DNS_RECORD_TYPE_DS 43

#define DNS_RECORD_TYPE_SSHFP 44

#define DNS_RECORD_TYPE_IPSECKEY 45

#define DNS_RECORD_TYPE_RRSIG 46

#define DNS_RECORD_TYPE_NSEC 47

#define DNS_RECORD_TYPE_DNSKEY 48

#define DNS_RECORD_TYPE_DHCID 49

#define DNS_RECORD_TYPE_NSEC3 50

#define DNS_RECORD_TYPE_NSEC3PARAM 51

#define DNS_RECORD_TYPE_TLSA 52

#define DNS_RECORD_TYPE_HIP 55

#define DNS_RECORD_TYPE_CDS 59

#define DNS_RECORD_TYPE_CDNSKEY 60

#define DNS_RECORD_TYPE_HTTPS 65

#define DNS_RECORD_TYPE_SPF 99

#define DNS_RECORD_TYPE_TKEY 249

#define DNS_RECORD_TYPE_TSIG 250

#define DNS_RECORD_TYPE_MAILA 254

#define DNS_RECORD_TYPE_ANY 255

#define DNS_RECORD_TYPE_URI 256

/**
 * DNS error codes.
 */
#define DNS_RCODE_NOERROR 0

#define DNS_RCODE_FORMERR 1

#define DNS_RCODE_SERVFAIL 2

#define DNS_RCODE_NXDOMAIN 3

#define DNS_RCODE_NOTIMP 4

#define DNS_RCODE_REFUSED 5

#define DNS_RCODE_YXDOMAIN 6

#define DNS_RCODE_YXRRSET 7

#define DNS_RCODE_NXRRSET 8

#define DNS_RCODE_NOTAUTH 9

#define DNS_RCODE_NOTZONE 10

#define DNS_RCODE_BADVERS 16

#define DNS_RCODE_BADKEY 17

#define DNS_RCODE_BADTIME 18

#define DNS_RCODE_BADMODE 19

#define DNS_RCODE_BADNAME 20

#define DNS_RCODE_BADALG 21

#define DNS_RCODE_BADTRUNC 22

#define NFSPROC3_NULL 0

#define NFSPROC3_GETATTR 1

#define NFSPROC3_SETATTR 2

#define NFSPROC3_LOOKUP 3

#define NFSPROC3_ACCESS 4

#define NFSPROC3_READLINK 5

#define NFSPROC3_READ 6

#define NFSPROC3_WRITE 7

#define NFSPROC3_CREATE 8

#define NFSPROC3_MKDIR 9

#define NFSPROC3_SYMLINK 10

#define NFSPROC3_MKNOD 11

#define NFSPROC3_REMOVE 12

#define NFSPROC3_RMDIR 13

#define NFSPROC3_RENAME 14

#define NFSPROC3_LINK 15

#define NFSPROC3_READDIR 16

#define NFSPROC3_READDIRPLUS 17

#define NFSPROC3_FSSTAT 18

#define NFSPROC3_FSINFO 19

#define NFSPROC3_PATHCONF 20

#define NFSPROC3_COMMIT 21

#define NFS3_OK 0

#define NFS3ERR_PERM 1

#define NFS3ERR_NOENT 2

#define NFS3ERR_IO 5

#define NFS3ERR_NXIO 6

#define NFS3ERR_ACCES 13

#define NFS3ERR_EXIST 17

#define NFS3ERR_XDEV 18

#define NFS3ERR_NODEV 19

#define NFS3ERR_NOTDIR 20

#define NFS3ERR_ISDIR 21

#define NFS3ERR_INVAL 22

#define NFS3ERR_FBIG 27

#define NFS3ERR_NOSPC 28

#define NFS3ERR_ROFS 30

#define NFS3ERR_MLINK 31

#define NFS3ERR_NAMETOOLONG 63

#define NFS3ERR_NOTEMPTY 66

#define NFS3ERR_DQUOT 69

#define NFS3ERR_STALE 70

#define NFS3ERR_REMOTE 71

#define NFS3ERR_BADHANDLE 10001

#define NFS3ERR_NOT_SYNC 10002

#define NFS3ERR_BAD_COOKIE 10003

#define NFS3ERR_NOTSUPP 10004

#define NFS3ERR_TOOSMALL 10005

#define NFS3ERR_SERVERFAULT 10006

#define NFS3ERR_BADTYPE 10007

#define NFS3ERR_JUKEBOX 10008

#define RPCMSG_ACCEPTED 0

#define RPCMSG_DENIED 1

#define RPCAUTH_NULL 0

#define RPCAUTH_UNIX 1

#define RPCAUTH_SHORT 2

#define RPCAUTH_DH 3

#define RPCAUTH_KERB 4

#define RPCAUTH_RSA 5

#define RPCAUTH_GSS 6

#define NFSPROC4_NULL 0

#define NFSPROC4_COMPOUND 1

#define NFSPROC4_ACCESS 3

#define NFSPROC4_CLOSE 4

#define NFSPROC4_COMMIT 5

#define NFSPROC4_CREATE 6

#define NFSPROC4_DELEGPURGE 7

#define NFSPROC4_DELEGRETURN 8

#define NFSPROC4_GETATTR 9

#define NFSPROC4_GETFH 10

#define NFSPROC4_LINK 11

#define NFSPROC4_LOCK 12

#define NFSPROC4_LOCKT 13

#define NFSPROC4_LOCKU 14

#define NFSPROC4_LOOKUP 15

#define NFSPROC4_LOOKUPP 16

#define NFSPROC4_NVERIFY 17

#define NFSPROC4_OPEN 18

#define NFSPROC4_OPENATTR 19

#define NFSPROC4_OPEN_CONFIRM 20

#define NFSPROC4_OPEN_DOWNGRADE 21

#define NFSPROC4_PUTFH 22

#define NFSPROC4_PUTPUBFH 23

#define NFSPROC4_PUTROOTFH 24

#define NFSPROC4_READ 25

#define NFSPROC4_READDIR 26

#define NFSPROC4_READLINK 27

#define NFSPROC4_REMOVE 28

#define NFSPROC4_RENAME 29

#define NFSPROC4_RENEW 30

#define NFSPROC4_RESTOREFH 31

#define NFSPROC4_SAVEFH 32

#define NFSPROC4_SECINFO 33

#define NFSPROC4_SETATTR 34

#define NFSPROC4_SETCLIENTID 35

#define NFSPROC4_SETCLIENTID_CONFIRM 36

#define NFSPROC4_VERIFY 37

#define NFSPROC4_WRITE 38

#define NFSPROC4_RELEASE_LOCKOWNER 39

#define NFSPROC4_EXCHANGE_ID 42

#define NFSPROC4_CREATE_SESSION 43

#define NFSPROC4_DESTROY_SESSION 44

#define NFSPROC4_GETDEVINFO 47

#define NFSPROC4_LAYOUTGET 50

#define NFSPROC4_LAYOUTRETURN 51

#define NFSPROC4_SECINFO_NO_NAME 52

#define NFSPROC4_SEQUENCE 53

#define NFSPROC4_DESTROY_CLIENTID 57

#define NFSPROC4_RECLAIM_COMPLETE 58

#define NFSPROC4_ILLEGAL 10044

#define NFS4_OK 0

#define RPC_MAX_MACHINE_SIZE 256

#define RPC_MAX_CREDS_SIZE 4096

#define RPC_MAX_VERIFIER_SIZE 4096

#define NFS_MIN_FRAME_LEN 32

#define RPC_TCP_PRE_CREDS 28

#define RPC_UDP_PRE_CREDS 24

#define SMB_NTSTATUS_SUCCESS 0

#define SMB_NTSTATUS_WAIT_1 1

#define SMB_NTSTATUS_WAIT_2 2

#define SMB_NTSTATUS_WAIT_3 3

#define SMB_NTSTATUS_WAIT_63 63

#define SMB_NTSTATUS_ABANDONED 128

#define SMB_NTSTATUS_ABANDONED_WAIT_63 191

#define SMB_NTSTATUS_USER_APC 192

#define SMB_NTSTATUS_ALERTED 257

#define SMB_NTSTATUS_TIMEOUT 258

#define SMB_NTSTATUS_PENDING 259

#define SMB_NTSTATUS_REPARSE 260

#define SMB_NTSTATUS_MORE_ENTRIES 261

#define SMB_NTSTATUS_NOT_ALL_ASSIGNED 262

#define SMB_NTSTATUS_SOME_NOT_MAPPED 263

#define SMB_NTSTATUS_OPLOCK_BREAK_IN_PROGRESS 264

#define SMB_NTSTATUS_VOLUME_MOUNTED 265

#define SMB_NTSTATUS_RXACT_COMMITTED 266

#define SMB_NTSTATUS_NOTIFY_CLEANUP 267

#define SMB_NTSTATUS_NOTIFY_ENUM_DIR 268

#define SMB_NTSTATUS_NO_QUOTAS_FOR_ACCOUNT 269

#define SMB_NTSTATUS_PRIMARY_TRANSPORT_CONNECT_FAILED 270

#define SMB_NTSTATUS_PAGE_FAULT_TRANSITION 272

#define SMB_NTSTATUS_PAGE_FAULT_DEMAND_ZERO 273

#define SMB_NTSTATUS_PAGE_FAULT_COPY_ON_WRITE 274

#define SMB_NTSTATUS_PAGE_FAULT_GUARD_PAGE 275

#define SMB_NTSTATUS_PAGE_FAULT_PAGING_FILE 276

#define SMB_NTSTATUS_CACHE_PAGE_LOCKED 277

#define SMB_NTSTATUS_CRASH_DUMP 278

#define SMB_NTSTATUS_BUFFER_ALL_ZEROS 279

#define SMB_NTSTATUS_REPARSE_OBJECT 280

#define SMB_NTSTATUS_RESOURCE_REQUIREMENTS_CHANGED 281

#define SMB_NTSTATUS_TRANSLATION_COMPLETE 288

#define SMB_NTSTATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY 289

#define SMB_NTSTATUS_NOTHING_TO_TERMINATE 290

#define SMB_NTSTATUS_PROCESS_NOT_IN_JOB 291

#define SMB_NTSTATUS_PROCESS_IN_JOB 292

#define SMB_NTSTATUS_VOLSNAP_HIBERNATE_READY 293

#define SMB_NTSTATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY 294

#define SMB_NTSTATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED 295

#define SMB_NTSTATUS_INTERRUPT_STILL_CONNECTED 296

#define SMB_NTSTATUS_PROCESS_CLONED 297

#define SMB_NTSTATUS_FILE_LOCKED_WITH_ONLY_READERS 298

#define SMB_NTSTATUS_FILE_LOCKED_WITH_WRITERS 299

#define SMB_NTSTATUS_RESOURCEMANAGER_READ_ONLY 514

#define SMB_NTSTATUS_WAIT_FOR_OPLOCK 871

#define SMB_NTDBG_EXCEPTION_HANDLED 65537

#define SMB_NTDBG_CONTINUE 65538

#define SMB_NTSTATUS_FLT_IO_COMPLETE 1835009

#define SMB_NTSTATUS_FILE_NOT_AVAILABLE 3221226599

#define SMB_NTSTATUS_SHARE_UNAVAILABLE 3221226624

#define SMB_NTSTATUS_CALLBACK_RETURNED_THREAD_AFFINITY 3221227297

#define SMB_NTSTATUS_OBJECT_NAME_EXISTS 1073741824

#define SMB_NTSTATUS_THREAD_WAS_SUSPENDED 1073741825

#define SMB_NTSTATUS_WORKING_SET_LIMIT_RANGE 1073741826

#define SMB_NTSTATUS_IMAGE_NOT_AT_BASE 1073741827

#define SMB_NTSTATUS_RXACT_STATE_CREATED 1073741828

#define SMB_NTSTATUS_SEGMENT_NOTIFICATION 1073741829

#define SMB_NTSTATUS_LOCAL_USER_SESSION_KEY 1073741830

#define SMB_NTSTATUS_BAD_CURRENT_DIRECTORY 1073741831

#define SMB_NTSTATUS_SERIAL_MORE_WRITES 1073741832

#define SMB_NTSTATUS_REGISTRY_RECOVERED 1073741833

#define SMB_NTSTATUS_FT_READ_RECOVERY_FROM_BACKUP 1073741834

#define SMB_NTSTATUS_FT_WRITE_RECOVERY 1073741835

#define SMB_NTSTATUS_SERIAL_COUNTER_TIMEOUT 1073741836

#define SMB_NTSTATUS_NULL_LM_PASSWORD 1073741837

#define SMB_NTSTATUS_IMAGE_MACHINE_TYPE_MISMATCH 1073741838

#define SMB_NTSTATUS_RECEIVE_PARTIAL 1073741839

#define SMB_NTSTATUS_RECEIVE_EXPEDITED 1073741840

#define SMB_NTSTATUS_RECEIVE_PARTIAL_EXPEDITED 1073741841

#define SMB_NTSTATUS_EVENT_DONE 1073741842

#define SMB_NTSTATUS_EVENT_PENDING 1073741843

#define SMB_NTSTATUS_CHECKING_FILE_SYSTEM 1073741844

#define SMB_NTSTATUS_FATAL_APP_EXIT 1073741845

#define SMB_NTSTATUS_PREDEFINED_HANDLE 1073741846

#define SMB_NTSTATUS_WAS_UNLOCKED 1073741847

#define SMB_NTSTATUS_SERVICE_NOTIFICATION 1073741848

#define SMB_NTSTATUS_WAS_LOCKED 1073741849

#define SMB_NTSTATUS_LOG_HARD_ERROR 1073741850

#define SMB_NTSTATUS_ALREADY_WIN32 1073741851

#define SMB_NTSTATUS_WX86_UNSIMULATE 1073741852

#define SMB_NTSTATUS_WX86_CONTINUE 1073741853

#define SMB_NTSTATUS_WX86_SINGLE_STEP 1073741854

#define SMB_NTSTATUS_WX86_BREAKPOINT 1073741855

#define SMB_NTSTATUS_WX86_EXCEPTION_CONTINUE 1073741856

#define SMB_NTSTATUS_WX86_EXCEPTION_LASTCHANCE 1073741857

#define SMB_NTSTATUS_WX86_EXCEPTION_CHAIN 1073741858

#define SMB_NTSTATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE 1073741859

#define SMB_NTSTATUS_NO_YIELD_PERFORMED 1073741860

#define SMB_NTSTATUS_TIMER_RESUME_IGNORED 1073741861

#define SMB_NTSTATUS_ARBITRATION_UNHANDLED 1073741862

#define SMB_NTSTATUS_CARDBUS_NOT_SUPPORTED 1073741863

#define SMB_NTSTATUS_WX86_CREATEWX86TIB 1073741864

#define SMB_NTSTATUS_MP_PROCESSOR_MISMATCH 1073741865

#define SMB_NTSTATUS_HIBERNATED 1073741866

#define SMB_NTSTATUS_RESUME_HIBERNATION 1073741867

#define SMB_NTSTATUS_FIRMWARE_UPDATED 1073741868

#define SMB_NTSTATUS_DRIVERS_LEAKING_LOCKED_PAGES 1073741869

#define SMB_NTSTATUS_MESSAGE_RETRIEVED 1073741870

#define SMB_NTSTATUS_SYSTEM_POWERSTATE_TRANSITION 1073741871

#define SMB_NTSTATUS_ALPC_CHECK_COMPLETION_LIST 1073741872

#define SMB_NTSTATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION 1073741873

#define SMB_NTSTATUS_ACCESS_AUDIT_BY_POLICY 1073741874

#define SMB_NTSTATUS_ABANDON_HIBERFILE 1073741875

#define SMB_NTSTATUS_BIZRULES_NOT_ENABLED 1073741876

#define SMB_NTSTATUS_WAKE_SYSTEM 1073742484

#define SMB_NTSTATUS_DS_SHUTTING_DOWN 1073742704

#define SMB_NTDBG_REPLY_LATER 1073807361

#define SMB_NTDBG_UNABLE_TO_PROVIDE_HANDLE 1073807362

#define SMB_NTDBG_TERMINATE_THREAD 1073807363

#define SMB_NTDBG_TERMINATE_PROCESS 1073807364

#define SMB_NTDBG_CONTROL_C 1073807365

#define SMB_NTDBG_PRINTEXCEPTION_C 1073807366

#define SMB_NTDBG_RIPEXCEPTION 1073807367

#define SMB_NTDBG_CONTROL_BREAK 1073807368

#define SMB_NTDBG_COMMAND_EXCEPTION 1073807369

#define SMB_NTRPC_NT_UUID_LOCAL_ONLY 1073872982

#define SMB_NTRPC_NT_SEND_INCOMPLETE 1073873071

#define SMB_NTSTATUS_CTX_CDM_CONNECT 1074397188

#define SMB_NTSTATUS_CTX_CDM_DISCONNECT 1074397189

#define SMB_NTSTATUS_SXS_RELEASE_ACTIVATION_CONTEXT 1075118093

#define SMB_NTSTATUS_RECOVERY_NOT_NEEDED 1075380276

#define SMB_NTSTATUS_RM_ALREADY_STARTED 1075380277

#define SMB_NTSTATUS_LOG_NO_RESTART 1075445772

#define SMB_NTSTATUS_VIDEO_DRIVER_DEBUG_REPORT_REQUEST 1075511532

#define SMB_NTSTATUS_GRAPHICS_PARTIAL_DATA_POPULATED 1075707914

#define SMB_NTSTATUS_GRAPHICS_DRIVER_MISMATCH 1075708183

#define SMB_NTSTATUS_GRAPHICS_MODE_NOT_PINNED 1075708679

#define SMB_NTSTATUS_GRAPHICS_NO_PREFERRED_MODE 1075708702

#define SMB_NTSTATUS_GRAPHICS_DATASET_IS_EMPTY 1075708747

#define SMB_NTSTATUS_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET 1075708748

#define SMB_NTSTATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED 1075708753

#define SMB_NTSTATUS_GRAPHICS_UNKNOWN_CHILD_STATUS 1075708975

#define SMB_NTSTATUS_GRAPHICS_LEADLINK_START_DEFERRED 1075708983

#define SMB_NTSTATUS_GRAPHICS_POLLING_TOO_FREQUENTLY 1075708985

#define SMB_NTSTATUS_GRAPHICS_START_DEFERRED 1075708986

#define SMB_NTSTATUS_NDIS_INDICATION_REQUIRED 1076035585

#define SMB_NTSTATUS_GUARD_PAGE_VIOLATION 2147483649

#define SMB_NTSTATUS_DATATYPE_MISALIGNMENT 2147483650

#define SMB_NTSTATUS_BREAKPOINT 2147483651

#define SMB_NTSTATUS_SINGLE_STEP 2147483652

#define SMB_NTSTATUS_BUFFER_OVERFLOW 2147483653

#define SMB_NTSTATUS_NO_MORE_FILES 2147483654

#define SMB_NTSTATUS_WAKE_SYSTEM_DEBUGGER 2147483655

#define SMB_NTSTATUS_HANDLES_CLOSED 2147483658

#define SMB_NTSTATUS_NO_INHERITANCE 2147483659

#define SMB_NTSTATUS_GUID_SUBSTITUTION_MADE 2147483660

#define SMB_NTSTATUS_PARTIAL_COPY 2147483661

#define SMB_NTSTATUS_DEVICE_PAPER_EMPTY 2147483662

#define SMB_NTSTATUS_DEVICE_POWERED_OFF 2147483663

#define SMB_NTSTATUS_DEVICE_OFF_LINE 2147483664

#define SMB_NTSTATUS_DEVICE_BUSY 2147483665

#define SMB_NTSTATUS_NO_MORE_EAS 2147483666

#define SMB_NTSTATUS_INVALID_EA_NAME 2147483667

#define SMB_NTSTATUS_EA_LIST_INCONSISTENT 2147483668

#define SMB_NTSTATUS_INVALID_EA_FLAG 2147483669

#define SMB_NTSTATUS_VERIFY_REQUIRED 2147483670

#define SMB_NTSTATUS_EXTRANEOUS_INFORMATION 2147483671

#define SMB_NTSTATUS_RXACT_COMMIT_NECESSARY 2147483672

#define SMB_NTSTATUS_NO_MORE_ENTRIES 2147483674

#define SMB_NTSTATUS_FILEMARK_DETECTED 2147483675

#define SMB_NTSTATUS_MEDIA_CHANGED 2147483676

#define SMB_NTSTATUS_BUS_RESET 2147483677

#define SMB_NTSTATUS_END_OF_MEDIA 2147483678

#define SMB_NTSTATUS_BEGINNING_OF_MEDIA 2147483679

#define SMB_NTSTATUS_MEDIA_CHECK 2147483680

#define SMB_NTSTATUS_SETMARK_DETECTED 2147483681

#define SMB_NTSTATUS_NO_DATA_DETECTED 2147483682

#define SMB_NTSTATUS_REDIRECTOR_HAS_OPEN_HANDLES 2147483683

#define SMB_NTSTATUS_SERVER_HAS_OPEN_HANDLES 2147483684

#define SMB_NTSTATUS_ALREADY_DISCONNECTED 2147483685

#define SMB_NTSTATUS_LONGJUMP 2147483686

#define SMB_NTSTATUS_CLEANER_CARTRIDGE_INSTALLED 2147483687

#define SMB_NTSTATUS_PLUGPLAY_QUERY_VETOED 2147483688

#define SMB_NTSTATUS_UNWIND_CONSOLIDATE 2147483689

#define SMB_NTSTATUS_REGISTRY_HIVE_RECOVERED 2147483690

#define SMB_NTSTATUS_DLL_MIGHT_BE_INSECURE 2147483691

#define SMB_NTSTATUS_DLL_MIGHT_BE_INCOMPATIBLE 2147483692

#define SMB_NTSTATUS_STOPPED_ON_SYMLINK 2147483693

#define SMB_NTSTATUS_DEVICE_REQUIRES_CLEANING 2147484296

#define SMB_NTSTATUS_DEVICE_DOOR_OPEN 2147484297

#define SMB_NTSTATUS_DATA_LOST_REPAIR 2147485699

#define SMB_NTDBG_EXCEPTION_NOT_HANDLED 2147549185

#define SMB_NTSTATUS_CLUSTER_NODE_ALREADY_UP 2148728833

#define SMB_NTSTATUS_CLUSTER_NODE_ALREADY_DOWN 2148728834

#define SMB_NTSTATUS_CLUSTER_NETWORK_ALREADY_ONLINE 2148728835

#define SMB_NTSTATUS_CLUSTER_NETWORK_ALREADY_OFFLINE 2148728836

#define SMB_NTSTATUS_CLUSTER_NODE_ALREADY_MEMBER 2148728837

#define SMB_NTSTATUS_COULD_NOT_RESIZE_LOG 2149122057

#define SMB_NTSTATUS_NO_TXF_METADATA 2149122089

#define SMB_NTSTATUS_CANT_RECOVER_WITH_HANDLE_OPEN 2149122097

#define SMB_NTSTATUS_TXF_METADATA_ALREADY_PRESENT 2149122113

#define SMB_NTSTATUS_TRANSACTION_SCOPE_CALLBACKS_NOT_SET 2149122114

#define SMB_NTSTATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD_RECOVERED 2149253355

#define SMB_NTSTATUS_FLT_BUFFER_TOO_SMALL 2149318657

#define SMB_NTSTATUS_FVE_PARTIAL_METADATA 2149646337

#define SMB_NTSTATUS_FVE_TRANSIENT_STATE 2149646338

#define SMB_NTSTATUS_UNSUCCESSFUL 3221225473

#define SMB_NTSTATUS_NOT_IMPLEMENTED 3221225474

#define SMB_NTSTATUS_INVALID_INFO_CLASS 3221225475

#define SMB_NTSTATUS_INFO_LENGTH_MISMATCH 3221225476

#define SMB_NTSTATUS_ACCESS_VIOLATION 3221225477

#define SMB_NTSTATUS_IN_PAGE_ERROR 3221225478

#define SMB_NTSTATUS_PAGEFILE_QUOTA 3221225479

#define SMB_NTSTATUS_INVALID_HANDLE 3221225480

#define SMB_NTSTATUS_BAD_INITIAL_STACK 3221225481

#define SMB_NTSTATUS_BAD_INITIAL_PC 3221225482

#define SMB_NTSTATUS_INVALID_CID 3221225483

#define SMB_NTSTATUS_TIMER_NOT_CANCELED 3221225484

#define SMB_NTSTATUS_INVALID_PARAMETER 3221225485

#define SMB_NTSTATUS_NO_SUCH_DEVICE 3221225486

#define SMB_NTSTATUS_NO_SUCH_FILE 3221225487

#define SMB_NTSTATUS_INVALID_DEVICE_REQUEST 3221225488

#define SMB_NTSTATUS_END_OF_FILE 3221225489

#define SMB_NTSTATUS_WRONG_VOLUME 3221225490

#define SMB_NTSTATUS_NO_MEDIA_IN_DEVICE 3221225491

#define SMB_NTSTATUS_UNRECOGNIZED_MEDIA 3221225492

#define SMB_NTSTATUS_NONEXISTENT_SECTOR 3221225493

#define SMB_NTSTATUS_MORE_PROCESSING_REQUIRED 3221225494

#define SMB_NTSTATUS_NO_MEMORY 3221225495

#define SMB_NTSTATUS_CONFLICTING_ADDRESSES 3221225496

#define SMB_NTSTATUS_NOT_MAPPED_VIEW 3221225497

#define SMB_NTSTATUS_UNABLE_TO_FREE_VM 3221225498

#define SMB_NTSTATUS_UNABLE_TO_DELETE_SECTION 3221225499

#define SMB_NTSTATUS_INVALID_SYSTEM_SERVICE 3221225500

#define SMB_NTSTATUS_ILLEGAL_INSTRUCTION 3221225501

#define SMB_NTSTATUS_INVALID_LOCK_SEQUENCE 3221225502

#define SMB_NTSTATUS_INVALID_VIEW_SIZE 3221225503

#define SMB_NTSTATUS_INVALID_FILE_FOR_SECTION 3221225504

#define SMB_NTSTATUS_ALREADY_COMMITTED 3221225505

#define SMB_NTSTATUS_ACCESS_DENIED 3221225506

#define SMB_NTSTATUS_BUFFER_TOO_SMALL 3221225507

#define SMB_NTSTATUS_OBJECT_TYPE_MISMATCH 3221225508

#define SMB_NTSTATUS_NONCONTINUABLE_EXCEPTION 3221225509

#define SMB_NTSTATUS_INVALID_DISPOSITION 3221225510

#define SMB_NTSTATUS_UNWIND 3221225511

#define SMB_NTSTATUS_BAD_STACK 3221225512

#define SMB_NTSTATUS_INVALID_UNWIND_TARGET 3221225513

#define SMB_NTSTATUS_NOT_LOCKED 3221225514

#define SMB_NTSTATUS_PARITY_ERROR 3221225515

#define SMB_NTSTATUS_UNABLE_TO_DECOMMIT_VM 3221225516

#define SMB_NTSTATUS_NOT_COMMITTED 3221225517

#define SMB_NTSTATUS_INVALID_PORT_ATTRIBUTES 3221225518

#define SMB_NTSTATUS_PORT_MESSAGE_TOO_LONG 3221225519

#define SMB_NTSTATUS_INVALID_PARAMETER_MIX 3221225520

#define SMB_NTSTATUS_INVALID_QUOTA_LOWER 3221225521

#define SMB_NTSTATUS_DISK_CORRUPT_ERROR 3221225522

#define SMB_NTSTATUS_OBJECT_NAME_INVALID 3221225523

#define SMB_NTSTATUS_OBJECT_NAME_NOT_FOUND 3221225524

#define SMB_NTSTATUS_OBJECT_NAME_COLLISION 3221225525

#define SMB_NTSTATUS_PORT_DISCONNECTED 3221225527

#define SMB_NTSTATUS_DEVICE_ALREADY_ATTACHED 3221225528

#define SMB_NTSTATUS_OBJECT_PATH_INVALID 3221225529

#define SMB_NTSTATUS_OBJECT_PATH_NOT_FOUND 3221225530

#define SMB_NTSTATUS_OBJECT_PATH_SYNTAX_BAD 3221225531

#define SMB_NTSTATUS_DATA_OVERRUN 3221225532

#define SMB_NTSTATUS_DATA_LATE_ERROR 3221225533

#define SMB_NTSTATUS_DATA_ERROR 3221225534

#define SMB_NTSTATUS_CRC_ERROR 3221225535

#define SMB_NTSTATUS_SECTION_TOO_BIG 3221225536

#define SMB_NTSTATUS_PORT_CONNECTION_REFUSED 3221225537

#define SMB_NTSTATUS_INVALID_PORT_HANDLE 3221225538

#define SMB_NTSTATUS_SHARING_VIOLATION 3221225539

#define SMB_NTSTATUS_QUOTA_EXCEEDED 3221225540

#define SMB_NTSTATUS_INVALID_PAGE_PROTECTION 3221225541

#define SMB_NTSTATUS_MUTANT_NOT_OWNED 3221225542

#define SMB_NTSTATUS_SEMAPHORE_LIMIT_EXCEEDED 3221225543

#define SMB_NTSTATUS_PORT_ALREADY_SET 3221225544

#define SMB_NTSTATUS_SECTION_NOT_IMAGE 3221225545

#define SMB_NTSTATUS_SUSPEND_COUNT_EXCEEDED 3221225546

#define SMB_NTSTATUS_THREAD_IS_TERMINATING 3221225547

#define SMB_NTSTATUS_BAD_WORKING_SET_LIMIT 3221225548

#define SMB_NTSTATUS_INCOMPATIBLE_FILE_MAP 3221225549

#define SMB_NTSTATUS_SECTION_PROTECTION 3221225550

#define SMB_NTSTATUS_EAS_NOT_SUPPORTED 3221225551

#define SMB_NTSTATUS_EA_TOO_LARGE 3221225552

#define SMB_NTSTATUS_NONEXISTENT_EA_ENTRY 3221225553

#define SMB_NTSTATUS_NO_EAS_ON_FILE 3221225554

#define SMB_NTSTATUS_EA_CORRUPT_ERROR 3221225555

#define SMB_NTSTATUS_FILE_LOCK_CONFLICT 3221225556

#define SMB_NTSTATUS_LOCK_NOT_GRANTED 3221225557

#define SMB_NTSTATUS_DELETE_PENDING 3221225558

#define SMB_NTSTATUS_CTL_FILE_NOT_SUPPORTED 3221225559

#define SMB_NTSTATUS_UNKNOWN_REVISION 3221225560

#define SMB_NTSTATUS_REVISION_MISMATCH 3221225561

#define SMB_NTSTATUS_INVALID_OWNER 3221225562

#define SMB_NTSTATUS_INVALID_PRIMARY_GROUP 3221225563

#define SMB_NTSTATUS_NO_IMPERSONATION_TOKEN 3221225564

#define SMB_NTSTATUS_CANT_DISABLE_MANDATORY 3221225565

#define SMB_NTSTATUS_NO_LOGON_SERVERS 3221225566

#define SMB_NTSTATUS_NO_SUCH_LOGON_SESSION 3221225567

#define SMB_NTSTATUS_NO_SUCH_PRIVILEGE 3221225568

#define SMB_NTSTATUS_PRIVILEGE_NOT_HELD 3221225569

#define SMB_NTSTATUS_INVALID_ACCOUNT_NAME 3221225570

#define SMB_NTSTATUS_USER_EXISTS 3221225571

#define SMB_NTSTATUS_NO_SUCH_USER 3221225572

#define SMB_NTSTATUS_GROUP_EXISTS 3221225573

#define SMB_NTSTATUS_NO_SUCH_GROUP 3221225574

#define SMB_NTSTATUS_MEMBER_IN_GROUP 3221225575

#define SMB_NTSTATUS_MEMBER_NOT_IN_GROUP 3221225576

#define SMB_NTSTATUS_LAST_ADMIN 3221225577

#define SMB_NTSTATUS_WRONG_PASSWORD 3221225578

#define SMB_NTSTATUS_ILL_FORMED_PASSWORD 3221225579

#define SMB_NTSTATUS_PASSWORD_RESTRICTION 3221225580

#define SMB_NTSTATUS_LOGON_FAILURE 3221225581

#define SMB_NTSTATUS_ACCOUNT_RESTRICTION 3221225582

#define SMB_NTSTATUS_INVALID_LOGON_HOURS 3221225583

#define SMB_NTSTATUS_INVALID_WORKSTATION 3221225584

#define SMB_NTSTATUS_PASSWORD_EXPIRED 3221225585

#define SMB_NTSTATUS_ACCOUNT_DISABLED 3221225586

#define SMB_NTSTATUS_NONE_MAPPED 3221225587

#define SMB_NTSTATUS_TOO_MANY_LUIDS_REQUESTED 3221225588

#define SMB_NTSTATUS_LUIDS_EXHAUSTED 3221225589

#define SMB_NTSTATUS_INVALID_SUB_AUTHORITY 3221225590

#define SMB_NTSTATUS_INVALID_ACL 3221225591

#define SMB_NTSTATUS_INVALID_SID 3221225592

#define SMB_NTSTATUS_INVALID_SECURITY_DESCR 3221225593

#define SMB_NTSTATUS_PROCEDURE_NOT_FOUND 3221225594

#define SMB_NTSTATUS_INVALID_IMAGE_FORMAT 3221225595

#define SMB_NTSTATUS_NO_TOKEN 3221225596

#define SMB_NTSTATUS_BAD_INHERITANCE_ACL 3221225597

#define SMB_NTSTATUS_RANGE_NOT_LOCKED 3221225598

#define SMB_NTSTATUS_DISK_FULL 3221225599

#define SMB_NTSTATUS_SERVER_DISABLED 3221225600

#define SMB_NTSTATUS_SERVER_NOT_DISABLED 3221225601

#define SMB_NTSTATUS_TOO_MANY_GUIDS_REQUESTED 3221225602

#define SMB_NTSTATUS_GUIDS_EXHAUSTED 3221225603

#define SMB_NTSTATUS_INVALID_ID_AUTHORITY 3221225604

#define SMB_NTSTATUS_AGENTS_EXHAUSTED 3221225605

#define SMB_NTSTATUS_INVALID_VOLUME_LABEL 3221225606

#define SMB_NTSTATUS_SECTION_NOT_EXTENDED 3221225607

#define SMB_NTSTATUS_NOT_MAPPED_DATA 3221225608

#define SMB_NTSTATUS_RESOURCE_DATA_NOT_FOUND 3221225609

#define SMB_NTSTATUS_RESOURCE_TYPE_NOT_FOUND 3221225610

#define SMB_NTSTATUS_RESOURCE_NAME_NOT_FOUND 3221225611

#define SMB_NTSTATUS_ARRAY_BOUNDS_EXCEEDED 3221225612

#define SMB_NTSTATUS_FLOAT_DENORMAL_OPERAND 3221225613

#define SMB_NTSTATUS_FLOAT_DIVIDE_BY_ZERO 3221225614

#define SMB_NTSTATUS_FLOAT_INEXACT_RESULT 3221225615

#define SMB_NTSTATUS_FLOAT_INVALID_OPERATION 3221225616

#define SMB_NTSTATUS_FLOAT_OVERFLOW 3221225617

#define SMB_NTSTATUS_FLOAT_STACK_CHECK 3221225618

#define SMB_NTSTATUS_FLOAT_UNDERFLOW 3221225619

#define SMB_NTSTATUS_INTEGER_DIVIDE_BY_ZERO 3221225620

#define SMB_NTSTATUS_INTEGER_OVERFLOW 3221225621

#define SMB_NTSTATUS_PRIVILEGED_INSTRUCTION 3221225622

#define SMB_NTSTATUS_TOO_MANY_PAGING_FILES 3221225623

#define SMB_NTSTATUS_FILE_INVALID 3221225624

#define SMB_NTSTATUS_ALLOTTED_SPACE_EXCEEDED 3221225625

#define SMB_NTSTATUS_INSUFFICIENT_RESOURCES 3221225626

#define SMB_NTSTATUS_DFS_EXIT_PATH_FOUND 3221225627

#define SMB_NTSTATUS_DEVICE_DATA_ERROR 3221225628

#define SMB_NTSTATUS_DEVICE_NOT_CONNECTED 3221225629

#define SMB_NTSTATUS_FREE_VM_NOT_AT_BASE 3221225631

#define SMB_NTSTATUS_MEMORY_NOT_ALLOCATED 3221225632

#define SMB_NTSTATUS_WORKING_SET_QUOTA 3221225633

#define SMB_NTSTATUS_MEDIA_WRITE_PROTECTED 3221225634

#define SMB_NTSTATUS_DEVICE_NOT_READY 3221225635

#define SMB_NTSTATUS_INVALID_GROUP_ATTRIBUTES 3221225636

#define SMB_NTSTATUS_BAD_IMPERSONATION_LEVEL 3221225637

#define SMB_NTSTATUS_CANT_OPEN_ANONYMOUS 3221225638

#define SMB_NTSTATUS_BAD_VALIDATION_CLASS 3221225639

#define SMB_NTSTATUS_BAD_TOKEN_TYPE 3221225640

#define SMB_NTSTATUS_BAD_MASTER_BOOT_RECORD 3221225641

#define SMB_NTSTATUS_INSTRUCTION_MISALIGNMENT 3221225642

#define SMB_NTSTATUS_INSTANCE_NOT_AVAILABLE 3221225643

#define SMB_NTSTATUS_PIPE_NOT_AVAILABLE 3221225644

#define SMB_NTSTATUS_INVALID_PIPE_STATE 3221225645

#define SMB_NTSTATUS_PIPE_BUSY 3221225646

#define SMB_NTSTATUS_ILLEGAL_FUNCTION 3221225647

#define SMB_NTSTATUS_PIPE_DISCONNECTED 3221225648

#define SMB_NTSTATUS_PIPE_CLOSING 3221225649

#define SMB_NTSTATUS_PIPE_CONNECTED 3221225650

#define SMB_NTSTATUS_PIPE_LISTENING 3221225651

#define SMB_NTSTATUS_INVALID_READ_MODE 3221225652

#define SMB_NTSTATUS_IO_TIMEOUT 3221225653

#define SMB_NTSTATUS_FILE_FORCED_CLOSED 3221225654

#define SMB_NTSTATUS_PROFILING_NOT_STARTED 3221225655

#define SMB_NTSTATUS_PROFILING_NOT_STOPPED 3221225656

#define SMB_NTSTATUS_COULD_NOT_INTERPRET 3221225657

#define SMB_NTSTATUS_FILE_IS_A_DIRECTORY 3221225658

#define SMB_NTSTATUS_NOT_SUPPORTED 3221225659

#define SMB_NTSTATUS_REMOTE_NOT_LISTENING 3221225660

#define SMB_NTSTATUS_DUPLICATE_NAME 3221225661

#define SMB_NTSTATUS_BAD_NETWORK_PATH 3221225662

#define SMB_NTSTATUS_NETWORK_BUSY 3221225663

#define SMB_NTSTATUS_DEVICE_DOES_NOT_EXIST 3221225664

#define SMB_NTSTATUS_TOO_MANY_COMMANDS 3221225665

#define SMB_NTSTATUS_ADAPTER_HARDWARE_ERROR 3221225666

#define SMB_NTSTATUS_INVALID_NETWORK_RESPONSE 3221225667

#define SMB_NTSTATUS_UNEXPECTED_NETWORK_ERROR 3221225668

#define SMB_NTSTATUS_BAD_REMOTE_ADAPTER 3221225669

#define SMB_NTSTATUS_PRINT_QUEUE_FULL 3221225670

#define SMB_NTSTATUS_NO_SPOOL_SPACE 3221225671

#define SMB_NTSTATUS_PRINT_CANCELLED 3221225672

#define SMB_NTSTATUS_NETWORK_NAME_DELETED 3221225673

#define SMB_NTSTATUS_NETWORK_ACCESS_DENIED 3221225674

#define SMB_NTSTATUS_BAD_DEVICE_TYPE 3221225675

#define SMB_NTSTATUS_BAD_NETWORK_NAME 3221225676

#define SMB_NTSTATUS_TOO_MANY_NAMES 3221225677

#define SMB_NTSTATUS_TOO_MANY_SESSIONS 3221225678

#define SMB_NTSTATUS_SHARING_PAUSED 3221225679

#define SMB_NTSTATUS_REQUEST_NOT_ACCEPTED 3221225680

#define SMB_NTSTATUS_REDIRECTOR_PAUSED 3221225681

#define SMB_NTSTATUS_NET_WRITE_FAULT 3221225682

#define SMB_NTSTATUS_PROFILING_AT_LIMIT 3221225683

#define SMB_NTSTATUS_NOT_SAME_DEVICE 3221225684

#define SMB_NTSTATUS_FILE_RENAMED 3221225685

#define SMB_NTSTATUS_VIRTUAL_CIRCUIT_CLOSED 3221225686

#define SMB_NTSTATUS_NO_SECURITY_ON_OBJECT 3221225687

#define SMB_NTSTATUS_CANT_WAIT 3221225688

#define SMB_NTSTATUS_PIPE_EMPTY 3221225689

#define SMB_NTSTATUS_CANT_ACCESS_DOMAIN_INFO 3221225690

#define SMB_NTSTATUS_CANT_TERMINATE_SELF 3221225691

#define SMB_NTSTATUS_INVALID_SERVER_STATE 3221225692

#define SMB_NTSTATUS_INVALID_DOMAIN_STATE 3221225693

#define SMB_NTSTATUS_INVALID_DOMAIN_ROLE 3221225694

#define SMB_NTSTATUS_NO_SUCH_DOMAIN 3221225695

#define SMB_NTSTATUS_DOMAIN_EXISTS 3221225696

#define SMB_NTSTATUS_DOMAIN_LIMIT_EXCEEDED 3221225697

#define SMB_NTSTATUS_OPLOCK_NOT_GRANTED 3221225698

#define SMB_NTSTATUS_INVALID_OPLOCK_PROTOCOL 3221225699

#define SMB_NTSTATUS_INTERNAL_DB_CORRUPTION 3221225700

#define SMB_NTSTATUS_INTERNAL_ERROR 3221225701

#define SMB_NTSTATUS_GENERIC_NOT_MAPPED 3221225702

#define SMB_NTSTATUS_BAD_DESCRIPTOR_FORMAT 3221225703

#define SMB_NTSTATUS_INVALID_USER_BUFFER 3221225704

#define SMB_NTSTATUS_UNEXPECTED_IO_ERROR 3221225705

#define SMB_NTSTATUS_UNEXPECTED_MM_CREATE_ERR 3221225706

#define SMB_NTSTATUS_UNEXPECTED_MM_MAP_ERROR 3221225707

#define SMB_NTSTATUS_UNEXPECTED_MM_EXTEND_ERR 3221225708

#define SMB_NTSTATUS_NOT_LOGON_PROCESS 3221225709

#define SMB_NTSTATUS_LOGON_SESSION_EXISTS 3221225710

#define SMB_NTSTATUS_INVALID_PARAMETER_1 3221225711

#define SMB_NTSTATUS_INVALID_PARAMETER_2 3221225712

#define SMB_NTSTATUS_INVALID_PARAMETER_3 3221225713

#define SMB_NTSTATUS_INVALID_PARAMETER_4 3221225714

#define SMB_NTSTATUS_INVALID_PARAMETER_5 3221225715

#define SMB_NTSTATUS_INVALID_PARAMETER_6 3221225716

#define SMB_NTSTATUS_INVALID_PARAMETER_7 3221225717

#define SMB_NTSTATUS_INVALID_PARAMETER_8 3221225718

#define SMB_NTSTATUS_INVALID_PARAMETER_9 3221225719

#define SMB_NTSTATUS_INVALID_PARAMETER_10 3221225720

#define SMB_NTSTATUS_INVALID_PARAMETER_11 3221225721

#define SMB_NTSTATUS_INVALID_PARAMETER_12 3221225722

#define SMB_NTSTATUS_REDIRECTOR_NOT_STARTED 3221225723

#define SMB_NTSTATUS_REDIRECTOR_STARTED 3221225724

#define SMB_NTSTATUS_STACK_OVERFLOW 3221225725

#define SMB_NTSTATUS_NO_SUCH_PACKAGE 3221225726

#define SMB_NTSTATUS_BAD_FUNCTION_TABLE 3221225727

#define SMB_NTSTATUS_VARIABLE_NOT_FOUND 3221225728

#define SMB_NTSTATUS_DIRECTORY_NOT_EMPTY 3221225729

#define SMB_NTSTATUS_FILE_CORRUPT_ERROR 3221225730

#define SMB_NTSTATUS_NOT_A_DIRECTORY 3221225731

#define SMB_NTSTATUS_BAD_LOGON_SESSION_STATE 3221225732

#define SMB_NTSTATUS_LOGON_SESSION_COLLISION 3221225733

#define SMB_NTSTATUS_NAME_TOO_LONG 3221225734

#define SMB_NTSTATUS_FILES_OPEN 3221225735

#define SMB_NTSTATUS_CONNECTION_IN_USE 3221225736

#define SMB_NTSTATUS_MESSAGE_NOT_FOUND 3221225737

#define SMB_NTSTATUS_PROCESS_IS_TERMINATING 3221225738

#define SMB_NTSTATUS_INVALID_LOGON_TYPE 3221225739

#define SMB_NTSTATUS_NO_GUID_TRANSLATION 3221225740

#define SMB_NTSTATUS_CANNOT_IMPERSONATE 3221225741

#define SMB_NTSTATUS_IMAGE_ALREADY_LOADED 3221225742

#define SMB_NTSTATUS_NO_LDT 3221225751

#define SMB_NTSTATUS_INVALID_LDT_SIZE 3221225752

#define SMB_NTSTATUS_INVALID_LDT_OFFSET 3221225753

#define SMB_NTSTATUS_INVALID_LDT_DESCRIPTOR 3221225754

#define SMB_NTSTATUS_INVALID_IMAGE_NE_FORMAT 3221225755

#define SMB_NTSTATUS_RXACT_INVALID_STATE 3221225756

#define SMB_NTSTATUS_RXACT_COMMIT_FAILURE 3221225757

#define SMB_NTSTATUS_MAPPED_FILE_SIZE_ZERO 3221225758

#define SMB_NTSTATUS_TOO_MANY_OPENED_FILES 3221225759

#define SMB_NTSTATUS_CANCELLED 3221225760

#define SMB_NTSTATUS_CANNOT_DELETE 3221225761

#define SMB_NTSTATUS_INVALID_COMPUTER_NAME 3221225762

#define SMB_NTSTATUS_FILE_DELETED 3221225763

#define SMB_NTSTATUS_SPECIAL_ACCOUNT 3221225764

#define SMB_NTSTATUS_SPECIAL_GROUP 3221225765

#define SMB_NTSTATUS_SPECIAL_USER 3221225766

#define SMB_NTSTATUS_MEMBERS_PRIMARY_GROUP 3221225767

#define SMB_NTSTATUS_FILE_CLOSED 3221225768

#define SMB_NTSTATUS_TOO_MANY_THREADS 3221225769

#define SMB_NTSTATUS_THREAD_NOT_IN_PROCESS 3221225770

#define SMB_NTSTATUS_TOKEN_ALREADY_IN_USE 3221225771

#define SMB_NTSTATUS_PAGEFILE_QUOTA_EXCEEDED 3221225772

#define SMB_NTSTATUS_COMMITMENT_LIMIT 3221225773

#define SMB_NTSTATUS_INVALID_IMAGE_LE_FORMAT 3221225774

#define SMB_NTSTATUS_INVALID_IMAGE_NOT_MZ 3221225775

#define SMB_NTSTATUS_INVALID_IMAGE_PROTECT 3221225776

#define SMB_NTSTATUS_INVALID_IMAGE_WIN_16 3221225777

#define SMB_NTSTATUS_LOGON_SERVER_CONFLICT 3221225778

#define SMB_NTSTATUS_TIME_DIFFERENCE_AT_DC 3221225779

#define SMB_NTSTATUS_SYNCHRONIZATION_REQUIRED 3221225780

#define SMB_NTSTATUS_DLL_NOT_FOUND 3221225781

#define SMB_NTSTATUS_OPEN_FAILED 3221225782

#define SMB_NTSTATUS_IO_PRIVILEGE_FAILED 3221225783

#define SMB_NTSTATUS_ORDINAL_NOT_FOUND 3221225784

#define SMB_NTSTATUS_ENTRYPOINT_NOT_FOUND 3221225785

#define SMB_NTSTATUS_CONTROL_C_EXIT 3221225786

#define SMB_NTSTATUS_LOCAL_DISCONNECT 3221225787

#define SMB_NTSTATUS_REMOTE_DISCONNECT 3221225788

#define SMB_NTSTATUS_REMOTE_RESOURCES 3221225789

#define SMB_NTSTATUS_LINK_FAILED 3221225790

#define SMB_NTSTATUS_LINK_TIMEOUT 3221225791

#define SMB_NTSTATUS_INVALID_CONNECTION 3221225792

#define SMB_NTSTATUS_INVALID_ADDRESS 3221225793

#define SMB_NTSTATUS_DLL_INIT_FAILED 3221225794

#define SMB_NTSTATUS_MISSING_SYSTEMFILE 3221225795

#define SMB_NTSTATUS_UNHANDLED_EXCEPTION 3221225796

#define SMB_NTSTATUS_APP_INIT_FAILURE 3221225797

#define SMB_NTSTATUS_PAGEFILE_CREATE_FAILED 3221225798

#define SMB_NTSTATUS_NO_PAGEFILE 3221225799

#define SMB_NTSTATUS_INVALID_LEVEL 3221225800

#define SMB_NTSTATUS_WRONG_PASSWORD_CORE 3221225801

#define SMB_NTSTATUS_ILLEGAL_FLOAT_CONTEXT 3221225802

#define SMB_NTSTATUS_PIPE_BROKEN 3221225803

#define SMB_NTSTATUS_REGISTRY_CORRUPT 3221225804

#define SMB_NTSTATUS_REGISTRY_IO_FAILED 3221225805

#define SMB_NTSTATUS_NO_EVENT_PAIR 3221225806

#define SMB_NTSTATUS_UNRECOGNIZED_VOLUME 3221225807

#define SMB_NTSTATUS_SERIAL_NO_DEVICE_INITED 3221225808

#define SMB_NTSTATUS_NO_SUCH_ALIAS 3221225809

#define SMB_NTSTATUS_MEMBER_NOT_IN_ALIAS 3221225810

#define SMB_NTSTATUS_MEMBER_IN_ALIAS 3221225811

#define SMB_NTSTATUS_ALIAS_EXISTS 3221225812

#define SMB_NTSTATUS_LOGON_NOT_GRANTED 3221225813

#define SMB_NTSTATUS_TOO_MANY_SECRETS 3221225814

#define SMB_NTSTATUS_SECRET_TOO_LONG 3221225815

#define SMB_NTSTATUS_INTERNAL_DB_ERROR 3221225816

#define SMB_NTSTATUS_FULLSCREEN_MODE 3221225817

#define SMB_NTSTATUS_TOO_MANY_CONTEXT_IDS 3221225818

#define SMB_NTSTATUS_LOGON_TYPE_NOT_GRANTED 3221225819

#define SMB_NTSTATUS_NOT_REGISTRY_FILE 3221225820

#define SMB_NTSTATUS_NT_CROSS_ENCRYPTION_REQUIRED 3221225821

#define SMB_NTSTATUS_DOMAIN_CTRLR_CONFIG_ERROR 3221225822

#define SMB_NTSTATUS_FT_MISSING_MEMBER 3221225823

#define SMB_NTSTATUS_ILL_FORMED_SERVICE_ENTRY 3221225824

#define SMB_NTSTATUS_ILLEGAL_CHARACTER 3221225825

#define SMB_NTSTATUS_UNMAPPABLE_CHARACTER 3221225826

#define SMB_NTSTATUS_UNDEFINED_CHARACTER 3221225827

#define SMB_NTSTATUS_FLOPPY_VOLUME 3221225828

#define SMB_NTSTATUS_FLOPPY_ID_MARK_NOT_FOUND 3221225829

#define SMB_NTSTATUS_FLOPPY_WRONG_CYLINDER 3221225830

#define SMB_NTSTATUS_FLOPPY_UNKNOWN_ERROR 3221225831

#define SMB_NTSTATUS_FLOPPY_BAD_REGISTERS 3221225832

#define SMB_NTSTATUS_DISK_RECALIBRATE_FAILED 3221225833

#define SMB_NTSTATUS_DISK_OPERATION_FAILED 3221225834

#define SMB_NTSTATUS_DISK_RESET_FAILED 3221225835

#define SMB_NTSTATUS_SHARED_IRQ_BUSY 3221225836

#define SMB_NTSTATUS_FT_ORPHANING 3221225837

#define SMB_NTSTATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT 3221225838

#define SMB_NTSTATUS_PARTITION_FAILURE 3221225842

#define SMB_NTSTATUS_INVALID_BLOCK_LENGTH 3221225843

#define SMB_NTSTATUS_DEVICE_NOT_PARTITIONED 3221225844

#define SMB_NTSTATUS_UNABLE_TO_LOCK_MEDIA 3221225845

#define SMB_NTSTATUS_UNABLE_TO_UNLOAD_MEDIA 3221225846

#define SMB_NTSTATUS_EOM_OVERFLOW 3221225847

#define SMB_NTSTATUS_NO_MEDIA 3221225848

#define SMB_NTSTATUS_NO_SUCH_MEMBER 3221225850

#define SMB_NTSTATUS_INVALID_MEMBER 3221225851

#define SMB_NTSTATUS_KEY_DELETED 3221225852

#define SMB_NTSTATUS_NO_LOG_SPACE 3221225853

#define SMB_NTSTATUS_TOO_MANY_SIDS 3221225854

#define SMB_NTSTATUS_LM_CROSS_ENCRYPTION_REQUIRED 3221225855

#define SMB_NTSTATUS_KEY_HAS_CHILDREN 3221225856

#define SMB_NTSTATUS_CHILD_MUST_BE_VOLATILE 3221225857

#define SMB_NTSTATUS_DEVICE_CONFIGURATION_ERROR 3221225858

#define SMB_NTSTATUS_DRIVER_INTERNAL_ERROR 3221225859

#define SMB_NTSTATUS_INVALID_DEVICE_STATE 3221225860

#define SMB_NTSTATUS_IO_DEVICE_ERROR 3221225861

#define SMB_NTSTATUS_DEVICE_PROTOCOL_ERROR 3221225862

#define SMB_NTSTATUS_BACKUP_CONTROLLER 3221225863

#define SMB_NTSTATUS_LOG_FILE_FULL 3221225864

#define SMB_NTSTATUS_TOO_LATE 3221225865

#define SMB_NTSTATUS_NO_TRUST_LSA_SECRET 3221225866

#define SMB_NTSTATUS_NO_TRUST_SAM_ACCOUNT 3221225867

#define SMB_NTSTATUS_TRUSTED_DOMAIN_FAILURE 3221225868

#define SMB_NTSTATUS_TRUSTED_RELATIONSHIP_FAILURE 3221225869

#define SMB_NTSTATUS_EVENTLOG_FILE_CORRUPT 3221225870

#define SMB_NTSTATUS_EVENTLOG_CANT_START 3221225871

#define SMB_NTSTATUS_TRUST_FAILURE 3221225872

#define SMB_NTSTATUS_MUTANT_LIMIT_EXCEEDED 3221225873

#define SMB_NTSTATUS_NETLOGON_NOT_STARTED 3221225874

#define SMB_NTSTATUS_ACCOUNT_EXPIRED 3221225875

#define SMB_NTSTATUS_POSSIBLE_DEADLOCK 3221225876

#define SMB_NTSTATUS_NETWORK_CREDENTIAL_CONFLICT 3221225877

#define SMB_NTSTATUS_REMOTE_SESSION_LIMIT 3221225878

#define SMB_NTSTATUS_EVENTLOG_FILE_CHANGED 3221225879

#define SMB_NTSTATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 3221225880

#define SMB_NTSTATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT 3221225881

#define SMB_NTSTATUS_NOLOGON_SERVER_TRUST_ACCOUNT 3221225882

#define SMB_NTSTATUS_DOMAIN_TRUST_INCONSISTENT 3221225883

#define SMB_NTSTATUS_FS_DRIVER_REQUIRED 3221225884

#define SMB_NTSTATUS_IMAGE_ALREADY_LOADED_AS_DLL 3221225885

#define SMB_NTSTATUS_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING 3221225886

#define SMB_NTSTATUS_SHORT_NAMES_NOT_ENABLED_ON_VOLUME 3221225887

#define SMB_NTSTATUS_SECURITY_STREAM_IS_INCONSISTENT 3221225888

#define SMB_NTSTATUS_INVALID_LOCK_RANGE 3221225889

#define SMB_NTSTATUS_INVALID_ACE_CONDITION 3221225890

#define SMB_NTSTATUS_IMAGE_SUBSYSTEM_NOT_PRESENT 3221225891

#define SMB_NTSTATUS_NOTIFICATION_GUID_ALREADY_DEFINED 3221225892

#define SMB_NTSTATUS_NETWORK_OPEN_RESTRICTION 3221225985

#define SMB_NTSTATUS_NO_USER_SESSION_KEY 3221225986

#define SMB_NTSTATUS_USER_SESSION_DELETED 3221225987

#define SMB_NTSTATUS_RESOURCE_LANG_NOT_FOUND 3221225988

#define SMB_NTSTATUS_INSUFF_SERVER_RESOURCES 3221225989

#define SMB_NTSTATUS_INVALID_BUFFER_SIZE 3221225990

#define SMB_NTSTATUS_INVALID_ADDRESS_COMPONENT 3221225991

#define SMB_NTSTATUS_INVALID_ADDRESS_WILDCARD 3221225992

#define SMB_NTSTATUS_TOO_MANY_ADDRESSES 3221225993

#define SMB_NTSTATUS_ADDRESS_ALREADY_EXISTS 3221225994

#define SMB_NTSTATUS_ADDRESS_CLOSED 3221225995

#define SMB_NTSTATUS_CONNECTION_DISCONNECTED 3221225996

#define SMB_NTSTATUS_CONNECTION_RESET 3221225997

#define SMB_NTSTATUS_TOO_MANY_NODES 3221225998

#define SMB_NTSTATUS_TRANSACTION_ABORTED 3221225999

#define SMB_NTSTATUS_TRANSACTION_TIMED_OUT 3221226000

#define SMB_NTSTATUS_TRANSACTION_NO_RELEASE 3221226001

#define SMB_NTSTATUS_TRANSACTION_NO_MATCH 3221226002

#define SMB_NTSTATUS_TRANSACTION_RESPONDED 3221226003

#define SMB_NTSTATUS_TRANSACTION_INVALID_ID 3221226004

#define SMB_NTSTATUS_TRANSACTION_INVALID_TYPE 3221226005

#define SMB_NTSTATUS_NOT_SERVER_SESSION 3221226006

#define SMB_NTSTATUS_NOT_CLIENT_SESSION 3221226007

#define SMB_NTSTATUS_CANNOT_LOAD_REGISTRY_FILE 3221226008

#define SMB_NTSTATUS_DEBUG_ATTACH_FAILED 3221226009

#define SMB_NTSTATUS_SYSTEM_PROCESS_TERMINATED 3221226010

#define SMB_NTSTATUS_DATA_NOT_ACCEPTED 3221226011

#define SMB_NTSTATUS_NO_BROWSER_SERVERS_FOUND 3221226012

#define SMB_NTSTATUS_VDM_HARD_ERROR 3221226013

#define SMB_NTSTATUS_DRIVER_CANCEL_TIMEOUT 3221226014

#define SMB_NTSTATUS_REPLY_MESSAGE_MISMATCH 3221226015

#define SMB_NTSTATUS_MAPPED_ALIGNMENT 3221226016

#define SMB_NTSTATUS_IMAGE_CHECKSUM_MISMATCH 3221226017

#define SMB_NTSTATUS_LOST_WRITEBEHIND_DATA 3221226018

#define SMB_NTSTATUS_CLIENT_SERVER_PARAMETERS_INVALID 3221226019

#define SMB_NTSTATUS_PASSWORD_MUST_CHANGE 3221226020

#define SMB_NTSTATUS_NOT_FOUND 3221226021

#define SMB_NTSTATUS_NOT_TINY_STREAM 3221226022

#define SMB_NTSTATUS_RECOVERY_FAILURE 3221226023

#define SMB_NTSTATUS_STACK_OVERFLOW_READ 3221226024

#define SMB_NTSTATUS_FAIL_CHECK 3221226025

#define SMB_NTSTATUS_DUPLICATE_OBJECTID 3221226026

#define SMB_NTSTATUS_OBJECTID_EXISTS 3221226027

#define SMB_NTSTATUS_CONVERT_TO_LARGE 3221226028

#define SMB_NTSTATUS_RETRY 3221226029

#define SMB_NTSTATUS_FOUND_OUT_OF_SCOPE 3221226030

#define SMB_NTSTATUS_ALLOCATE_BUCKET 3221226031

#define SMB_NTSTATUS_PROPSET_NOT_FOUND 3221226032

#define SMB_NTSTATUS_MARSHALL_OVERFLOW 3221226033

#define SMB_NTSTATUS_INVALID_VARIANT 3221226034

#define SMB_NTSTATUS_DOMAIN_CONTROLLER_NOT_FOUND 3221226035

#define SMB_NTSTATUS_ACCOUNT_LOCKED_OUT 3221226036

#define SMB_NTSTATUS_HANDLE_NOT_CLOSABLE 3221226037

#define SMB_NTSTATUS_CONNECTION_REFUSED 3221226038

#define SMB_NTSTATUS_GRACEFUL_DISCONNECT 3221226039

#define SMB_NTSTATUS_ADDRESS_ALREADY_ASSOCIATED 3221226040

#define SMB_NTSTATUS_ADDRESS_NOT_ASSOCIATED 3221226041

#define SMB_NTSTATUS_CONNECTION_INVALID 3221226042

#define SMB_NTSTATUS_CONNECTION_ACTIVE 3221226043

#define SMB_NTSTATUS_NETWORK_UNREACHABLE 3221226044

#define SMB_NTSTATUS_HOST_UNREACHABLE 3221226045

#define SMB_NTSTATUS_PROTOCOL_UNREACHABLE 3221226046

#define SMB_NTSTATUS_PORT_UNREACHABLE 3221226047

#define SMB_NTSTATUS_REQUEST_ABORTED 3221226048

#define SMB_NTSTATUS_CONNECTION_ABORTED 3221226049

#define SMB_NTSTATUS_BAD_COMPRESSION_BUFFER 3221226050

#define SMB_NTSTATUS_USER_MAPPED_FILE 3221226051

#define SMB_NTSTATUS_AUDIT_FAILED 3221226052

#define SMB_NTSTATUS_TIMER_RESOLUTION_NOT_SET 3221226053

#define SMB_NTSTATUS_CONNECTION_COUNT_LIMIT 3221226054

#define SMB_NTSTATUS_LOGIN_TIME_RESTRICTION 3221226055

#define SMB_NTSTATUS_LOGIN_WKSTA_RESTRICTION 3221226056

#define SMB_NTSTATUS_IMAGE_MP_UP_MISMATCH 3221226057

#define SMB_NTSTATUS_INSUFFICIENT_LOGON_INFO 3221226064

#define SMB_NTSTATUS_BAD_DLL_ENTRYPOINT 3221226065

#define SMB_NTSTATUS_BAD_SERVICE_ENTRYPOINT 3221226066

#define SMB_NTSTATUS_LPC_REPLY_LOST 3221226067

#define SMB_NTSTATUS_IP_ADDRESS_CONFLICT1 3221226068

#define SMB_NTSTATUS_IP_ADDRESS_CONFLICT2 3221226069

#define SMB_NTSTATUS_REGISTRY_QUOTA_LIMIT 3221226070

#define SMB_NTSTATUS_PATH_NOT_COVERED 3221226071

#define SMB_NTSTATUS_NO_CALLBACK_ACTIVE 3221226072

#define SMB_NTSTATUS_LICENSE_QUOTA_EXCEEDED 3221226073

#define SMB_NTSTATUS_PWD_TOO_SHORT 3221226074

#define SMB_NTSTATUS_PWD_TOO_RECENT 3221226075

#define SMB_NTSTATUS_PWD_HISTORY_CONFLICT 3221226076

#define SMB_NTSTATUS_PLUGPLAY_NO_DEVICE 3221226078

#define SMB_NTSTATUS_UNSUPPORTED_COMPRESSION 3221226079

#define SMB_NTSTATUS_INVALID_HW_PROFILE 3221226080

#define SMB_NTSTATUS_INVALID_PLUGPLAY_DEVICE_PATH 3221226081

#define SMB_NTSTATUS_DRIVER_ORDINAL_NOT_FOUND 3221226082

#define SMB_NTSTATUS_DRIVER_ENTRYPOINT_NOT_FOUND 3221226083

#define SMB_NTSTATUS_RESOURCE_NOT_OWNED 3221226084

#define SMB_NTSTATUS_TOO_MANY_LINKS 3221226085

#define SMB_NTSTATUS_QUOTA_LIST_INCONSISTENT 3221226086

#define SMB_NTSTATUS_FILE_IS_OFFLINE 3221226087

#define SMB_NTSTATUS_EVALUATION_EXPIRATION 3221226088

#define SMB_NTSTATUS_ILLEGAL_DLL_RELOCATION 3221226089

#define SMB_NTSTATUS_LICENSE_VIOLATION 3221226090

#define SMB_NTSTATUS_DLL_INIT_FAILED_LOGOFF 3221226091

#define SMB_NTSTATUS_DRIVER_UNABLE_TO_LOAD 3221226092

#define SMB_NTSTATUS_DFS_UNAVAILABLE 3221226093

#define SMB_NTSTATUS_VOLUME_DISMOUNTED 3221226094

#define SMB_NTSTATUS_WX86_INTERNAL_ERROR 3221226095

#define SMB_NTSTATUS_WX86_FLOAT_STACK_CHECK 3221226096

#define SMB_NTSTATUS_VALIDATE_CONTINUE 3221226097

#define SMB_NTSTATUS_NO_MATCH 3221226098

#define SMB_NTSTATUS_NO_MORE_MATCHES 3221226099

#define SMB_NTSTATUS_NOT_A_REPARSE_POINT 3221226101

#define SMB_NTSTATUS_IO_REPARSE_TAG_INVALID 3221226102

#define SMB_NTSTATUS_IO_REPARSE_TAG_MISMATCH 3221226103

#define SMB_NTSTATUS_IO_REPARSE_DATA_INVALID 3221226104

#define SMB_NTSTATUS_IO_REPARSE_TAG_NOT_HANDLED 3221226105

#define SMB_NTSTATUS_REPARSE_POINT_NOT_RESOLVED 3221226112

#define SMB_NTSTATUS_DIRECTORY_IS_A_REPARSE_POINT 3221226113

#define SMB_NTSTATUS_RANGE_LIST_CONFLICT 3221226114

#define SMB_NTSTATUS_SOURCE_ELEMENT_EMPTY 3221226115

#define SMB_NTSTATUS_DESTINATION_ELEMENT_FULL 3221226116

#define SMB_NTSTATUS_ILLEGAL_ELEMENT_ADDRESS 3221226117

#define SMB_NTSTATUS_MAGAZINE_NOT_PRESENT 3221226118

#define SMB_NTSTATUS_REINITIALIZATION_NEEDED 3221226119

#define SMB_NTSTATUS_ENCRYPTION_FAILED 3221226122

#define SMB_NTSTATUS_DECRYPTION_FAILED 3221226123

#define SMB_NTSTATUS_RANGE_NOT_FOUND 3221226124

#define SMB_NTSTATUS_NO_RECOVERY_POLICY 3221226125

#define SMB_NTSTATUS_NO_EFS 3221226126

#define SMB_NTSTATUS_WRONG_EFS 3221226127

#define SMB_NTSTATUS_NO_USER_KEYS 3221226128

#define SMB_NTSTATUS_FILE_NOT_ENCRYPTED 3221226129

#define SMB_NTSTATUS_NOT_EXPORT_FORMAT 3221226130

#define SMB_NTSTATUS_FILE_ENCRYPTED 3221226131

#define SMB_NTSTATUS_WMI_GUID_NOT_FOUND 3221226133

#define SMB_NTSTATUS_WMI_INSTANCE_NOT_FOUND 3221226134

#define SMB_NTSTATUS_WMI_ITEMID_NOT_FOUND 3221226135

#define SMB_NTSTATUS_WMI_TRY_AGAIN 3221226136

#define SMB_NTSTATUS_SHARED_POLICY 3221226137

#define SMB_NTSTATUS_POLICY_OBJECT_NOT_FOUND 3221226138

#define SMB_NTSTATUS_POLICY_ONLY_IN_DS 3221226139

#define SMB_NTSTATUS_VOLUME_NOT_UPGRADED 3221226140

#define SMB_NTSTATUS_REMOTE_STORAGE_NOT_ACTIVE 3221226141

#define SMB_NTSTATUS_REMOTE_STORAGE_MEDIA_ERROR 3221226142

#define SMB_NTSTATUS_NO_TRACKING_SERVICE 3221226143

#define SMB_NTSTATUS_SERVER_SID_MISMATCH 3221226144

#define SMB_NTSTATUS_DS_NO_ATTRIBUTE_OR_VALUE 3221226145

#define SMB_NTSTATUS_DS_INVALID_ATTRIBUTE_SYNTAX 3221226146

#define SMB_NTSTATUS_DS_ATTRIBUTE_TYPE_UNDEFINED 3221226147

#define SMB_NTSTATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS 3221226148

#define SMB_NTSTATUS_DS_BUSY 3221226149

#define SMB_NTSTATUS_DS_UNAVAILABLE 3221226150

#define SMB_NTSTATUS_DS_NO_RIDS_ALLOCATED 3221226151

#define SMB_NTSTATUS_DS_NO_MORE_RIDS 3221226152

#define SMB_NTSTATUS_DS_INCORRECT_ROLE_OWNER 3221226153

#define SMB_NTSTATUS_DS_RIDMGR_INIT_ERROR 3221226154

#define SMB_NTSTATUS_DS_OBJ_CLASS_VIOLATION 3221226155

#define SMB_NTSTATUS_DS_CANT_ON_NON_LEAF 3221226156

#define SMB_NTSTATUS_DS_CANT_ON_RDN 3221226157

#define SMB_NTSTATUS_DS_CANT_MOD_OBJ_CLASS 3221226158

#define SMB_NTSTATUS_DS_CROSS_DOM_MOVE_FAILED 3221226159

#define SMB_NTSTATUS_DS_GC_NOT_AVAILABLE 3221226160

#define SMB_NTSTATUS_DIRECTORY_SERVICE_REQUIRED 3221226161

#define SMB_NTSTATUS_REPARSE_ATTRIBUTE_CONFLICT 3221226162

#define SMB_NTSTATUS_CANT_ENABLE_DENY_ONLY 3221226163

#define SMB_NTSTATUS_FLOAT_MULTIPLE_FAULTS 3221226164

#define SMB_NTSTATUS_FLOAT_MULTIPLE_TRAPS 3221226165

#define SMB_NTSTATUS_DEVICE_REMOVED 3221226166

#define SMB_NTSTATUS_JOURNAL_DELETE_IN_PROGRESS 3221226167

#define SMB_NTSTATUS_JOURNAL_NOT_ACTIVE 3221226168

#define SMB_NTSTATUS_NOINTERFACE 3221226169

#define SMB_NTSTATUS_DS_ADMIN_LIMIT_EXCEEDED 3221226177

#define SMB_NTSTATUS_DRIVER_FAILED_SLEEP 3221226178

#define SMB_NTSTATUS_MUTUAL_AUTHENTICATION_FAILED 3221226179

#define SMB_NTSTATUS_CORRUPT_SYSTEM_FILE 3221226180

#define SMB_NTSTATUS_DATATYPE_MISALIGNMENT_ERROR 3221226181

#define SMB_NTSTATUS_WMI_READ_ONLY 3221226182

#define SMB_NTSTATUS_WMI_SET_FAILURE 3221226183

#define SMB_NTSTATUS_COMMITMENT_MINIMUM 3221226184

#define SMB_NTSTATUS_REG_NAT_CONSUMPTION 3221226185

#define SMB_NTSTATUS_TRANSPORT_FULL 3221226186

#define SMB_NTSTATUS_DS_SAM_INIT_FAILURE 3221226187

#define SMB_NTSTATUS_ONLY_IF_CONNECTED 3221226188

#define SMB_NTSTATUS_DS_SENSITIVE_GROUP_VIOLATION 3221226189

#define SMB_NTSTATUS_PNP_RESTART_ENUMERATION 3221226190

#define SMB_NTSTATUS_JOURNAL_ENTRY_DELETED 3221226191

#define SMB_NTSTATUS_DS_CANT_MOD_PRIMARYGROUPID 3221226192

#define SMB_NTSTATUS_SYSTEM_IMAGE_BAD_SIGNATURE 3221226193

#define SMB_NTSTATUS_PNP_REBOOT_REQUIRED 3221226194

#define SMB_NTSTATUS_POWER_STATE_INVALID 3221226195

#define SMB_NTSTATUS_DS_INVALID_GROUP_TYPE 3221226196

#define SMB_NTSTATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN 3221226197

#define SMB_NTSTATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN 3221226198

#define SMB_NTSTATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER 3221226199

#define SMB_NTSTATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER 3221226200

#define SMB_NTSTATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER 3221226201

#define SMB_NTSTATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER 3221226202

#define SMB_NTSTATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER 3221226203

#define SMB_NTSTATUS_DS_HAVE_PRIMARY_MEMBERS 3221226204

#define SMB_NTSTATUS_WMI_NOT_SUPPORTED 3221226205

#define SMB_NTSTATUS_INSUFFICIENT_POWER 3221226206

#define SMB_NTSTATUS_SAM_NEED_BOOTKEY_PASSWORD 3221226207

#define SMB_NTSTATUS_SAM_NEED_BOOTKEY_FLOPPY 3221226208

#define SMB_NTSTATUS_DS_CANT_START 3221226209

#define SMB_NTSTATUS_DS_INIT_FAILURE 3221226210

#define SMB_NTSTATUS_SAM_INIT_FAILURE 3221226211

#define SMB_NTSTATUS_DS_GC_REQUIRED 3221226212

#define SMB_NTSTATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY 3221226213

#define SMB_NTSTATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS 3221226214

#define SMB_NTSTATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED 3221226215

#define SMB_NTSTATUS_CURRENT_DOMAIN_NOT_ALLOWED 3221226217

#define SMB_NTSTATUS_CANNOT_MAKE 3221226218

#define SMB_NTSTATUS_SYSTEM_SHUTDOWN 3221226219

#define SMB_NTSTATUS_DS_INIT_FAILURE_CONSOLE 3221226220

#define SMB_NTSTATUS_DS_SAM_INIT_FAILURE_CONSOLE 3221226221

#define SMB_NTSTATUS_UNFINISHED_CONTEXT_DELETED 3221226222

#define SMB_NTSTATUS_NO_TGT_REPLY 3221226223

#define SMB_NTSTATUS_OBJECTID_NOT_FOUND 3221226224

#define SMB_NTSTATUS_NO_IP_ADDRESSES 3221226225

#define SMB_NTSTATUS_WRONG_CREDENTIAL_HANDLE 3221226226

#define SMB_NTSTATUS_CRYPTO_SYSTEM_INVALID 3221226227

#define SMB_NTSTATUS_MAX_REFERRALS_EXCEEDED 3221226228

#define SMB_NTSTATUS_MUST_BE_KDC 3221226229

#define SMB_NTSTATUS_STRONG_CRYPTO_NOT_SUPPORTED 3221226230

#define SMB_NTSTATUS_TOO_MANY_PRINCIPALS 3221226231

#define SMB_NTSTATUS_NO_PA_DATA 3221226232

#define SMB_NTSTATUS_PKINIT_NAME_MISMATCH 3221226233

#define SMB_NTSTATUS_SMARTCARD_LOGON_REQUIRED 3221226234

#define SMB_NTSTATUS_KDC_INVALID_REQUEST 3221226235

#define SMB_NTSTATUS_KDC_UNABLE_TO_REFER 3221226236

#define SMB_NTSTATUS_KDC_UNKNOWN_ETYPE 3221226237

#define SMB_NTSTATUS_SHUTDOWN_IN_PROGRESS 3221226238

#define SMB_NTSTATUS_SERVER_SHUTDOWN_IN_PROGRESS 3221226239

#define SMB_NTSTATUS_NOT_SUPPORTED_ON_SBS 3221226240

#define SMB_NTSTATUS_WMI_GUID_DISCONNECTED 3221226241

#define SMB_NTSTATUS_WMI_ALREADY_DISABLED 3221226242

#define SMB_NTSTATUS_WMI_ALREADY_ENABLED 3221226243

#define SMB_NTSTATUS_MFT_TOO_FRAGMENTED 3221226244

#define SMB_NTSTATUS_COPY_PROTECTION_FAILURE 3221226245

#define SMB_NTSTATUS_CSS_AUTHENTICATION_FAILURE 3221226246

#define SMB_NTSTATUS_CSS_KEY_NOT_PRESENT 3221226247

#define SMB_NTSTATUS_CSS_KEY_NOT_ESTABLISHED 3221226248

#define SMB_NTSTATUS_CSS_SCRAMBLED_SECTOR 3221226249

#define SMB_NTSTATUS_CSS_REGION_MISMATCH 3221226250

#define SMB_NTSTATUS_CSS_RESETS_EXHAUSTED 3221226251

#define SMB_NTSTATUS_PKINIT_FAILURE 3221226272

#define SMB_NTSTATUS_SMARTCARD_SUBSYSTEM_FAILURE 3221226273

#define SMB_NTSTATUS_NO_KERB_KEY 3221226274

#define SMB_NTSTATUS_HOST_DOWN 3221226320

#define SMB_NTSTATUS_UNSUPPORTED_PREAUTH 3221226321

#define SMB_NTSTATUS_EFS_ALG_BLOB_TOO_BIG 3221226322

#define SMB_NTSTATUS_PORT_NOT_SET 3221226323

#define SMB_NTSTATUS_DEBUGGER_INACTIVE 3221226324

#define SMB_NTSTATUS_DS_VERSION_CHECK_FAILURE 3221226325

#define SMB_NTSTATUS_AUDITING_DISABLED 3221226326

#define SMB_NTSTATUS_PRENT4_MACHINE_ACCOUNT 3221226327

#define SMB_NTSTATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER 3221226328

#define SMB_NTSTATUS_INVALID_IMAGE_WIN_32 3221226329

#define SMB_NTSTATUS_INVALID_IMAGE_WIN_64 3221226330

#define SMB_NTSTATUS_BAD_BINDINGS 3221226331

#define SMB_NTSTATUS_NETWORK_SESSION_EXPIRED 3221226332

#define SMB_NTSTATUS_APPHELP_BLOCK 3221226333

#define SMB_NTSTATUS_ALL_SIDS_FILTERED 3221226334

#define SMB_NTSTATUS_NOT_SAFE_MODE_DRIVER 3221226335

#define SMB_NTSTATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT 3221226337

#define SMB_NTSTATUS_ACCESS_DISABLED_BY_POLICY_PATH 3221226338

#define SMB_NTSTATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER 3221226339

#define SMB_NTSTATUS_ACCESS_DISABLED_BY_POLICY_OTHER 3221226340

#define SMB_NTSTATUS_FAILED_DRIVER_ENTRY 3221226341

#define SMB_NTSTATUS_DEVICE_ENUMERATION_ERROR 3221226342

#define SMB_NTSTATUS_MOUNT_POINT_NOT_RESOLVED 3221226344

#define SMB_NTSTATUS_INVALID_DEVICE_OBJECT_PARAMETER 3221226345

#define SMB_NTSTATUS_MCA_OCCURED 3221226346

#define SMB_NTSTATUS_DRIVER_BLOCKED_CRITICAL 3221226347

#define SMB_NTSTATUS_DRIVER_BLOCKED 3221226348

#define SMB_NTSTATUS_DRIVER_DATABASE_ERROR 3221226349

#define SMB_NTSTATUS_SYSTEM_HIVE_TOO_LARGE 3221226350

#define SMB_NTSTATUS_INVALID_IMPORT_OF_NON_DLL 3221226351

#define SMB_NTSTATUS_NO_SECRETS 3221226353

#define SMB_NTSTATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY 3221226354

#define SMB_NTSTATUS_FAILED_STACK_SWITCH 3221226355

#define SMB_NTSTATUS_HEAP_CORRUPTION 3221226356

#define SMB_NTSTATUS_SMARTCARD_WRONG_PIN 3221226368

#define SMB_NTSTATUS_SMARTCARD_CARD_BLOCKED 3221226369

#define SMB_NTSTATUS_SMARTCARD_CARD_NOT_AUTHENTICATED 3221226370

#define SMB_NTSTATUS_SMARTCARD_NO_CARD 3221226371

#define SMB_NTSTATUS_SMARTCARD_NO_KEY_CONTAINER 3221226372

#define SMB_NTSTATUS_SMARTCARD_NO_CERTIFICATE 3221226373

#define SMB_NTSTATUS_SMARTCARD_NO_KEYSET 3221226374

#define SMB_NTSTATUS_SMARTCARD_IO_ERROR 3221226375

#define SMB_NTSTATUS_DOWNGRADE_DETECTED 3221226376

#define SMB_NTSTATUS_SMARTCARD_CERT_REVOKED 3221226377

#define SMB_NTSTATUS_ISSUING_CA_UNTRUSTED 3221226378

#define SMB_NTSTATUS_REVOCATION_OFFLINE_C 3221226379

#define SMB_NTSTATUS_PKINIT_CLIENT_FAILURE 3221226380

#define SMB_NTSTATUS_SMARTCARD_CERT_EXPIRED 3221226381

#define SMB_NTSTATUS_DRIVER_FAILED_PRIOR_UNLOAD 3221226382

#define SMB_NTSTATUS_SMARTCARD_SILENT_CONTEXT 3221226383

#define SMB_NTSTATUS_PER_USER_TRUST_QUOTA_EXCEEDED 3221226497

#define SMB_NTSTATUS_ALL_USER_TRUST_QUOTA_EXCEEDED 3221226498

#define SMB_NTSTATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED 3221226499

#define SMB_NTSTATUS_DS_NAME_NOT_UNIQUE 3221226500

#define SMB_NTSTATUS_DS_DUPLICATE_ID_FOUND 3221226501

#define SMB_NTSTATUS_DS_GROUP_CONVERSION_ERROR 3221226502

#define SMB_NTSTATUS_VOLSNAP_PREPARE_HIBERNATE 3221226503

#define SMB_NTSTATUS_USER2USER_REQUIRED 3221226504

#define SMB_NTSTATUS_STACK_BUFFER_OVERRUN 3221226505

#define SMB_NTSTATUS_NO_S4U_PROT_SUPPORT 3221226506

#define SMB_NTSTATUS_CROSSREALM_DELEGATION_FAILURE 3221226507

#define SMB_NTSTATUS_REVOCATION_OFFLINE_KDC 3221226508

#define SMB_NTSTATUS_ISSUING_CA_UNTRUSTED_KDC 3221226509

#define SMB_NTSTATUS_KDC_CERT_EXPIRED 3221226510

#define SMB_NTSTATUS_KDC_CERT_REVOKED 3221226511

#define SMB_NTSTATUS_PARAMETER_QUOTA_EXCEEDED 3221226512

#define SMB_NTSTATUS_HIBERNATION_FAILURE 3221226513

#define SMB_NTSTATUS_DELAY_LOAD_FAILED 3221226514

#define SMB_NTSTATUS_AUTHENTICATION_FIREWALL_FAILED 3221226515

#define SMB_NTSTATUS_VDM_DISALLOWED 3221226516

#define SMB_NTSTATUS_HUNG_DISPLAY_DRIVER_THREAD 3221226517

#define SMB_NTSTATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE 3221226518

#define SMB_NTSTATUS_INVALID_CRUNTIME_PARAMETER 3221226519

#define SMB_NTSTATUS_NTLM_BLOCKED 3221226520

#define SMB_NTSTATUS_DS_SRC_SID_EXISTS_IN_FOREST 3221226521

#define SMB_NTSTATUS_DS_DOMAIN_NAME_EXISTS_IN_FOREST 3221226522

#define SMB_NTSTATUS_DS_FLAT_NAME_EXISTS_IN_FOREST 3221226523

#define SMB_NTSTATUS_INVALID_USER_PRINCIPAL_NAME 3221226524

#define SMB_NTSTATUS_ASSERTION_FAILURE 3221226528

#define SMB_NTSTATUS_VERIFIER_STOP 3221226529

#define SMB_NTSTATUS_CALLBACK_POP_STACK 3221226531

#define SMB_NTSTATUS_INCOMPATIBLE_DRIVER_BLOCKED 3221226532

#define SMB_NTSTATUS_HIVE_UNLOADED 3221226533

#define SMB_NTSTATUS_COMPRESSION_DISABLED 3221226534

#define SMB_NTSTATUS_FILE_SYSTEM_LIMITATION 3221226535

#define SMB_NTSTATUS_INVALID_IMAGE_HASH 3221226536

#define SMB_NTSTATUS_NOT_CAPABLE 3221226537

#define SMB_NTSTATUS_REQUEST_OUT_OF_SEQUENCE 3221226538

#define SMB_NTSTATUS_IMPLEMENTATION_LIMIT 3221226539

#define SMB_NTSTATUS_ELEVATION_REQUIRED 3221226540

#define SMB_NTSTATUS_NO_SECURITY_CONTEXT 3221226541

#define SMB_NTSTATUS_PKU2U_CERT_FAILURE 3221226542

#define SMB_NTSTATUS_BEYOND_VDL 3221226546

#define SMB_NTSTATUS_ENCOUNTERED_WRITE_IN_PROGRESS 3221226547

#define SMB_NTSTATUS_PTE_CHANGED 3221226548

#define SMB_NTSTATUS_PURGE_FAILED 3221226549

#define SMB_NTSTATUS_CRED_REQUIRES_CONFIRMATION 3221226560

#define SMB_NTSTATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE 3221226561

#define SMB_NTSTATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER 3221226562

#define SMB_NTSTATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE 3221226563

#define SMB_NTSTATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE 3221226564

#define SMB_NTSTATUS_CS_ENCRYPTION_FILE_NOT_CSE 3221226565

#define SMB_NTSTATUS_INVALID_LABEL 3221226566

#define SMB_NTSTATUS_DRIVER_PROCESS_TERMINATED 3221226576

#define SMB_NTSTATUS_AMBIGUOUS_SYSTEM_DEVICE 3221226577

#define SMB_NTSTATUS_SYSTEM_DEVICE_NOT_FOUND 3221226578

#define SMB_NTSTATUS_RESTART_BOOT_APPLICATION 3221226579

#define SMB_NTSTATUS_INSUFFICIENT_NVRAM_RESOURCES 3221226580

#define SMB_NTSTATUS_NO_RANGES_PROCESSED 3221226592

#define SMB_NTSTATUS_DEVICE_FEATURE_NOT_SUPPORTED 3221226595

#define SMB_NTSTATUS_DEVICE_UNREACHABLE 3221226596

#define SMB_NTSTATUS_INVALID_TOKEN 3221226597

#define SMB_NTSTATUS_SERVER_UNAVAILABLE 3221226598

#define SMB_NTSTATUS_INVALID_TASK_NAME 3221226752

#define SMB_NTSTATUS_INVALID_TASK_INDEX 3221226753

#define SMB_NTSTATUS_THREAD_ALREADY_IN_TASK 3221226754

#define SMB_NTSTATUS_CALLBACK_BYPASS 3221226755

#define SMB_NTSTATUS_FAIL_FAST_EXCEPTION 3221227010

#define SMB_NTSTATUS_IMAGE_CERT_REVOKED 3221227011

#define SMB_NTSTATUS_PORT_CLOSED 3221227264

#define SMB_NTSTATUS_MESSAGE_LOST 3221227265

#define SMB_NTSTATUS_INVALID_MESSAGE 3221227266

#define SMB_NTSTATUS_REQUEST_CANCELED 3221227267

#define SMB_NTSTATUS_RECURSIVE_DISPATCH 3221227268

#define SMB_NTSTATUS_LPC_RECEIVE_BUFFER_EXPECTED 3221227269

#define SMB_NTSTATUS_LPC_INVALID_CONNECTION_USAGE 3221227270

#define SMB_NTSTATUS_LPC_REQUESTS_NOT_ALLOWED 3221227271

#define SMB_NTSTATUS_RESOURCE_IN_USE 3221227272

#define SMB_NTSTATUS_HARDWARE_MEMORY_ERROR 3221227273

#define SMB_NTSTATUS_THREADPOOL_HANDLE_EXCEPTION 3221227274

#define SMB_NTSTATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED 3221227275

#define SMB_NTSTATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED 3221227276

#define SMB_NTSTATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED 3221227277

#define SMB_NTSTATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED 3221227278

#define SMB_NTSTATUS_THREADPOOL_RELEASED_DURING_OPERATION 3221227279

#define SMB_NTSTATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING 3221227280

#define SMB_NTSTATUS_APC_RETURNED_WHILE_IMPERSONATING 3221227281

#define SMB_NTSTATUS_PROCESS_IS_PROTECTED 3221227282

#define SMB_NTSTATUS_MCA_EXCEPTION 3221227283

#define SMB_NTSTATUS_CERTIFICATE_MAPPING_NOT_UNIQUE 3221227284

#define SMB_NTSTATUS_SYMLINK_CLASS_DISABLED 3221227285

#define SMB_NTSTATUS_INVALID_IDN_NORMALIZATION 3221227286

#define SMB_NTSTATUS_NO_UNICODE_TRANSLATION 3221227287

#define SMB_NTSTATUS_ALREADY_REGISTERED 3221227288

#define SMB_NTSTATUS_CONTEXT_MISMATCH 3221227289

#define SMB_NTSTATUS_PORT_ALREADY_HAS_COMPLETION_LIST 3221227290

#define SMB_NTSTATUS_CALLBACK_RETURNED_THREAD_PRIORITY 3221227291

#define SMB_NTSTATUS_INVALID_THREAD 3221227292

#define SMB_NTSTATUS_CALLBACK_RETURNED_TRANSACTION 3221227293

#define SMB_NTSTATUS_CALLBACK_RETURNED_LDR_LOCK 3221227294

#define SMB_NTSTATUS_CALLBACK_RETURNED_LANG 3221227295

#define SMB_NTSTATUS_CALLBACK_RETURNED_PRI_BACK 3221227296

#define SMB_NTSTATUS_DISK_REPAIR_DISABLED 3221227520

#define SMB_NTSTATUS_DS_DOMAIN_RENAME_IN_PROGRESS 3221227521

#define SMB_NTSTATUS_DISK_QUOTA_EXCEEDED 3221227522

#define SMB_NTSTATUS_CONTENT_BLOCKED 3221227524

#define SMB_NTSTATUS_BAD_CLUSTERS 3221227525

#define SMB_NTSTATUS_VOLUME_DIRTY 3221227526

#define SMB_NTSTATUS_FILE_CHECKED_OUT 3221227777

#define SMB_NTSTATUS_CHECKOUT_REQUIRED 3221227778

#define SMB_NTSTATUS_BAD_FILE_TYPE 3221227779

#define SMB_NTSTATUS_FILE_TOO_LARGE 3221227780

#define SMB_NTSTATUS_FORMS_AUTH_REQUIRED 3221227781

#define SMB_NTSTATUS_VIRUS_INFECTED 3221227782

#define SMB_NTSTATUS_VIRUS_DELETED 3221227783

#define SMB_NTSTATUS_BAD_MCFG_TABLE 3221227784

#define SMB_NTSTATUS_CANNOT_BREAK_OPLOCK 3221227785

#define SMB_NTSTATUS_WOW_ASSERTION 3221264536

#define SMB_NTSTATUS_INVALID_SIGNATURE 3221266432

#define SMB_NTSTATUS_HMAC_NOT_SUPPORTED 3221266433

#define SMB_NTSTATUS_IPSEC_QUEUE_OVERFLOW 3221266448

#define SMB_NTSTATUS_ND_QUEUE_OVERFLOW 3221266449

#define SMB_NTSTATUS_HOPLIMIT_EXCEEDED 3221266450

#define SMB_NTSTATUS_PROTOCOL_NOT_SUPPORTED 3221266451

#define SMB_NTSTATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED 3221266560

#define SMB_NTSTATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR 3221266561

#define SMB_NTSTATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR 3221266562

#define SMB_NTSTATUS_XML_PARSE_ERROR 3221266563

#define SMB_NTSTATUS_XMLDSIG_ERROR 3221266564

#define SMB_NTSTATUS_WRONG_COMPARTMENT 3221266565

#define SMB_NTSTATUS_AUTHIP_FAILURE 3221266566

#define SMB_NTSTATUS_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS 3221266567

#define SMB_NTSTATUS_DS_OID_NOT_FOUND 3221266568

#define SMB_NTSTATUS_HASH_NOT_SUPPORTED 3221266688

#define SMB_NTSTATUS_HASH_NOT_PRESENT 3221266689

#define SMB_NTSTATUS_OFFLOAD_READ_FLT_NOT_SUPPORTED 3221267105

#define SMB_NTSTATUS_OFFLOAD_WRITE_FLT_NOT_SUPPORTED 3221267106

#define SMB_NTSTATUS_OFFLOAD_READ_FILE_NOT_SUPPORTED 3221267107

#define SMB_NTSTATUS_OFFLOAD_WRITE_FILE_NOT_SUPPORTED 3221267108

#define SMB_NTDBG_NO_STATE_CHANGE 3221291009

#define SMB_NTDBG_APP_NOT_IDLE 3221291010

#define SMB_NTRPC_NT_INVALID_STRING_BINDING 3221356545

#define SMB_NTRPC_NT_WRONG_KIND_OF_BINDING 3221356546

#define SMB_NTRPC_NT_INVALID_BINDING 3221356547

#define SMB_NTRPC_NT_PROTSEQ_NOT_SUPPORTED 3221356548

#define SMB_NTRPC_NT_INVALID_RPC_PROTSEQ 3221356549

#define SMB_NTRPC_NT_INVALID_STRING_UUID 3221356550

#define SMB_NTRPC_NT_INVALID_ENDPOINT_FORMAT 3221356551

#define SMB_NTRPC_NT_INVALID_NET_ADDR 3221356552

#define SMB_NTRPC_NT_NO_ENDPOINT_FOUND 3221356553

#define SMB_NTRPC_NT_INVALID_TIMEOUT 3221356554

#define SMB_NTRPC_NT_OBJECT_NOT_FOUND 3221356555

#define SMB_NTRPC_NT_ALREADY_REGISTERED 3221356556

#define SMB_NTRPC_NT_TYPE_ALREADY_REGISTERED 3221356557

#define SMB_NTRPC_NT_ALREADY_LISTENING 3221356558

#define SMB_NTRPC_NT_NO_PROTSEQS_REGISTERED 3221356559

#define SMB_NTRPC_NT_NOT_LISTENING 3221356560

#define SMB_NTRPC_NT_UNKNOWN_MGR_TYPE 3221356561

#define SMB_NTRPC_NT_UNKNOWN_IF 3221356562

#define SMB_NTRPC_NT_NO_BINDINGS 3221356563

#define SMB_NTRPC_NT_NO_PROTSEQS 3221356564

#define SMB_NTRPC_NT_CANT_CREATE_ENDPOINT 3221356565

#define SMB_NTRPC_NT_OUT_OF_RESOURCES 3221356566

#define SMB_NTRPC_NT_SERVER_UNAVAILABLE 3221356567

#define SMB_NTRPC_NT_SERVER_TOO_BUSY 3221356568

#define SMB_NTRPC_NT_INVALID_NETWORK_OPTIONS 3221356569

#define SMB_NTRPC_NT_NO_CALL_ACTIVE 3221356570

#define SMB_NTRPC_NT_CALL_FAILED 3221356571

#define SMB_NTRPC_NT_CALL_FAILED_DNE 3221356572

#define SMB_NTRPC_NT_PROTOCOL_ERROR 3221356573

#define SMB_NTRPC_NT_UNSUPPORTED_TRANS_SYN 3221356575

#define SMB_NTRPC_NT_UNSUPPORTED_TYPE 3221356577

#define SMB_NTRPC_NT_INVALID_TAG 3221356578

#define SMB_NTRPC_NT_INVALID_BOUND 3221356579

#define SMB_NTRPC_NT_NO_ENTRY_NAME 3221356580

#define SMB_NTRPC_NT_INVALID_NAME_SYNTAX 3221356581

#define SMB_NTRPC_NT_UNSUPPORTED_NAME_SYNTAX 3221356582

#define SMB_NTRPC_NT_UUID_NO_ADDRESS 3221356584

#define SMB_NTRPC_NT_DUPLICATE_ENDPOINT 3221356585

#define SMB_NTRPC_NT_UNKNOWN_AUTHN_TYPE 3221356586

#define SMB_NTRPC_NT_MAX_CALLS_TOO_SMALL 3221356587

#define SMB_NTRPC_NT_STRING_TOO_LONG 3221356588

#define SMB_NTRPC_NT_PROTSEQ_NOT_FOUND 3221356589

#define SMB_NTRPC_NT_PROCNUM_OUT_OF_RANGE 3221356590

#define SMB_NTRPC_NT_BINDING_HAS_NO_AUTH 3221356591

#define SMB_NTRPC_NT_UNKNOWN_AUTHN_SERVICE 3221356592

#define SMB_NTRPC_NT_UNKNOWN_AUTHN_LEVEL 3221356593

#define SMB_NTRPC_NT_INVALID_AUTH_IDENTITY 3221356594

#define SMB_NTRPC_NT_UNKNOWN_AUTHZ_SERVICE 3221356595

#define SMB_NTEPT_NT_INVALID_ENTRY 3221356596

#define SMB_NTEPT_NT_CANT_PERFORM_OP 3221356597

#define SMB_NTEPT_NT_NOT_REGISTERED 3221356598

#define SMB_NTRPC_NT_NOTHING_TO_EXPORT 3221356599

#define SMB_NTRPC_NT_INCOMPLETE_NAME 3221356600

#define SMB_NTRPC_NT_INVALID_VERS_OPTION 3221356601

#define SMB_NTRPC_NT_NO_MORE_MEMBERS 3221356602

#define SMB_NTRPC_NT_NOT_ALL_OBJS_UNEXPORTED 3221356603

#define SMB_NTRPC_NT_INTERFACE_NOT_FOUND 3221356604

#define SMB_NTRPC_NT_ENTRY_ALREADY_EXISTS 3221356605

#define SMB_NTRPC_NT_ENTRY_NOT_FOUND 3221356606

#define SMB_NTRPC_NT_NAME_SERVICE_UNAVAILABLE 3221356607

#define SMB_NTRPC_NT_INVALID_NAF_ID 3221356608

#define SMB_NTRPC_NT_CANNOT_SUPPORT 3221356609

#define SMB_NTRPC_NT_NO_CONTEXT_AVAILABLE 3221356610

#define SMB_NTRPC_NT_INTERNAL_ERROR 3221356611

#define SMB_NTRPC_NT_ZERO_DIVIDE 3221356612

#define SMB_NTRPC_NT_ADDRESS_ERROR 3221356613

#define SMB_NTRPC_NT_FP_DIV_ZERO 3221356614

#define SMB_NTRPC_NT_FP_UNDERFLOW 3221356615

#define SMB_NTRPC_NT_FP_OVERFLOW 3221356616

#define SMB_NTRPC_NT_CALL_IN_PROGRESS 3221356617

#define SMB_NTRPC_NT_NO_MORE_BINDINGS 3221356618

#define SMB_NTRPC_NT_GROUP_MEMBER_NOT_FOUND 3221356619

#define SMB_NTEPT_NT_CANT_CREATE 3221356620

#define SMB_NTRPC_NT_INVALID_OBJECT 3221356621

#define SMB_NTRPC_NT_NO_INTERFACES 3221356623

#define SMB_NTRPC_NT_CALL_CANCELLED 3221356624

#define SMB_NTRPC_NT_BINDING_INCOMPLETE 3221356625

#define SMB_NTRPC_NT_COMM_FAILURE 3221356626

#define SMB_NTRPC_NT_UNSUPPORTED_AUTHN_LEVEL 3221356627

#define SMB_NTRPC_NT_NO_PRINC_NAME 3221356628

#define SMB_NTRPC_NT_NOT_RPC_ERROR 3221356629

#define SMB_NTRPC_NT_SEC_PKG_ERROR 3221356631

#define SMB_NTRPC_NT_NOT_CANCELLED 3221356632

#define SMB_NTRPC_NT_INVALID_ASYNC_HANDLE 3221356642

#define SMB_NTRPC_NT_INVALID_ASYNC_CALL 3221356643

#define SMB_NTRPC_NT_PROXY_ACCESS_DENIED 3221356644

#define SMB_NTRPC_NT_NO_MORE_ENTRIES 3221422081

#define SMB_NTRPC_NT_SS_CHAR_TRANS_OPEN_FAIL 3221422082

#define SMB_NTRPC_NT_SS_CHAR_TRANS_SHORT_FILE 3221422083

#define SMB_NTRPC_NT_SS_IN_NULL_CONTEXT 3221422084

#define SMB_NTRPC_NT_SS_CONTEXT_MISMATCH 3221422085

#define SMB_NTRPC_NT_SS_CONTEXT_DAMAGED 3221422086

#define SMB_NTRPC_NT_SS_HANDLES_MISMATCH 3221422087

#define SMB_NTRPC_NT_SS_CANNOT_GET_CALL_HANDLE 3221422088

#define SMB_NTRPC_NT_NULL_REF_POINTER 3221422089

#define SMB_NTRPC_NT_ENUM_VALUE_OUT_OF_RANGE 3221422090

#define SMB_NTRPC_NT_BYTE_COUNT_TOO_SMALL 3221422091

#define SMB_NTRPC_NT_BAD_STUB_DATA 3221422092

#define SMB_NTRPC_NT_INVALID_ES_ACTION 3221422169

#define SMB_NTRPC_NT_WRONG_ES_VERSION 3221422170

#define SMB_NTRPC_NT_WRONG_STUB_VERSION 3221422171

#define SMB_NTRPC_NT_INVALID_PIPE_OBJECT 3221422172

#define SMB_NTRPC_NT_INVALID_PIPE_OPERATION 3221422173

#define SMB_NTRPC_NT_WRONG_PIPE_VERSION 3221422174

#define SMB_NTRPC_NT_PIPE_CLOSED 3221422175

#define SMB_NTRPC_NT_PIPE_DISCIPLINE_ERROR 3221422176

#define SMB_NTRPC_NT_PIPE_EMPTY 3221422177

#define SMB_NTSTATUS_PNP_BAD_MPS_TABLE 3221487669

#define SMB_NTSTATUS_PNP_TRANSLATION_FAILED 3221487670

#define SMB_NTSTATUS_PNP_IRQ_TRANSLATION_FAILED 3221487671

#define SMB_NTSTATUS_PNP_INVALID_ID 3221487672

#define SMB_NTSTATUS_IO_REISSUE_AS_CACHED 3221487673

#define SMB_NTSTATUS_CTX_WINSTATION_NAME_INVALID 3221880833

#define SMB_NTSTATUS_CTX_INVALID_PD 3221880834

#define SMB_NTSTATUS_CTX_PD_NOT_FOUND 3221880835

#define SMB_NTSTATUS_CTX_CLOSE_PENDING 3221880838

#define SMB_NTSTATUS_CTX_NO_OUTBUF 3221880839

#define SMB_NTSTATUS_CTX_MODEM_INF_NOT_FOUND 3221880840

#define SMB_NTSTATUS_CTX_INVALID_MODEMNAME 3221880841

#define SMB_NTSTATUS_CTX_RESPONSE_ERROR 3221880842

#define SMB_NTSTATUS_CTX_MODEM_RESPONSE_TIMEOUT 3221880843

#define SMB_NTSTATUS_CTX_MODEM_RESPONSE_NO_CARRIER 3221880844

#define SMB_NTSTATUS_CTX_MODEM_RESPONSE_NO_DIALTONE 3221880845

#define SMB_NTSTATUS_CTX_MODEM_RESPONSE_BUSY 3221880846

#define SMB_NTSTATUS_CTX_MODEM_RESPONSE_VOICE 3221880847

#define SMB_NTSTATUS_CTX_TD_ERROR 3221880848

#define SMB_NTSTATUS_CTX_LICENSE_CLIENT_INVALID 3221880850

#define SMB_NTSTATUS_CTX_LICENSE_NOT_AVAILABLE 3221880851

#define SMB_NTSTATUS_CTX_LICENSE_EXPIRED 3221880852

#define SMB_NTSTATUS_CTX_WINSTATION_NOT_FOUND 3221880853

#define SMB_NTSTATUS_CTX_WINSTATION_NAME_COLLISION 3221880854

#define SMB_NTSTATUS_CTX_WINSTATION_BUSY 3221880855

#define SMB_NTSTATUS_CTX_BAD_VIDEO_MODE 3221880856

#define SMB_NTSTATUS_CTX_GRAPHICS_INVALID 3221880866

#define SMB_NTSTATUS_CTX_NOT_CONSOLE 3221880868

#define SMB_NTSTATUS_CTX_CLIENT_QUERY_TIMEOUT 3221880870

#define SMB_NTSTATUS_CTX_CONSOLE_DISCONNECT 3221880871

#define SMB_NTSTATUS_CTX_CONSOLE_CONNECT 3221880872

#define SMB_NTSTATUS_CTX_SHADOW_DENIED 3221880874

#define SMB_NTSTATUS_CTX_WINSTATION_ACCESS_DENIED 3221880875

#define SMB_NTSTATUS_CTX_INVALID_WD 3221880878

#define SMB_NTSTATUS_CTX_WD_NOT_FOUND 3221880879

#define SMB_NTSTATUS_CTX_SHADOW_INVALID 3221880880

#define SMB_NTSTATUS_CTX_SHADOW_DISABLED 3221880881

#define SMB_NTSTATUS_RDP_PROTOCOL_ERROR 3221880882

#define SMB_NTSTATUS_CTX_CLIENT_LICENSE_NOT_SET 3221880883

#define SMB_NTSTATUS_CTX_CLIENT_LICENSE_IN_USE 3221880884

#define SMB_NTSTATUS_CTX_SHADOW_ENDED_BY_MODE_CHANGE 3221880885

#define SMB_NTSTATUS_CTX_SHADOW_NOT_RUNNING 3221880886

#define SMB_NTSTATUS_CTX_LOGON_DISABLED 3221880887

#define SMB_NTSTATUS_CTX_SECURITY_LAYER_ERROR 3221880888

#define SMB_NTSTATUS_TS_INCOMPATIBLE_SESSIONS 3221880889

#define SMB_NTSTATUS_MUI_FILE_NOT_FOUND 3221946369

#define SMB_NTSTATUS_MUI_INVALID_FILE 3221946370

#define SMB_NTSTATUS_MUI_INVALID_RC_CONFIG 3221946371

#define SMB_NTSTATUS_MUI_INVALID_LOCALE_NAME 3221946372

#define SMB_NTSTATUS_MUI_INVALID_ULTIMATEFALLBACK_NAME 3221946373

#define SMB_NTSTATUS_MUI_FILE_NOT_LOADED 3221946374

#define SMB_NTSTATUS_RESOURCE_ENUM_USER_STOP 3221946375

#define SMB_NTSTATUS_CLUSTER_INVALID_NODE 3222470657

#define SMB_NTSTATUS_CLUSTER_NODE_EXISTS 3222470658

#define SMB_NTSTATUS_CLUSTER_JOIN_IN_PROGRESS 3222470659

#define SMB_NTSTATUS_CLUSTER_NODE_NOT_FOUND 3222470660

#define SMB_NTSTATUS_CLUSTER_LOCAL_NODE_NOT_FOUND 3222470661

#define SMB_NTSTATUS_CLUSTER_NETWORK_EXISTS 3222470662

#define SMB_NTSTATUS_CLUSTER_NETWORK_NOT_FOUND 3222470663

#define SMB_NTSTATUS_CLUSTER_NETINTERFACE_EXISTS 3222470664

#define SMB_NTSTATUS_CLUSTER_NETINTERFACE_NOT_FOUND 3222470665

#define SMB_NTSTATUS_CLUSTER_INVALID_REQUEST 3222470666

#define SMB_NTSTATUS_CLUSTER_INVALID_NETWORK_PROVIDER 3222470667

#define SMB_NTSTATUS_CLUSTER_NODE_DOWN 3222470668

#define SMB_NTSTATUS_CLUSTER_NODE_UNREACHABLE 3222470669

#define SMB_NTSTATUS_CLUSTER_NODE_NOT_MEMBER 3222470670

#define SMB_NTSTATUS_CLUSTER_JOIN_NOT_IN_PROGRESS 3222470671

#define SMB_NTSTATUS_CLUSTER_INVALID_NETWORK 3222470672

#define SMB_NTSTATUS_CLUSTER_NO_NET_ADAPTERS 3222470673

#define SMB_NTSTATUS_CLUSTER_NODE_UP 3222470674

#define SMB_NTSTATUS_CLUSTER_NODE_PAUSED 3222470675

#define SMB_NTSTATUS_CLUSTER_NODE_NOT_PAUSED 3222470676

#define SMB_NTSTATUS_CLUSTER_NO_SECURITY_CONTEXT 3222470677

#define SMB_NTSTATUS_CLUSTER_NETWORK_NOT_INTERNAL 3222470678

#define SMB_NTSTATUS_CLUSTER_POISONED 3222470679

#define SMB_NTSTATUS_ACPI_INVALID_OPCODE 3222536193

#define SMB_NTSTATUS_ACPI_STACK_OVERFLOW 3222536194

#define SMB_NTSTATUS_ACPI_ASSERT_FAILED 3222536195

#define SMB_NTSTATUS_ACPI_INVALID_INDEX 3222536196

#define SMB_NTSTATUS_ACPI_INVALID_ARGUMENT 3222536197

#define SMB_NTSTATUS_ACPI_FATAL 3222536198

#define SMB_NTSTATUS_ACPI_INVALID_SUPERNAME 3222536199

#define SMB_NTSTATUS_ACPI_INVALID_ARGTYPE 3222536200

#define SMB_NTSTATUS_ACPI_INVALID_OBJTYPE 3222536201

#define SMB_NTSTATUS_ACPI_INVALID_TARGETTYPE 3222536202

#define SMB_NTSTATUS_ACPI_INCORRECT_ARGUMENT_COUNT 3222536203

#define SMB_NTSTATUS_ACPI_ADDRESS_NOT_MAPPED 3222536204

#define SMB_NTSTATUS_ACPI_INVALID_EVENTTYPE 3222536205

#define SMB_NTSTATUS_ACPI_HANDLER_COLLISION 3222536206

#define SMB_NTSTATUS_ACPI_INVALID_DATA 3222536207

#define SMB_NTSTATUS_ACPI_INVALID_REGION 3222536208

#define SMB_NTSTATUS_ACPI_INVALID_ACCESS_SIZE 3222536209

#define SMB_NTSTATUS_ACPI_ACQUIRE_GLOBAL_LOCK 3222536210

#define SMB_NTSTATUS_ACPI_ALREADY_INITIALIZED 3222536211

#define SMB_NTSTATUS_ACPI_NOT_INITIALIZED 3222536212

#define SMB_NTSTATUS_ACPI_INVALID_MUTEX_LEVEL 3222536213

#define SMB_NTSTATUS_ACPI_MUTEX_NOT_OWNED 3222536214

#define SMB_NTSTATUS_ACPI_MUTEX_NOT_OWNER 3222536215

#define SMB_NTSTATUS_ACPI_RS_ACCESS 3222536216

#define SMB_NTSTATUS_ACPI_INVALID_TABLE 3222536217

#define SMB_NTSTATUS_ACPI_REG_HANDLER_FAILED 3222536224

#define SMB_NTSTATUS_ACPI_POWER_REQUEST_FAILED 3222536225

#define SMB_NTSTATUS_SXS_SECTION_NOT_FOUND 3222601729

#define SMB_NTSTATUS_SXS_CANT_GEN_ACTCTX 3222601730

#define SMB_NTSTATUS_SXS_INVALID_ACTCTXDATA_FORMAT 3222601731

#define SMB_NTSTATUS_SXS_ASSEMBLY_NOT_FOUND 3222601732

#define SMB_NTSTATUS_SXS_MANIFEST_FORMAT_ERROR 3222601733

#define SMB_NTSTATUS_SXS_MANIFEST_PARSE_ERROR 3222601734

#define SMB_NTSTATUS_SXS_ACTIVATION_CONTEXT_DISABLED 3222601735

#define SMB_NTSTATUS_SXS_KEY_NOT_FOUND 3222601736

#define SMB_NTSTATUS_SXS_VERSION_CONFLICT 3222601737

#define SMB_NTSTATUS_SXS_WRONG_SECTION_TYPE 3222601738

#define SMB_NTSTATUS_SXS_THREAD_QUERIES_DISABLED 3222601739

#define SMB_NTSTATUS_SXS_ASSEMBLY_MISSING 3222601740

#define SMB_NTSTATUS_SXS_PROCESS_DEFAULT_ALREADY_SET 3222601742

#define SMB_NTSTATUS_SXS_EARLY_DEACTIVATION 3222601743

#define SMB_NTSTATUS_SXS_INVALID_DEACTIVATION 3222601744

#define SMB_NTSTATUS_SXS_MULTIPLE_DEACTIVATION 3222601745

#define SMB_NTSTATUS_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY 3222601746

#define SMB_NTSTATUS_SXS_PROCESS_TERMINATION_REQUESTED 3222601747

#define SMB_NTSTATUS_SXS_CORRUPT_ACTIVATION_STACK 3222601748

#define SMB_NTSTATUS_SXS_CORRUPTION 3222601749

#define SMB_NTSTATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE 3222601750

#define SMB_NTSTATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME 3222601751

#define SMB_NTSTATUS_SXS_IDENTITY_DUPLICATE_ATTRIBUTE 3222601752

#define SMB_NTSTATUS_SXS_IDENTITY_PARSE_ERROR 3222601753

#define SMB_NTSTATUS_SXS_COMPONENT_STORE_CORRUPT 3222601754

#define SMB_NTSTATUS_SXS_FILE_HASH_MISMATCH 3222601755

#define SMB_NTSTATUS_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT 3222601756

#define SMB_NTSTATUS_SXS_IDENTITIES_DIFFERENT 3222601757

#define SMB_NTSTATUS_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT 3222601758

#define SMB_NTSTATUS_SXS_FILE_NOT_PART_OF_ASSEMBLY 3222601759

#define SMB_NTSTATUS_ADVANCED_INSTALLER_FAILED 3222601760

#define SMB_NTSTATUS_XML_ENCODING_MISMATCH 3222601761

#define SMB_NTSTATUS_SXS_MANIFEST_TOO_BIG 3222601762

#define SMB_NTSTATUS_SXS_SETTING_NOT_REGISTERED 3222601763

#define SMB_NTSTATUS_SXS_TRANSACTION_CLOSURE_INCOMPLETE 3222601764

#define SMB_NTSTATUS_SMI_PRIMITIVE_INSTALLER_FAILED 3222601765

#define SMB_NTSTATUS_GENERIC_COMMAND_FAILED 3222601766

#define SMB_NTSTATUS_SXS_FILE_HASH_MISSING 3222601767

#define SMB_NTSTATUS_TRANSACTIONAL_CONFLICT 3222863873

#define SMB_NTSTATUS_INVALID_TRANSACTION 3222863874

#define SMB_NTSTATUS_TRANSACTION_NOT_ACTIVE 3222863875

#define SMB_NTSTATUS_TM_INITIALIZATION_FAILED 3222863876

#define SMB_NTSTATUS_RM_NOT_ACTIVE 3222863877

#define SMB_NTSTATUS_RM_METADATA_CORRUPT 3222863878

#define SMB_NTSTATUS_TRANSACTION_NOT_JOINED 3222863879

#define SMB_NTSTATUS_DIRECTORY_NOT_RM 3222863880

#define SMB_NTSTATUS_TRANSACTIONS_UNSUPPORTED_REMOTE 3222863882

#define SMB_NTSTATUS_LOG_RESIZE_INVALID_SIZE 3222863883

#define SMB_NTSTATUS_REMOTE_FILE_VERSION_MISMATCH 3222863884

#define SMB_NTSTATUS_CRM_PROTOCOL_ALREADY_EXISTS 3222863887

#define SMB_NTSTATUS_TRANSACTION_PROPAGATION_FAILED 3222863888

#define SMB_NTSTATUS_CRM_PROTOCOL_NOT_FOUND 3222863889

#define SMB_NTSTATUS_TRANSACTION_SUPERIOR_EXISTS 3222863890

#define SMB_NTSTATUS_TRANSACTION_REQUEST_NOT_VALID 3222863891

#define SMB_NTSTATUS_TRANSACTION_NOT_REQUESTED 3222863892

#define SMB_NTSTATUS_TRANSACTION_ALREADY_ABORTED 3222863893

#define SMB_NTSTATUS_TRANSACTION_ALREADY_COMMITTED 3222863894

#define SMB_NTSTATUS_TRANSACTION_INVALID_MARSHALL_BUFFER 3222863895

#define SMB_NTSTATUS_CURRENT_TRANSACTION_NOT_VALID 3222863896

#define SMB_NTSTATUS_LOG_GROWTH_FAILED 3222863897

#define SMB_NTSTATUS_OBJECT_NO_LONGER_EXISTS 3222863905

#define SMB_NTSTATUS_STREAM_MINIVERSION_NOT_FOUND 3222863906

#define SMB_NTSTATUS_STREAM_MINIVERSION_NOT_VALID 3222863907

#define SMB_NTSTATUS_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION 3222863908

#define SMB_NTSTATUS_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT 3222863909

#define SMB_NTSTATUS_CANT_CREATE_MORE_STREAM_MINIVERSIONS 3222863910

#define SMB_NTSTATUS_HANDLE_NO_LONGER_VALID 3222863912

#define SMB_NTSTATUS_LOG_CORRUPTION_DETECTED 3222863920

#define SMB_NTSTATUS_RM_DISCONNECTED 3222863922

#define SMB_NTSTATUS_ENLISTMENT_NOT_SUPERIOR 3222863923

#define SMB_NTSTATUS_FILE_IDENTITY_NOT_PERSISTENT 3222863926

#define SMB_NTSTATUS_CANT_BREAK_TRANSACTIONAL_DEPENDENCY 3222863927

#define SMB_NTSTATUS_CANT_CROSS_RM_BOUNDARY 3222863928

#define SMB_NTSTATUS_TXF_DIR_NOT_EMPTY 3222863929

#define SMB_NTSTATUS_INDOUBT_TRANSACTIONS_EXIST 3222863930

#define SMB_NTSTATUS_TM_VOLATILE 3222863931

#define SMB_NTSTATUS_ROLLBACK_TIMER_EXPIRED 3222863932

#define SMB_NTSTATUS_TXF_ATTRIBUTE_CORRUPT 3222863933

#define SMB_NTSTATUS_EFS_NOT_ALLOWED_IN_TRANSACTION 3222863934

#define SMB_NTSTATUS_TRANSACTIONAL_OPEN_NOT_ALLOWED 3222863935

#define SMB_NTSTATUS_TRANSACTED_MAPPING_UNSUPPORTED_REMOTE 3222863936

#define SMB_NTSTATUS_TRANSACTION_REQUIRED_PROMOTION 3222863939

#define SMB_NTSTATUS_CANNOT_EXECUTE_FILE_IN_TRANSACTION 3222863940

#define SMB_NTSTATUS_TRANSACTIONS_NOT_FROZEN 3222863941

#define SMB_NTSTATUS_TRANSACTION_FREEZE_IN_PROGRESS 3222863942

#define SMB_NTSTATUS_NOT_SNAPSHOT_VOLUME 3222863943

#define SMB_NTSTATUS_NO_SAVEPOINT_WITH_OPEN_FILES 3222863944

#define SMB_NTSTATUS_SPARSE_NOT_ALLOWED_IN_TRANSACTION 3222863945

#define SMB_NTSTATUS_TM_IDENTITY_MISMATCH 3222863946

#define SMB_NTSTATUS_FLOATED_SECTION 3222863947

#define SMB_NTSTATUS_CANNOT_ACCEPT_TRANSACTED_WORK 3222863948

#define SMB_NTSTATUS_CANNOT_ABORT_TRANSACTIONS 3222863949

#define SMB_NTSTATUS_TRANSACTION_NOT_FOUND 3222863950

#define SMB_NTSTATUS_RESOURCEMANAGER_NOT_FOUND 3222863951

#define SMB_NTSTATUS_ENLISTMENT_NOT_FOUND 3222863952

#define SMB_NTSTATUS_TRANSACTIONMANAGER_NOT_FOUND 3222863953

#define SMB_NTSTATUS_TRANSACTIONMANAGER_NOT_ONLINE 3222863954

#define SMB_NTSTATUS_TRANSACTIONMANAGER_RECOVERY_NAME_COLLISION 3222863955

#define SMB_NTSTATUS_TRANSACTION_NOT_ROOT 3222863956

#define SMB_NTSTATUS_TRANSACTION_OBJECT_EXPIRED 3222863957

#define SMB_NTSTATUS_COMPRESSION_NOT_ALLOWED_IN_TRANSACTION 3222863958

#define SMB_NTSTATUS_TRANSACTION_RESPONSE_NOT_ENLISTED 3222863959

#define SMB_NTSTATUS_TRANSACTION_RECORD_TOO_LONG 3222863960

#define SMB_NTSTATUS_NO_LINK_TRACKING_IN_TRANSACTION 3222863961

#define SMB_NTSTATUS_OPERATION_NOT_SUPPORTED_IN_TRANSACTION 3222863962

#define SMB_NTSTATUS_TRANSACTION_INTEGRITY_VIOLATED 3222863963

#define SMB_NTSTATUS_EXPIRED_HANDLE 3222863968

#define SMB_NTSTATUS_TRANSACTION_NOT_ENLISTED 3222863969

#define SMB_NTSTATUS_LOG_SECTOR_INVALID 3222929409

#define SMB_NTSTATUS_LOG_SECTOR_PARITY_INVALID 3222929410

#define SMB_NTSTATUS_LOG_SECTOR_REMAPPED 3222929411

#define SMB_NTSTATUS_LOG_BLOCK_INCOMPLETE 3222929412

#define SMB_NTSTATUS_LOG_INVALID_RANGE 3222929413

#define SMB_NTSTATUS_LOG_BLOCKS_EXHAUSTED 3222929414

#define SMB_NTSTATUS_LOG_READ_CONTEXT_INVALID 3222929415

#define SMB_NTSTATUS_LOG_RESTART_INVALID 3222929416

#define SMB_NTSTATUS_LOG_BLOCK_VERSION 3222929417

#define SMB_NTSTATUS_LOG_BLOCK_INVALID 3222929418

#define SMB_NTSTATUS_LOG_READ_MODE_INVALID 3222929419

#define SMB_NTSTATUS_LOG_METADATA_CORRUPT 3222929421

#define SMB_NTSTATUS_LOG_METADATA_INVALID 3222929422

#define SMB_NTSTATUS_LOG_METADATA_INCONSISTENT 3222929423

#define SMB_NTSTATUS_LOG_RESERVATION_INVALID 3222929424

#define SMB_NTSTATUS_LOG_CANT_DELETE 3222929425

#define SMB_NTSTATUS_LOG_CONTAINER_LIMIT_EXCEEDED 3222929426

#define SMB_NTSTATUS_LOG_START_OF_LOG 3222929427

#define SMB_NTSTATUS_LOG_POLICY_ALREADY_INSTALLED 3222929428

#define SMB_NTSTATUS_LOG_POLICY_NOT_INSTALLED 3222929429

#define SMB_NTSTATUS_LOG_POLICY_INVALID 3222929430

#define SMB_NTSTATUS_LOG_POLICY_CONFLICT 3222929431

#define SMB_NTSTATUS_LOG_PINNED_ARCHIVE_TAIL 3222929432

#define SMB_NTSTATUS_LOG_RECORD_NONEXISTENT 3222929433

#define SMB_NTSTATUS_LOG_RECORDS_RESERVED_INVALID 3222929434

#define SMB_NTSTATUS_LOG_SPACE_RESERVED_INVALID 3222929435

#define SMB_NTSTATUS_LOG_TAIL_INVALID 3222929436

#define SMB_NTSTATUS_LOG_FULL 3222929437

#define SMB_NTSTATUS_LOG_MULTIPLEXED 3222929438

#define SMB_NTSTATUS_LOG_DEDICATED 3222929439

#define SMB_NTSTATUS_LOG_ARCHIVE_NOT_IN_PROGRESS 3222929440

#define SMB_NTSTATUS_LOG_ARCHIVE_IN_PROGRESS 3222929441

#define SMB_NTSTATUS_LOG_EPHEMERAL 3222929442

#define SMB_NTSTATUS_LOG_NOT_ENOUGH_CONTAINERS 3222929443

#define SMB_NTSTATUS_LOG_CLIENT_ALREADY_REGISTERED 3222929444

#define SMB_NTSTATUS_LOG_CLIENT_NOT_REGISTERED 3222929445

#define SMB_NTSTATUS_LOG_FULL_HANDLER_IN_PROGRESS 3222929446

#define SMB_NTSTATUS_LOG_CONTAINER_READ_FAILED 3222929447

#define SMB_NTSTATUS_LOG_CONTAINER_WRITE_FAILED 3222929448

#define SMB_NTSTATUS_LOG_CONTAINER_OPEN_FAILED 3222929449

#define SMB_NTSTATUS_LOG_CONTAINER_STATE_INVALID 3222929450

#define SMB_NTSTATUS_LOG_STATE_INVALID 3222929451

#define SMB_NTSTATUS_LOG_PINNED 3222929452

#define SMB_NTSTATUS_LOG_METADATA_FLUSH_FAILED 3222929453

#define SMB_NTSTATUS_LOG_INCONSISTENT_SECURITY 3222929454

#define SMB_NTSTATUS_LOG_APPENDED_FLUSH_FAILED 3222929455

#define SMB_NTSTATUS_LOG_PINNED_RESERVATION 3222929456

#define SMB_NTSTATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD 3222995178

#define SMB_NTSTATUS_FLT_NO_HANDLER_DEFINED 3223060481

#define SMB_NTSTATUS_FLT_CONTEXT_ALREADY_DEFINED 3223060482

#define SMB_NTSTATUS_FLT_INVALID_ASYNCHRONOUS_REQUEST 3223060483

#define SMB_NTSTATUS_FLT_DISALLOW_FAST_IO 3223060484

#define SMB_NTSTATUS_FLT_INVALID_NAME_REQUEST 3223060485

#define SMB_NTSTATUS_FLT_NOT_SAFE_TO_POST_OPERATION 3223060486

#define SMB_NTSTATUS_FLT_NOT_INITIALIZED 3223060487

#define SMB_NTSTATUS_FLT_FILTER_NOT_READY 3223060488

#define SMB_NTSTATUS_FLT_POST_OPERATION_CLEANUP 3223060489

#define SMB_NTSTATUS_FLT_INTERNAL_ERROR 3223060490

#define SMB_NTSTATUS_FLT_DELETING_OBJECT 3223060491

#define SMB_NTSTATUS_FLT_MUST_BE_NONPAGED_POOL 3223060492

#define SMB_NTSTATUS_FLT_DUPLICATE_ENTRY 3223060493

#define SMB_NTSTATUS_FLT_CBDQ_DISABLED 3223060494

#define SMB_NTSTATUS_FLT_DO_NOT_ATTACH 3223060495

#define SMB_NTSTATUS_FLT_DO_NOT_DETACH 3223060496

#define SMB_NTSTATUS_FLT_INSTANCE_ALTITUDE_COLLISION 3223060497

#define SMB_NTSTATUS_FLT_INSTANCE_NAME_COLLISION 3223060498

#define SMB_NTSTATUS_FLT_FILTER_NOT_FOUND 3223060499

#define SMB_NTSTATUS_FLT_VOLUME_NOT_FOUND 3223060500

#define SMB_NTSTATUS_FLT_INSTANCE_NOT_FOUND 3223060501

#define SMB_NTSTATUS_FLT_CONTEXT_ALLOCATION_NOT_FOUND 3223060502

#define SMB_NTSTATUS_FLT_INVALID_CONTEXT_REGISTRATION 3223060503

#define SMB_NTSTATUS_FLT_NAME_CACHE_MISS 3223060504

#define SMB_NTSTATUS_FLT_NO_DEVICE_OBJECT 3223060505

#define SMB_NTSTATUS_FLT_VOLUME_ALREADY_MOUNTED 3223060506

#define SMB_NTSTATUS_FLT_ALREADY_ENLISTED 3223060507

#define SMB_NTSTATUS_FLT_CONTEXT_ALREADY_LINKED 3223060508

#define SMB_NTSTATUS_FLT_NO_WAITER_FOR_REPLY 3223060512

#define SMB_NTSTATUS_MONITOR_NO_DESCRIPTOR 3223126017

#define SMB_NTSTATUS_MONITOR_UNKNOWN_DESCRIPTOR_FORMAT 3223126018

#define SMB_NTSTATUS_MONITOR_INVALID_DESCRIPTOR_CHECKSUM 3223126019

#define SMB_NTSTATUS_MONITOR_INVALID_STANDARD_TIMING_BLOCK 3223126020

#define SMB_NTSTATUS_MONITOR_WMI_DATABLOCK_REGISTRATION_FAILED 3223126021

#define SMB_NTSTATUS_MONITOR_INVALID_SERIAL_NUMBER_MONDSC_BLOCK 3223126022

#define SMB_NTSTATUS_MONITOR_INVALID_USER_FRIENDLY_MONDSC_BLOCK 3223126023

#define SMB_NTSTATUS_MONITOR_NO_MORE_DESCRIPTOR_DATA 3223126024

#define SMB_NTSTATUS_MONITOR_INVALID_DETAILED_TIMING_BLOCK 3223126025

#define SMB_NTSTATUS_MONITOR_INVALID_MANUFACTURE_DATE 3223126026

#define SMB_NTSTATUS_GRAPHICS_NOT_EXCLUSIVE_MODE_OWNER 3223191552

#define SMB_NTSTATUS_GRAPHICS_INSUFFICIENT_DMA_BUFFER 3223191553

#define SMB_NTSTATUS_GRAPHICS_INVALID_DISPLAY_ADAPTER 3223191554

#define SMB_NTSTATUS_GRAPHICS_ADAPTER_WAS_RESET 3223191555

#define SMB_NTSTATUS_GRAPHICS_INVALID_DRIVER_MODEL 3223191556

#define SMB_NTSTATUS_GRAPHICS_PRESENT_MODE_CHANGED 3223191557

#define SMB_NTSTATUS_GRAPHICS_PRESENT_OCCLUDED 3223191558

#define SMB_NTSTATUS_GRAPHICS_PRESENT_DENIED 3223191559

#define SMB_NTSTATUS_GRAPHICS_CANNOTCOLORCONVERT 3223191560

#define SMB_NTSTATUS_GRAPHICS_PRESENT_REDIRECTION_DISABLED 3223191563

#define SMB_NTSTATUS_GRAPHICS_PRESENT_UNOCCLUDED 3223191564

#define SMB_NTSTATUS_GRAPHICS_NO_VIDEO_MEMORY 3223191808

#define SMB_NTSTATUS_GRAPHICS_CANT_LOCK_MEMORY 3223191809

#define SMB_NTSTATUS_GRAPHICS_ALLOCATION_BUSY 3223191810

#define SMB_NTSTATUS_GRAPHICS_TOO_MANY_REFERENCES 3223191811

#define SMB_NTSTATUS_GRAPHICS_TRY_AGAIN_LATER 3223191812

#define SMB_NTSTATUS_GRAPHICS_TRY_AGAIN_NOW 3223191813

#define SMB_NTSTATUS_GRAPHICS_ALLOCATION_INVALID 3223191814

#define SMB_NTSTATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNAVAILABLE 3223191815

#define SMB_NTSTATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNSUPPORTED 3223191816

#define SMB_NTSTATUS_GRAPHICS_CANT_EVICT_PINNED_ALLOCATION 3223191817

#define SMB_NTSTATUS_GRAPHICS_INVALID_ALLOCATION_USAGE 3223191824

#define SMB_NTSTATUS_GRAPHICS_CANT_RENDER_LOCKED_ALLOCATION 3223191825

#define SMB_NTSTATUS_GRAPHICS_ALLOCATION_CLOSED 3223191826

#define SMB_NTSTATUS_GRAPHICS_INVALID_ALLOCATION_INSTANCE 3223191827

#define SMB_NTSTATUS_GRAPHICS_INVALID_ALLOCATION_HANDLE 3223191828

#define SMB_NTSTATUS_GRAPHICS_WRONG_ALLOCATION_DEVICE 3223191829

#define SMB_NTSTATUS_GRAPHICS_ALLOCATION_CONTENT_LOST 3223191830

#define SMB_NTSTATUS_GRAPHICS_GPU_EXCEPTION_ON_DEVICE 3223192064

#define SMB_NTSTATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY 3223192320

#define SMB_NTSTATUS_GRAPHICS_VIDPN_TOPOLOGY_NOT_SUPPORTED 3223192321

#define SMB_NTSTATUS_GRAPHICS_VIDPN_TOPOLOGY_CURRENTLY_NOT_SUPPORTED 3223192322

#define SMB_NTSTATUS_GRAPHICS_INVALID_VIDPN 3223192323

#define SMB_NTSTATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE 3223192324

#define SMB_NTSTATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET 3223192325

#define SMB_NTSTATUS_GRAPHICS_VIDPN_MODALITY_NOT_SUPPORTED 3223192326

#define SMB_NTSTATUS_GRAPHICS_INVALID_VIDPN_SOURCEMODESET 3223192328

#define SMB_NTSTATUS_GRAPHICS_INVALID_VIDPN_TARGETMODESET 3223192329

#define SMB_NTSTATUS_GRAPHICS_INVALID_FREQUENCY 3223192330

#define SMB_NTSTATUS_GRAPHICS_INVALID_ACTIVE_REGION 3223192331

#define SMB_NTSTATUS_GRAPHICS_INVALID_TOTAL_REGION 3223192332

#define SMB_NTSTATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE_MODE 3223192336

#define SMB_NTSTATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET_MODE 3223192337

#define SMB_NTSTATUS_GRAPHICS_PINNED_MODE_MUST_REMAIN_IN_SET 3223192338

#define SMB_NTSTATUS_GRAPHICS_PATH_ALREADY_IN_TOPOLOGY 3223192339

#define SMB_NTSTATUS_GRAPHICS_MODE_ALREADY_IN_MODESET 3223192340

#define SMB_NTSTATUS_GRAPHICS_INVALID_VIDEOPRESENTSOURCESET 3223192341

#define SMB_NTSTATUS_GRAPHICS_INVALID_VIDEOPRESENTTARGETSET 3223192342

#define SMB_NTSTATUS_GRAPHICS_SOURCE_ALREADY_IN_SET 3223192343

#define SMB_NTSTATUS_GRAPHICS_TARGET_ALREADY_IN_SET 3223192344

#define SMB_NTSTATUS_GRAPHICS_INVALID_VIDPN_PRESENT_PATH 3223192345

#define SMB_NTSTATUS_GRAPHICS_NO_RECOMMENDED_VIDPN_TOPOLOGY 3223192346

#define SMB_NTSTATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGESET 3223192347

#define SMB_NTSTATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE 3223192348

#define SMB_NTSTATUS_GRAPHICS_FREQUENCYRANGE_NOT_IN_SET 3223192349

#define SMB_NTSTATUS_GRAPHICS_FREQUENCYRANGE_ALREADY_IN_SET 3223192351

#define SMB_NTSTATUS_GRAPHICS_STALE_MODESET 3223192352

#define SMB_NTSTATUS_GRAPHICS_INVALID_MONITOR_SOURCEMODESET 3223192353

#define SMB_NTSTATUS_GRAPHICS_INVALID_MONITOR_SOURCE_MODE 3223192354

#define SMB_NTSTATUS_GRAPHICS_NO_RECOMMENDED_FUNCTIONAL_VIDPN 3223192355

#define SMB_NTSTATUS_GRAPHICS_MODE_ID_MUST_BE_UNIQUE 3223192356

#define SMB_NTSTATUS_GRAPHICS_EMPTY_ADAPTER_MONITOR_MODE_SUPPORT_INTERSECTION 3223192357

#define SMB_NTSTATUS_GRAPHICS_VIDEO_PRESENT_TARGETS_LESS_THAN_SOURCES 3223192358

#define SMB_NTSTATUS_GRAPHICS_PATH_NOT_IN_TOPOLOGY 3223192359

#define SMB_NTSTATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_SOURCE 3223192360

#define SMB_NTSTATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_TARGET 3223192361

#define SMB_NTSTATUS_GRAPHICS_INVALID_MONITORDESCRIPTORSET 3223192362

#define SMB_NTSTATUS_GRAPHICS_INVALID_MONITORDESCRIPTOR 3223192363

#define SMB_NTSTATUS_GRAPHICS_MONITORDESCRIPTOR_NOT_IN_SET 3223192364

#define SMB_NTSTATUS_GRAPHICS_MONITORDESCRIPTOR_ALREADY_IN_SET 3223192365

#define SMB_NTSTATUS_GRAPHICS_MONITORDESCRIPTOR_ID_MUST_BE_UNIQUE 3223192366

#define SMB_NTSTATUS_GRAPHICS_INVALID_VIDPN_TARGET_SUBSET_TYPE 3223192367

#define SMB_NTSTATUS_GRAPHICS_RESOURCES_NOT_RELATED 3223192368

#define SMB_NTSTATUS_GRAPHICS_SOURCE_ID_MUST_BE_UNIQUE 3223192369

#define SMB_NTSTATUS_GRAPHICS_TARGET_ID_MUST_BE_UNIQUE 3223192370

#define SMB_NTSTATUS_GRAPHICS_NO_AVAILABLE_VIDPN_TARGET 3223192371

#define SMB_NTSTATUS_GRAPHICS_MONITOR_COULD_NOT_BE_ASSOCIATED_WITH_ADAPTER 3223192372

#define SMB_NTSTATUS_GRAPHICS_NO_VIDPNMGR 3223192373

#define SMB_NTSTATUS_GRAPHICS_NO_ACTIVE_VIDPN 3223192374

#define SMB_NTSTATUS_GRAPHICS_STALE_VIDPN_TOPOLOGY 3223192375

#define SMB_NTSTATUS_GRAPHICS_MONITOR_NOT_CONNECTED 3223192376

#define SMB_NTSTATUS_GRAPHICS_SOURCE_NOT_IN_TOPOLOGY 3223192377

#define SMB_NTSTATUS_GRAPHICS_INVALID_PRIMARYSURFACE_SIZE 3223192378

#define SMB_NTSTATUS_GRAPHICS_INVALID_VISIBLEREGION_SIZE 3223192379

#define SMB_NTSTATUS_GRAPHICS_INVALID_STRIDE 3223192380

#define SMB_NTSTATUS_GRAPHICS_INVALID_PIXELFORMAT 3223192381

#define SMB_NTSTATUS_GRAPHICS_INVALID_COLORBASIS 3223192382

#define SMB_NTSTATUS_GRAPHICS_INVALID_PIXELVALUEACCESSMODE 3223192383

#define SMB_NTSTATUS_GRAPHICS_TARGET_NOT_IN_TOPOLOGY 3223192384

#define SMB_NTSTATUS_GRAPHICS_NO_DISPLAY_MODE_MANAGEMENT_SUPPORT 3223192385

#define SMB_NTSTATUS_GRAPHICS_VIDPN_SOURCE_IN_USE 3223192386

#define SMB_NTSTATUS_GRAPHICS_CANT_ACCESS_ACTIVE_VIDPN 3223192387

#define SMB_NTSTATUS_GRAPHICS_INVALID_PATH_IMPORTANCE_ORDINAL 3223192388

#define SMB_NTSTATUS_GRAPHICS_INVALID_PATH_CONTENT_GEOMETRY_TRANSFORMATION 3223192389

#define SMB_NTSTATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_SUPPORTED 3223192390

#define SMB_NTSTATUS_GRAPHICS_INVALID_GAMMA_RAMP 3223192391

#define SMB_NTSTATUS_GRAPHICS_GAMMA_RAMP_NOT_SUPPORTED 3223192392

#define SMB_NTSTATUS_GRAPHICS_MULTISAMPLING_NOT_SUPPORTED 3223192393

#define SMB_NTSTATUS_GRAPHICS_MODE_NOT_IN_MODESET 3223192394

#define SMB_NTSTATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY_RECOMMENDATION_REASON 3223192397

#define SMB_NTSTATUS_GRAPHICS_INVALID_PATH_CONTENT_TYPE 3223192398

#define SMB_NTSTATUS_GRAPHICS_INVALID_COPYPROTECTION_TYPE 3223192399

#define SMB_NTSTATUS_GRAPHICS_UNASSIGNED_MODESET_ALREADY_EXISTS 3223192400

#define SMB_NTSTATUS_GRAPHICS_INVALID_SCANLINE_ORDERING 3223192402

#define SMB_NTSTATUS_GRAPHICS_TOPOLOGY_CHANGES_NOT_ALLOWED 3223192403

#define SMB_NTSTATUS_GRAPHICS_NO_AVAILABLE_IMPORTANCE_ORDINALS 3223192404

#define SMB_NTSTATUS_GRAPHICS_INCOMPATIBLE_PRIVATE_FORMAT 3223192405

#define SMB_NTSTATUS_GRAPHICS_INVALID_MODE_PRUNING_ALGORITHM 3223192406

#define SMB_NTSTATUS_GRAPHICS_INVALID_MONITOR_CAPABILITY_ORIGIN 3223192407

#define SMB_NTSTATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE_CONSTRAINT 3223192408

#define SMB_NTSTATUS_GRAPHICS_MAX_NUM_PATHS_REACHED 3223192409

#define SMB_NTSTATUS_GRAPHICS_CANCEL_VIDPN_TOPOLOGY_AUGMENTATION 3223192410

#define SMB_NTSTATUS_GRAPHICS_INVALID_CLIENT_TYPE 3223192411

#define SMB_NTSTATUS_GRAPHICS_CLIENTVIDPN_NOT_SET 3223192412

#define SMB_NTSTATUS_GRAPHICS_SPECIFIED_CHILD_ALREADY_CONNECTED 3223192576

#define SMB_NTSTATUS_GRAPHICS_CHILD_DESCRIPTOR_NOT_SUPPORTED 3223192577

#define SMB_NTSTATUS_GRAPHICS_NOT_A_LINKED_ADAPTER 3223192624

#define SMB_NTSTATUS_GRAPHICS_LEADLINK_NOT_ENUMERATED 3223192625

#define SMB_NTSTATUS_GRAPHICS_CHAINLINKS_NOT_ENUMERATED 3223192626

#define SMB_NTSTATUS_GRAPHICS_ADAPTER_CHAIN_NOT_READY 3223192627

#define SMB_NTSTATUS_GRAPHICS_CHAINLINKS_NOT_STARTED 3223192628

#define SMB_NTSTATUS_GRAPHICS_CHAINLINKS_NOT_POWERED_ON 3223192629

#define SMB_NTSTATUS_GRAPHICS_INCONSISTENT_DEVICE_LINK_STATE 3223192630

#define SMB_NTSTATUS_GRAPHICS_NOT_POST_DEVICE_DRIVER 3223192632

#define SMB_NTSTATUS_GRAPHICS_ADAPTER_ACCESS_NOT_EXCLUDED 3223192635

#define SMB_NTSTATUS_GRAPHICS_OPM_NOT_SUPPORTED 3223192832

#define SMB_NTSTATUS_GRAPHICS_COPP_NOT_SUPPORTED 3223192833

#define SMB_NTSTATUS_GRAPHICS_UAB_NOT_SUPPORTED 3223192834

#define SMB_NTSTATUS_GRAPHICS_OPM_INVALID_ENCRYPTED_PARAMETERS 3223192835

#define SMB_NTSTATUS_GRAPHICS_OPM_PARAMETER_ARRAY_TOO_SMALL 3223192836

#define SMB_NTSTATUS_GRAPHICS_OPM_NO_PROTECTED_OUTPUTS_EXIST 3223192837

#define SMB_NTSTATUS_GRAPHICS_PVP_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME 3223192838

#define SMB_NTSTATUS_GRAPHICS_PVP_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP 3223192839

#define SMB_NTSTATUS_GRAPHICS_PVP_MIRRORING_DEVICES_NOT_SUPPORTED 3223192840

#define SMB_NTSTATUS_GRAPHICS_OPM_INVALID_POINTER 3223192842

#define SMB_NTSTATUS_GRAPHICS_OPM_INTERNAL_ERROR 3223192843

#define SMB_NTSTATUS_GRAPHICS_OPM_INVALID_HANDLE 3223192844

#define SMB_NTSTATUS_GRAPHICS_PVP_NO_MONITORS_CORRESPOND_TO_DISPLAY_DEVICE 3223192845

#define SMB_NTSTATUS_GRAPHICS_PVP_INVALID_CERTIFICATE_LENGTH 3223192846

#define SMB_NTSTATUS_GRAPHICS_OPM_SPANNING_MODE_ENABLED 3223192847

#define SMB_NTSTATUS_GRAPHICS_OPM_THEATER_MODE_ENABLED 3223192848

#define SMB_NTSTATUS_GRAPHICS_PVP_HFS_FAILED 3223192849

#define SMB_NTSTATUS_GRAPHICS_OPM_INVALID_SRM 3223192850

#define SMB_NTSTATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_HDCP 3223192851

#define SMB_NTSTATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_ACP 3223192852

#define SMB_NTSTATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_CGMSA 3223192853

#define SMB_NTSTATUS_GRAPHICS_OPM_HDCP_SRM_NEVER_SET 3223192854

#define SMB_NTSTATUS_GRAPHICS_OPM_RESOLUTION_TOO_HIGH 3223192855

#define SMB_NTSTATUS_GRAPHICS_OPM_ALL_HDCP_HARDWARE_ALREADY_IN_USE 3223192856

#define SMB_NTSTATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_NO_LONGER_EXISTS 3223192858

#define SMB_NTSTATUS_GRAPHICS_OPM_SESSION_TYPE_CHANGE_IN_PROGRESS 3223192859

#define SMB_NTSTATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_COPP_SEMANTICS 3223192860

#define SMB_NTSTATUS_GRAPHICS_OPM_INVALID_INFORMATION_REQUEST 3223192861

#define SMB_NTSTATUS_GRAPHICS_OPM_DRIVER_INTERNAL_ERROR 3223192862

#define SMB_NTSTATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_OPM_SEMANTICS 3223192863

#define SMB_NTSTATUS_GRAPHICS_OPM_SIGNALING_NOT_SUPPORTED 3223192864

#define SMB_NTSTATUS_GRAPHICS_OPM_INVALID_CONFIGURATION_REQUEST 3223192865

#define SMB_NTSTATUS_GRAPHICS_I2C_NOT_SUPPORTED 3223192960

#define SMB_NTSTATUS_GRAPHICS_I2C_DEVICE_DOES_NOT_EXIST 3223192961

#define SMB_NTSTATUS_GRAPHICS_I2C_ERROR_TRANSMITTING_DATA 3223192962

#define SMB_NTSTATUS_GRAPHICS_I2C_ERROR_RECEIVING_DATA 3223192963

#define SMB_NTSTATUS_GRAPHICS_DDCCI_VCP_NOT_SUPPORTED 3223192964

#define SMB_NTSTATUS_GRAPHICS_DDCCI_INVALID_DATA 3223192965

#define SMB_NTSTATUS_GRAPHICS_DDCCI_MONITOR_RETURNED_INVALID_TIMING_STATUS_BYTE 3223192966

#define SMB_NTSTATUS_GRAPHICS_DDCCI_INVALID_CAPABILITIES_STRING 3223192967

#define SMB_NTSTATUS_GRAPHICS_MCA_INTERNAL_ERROR 3223192968

#define SMB_NTSTATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_COMMAND 3223192969

#define SMB_NTSTATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_LENGTH 3223192970

#define SMB_NTSTATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_CHECKSUM 3223192971

#define SMB_NTSTATUS_GRAPHICS_INVALID_PHYSICAL_MONITOR_HANDLE 3223192972

#define SMB_NTSTATUS_GRAPHICS_MONITOR_NO_LONGER_EXISTS 3223192973

#define SMB_NTSTATUS_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED 3223193056

#define SMB_NTSTATUS_GRAPHICS_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME 3223193057

#define SMB_NTSTATUS_GRAPHICS_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP 3223193058

#define SMB_NTSTATUS_GRAPHICS_MIRRORING_DEVICES_NOT_SUPPORTED 3223193059

#define SMB_NTSTATUS_GRAPHICS_INVALID_POINTER 3223193060

#define SMB_NTSTATUS_GRAPHICS_NO_MONITORS_CORRESPOND_TO_DISPLAY_DEVICE 3223193061

#define SMB_NTSTATUS_GRAPHICS_PARAMETER_ARRAY_TOO_SMALL 3223193062

#define SMB_NTSTATUS_GRAPHICS_INTERNAL_ERROR 3223193063

#define SMB_NTSTATUS_GRAPHICS_SESSION_TYPE_CHANGE_IN_PROGRESS 3223193064

#define SMB_NTSTATUS_FVE_LOCKED_VOLUME 3223388160

#define SMB_NTSTATUS_FVE_NOT_ENCRYPTED 3223388161

#define SMB_NTSTATUS_FVE_BAD_INFORMATION 3223388162

#define SMB_NTSTATUS_FVE_TOO_SMALL 3223388163

#define SMB_NTSTATUS_FVE_FAILED_WRONG_FS 3223388164

#define SMB_NTSTATUS_FVE_FAILED_BAD_FS 3223388165

#define SMB_NTSTATUS_FVE_FS_NOT_EXTENDED 3223388166

#define SMB_NTSTATUS_FVE_FS_MOUNTED 3223388167

#define SMB_NTSTATUS_FVE_NO_LICENSE 3223388168

#define SMB_NTSTATUS_FVE_ACTION_NOT_ALLOWED 3223388169

#define SMB_NTSTATUS_FVE_BAD_DATA 3223388170

#define SMB_NTSTATUS_FVE_VOLUME_NOT_BOUND 3223388171

#define SMB_NTSTATUS_FVE_NOT_DATA_VOLUME 3223388172

#define SMB_NTSTATUS_FVE_CONV_READ_ERROR 3223388173

#define SMB_NTSTATUS_FVE_CONV_WRITE_ERROR 3223388174

#define SMB_NTSTATUS_FVE_OVERLAPPED_UPDATE 3223388175

#define SMB_NTSTATUS_FVE_FAILED_SECTOR_SIZE 3223388176

#define SMB_NTSTATUS_FVE_FAILED_AUTHENTICATION 3223388177

#define SMB_NTSTATUS_FVE_NOT_OS_VOLUME 3223388178

#define SMB_NTSTATUS_FVE_KEYFILE_NOT_FOUND 3223388179

#define SMB_NTSTATUS_FVE_KEYFILE_INVALID 3223388180

#define SMB_NTSTATUS_FVE_KEYFILE_NO_VMK 3223388181

#define SMB_NTSTATUS_FVE_TPM_DISABLED 3223388182

#define SMB_NTSTATUS_FVE_TPM_SRK_AUTH_NOT_ZERO 3223388183

#define SMB_NTSTATUS_FVE_TPM_INVALID_PCR 3223388184

#define SMB_NTSTATUS_FVE_TPM_NO_VMK 3223388185

#define SMB_NTSTATUS_FVE_PIN_INVALID 3223388186

#define SMB_NTSTATUS_FVE_AUTH_INVALID_APPLICATION 3223388187

#define SMB_NTSTATUS_FVE_AUTH_INVALID_CONFIG 3223388188

#define SMB_NTSTATUS_FVE_DEBUGGER_ENABLED 3223388189

#define SMB_NTSTATUS_FVE_DRY_RUN_FAILED 3223388190

#define SMB_NTSTATUS_FVE_BAD_METADATA_POINTER 3223388191

#define SMB_NTSTATUS_FVE_OLD_METADATA_COPY 3223388192

#define SMB_NTSTATUS_FVE_REBOOT_REQUIRED 3223388193

#define SMB_NTSTATUS_FVE_RAW_ACCESS 3223388194

#define SMB_NTSTATUS_FVE_RAW_BLOCKED 3223388195

#define SMB_NTSTATUS_FVE_NO_FEATURE_LICENSE 3223388198

#define SMB_NTSTATUS_FVE_POLICY_USER_DISABLE_RDV_NOT_ALLOWED 3223388199

#define SMB_NTSTATUS_FVE_CONV_RECOVERY_FAILED 3223388200

#define SMB_NTSTATUS_FVE_VIRTUALIZED_SPACE_TOO_BIG 3223388201

#define SMB_NTSTATUS_FVE_VOLUME_TOO_SMALL 3223388208

#define SMB_NTSTATUS_FWP_CALLOUT_NOT_FOUND 3223453697

#define SMB_NTSTATUS_FWP_CONDITION_NOT_FOUND 3223453698

#define SMB_NTSTATUS_FWP_FILTER_NOT_FOUND 3223453699

#define SMB_NTSTATUS_FWP_LAYER_NOT_FOUND 3223453700

#define SMB_NTSTATUS_FWP_PROVIDER_NOT_FOUND 3223453701

#define SMB_NTSTATUS_FWP_PROVIDER_CONTEXT_NOT_FOUND 3223453702

#define SMB_NTSTATUS_FWP_SUBLAYER_NOT_FOUND 3223453703

#define SMB_NTSTATUS_FWP_NOT_FOUND 3223453704

#define SMB_NTSTATUS_FWP_ALREADY_EXISTS 3223453705

#define SMB_NTSTATUS_FWP_IN_USE 3223453706

#define SMB_NTSTATUS_FWP_DYNAMIC_SESSION_IN_PROGRESS 3223453707

#define SMB_NTSTATUS_FWP_WRONG_SESSION 3223453708

#define SMB_NTSTATUS_FWP_NO_TXN_IN_PROGRESS 3223453709

#define SMB_NTSTATUS_FWP_TXN_IN_PROGRESS 3223453710

#define SMB_NTSTATUS_FWP_TXN_ABORTED 3223453711

#define SMB_NTSTATUS_FWP_SESSION_ABORTED 3223453712

#define SMB_NTSTATUS_FWP_INCOMPATIBLE_TXN 3223453713

#define SMB_NTSTATUS_FWP_TIMEOUT 3223453714

#define SMB_NTSTATUS_FWP_NET_EVENTS_DISABLED 3223453715

#define SMB_NTSTATUS_FWP_INCOMPATIBLE_LAYER 3223453716

#define SMB_NTSTATUS_FWP_KM_CLIENTS_ONLY 3223453717

#define SMB_NTSTATUS_FWP_LIFETIME_MISMATCH 3223453718

#define SMB_NTSTATUS_FWP_BUILTIN_OBJECT 3223453719

#define SMB_NTSTATUS_FWP_TOO_MANY_BOOTTIME_FILTERS 3223453720

#define SMB_NTSTATUS_FWP_NOTIFICATION_DROPPED 3223453721

#define SMB_NTSTATUS_FWP_TRAFFIC_MISMATCH 3223453722

#define SMB_NTSTATUS_FWP_INCOMPATIBLE_SA_STATE 3223453723

#define SMB_NTSTATUS_FWP_NULL_POINTER 3223453724

#define SMB_NTSTATUS_FWP_INVALID_ENUMERATOR 3223453725

#define SMB_NTSTATUS_FWP_INVALID_FLAGS 3223453726

#define SMB_NTSTATUS_FWP_INVALID_NET_MASK 3223453727

#define SMB_NTSTATUS_FWP_INVALID_RANGE 3223453728

#define SMB_NTSTATUS_FWP_INVALID_INTERVAL 3223453729

#define SMB_NTSTATUS_FWP_ZERO_LENGTH_ARRAY 3223453730

#define SMB_NTSTATUS_FWP_NULL_DISPLAY_NAME 3223453731

#define SMB_NTSTATUS_FWP_INVALID_ACTION_TYPE 3223453732

#define SMB_NTSTATUS_FWP_INVALID_WEIGHT 3223453733

#define SMB_NTSTATUS_FWP_MATCH_TYPE_MISMATCH 3223453734

#define SMB_NTSTATUS_FWP_TYPE_MISMATCH 3223453735

#define SMB_NTSTATUS_FWP_OUT_OF_BOUNDS 3223453736

#define SMB_NTSTATUS_FWP_RESERVED 3223453737

#define SMB_NTSTATUS_FWP_DUPLICATE_CONDITION 3223453738

#define SMB_NTSTATUS_FWP_DUPLICATE_KEYMOD 3223453739

#define SMB_NTSTATUS_FWP_ACTION_INCOMPATIBLE_WITH_LAYER 3223453740

#define SMB_NTSTATUS_FWP_ACTION_INCOMPATIBLE_WITH_SUBLAYER 3223453741

#define SMB_NTSTATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_LAYER 3223453742

#define SMB_NTSTATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_CALLOUT 3223453743

#define SMB_NTSTATUS_FWP_INCOMPATIBLE_AUTH_METHOD 3223453744

#define SMB_NTSTATUS_FWP_INCOMPATIBLE_DH_GROUP 3223453745

#define SMB_NTSTATUS_FWP_EM_NOT_SUPPORTED 3223453746

#define SMB_NTSTATUS_FWP_NEVER_MATCH 3223453747

#define SMB_NTSTATUS_FWP_PROVIDER_CONTEXT_MISMATCH 3223453748

#define SMB_NTSTATUS_FWP_INVALID_PARAMETER 3223453749

#define SMB_NTSTATUS_FWP_TOO_MANY_SUBLAYERS 3223453750

#define SMB_NTSTATUS_FWP_CALLOUT_NOTIFICATION_FAILED 3223453751

#define SMB_NTSTATUS_FWP_INCOMPATIBLE_AUTH_CONFIG 3223453752

#define SMB_NTSTATUS_FWP_INCOMPATIBLE_CIPHER_CONFIG 3223453753

#define SMB_NTSTATUS_FWP_DUPLICATE_AUTH_METHOD 3223453756

#define SMB_NTSTATUS_FWP_TCPIP_NOT_READY 3223453952

#define SMB_NTSTATUS_FWP_INJECT_HANDLE_CLOSING 3223453953

#define SMB_NTSTATUS_FWP_INJECT_HANDLE_STALE 3223453954

#define SMB_NTSTATUS_FWP_CANNOT_PEND 3223453955

#define SMB_NTSTATUS_NDIS_CLOSING 3223519234

#define SMB_NTSTATUS_NDIS_BAD_VERSION 3223519236

#define SMB_NTSTATUS_NDIS_BAD_CHARACTERISTICS 3223519237

#define SMB_NTSTATUS_NDIS_ADAPTER_NOT_FOUND 3223519238

#define SMB_NTSTATUS_NDIS_OPEN_FAILED 3223519239

#define SMB_NTSTATUS_NDIS_DEVICE_FAILED 3223519240

#define SMB_NTSTATUS_NDIS_MULTICAST_FULL 3223519241

#define SMB_NTSTATUS_NDIS_MULTICAST_EXISTS 3223519242

#define SMB_NTSTATUS_NDIS_MULTICAST_NOT_FOUND 3223519243

#define SMB_NTSTATUS_NDIS_REQUEST_ABORTED 3223519244

#define SMB_NTSTATUS_NDIS_RESET_IN_PROGRESS 3223519245

#define SMB_NTSTATUS_NDIS_INVALID_PACKET 3223519247

#define SMB_NTSTATUS_NDIS_INVALID_DEVICE_REQUEST 3223519248

#define SMB_NTSTATUS_NDIS_ADAPTER_NOT_READY 3223519249

#define SMB_NTSTATUS_NDIS_INVALID_LENGTH 3223519252

#define SMB_NTSTATUS_NDIS_INVALID_DATA 3223519253

#define SMB_NTSTATUS_NDIS_BUFFER_TOO_SHORT 3223519254

#define SMB_NTSTATUS_NDIS_INVALID_OID 3223519255

#define SMB_NTSTATUS_NDIS_ADAPTER_REMOVED 3223519256

#define SMB_NTSTATUS_NDIS_UNSUPPORTED_MEDIA 3223519257

#define SMB_NTSTATUS_NDIS_GROUP_ADDRESS_IN_USE 3223519258

#define SMB_NTSTATUS_NDIS_FILE_NOT_FOUND 3223519259

#define SMB_NTSTATUS_NDIS_ERROR_READING_FILE 3223519260

#define SMB_NTSTATUS_NDIS_ALREADY_MAPPED 3223519261

#define SMB_NTSTATUS_NDIS_RESOURCE_CONFLICT 3223519262

#define SMB_NTSTATUS_NDIS_MEDIA_DISCONNECTED 3223519263

#define SMB_NTSTATUS_NDIS_INVALID_ADDRESS 3223519266

#define SMB_NTSTATUS_NDIS_PAUSED 3223519274

#define SMB_NTSTATUS_NDIS_INTERFACE_NOT_FOUND 3223519275

#define SMB_NTSTATUS_NDIS_UNSUPPORTED_REVISION 3223519276

#define SMB_NTSTATUS_NDIS_INVALID_PORT 3223519277

#define SMB_NTSTATUS_NDIS_INVALID_PORT_STATE 3223519278

#define SMB_NTSTATUS_NDIS_LOW_POWER_STATE 3223519279

#define SMB_NTSTATUS_NDIS_NOT_SUPPORTED 3223519419

#define SMB_NTSTATUS_NDIS_OFFLOAD_POLICY 3223523343

#define SMB_NTSTATUS_NDIS_OFFLOAD_CONNECTION_REJECTED 3223523346

#define SMB_NTSTATUS_NDIS_OFFLOAD_PATH_REJECTED 3223523347

#define SMB_NTSTATUS_NDIS_DOT11_AUTO_CONFIG_ENABLED 3223527424

#define SMB_NTSTATUS_NDIS_DOT11_MEDIA_IN_USE 3223527425

#define SMB_NTSTATUS_NDIS_DOT11_POWER_STATE_INVALID 3223527426

#define SMB_NTSTATUS_NDIS_PM_WOL_PATTERN_LIST_FULL 3223527427

#define SMB_NTSTATUS_NDIS_PM_PROTOCOL_OFFLOAD_LIST_FULL 3223527428

#define SMB_NTSTATUS_IPSEC_BAD_SPI 3224764417

#define SMB_NTSTATUS_IPSEC_SA_LIFETIME_EXPIRED 3224764418

#define SMB_NTSTATUS_IPSEC_WRONG_SA 3224764419

#define SMB_NTSTATUS_IPSEC_REPLAY_CHECK_FAILED 3224764420

#define SMB_NTSTATUS_IPSEC_INVALID_PACKET 3224764421

#define SMB_NTSTATUS_IPSEC_INTEGRITY_CHECK_FAILED 3224764422

#define SMB_NTSTATUS_IPSEC_CLEAR_TEXT_DROP 3224764423

#define SMB_NTSTATUS_IPSEC_AUTH_FIREWALL_DROP 3224764424

#define SMB_NTSTATUS_IPSEC_THROTTLE_DROP 3224764425

#define SMB_NTSTATUS_IPSEC_DOSP_BLOCK 3224797184

#define SMB_NTSTATUS_IPSEC_DOSP_RECEIVED_MULTICAST 3224797185

#define SMB_NTSTATUS_IPSEC_DOSP_INVALID_PACKET 3224797186

#define SMB_NTSTATUS_IPSEC_DOSP_STATE_LOOKUP_FAILED 3224797187

#define SMB_NTSTATUS_IPSEC_DOSP_MAX_ENTRIES 3224797188

#define SMB_NTSTATUS_IPSEC_DOSP_KEYMOD_NOT_ALLOWED 3224797189

#define SMB_NTSTATUS_IPSEC_DOSP_MAX_PER_IP_RATELIMIT_QUEUES 3224797190

#define SMB_NTSTATUS_VOLMGR_MIRROR_NOT_SUPPORTED 3224895579

#define SMB_NTSTATUS_VOLMGR_RAID5_NOT_SUPPORTED 3224895580

#define SMB_NTSTATUS_VIRTDISK_PROVIDER_NOT_FOUND 3225026580

#define SMB_NTSTATUS_VIRTDISK_NOT_VIRTUAL_DISK 3225026581

#define SMB_NTSTATUS_VHD_PARENT_VHD_ACCESS_DENIED 3225026582

#define SMB_NTSTATUS_VHD_CHILD_PARENT_SIZE_MISMATCH 3225026583

#define SMB_NTSTATUS_VHD_DIFFERENCING_CHAIN_CYCLE_DETECTED 3225026584

#define SMB_NTSTATUS_VHD_DIFFERENCING_CHAIN_ERROR_IN_PARENT 3225026585

#define SMB1_HEADER_SIZE 32

#define NBSS_MSGTYPE_SESSION_MESSAGE 0

#define NBSS_MSGTYPE_SESSION_REQUEST 129

#define NBSS_MSGTYPE_POSITIVE_SSN_RESPONSE 130

#define NBSS_MSGTYPE_NEGATIVE_SSN_RESPONSE 131

#define NBSS_MSGTYPE_RETARG_RESPONSE 132

#define NBSS_MSGTYPE_KEEP_ALIVE 133

#define MIN_REC_SIZE (32 + 4)

#define SMB_CONFIG_DEFAULT_STREAM_DEPTH 0

#define SMB_SRV_ERROR 1

#define SMB_SRV_BADPW 2

#define SMB_SRV_BADTYPE 3

#define SMB_SRV_ACCESS 4

#define SMB_SRV_BADUID 91

#define SMB_DOS_SUCCESS 0

#define SMB_DOS_BAD_FUNC 1

#define SMB_DOS_BAD_FILE 2

#define SMB_DOS_BAD_PATH 3

#define SMB_DOS_TOO_MANY_OPEN_FILES 4

#define SMB_DOS_ACCESS_DENIED 5

#define NTLMSSP_NEGOTIATE 1

#define NTLMSSP_CHALLENGE 2

#define NTLMSSP_AUTH 3

/**
 * type values to make sure we're not mixing things
 * up in hashmap lookups
 */
#define SMBHDR_TYPE_GUID 1

#define SMBHDR_TYPE_SHARE 2

#define SMBHDR_TYPE_FILENAME 3

#define SMBHDR_TYPE_OFFSET 4

#define SMBHDR_TYPE_GENERICTX 5

#define SMBHDR_TYPE_HEADER 6

#define SMBHDR_TYPE_TRANS_FRAG 8

#define SMBHDR_TYPE_TREE 9

#define SMBHDR_TYPE_DCERPCTX 10

#define SMB1_COMMAND_CREATE_DIRECTORY 0

#define SMB1_COMMAND_DELETE_DIRECTORY 1

#define SMB1_COMMAND_OPEN 2

#define SMB1_COMMAND_CREATE 3

#define SMB1_COMMAND_CLOSE 4

#define SMB1_COMMAND_FLUSH 5

#define SMB1_COMMAND_DELETE 6

#define SMB1_COMMAND_RENAME 7

#define SMB1_COMMAND_QUERY_INFORMATION 8

#define SMB1_COMMAND_SET_INFORMATION 9

#define SMB1_COMMAND_READ 10

#define SMB1_COMMAND_WRITE 11

#define SMB1_COMMAND_LOCK_BYTE_RANGE 12

#define SMB1_COMMAND_UNLOCK_BYTE_RANGE 13

#define SMB1_COMMAND_CREATE_TEMPORARY 14

#define SMB1_COMMAND_CREATE_NEW 15

#define SMB1_COMMAND_CHECK_DIRECTORY 16

#define SMB1_COMMAND_PROCESS_EXIT 17

#define SMB1_COMMAND_SEEK 18

#define SMB1_COMMAND_LOCK_AND_READ 19

#define SMB1_COMMAND_WRITE_AND_UNLOCK 20

#define SMB1_COMMAND_LOCKING_ANDX 36

#define SMB1_COMMAND_TRANS 37

#define SMB1_COMMAND_ECHO 43

#define SMB1_COMMAND_WRITE_AND_CLOSE 44

#define SMB1_COMMAND_OPEN_ANDX 45

#define SMB1_COMMAND_READ_ANDX 46

#define SMB1_COMMAND_WRITE_ANDX 47

#define SMB1_COMMAND_TRANS2 50

#define SMB1_COMMAND_TRANS2_SECONDARY 51

#define SMB1_COMMAND_FIND_CLOSE2 52

#define SMB1_COMMAND_TREE_DISCONNECT 113

#define SMB1_COMMAND_NEGOTIATE_PROTOCOL 114

#define SMB1_COMMAND_SESSION_SETUP_ANDX 115

#define SMB1_COMMAND_LOGOFF_ANDX 116

#define SMB1_COMMAND_TREE_CONNECT_ANDX 117

#define SMB1_COMMAND_QUERY_INFO_DISK 128

#define SMB1_COMMAND_NT_TRANS 160

#define SMB1_COMMAND_NT_TRANS_SECONDARY 161

#define SMB1_COMMAND_NT_CREATE_ANDX 162

#define SMB1_COMMAND_NT_CANCEL 164

#define SMB1_COMMAND_NONE 255

#define SMB2_COMMAND_NEGOTIATE_PROTOCOL 0

#define SMB2_COMMAND_SESSION_SETUP 1

#define SMB2_COMMAND_SESSION_LOGOFF 2

#define SMB2_COMMAND_TREE_CONNECT 3

#define SMB2_COMMAND_TREE_DISCONNECT 4

#define SMB2_COMMAND_CREATE 5

#define SMB2_COMMAND_CLOSE 6

#define SMB2_COMMAND_FLUSH 7

#define SMB2_COMMAND_READ 8

#define SMB2_COMMAND_WRITE 9

#define SMB2_COMMAND_LOCK 10

#define SMB2_COMMAND_IOCTL 11

#define SMB2_COMMAND_CANCEL 12

#define SMB2_COMMAND_KEEPALIVE 13

#define SMB2_COMMAND_FIND 14

#define SMB2_COMMAND_CHANGE_NOTIFY 15

#define SMB2_COMMAND_GET_INFO 16

#define SMB2_COMMAND_SET_INFO 17

#define SMB2_COMMAND_OPLOCK_BREAK 18

#define DCERPC_HDR_LEN 16

#define DCERPC_UUID_ENTRY_FLAG_FF 1

#define PFC_FIRST_FRAG 1

#define PFC_LAST_FRAG 2

#define PFC_PENDING_CANCEL 4

#define PFC_RESERVED_1 8

#define PFC_CONC_MPX 16

#define PFC_DID_NOT_EXECUTE 32

#define PFC_MAYBE 64

#define PFC_OBJECT_UUID 128

#define PFCL1_RESERVED_01 1

#define PFCL1_LASTFRAG 2

#define PFCL1_FRAG 4

#define PFCL1_NOFACK 8

#define PFCL1_MAYBE 16

#define PFCL1_IDEMPOTENT 32

#define PFCL1_BROADCAST 64

#define PFCL1_RESERVED_80 128

#define PFCL2_RESERVED_01 1

#define PFCL2_CANCEL_PENDING 2

#define PFCL2_RESERVED_04 4

#define PFCL2_RESERVED_08 8

#define PFCL2_RESERVED_10 16

#define PFCL2_RESERVED_20 32

#define PFCL2_RESERVED_40 64

#define PFCL2_RESERVED_80 128

#define REASON_NOT_SPECIFIED 0

#define TEMPORARY_CONGESTION 1

#define LOCAL_LIMIT_EXCEEDED 2

#define CALLED_PADDR_UNKNOWN 3

#define PROTOCOL_VERSION_NOT_SUPPORTED 4

#define DEFAULT_CONTEXT_NOT_SUPPORTED 5

#define USER_DATA_NOT_READABLE 6

#define NO_PSAP_AVAILABLE 7

#define DCERPC_TYPE_REQUEST 0

#define DCERPC_TYPE_PING 1

#define DCERPC_TYPE_RESPONSE 2

#define DCERPC_TYPE_FAULT 3

#define DCERPC_TYPE_WORKING 4

#define DCERPC_TYPE_NOCALL 5

#define DCERPC_TYPE_REJECT 6

#define DCERPC_TYPE_ACK 7

#define DCERPC_TYPE_CL_CANCEL 8

#define DCERPC_TYPE_FACK 9

#define DCERPC_TYPE_CANCEL_ACK 10

#define DCERPC_TYPE_BIND 11

#define DCERPC_TYPE_BINDACK 12

#define DCERPC_TYPE_BINDNAK 13

#define DCERPC_TYPE_ALTER_CONTEXT 14

#define DCERPC_TYPE_ALTER_CONTEXT_RESP 15

#define DCERPC_TYPE_AUTH3 16

#define DCERPC_TYPE_SHUTDOWN 17

#define DCERPC_TYPE_CO_CANCEL 18

#define DCERPC_TYPE_ORPHANED 19

#define DCERPC_TYPE_RTS 20

#define DCERPC_TYPE_UNKNOWN 99

#define DCERPC_UDP_HDR_LEN 80

#define DETECT_DCE_OPNUM_RANGE_UNINITIALIZED 100000

#define REQUEST_FLOOD 500

#define BOOTP_REQUEST 1

#define BOOTP_REPLY 2

#define DHCP_OPT_SUBNET_MASK 1

#define DHCP_OPT_ROUTERS 3

#define DHCP_OPT_DNS_SERVER 6

#define DHCP_OPT_HOSTNAME 12

#define DHCP_OPT_REQUESTED_IP 50

#define DHCP_OPT_ADDRESS_TIME 51

#define DHCP_OPT_TYPE 53

#define DHCP_OPT_PARAMETER_LIST 55

#define DHCP_OPT_RENEWAL_TIME 58

#define DHCP_OPT_REBINDING_TIME 59

#define DHCP_OPT_VENDOR_CLASS_ID 60

#define DHCP_OPT_CLIENT_ID 61

#define DHCP_OPT_END 255

/**
 * DHCP message types.
 */
#define DHCP_TYPE_DISCOVER 1

#define DHCP_TYPE_OFFER 2

#define DHCP_TYPE_REQUEST 3

#define DHCP_TYPE_DECLINE 4

#define DHCP_TYPE_ACK 5

#define DHCP_TYPE_NAK 6

#define DHCP_TYPE_RELEASE 7

#define DHCP_TYPE_INFORM 8

#define DHCP_PARAM_SUBNET_MASK 1

#define DHCP_PARAM_ROUTER 3

#define DHCP_PARAM_DNS_SERVER 6

#define DHCP_PARAM_DOMAIN 15

#define DHCP_PARAM_ARP_TIMEOUT 35

#define DHCP_PARAM_NTP_SERVER 42

#define DHCP_PARAM_TFTP_SERVER_NAME 66

#define DHCP_PARAM_TFTP_SERVER_IP 150

#define PGSQL_LENGTH_FIELD 4

#define PGSQL_DUMMY_PROTO_MAJOR 1234

#define PGSQL_DUMMY_PROTO_CANCEL_REQUEST 5678

#define PGSQL_DUMMY_PROTO_MINOR_SSL 5679

#define _PGSQL_DUMMY_PROTO_MINOR_GSSAPI 5680

#define PGSQL_CONFIG_DEFAULT_STREAM_DEPTH 0

#define RS_MIME_MAX_TOKEN_LEN 255

#define HTTP2_DECOMPRESSION_CHUNK_SIZE 4096

#define HTTP2_STATIC_HEADERS_NUMBER 61

#define HTTP2_FLAG_HEADER_EOS 1

#define HTTP2_FLAG_HEADER_END_HEADERS 4

#define HTTP2_FLAG_HEADER_PADDED 8

#define AES128_KEY_LEN 16

#define AES128_TAG_LEN 16

#define AES128_IV_LEN 12

#define SC_SHA1_LEN 20

#define SC_SHA256_LEN 32

#define SC_MD5_HEX_LEN 32

#define SC_SHA256_HEX_LEN 64

typedef enum AppLayerEventType {
    APP_LAYER_EVENT_TYPE_TRANSACTION = 1,
    APP_LAYER_EVENT_TYPE_PACKET = 2,
} AppLayerEventType;

typedef enum Base64ReturnCode {
    SC_BASE64_OK = 0,
    SC_BASE64_INVALID_ARG,
    SC_BASE64_OVERFLOW,
} Base64ReturnCode;

enum ByteMathBase {
    _BaseNone = 0,
    BaseOct = 8,
    BaseDec = 10,
    BaseHex = 16,
};
typedef uint8_t ByteMathBase;

enum ByteMathEndian {
    _EndianNone = 0,
    BigEndian = 1,
    LittleEndian = 2,
    EndianDCE = 3,
};
typedef uint8_t ByteMathEndian;

enum ByteMathOperator {
    OperatorNone = 1,
    Addition = 2,
    Subtraction = 3,
    Division = 4,
    Multiplication = 5,
    LeftShift = 6,
    RightShift = 7,
};
typedef uint8_t ByteMathOperator;

enum DetectIPRepDataCmd {
    IPRepCmdAny = 0,
    IPRepCmdBoth = 1,
    IPRepCmdSrc = 2,
    IPRepCmdDst = 3,
};
typedef uint8_t DetectIPRepDataCmd;

enum DetectStreamSizeDataFlags {
    StreamSizeServer = 1,
    StreamSizeClient = 2,
    StreamSizeBoth = 3,
    StreamSizeEither = 4,
};
typedef uint8_t DetectStreamSizeDataFlags;

enum DetectUintMode {
    DetectUintModeEqual,
    DetectUintModeLt,
    DetectUintModeLte,
    DetectUintModeGt,
    DetectUintModeGte,
    DetectUintModeRange,
    DetectUintModeNe,
};
typedef uint8_t DetectUintMode;

typedef enum Direction {
    ToServer = 4,
    ToClient = 8,
} Direction;

typedef enum FtpEvent {
    FtpEventRequestCommandTooLong,
    FtpEventResponseCommandTooLong,
} FtpEvent;

enum HTTP2TransactionState {
    HTTP2StateIdle = 0,
    HTTP2StateOpen = 1,
    HTTP2StateReserved = 2,
    HTTP2StateDataClient = 3,
    HTTP2StateHalfClosedClient = 4,
    HTTP2StateDataServer = 5,
    HTTP2StateHalfClosedServer = 6,
    HTTP2StateClosed = 7,
    HTTP2StateGlobal = 8,
    HTTP2StateTodrop = 9,
};
typedef uint8_t HTTP2TransactionState;

/**
 * Propagate lzma crate errors
 */
typedef enum LzmaStatus {
    LzmaOk,
    LzmaIoError,
    LzmaHeaderTooShortError,
    LzmaError,
    LzmaMemoryError,
    LzmaXzError,
} LzmaStatus;

enum MQTTFlagState {
    MQTT_DONT_CARE = 0,
    MQTT_MUST_BE_SET = 1,
    MQTT_CANT_BE_SET = 2,
};
typedef uint8_t MQTTFlagState;

enum PgsqlTransactionState {
    Init = 0,
    RequestReceived,
    ResponseDone,
    FlushedOut,
};
typedef uint8_t PgsqlTransactionState;

enum SSHConnectionState {
    SshStateInProgress = 0,
    SshStateBannerWaitEol = 1,
    SshStateBannerDone = 2,
    SshStateFinished = 3,
};
typedef uint8_t SSHConnectionState;

/**
 * Container for parsed Asn1 objects
 */
typedef struct Asn1 Asn1;

typedef struct DCEIfaceData DCEIfaceData;

typedef struct DCEOpnumData DCEOpnumData;

typedef struct DCERPCState DCERPCState;

typedef struct DCERPCTransaction DCERPCTransaction;

typedef struct DCERPCUDPState DCERPCUDPState;

/**
 * The concept of a transaction is more to satisfy the Suricata
 * app-layer. This DHCP parser is actually stateless where each
 * message is its own transaction.
 */
typedef struct DHCPTransaction DHCPTransaction;

typedef struct RSDNSTransaction RSDNSTransaction;

/**
 * Struct to hold parsed asn1 keyword options
 */
typedef struct DetectAsn1Data DetectAsn1Data;

typedef struct DetectDnsOpcode DetectDnsOpcode;

typedef struct DetectKrb5TicketEncryptionData DetectKrb5TicketEncryptionData;

typedef struct DetectModbusRust DetectModbusRust;

typedef struct HTTP2State HTTP2State;

typedef struct HTTP2Transaction HTTP2Transaction;

typedef struct JsonBuilder JsonBuilder;

typedef struct MQTTState MQTTState;

typedef struct MQTTTransaction MQTTTransaction;

typedef struct ModbusState ModbusState;

typedef struct ModbusTransaction ModbusTransaction;

typedef struct NFSState NFSState;

typedef struct NFSTransaction NFSTransaction;

typedef struct QuicState QuicState;

typedef struct QuicTransaction QuicTransaction;

typedef struct QuicVersion QuicVersion;

typedef struct RFBTransaction RFBTransaction;

typedef struct RdpState RdpState;

typedef struct RdpTransaction RdpTransaction;

/**
 * Status object to hold required features and the latest version of
 * Suricata required.
 *
 * Full qualified name as it is exposed to C.
 */
typedef struct SCDetectRequiresStatus SCDetectRequiresStatus;

typedef struct SCMd5 SCMd5;

typedef struct SCSha1 SCSha1;

typedef struct SCSha256 SCSha256;

typedef struct SIPState SIPState;

typedef struct SIPTransaction SIPTransaction;

typedef struct SMBState SMBState;

typedef struct SMBTransaction SMBTransaction;

typedef struct X509 X509;

/**
 * A "mark" or saved state for a JsonBuilder object.
 *
 * The name is full, and the types are u64 as this object is used
 * directly in C as well.
 */
typedef struct JsonBuilderMark {
    uint64_t position;
    uint64_t state_index;
    uint64_t state;
} JsonBuilderMark;

typedef struct DetectByteMathData {
    const char *rvalue_str;
    const char *result;
    const char *nbytes_str;
    uint32_t rvalue;
    int32_t offset;
    uint32_t bitmask_val;
    uint16_t bitmask_shift_count;
    uint16_t id;
    uint8_t flags;
    uint8_t local_id;
    uint8_t nbytes;
    ByteMathOperator oper;
    ByteMathEndian endian;
    ByteMathBase base;
} DetectByteMathData;

typedef struct DetectUintData_u8 {
    uint8_t arg1;
    uint8_t arg2;
    DetectUintMode mode;
} DetectUintData_u8;

typedef struct DetectIPRepData {
    struct DetectUintData_u8 du8;
    uint8_t cat;
    DetectIPRepDataCmd cmd;
} DetectIPRepData;

typedef struct DetectUintData_u32 {
    uint32_t arg1;
    uint32_t arg2;
    DetectUintMode mode;
} DetectUintData_u32;

typedef struct DetectStreamSizeData {
    DetectStreamSizeDataFlags flags;
    struct DetectUintData_u32 du32;
} DetectStreamSizeData;

typedef struct DetectUintData_u64 {
    uint64_t arg1;
    uint64_t arg2;
    DetectUintMode mode;
} DetectUintData_u64;

typedef struct DetectUintData_u16 {
    uint16_t arg1;
    uint16_t arg2;
    DetectUintMode mode;
} DetectUintData_u16;

typedef struct DetectUrilenData {
    struct DetectUintData_u16 du16;
    bool raw_buffer;
} DetectUrilenData;

typedef struct AppLayerResult {
    int32_t status;
    uint32_t consumed;
    uint32_t needed;
} AppLayerResult;

typedef struct StreamSlice {
    const uint8_t *input;
    uint32_t input_len;
    /**
     * STREAM_* flags
     */
    uint8_t flags;
    uint64_t offset;
} StreamSlice;

typedef struct AppLayerTxConfig {
    /**
     * config: log flags
     */
    uint8_t log_flags;
} AppLayerTxConfig;

/**
 * helper for the GetTxFilesFn. Not meant to be embedded as the config
 * pointer is passed around in the API.
 */
typedef struct AppLayerGetFileState {
    FileContainer *fc;
    const StreamingBufferConfig *cfg;
} AppLayerGetFileState;

/**
 * LoggerFlags tracks which loggers have already been executed.
 */
typedef struct LoggerFlags {
    uint32_t flags;
} LoggerFlags;

typedef struct AppLayerTxData {
    /**
     * config: log flags
     */
    struct AppLayerTxConfig config;
    /**
     * logger flags for tx logging api
     */
    struct LoggerFlags logged;
    /**
     * track file open/logs so we can know how long to keep the tx
     */
    uint32_t files_opened;
    uint32_t files_logged;
    uint32_t files_stored;
    uint16_t file_flags;
    /**
     * Indicated if a file tracking tx, and if so in which direction:
     *  0: not a file tx
     * STREAM_TOSERVER: file tx, files only in toserver dir
     * STREAM_TOCLIENT: file tx , files only in toclient dir
     * STREAM_TOSERVER|STREAM_TOCLIENT: files possible in both dirs
     */
    uint8_t file_tx;
    /**
     * detection engine flags for use by detection engine
     */
    uint64_t detect_flags_ts;
    uint64_t detect_flags_tc;
    DetectEngineState *de_state;
    AppLayerDecoderEvents *events;
} AppLayerTxData;

typedef struct ModbusMessage {
    const void *_0;
} ModbusMessage;

typedef struct AppLayerStateData {
    uint16_t file_flags;
} AppLayerStateData;

typedef struct HTTPContentRange {
    int64_t start;
    int64_t end;
    int64_t size;
} HTTPContentRange;

typedef struct AppLayerGetTxIterTuple {
    void *tx_ptr;
    uint64_t tx_id;
    bool has_next;
} AppLayerGetTxIterTuple;

#define ALPROTO_UNKNOWN 0















void rs_log_set_level(int32_t level);

void rs_init(const SuricataContext *context);

/**
 * Free a CString allocated by Rust (for ex. using `rust_string_to_c`)
 *
 * # Safety
 *
 * s must be allocated by rust, using `CString::new`
 */
void rs_cstring_free(char *s);

void rs_to_hex(uint8_t *output,
               uintptr_t out_len,
               const uint8_t *input,
               uintptr_t in_len);

void rs_to_hex_sep(uint8_t *output,
                   uintptr_t out_len,
                   uint8_t sep,
                   const uint8_t *input,
                   uintptr_t in_len);

struct JsonBuilder *jb_new_object(void);

struct JsonBuilder *jb_new_array(void);

struct JsonBuilder *jb_clone(struct JsonBuilder *js);

void jb_free(struct JsonBuilder *js);

uintptr_t jb_capacity(struct JsonBuilder *jb);

void jb_reset(struct JsonBuilder *jb);

bool jb_open_object(struct JsonBuilder *js, const char *key);

bool jb_start_object(struct JsonBuilder *js);

bool jb_open_array(struct JsonBuilder *js, const char *key);

bool jb_set_string(struct JsonBuilder *js, const char *key, const char *val);

bool jb_set_string_from_bytes(struct JsonBuilder *js,
                              const char *key,
                              const uint8_t *bytes,
                              uint32_t len);

bool jb_set_base64(struct JsonBuilder *js,
                   const char *key,
                   const uint8_t *bytes,
                   uint32_t len);

bool jb_set_hex(struct JsonBuilder *js,
                const char *key,
                const uint8_t *bytes,
                uint32_t len);

bool jb_set_formatted(struct JsonBuilder *js, const char *formatted);

bool jb_append_object(struct JsonBuilder *jb, const struct JsonBuilder *obj);

bool jb_set_object(struct JsonBuilder *js,
                   const char *key,
                   struct JsonBuilder *val);

bool jb_append_string(struct JsonBuilder *js, const char *val);

bool jb_append_string_from_bytes(struct JsonBuilder *js,
                                 const uint8_t *bytes,
                                 uint32_t len);

bool jb_append_base64(struct JsonBuilder *js,
                      const uint8_t *bytes,
                      uint32_t len);

bool jb_append_uint(struct JsonBuilder *js, uint64_t val);

bool jb_append_float(struct JsonBuilder *js, double val);

bool jb_set_uint(struct JsonBuilder *js, const char *key, uint64_t val);

bool jb_set_int(struct JsonBuilder *js, const char *key, int64_t val);

bool jb_set_float(struct JsonBuilder *js, const char *key, double val);

bool jb_set_bool(struct JsonBuilder *js, const char *key, bool val);

bool jb_close(struct JsonBuilder *js);

uintptr_t jb_len(const struct JsonBuilder *js);

const uint8_t *jb_ptr(struct JsonBuilder *js);

void jb_get_mark(struct JsonBuilder *js, struct JsonBuilderMark *mark);

bool jb_restore_mark(struct JsonBuilder *js, struct JsonBuilderMark *mark);

/**
 * Intermediary function between the C code and the parsing functions.
 */
struct DetectByteMathData *ScByteMathParse(const char *c_arg);

void ScByteMathFree(struct DetectByteMathData *ptr);

struct DetectIPRepData *rs_detect_iprep_parse(const char *ustr);

void rs_detect_iprep_free(struct DetectIPRepData *ctx);

struct DetectStreamSizeData *rs_detect_stream_size_parse(const char *ustr);

void rs_detect_stream_size_free(struct DetectStreamSizeData *ctx);

struct DetectUintData_u64 *rs_detect_u64_parse(const char *ustr);

int rs_detect_u64_match(uint64_t arg, const struct DetectUintData_u64 *ctx);

void rs_detect_u64_free(void *ctx);

struct DetectUintData_u32 *rs_detect_u32_parse(const char *ustr);

struct DetectUintData_u32 *rs_detect_u32_parse_inclusive(const char *ustr);

int rs_detect_u32_match(uint32_t arg, const struct DetectUintData_u32 *ctx);

void rs_detect_u32_free(struct DetectUintData_u32 *ctx);

struct DetectUintData_u8 *rs_detect_u8_parse(const char *ustr);

int rs_detect_u8_match(uint8_t arg, const struct DetectUintData_u8 *ctx);

void rs_detect_u8_free(struct DetectUintData_u8 *ctx);

struct DetectUintData_u16 *rs_detect_u16_parse(const char *ustr);

int rs_detect_u16_match(uint16_t arg, const struct DetectUintData_u16 *ctx);

void rs_detect_u16_free(struct DetectUintData_u16 *ctx);

struct DetectUrilenData *rs_detect_urilen_parse(const char *ustr);

void rs_detect_urilen_free(struct DetectUrilenData *ctx);

struct SCDetectRequiresStatus *SCDetectRequiresStatusNew(void);

void SCDetectRequiresStatusFree(struct SCDetectRequiresStatus *status);

void SCDetectRequiresStatusLog(struct SCDetectRequiresStatus *status,
                               const char *suricata_version,
                               uint32_t tenant_id);

/**
 * Parse a "requires" rule option.
 *
 * Return values:
 *   *  0 - OK, rule should continue loading
 *   * -1 - Error parsing the requires content
 *   * -4 - Requirements not met, don't continue loading the rule, this
 *          value is chosen so it can be passed back to the options parser
 *          as its treated as a non-fatal silent error.
 */
int SCDetectCheckRequires(const char *requires,
                          const char *suricata_version_string,
                          const char **errstr,
                          struct SCDetectRequiresStatus *status);

/**
 * Perform the DNS opcode match.
 *
 * 1 will be returned on match, otherwise 0 will be returned.
 */
uint8_t rs_dns_opcode_match(struct RSDNSTransaction *tx,
                            struct DetectDnsOpcode *detect,
                            uint8_t flags);

void *rs_detect_dns_opcode_parse(const char *carg);

void rs_dns_detect_opcode_free(void *ptr);

/**
 * Returns *mut DNSState
 */
void *rs_dns_state_new(void *_orig_state, AppProto _orig_proto);

/**
 * Returns *mut DNSState
 */
void *rs_dns_state_tcp_new(void);

/**
 * Params:
 * - state: *mut DNSState as void pointer
 */
void rs_dns_state_free(void *state);

void rs_dns_state_tx_free(void *state, uint64_t tx_id);

/**
 * C binding parse a DNS request. Returns 1 on success, -1 on failure.
 */
struct AppLayerResult rs_dns_parse_request(const Flow *flow,
                                           void *state,
                                           void *_pstate,
                                           struct StreamSlice stream_slice,
                                           const void *_data);

struct AppLayerResult rs_dns_parse_response(const Flow *flow,
                                            void *state,
                                            void *_pstate,
                                            struct StreamSlice stream_slice,
                                            const void *_data);

/**
 * C binding parse a DNS request. Returns 1 on success, -1 on failure.
 */
struct AppLayerResult rs_dns_parse_request_tcp(const Flow *flow,
                                               void *state,
                                               void *_pstate,
                                               struct StreamSlice stream_slice,
                                               const void *_data);

struct AppLayerResult rs_dns_parse_response_tcp(const Flow *flow,
                                                void *state,
                                                void *_pstate,
                                                struct StreamSlice stream_slice,
                                                const void *_data);

int rs_dns_tx_get_alstate_progress(void *_tx, uint8_t _direction);

uint64_t rs_dns_state_get_tx_count(void *state);

void *rs_dns_state_get_tx(void *state, uint64_t tx_id);

bool rs_dns_tx_is_request(struct RSDNSTransaction *tx);

bool rs_dns_tx_is_response(struct RSDNSTransaction *tx);

uint8_t rs_dns_tx_get_query_name(struct RSDNSTransaction *tx,
                                 uint32_t i,
                                 const uint8_t **buf,
                                 uint32_t *len);

/**
 * Get the DNS transaction ID of a transaction.
 * extern uint16_t rs_dns_tx_get_tx_id(RSDNSTransaction *);
 */
uint16_t rs_dns_tx_get_tx_id(struct RSDNSTransaction *tx);

/**
 * Get the DNS response flags for a transaction.
 *
 * extern uint16_t rs_dns_tx_get_response_flags(RSDNSTransaction *);
 */
uint16_t rs_dns_tx_get_response_flags(struct RSDNSTransaction *tx);

uint8_t rs_dns_tx_get_query_rrtype(struct RSDNSTransaction *tx,
                                   uint16_t i,
                                   uint16_t *rrtype);

AppProto rs_dns_probe(const Flow *_flow,
                      uint8_t _dir,
                      const uint8_t *input,
                      uint32_t len,
                      uint8_t *rdir);

AppProto rs_dns_probe_tcp(const Flow *_flow,
                          uint8_t direction,
                          const uint8_t *input,
                          uint32_t len,
                          uint8_t *rdir);

void rs_dns_apply_tx_config(void *_state,
                            void *_tx,
                            int _mode,
                            struct AppLayerTxConfig config);

void rs_dns_udp_register_parser(void);

void rs_dns_tcp_register_parser(void);

bool rs_dns_log_json_query(struct RSDNSTransaction *tx,
                           uint16_t i,
                           uint64_t flags,
                           struct JsonBuilder *jb);

bool rs_dns_log_json_answer(struct RSDNSTransaction *tx,
                            uint64_t flags,
                            struct JsonBuilder *js);

bool rs_dns_do_log_answer(struct RSDNSTransaction *tx, uint64_t flags);

void rs_dns_lua_get_tx_id(lua_State *clua, struct RSDNSTransaction *tx);

int rs_dns_lua_get_rrname(lua_State *clua, struct RSDNSTransaction *tx);

int rs_dns_lua_get_rcode(lua_State *clua, struct RSDNSTransaction *tx);

int rs_dns_lua_get_query_table(lua_State *clua, struct RSDNSTransaction *tx);

int rs_dns_lua_get_answer_table(lua_State *clua, struct RSDNSTransaction *tx);

int rs_dns_lua_get_authority_table(lua_State *clua,
                                   struct RSDNSTransaction *tx);

struct AppLayerGetFileState rs_nfs_gettxfiles(void *_state,
                                              void *tx,
                                              uint8_t direction);

/**
 * Returns *mut NFSState
 */
void *rs_nfs_state_new(void *_orig_state, AppProto _orig_proto);

/**
 * Params:
 * - state: *mut NFSState as void pointer
 */
void rs_nfs_state_free(void *state);

/**
 * C binding parse a NFS TCP request. Returns 1 on success, -1 on failure.
 */
struct AppLayerResult rs_nfs_parse_request(const Flow *flow,
                                           void *state,
                                           void *_pstate,
                                           struct StreamSlice stream_slice,
                                           const void *_data);

struct AppLayerResult rs_nfs_parse_request_tcp_gap(struct NFSState *state,
                                                   uint32_t input_len);

struct AppLayerResult rs_nfs_parse_response(const Flow *flow,
                                            void *state,
                                            void *_pstate,
                                            struct StreamSlice stream_slice,
                                            const void *_data);

struct AppLayerResult rs_nfs_parse_response_tcp_gap(struct NFSState *state,
                                                    uint32_t input_len);

/**
 * C binding to parse an NFS/UDP request. Returns 1 on success, -1 on failure.
 */
struct AppLayerResult rs_nfs_parse_request_udp(const Flow *f,
                                               void *state,
                                               void *_pstate,
                                               struct StreamSlice stream_slice,
                                               const void *_data);

struct AppLayerResult rs_nfs_parse_response_udp(const Flow *f,
                                                void *state,
                                                void *_pstate,
                                                struct StreamSlice stream_slice,
                                                const void *_data);

uint64_t rs_nfs_state_get_tx_count(void *state);

void *rs_nfs_state_get_tx(void *state, uint64_t tx_id);

void rs_nfs_state_tx_free(void *state, uint64_t tx_id);

int rs_nfs_tx_get_alstate_progress(void *tx, uint8_t direction);

struct AppLayerTxData *rs_nfs_get_tx_data(void *tx);

/**
 * return procedure(s) in the tx. At 0 return the main proc,
 * otherwise get procs from the 'file_additional_procs'.
 * Keep calling until 0 is returned.
 */
uint8_t rs_nfs_tx_get_procedures(struct NFSTransaction *tx,
                                 uint16_t i,
                                 uint32_t *procedure);

void rs_nfs_tx_get_version(struct NFSTransaction *tx, uint32_t *version);

void rs_nfs_init(SuricataFileContext *context);

/**
 * MIDSTREAM
 */
AppProto rs_nfs_probe_ms(const Flow *_flow,
                         uint8_t direction,
                         const uint8_t *input,
                         uint32_t len,
                         uint8_t *rdir);

AppProto rs_nfs_probe(const Flow *_f,
                      uint8_t direction,
                      const uint8_t *input,
                      uint32_t len,
                      uint8_t *_rdir);

/**
 * TOSERVER probe function
 */
AppProto rs_nfs_probe_udp_ts(const Flow *_f,
                             uint8_t _direction,
                             const uint8_t *input,
                             uint32_t len,
                             uint8_t *_rdir);

/**
 * TOCLIENT probe function
 */
AppProto rs_nfs_probe_udp_tc(const Flow *_f,
                             uint8_t _direction,
                             const uint8_t *input,
                             uint32_t len,
                             uint8_t *_rdir);

void rs_nfs_register_parser(void);

void rs_nfs_udp_register_parser(void);

uint8_t rs_nfs_tx_logging_is_filtered(struct NFSState *state,
                                      struct NFSTransaction *tx);

bool rs_nfs_log_json_request(struct NFSState *state,
                             struct NFSTransaction *tx,
                             struct JsonBuilder *js);

bool rs_nfs_log_json_response(struct NFSState *state,
                              struct NFSTransaction *tx,
                              struct JsonBuilder *js);

bool rs_rpc_log_json_response(struct NFSTransaction *tx,
                              struct JsonBuilder *js);

uint16_t rs_ftp_active_port(const uint8_t *input, uint32_t len);

uint16_t rs_ftp_pasv_response(const uint8_t *input, uint32_t len);

uint16_t rs_ftp_active_eprt(const uint8_t *input, uint32_t len);

uint16_t rs_ftp_epsv_response(const uint8_t *input, uint32_t len);

/**
 * Wrapper around the Rust generic function for get_event_info.
 *
 * # Safety
 * Unsafe as called from C.
 */
int ftp_get_event_info(const char *event_name,
                       int *event_id,
                       enum AppLayerEventType *event_type);

/**
 * Wrapper around the Rust generic function for get_event_info_by_id.
 *
 * # Safety
 * Unsafe as called from C.
 */
int ftp_get_event_info_by_id(int event_id,
                             const char **event_name,
                             enum AppLayerEventType *event_type);

void rs_smb_init(SuricataFileContext *context);

/**
 * Returns *mut SMBState
 */
void *rs_smb_state_new(void *_orig_state, AppProto _orig_proto);

/**
 * Params:
 * - state: *mut SMBState as void pointer
 */
void rs_smb_state_free(void *state);

/**
 * C binding parse a SMB request. Returns 1 on success, -1 on failure.
 */
struct AppLayerResult rs_smb_parse_request_tcp(const Flow *flow,
                                               void *state,
                                               void *_pstate,
                                               struct StreamSlice stream_slice,
                                               const void *_data);

struct AppLayerResult rs_smb_parse_request_tcp_gap(struct SMBState *state,
                                                   uint32_t input_len);

struct AppLayerResult rs_smb_parse_response_tcp(const Flow *flow,
                                                void *state,
                                                void *_pstate,
                                                struct StreamSlice stream_slice,
                                                const void *_data);

struct AppLayerResult rs_smb_parse_response_tcp_gap(struct SMBState *state,
                                                    uint32_t input_len);

AppProto rs_smb_probe_begins_tcp(const Flow *_f,
                                 uint8_t flags,
                                 const uint8_t *input,
                                 uint32_t len,
                                 uint8_t *rdir);

AppProto rs_smb_probe_tcp(const Flow *_f,
                          uint8_t flags,
                          const uint8_t *input,
                          uint32_t len,
                          uint8_t *rdir);

uint64_t rs_smb_state_get_tx_count(void *state);

void *rs_smb_state_get_tx(void *state, uint64_t tx_id);

void rs_smb_state_tx_free(void *state, uint64_t tx_id);

int32_t rs_smb_tx_get_alstate_progress(void *tx, uint8_t direction);

struct AppLayerTxData *rs_smb_get_tx_data(void *tx);

void rs_smb_state_truncate(void *state, uint8_t direction);

int8_t rs_smb_state_get_event_info_by_id(int event_id,
                                         const char **event_name,
                                         enum AppLayerEventType *event_type);

int rs_smb_state_get_event_info(const char *event_name,
                                int *event_id,
                                enum AppLayerEventType *event_type);

void rs_smb_register_parser(void);

bool rs_smb_log_json_request(struct JsonBuilder *jsb,
                             struct SMBState *state,
                             struct SMBTransaction *tx);

bool rs_smb_log_json_response(struct JsonBuilder *jsb,
                              struct SMBState *state,
                              struct SMBTransaction *tx);

uint8_t rs_smb_tx_get_share(struct SMBTransaction *tx,
                            const uint8_t **buffer,
                            uint32_t *buffer_len);

uint8_t rs_smb_tx_get_named_pipe(struct SMBTransaction *tx,
                                 const uint8_t **buffer,
                                 uint32_t *buffer_len);

uint8_t rs_smb_tx_get_stub_data(struct SMBTransaction *tx,
                                uint8_t direction,
                                const uint8_t **buffer,
                                uint32_t *buffer_len);

uint8_t rs_smb_tx_match_dce_opnum(struct SMBTransaction *tx,
                                  struct DCEOpnumData *dce_data);

uint8_t rs_smb_tx_get_dce_iface(struct SMBState *state,
                                struct SMBTransaction *tx,
                                struct DCEIfaceData *dce_data);

uint8_t rs_smb_tx_get_ntlmssp_user(struct SMBTransaction *tx,
                                   const uint8_t **buffer,
                                   uint32_t *buffer_len);

uint8_t rs_smb_tx_get_ntlmssp_domain(struct SMBTransaction *tx,
                                     const uint8_t **buffer,
                                     uint32_t *buffer_len);

struct AppLayerGetFileState rs_smb_gettxfiles(void *_state,
                                              void *tx,
                                              uint8_t direction);

/**
 * Returns *mut KRB5State
 */
void *rs_krb5_state_new(void *_orig_state, AppProto _orig_proto);

/**
 * Params:
 * - state: *mut KRB5State as void pointer
 */
void rs_krb5_state_free(void *state);

void *rs_krb5_state_get_tx(void *state, uint64_t tx_id);

uint64_t rs_krb5_state_get_tx_count(void *state);

void rs_krb5_state_tx_free(void *state, uint64_t tx_id);

int rs_krb5_tx_get_alstate_progress(void *_tx, uint8_t _direction);

AppProto rs_krb5_probing_parser(const Flow *_flow,
                                uint8_t _direction,
                                const uint8_t *input,
                                uint32_t input_len,
                                uint8_t *_rdir);

AppProto rs_krb5_probing_parser_tcp(const Flow *_flow,
                                    uint8_t direction,
                                    const uint8_t *input,
                                    uint32_t input_len,
                                    uint8_t *rdir);

struct AppLayerResult rs_krb5_parse_request(const Flow *_flow,
                                            void *state,
                                            void *_pstate,
                                            struct StreamSlice stream_slice,
                                            const void *_data);

struct AppLayerResult rs_krb5_parse_response(const Flow *_flow,
                                             void *state,
                                             void *_pstate,
                                             struct StreamSlice stream_slice,
                                             const void *_data);

struct AppLayerResult rs_krb5_parse_request_tcp(const Flow *_flow,
                                                void *state,
                                                void *_pstate,
                                                struct StreamSlice stream_slice,
                                                const void *_data);

struct AppLayerResult rs_krb5_parse_response_tcp(const Flow *_flow,
                                                 void *state,
                                                 void *_pstate,
                                                 struct StreamSlice stream_slice,
                                                 const void *_data);

void rs_register_krb5_parser(void);

void rs_krb5_tx_get_msgtype(KRB5Transaction *tx, uint32_t *ptr);

/**
 * Get error code, if present in transaction
 * Return 0 if error code was filled, else 1
 */
uint32_t rs_krb5_tx_get_errcode(KRB5Transaction *tx, int32_t *ptr);

uint8_t rs_krb5_tx_get_cname(KRB5Transaction *tx,
                             uint32_t i,
                             const uint8_t **buffer,
                             uint32_t *buffer_len);

uint8_t rs_krb5_tx_get_sname(KRB5Transaction *tx,
                             uint32_t i,
                             const uint8_t **buffer,
                             uint32_t *buffer_len);

struct DetectKrb5TicketEncryptionData *rs_krb5_detect_encryption_parse(const char *ustr);

int rs_krb5_detect_encryption_match(KRB5Transaction *tx,
                                    const struct DetectKrb5TicketEncryptionData *ctx);

void rs_krb5_detect_encryption_free(struct DetectKrb5TicketEncryptionData *ctx);

bool rs_krb5_log_json_response(struct JsonBuilder *jsb, KRB5Transaction *tx);

struct AppLayerResult rs_parse_dcerpc_request_gap(struct DCERPCState *state,
                                                  uint32_t _input_len);

struct AppLayerResult rs_parse_dcerpc_response_gap(struct DCERPCState *state,
                                                   uint32_t _input_len);

struct AppLayerResult rs_dcerpc_parse_request(const Flow *flow,
                                              void *state,
                                              void *_pstate,
                                              struct StreamSlice stream_slice,
                                              const void *_data);

struct AppLayerResult rs_dcerpc_parse_response(const Flow *flow,
                                               void *state,
                                               void *_pstate,
                                               struct StreamSlice stream_slice,
                                               const void *_data);

void *rs_dcerpc_state_new(void *_orig_state, AppProto _orig_proto);

void rs_dcerpc_state_free(void *state);

void rs_dcerpc_state_transaction_free(void *state, uint64_t tx_id);

void rs_dcerpc_state_trunc(void *state, uint8_t direction);

void *rs_dcerpc_get_tx(void *vtx, uint64_t tx_id);

uint64_t rs_dcerpc_get_tx_cnt(void *vtx);

int rs_dcerpc_get_alstate_progress(void *tx, uint8_t direction);

struct AppLayerTxData *rs_dcerpc_get_tx_data(void *tx);

void rs_dcerpc_get_stub_data(struct DCERPCTransaction *tx,
                             const uint8_t **buf,
                             uint32_t *len,
                             uint8_t *endianness,
                             uint8_t dir);

void rs_dcerpc_register_parser(void);

struct AppLayerResult rs_dcerpc_udp_parse(const Flow *_flow,
                                          void *state,
                                          void *_pstate,
                                          struct StreamSlice stream_slice,
                                          const void *_data);

void rs_dcerpc_udp_state_free(void *state);

void *rs_dcerpc_udp_state_new(void *_orig_state, AppProto _orig_proto);

void rs_dcerpc_udp_state_transaction_free(void *state, uint64_t tx_id);

struct AppLayerTxData *rs_dcerpc_udp_get_tx_data(void *tx);

void *rs_dcerpc_udp_get_tx(void *state, uint64_t tx_id);

uint64_t rs_dcerpc_udp_get_tx_cnt(void *vtx);

void rs_dcerpc_udp_register_parser(void);

uint8_t rs_dcerpc_iface_match(struct DCERPCTransaction *tx,
                              struct DCERPCState *state,
                              struct DCEIfaceData *if_data);

void *rs_dcerpc_iface_parse(const char *carg);

void rs_dcerpc_iface_free(void *ptr);

uint8_t rs_dcerpc_opnum_match(struct DCERPCTransaction *tx,
                              struct DCEOpnumData *opnum_data);

void *rs_dcerpc_opnum_parse(const char *carg);

void rs_dcerpc_opnum_free(void *ptr);

bool rs_dcerpc_log_json_record_tcp(const struct DCERPCState *state,
                                   const struct DCERPCTransaction *tx,
                                   struct JsonBuilder *jsb);

bool rs_dcerpc_log_json_record_udp(const struct DCERPCUDPState *state,
                                   const struct DCERPCTransaction *tx,
                                   struct JsonBuilder *jsb);

/**
 * Intermediary function between the C code and the parsing functions.
 */
void *rs_modbus_parse(const char *c_arg);

void rs_modbus_free(void *ptr);

/**
 * Compares a transaction to a signature to determine whether the transaction
 * matches the signature. If it does, 1 is returned; otherwise 0 is returned.
 */
uint8_t rs_modbus_inspect(const struct ModbusTransaction *tx,
                          const struct DetectModbusRust *modbus);

bool rs_modbus_to_json(struct ModbusTransaction *tx, struct JsonBuilder *js);

/**
 * Probe input to see if it looks like Modbus.
 */
AppProto rs_modbus_probe(const Flow *_flow,
                         uint8_t _direction,
                         const uint8_t *input,
                         uint32_t len,
                         uint8_t *_rdir);

void *rs_modbus_state_new(void *_orig_state, AppProto _orig_proto);

void rs_modbus_state_free(void *state);

void rs_modbus_state_tx_free(void *state, uint64_t tx_id);

struct AppLayerResult rs_modbus_parse_request(const Flow *_flow,
                                              void *state,
                                              void *pstate,
                                              struct StreamSlice stream_slice,
                                              const void *_data);

struct AppLayerResult rs_modbus_parse_response(const Flow *_flow,
                                               void *state,
                                               void *pstate,
                                               struct StreamSlice stream_slice,
                                               const void *_data);

uint64_t rs_modbus_state_get_tx_count(void *state);

void *rs_modbus_state_get_tx(void *state, uint64_t tx_id);

int rs_modbus_tx_get_alstate_progress(void *tx, uint8_t _direction);

struct AppLayerTxData *rs_modbus_state_get_tx_data(void *tx);

void rs_modbus_register_parser(void);

uint8_t rs_modbus_message_get_function(const struct ModbusMessage *msg);

uint16_t rs_modbus_message_get_subfunction(const struct ModbusMessage *msg);

uint16_t rs_modbus_message_get_read_request_address(const struct ModbusMessage *msg);

uint16_t rs_modbus_message_get_read_request_quantity(const struct ModbusMessage *msg);

uint16_t rs_modbus_message_get_rw_multreq_read_address(const struct ModbusMessage *msg);

uint16_t rs_modbus_message_get_rw_multreq_read_quantity(const struct ModbusMessage *msg);

uint16_t rs_modbus_message_get_rw_multreq_write_address(const struct ModbusMessage *msg);

uint16_t rs_modbus_message_get_rw_multreq_write_quantity(const struct ModbusMessage *msg);

const uint8_t *rs_modbus_message_get_rw_multreq_write_data(const struct ModbusMessage *msg,
                                                           uintptr_t *data_len);

uint16_t rs_modbus_message_get_write_multreq_address(const struct ModbusMessage *msg);

uint16_t rs_modbus_message_get_write_multreq_quantity(const struct ModbusMessage *msg);

const uint8_t *rs_modbus_message_get_write_multreq_data(const struct ModbusMessage *msg,
                                                        uintptr_t *data_len);

uint16_t rs_modbus_message_get_and_mask(const struct ModbusMessage *msg);

uint16_t rs_modbus_message_get_or_mask(const struct ModbusMessage *msg);

uint16_t rs_modbus_message_get_write_address(const struct ModbusMessage *msg);

uint16_t rs_modbus_message_get_write_data(const struct ModbusMessage *msg);

const uint8_t *rs_modbus_message_get_bytevec_data(const struct ModbusMessage *msg,
                                                  uintptr_t *data_len);

struct ModbusMessage rs_modbus_state_get_tx_request(void *state,
                                                    uint64_t tx_id);

struct ModbusMessage rs_modbus_state_get_tx_response(void *state,
                                                     uint64_t tx_id);

uint8_t rs_ike_state_get_exch_type(IKETransaction *tx, uint8_t *exch_type);

uint8_t rs_ike_state_get_spi_initiator(IKETransaction *tx,
                                       const uint8_t **buffer,
                                       uint32_t *buffer_len);

uint8_t rs_ike_state_get_spi_responder(IKETransaction *tx,
                                       const uint8_t **buffer,
                                       uint32_t *buffer_len);

uint8_t rs_ike_state_get_nonce(IKETransaction *tx,
                               const uint8_t **buffer,
                               uint32_t *buffer_len);

uint8_t rs_ike_state_get_key_exchange(IKETransaction *tx,
                                      const uint8_t **buffer,
                                      uint32_t *buffer_len);

uint8_t rs_ike_tx_get_vendor(const IKETransaction *tx,
                             uint32_t i,
                             const uint8_t **buf,
                             uint32_t *len);

uint8_t rs_ike_state_get_sa_attribute(IKETransaction *tx,
                                      const char *sa_type,
                                      uint32_t *value);

uint8_t rs_ike_state_get_key_exchange_payload_length(IKETransaction *tx,
                                                     uint32_t *value);

uint8_t rs_ike_state_get_nonce_payload_length(IKETransaction *tx,
                                              uint32_t *value);

/**
 * C entry point for a probing parser.
 */
AppProto rs_ike_probing_parser(const Flow *_flow,
                               uint8_t direction,
                               const uint8_t *input,
                               uint32_t input_len,
                               uint8_t *rdir);

void *rs_ike_state_new(void *_orig_state, AppProto _orig_proto);

void rs_ike_state_free(void *state);

void rs_ike_state_tx_free(void *state, uint64_t tx_id);

struct AppLayerResult rs_ike_parse_request(const Flow *_flow,
                                           void *state,
                                           void *_pstate,
                                           struct StreamSlice stream_slice,
                                           const void *_data);

struct AppLayerResult rs_ike_parse_response(const Flow *_flow,
                                            void *state,
                                            void *_pstate,
                                            struct StreamSlice stream_slice,
                                            const void *_data);

void *rs_ike_state_get_tx(void *state, uint64_t tx_id);

uint64_t rs_ike_state_get_tx_count(void *state);

int rs_ike_state_progress_completion_status(uint8_t _direction);

int rs_ike_tx_get_alstate_progress(void *_tx, uint8_t _direction);

uint32_t rs_ike_tx_get_logged(void *_state, void *tx);

void rs_ike_tx_set_logged(void *_state, void *tx, uint32_t logged);

void rs_ike_register_parser(void);

bool rs_ike_logger_log(IKEState *state,
                       void *tx,
                       uint32_t flags,
                       struct JsonBuilder *js);

/**
 * Returns *mut SNMPState
 */
void *rs_snmp_state_new(void *_orig_state, AppProto _orig_proto);

/**
 * Params:
 * - state: *mut SNMPState as void pointer
 */
void rs_snmp_state_free(void *state);

struct AppLayerResult rs_snmp_parse_request(const Flow *_flow,
                                            void *state,
                                            void *_pstate,
                                            struct StreamSlice stream_slice,
                                            const void *_data);

struct AppLayerResult rs_snmp_parse_response(const Flow *_flow,
                                             void *state,
                                             void *_pstate,
                                             struct StreamSlice stream_slice,
                                             const void *_data);

void *rs_snmp_state_get_tx(void *state, uint64_t tx_id);

uint64_t rs_snmp_state_get_tx_count(void *state);

void rs_snmp_state_tx_free(void *state, uint64_t tx_id);

int rs_snmp_tx_get_alstate_progress(void *_tx, uint8_t _direction);

AppProto rs_snmp_probing_parser(const Flow *_flow,
                                uint8_t _direction,
                                const uint8_t *input,
                                uint32_t input_len,
                                uint8_t *_rdir);

void rs_register_snmp_parser(void);

bool rs_snmp_log_json_response(struct JsonBuilder *jsb, SNMPTransaction *tx);

void rs_snmp_tx_get_version(SNMPTransaction *tx, uint32_t *version);

void rs_snmp_tx_get_community(SNMPTransaction *tx,
                              const uint8_t **buf,
                              uint32_t *len);

void rs_snmp_tx_get_pdu_type(SNMPTransaction *tx, uint32_t *pdu_type);

void rs_snmp_tx_get_usm(SNMPTransaction *tx,
                        const uint8_t **buf,
                        uint32_t *len);

/**
 * Returns *mut NTPState
 */
void *rs_ntp_state_new(void *_orig_state, AppProto _orig_proto);

/**
 * Params:
 * - state: *mut NTPState as void pointer
 */
void rs_ntp_state_free(void *state);

struct AppLayerResult rs_ntp_parse_request(const Flow *_flow,
                                           void *state,
                                           void *_pstate,
                                           struct StreamSlice stream_slice,
                                           const void *_data);

struct AppLayerResult rs_ntp_parse_response(const Flow *_flow,
                                            void *state,
                                            void *_pstate,
                                            struct StreamSlice stream_slice,
                                            const void *_data);

void *rs_ntp_state_get_tx(void *state, uint64_t tx_id);

uint64_t rs_ntp_state_get_tx_count(void *state);

void rs_ntp_state_tx_free(void *state, uint64_t tx_id);

int rs_ntp_tx_get_alstate_progress(void *_tx, uint8_t _direction);

AppProto ntp_probing_parser(const Flow *_flow,
                            uint8_t _direction,
                            const uint8_t *input,
                            uint32_t input_len,
                            uint8_t *_rdir);

void rs_register_ntp_parser(void);

void *rs_tftp_state_alloc(void);

void rs_tftp_state_free(void *state);

void rs_tftp_state_tx_free(TFTPState *state, uint64_t tx_id);

void *rs_tftp_get_tx(TFTPState *state, uint64_t tx_id);

uint64_t rs_tftp_get_tx_cnt(TFTPState *state);

int64_t rs_tftp_request(TFTPState *state, const uint8_t *input, uint32_t len);

struct AppLayerTxData *rs_tftp_get_tx_data(void *tx);

struct AppLayerStateData *rs_tftp_get_state_data(void *state);

bool rs_tftp_log_json_request(TFTPTransaction *tx, struct JsonBuilder *jb);

AppProto rs_dhcp_probing_parser(const Flow *_flow,
                                uint8_t _direction,
                                const uint8_t *input,
                                uint32_t input_len,
                                uint8_t *_rdir);

int rs_dhcp_tx_get_alstate_progress(void *_tx, uint8_t _direction);

void *rs_dhcp_state_get_tx(void *state, uint64_t tx_id);

uint64_t rs_dhcp_state_get_tx_count(void *state);

struct AppLayerResult rs_dhcp_parse(const Flow *_flow,
                                    void *state,
                                    void *_pstate,
                                    struct StreamSlice stream_slice,
                                    const void *_data);

void rs_dhcp_state_tx_free(void *state, uint64_t tx_id);

void *rs_dhcp_state_new(void *_orig_state, AppProto _orig_proto);

void rs_dhcp_state_free(void *state);

void rs_dhcp_register_parser(void);

void *rs_dhcp_logger_new(const void *conf);

void rs_dhcp_logger_free(void *logger);

bool rs_dhcp_logger_log(void *logger, void *tx, struct JsonBuilder *js);

bool rs_dhcp_logger_do_log(void *logger, void *tx);

uint8_t rs_dhcp_tx_get_leasetime(struct DHCPTransaction *tx,
                                 uint64_t *leasetime);

uint8_t rs_dhcp_tx_get_rebinding_time(struct DHCPTransaction *tx,
                                      uint64_t *res);

uint8_t rs_dhcp_tx_get_renewal_time(struct DHCPTransaction *tx, uint64_t *res);

uint8_t rs_sip_tx_get_method(struct SIPTransaction *tx,
                             const uint8_t **buffer,
                             uint32_t *buffer_len);

uint8_t rs_sip_tx_get_uri(struct SIPTransaction *tx,
                          const uint8_t **buffer,
                          uint32_t *buffer_len);

uint8_t rs_sip_tx_get_protocol(struct SIPTransaction *tx,
                               const uint8_t **buffer,
                               uint32_t *buffer_len,
                               uint8_t direction);

uint8_t rs_sip_tx_get_stat_code(struct SIPTransaction *tx,
                                const uint8_t **buffer,
                                uint32_t *buffer_len);

uint8_t rs_sip_tx_get_stat_msg(struct SIPTransaction *tx,
                               const uint8_t **buffer,
                               uint32_t *buffer_len);

uint8_t rs_sip_tx_get_request_line(struct SIPTransaction *tx,
                                   const uint8_t **buffer,
                                   uint32_t *buffer_len);

uint8_t rs_sip_tx_get_response_line(struct SIPTransaction *tx,
                                    const uint8_t **buffer,
                                    uint32_t *buffer_len);

bool rs_sip_log_json(struct SIPTransaction *tx, struct JsonBuilder *js);

void *rs_sip_state_new(void *_orig_state, AppProto _orig_proto);

void rs_sip_state_free(void *state);

void *rs_sip_state_get_tx(void *state, uint64_t tx_id);

uint64_t rs_sip_state_get_tx_count(void *state);

void rs_sip_state_tx_free(void *state, uint64_t tx_id);

int rs_sip_tx_get_alstate_progress(void *_tx, uint8_t _direction);

AppProto rs_sip_probing_parser_ts(const Flow *_flow,
                                  uint8_t _direction,
                                  const uint8_t *input,
                                  uint32_t input_len,
                                  uint8_t *_rdir);

AppProto rs_sip_probing_parser_tc(const Flow *_flow,
                                  uint8_t _direction,
                                  const uint8_t *input,
                                  uint32_t input_len,
                                  uint8_t *_rdir);

struct AppLayerResult rs_sip_parse_request(const Flow *flow,
                                           void *state,
                                           void *_pstate,
                                           struct StreamSlice stream_slice,
                                           const void *_data);

struct AppLayerResult rs_sip_parse_response(const Flow *flow,
                                            void *state,
                                            void *_pstate,
                                            struct StreamSlice stream_slice,
                                            const void *_data);

void rs_sip_register_parser(void);

uint8_t rs_rfb_tx_get_name(struct RFBTransaction *tx,
                           const uint8_t **buffer,
                           uint32_t *buffer_len);

uint8_t rs_rfb_tx_get_sectype(struct RFBTransaction *tx, uint32_t *sectype);

uint8_t rs_rfb_tx_get_secresult(struct RFBTransaction *tx, uint32_t *secresult);

bool rs_rfb_logger_log(void *tx, struct JsonBuilder *js);

void *rs_rfb_state_new(void *_orig_state, AppProto _orig_proto);

void rs_rfb_state_free(void *state);

void rs_rfb_state_tx_free(void *state, uint64_t tx_id);

struct AppLayerResult rs_rfb_parse_request(const Flow *flow,
                                           void *state,
                                           void *_pstate,
                                           struct StreamSlice stream_slice,
                                           const void *_data);

struct AppLayerResult rs_rfb_parse_response(const Flow *flow,
                                            void *state,
                                            void *_pstate,
                                            struct StreamSlice stream_slice,
                                            const void *_data);

void *rs_rfb_state_get_tx(void *state, uint64_t tx_id);

uint64_t rs_rfb_state_get_tx_count(void *state);

int rs_rfb_tx_get_alstate_progress(void *tx, uint8_t _direction);

void rs_rfb_register_parser(void);

uint8_t rs_mqtt_tx_has_type(const struct MQTTTransaction *tx, uint8_t mtype);

int rs_mqtt_cstr_message_code(const char *str);

uint8_t rs_mqtt_tx_has_flags(const struct MQTTTransaction *tx,
                             MQTTFlagState qretain,
                             MQTTFlagState qdup);

uint8_t rs_mqtt_tx_has_qos(const struct MQTTTransaction *tx, uint8_t qos);

uint8_t rs_mqtt_tx_get_protocol_version(const struct MQTTState *state);

uint8_t rs_mqtt_tx_has_connect_flags(const struct MQTTTransaction *tx,
                                     MQTTFlagState username,
                                     MQTTFlagState password,
                                     MQTTFlagState will,
                                     MQTTFlagState will_retain,
                                     MQTTFlagState clean_session);

uint8_t rs_mqtt_tx_get_connect_clientid(const struct MQTTTransaction *tx,
                                        const uint8_t **buffer,
                                        uint32_t *buffer_len);

uint8_t rs_mqtt_tx_get_connect_username(const struct MQTTTransaction *tx,
                                        const uint8_t **buffer,
                                        uint32_t *buffer_len);

uint8_t rs_mqtt_tx_get_connect_password(const struct MQTTTransaction *tx,
                                        const uint8_t **buffer,
                                        uint32_t *buffer_len);

uint8_t rs_mqtt_tx_get_connect_willtopic(const struct MQTTTransaction *tx,
                                         const uint8_t **buffer,
                                         uint32_t *buffer_len);

uint8_t rs_mqtt_tx_get_connect_willmessage(const struct MQTTTransaction *tx,
                                           const uint8_t **buffer,
                                           uint32_t *buffer_len);

uint8_t rs_mqtt_tx_get_connack_sessionpresent(const struct MQTTTransaction *tx,
                                              bool *session_present);

uint8_t rs_mqtt_tx_get_publish_topic(const struct MQTTTransaction *tx,
                                     const uint8_t **buffer,
                                     uint32_t *buffer_len);

uint8_t rs_mqtt_tx_get_publish_message(const struct MQTTTransaction *tx,
                                       const uint8_t **buffer,
                                       uint32_t *buffer_len);

uint8_t rs_mqtt_tx_get_subscribe_topic(const struct MQTTTransaction *tx,
                                       uint32_t i,
                                       const uint8_t **buf,
                                       uint32_t *len);

uint8_t rs_mqtt_tx_get_unsubscribe_topic(const struct MQTTTransaction *tx,
                                         uint32_t i,
                                         const uint8_t **buf,
                                         uint32_t *len);

uint8_t rs_mqtt_tx_get_reason_code(const struct MQTTTransaction *tx,
                                   uint8_t *result);

uint8_t rs_mqtt_tx_unsuback_has_reason_code(const struct MQTTTransaction *tx,
                                            uint8_t code);

bool rs_mqtt_logger_log(void *tx, uint32_t flags, struct JsonBuilder *js);

AppProto rs_mqtt_probing_parser(const Flow *_flow,
                                uint8_t _direction,
                                const uint8_t *input,
                                uint32_t input_len,
                                uint8_t *_rdir);

void *rs_mqtt_state_new(void *_orig_state, AppProto _orig_proto);

void rs_mqtt_state_free(void *state);

void rs_mqtt_state_tx_free(void *state, uint64_t tx_id);

struct AppLayerResult rs_mqtt_parse_request(const Flow *flow,
                                            void *state,
                                            void *_pstate,
                                            struct StreamSlice stream_slice,
                                            const void *_data);

struct AppLayerResult rs_mqtt_parse_response(const Flow *flow,
                                             void *state,
                                             void *_pstate,
                                             struct StreamSlice stream_slice,
                                             const void *_data);

void *rs_mqtt_state_get_tx(void *state, uint64_t tx_id);

uint64_t rs_mqtt_state_get_tx_count(void *state);

int rs_mqtt_tx_is_toclient(const void *tx);

int rs_mqtt_tx_get_alstate_progress(void *tx, uint8_t direction);

uint32_t rs_mqtt_tx_get_logged(void *_state, void *tx);

void rs_mqtt_tx_set_logged(void *_state, void *tx, uint32_t logged);

void rs_mqtt_register_parser(uint32_t cfg_max_msg_len);

bool rs_pgsql_logger(void *tx, uint32_t flags, struct JsonBuilder *js);

/**
 * C entry point for a probing parser.
 */
AppProto rs_pgsql_probing_parser_ts(const Flow *_flow,
                                    uint8_t _direction,
                                    const uint8_t *input,
                                    uint32_t input_len,
                                    uint8_t *_rdir);

/**
 * C entry point for a probing parser.
 */
AppProto rs_pgsql_probing_parser_tc(const Flow *_flow,
                                    uint8_t _direction,
                                    const uint8_t *input,
                                    uint32_t input_len,
                                    uint8_t *_rdir);

void *rs_pgsql_state_new(void *_orig_state, AppProto _orig_proto);

void rs_pgsql_state_free(void *state);

void rs_pgsql_state_tx_free(void *state, uint64_t tx_id);

struct AppLayerResult rs_pgsql_parse_request(const Flow *_flow,
                                             void *state,
                                             void *pstate,
                                             struct StreamSlice stream_slice,
                                             const void *_data);

struct AppLayerResult rs_pgsql_parse_response(const Flow *flow,
                                              void *state,
                                              void *pstate,
                                              struct StreamSlice stream_slice,
                                              const void *_data);

void *rs_pgsql_state_get_tx(void *state, uint64_t tx_id);

uint64_t rs_pgsql_state_get_tx_count(void *state);

PgsqlTransactionState rs_pgsql_tx_get_state(void *tx);

int rs_pgsql_tx_get_alstate_progress(void *tx, uint8_t _direction);

void rs_pgsql_register_parser(void);

/**
 * C entry point for a probing parser.
 */
AppProto rs_telnet_probing_parser(const Flow *_flow,
                                  uint8_t _direction,
                                  const uint8_t *input,
                                  uint32_t input_len,
                                  uint8_t *_rdir);

void *rs_telnet_state_new(void *_orig_state, AppProto _orig_proto);

void rs_telnet_state_free(void *state);

void rs_telnet_state_tx_free(void *state, uint64_t tx_id);

struct AppLayerResult rs_telnet_parse_request(const Flow *flow,
                                              void *state,
                                              void *pstate,
                                              struct StreamSlice stream_slice,
                                              const void *_data);

struct AppLayerResult rs_telnet_parse_response(const Flow *flow,
                                               void *state,
                                               void *pstate,
                                               struct StreamSlice stream_slice,
                                               const void *_data);

void *rs_telnet_state_get_tx(void *state, uint64_t tx_id);

uint64_t rs_telnet_state_get_tx_count(void *state);

int rs_telnet_tx_get_alstate_progress(void *tx, uint8_t _direction);

void rs_telnet_register_parser(void);

/**
 * Get the request buffer for a transaction from C.
 *
 * No required for parsing, but an example function for retrieving a
 * pointer to the request buffer from C for detection.
 */
uint8_t rs_template_get_request_buffer(void *tx,
                                       const uint8_t **buf,
                                       uint32_t *len);

/**
 * Get the response buffer for a transaction from C.
 */
uint8_t rs_template_get_response_buffer(void *tx,
                                        const uint8_t **buf,
                                        uint32_t *len);

void rs_template_register_parser(void);

bool rs_template_logger_log(void *tx, struct JsonBuilder *js);

bool rs_rdp_to_json(struct RdpTransaction *tx, struct JsonBuilder *js);

void *rs_rdp_state_get_tx(void *state, uint64_t tx_id);

uint64_t rs_rdp_state_get_tx_count(void *state);

int rs_rdp_tx_get_progress(void *_tx, uint8_t _direction);

void *rs_rdp_state_new(void *_orig_state, AppProto _orig_proto);

void rs_rdp_state_free(void *state);

void rs_rdp_state_tx_free(void *state, uint64_t tx_id);

/**
 * probe for T.123 message, whether to client or to server
 */
AppProto rs_rdp_probe_ts_tc(const Flow *_flow,
                            uint8_t _direction,
                            const uint8_t *input,
                            uint32_t input_len,
                            uint8_t *_rdir);

struct AppLayerResult rs_rdp_parse_ts(const Flow *_flow,
                                      void *state,
                                      void *_pstate,
                                      struct StreamSlice stream_slice,
                                      const void *_data);

struct AppLayerResult rs_rdp_parse_tc(const Flow *_flow,
                                      void *state,
                                      void *_pstate,
                                      struct StreamSlice stream_slice,
                                      const void *_data);

void rs_rdp_register_parser(void);

/**
 * Attempt to parse a X.509 from input, and return a pointer to the parsed object if successful.
 *
 * # Safety
 *
 * input must be a valid buffer of at least input_len bytes
 */
struct X509 *rs_x509_decode(const uint8_t *input,
                            uint32_t input_len,
                            uint32_t *err_code);

char *rs_x509_get_subject(const struct X509 *ptr);

char *rs_x509_get_issuer(const struct X509 *ptr);

char *rs_x509_get_serial(const struct X509 *ptr);

/**
 * Extract validity from input X.509 object
 *
 * # Safety
 *
 * ptr must be a valid object obtained using `rs_x509_decode`
 */
int32_t rs_x509_get_validity(const struct X509 *ptr,
                             int64_t *not_before,
                             int64_t *not_after);

/**
 * Free a X.509 object allocated by Rust
 *
 * # Safety
 *
 * ptr must be a valid object obtained using `rs_x509_decode`
 */
void rs_x509_free(struct X509 *ptr);

/**
 * Format a x509 ISO timestamp into the provided C buffer.
 *
 * Returns false if an error occurs, otherwise true is returned if
 * the timestamp is properly formatted into the provided buffer.
 *
 * # Safety
 *
 * Access buffers from C that are expected to be valid.
 */
bool sc_x509_format_timestamp(int64_t timestamp, char *buf, uintptr_t size);

/**
 * Helper function to log a TLS timestamp from C to JSON with the
 * provided key. The format of the timestamp is ISO 8601 timestamp
 * with no sub-second or offset information as UTC is assumed.
 *
 * # Safety
 *
 * FFI function that dereferences pointers from C.
 */
bool sc_x509_log_timestamp(struct JsonBuilder *jb,
                           const char *key,
                           int64_t timestamp);

/**
 * Attempt to parse a Asn1 object from input, and return a pointer
 * to the parsed object if successful, null on failure
 *
 * # Safety
 *
 * input must be a valid buffer of at least input_len bytes
 * pointer must be freed using `rs_asn1_free`
 */
struct Asn1 *rs_asn1_decode(const uint8_t *input,
                            uint16_t input_len,
                            uint32_t buffer_offset,
                            const struct DetectAsn1Data *ad_ptr);

/**
 * Free a Asn1 object allocated by Rust
 *
 * # Safety
 *
 * ptr must be a valid object obtained using `rs_asn1_decode`
 */
void rs_asn1_free(struct Asn1 *ptr);

/**
 * This function implements the detection of the following options:
 *   - oversize_length
 *   - bitstring_overflow
 *   - double_overflow
 *
 * # Safety
 *
 * ptr must be a valid object obtained using `rs_asn1_decode`
 * ad_ptr must be a valid object obtained using `rs_detect_asn1_parse`
 *
 * Returns 1 if any of the options match, 0 if not
 */
uint8_t rs_asn1_checks(const struct Asn1 *ptr,
                       const struct DetectAsn1Data *ad_ptr);

/**
 * Parse the asn1 keyword and return a pointer to a `DetectAsn1Data`
 * containing the parsed options, returns null on failure
 *
 * # Safety
 *
 * pointer must be free'd using `rs_detect_asn1_free`
 */
struct DetectAsn1Data *rs_detect_asn1_parse(const char *input);

/**
 * Free a `DetectAsn1Data` object allocated by Rust
 *
 * # Safety
 *
 * ptr must be a valid object obtained using `rs_detect_asn1_parse`
 */
void rs_detect_asn1_free(struct DetectAsn1Data *ptr);

bool rs_mime_find_header_token(const uint8_t *hinput,
                               uint32_t hlen,
                               const uint8_t *tinput,
                               uint32_t tlen,
                               uint8_t (*outbuf)[255],
                               uint32_t *outlen);

uint8_t rs_ssh_tx_get_protocol(void *tx,
                               const uint8_t **buffer,
                               uint32_t *buffer_len,
                               uint8_t direction);

uint8_t rs_ssh_tx_get_software(void *tx,
                               const uint8_t **buffer,
                               uint32_t *buffer_len,
                               uint8_t direction);

uint8_t rs_ssh_tx_get_hassh(void *tx,
                            const uint8_t **buffer,
                            uint32_t *buffer_len,
                            uint8_t direction);

uint8_t rs_ssh_tx_get_hassh_string(void *tx,
                                   const uint8_t **buffer,
                                   uint32_t *buffer_len,
                                   uint8_t direction);

bool rs_ssh_log_json(void *tx, struct JsonBuilder *js);

void *rs_ssh_state_new(void *_orig_state, AppProto _orig_proto);

void rs_ssh_state_free(void *state);

void rs_ssh_state_tx_free(void *_state, uint64_t _tx_id);

struct AppLayerResult rs_ssh_parse_request(const Flow *_flow,
                                           void *state,
                                           void *pstate,
                                           struct StreamSlice stream_slice,
                                           const void *_data);

struct AppLayerResult rs_ssh_parse_response(const Flow *_flow,
                                            void *state,
                                            void *pstate,
                                            struct StreamSlice stream_slice,
                                            const void *_data);

void *rs_ssh_state_get_tx(void *state, uint64_t _tx_id);

uint64_t rs_ssh_state_get_tx_count(void *_state);

SSHConnectionState rs_ssh_tx_get_flags(void *tx, uint8_t direction);

int rs_ssh_tx_get_alstate_progress(void *tx, uint8_t direction);

void rs_ssh_register_parser(void);

void rs_ssh_enable_hassh(void);

bool rs_ssh_hassh_is_enabled(void);

bool rs_ssh_tx_get_log_condition(void *tx);

int rs_http2_tx_has_frametype(void *tx, uint8_t direction, uint8_t value);

int rs_http2_parse_frametype(const char *str);

int rs_http2_tx_has_errorcode(void *tx, uint8_t direction, uint32_t code);

int rs_http2_parse_errorcode(const char *str);

int rs_http2_tx_get_next_priority(void *tx, uint8_t direction, uint32_t nb);

int rs_http2_tx_get_next_window(void *tx, uint8_t direction, uint32_t nb);

void *rs_http2_detect_settingsctx_parse(const char *str);

void rs_http2_detect_settingsctx_free(void *ctx);

int rs_http2_detect_settingsctx_match(const void *ctx,
                                      void *tx,
                                      uint8_t direction);

int rs_http2_detect_sizeupdatectx_match(const void *ctx,
                                        void *tx,
                                        uint8_t direction);

uint8_t rs_http2_tx_get_header_name(struct HTTP2Transaction *tx,
                                    uint8_t direction,
                                    uint32_t nb,
                                    const uint8_t **buffer,
                                    uint32_t *buffer_len);

uint8_t rs_http2_tx_get_request_line(struct HTTP2Transaction *tx,
                                     const uint8_t **buffer,
                                     uint32_t *buffer_len);

uint8_t rs_http2_tx_get_response_line(struct HTTP2Transaction *tx,
                                      const uint8_t **buffer,
                                      uint32_t *buffer_len);

uint8_t rs_http2_tx_get_uri(struct HTTP2Transaction *tx,
                            const uint8_t **buffer,
                            uint32_t *buffer_len);

uint8_t rs_http2_tx_get_method(struct HTTP2Transaction *tx,
                               const uint8_t **buffer,
                               uint32_t *buffer_len);

uint8_t rs_http2_tx_get_host(struct HTTP2Transaction *tx,
                             const uint8_t **buffer,
                             uint32_t *buffer_len);

uint8_t rs_http2_tx_get_host_norm(struct HTTP2Transaction *tx,
                                  const uint8_t **buffer,
                                  uint32_t *buffer_len);

uint8_t rs_http2_tx_get_useragent(struct HTTP2Transaction *tx,
                                  const uint8_t **buffer,
                                  uint32_t *buffer_len);

uint8_t rs_http2_tx_get_status(struct HTTP2Transaction *tx,
                               const uint8_t **buffer,
                               uint32_t *buffer_len);

uint8_t rs_http2_tx_get_cookie(struct HTTP2Transaction *tx,
                               uint8_t direction,
                               const uint8_t **buffer,
                               uint32_t *buffer_len);

uint8_t rs_http2_tx_get_header_value(struct HTTP2Transaction *tx,
                                     uint8_t direction,
                                     const char *strname,
                                     const uint8_t **buffer,
                                     uint32_t *buffer_len);

uint8_t rs_http2_tx_get_header_names(struct HTTP2Transaction *tx,
                                     uint8_t direction,
                                     const uint8_t **buffer,
                                     uint32_t *buffer_len);

uint8_t rs_http2_tx_get_headers(struct HTTP2Transaction *tx,
                                uint8_t direction,
                                const uint8_t **buffer,
                                uint32_t *buffer_len);

uint8_t rs_http2_tx_get_headers_raw(struct HTTP2Transaction *tx,
                                    uint8_t direction,
                                    const uint8_t **buffer,
                                    uint32_t *buffer_len);

uint8_t rs_http2_tx_get_header(struct HTTP2Transaction *tx,
                               uint8_t direction,
                               uint32_t nb,
                               const uint8_t **buffer,
                               uint32_t *buffer_len);

void rs_http2_tx_set_method(struct HTTP2State *state,
                            const uint8_t *buffer,
                            uint32_t buffer_len);

void rs_http2_tx_set_uri(struct HTTP2State *state,
                         const uint8_t *buffer,
                         uint32_t buffer_len);

void rs_http2_tx_add_header(struct HTTP2State *state,
                            const uint8_t *name,
                            uint32_t name_len,
                            const uint8_t *value,
                            uint32_t value_len);

void rs_http2_init(SuricataFileContext *context);

/**
 * C entry point for a probing parser.
 */
AppProto rs_http2_probing_parser_tc(const Flow *_flow,
                                    uint8_t _direction,
                                    const uint8_t *input,
                                    uint32_t input_len,
                                    uint8_t *_rdir);

extern void HTTP2MimicHttp1Request(void *orig_state, void *new_state);

void *rs_http2_state_new(void *orig_state, AppProto _orig_proto);

void rs_http2_state_free(void *state);

void rs_http2_state_tx_free(void *state, uint64_t tx_id);

struct AppLayerResult rs_http2_parse_ts(const Flow *flow,
                                        void *state,
                                        void *_pstate,
                                        struct StreamSlice stream_slice,
                                        const void *_data);

struct AppLayerResult rs_http2_parse_tc(const Flow *flow,
                                        void *state,
                                        void *_pstate,
                                        struct StreamSlice stream_slice,
                                        const void *_data);

void *rs_http2_state_get_tx(void *state, uint64_t tx_id);

uint64_t rs_http2_state_get_tx_count(void *state);

HTTP2TransactionState rs_http2_tx_get_state(void *tx);

int rs_http2_tx_get_alstate_progress(void *tx, uint8_t _direction);

struct AppLayerGetFileState rs_http2_getfiles(void *_state,
                                              void *tx,
                                              uint8_t direction);

void rs_http2_register_parser(void);

bool rs_http2_log_json(void *tx, struct JsonBuilder *js);

int rs_http_parse_content_range(struct HTTPContentRange *cr,
                                const uint8_t *buffer,
                                uint32_t buffer_len);

extern HttpRangeContainerBlock *HttpRangeContainerOpenFile(const unsigned char *key,
                                                           uint32_t keylen,
                                                           const Flow *f,
                                                           const struct HTTPContentRange *cr,
                                                           const StreamingBufferConfig *sbcfg,
                                                           const unsigned char *name,
                                                           uint16_t name_len,
                                                           uint16_t flags,
                                                           const unsigned char *data,
                                                           uint32_t data_len);

extern int HttpRangeAppendData(const StreamingBufferConfig *cfg,
                               HttpRangeContainerBlock *c,
                               const unsigned char *data,
                               uint32_t data_len);

uint8_t rs_quic_tx_get_ua(const struct QuicTransaction *tx,
                          const uint8_t **buffer,
                          uint32_t *buffer_len);

uint8_t rs_quic_tx_get_sni(const struct QuicTransaction *tx,
                           const uint8_t **buffer,
                           uint32_t *buffer_len);

uint8_t rs_quic_tx_get_ja3(const struct QuicTransaction *tx,
                           const uint8_t **buffer,
                           uint32_t *buffer_len);

uint8_t rs_quic_tx_get_version(const struct QuicTransaction *tx,
                               const uint8_t **buffer,
                               uint32_t *buffer_len);

uint8_t rs_quic_tx_get_cyu_hash(const struct QuicTransaction *tx,
                                uint32_t i,
                                const uint8_t **buffer,
                                uint32_t *buffer_len);

uint8_t rs_quic_tx_get_cyu_string(const struct QuicTransaction *tx,
                                  uint32_t i,
                                  const uint8_t **buffer,
                                  uint32_t *buffer_len);

bool rs_quic_to_json(void *tx, struct JsonBuilder *js);

void *rs_quic_state_new(void *_orig_state, AppProto _orig_proto);

void rs_quic_state_free(void *state);

void rs_quic_state_tx_free(void *state, uint64_t tx_id);

AppProto rs_quic_probing_parser(const Flow *_flow,
                                uint8_t _direction,
                                const uint8_t *input,
                                uint32_t input_len,
                                uint8_t *_rdir);

struct AppLayerResult rs_quic_parse_tc(const Flow *_flow,
                                       void *state,
                                       void *_pstate,
                                       struct StreamSlice stream_slice,
                                       const void *_data);

struct AppLayerResult rs_quic_parse_ts(const Flow *_flow,
                                       void *state,
                                       void *_pstate,
                                       struct StreamSlice stream_slice,
                                       const void *_data);

void *rs_quic_state_get_tx(void *state, uint64_t tx_id);

uint64_t rs_quic_state_get_tx_count(void *state);

int rs_quic_state_progress_completion_status(uint8_t _direction);

int rs_quic_tx_get_alstate_progress(void *tx, uint8_t _direction);

struct AppLayerGetTxIterTuple rs_quic_state_get_tx_iterator(uint8_t _ipproto,
                                                            AppProto _alproto,
                                                            void *state,
                                                            uint64_t min_tx_id,
                                                            uint64_t _max_tx_id,
                                                            uint64_t *istate);

void rs_quic_register_parser(void);

void *rs_bittorrent_dht_state_new(void *_orig_state, AppProto _orig_proto);

void rs_bittorrent_dht_state_free(void *state);

void rs_bittorrent_dht_state_tx_free(void *state, uint64_t tx_id);

struct AppLayerResult rs_bittorrent_dht_parse_ts(const Flow *_flow,
                                                 void *state,
                                                 void *_pstate,
                                                 struct StreamSlice stream_slice,
                                                 const void *_data);

struct AppLayerResult rs_bittorrent_dht_parse_tc(const Flow *_flow,
                                                 void *state,
                                                 void *_pstate,
                                                 struct StreamSlice stream_slice,
                                                 const void *_data);

struct AppLayerResult rs_bittorrent_dht_parse(const Flow *_flow,
                                              void *state,
                                              void *_pstate,
                                              struct StreamSlice stream_slice,
                                              const void *_data,
                                              enum Direction direction);

void *rs_bittorrent_dht_state_get_tx(void *state, uint64_t tx_id);

uint64_t rs_bittorrent_dht_state_get_tx_count(void *state);

int rs_bittorrent_dht_tx_get_alstate_progress(void *tx, uint8_t _direction);

struct AppLayerGetTxIterTuple rs_bittorrent_dht_state_get_tx_iterator(uint8_t _ipproto,
                                                                      AppProto _alproto,
                                                                      void *state,
                                                                      uint64_t min_tx_id,
                                                                      uint64_t _max_tx_id,
                                                                      uint64_t *istate);

void rs_bittorrent_dht_udp_register_parser(void);

bool rs_bittorrent_dht_logger_log(void *tx, struct JsonBuilder *js);

/**
 * Use the lzma algorithm to decompress a chunk of data.
 */
enum LzmaStatus lzma_decompress(const uint8_t *input,
                                uintptr_t *input_len,
                                uint8_t *output,
                                uintptr_t *output_len,
                                uintptr_t memlimit);

bool rs_check_utf8(const char *val);

struct SCSha256 *SCSha256New(void);

void SCSha256Update(struct SCSha256 *hasher,
                    const uint8_t *bytes,
                    uint32_t len);

void SCSha256Finalize(struct SCSha256 *hasher, uint8_t *out, uint32_t len);

/**
 * C function to finalize the Sha256 hasher to a hex string.
 *
 * Notes:
 * - There is probably room for optimization here, by iterating the result and writing
 *   the output directly to the output buffer.
 *
 * But even given the notes, this appears to be faster than the equivalent that we
 * did in C using NSS.
 */
void SCSha256FinalizeToHex(struct SCSha256 *hasher,
                           char *out,
                           uint32_t len);

/**
 * Free an unfinalized Sha256 context.
 */
void SCSha256Free(struct SCSha256 *hasher);

bool SCSha256HashBuffer(const uint8_t *buf,
                        uint32_t buf_len,
                        uint8_t *out,
                        uint32_t len);

struct SCSha1 *SCSha1New(void);

void SCSha1Update(struct SCSha1 *hasher, const uint8_t *bytes, uint32_t len);

void SCSha1Finalize(struct SCSha1 *hasher, uint8_t *out, uint32_t len);

/**
 * Free an unfinalized Sha1 context.
 */
void SCSha1Free(struct SCSha1 *hasher);

bool SCSha1HashBuffer(const uint8_t *buf,
                      uint32_t buf_len,
                      uint8_t *out,
                      uint32_t len);

struct SCMd5 *SCMd5New(void);

void SCMd5Update(struct SCMd5 *hasher, const uint8_t *bytes, uint32_t len);

/**
 * Finalize the MD5 hash placing the digest in the provided out buffer.
 *
 * This function consumes the SCMd5 hash context.
 */
void SCMd5Finalize(struct SCMd5 *hasher, uint8_t *out, uint32_t len);

/**
 * Finalize MD5 context to a hex string.
 *
 * Consumes the hash context and cannot be re-used.
 */
void SCMd5FinalizeToHex(struct SCMd5 *hasher, char *out, uint32_t len);

/**
 * Free an unfinalized Sha1 context.
 */
void SCMd5Free(struct SCMd5 *hasher);

void SCMd5HashBuffer(const uint8_t *buf,
                     uint32_t buf_len,
                     uint8_t *out,
                     uint32_t len);

/**
 * C binding for a function to MD5 hash a single buffer to a hex string.
 */
void SCMd5HashBufferToHex(const uint8_t *buf,
                          uint32_t buf_len,
                          char *out,
                          uint32_t len);

/**
 * Base64 encode a buffer.
 *
 * This method exposes the Rust base64 encoder to C and should not be called from
 * Rust code.
 *
 * The output parameter must be an allocated buffer of at least the size returned
 * from Base64EncodeBufferSize for the input_len, and this length must be provided
 * in the output_len variable.
 */
enum Base64ReturnCode Base64Encode(const uint8_t *input,
                                   unsigned long input_len,
                                   unsigned char *output,
                                   unsigned long *output_len);

/**
 * Ratio of output bytes to input bytes for Base64 Encoding is 4:3, hence the
 * required output bytes are 4 * ceil(input_len / 3) and an additional byte for
 * storing the NULL pointer.
 */
unsigned long Base64EncodeBufferSize(unsigned long len);

extern bool RequiresFeature(const char *feature);

#endif /* __RUST_BINDINGS_GEN_H_ */