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
// Generated by gir (https://github.com/gtk-rs/gir @ 4dd714f7f3b1)
// from
// from gir-files (https://github.com/gtk-rs/gir-files.git @ b9db716f1bb7)
// DO NOT EDIT

#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
#![allow(
    clippy::approx_constant,
    clippy::type_complexity,
    clippy::unreadable_literal,
    clippy::upper_case_acronyms
)]
#![cfg_attr(docsrs, feature(doc_cfg))]

use gio_sys as gio;
use glib_sys as glib;
use gobject_sys as gobject;

mod manual;

pub use manual::*;

#[allow(unused_imports)]
use libc::{
    c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
    intptr_t, size_t, ssize_t, uintptr_t, FILE,
};

#[allow(unused_imports)]
use glib::{gboolean, gconstpointer, gpointer, GType};

// Enums
pub type AsAgreementKind = c_int;
pub const AS_AGREEMENT_KIND_UNKNOWN: AsAgreementKind = 0;
pub const AS_AGREEMENT_KIND_GENERIC: AsAgreementKind = 1;
pub const AS_AGREEMENT_KIND_EULA: AsAgreementKind = 2;
pub const AS_AGREEMENT_KIND_PRIVACY: AsAgreementKind = 3;

pub type AsArtifactKind = c_int;
pub const AS_ARTIFACT_KIND_UNKNOWN: AsArtifactKind = 0;
pub const AS_ARTIFACT_KIND_SOURCE: AsArtifactKind = 1;
pub const AS_ARTIFACT_KIND_BINARY: AsArtifactKind = 2;

pub type AsBundleKind = c_int;
pub const AS_BUNDLE_KIND_UNKNOWN: AsBundleKind = 0;
pub const AS_BUNDLE_KIND_PACKAGE: AsBundleKind = 1;
pub const AS_BUNDLE_KIND_LIMBA: AsBundleKind = 2;
pub const AS_BUNDLE_KIND_FLATPAK: AsBundleKind = 3;
pub const AS_BUNDLE_KIND_APPIMAGE: AsBundleKind = 4;
pub const AS_BUNDLE_KIND_SNAP: AsBundleKind = 5;
pub const AS_BUNDLE_KIND_TARBALL: AsBundleKind = 6;
pub const AS_BUNDLE_KIND_CABINET: AsBundleKind = 7;
pub const AS_BUNDLE_KIND_LINGLONG: AsBundleKind = 8;

pub type AsChassisKind = c_int;
pub const AS_CHASSIS_KIND_UNKNOWN: AsChassisKind = 0;
pub const AS_CHASSIS_KIND_DESKTOP: AsChassisKind = 1;
pub const AS_CHASSIS_KIND_LAPTOP: AsChassisKind = 2;
pub const AS_CHASSIS_KIND_SERVER: AsChassisKind = 3;
pub const AS_CHASSIS_KIND_TABLET: AsChassisKind = 4;
pub const AS_CHASSIS_KIND_HANDSET: AsChassisKind = 5;

pub type AsCheckResult = c_int;
pub const AS_CHECK_RESULT_ERROR: AsCheckResult = 0;
pub const AS_CHECK_RESULT_UNKNOWN: AsCheckResult = 1;
pub const AS_CHECK_RESULT_FALSE: AsCheckResult = 2;
pub const AS_CHECK_RESULT_TRUE: AsCheckResult = 3;

pub type AsChecksumKind = c_int;
pub const AS_CHECKSUM_KIND_NONE: AsChecksumKind = 0;
pub const AS_CHECKSUM_KIND_SHA1: AsChecksumKind = 1;
pub const AS_CHECKSUM_KIND_SHA256: AsChecksumKind = 2;
pub const AS_CHECKSUM_KIND_SHA512: AsChecksumKind = 3;
pub const AS_CHECKSUM_KIND_BLAKE2B: AsChecksumKind = 4;
pub const AS_CHECKSUM_KIND_BLAKE3: AsChecksumKind = 5;

pub type AsColorKind = c_int;
pub const AS_COLOR_KIND_UNKNOWN: AsColorKind = 0;
pub const AS_COLOR_KIND_PRIMARY: AsColorKind = 1;

pub type AsColorSchemeKind = c_int;
pub const AS_COLOR_SCHEME_KIND_UNKNOWN: AsColorSchemeKind = 0;
pub const AS_COLOR_SCHEME_KIND_LIGHT: AsColorSchemeKind = 1;
pub const AS_COLOR_SCHEME_KIND_DARK: AsColorSchemeKind = 2;

pub type AsComponentKind = c_int;
pub const AS_COMPONENT_KIND_UNKNOWN: AsComponentKind = 0;
pub const AS_COMPONENT_KIND_GENERIC: AsComponentKind = 1;
pub const AS_COMPONENT_KIND_DESKTOP_APP: AsComponentKind = 2;
pub const AS_COMPONENT_KIND_CONSOLE_APP: AsComponentKind = 3;
pub const AS_COMPONENT_KIND_WEB_APP: AsComponentKind = 4;
pub const AS_COMPONENT_KIND_SERVICE: AsComponentKind = 5;
pub const AS_COMPONENT_KIND_ADDON: AsComponentKind = 6;
pub const AS_COMPONENT_KIND_RUNTIME: AsComponentKind = 7;
pub const AS_COMPONENT_KIND_FONT: AsComponentKind = 8;
pub const AS_COMPONENT_KIND_CODEC: AsComponentKind = 9;
pub const AS_COMPONENT_KIND_INPUT_METHOD: AsComponentKind = 10;
pub const AS_COMPONENT_KIND_OPERATING_SYSTEM: AsComponentKind = 11;
pub const AS_COMPONENT_KIND_FIRMWARE: AsComponentKind = 12;
pub const AS_COMPONENT_KIND_DRIVER: AsComponentKind = 13;
pub const AS_COMPONENT_KIND_LOCALIZATION: AsComponentKind = 14;
pub const AS_COMPONENT_KIND_REPOSITORY: AsComponentKind = 15;
pub const AS_COMPONENT_KIND_ICON_THEME: AsComponentKind = 16;

pub type AsComponentScope = c_int;
pub const AS_COMPONENT_SCOPE_UNKNOWN: AsComponentScope = 0;
pub const AS_COMPONENT_SCOPE_SYSTEM: AsComponentScope = 1;
pub const AS_COMPONENT_SCOPE_USER: AsComponentScope = 2;

pub type AsContentRatingSystem = c_int;
pub const AS_CONTENT_RATING_SYSTEM_UNKNOWN: AsContentRatingSystem = 0;
pub const AS_CONTENT_RATING_SYSTEM_INCAA: AsContentRatingSystem = 1;
pub const AS_CONTENT_RATING_SYSTEM_ACB: AsContentRatingSystem = 2;
pub const AS_CONTENT_RATING_SYSTEM_DJCTQ: AsContentRatingSystem = 3;
pub const AS_CONTENT_RATING_SYSTEM_GSRR: AsContentRatingSystem = 4;
pub const AS_CONTENT_RATING_SYSTEM_PEGI: AsContentRatingSystem = 5;
pub const AS_CONTENT_RATING_SYSTEM_KAVI: AsContentRatingSystem = 6;
pub const AS_CONTENT_RATING_SYSTEM_USK: AsContentRatingSystem = 7;
pub const AS_CONTENT_RATING_SYSTEM_ESRA: AsContentRatingSystem = 8;
pub const AS_CONTENT_RATING_SYSTEM_CERO: AsContentRatingSystem = 9;
pub const AS_CONTENT_RATING_SYSTEM_OFLCNZ: AsContentRatingSystem = 10;
pub const AS_CONTENT_RATING_SYSTEM_RUSSIA: AsContentRatingSystem = 11;
pub const AS_CONTENT_RATING_SYSTEM_MDA: AsContentRatingSystem = 12;
pub const AS_CONTENT_RATING_SYSTEM_GRAC: AsContentRatingSystem = 13;
pub const AS_CONTENT_RATING_SYSTEM_ESRB: AsContentRatingSystem = 14;
pub const AS_CONTENT_RATING_SYSTEM_IARC: AsContentRatingSystem = 15;

pub type AsContentRatingValue = c_int;
pub const AS_CONTENT_RATING_VALUE_UNKNOWN: AsContentRatingValue = 0;
pub const AS_CONTENT_RATING_VALUE_NONE: AsContentRatingValue = 1;
pub const AS_CONTENT_RATING_VALUE_MILD: AsContentRatingValue = 2;
pub const AS_CONTENT_RATING_VALUE_MODERATE: AsContentRatingValue = 3;
pub const AS_CONTENT_RATING_VALUE_INTENSE: AsContentRatingValue = 4;

pub type AsControlKind = c_int;
pub const AS_CONTROL_KIND_UNKNOWN: AsControlKind = 0;
pub const AS_CONTROL_KIND_POINTING: AsControlKind = 1;
pub const AS_CONTROL_KIND_KEYBOARD: AsControlKind = 2;
pub const AS_CONTROL_KIND_CONSOLE: AsControlKind = 3;
pub const AS_CONTROL_KIND_TOUCH: AsControlKind = 4;
pub const AS_CONTROL_KIND_GAMEPAD: AsControlKind = 5;
pub const AS_CONTROL_KIND_VOICE: AsControlKind = 6;
pub const AS_CONTROL_KIND_VISION: AsControlKind = 7;
pub const AS_CONTROL_KIND_TV_REMOTE: AsControlKind = 8;
pub const AS_CONTROL_KIND_TABLET: AsControlKind = 9;

pub type AsDisplaySideKind = c_int;
pub const AS_DISPLAY_SIDE_KIND_UNKNOWN: AsDisplaySideKind = 0;
pub const AS_DISPLAY_SIDE_KIND_SHORTEST: AsDisplaySideKind = 1;
pub const AS_DISPLAY_SIDE_KIND_LONGEST: AsDisplaySideKind = 2;

pub type AsFormatKind = c_int;
pub const AS_FORMAT_KIND_UNKNOWN: AsFormatKind = 0;
pub const AS_FORMAT_KIND_XML: AsFormatKind = 1;
pub const AS_FORMAT_KIND_YAML: AsFormatKind = 2;
pub const AS_FORMAT_KIND_DESKTOP_ENTRY: AsFormatKind = 3;

pub type AsFormatStyle = c_int;
pub const AS_FORMAT_STYLE_UNKNOWN: AsFormatStyle = 0;
pub const AS_FORMAT_STYLE_METAINFO: AsFormatStyle = 1;
pub const AS_FORMAT_STYLE_CATALOG: AsFormatStyle = 2;

pub type AsFormatVersion = c_int;
pub const AS_FORMAT_VERSION_UNKNOWN: AsFormatVersion = 0;
pub const AS_FORMAT_VERSION_V1_0: AsFormatVersion = 1;

pub type AsIconKind = c_int;
pub const AS_ICON_KIND_UNKNOWN: AsIconKind = 0;
pub const AS_ICON_KIND_STOCK: AsIconKind = 1;
pub const AS_ICON_KIND_CACHED: AsIconKind = 2;
pub const AS_ICON_KIND_LOCAL: AsIconKind = 3;
pub const AS_ICON_KIND_REMOTE: AsIconKind = 4;

pub type AsImageKind = c_int;
pub const AS_IMAGE_KIND_UNKNOWN: AsImageKind = 0;
pub const AS_IMAGE_KIND_SOURCE: AsImageKind = 1;
pub const AS_IMAGE_KIND_THUMBNAIL: AsImageKind = 2;

pub type AsInternetKind = c_int;
pub const AS_INTERNET_KIND_UNKNOWN: AsInternetKind = 0;
pub const AS_INTERNET_KIND_ALWAYS: AsInternetKind = 1;
pub const AS_INTERNET_KIND_OFFLINE_ONLY: AsInternetKind = 2;
pub const AS_INTERNET_KIND_FIRST_RUN: AsInternetKind = 3;

pub type AsIssueKind = c_int;
pub const AS_ISSUE_KIND_UNKNOWN: AsIssueKind = 0;
pub const AS_ISSUE_KIND_GENERIC: AsIssueKind = 1;
pub const AS_ISSUE_KIND_CVE: AsIssueKind = 2;

pub type AsIssueSeverity = c_int;
pub const AS_ISSUE_SEVERITY_UNKNOWN: AsIssueSeverity = 0;
pub const AS_ISSUE_SEVERITY_PEDANTIC: AsIssueSeverity = 1;
pub const AS_ISSUE_SEVERITY_INFO: AsIssueSeverity = 2;
pub const AS_ISSUE_SEVERITY_WARNING: AsIssueSeverity = 3;
pub const AS_ISSUE_SEVERITY_ERROR: AsIssueSeverity = 4;

pub type AsLaunchableKind = c_int;
pub const AS_LAUNCHABLE_KIND_UNKNOWN: AsLaunchableKind = 0;
pub const AS_LAUNCHABLE_KIND_DESKTOP_ID: AsLaunchableKind = 1;
pub const AS_LAUNCHABLE_KIND_SERVICE: AsLaunchableKind = 2;
pub const AS_LAUNCHABLE_KIND_COCKPIT_MANIFEST: AsLaunchableKind = 3;
pub const AS_LAUNCHABLE_KIND_URL: AsLaunchableKind = 4;

pub type AsMarkupKind = c_int;
pub const AS_MARKUP_KIND_UNKNOWN: AsMarkupKind = 0;
pub const AS_MARKUP_KIND_XML: AsMarkupKind = 1;
pub const AS_MARKUP_KIND_TEXT: AsMarkupKind = 2;
pub const AS_MARKUP_KIND_MARKDOWN: AsMarkupKind = 3;

pub type AsMergeKind = c_int;
pub const AS_MERGE_KIND_NONE: AsMergeKind = 0;
pub const AS_MERGE_KIND_REPLACE: AsMergeKind = 1;
pub const AS_MERGE_KIND_APPEND: AsMergeKind = 2;
pub const AS_MERGE_KIND_REMOVE_COMPONENT: AsMergeKind = 3;

pub type AsMetadataError = c_int;
pub const AS_METADATA_ERROR_FAILED: AsMetadataError = 0;
pub const AS_METADATA_ERROR_PARSE: AsMetadataError = 1;
pub const AS_METADATA_ERROR_FORMAT_UNEXPECTED: AsMetadataError = 2;
pub const AS_METADATA_ERROR_NO_COMPONENT: AsMetadataError = 3;
pub const AS_METADATA_ERROR_VALUE_MISSING: AsMetadataError = 4;

pub type AsMetadataLocation = c_int;
pub const AS_METADATA_LOCATION_UNKNOWN: AsMetadataLocation = 0;
pub const AS_METADATA_LOCATION_SHARED: AsMetadataLocation = 1;
pub const AS_METADATA_LOCATION_STATE: AsMetadataLocation = 2;
pub const AS_METADATA_LOCATION_CACHE: AsMetadataLocation = 3;
pub const AS_METADATA_LOCATION_USER: AsMetadataLocation = 4;

pub type AsPoolError = c_int;
pub const AS_POOL_ERROR_FAILED: AsPoolError = 0;
pub const AS_POOL_ERROR_INCOMPLETE: AsPoolError = 1;
pub const AS_POOL_ERROR_COLLISION: AsPoolError = 2;
pub const AS_POOL_ERROR_CACHE_WRITE_FAILED: AsPoolError = 3;
pub const AS_POOL_ERROR_CACHE_DAMAGED: AsPoolError = 4;

pub type AsProvidedKind = c_int;
pub const AS_PROVIDED_KIND_UNKNOWN: AsProvidedKind = 0;
pub const AS_PROVIDED_KIND_LIBRARY: AsProvidedKind = 1;
pub const AS_PROVIDED_KIND_BINARY: AsProvidedKind = 2;
pub const AS_PROVIDED_KIND_MEDIATYPE: AsProvidedKind = 3;
pub const AS_PROVIDED_KIND_FONT: AsProvidedKind = 4;
pub const AS_PROVIDED_KIND_MODALIAS: AsProvidedKind = 5;
pub const AS_PROVIDED_KIND_PYTHON: AsProvidedKind = 6;
pub const AS_PROVIDED_KIND_DBUS_SYSTEM: AsProvidedKind = 7;
pub const AS_PROVIDED_KIND_DBUS_USER: AsProvidedKind = 8;
pub const AS_PROVIDED_KIND_FIRMWARE_RUNTIME: AsProvidedKind = 9;
pub const AS_PROVIDED_KIND_FIRMWARE_FLASHED: AsProvidedKind = 10;
pub const AS_PROVIDED_KIND_ID: AsProvidedKind = 11;

pub type AsReferenceKind = c_int;
pub const AS_REFERENCE_KIND_UNKNOWN: AsReferenceKind = 0;
pub const AS_REFERENCE_KIND_DOI: AsReferenceKind = 1;
pub const AS_REFERENCE_KIND_CITATION_CFF: AsReferenceKind = 2;
pub const AS_REFERENCE_KIND_REGISTRY: AsReferenceKind = 3;

pub type AsRelationCompare = c_int;
pub const AS_RELATION_COMPARE_UNKNOWN: AsRelationCompare = 0;
pub const AS_RELATION_COMPARE_EQ: AsRelationCompare = 1;
pub const AS_RELATION_COMPARE_NE: AsRelationCompare = 2;
pub const AS_RELATION_COMPARE_LT: AsRelationCompare = 3;
pub const AS_RELATION_COMPARE_GT: AsRelationCompare = 4;
pub const AS_RELATION_COMPARE_LE: AsRelationCompare = 5;
pub const AS_RELATION_COMPARE_GE: AsRelationCompare = 6;

pub type AsRelationError = c_int;
pub const AS_RELATION_ERROR_FAILED: AsRelationError = 0;
pub const AS_RELATION_ERROR_BAD_VALUE: AsRelationError = 1;
pub const AS_RELATION_ERROR_NOT_IMPLEMENTED: AsRelationError = 2;

pub type AsRelationItemKind = c_int;
pub const AS_RELATION_ITEM_KIND_UNKNOWN: AsRelationItemKind = 0;
pub const AS_RELATION_ITEM_KIND_ID: AsRelationItemKind = 1;
pub const AS_RELATION_ITEM_KIND_MODALIAS: AsRelationItemKind = 2;
pub const AS_RELATION_ITEM_KIND_KERNEL: AsRelationItemKind = 3;
pub const AS_RELATION_ITEM_KIND_MEMORY: AsRelationItemKind = 4;
pub const AS_RELATION_ITEM_KIND_FIRMWARE: AsRelationItemKind = 5;
pub const AS_RELATION_ITEM_KIND_CONTROL: AsRelationItemKind = 6;
pub const AS_RELATION_ITEM_KIND_DISPLAY_LENGTH: AsRelationItemKind = 7;
pub const AS_RELATION_ITEM_KIND_HARDWARE: AsRelationItemKind = 8;
pub const AS_RELATION_ITEM_KIND_INTERNET: AsRelationItemKind = 9;

pub type AsRelationKind = c_int;
pub const AS_RELATION_KIND_UNKNOWN: AsRelationKind = 0;
pub const AS_RELATION_KIND_REQUIRES: AsRelationKind = 1;
pub const AS_RELATION_KIND_RECOMMENDS: AsRelationKind = 2;
pub const AS_RELATION_KIND_SUPPORTS: AsRelationKind = 3;

pub type AsRelationStatus = c_int;
pub const AS_RELATION_STATUS_UNKNOWN: AsRelationStatus = 0;
pub const AS_RELATION_STATUS_ERROR: AsRelationStatus = 1;
pub const AS_RELATION_STATUS_NOT_SATISFIED: AsRelationStatus = 2;
pub const AS_RELATION_STATUS_SATISFIED: AsRelationStatus = 3;

pub type AsReleaseKind = c_int;
pub const AS_RELEASE_KIND_UNKNOWN: AsReleaseKind = 0;
pub const AS_RELEASE_KIND_STABLE: AsReleaseKind = 1;
pub const AS_RELEASE_KIND_DEVELOPMENT: AsReleaseKind = 2;
pub const AS_RELEASE_KIND_SNAPSHOT: AsReleaseKind = 3;

pub type AsReleaseListKind = c_int;
pub const AS_RELEASE_LIST_KIND_UNKNOWN: AsReleaseListKind = 0;
pub const AS_RELEASE_LIST_KIND_EMBEDDED: AsReleaseListKind = 1;
pub const AS_RELEASE_LIST_KIND_EXTERNAL: AsReleaseListKind = 2;

pub type AsReleaseUrlKind = c_int;
pub const AS_RELEASE_URL_KIND_UNKNOWN: AsReleaseUrlKind = 0;
pub const AS_RELEASE_URL_KIND_DETAILS: AsReleaseUrlKind = 1;

pub type AsScreenshotKind = c_int;
pub const AS_SCREENSHOT_KIND_UNKNOWN: AsScreenshotKind = 0;
pub const AS_SCREENSHOT_KIND_DEFAULT: AsScreenshotKind = 1;
pub const AS_SCREENSHOT_KIND_EXTRA: AsScreenshotKind = 2;

pub type AsScreenshotMediaKind = c_int;
pub const AS_SCREENSHOT_MEDIA_KIND_UNKNOWN: AsScreenshotMediaKind = 0;
pub const AS_SCREENSHOT_MEDIA_KIND_IMAGE: AsScreenshotMediaKind = 1;
pub const AS_SCREENSHOT_MEDIA_KIND_VIDEO: AsScreenshotMediaKind = 2;

pub type AsSizeKind = c_int;
pub const AS_SIZE_KIND_UNKNOWN: AsSizeKind = 0;
pub const AS_SIZE_KIND_DOWNLOAD: AsSizeKind = 1;
pub const AS_SIZE_KIND_INSTALLED: AsSizeKind = 2;

pub type AsSuggestedKind = c_int;
pub const AS_SUGGESTED_KIND_UNKNOWN: AsSuggestedKind = 0;
pub const AS_SUGGESTED_KIND_UPSTREAM: AsSuggestedKind = 1;
pub const AS_SUGGESTED_KIND_HEURISTIC: AsSuggestedKind = 2;

pub type AsSystemInfoError = c_int;
pub const AS_SYSTEM_INFO_ERROR_FAILED: AsSystemInfoError = 0;
pub const AS_SYSTEM_INFO_ERROR_NOT_FOUND: AsSystemInfoError = 1;

pub type AsTranslationKind = c_int;
pub const AS_TRANSLATION_KIND_UNKNOWN: AsTranslationKind = 0;
pub const AS_TRANSLATION_KIND_GETTEXT: AsTranslationKind = 1;
pub const AS_TRANSLATION_KIND_QT: AsTranslationKind = 2;

pub type AsUrgencyKind = c_int;
pub const AS_URGENCY_KIND_UNKNOWN: AsUrgencyKind = 0;
pub const AS_URGENCY_KIND_LOW: AsUrgencyKind = 1;
pub const AS_URGENCY_KIND_MEDIUM: AsUrgencyKind = 2;
pub const AS_URGENCY_KIND_HIGH: AsUrgencyKind = 3;
pub const AS_URGENCY_KIND_CRITICAL: AsUrgencyKind = 4;

pub type AsUrlKind = c_int;
pub const AS_URL_KIND_UNKNOWN: AsUrlKind = 0;
pub const AS_URL_KIND_HOMEPAGE: AsUrlKind = 1;
pub const AS_URL_KIND_BUGTRACKER: AsUrlKind = 2;
pub const AS_URL_KIND_FAQ: AsUrlKind = 3;
pub const AS_URL_KIND_HELP: AsUrlKind = 4;
pub const AS_URL_KIND_DONATION: AsUrlKind = 5;
pub const AS_URL_KIND_TRANSLATE: AsUrlKind = 6;
pub const AS_URL_KIND_CONTACT: AsUrlKind = 7;
pub const AS_URL_KIND_VCS_BROWSER: AsUrlKind = 8;
pub const AS_URL_KIND_CONTRIBUTE: AsUrlKind = 9;

pub type AsUtilsError = c_int;
pub const AS_UTILS_ERROR_FAILED: AsUtilsError = 0;

pub type AsValidatorError = c_int;
pub const AS_VALIDATOR_ERROR_FAILED: AsValidatorError = 0;
pub const AS_VALIDATOR_ERROR_INVALID_OVERRIDE: AsValidatorError = 1;
pub const AS_VALIDATOR_ERROR_INVALID_FILENAME: AsValidatorError = 2;

pub type AsVideoCodecKind = c_int;
pub const AS_VIDEO_CODEC_KIND_UNKNOWN: AsVideoCodecKind = 0;
pub const AS_VIDEO_CODEC_KIND_VP9: AsVideoCodecKind = 1;
pub const AS_VIDEO_CODEC_KIND_AV1: AsVideoCodecKind = 2;

pub type AsVideoContainerKind = c_int;
pub const AS_VIDEO_CONTAINER_KIND_UNKNOWN: AsVideoContainerKind = 0;
pub const AS_VIDEO_CONTAINER_KIND_MKV: AsVideoContainerKind = 1;
pub const AS_VIDEO_CONTAINER_KIND_WEBM: AsVideoContainerKind = 2;

// Constants

// Flags
pub type AsCacheFlags = c_uint;
pub const AS_CACHE_FLAG_NONE: AsCacheFlags = 0;
pub const AS_CACHE_FLAG_USE_USER: AsCacheFlags = 1;
pub const AS_CACHE_FLAG_USE_SYSTEM: AsCacheFlags = 2;
pub const AS_CACHE_FLAG_NO_CLEAR: AsCacheFlags = 4;
pub const AS_CACHE_FLAG_REFRESH_SYSTEM: AsCacheFlags = 8;

pub type AsComponentBoxFlags = c_uint;
pub const AS_COMPONENT_BOX_FLAG_NONE: AsComponentBoxFlags = 0;
pub const AS_COMPONENT_BOX_FLAG_NO_CHECKS: AsComponentBoxFlags = 1;

pub type AsDataIdMatchFlags = c_uint;
pub const AS_DATA_ID_MATCH_FLAG_NONE: AsDataIdMatchFlags = 0;
pub const AS_DATA_ID_MATCH_FLAG_SCOPE: AsDataIdMatchFlags = 1;
pub const AS_DATA_ID_MATCH_FLAG_BUNDLE_KIND: AsDataIdMatchFlags = 2;
pub const AS_DATA_ID_MATCH_FLAG_ORIGIN: AsDataIdMatchFlags = 4;
pub const AS_DATA_ID_MATCH_FLAG_ID: AsDataIdMatchFlags = 8;
pub const AS_DATA_ID_MATCH_FLAG_BRANCH: AsDataIdMatchFlags = 16;

pub type AsParseFlags = c_uint;
pub const AS_PARSE_FLAG_NONE: AsParseFlags = 0;
pub const AS_PARSE_FLAG_IGNORE_MEDIABASEURL: AsParseFlags = 1;

pub type AsPoolFlags = c_uint;
pub const AS_POOL_FLAG_NONE: AsPoolFlags = 0;
pub const AS_POOL_FLAG_LOAD_OS_CATALOG: AsPoolFlags = 1;
pub const AS_POOL_FLAG_LOAD_OS_METAINFO: AsPoolFlags = 2;
pub const AS_POOL_FLAG_LOAD_OS_DESKTOP_FILES: AsPoolFlags = 4;
pub const AS_POOL_FLAG_LOAD_FLATPAK: AsPoolFlags = 8;
pub const AS_POOL_FLAG_IGNORE_CACHE_AGE: AsPoolFlags = 16;
pub const AS_POOL_FLAG_RESOLVE_ADDONS: AsPoolFlags = 32;
pub const AS_POOL_FLAG_PREFER_OS_METAINFO: AsPoolFlags = 64;
pub const AS_POOL_FLAG_MONITOR: AsPoolFlags = 128;

pub type AsReviewFlags = c_uint;
pub const AS_REVIEW_FLAG_NONE: AsReviewFlags = 0;
pub const AS_REVIEW_FLAG_SELF: AsReviewFlags = 1;
pub const AS_REVIEW_FLAG_VOTED: AsReviewFlags = 2;

pub type AsValueFlags = c_uint;
pub const AS_VALUE_FLAG_NONE: AsValueFlags = 0;
pub const AS_VALUE_FLAG_DUPLICATE_CHECK: AsValueFlags = 1;
pub const AS_VALUE_FLAG_NO_TRANSLATION_FALLBACK: AsValueFlags = 2;

pub type AsVercmpFlags = c_uint;
pub const AS_VERCMP_FLAG_NONE: AsVercmpFlags = 0;
pub const AS_VERCMP_FLAG_IGNORE_EPOCH: AsVercmpFlags = 1;

// Records
#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsAgreementClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
    pub _as_reserved7: Option<unsafe extern "C" fn()>,
    pub _as_reserved8: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsAgreementClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsAgreementClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .field("_as_reserved7", &self._as_reserved7)
            .field("_as_reserved8", &self._as_reserved8)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsAgreementSectionClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
    pub _as_reserved7: Option<unsafe extern "C" fn()>,
    pub _as_reserved8: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsAgreementSectionClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsAgreementSectionClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .field("_as_reserved7", &self._as_reserved7)
            .field("_as_reserved8", &self._as_reserved8)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsArtifactClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsArtifactClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsArtifactClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsBrandingClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsBrandingClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsBrandingClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsBrandingColorIter {
    pub dummy1: gpointer,
    pub dummy2: c_uint,
    pub dummy3: gpointer,
    pub dummy4: gpointer,
    pub dummy5: gpointer,
    pub dummy6: gpointer,
}

impl ::std::fmt::Debug for AsBrandingColorIter {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsBrandingColorIter @ {self:p}"))
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsBundleClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsBundleClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsBundleClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsCategoryClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsCategoryClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsCategoryClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsChecksumClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsChecksumClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsChecksumClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsComponentBoxClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsComponentBoxClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsComponentBoxClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsComponentClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsComponentClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsComponentClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsContentRatingClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsContentRatingClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsContentRatingClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsContextClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsContextClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsContextClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsDeveloperClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsDeveloperClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsDeveloperClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsIconClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsIconClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsIconClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsImageClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsImageClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsImageClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsIssueClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsIssueClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsIssueClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsLaunchableClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsLaunchableClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsLaunchableClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsMetadataClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsMetadataClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsMetadataClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsPoolClass {
    pub parent_class: gobject::GObjectClass,
    pub changed: Option<unsafe extern "C" fn(*mut AsPool)>,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsPoolClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsPoolClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("changed", &self.changed)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsProvidedClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsProvidedClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsProvidedClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsReferenceClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsReferenceClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsReferenceClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsRelationCheckResultClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsRelationCheckResultClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsRelationCheckResultClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsRelationClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsRelationClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsRelationClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsReleaseClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsReleaseClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsReleaseClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsReleaseListClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsReleaseListClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsReleaseListClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsReviewClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
    pub _as_reserved7: Option<unsafe extern "C" fn()>,
    pub _as_reserved8: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsReviewClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsReviewClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .field("_as_reserved7", &self._as_reserved7)
            .field("_as_reserved8", &self._as_reserved8)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsScreenshotClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsScreenshotClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsScreenshotClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsSuggestedClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsSuggestedClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsSuggestedClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsSystemInfoClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsSystemInfoClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsSystemInfoClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsTranslationClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsTranslationClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsTranslationClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsValidatorClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsValidatorClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsValidatorClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsValidatorIssueClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsValidatorIssueClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsValidatorIssueClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsVideoClass {
    pub parent_class: gobject::GObjectClass,
    pub _as_reserved1: Option<unsafe extern "C" fn()>,
    pub _as_reserved2: Option<unsafe extern "C" fn()>,
    pub _as_reserved3: Option<unsafe extern "C" fn()>,
    pub _as_reserved4: Option<unsafe extern "C" fn()>,
    pub _as_reserved5: Option<unsafe extern "C" fn()>,
    pub _as_reserved6: Option<unsafe extern "C" fn()>,
}

impl ::std::fmt::Debug for AsVideoClass {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsVideoClass @ {self:p}"))
            .field("parent_class", &self.parent_class)
            .field("_as_reserved1", &self._as_reserved1)
            .field("_as_reserved2", &self._as_reserved2)
            .field("_as_reserved3", &self._as_reserved3)
            .field("_as_reserved4", &self._as_reserved4)
            .field("_as_reserved5", &self._as_reserved5)
            .field("_as_reserved6", &self._as_reserved6)
            .finish()
    }
}

// Classes
#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsAgreement {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsAgreement {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsAgreement @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsAgreementSection {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsAgreementSection {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsAgreementSection @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsArtifact {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsArtifact {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsArtifact @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsBranding {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsBranding {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsBranding @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsBundle {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsBundle {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsBundle @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsCategory {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsCategory {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsCategory @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsChecksum {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsChecksum {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsChecksum @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsComponent {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsComponent {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsComponent @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsComponentBox {
    pub parent_instance: gobject::GObject,
    pub cpts: *mut glib::GPtrArray,
}

impl ::std::fmt::Debug for AsComponentBox {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsComponentBox @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsContentRating {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsContentRating {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsContentRating @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsContext {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsContext {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsContext @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsDeveloper {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsDeveloper {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsDeveloper @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsIcon {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsIcon {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsIcon @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsImage {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsImage {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsImage @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsIssue {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsIssue {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsIssue @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsLaunchable {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsLaunchable {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsLaunchable @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsMetadata {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsMetadata {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsMetadata @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsPool {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsPool {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsPool @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsProvided {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsProvided {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsProvided @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsReference {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsReference {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsReference @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsRelation {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsRelation {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsRelation @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsRelationCheckResult {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsRelationCheckResult {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsRelationCheckResult @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsRelease {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsRelease {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsRelease @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsReleaseList {
    pub parent_instance: gobject::GObject,
    pub entries: *mut glib::GPtrArray,
}

impl ::std::fmt::Debug for AsReleaseList {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsReleaseList @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsReview {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsReview {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsReview @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsScreenshot {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsScreenshot {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsScreenshot @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsSuggested {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsSuggested {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsSuggested @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsSystemInfo {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsSystemInfo {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsSystemInfo @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsTranslation {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsTranslation {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsTranslation @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsValidator {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsValidator {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsValidator @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsValidatorIssue {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsValidatorIssue {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsValidatorIssue @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[derive(Copy, Clone)]
#[repr(C)]
pub struct AsVideo {
    pub parent_instance: gobject::GObject,
}

impl ::std::fmt::Debug for AsVideo {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        f.debug_struct(&format!("AsVideo @ {self:p}"))
            .field("parent_instance", &self.parent_instance)
            .finish()
    }
}

#[link(name = "appstream")]
extern "C" {

    //=========================================================================
    // AsAgreementKind
    //=========================================================================
    pub fn as_agreement_kind_get_type() -> GType;
    pub fn as_agreement_kind_from_string(value: *const c_char) -> AsAgreementKind;
    pub fn as_agreement_kind_to_string(value: AsAgreementKind) -> *const c_char;

    //=========================================================================
    // AsArtifactKind
    //=========================================================================
    pub fn as_artifact_kind_get_type() -> GType;
    pub fn as_artifact_kind_from_string(kind: *const c_char) -> AsArtifactKind;
    pub fn as_artifact_kind_to_string(kind: AsArtifactKind) -> *const c_char;

    //=========================================================================
    // AsBundleKind
    //=========================================================================
    pub fn as_bundle_kind_get_type() -> GType;
    pub fn as_bundle_kind_from_string(bundle_str: *const c_char) -> AsBundleKind;
    pub fn as_bundle_kind_to_string(kind: AsBundleKind) -> *const c_char;

    //=========================================================================
    // AsChassisKind
    //=========================================================================
    pub fn as_chassis_kind_get_type() -> GType;
    pub fn as_chassis_kind_from_string(kind_str: *const c_char) -> AsChassisKind;
    pub fn as_chassis_kind_to_string(kind: AsChassisKind) -> *const c_char;

    //=========================================================================
    // AsCheckResult
    //=========================================================================
    pub fn as_check_result_get_type() -> GType;

    //=========================================================================
    // AsChecksumKind
    //=========================================================================
    pub fn as_checksum_kind_get_type() -> GType;
    pub fn as_checksum_kind_from_string(kind_str: *const c_char) -> AsChecksumKind;
    pub fn as_checksum_kind_to_string(kind: AsChecksumKind) -> *const c_char;

    //=========================================================================
    // AsColorKind
    //=========================================================================
    pub fn as_color_kind_get_type() -> GType;
    pub fn as_color_kind_from_string(str: *const c_char) -> AsColorKind;
    pub fn as_color_kind_to_string(kind: AsColorKind) -> *const c_char;

    //=========================================================================
    // AsColorSchemeKind
    //=========================================================================
    pub fn as_color_scheme_kind_get_type() -> GType;
    pub fn as_color_scheme_kind_from_string(str: *const c_char) -> AsColorSchemeKind;
    pub fn as_color_scheme_kind_to_string(kind: AsColorSchemeKind) -> *const c_char;

    //=========================================================================
    // AsComponentKind
    //=========================================================================
    pub fn as_component_kind_get_type() -> GType;
    pub fn as_component_kind_from_string(kind_str: *const c_char) -> AsComponentKind;
    pub fn as_component_kind_to_string(kind: AsComponentKind) -> *const c_char;

    //=========================================================================
    // AsComponentScope
    //=========================================================================
    pub fn as_component_scope_get_type() -> GType;
    pub fn as_component_scope_from_string(scope_str: *const c_char) -> AsComponentScope;
    pub fn as_component_scope_to_string(scope: AsComponentScope) -> *const c_char;

    //=========================================================================
    // AsContentRatingSystem
    //=========================================================================
    pub fn as_content_rating_system_get_type() -> GType;
    pub fn as_content_rating_system_format_age(
        system: AsContentRatingSystem,
        age: c_uint,
    ) -> *mut c_char;
    pub fn as_content_rating_system_from_locale(locale: *const c_char) -> AsContentRatingSystem;
    pub fn as_content_rating_system_get_csm_ages(
        system: AsContentRatingSystem,
        length_out: *mut size_t,
    ) -> *const c_uint;
    pub fn as_content_rating_system_get_formatted_ages(
        system: AsContentRatingSystem,
    ) -> *mut *mut c_char;
    pub fn as_content_rating_system_to_string(system: AsContentRatingSystem) -> *const c_char;

    //=========================================================================
    // AsContentRatingValue
    //=========================================================================
    pub fn as_content_rating_value_get_type() -> GType;
    pub fn as_content_rating_value_from_string(value: *const c_char) -> AsContentRatingValue;
    pub fn as_content_rating_value_to_string(value: AsContentRatingValue) -> *const c_char;

    //=========================================================================
    // AsControlKind
    //=========================================================================
    pub fn as_control_kind_get_type() -> GType;
    pub fn as_control_kind_from_string(kind_str: *const c_char) -> AsControlKind;
    pub fn as_control_kind_to_string(kind: AsControlKind) -> *const c_char;

    //=========================================================================
    // AsDisplaySideKind
    //=========================================================================
    pub fn as_display_side_kind_get_type() -> GType;
    pub fn as_display_side_kind_from_string(kind_str: *const c_char) -> AsDisplaySideKind;
    pub fn as_display_side_kind_to_string(kind: AsDisplaySideKind) -> *const c_char;

    //=========================================================================
    // AsFormatKind
    //=========================================================================
    pub fn as_format_kind_get_type() -> GType;
    pub fn as_format_kind_from_string(kind_str: *const c_char) -> AsFormatKind;
    pub fn as_format_kind_to_string(kind: AsFormatKind) -> *const c_char;

    //=========================================================================
    // AsFormatStyle
    //=========================================================================
    pub fn as_format_style_get_type() -> GType;

    //=========================================================================
    // AsFormatVersion
    //=========================================================================
    pub fn as_format_version_get_type() -> GType;
    pub fn as_format_version_from_string(version_str: *const c_char) -> AsFormatVersion;
    pub fn as_format_version_to_string(version: AsFormatVersion) -> *const c_char;

    //=========================================================================
    // AsIconKind
    //=========================================================================
    pub fn as_icon_kind_get_type() -> GType;
    pub fn as_icon_kind_from_string(kind_str: *const c_char) -> AsIconKind;
    pub fn as_icon_kind_to_string(kind: AsIconKind) -> *const c_char;

    //=========================================================================
    // AsImageKind
    //=========================================================================
    pub fn as_image_kind_get_type() -> GType;
    pub fn as_image_kind_from_string(kind: *const c_char) -> AsImageKind;
    pub fn as_image_kind_to_string(kind: AsImageKind) -> *const c_char;

    //=========================================================================
    // AsInternetKind
    //=========================================================================
    pub fn as_internet_kind_get_type() -> GType;
    pub fn as_internet_kind_from_string(kind_str: *const c_char) -> AsInternetKind;
    pub fn as_internet_kind_to_string(kind: AsInternetKind) -> *const c_char;

    //=========================================================================
    // AsIssueKind
    //=========================================================================
    pub fn as_issue_kind_get_type() -> GType;
    pub fn as_issue_kind_from_string(kind_str: *const c_char) -> AsIssueKind;
    pub fn as_issue_kind_to_string(kind: AsIssueKind) -> *const c_char;

    //=========================================================================
    // AsIssueSeverity
    //=========================================================================
    pub fn as_issue_severity_get_type() -> GType;
    pub fn as_issue_severity_from_string(str: *const c_char) -> AsIssueSeverity;
    pub fn as_issue_severity_to_string(severity: AsIssueSeverity) -> *const c_char;

    //=========================================================================
    // AsLaunchableKind
    //=========================================================================
    pub fn as_launchable_kind_get_type() -> GType;
    pub fn as_launchable_kind_from_string(kind_str: *const c_char) -> AsLaunchableKind;
    pub fn as_launchable_kind_to_string(kind: AsLaunchableKind) -> *const c_char;

    //=========================================================================
    // AsMarkupKind
    //=========================================================================
    pub fn as_markup_kind_get_type() -> GType;

    //=========================================================================
    // AsMergeKind
    //=========================================================================
    pub fn as_merge_kind_get_type() -> GType;
    pub fn as_merge_kind_from_string(kind_str: *const c_char) -> AsMergeKind;
    pub fn as_merge_kind_to_string(kind: AsMergeKind) -> *const c_char;

    //=========================================================================
    // AsMetadataError
    //=========================================================================
    pub fn as_metadata_error_get_type() -> GType;
    pub fn as_metadata_error_quark() -> glib::GQuark;

    //=========================================================================
    // AsMetadataLocation
    //=========================================================================
    pub fn as_metadata_location_get_type() -> GType;

    //=========================================================================
    // AsPoolError
    //=========================================================================
    pub fn as_pool_error_get_type() -> GType;
    pub fn as_pool_error_quark() -> glib::GQuark;

    //=========================================================================
    // AsProvidedKind
    //=========================================================================
    pub fn as_provided_kind_get_type() -> GType;
    pub fn as_provided_kind_from_string(kind_str: *const c_char) -> AsProvidedKind;
    pub fn as_provided_kind_to_l10n_string(kind: AsProvidedKind) -> *const c_char;
    pub fn as_provided_kind_to_string(kind: AsProvidedKind) -> *const c_char;

    //=========================================================================
    // AsReferenceKind
    //=========================================================================
    pub fn as_reference_kind_get_type() -> GType;
    pub fn as_reference_kind_from_string(str: *const c_char) -> AsReferenceKind;
    pub fn as_reference_kind_to_string(kind: AsReferenceKind) -> *const c_char;

    //=========================================================================
    // AsRelationCompare
    //=========================================================================
    pub fn as_relation_compare_get_type() -> GType;
    pub fn as_relation_compare_from_string(compare_str: *const c_char) -> AsRelationCompare;
    pub fn as_relation_compare_to_string(compare: AsRelationCompare) -> *const c_char;
    pub fn as_relation_compare_to_symbols_string(compare: AsRelationCompare) -> *const c_char;

    //=========================================================================
    // AsRelationError
    //=========================================================================
    pub fn as_relation_error_get_type() -> GType;
    pub fn as_relation_error_quark() -> glib::GQuark;

    //=========================================================================
    // AsRelationItemKind
    //=========================================================================
    pub fn as_relation_item_kind_get_type() -> GType;
    pub fn as_relation_item_kind_from_string(kind_str: *const c_char) -> AsRelationItemKind;
    pub fn as_relation_item_kind_to_string(kind: AsRelationItemKind) -> *const c_char;

    //=========================================================================
    // AsRelationKind
    //=========================================================================
    pub fn as_relation_kind_get_type() -> GType;
    pub fn as_relation_kind_from_string(kind_str: *const c_char) -> AsRelationKind;
    pub fn as_relation_kind_to_string(kind: AsRelationKind) -> *const c_char;

    //=========================================================================
    // AsRelationStatus
    //=========================================================================
    pub fn as_relation_status_get_type() -> GType;

    //=========================================================================
    // AsReleaseKind
    //=========================================================================
    pub fn as_release_kind_get_type() -> GType;
    pub fn as_release_kind_from_string(kind_str: *const c_char) -> AsReleaseKind;
    pub fn as_release_kind_to_string(kind: AsReleaseKind) -> *const c_char;

    //=========================================================================
    // AsReleaseListKind
    //=========================================================================
    pub fn as_release_list_kind_get_type() -> GType;
    pub fn as_release_list_kind_from_string(kind_str: *const c_char) -> AsReleaseListKind;
    pub fn as_release_list_kind_to_string(kind: AsReleaseListKind) -> *const c_char;

    //=========================================================================
    // AsReleaseUrlKind
    //=========================================================================
    pub fn as_release_url_kind_get_type() -> GType;
    pub fn as_release_url_kind_from_string(kind_str: *const c_char) -> AsReleaseUrlKind;
    pub fn as_release_url_kind_to_string(kind: AsReleaseUrlKind) -> *const c_char;

    //=========================================================================
    // AsScreenshotKind
    //=========================================================================
    pub fn as_screenshot_kind_get_type() -> GType;
    pub fn as_screenshot_kind_from_string(kind: *const c_char) -> AsScreenshotKind;
    pub fn as_screenshot_kind_to_string(kind: AsScreenshotKind) -> *const c_char;

    //=========================================================================
    // AsScreenshotMediaKind
    //=========================================================================
    pub fn as_screenshot_media_kind_get_type() -> GType;

    //=========================================================================
    // AsSizeKind
    //=========================================================================
    pub fn as_size_kind_get_type() -> GType;
    pub fn as_size_kind_from_string(size_kind: *const c_char) -> AsSizeKind;
    pub fn as_size_kind_to_string(size_kind: AsSizeKind) -> *const c_char;

    //=========================================================================
    // AsSuggestedKind
    //=========================================================================
    pub fn as_suggested_kind_get_type() -> GType;
    pub fn as_suggested_kind_from_string(kind_str: *const c_char) -> AsSuggestedKind;
    pub fn as_suggested_kind_to_string(kind: AsSuggestedKind) -> *const c_char;

    //=========================================================================
    // AsSystemInfoError
    //=========================================================================
    pub fn as_system_info_error_get_type() -> GType;
    pub fn as_system_info_error_quark() -> glib::GQuark;

    //=========================================================================
    // AsTranslationKind
    //=========================================================================
    pub fn as_translation_kind_get_type() -> GType;
    pub fn as_translation_kind_from_string(kind_str: *const c_char) -> AsTranslationKind;
    pub fn as_translation_kind_to_string(kind: AsTranslationKind) -> *const c_char;

    //=========================================================================
    // AsUrgencyKind
    //=========================================================================
    pub fn as_urgency_kind_get_type() -> GType;
    pub fn as_urgency_kind_from_string(urgency_kind: *const c_char) -> AsUrgencyKind;
    pub fn as_urgency_kind_to_string(urgency_kind: AsUrgencyKind) -> *const c_char;

    //=========================================================================
    // AsUrlKind
    //=========================================================================
    pub fn as_url_kind_get_type() -> GType;
    pub fn as_url_kind_from_string(url_kind: *const c_char) -> AsUrlKind;
    pub fn as_url_kind_to_string(url_kind: AsUrlKind) -> *const c_char;

    //=========================================================================
    // AsUtilsError
    //=========================================================================
    pub fn as_utils_error_get_type() -> GType;
    pub fn as_utils_error_quark() -> glib::GQuark;

    //=========================================================================
    // AsValidatorError
    //=========================================================================
    pub fn as_validator_error_get_type() -> GType;
    pub fn as_validator_error_quark() -> glib::GQuark;

    //=========================================================================
    // AsVideoCodecKind
    //=========================================================================
    pub fn as_video_codec_kind_get_type() -> GType;
    pub fn as_video_codec_kind_from_string(str: *const c_char) -> AsVideoCodecKind;
    pub fn as_video_codec_kind_to_string(kind: AsVideoCodecKind) -> *const c_char;

    //=========================================================================
    // AsVideoContainerKind
    //=========================================================================
    pub fn as_video_container_kind_get_type() -> GType;
    pub fn as_video_container_kind_from_string(str: *const c_char) -> AsVideoContainerKind;
    pub fn as_video_container_kind_to_string(kind: AsVideoContainerKind) -> *const c_char;

    //=========================================================================
    // AsCacheFlags
    //=========================================================================
    pub fn as_cache_flags_get_type() -> GType;

    //=========================================================================
    // AsComponentBoxFlags
    //=========================================================================
    pub fn as_component_box_flags_get_type() -> GType;

    //=========================================================================
    // AsDataIdMatchFlags
    //=========================================================================
    pub fn as_data_id_match_flags_get_type() -> GType;

    //=========================================================================
    // AsParseFlags
    //=========================================================================
    pub fn as_parse_flags_get_type() -> GType;

    //=========================================================================
    // AsPoolFlags
    //=========================================================================
    pub fn as_pool_flags_get_type() -> GType;

    //=========================================================================
    // AsReviewFlags
    //=========================================================================
    pub fn as_review_flags_get_type() -> GType;

    //=========================================================================
    // AsValueFlags
    //=========================================================================
    pub fn as_value_flags_get_type() -> GType;

    //=========================================================================
    // AsVercmpFlags
    //=========================================================================
    pub fn as_vercmp_flags_get_type() -> GType;

    //=========================================================================
    // AsBrandingColorIter
    //=========================================================================
    pub fn as_branding_color_iter_init(iter: *mut AsBrandingColorIter, branding: *mut AsBranding);
    pub fn as_branding_color_iter_next(
        iter: *mut AsBrandingColorIter,
        kind: *mut AsColorKind,
        scheme_preference: *mut AsColorSchemeKind,
        value: *mut *const c_char,
    ) -> gboolean;

    //=========================================================================
    // AsAgreement
    //=========================================================================
    pub fn as_agreement_get_type() -> GType;
    pub fn as_agreement_new() -> *mut AsAgreement;
    pub fn as_agreement_add_section(
        agreement: *mut AsAgreement,
        agreement_section: *mut AsAgreementSection,
    );
    pub fn as_agreement_get_kind(agreement: *mut AsAgreement) -> AsAgreementKind;
    pub fn as_agreement_get_section_default(agreement: *mut AsAgreement)
        -> *mut AsAgreementSection;
    pub fn as_agreement_get_sections(agreement: *mut AsAgreement) -> *mut glib::GPtrArray;
    pub fn as_agreement_get_version_id(agreement: *mut AsAgreement) -> *const c_char;
    pub fn as_agreement_set_kind(agreement: *mut AsAgreement, kind: AsAgreementKind);
    pub fn as_agreement_set_version_id(agreement: *mut AsAgreement, version_id: *const c_char);

    //=========================================================================
    // AsAgreementSection
    //=========================================================================
    pub fn as_agreement_section_get_type() -> GType;
    pub fn as_agreement_section_new() -> *mut AsAgreementSection;
    pub fn as_agreement_section_get_context(
        agreement_section: *mut AsAgreementSection,
    ) -> *mut AsContext;
    pub fn as_agreement_section_get_description(
        agreement_section: *mut AsAgreementSection,
    ) -> *const c_char;
    pub fn as_agreement_section_get_kind(
        agreement_section: *mut AsAgreementSection,
    ) -> *const c_char;
    pub fn as_agreement_section_get_name(
        agreement_section: *mut AsAgreementSection,
    ) -> *const c_char;
    pub fn as_agreement_section_set_context(
        agreement_section: *mut AsAgreementSection,
        context: *mut AsContext,
    );
    pub fn as_agreement_section_set_description(
        agreement_section: *mut AsAgreementSection,
        desc: *const c_char,
        locale: *const c_char,
    );
    pub fn as_agreement_section_set_kind(
        agreement_section: *mut AsAgreementSection,
        kind: *const c_char,
    );
    pub fn as_agreement_section_set_name(
        agreement_section: *mut AsAgreementSection,
        name: *const c_char,
        locale: *const c_char,
    );

    //=========================================================================
    // AsArtifact
    //=========================================================================
    pub fn as_artifact_get_type() -> GType;
    pub fn as_artifact_new() -> *mut AsArtifact;
    pub fn as_artifact_add_checksum(artifact: *mut AsArtifact, cs: *mut AsChecksum);
    pub fn as_artifact_add_location(artifact: *mut AsArtifact, location: *const c_char);
    pub fn as_artifact_get_bundle_kind(artifact: *mut AsArtifact) -> AsBundleKind;
    pub fn as_artifact_get_checksum(
        artifact: *mut AsArtifact,
        kind: AsChecksumKind,
    ) -> *mut AsChecksum;
    pub fn as_artifact_get_checksums(artifact: *mut AsArtifact) -> *mut glib::GPtrArray;
    pub fn as_artifact_get_filename(artifact: *mut AsArtifact) -> *const c_char;
    pub fn as_artifact_get_kind(artifact: *mut AsArtifact) -> AsArtifactKind;
    pub fn as_artifact_get_locations(artifact: *mut AsArtifact) -> *mut glib::GPtrArray;
    pub fn as_artifact_get_platform(artifact: *mut AsArtifact) -> *const c_char;
    pub fn as_artifact_get_size(artifact: *mut AsArtifact, kind: AsSizeKind) -> u64;
    pub fn as_artifact_set_bundle_kind(artifact: *mut AsArtifact, kind: AsBundleKind);
    pub fn as_artifact_set_filename(artifact: *mut AsArtifact, filename: *const c_char);
    pub fn as_artifact_set_kind(artifact: *mut AsArtifact, kind: AsArtifactKind);
    pub fn as_artifact_set_platform(artifact: *mut AsArtifact, platform: *const c_char);
    pub fn as_artifact_set_size(artifact: *mut AsArtifact, size: u64, kind: AsSizeKind);

    //=========================================================================
    // AsBranding
    //=========================================================================
    pub fn as_branding_get_type() -> GType;
    pub fn as_branding_new() -> *mut AsBranding;
    pub fn as_branding_get_color(
        branding: *mut AsBranding,
        kind: AsColorKind,
        scheme_kind: AsColorSchemeKind,
    ) -> *const c_char;
    pub fn as_branding_remove_color(
        branding: *mut AsBranding,
        kind: AsColorKind,
        scheme_preference: AsColorSchemeKind,
    );
    pub fn as_branding_set_color(
        branding: *mut AsBranding,
        kind: AsColorKind,
        scheme_preference: AsColorSchemeKind,
        colorcode: *const c_char,
    );

    //=========================================================================
    // AsBundle
    //=========================================================================
    pub fn as_bundle_get_type() -> GType;
    pub fn as_bundle_new() -> *mut AsBundle;
    pub fn as_bundle_get_id(bundle: *mut AsBundle) -> *const c_char;
    pub fn as_bundle_get_kind(bundle: *mut AsBundle) -> AsBundleKind;
    pub fn as_bundle_set_id(bundle: *mut AsBundle, id: *const c_char);
    pub fn as_bundle_set_kind(bundle: *mut AsBundle, kind: AsBundleKind);

    //=========================================================================
    // AsCategory
    //=========================================================================
    pub fn as_category_get_type() -> GType;
    pub fn as_category_new() -> *mut AsCategory;
    pub fn as_category_add_child(category: *mut AsCategory, subcat: *mut AsCategory);
    pub fn as_category_add_component(category: *mut AsCategory, cpt: *mut AsComponent);
    pub fn as_category_add_desktop_group(category: *mut AsCategory, group_name: *const c_char);
    pub fn as_category_get_children(category: *mut AsCategory) -> *mut glib::GPtrArray;
    pub fn as_category_get_components(category: *mut AsCategory) -> *mut glib::GPtrArray;
    pub fn as_category_get_desktop_groups(category: *mut AsCategory) -> *mut glib::GPtrArray;
    pub fn as_category_get_icon(category: *mut AsCategory) -> *const c_char;
    pub fn as_category_get_id(category: *mut AsCategory) -> *const c_char;
    pub fn as_category_get_name(category: *mut AsCategory) -> *const c_char;
    pub fn as_category_get_summary(category: *mut AsCategory) -> *const c_char;
    pub fn as_category_has_children(category: *mut AsCategory) -> gboolean;
    pub fn as_category_has_component(category: *mut AsCategory, cpt: *mut AsComponent) -> gboolean;
    pub fn as_category_remove_child(category: *mut AsCategory, subcat: *mut AsCategory);
    pub fn as_category_set_icon(category: *mut AsCategory, value: *const c_char);
    pub fn as_category_set_id(category: *mut AsCategory, id: *const c_char);
    pub fn as_category_set_name(category: *mut AsCategory, value: *const c_char);
    pub fn as_category_set_summary(category: *mut AsCategory, value: *const c_char);

    //=========================================================================
    // AsChecksum
    //=========================================================================
    pub fn as_checksum_get_type() -> GType;
    pub fn as_checksum_new() -> *mut AsChecksum;
    pub fn as_checksum_new_with_value(
        kind: AsChecksumKind,
        value: *const c_char,
    ) -> *mut AsChecksum;
    pub fn as_checksum_get_kind(cs: *mut AsChecksum) -> AsChecksumKind;
    pub fn as_checksum_get_value(cs: *mut AsChecksum) -> *const c_char;
    pub fn as_checksum_set_kind(cs: *mut AsChecksum, kind: AsChecksumKind);
    pub fn as_checksum_set_value(cs: *mut AsChecksum, value: *const c_char);

    //=========================================================================
    // AsComponent
    //=========================================================================
    pub fn as_component_get_type() -> GType;
    pub fn as_component_new() -> *mut AsComponent;
    pub fn as_component_add_addon(cpt: *mut AsComponent, addon: *mut AsComponent);
    pub fn as_component_add_agreement(cpt: *mut AsComponent, agreement: *mut AsAgreement);
    pub fn as_component_add_bundle(cpt: *mut AsComponent, bundle: *mut AsBundle);
    pub fn as_component_add_category(cpt: *mut AsComponent, category: *const c_char);
    pub fn as_component_add_content_rating(
        cpt: *mut AsComponent,
        content_rating: *mut AsContentRating,
    );
    pub fn as_component_add_extends(cpt: *mut AsComponent, cpt_id: *const c_char);
    pub fn as_component_add_icon(cpt: *mut AsComponent, icon: *mut AsIcon);
    pub fn as_component_add_keyword(
        cpt: *mut AsComponent,
        keyword: *const c_char,
        locale: *const c_char,
    );
    pub fn as_component_add_language(
        cpt: *mut AsComponent,
        locale: *const c_char,
        percentage: c_int,
    );
    pub fn as_component_add_launchable(cpt: *mut AsComponent, launchable: *mut AsLaunchable);
    pub fn as_component_add_provided(cpt: *mut AsComponent, prov: *mut AsProvided);
    pub fn as_component_add_provided_item(
        cpt: *mut AsComponent,
        kind: AsProvidedKind,
        item: *const c_char,
    );
    pub fn as_component_add_reference(cpt: *mut AsComponent, reference: *mut AsReference);
    pub fn as_component_add_relation(cpt: *mut AsComponent, relation: *mut AsRelation);
    pub fn as_component_add_release(cpt: *mut AsComponent, release: *mut AsRelease);
    pub fn as_component_add_replaces(cpt: *mut AsComponent, cid: *const c_char);
    pub fn as_component_add_review(cpt: *mut AsComponent, review: *mut AsReview);
    pub fn as_component_add_screenshot(cpt: *mut AsComponent, sshot: *mut AsScreenshot);
    pub fn as_component_add_suggested(cpt: *mut AsComponent, suggested: *mut AsSuggested);
    pub fn as_component_add_tag(
        cpt: *mut AsComponent,
        ns: *const c_char,
        tag: *const c_char,
    ) -> gboolean;
    pub fn as_component_add_translation(cpt: *mut AsComponent, tr: *mut AsTranslation);
    pub fn as_component_add_url(cpt: *mut AsComponent, url_kind: AsUrlKind, url: *const c_char);
    pub fn as_component_check_relations(
        cpt: *mut AsComponent,
        sysinfo: *mut AsSystemInfo,
        pool: *mut AsPool,
        rel_kind: AsRelationKind,
    ) -> *mut glib::GPtrArray;
    pub fn as_component_clear_keywords(cpt: *mut AsComponent, locale: *const c_char);
    pub fn as_component_clear_languages(cpt: *mut AsComponent);
    pub fn as_component_clear_tags(cpt: *mut AsComponent);
    pub fn as_component_get_addons(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_agreement_by_kind(
        cpt: *mut AsComponent,
        kind: AsAgreementKind,
    ) -> *mut AsAgreement;
    pub fn as_component_get_agreements(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_branch(cpt: *mut AsComponent) -> *const c_char;
    pub fn as_component_get_branding(cpt: *mut AsComponent) -> *mut AsBranding;
    pub fn as_component_get_bundle(
        cpt: *mut AsComponent,
        bundle_kind: AsBundleKind,
    ) -> *mut AsBundle;
    pub fn as_component_get_bundles(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_categories(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_compulsory_for_desktops(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_content_rating(
        cpt: *mut AsComponent,
        kind: *const c_char,
    ) -> *mut AsContentRating;
    pub fn as_component_get_content_ratings(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_context(cpt: *mut AsComponent) -> *mut AsContext;
    pub fn as_component_get_custom(cpt: *mut AsComponent) -> *mut glib::GHashTable;
    pub fn as_component_get_custom_value(
        cpt: *mut AsComponent,
        key: *const c_char,
    ) -> *const c_char;
    pub fn as_component_get_data_id(cpt: *mut AsComponent) -> *const c_char;
    pub fn as_component_get_date_eol(cpt: *mut AsComponent) -> *const c_char;
    pub fn as_component_get_description(cpt: *mut AsComponent) -> *const c_char;
    pub fn as_component_get_developer(cpt: *mut AsComponent) -> *mut AsDeveloper;
    pub fn as_component_get_extends(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_icon_by_size(
        cpt: *mut AsComponent,
        width: c_uint,
        height: c_uint,
    ) -> *mut AsIcon;
    pub fn as_component_get_icon_stock(cpt: *mut AsComponent) -> *mut AsIcon;
    pub fn as_component_get_icons(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_id(cpt: *mut AsComponent) -> *const c_char;
    pub fn as_component_get_keywords(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_keywords_table(cpt: *mut AsComponent) -> *mut glib::GHashTable;
    pub fn as_component_get_kind(cpt: *mut AsComponent) -> AsComponentKind;
    pub fn as_component_get_language(cpt: *mut AsComponent, locale: *const c_char) -> c_int;
    pub fn as_component_get_languages(cpt: *mut AsComponent) -> *mut glib::GList;
    pub fn as_component_get_launchable(
        cpt: *mut AsComponent,
        kind: AsLaunchableKind,
    ) -> *mut AsLaunchable;
    pub fn as_component_get_launchables(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_merge_kind(cpt: *mut AsComponent) -> AsMergeKind;
    pub fn as_component_get_metadata_license(cpt: *mut AsComponent) -> *const c_char;
    pub fn as_component_get_name(cpt: *mut AsComponent) -> *const c_char;
    pub fn as_component_get_name_table(cpt: *mut AsComponent) -> *mut glib::GHashTable;
    pub fn as_component_get_name_variant_suffix(cpt: *mut AsComponent) -> *const c_char;
    pub fn as_component_get_origin(cpt: *mut AsComponent) -> *const c_char;
    pub fn as_component_get_pkgname(cpt: *mut AsComponent) -> *mut c_char;
    pub fn as_component_get_pkgnames(cpt: *mut AsComponent) -> *mut *mut c_char;
    pub fn as_component_get_priority(cpt: *mut AsComponent) -> c_int;
    pub fn as_component_get_project_group(cpt: *mut AsComponent) -> *const c_char;
    pub fn as_component_get_project_license(cpt: *mut AsComponent) -> *const c_char;
    pub fn as_component_get_provided(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_provided_for_kind(
        cpt: *mut AsComponent,
        kind: AsProvidedKind,
    ) -> *mut AsProvided;
    pub fn as_component_get_recommends(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_references(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_releases_plain(cpt: *mut AsComponent) -> *mut AsReleaseList;
    pub fn as_component_get_replaces(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_requires(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_reviews(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_scope(cpt: *mut AsComponent) -> AsComponentScope;
    pub fn as_component_get_screenshots_all(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_search_tokens(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_sort_score(cpt: *mut AsComponent) -> c_uint;
    pub fn as_component_get_source_pkgname(cpt: *mut AsComponent) -> *const c_char;
    pub fn as_component_get_suggested(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_summary(cpt: *mut AsComponent) -> *const c_char;
    pub fn as_component_get_summary_table(cpt: *mut AsComponent) -> *mut glib::GHashTable;
    pub fn as_component_get_supports(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_system_compatibility_score(
        cpt: *mut AsComponent,
        sysinfo: *mut AsSystemInfo,
        is_template: gboolean,
        results: *mut *mut glib::GPtrArray,
    ) -> c_int;
    pub fn as_component_get_timestamp_eol(cpt: *mut AsComponent) -> u64;
    pub fn as_component_get_translations(cpt: *mut AsComponent) -> *mut glib::GPtrArray;
    pub fn as_component_get_url(cpt: *mut AsComponent, url_kind: AsUrlKind) -> *const c_char;
    pub fn as_component_has_bundle(cpt: *mut AsComponent) -> gboolean;
    pub fn as_component_has_category(cpt: *mut AsComponent, category: *const c_char) -> gboolean;
    pub fn as_component_has_tag(
        cpt: *mut AsComponent,
        ns: *const c_char,
        tag: *const c_char,
    ) -> gboolean;
    pub fn as_component_insert_custom_value(
        cpt: *mut AsComponent,
        key: *const c_char,
        value: *const c_char,
    ) -> gboolean;
    pub fn as_component_is_compulsory_for_desktop(
        cpt: *mut AsComponent,
        desktop: *const c_char,
    ) -> gboolean;
    pub fn as_component_is_floss(cpt: *mut AsComponent) -> gboolean;
    pub fn as_component_is_ignored(cpt: *mut AsComponent) -> gboolean;
    pub fn as_component_is_member_of_category(
        cpt: *mut AsComponent,
        category: *mut AsCategory,
    ) -> gboolean;
    pub fn as_component_is_valid(cpt: *mut AsComponent) -> gboolean;
    pub fn as_component_load_from_bytes(
        cpt: *mut AsComponent,
        context: *mut AsContext,
        format: AsFormatKind,
        bytes: *mut glib::GBytes,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_component_load_releases(
        cpt: *mut AsComponent,
        allow_net: gboolean,
        error: *mut *mut glib::GError,
    ) -> *mut AsReleaseList;
    pub fn as_component_remove_tag(
        cpt: *mut AsComponent,
        ns: *const c_char,
        tag: *const c_char,
    ) -> gboolean;
    pub fn as_component_search_matches(cpt: *mut AsComponent, term: *const c_char) -> c_uint;
    pub fn as_component_search_matches_all(
        cpt: *mut AsComponent,
        terms: *mut *mut c_char,
    ) -> c_uint;
    pub fn as_component_set_branch(cpt: *mut AsComponent, branch: *const c_char);
    pub fn as_component_set_branding(cpt: *mut AsComponent, branding: *mut AsBranding);
    pub fn as_component_set_compulsory_for_desktop(cpt: *mut AsComponent, desktop: *const c_char);
    pub fn as_component_set_context(cpt: *mut AsComponent, context: *mut AsContext);
    pub fn as_component_set_context_locale(cpt: *mut AsComponent, locale: *const c_char);
    pub fn as_component_set_data_id(cpt: *mut AsComponent, value: *const c_char);
    pub fn as_component_set_date_eol(cpt: *mut AsComponent, date: *const c_char);
    pub fn as_component_set_description(
        cpt: *mut AsComponent,
        value: *const c_char,
        locale: *const c_char,
    );
    pub fn as_component_set_developer(cpt: *mut AsComponent, developer: *mut AsDeveloper);
    pub fn as_component_set_id(cpt: *mut AsComponent, value: *const c_char);
    pub fn as_component_set_keywords(
        cpt: *mut AsComponent,
        new_keywords: *mut glib::GPtrArray,
        locale: *const c_char,
        deep_copy: gboolean,
    );
    pub fn as_component_set_kind(cpt: *mut AsComponent, value: AsComponentKind);
    pub fn as_component_set_merge_kind(cpt: *mut AsComponent, kind: AsMergeKind);
    pub fn as_component_set_metadata_license(cpt: *mut AsComponent, value: *const c_char);
    pub fn as_component_set_name(
        cpt: *mut AsComponent,
        value: *const c_char,
        locale: *const c_char,
    );
    pub fn as_component_set_name_variant_suffix(
        cpt: *mut AsComponent,
        value: *const c_char,
        locale: *const c_char,
    );
    pub fn as_component_set_origin(cpt: *mut AsComponent, origin: *const c_char);
    pub fn as_component_set_pkgname(cpt: *mut AsComponent, pkgname: *const c_char);
    pub fn as_component_set_pkgnames(cpt: *mut AsComponent, packages: *mut *mut c_char);
    pub fn as_component_set_priority(cpt: *mut AsComponent, priority: c_int);
    pub fn as_component_set_project_group(cpt: *mut AsComponent, value: *const c_char);
    pub fn as_component_set_project_license(cpt: *mut AsComponent, value: *const c_char);
    pub fn as_component_set_releases(cpt: *mut AsComponent, releases: *mut AsReleaseList);
    pub fn as_component_set_scope(cpt: *mut AsComponent, scope: AsComponentScope);
    pub fn as_component_set_sort_score(cpt: *mut AsComponent, score: c_uint);
    pub fn as_component_set_source_pkgname(cpt: *mut AsComponent, spkgname: *const c_char);
    pub fn as_component_set_summary(
        cpt: *mut AsComponent,
        value: *const c_char,
        locale: *const c_char,
    );
    pub fn as_component_sort_screenshots(
        cpt: *mut AsComponent,
        environment: *const c_char,
        style: *const c_char,
        prioritize_style: gboolean,
    );
    pub fn as_component_to_string(cpt: *mut AsComponent) -> *mut c_char;
    pub fn as_component_to_xml_data(
        cpt: *mut AsComponent,
        context: *mut AsContext,
        error: *mut *mut glib::GError,
    ) -> *mut c_char;

    //=========================================================================
    // AsComponentBox
    //=========================================================================
    pub fn as_component_box_get_type() -> GType;
    pub fn as_component_box_new(flags: AsComponentBoxFlags) -> *mut AsComponentBox;
    pub fn as_component_box_new_simple() -> *mut AsComponentBox;
    pub fn as_component_box_add(
        cbox: *mut AsComponentBox,
        cpt: *mut AsComponent,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_component_box_as_array(cbox: *mut AsComponentBox) -> *mut glib::GPtrArray;
    pub fn as_component_box_clear(cbox: *mut AsComponentBox);
    pub fn as_component_box_get_flags(cbox: *mut AsComponentBox) -> AsComponentBoxFlags;
    pub fn as_component_box_get_size(cbox: *mut AsComponentBox) -> c_uint;
    pub fn as_component_box_index_safe(
        cbox: *mut AsComponentBox,
        index: c_uint,
    ) -> *mut AsComponent;
    pub fn as_component_box_is_empty(cbox: *mut AsComponentBox) -> gboolean;
    pub fn as_component_box_remove_at(cbox: *mut AsComponentBox, index: c_uint);
    pub fn as_component_box_sort(cbox: *mut AsComponentBox);
    pub fn as_component_box_sort_by_score(cbox: *mut AsComponentBox);

    //=========================================================================
    // AsContentRating
    //=========================================================================
    pub fn as_content_rating_get_type() -> GType;
    pub fn as_content_rating_new() -> *mut AsContentRating;
    pub fn as_content_rating_attribute_from_csm_age(
        id: *const c_char,
        age: c_uint,
    ) -> AsContentRatingValue;
    pub fn as_content_rating_attribute_get_description(
        id: *const c_char,
        value: AsContentRatingValue,
    ) -> *const c_char;
    pub fn as_content_rating_attribute_to_csm_age(
        id: *const c_char,
        value: AsContentRatingValue,
    ) -> c_uint;
    pub fn as_content_rating_get_all_rating_ids() -> *mut *const c_char;
    pub fn as_content_rating_add_attribute(
        content_rating: *mut AsContentRating,
        id: *const c_char,
        value: AsContentRatingValue,
    );
    pub fn as_content_rating_get_kind(content_rating: *mut AsContentRating) -> *const c_char;
    pub fn as_content_rating_get_minimum_age(content_rating: *mut AsContentRating) -> c_uint;
    pub fn as_content_rating_get_rating_ids(
        content_rating: *mut AsContentRating,
    ) -> *mut *const c_char;
    pub fn as_content_rating_get_value(
        content_rating: *mut AsContentRating,
        id: *const c_char,
    ) -> AsContentRatingValue;
    pub fn as_content_rating_set_kind(content_rating: *mut AsContentRating, kind: *const c_char);
    pub fn as_content_rating_set_value(
        content_rating: *mut AsContentRating,
        id: *const c_char,
        value: AsContentRatingValue,
    );

    //=========================================================================
    // AsContext
    //=========================================================================
    pub fn as_context_get_type() -> GType;
    pub fn as_context_new() -> *mut AsContext;
    pub fn as_context_get_filename(ctx: *mut AsContext) -> *const c_char;
    pub fn as_context_get_format_version(ctx: *mut AsContext) -> AsFormatVersion;
    pub fn as_context_get_locale(ctx: *mut AsContext) -> *const c_char;
    pub fn as_context_get_locale_use_all(ctx: *mut AsContext) -> gboolean;
    pub fn as_context_get_media_baseurl(ctx: *mut AsContext) -> *const c_char;
    pub fn as_context_get_origin(ctx: *mut AsContext) -> *const c_char;
    pub fn as_context_get_priority(ctx: *mut AsContext) -> c_int;
    pub fn as_context_get_style(ctx: *mut AsContext) -> AsFormatStyle;
    pub fn as_context_get_value_flags(ctx: *mut AsContext) -> AsValueFlags;
    pub fn as_context_has_media_baseurl(ctx: *mut AsContext) -> gboolean;
    pub fn as_context_set_filename(ctx: *mut AsContext, fname: *const c_char);
    pub fn as_context_set_format_version(ctx: *mut AsContext, ver: AsFormatVersion);
    pub fn as_context_set_locale(ctx: *mut AsContext, locale: *const c_char);
    pub fn as_context_set_media_baseurl(ctx: *mut AsContext, value: *const c_char);
    pub fn as_context_set_origin(ctx: *mut AsContext, value: *const c_char);
    pub fn as_context_set_priority(ctx: *mut AsContext, priority: c_int);
    pub fn as_context_set_style(ctx: *mut AsContext, style: AsFormatStyle);
    pub fn as_context_set_value_flags(ctx: *mut AsContext, flags: AsValueFlags);

    //=========================================================================
    // AsDeveloper
    //=========================================================================
    pub fn as_developer_get_type() -> GType;
    pub fn as_developer_new() -> *mut AsDeveloper;
    pub fn as_developer_get_id(devp: *mut AsDeveloper) -> *const c_char;
    pub fn as_developer_get_name(devp: *mut AsDeveloper) -> *const c_char;
    pub fn as_developer_set_id(devp: *mut AsDeveloper, id: *const c_char);
    pub fn as_developer_set_name(
        devp: *mut AsDeveloper,
        value: *const c_char,
        locale: *const c_char,
    );

    //=========================================================================
    // AsIcon
    //=========================================================================
    pub fn as_icon_get_type() -> GType;
    pub fn as_icon_new() -> *mut AsIcon;
    pub fn as_icon_get_filename(icon: *mut AsIcon) -> *const c_char;
    pub fn as_icon_get_height(icon: *mut AsIcon) -> c_uint;
    pub fn as_icon_get_kind(icon: *mut AsIcon) -> AsIconKind;
    pub fn as_icon_get_name(icon: *mut AsIcon) -> *const c_char;
    pub fn as_icon_get_scale(icon: *mut AsIcon) -> c_uint;
    pub fn as_icon_get_url(icon: *mut AsIcon) -> *const c_char;
    pub fn as_icon_get_width(icon: *mut AsIcon) -> c_uint;
    pub fn as_icon_set_filename(icon: *mut AsIcon, filename: *const c_char);
    pub fn as_icon_set_height(icon: *mut AsIcon, height: c_uint);
    pub fn as_icon_set_kind(icon: *mut AsIcon, kind: AsIconKind);
    pub fn as_icon_set_name(icon: *mut AsIcon, name: *const c_char);
    pub fn as_icon_set_scale(icon: *mut AsIcon, scale: c_uint);
    pub fn as_icon_set_url(icon: *mut AsIcon, url: *const c_char);
    pub fn as_icon_set_width(icon: *mut AsIcon, width: c_uint);

    //=========================================================================
    // AsImage
    //=========================================================================
    pub fn as_image_get_type() -> GType;
    pub fn as_image_new() -> *mut AsImage;
    pub fn as_image_get_height(image: *mut AsImage) -> c_uint;
    pub fn as_image_get_kind(image: *mut AsImage) -> AsImageKind;
    pub fn as_image_get_locale(image: *mut AsImage) -> *const c_char;
    pub fn as_image_get_scale(image: *mut AsImage) -> c_uint;
    pub fn as_image_get_url(image: *mut AsImage) -> *const c_char;
    pub fn as_image_get_width(image: *mut AsImage) -> c_uint;
    pub fn as_image_set_height(image: *mut AsImage, height: c_uint);
    pub fn as_image_set_kind(image: *mut AsImage, kind: AsImageKind);
    pub fn as_image_set_locale(image: *mut AsImage, locale: *const c_char);
    pub fn as_image_set_scale(image: *mut AsImage, scale: c_uint);
    pub fn as_image_set_url(image: *mut AsImage, url: *const c_char);
    pub fn as_image_set_width(image: *mut AsImage, width: c_uint);

    //=========================================================================
    // AsIssue
    //=========================================================================
    pub fn as_issue_get_type() -> GType;
    pub fn as_issue_new() -> *mut AsIssue;
    pub fn as_issue_get_id(issue: *mut AsIssue) -> *const c_char;
    pub fn as_issue_get_kind(issue: *mut AsIssue) -> AsIssueKind;
    pub fn as_issue_get_url(issue: *mut AsIssue) -> *const c_char;
    pub fn as_issue_set_id(issue: *mut AsIssue, id: *const c_char);
    pub fn as_issue_set_kind(issue: *mut AsIssue, kind: AsIssueKind);
    pub fn as_issue_set_url(issue: *mut AsIssue, url: *const c_char);

    //=========================================================================
    // AsLaunchable
    //=========================================================================
    pub fn as_launchable_get_type() -> GType;
    pub fn as_launchable_new() -> *mut AsLaunchable;
    pub fn as_launchable_add_entry(launch: *mut AsLaunchable, entry: *const c_char);
    pub fn as_launchable_get_entries(launch: *mut AsLaunchable) -> *mut glib::GPtrArray;
    pub fn as_launchable_get_kind(launch: *mut AsLaunchable) -> AsLaunchableKind;
    pub fn as_launchable_set_kind(launch: *mut AsLaunchable, kind: AsLaunchableKind);

    //=========================================================================
    // AsMetadata
    //=========================================================================
    pub fn as_metadata_get_type() -> GType;
    pub fn as_metadata_new() -> *mut AsMetadata;
    pub fn as_metadata_file_guess_style(filename: *const c_char) -> AsFormatStyle;
    pub fn as_metadata_add_component(metad: *mut AsMetadata, cpt: *mut AsComponent);
    pub fn as_metadata_clear_components(metad: *mut AsMetadata);
    pub fn as_metadata_clear_releases(metad: *mut AsMetadata);
    pub fn as_metadata_component_to_metainfo(
        metad: *mut AsMetadata,
        format: AsFormatKind,
        error: *mut *mut glib::GError,
    ) -> *mut c_char;
    pub fn as_metadata_components_to_catalog(
        metad: *mut AsMetadata,
        format: AsFormatKind,
        error: *mut *mut glib::GError,
    ) -> *mut c_char;
    pub fn as_metadata_get_architecture(metad: *mut AsMetadata) -> *const c_char;
    pub fn as_metadata_get_component(metad: *mut AsMetadata) -> *mut AsComponent;
    pub fn as_metadata_get_components(metad: *mut AsMetadata) -> *mut AsComponentBox;
    pub fn as_metadata_get_format_style(metad: *mut AsMetadata) -> AsFormatStyle;
    pub fn as_metadata_get_format_version(metad: *mut AsMetadata) -> AsFormatVersion;
    pub fn as_metadata_get_locale(metad: *mut AsMetadata) -> *const c_char;
    pub fn as_metadata_get_media_baseurl(metad: *mut AsMetadata) -> *const c_char;
    pub fn as_metadata_get_origin(metad: *mut AsMetadata) -> *const c_char;
    pub fn as_metadata_get_parse_flags(metad: *mut AsMetadata) -> AsParseFlags;
    pub fn as_metadata_get_release_list(metad: *mut AsMetadata) -> *mut AsReleaseList;
    pub fn as_metadata_get_release_lists(metad: *mut AsMetadata) -> *mut glib::GPtrArray;
    pub fn as_metadata_get_update_existing(metad: *mut AsMetadata) -> gboolean;
    pub fn as_metadata_get_write_header(metad: *mut AsMetadata) -> gboolean;
    pub fn as_metadata_parse_bytes(
        metad: *mut AsMetadata,
        bytes: *mut glib::GBytes,
        format: AsFormatKind,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_metadata_parse_data(
        metad: *mut AsMetadata,
        data: *const c_char,
        data_len: ssize_t,
        format: AsFormatKind,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_metadata_parse_desktop_data(
        metad: *mut AsMetadata,
        cid: *const c_char,
        data: *const c_char,
        data_len: ssize_t,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_metadata_parse_file(
        metad: *mut AsMetadata,
        file: *mut gio::GFile,
        format: AsFormatKind,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_metadata_parse_releases_bytes(
        metad: *mut AsMetadata,
        bytes: *mut glib::GBytes,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_metadata_parse_releases_file(
        metad: *mut AsMetadata,
        file: *mut gio::GFile,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_metadata_releases_to_data(
        metad: *mut AsMetadata,
        releases: *mut AsReleaseList,
        error: *mut *mut glib::GError,
    ) -> *mut c_char;
    pub fn as_metadata_save_catalog(
        metad: *mut AsMetadata,
        fname: *const c_char,
        format: AsFormatKind,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_metadata_save_metainfo(
        metad: *mut AsMetadata,
        fname: *const c_char,
        format: AsFormatKind,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_metadata_set_architecture(metad: *mut AsMetadata, arch: *const c_char);
    pub fn as_metadata_set_format_style(metad: *mut AsMetadata, mode: AsFormatStyle);
    pub fn as_metadata_set_format_version(metad: *mut AsMetadata, version: AsFormatVersion);
    pub fn as_metadata_set_locale(metad: *mut AsMetadata, locale: *const c_char);
    pub fn as_metadata_set_media_baseurl(metad: *mut AsMetadata, url: *const c_char);
    pub fn as_metadata_set_origin(metad: *mut AsMetadata, origin: *const c_char);
    pub fn as_metadata_set_parse_flags(metad: *mut AsMetadata, flags: AsParseFlags);
    pub fn as_metadata_set_update_existing(metad: *mut AsMetadata, update: gboolean);
    pub fn as_metadata_set_write_header(metad: *mut AsMetadata, wheader: gboolean);

    //=========================================================================
    // AsPool
    //=========================================================================
    pub fn as_pool_get_type() -> GType;
    pub fn as_pool_new() -> *mut AsPool;
    pub fn as_pool_add_components(
        pool: *mut AsPool,
        cbox: *mut AsComponentBox,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_pool_add_extra_data_location(
        pool: *mut AsPool,
        directory: *const c_char,
        format_style: AsFormatStyle,
    );
    pub fn as_pool_add_flags(pool: *mut AsPool, flags: AsPoolFlags);
    pub fn as_pool_build_search_tokens(
        pool: *mut AsPool,
        search: *const c_char,
    ) -> *mut *mut c_char;
    pub fn as_pool_clear(pool: *mut AsPool);
    pub fn as_pool_get_components(pool: *mut AsPool) -> *mut AsComponentBox;
    pub fn as_pool_get_components_by_bundle_id(
        pool: *mut AsPool,
        kind: AsBundleKind,
        bundle_id: *const c_char,
        match_prefix: gboolean,
    ) -> *mut AsComponentBox;
    pub fn as_pool_get_components_by_categories(
        pool: *mut AsPool,
        categories: *mut *mut c_char,
    ) -> *mut AsComponentBox;
    pub fn as_pool_get_components_by_extends(
        pool: *mut AsPool,
        extended_id: *const c_char,
    ) -> *mut AsComponentBox;
    pub fn as_pool_get_components_by_id(
        pool: *mut AsPool,
        cid: *const c_char,
    ) -> *mut AsComponentBox;
    pub fn as_pool_get_components_by_kind(
        pool: *mut AsPool,
        kind: AsComponentKind,
    ) -> *mut AsComponentBox;
    pub fn as_pool_get_components_by_launchable(
        pool: *mut AsPool,
        kind: AsLaunchableKind,
        id: *const c_char,
    ) -> *mut AsComponentBox;
    pub fn as_pool_get_components_by_provided_item(
        pool: *mut AsPool,
        kind: AsProvidedKind,
        item: *const c_char,
    ) -> *mut AsComponentBox;
    pub fn as_pool_get_flags(pool: *mut AsPool) -> AsPoolFlags;
    pub fn as_pool_get_locale(pool: *mut AsPool) -> *const c_char;
    pub fn as_pool_is_empty(pool: *mut AsPool) -> gboolean;
    pub fn as_pool_load(
        pool: *mut AsPool,
        cancellable: *mut gio::GCancellable,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_pool_load_async(
        pool: *mut AsPool,
        cancellable: *mut gio::GCancellable,
        callback: gio::GAsyncReadyCallback,
        user_data: gpointer,
    );
    pub fn as_pool_load_finish(
        pool: *mut AsPool,
        result: *mut gio::GAsyncResult,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_pool_remove_flags(pool: *mut AsPool, flags: AsPoolFlags);
    pub fn as_pool_reset_extra_data_locations(pool: *mut AsPool);
    pub fn as_pool_search(pool: *mut AsPool, search: *const c_char) -> *mut AsComponentBox;
    pub fn as_pool_set_flags(pool: *mut AsPool, flags: AsPoolFlags);
    pub fn as_pool_set_load_std_data_locations(pool: *mut AsPool, enabled: gboolean);
    pub fn as_pool_set_locale(pool: *mut AsPool, locale: *const c_char);

    //=========================================================================
    // AsProvided
    //=========================================================================
    pub fn as_provided_get_type() -> GType;
    pub fn as_provided_new() -> *mut AsProvided;
    pub fn as_provided_add_item(prov: *mut AsProvided, item: *const c_char);
    pub fn as_provided_get_items(prov: *mut AsProvided) -> *mut glib::GPtrArray;
    pub fn as_provided_get_kind(prov: *mut AsProvided) -> AsProvidedKind;
    pub fn as_provided_has_item(prov: *mut AsProvided, item: *const c_char) -> gboolean;
    pub fn as_provided_set_kind(prov: *mut AsProvided, kind: AsProvidedKind);

    //=========================================================================
    // AsReference
    //=========================================================================
    pub fn as_reference_get_type() -> GType;
    pub fn as_reference_new() -> *mut AsReference;
    pub fn as_reference_get_kind(reference: *mut AsReference) -> AsReferenceKind;
    pub fn as_reference_get_registry_name(reference: *mut AsReference) -> *const c_char;
    pub fn as_reference_get_value(reference: *mut AsReference) -> *const c_char;
    pub fn as_reference_set_kind(reference: *mut AsReference, kind: AsReferenceKind);
    pub fn as_reference_set_registry_name(reference: *mut AsReference, name: *const c_char);
    pub fn as_reference_set_value(reference: *mut AsReference, value: *const c_char);

    //=========================================================================
    // AsRelation
    //=========================================================================
    pub fn as_relation_get_type() -> GType;
    pub fn as_relation_new() -> *mut AsRelation;
    pub fn as_relation_check_results_get_compatibility_score(
        rc_results: *mut glib::GPtrArray,
    ) -> c_int;
    pub fn as_relation_get_compare(relation: *mut AsRelation) -> AsRelationCompare;
    pub fn as_relation_get_display_side_kind(relation: *mut AsRelation) -> AsDisplaySideKind;
    pub fn as_relation_get_item_kind(relation: *mut AsRelation) -> AsRelationItemKind;
    pub fn as_relation_get_kind(relation: *mut AsRelation) -> AsRelationKind;
    pub fn as_relation_get_value_control_kind(relation: *mut AsRelation) -> AsControlKind;
    pub fn as_relation_get_value_int(relation: *mut AsRelation) -> c_int;
    pub fn as_relation_get_value_internet_bandwidth(relation: *mut AsRelation) -> c_uint;
    pub fn as_relation_get_value_internet_kind(relation: *mut AsRelation) -> AsInternetKind;
    pub fn as_relation_get_value_px(relation: *mut AsRelation) -> c_int;
    pub fn as_relation_get_value_str(relation: *mut AsRelation) -> *const c_char;
    pub fn as_relation_get_version(relation: *mut AsRelation) -> *const c_char;
    pub fn as_relation_is_satisfied(
        relation: *mut AsRelation,
        system_info: *mut AsSystemInfo,
        pool: *mut AsPool,
        error: *mut *mut glib::GError,
    ) -> *mut AsRelationCheckResult;
    pub fn as_relation_set_compare(relation: *mut AsRelation, compare: AsRelationCompare);
    pub fn as_relation_set_display_side_kind(relation: *mut AsRelation, kind: AsDisplaySideKind);
    pub fn as_relation_set_item_kind(relation: *mut AsRelation, kind: AsRelationItemKind);
    pub fn as_relation_set_kind(relation: *mut AsRelation, kind: AsRelationKind);
    pub fn as_relation_set_value_control_kind(relation: *mut AsRelation, kind: AsControlKind);
    pub fn as_relation_set_value_int(relation: *mut AsRelation, value: c_int);
    pub fn as_relation_set_value_internet_bandwidth(
        relation: *mut AsRelation,
        bandwidth_mbitps: c_uint,
    );
    pub fn as_relation_set_value_internet_kind(relation: *mut AsRelation, kind: AsInternetKind);
    pub fn as_relation_set_value_px(relation: *mut AsRelation, logical_px: c_int);
    pub fn as_relation_set_value_str(relation: *mut AsRelation, value: *const c_char);
    pub fn as_relation_set_version(relation: *mut AsRelation, version: *const c_char);
    pub fn as_relation_version_compare(
        relation: *mut AsRelation,
        version: *const c_char,
        error: *mut *mut glib::GError,
    ) -> gboolean;

    //=========================================================================
    // AsRelationCheckResult
    //=========================================================================
    pub fn as_relation_check_result_get_type() -> GType;
    pub fn as_relation_check_result_new() -> *mut AsRelationCheckResult;
    pub fn as_relation_check_result_get_error_code(
        relcr: *mut AsRelationCheckResult,
    ) -> AsRelationError;
    pub fn as_relation_check_result_get_message(relcr: *mut AsRelationCheckResult)
        -> *const c_char;
    pub fn as_relation_check_result_get_relation(
        relcr: *mut AsRelationCheckResult,
    ) -> *mut AsRelation;
    pub fn as_relation_check_result_get_status(
        relcr: *mut AsRelationCheckResult,
    ) -> AsRelationStatus;
    pub fn as_relation_check_result_set_error_code(
        relcr: *mut AsRelationCheckResult,
        ecode: AsRelationError,
    );
    pub fn as_relation_check_result_set_message(
        relcr: *mut AsRelationCheckResult,
        format: *const c_char,
        ...
    );
    pub fn as_relation_check_result_set_relation(
        relcr: *mut AsRelationCheckResult,
        relation: *mut AsRelation,
    );
    pub fn as_relation_check_result_set_status(
        relcr: *mut AsRelationCheckResult,
        status: AsRelationStatus,
    );

    //=========================================================================
    // AsRelease
    //=========================================================================
    pub fn as_release_get_type() -> GType;
    pub fn as_release_new() -> *mut AsRelease;
    pub fn as_release_add_artifact(release: *mut AsRelease, artifact: *mut AsArtifact);
    pub fn as_release_add_issue(release: *mut AsRelease, issue: *mut AsIssue);
    pub fn as_release_add_tag(
        release: *mut AsRelease,
        ns: *const c_char,
        tag: *const c_char,
    ) -> gboolean;
    pub fn as_release_clear_tags(release: *mut AsRelease);
    pub fn as_release_get_artifacts(release: *mut AsRelease) -> *mut glib::GPtrArray;
    pub fn as_release_get_context(release: *mut AsRelease) -> *mut AsContext;
    pub fn as_release_get_date(release: *mut AsRelease) -> *const c_char;
    pub fn as_release_get_date_eol(release: *mut AsRelease) -> *const c_char;
    pub fn as_release_get_description(release: *mut AsRelease) -> *const c_char;
    pub fn as_release_get_issues(release: *mut AsRelease) -> *mut glib::GPtrArray;
    pub fn as_release_get_kind(release: *mut AsRelease) -> AsReleaseKind;
    pub fn as_release_get_timestamp(release: *mut AsRelease) -> u64;
    pub fn as_release_get_timestamp_eol(release: *mut AsRelease) -> u64;
    pub fn as_release_get_urgency(release: *mut AsRelease) -> AsUrgencyKind;
    pub fn as_release_get_url(release: *mut AsRelease, url_kind: AsReleaseUrlKind)
        -> *const c_char;
    pub fn as_release_get_version(release: *mut AsRelease) -> *const c_char;
    pub fn as_release_has_tag(
        release: *mut AsRelease,
        ns: *const c_char,
        tag: *const c_char,
    ) -> gboolean;
    pub fn as_release_remove_tag(
        release: *mut AsRelease,
        ns: *const c_char,
        tag: *const c_char,
    ) -> gboolean;
    pub fn as_release_set_context(release: *mut AsRelease, context: *mut AsContext);
    pub fn as_release_set_date(release: *mut AsRelease, date: *const c_char);
    pub fn as_release_set_date_eol(release: *mut AsRelease, date: *const c_char);
    pub fn as_release_set_description(
        release: *mut AsRelease,
        description: *const c_char,
        locale: *const c_char,
    );
    pub fn as_release_set_kind(release: *mut AsRelease, kind: AsReleaseKind);
    pub fn as_release_set_timestamp(release: *mut AsRelease, timestamp: u64);
    pub fn as_release_set_timestamp_eol(release: *mut AsRelease, timestamp: u64);
    pub fn as_release_set_urgency(release: *mut AsRelease, urgency: AsUrgencyKind);
    pub fn as_release_set_url(
        release: *mut AsRelease,
        url_kind: AsReleaseUrlKind,
        url: *const c_char,
    );
    pub fn as_release_set_version(release: *mut AsRelease, version: *const c_char);
    pub fn as_release_vercmp(rel1: *mut AsRelease, rel2: *mut AsRelease) -> c_int;

    //=========================================================================
    // AsReleaseList
    //=========================================================================
    pub fn as_release_list_get_type() -> GType;
    pub fn as_release_list_new() -> *mut AsReleaseList;
    pub fn as_release_list_add(rels: *mut AsReleaseList, release: *mut AsRelease);
    pub fn as_release_list_clear(rels: *mut AsReleaseList);
    pub fn as_release_list_get_context(rels: *mut AsReleaseList) -> *mut AsContext;
    pub fn as_release_list_get_entries(rels: *mut AsReleaseList) -> *mut glib::GPtrArray;
    pub fn as_release_list_get_kind(rels: *mut AsReleaseList) -> AsReleaseListKind;
    pub fn as_release_list_get_size(rels: *mut AsReleaseList) -> c_uint;
    pub fn as_release_list_get_url(rels: *mut AsReleaseList) -> *const c_char;
    pub fn as_release_list_index_safe(rels: *mut AsReleaseList, index: c_uint) -> *mut AsRelease;
    pub fn as_release_list_is_empty(rels: *mut AsReleaseList) -> gboolean;
    pub fn as_release_list_load_from_bytes(
        rels: *mut AsReleaseList,
        context: *mut AsContext,
        bytes: *mut glib::GBytes,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_release_list_set_context(rels: *mut AsReleaseList, context: *mut AsContext);
    pub fn as_release_list_set_kind(rels: *mut AsReleaseList, kind: AsReleaseListKind);
    pub fn as_release_list_set_size(rels: *mut AsReleaseList, size: c_uint);
    pub fn as_release_list_set_url(rels: *mut AsReleaseList, url: *const c_char);
    pub fn as_release_list_sort(rels: *mut AsReleaseList);

    //=========================================================================
    // AsReview
    //=========================================================================
    pub fn as_review_get_type() -> GType;
    pub fn as_review_new() -> *mut AsReview;
    pub fn as_review_add_flags(review: *mut AsReview, flags: AsReviewFlags);
    pub fn as_review_add_metadata(review: *mut AsReview, key: *const c_char, value: *const c_char);
    pub fn as_review_equal(review1: *mut AsReview, review2: *mut AsReview) -> gboolean;
    pub fn as_review_get_date(review: *mut AsReview) -> *mut glib::GDateTime;
    pub fn as_review_get_description(review: *mut AsReview) -> *const c_char;
    pub fn as_review_get_flags(review: *mut AsReview) -> AsReviewFlags;
    pub fn as_review_get_id(review: *mut AsReview) -> *const c_char;
    pub fn as_review_get_locale(review: *mut AsReview) -> *const c_char;
    pub fn as_review_get_metadata_item(review: *mut AsReview, key: *const c_char) -> *const c_char;
    pub fn as_review_get_priority(review: *mut AsReview) -> c_int;
    pub fn as_review_get_rating(review: *mut AsReview) -> c_int;
    pub fn as_review_get_reviewer_id(review: *mut AsReview) -> *const c_char;
    pub fn as_review_get_reviewer_name(review: *mut AsReview) -> *const c_char;
    pub fn as_review_get_summary(review: *mut AsReview) -> *const c_char;
    pub fn as_review_get_version(review: *mut AsReview) -> *const c_char;
    pub fn as_review_set_date(review: *mut AsReview, date: *mut glib::GDateTime);
    pub fn as_review_set_description(review: *mut AsReview, description: *const c_char);
    pub fn as_review_set_flags(review: *mut AsReview, flags: AsReviewFlags);
    pub fn as_review_set_id(review: *mut AsReview, id: *const c_char);
    pub fn as_review_set_locale(review: *mut AsReview, locale: *const c_char);
    pub fn as_review_set_priority(review: *mut AsReview, priority: c_int);
    pub fn as_review_set_rating(review: *mut AsReview, rating: c_int);
    pub fn as_review_set_reviewer_id(review: *mut AsReview, reviewer_id: *const c_char);
    pub fn as_review_set_reviewer_name(review: *mut AsReview, reviewer_name: *const c_char);
    pub fn as_review_set_summary(review: *mut AsReview, summary: *const c_char);
    pub fn as_review_set_version(review: *mut AsReview, version: *const c_char);

    //=========================================================================
    // AsScreenshot
    //=========================================================================
    pub fn as_screenshot_get_type() -> GType;
    pub fn as_screenshot_new() -> *mut AsScreenshot;
    pub fn as_screenshot_add_image(screenshot: *mut AsScreenshot, image: *mut AsImage);
    pub fn as_screenshot_add_video(screenshot: *mut AsScreenshot, video: *mut AsVideo);
    pub fn as_screenshot_clear_images(screenshot: *mut AsScreenshot);
    pub fn as_screenshot_get_caption(screenshot: *mut AsScreenshot) -> *const c_char;
    pub fn as_screenshot_get_context(screenshot: *mut AsScreenshot) -> *mut AsContext;
    pub fn as_screenshot_get_environment(screenshot: *mut AsScreenshot) -> *const c_char;
    pub fn as_screenshot_get_image(
        screenshot: *mut AsScreenshot,
        width: c_uint,
        height: c_uint,
        scale: c_uint,
    ) -> *mut AsImage;
    pub fn as_screenshot_get_images(screenshot: *mut AsScreenshot) -> *mut glib::GPtrArray;
    pub fn as_screenshot_get_images_all(screenshot: *mut AsScreenshot) -> *mut glib::GPtrArray;
    pub fn as_screenshot_get_kind(screenshot: *mut AsScreenshot) -> AsScreenshotKind;
    pub fn as_screenshot_get_media_kind(screenshot: *mut AsScreenshot) -> AsScreenshotMediaKind;
    pub fn as_screenshot_get_videos(screenshot: *mut AsScreenshot) -> *mut glib::GPtrArray;
    pub fn as_screenshot_get_videos_all(screenshot: *mut AsScreenshot) -> *mut glib::GPtrArray;
    pub fn as_screenshot_is_valid(screenshot: *mut AsScreenshot) -> gboolean;
    pub fn as_screenshot_set_caption(
        screenshot: *mut AsScreenshot,
        caption: *const c_char,
        locale: *const c_char,
    );
    pub fn as_screenshot_set_context(screenshot: *mut AsScreenshot, context: *mut AsContext);
    pub fn as_screenshot_set_environment(screenshot: *mut AsScreenshot, env_id: *const c_char);
    pub fn as_screenshot_set_kind(screenshot: *mut AsScreenshot, kind: AsScreenshotKind);

    //=========================================================================
    // AsSuggested
    //=========================================================================
    pub fn as_suggested_get_type() -> GType;
    pub fn as_suggested_new() -> *mut AsSuggested;
    pub fn as_suggested_add_id(suggested: *mut AsSuggested, cid: *const c_char);
    pub fn as_suggested_get_ids(suggested: *mut AsSuggested) -> *mut glib::GPtrArray;
    pub fn as_suggested_get_kind(suggested: *mut AsSuggested) -> AsSuggestedKind;
    pub fn as_suggested_is_valid(suggested: *mut AsSuggested) -> gboolean;
    pub fn as_suggested_set_kind(suggested: *mut AsSuggested, kind: AsSuggestedKind);

    //=========================================================================
    // AsSystemInfo
    //=========================================================================
    pub fn as_system_info_get_type() -> GType;
    pub fn as_system_info_new() -> *mut AsSystemInfo;
    pub fn as_system_info_new_template_for_chassis(
        chassis: AsChassisKind,
        error: *mut *mut glib::GError,
    ) -> *mut AsSystemInfo;
    pub fn as_system_info_get_device_name_for_modalias(
        sysinfo: *mut AsSystemInfo,
        modalias: *const c_char,
        allow_fallback: gboolean,
        error: *mut *mut glib::GError,
    ) -> *mut c_char;
    pub fn as_system_info_get_display_length(
        sysinfo: *mut AsSystemInfo,
        side: AsDisplaySideKind,
    ) -> c_ulong;
    pub fn as_system_info_get_gui_available(sysinfo: *mut AsSystemInfo) -> gboolean;
    pub fn as_system_info_get_kernel_name(sysinfo: *mut AsSystemInfo) -> *const c_char;
    pub fn as_system_info_get_kernel_version(sysinfo: *mut AsSystemInfo) -> *const c_char;
    pub fn as_system_info_get_memory_total(sysinfo: *mut AsSystemInfo) -> c_ulong;
    pub fn as_system_info_get_modaliases(sysinfo: *mut AsSystemInfo) -> *mut glib::GPtrArray;
    pub fn as_system_info_get_os_cid(sysinfo: *mut AsSystemInfo) -> *const c_char;
    pub fn as_system_info_get_os_homepage(sysinfo: *mut AsSystemInfo) -> *const c_char;
    pub fn as_system_info_get_os_id(sysinfo: *mut AsSystemInfo) -> *const c_char;
    pub fn as_system_info_get_os_name(sysinfo: *mut AsSystemInfo) -> *const c_char;
    pub fn as_system_info_get_os_version(sysinfo: *mut AsSystemInfo) -> *const c_char;
    pub fn as_system_info_has_device_matching_modalias(
        sysinfo: *mut AsSystemInfo,
        modalias_glob: *const c_char,
    ) -> gboolean;
    pub fn as_system_info_has_input_control(
        sysinfo: *mut AsSystemInfo,
        kind: AsControlKind,
        error: *mut *mut glib::GError,
    ) -> AsCheckResult;
    pub fn as_system_info_modalias_to_syspath(
        sysinfo: *mut AsSystemInfo,
        modalias: *const c_char,
    ) -> *const c_char;
    pub fn as_system_info_set_display_length(
        sysinfo: *mut AsSystemInfo,
        side: AsDisplaySideKind,
        value_dip: c_ulong,
    );
    pub fn as_system_info_set_gui_available(sysinfo: *mut AsSystemInfo, available: gboolean);
    pub fn as_system_info_set_input_control(
        sysinfo: *mut AsSystemInfo,
        kind: AsControlKind,
        found: gboolean,
    );

    //=========================================================================
    // AsTranslation
    //=========================================================================
    pub fn as_translation_get_type() -> GType;
    pub fn as_translation_new() -> *mut AsTranslation;
    pub fn as_translation_get_id(tr: *mut AsTranslation) -> *const c_char;
    pub fn as_translation_get_kind(tr: *mut AsTranslation) -> AsTranslationKind;
    pub fn as_translation_get_source_locale(tr: *mut AsTranslation) -> *const c_char;
    pub fn as_translation_set_id(tr: *mut AsTranslation, id: *const c_char);
    pub fn as_translation_set_kind(tr: *mut AsTranslation, kind: AsTranslationKind);
    pub fn as_translation_set_source_locale(tr: *mut AsTranslation, locale: *const c_char);

    //=========================================================================
    // AsValidator
    //=========================================================================
    pub fn as_validator_get_type() -> GType;
    pub fn as_validator_new() -> *mut AsValidator;
    pub fn as_validator_add_override(
        validator: *mut AsValidator,
        tag: *const c_char,
        severity_override: AsIssueSeverity,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_validator_add_release_bytes(
        validator: *mut AsValidator,
        release_fname: *const c_char,
        release_metadata: *mut glib::GBytes,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_validator_add_release_file(
        validator: *mut AsValidator,
        release_file: *mut gio::GFile,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_validator_check_success(validator: *mut AsValidator) -> gboolean;
    pub fn as_validator_clear_release_data(validator: *mut AsValidator);
    pub fn as_validator_get_allow_net(validator: *mut AsValidator) -> gboolean;
    pub fn as_validator_get_issue_files_count(validator: *mut AsValidator) -> c_uint;
    pub fn as_validator_get_issues(validator: *mut AsValidator) -> *mut glib::GList;
    pub fn as_validator_get_issues_per_file(validator: *mut AsValidator) -> *mut glib::GHashTable;
    pub fn as_validator_get_report_yaml(
        validator: *mut AsValidator,
        error: *mut *mut glib::GError,
    ) -> *mut c_char;
    pub fn as_validator_get_strict(validator: *mut AsValidator) -> gboolean;
    pub fn as_validator_get_tag_explanation(
        validator: *mut AsValidator,
        tag: *const c_char,
    ) -> *const c_char;
    pub fn as_validator_get_tag_severity(
        validator: *mut AsValidator,
        tag: *const c_char,
    ) -> AsIssueSeverity;
    pub fn as_validator_get_tags(validator: *mut AsValidator) -> *mut *mut c_char;
    pub fn as_validator_set_allow_net(validator: *mut AsValidator, value: gboolean);
    pub fn as_validator_set_strict(validator: *mut AsValidator, is_strict: gboolean);
    pub fn as_validator_validate_bytes(
        validator: *mut AsValidator,
        metadata: *mut glib::GBytes,
    ) -> gboolean;
    pub fn as_validator_validate_data(
        validator: *mut AsValidator,
        metadata: *const c_char,
    ) -> gboolean;
    pub fn as_validator_validate_file(
        validator: *mut AsValidator,
        metadata_file: *mut gio::GFile,
    ) -> gboolean;
    pub fn as_validator_validate_tree(
        validator: *mut AsValidator,
        root_dir: *const c_char,
    ) -> gboolean;

    //=========================================================================
    // AsValidatorIssue
    //=========================================================================
    pub fn as_validator_issue_get_type() -> GType;
    pub fn as_validator_issue_new() -> *mut AsValidatorIssue;
    pub fn as_validator_issue_get_cid(issue: *mut AsValidatorIssue) -> *const c_char;
    pub fn as_validator_issue_get_explanation(issue: *mut AsValidatorIssue) -> *const c_char;
    pub fn as_validator_issue_get_filename(issue: *mut AsValidatorIssue) -> *const c_char;
    pub fn as_validator_issue_get_hint(issue: *mut AsValidatorIssue) -> *const c_char;
    pub fn as_validator_issue_get_line(issue: *mut AsValidatorIssue) -> c_long;
    pub fn as_validator_issue_get_location(issue: *mut AsValidatorIssue) -> *mut c_char;
    pub fn as_validator_issue_get_severity(issue: *mut AsValidatorIssue) -> AsIssueSeverity;
    pub fn as_validator_issue_get_tag(issue: *mut AsValidatorIssue) -> *const c_char;
    pub fn as_validator_issue_set_cid(issue: *mut AsValidatorIssue, cid: *const c_char);
    pub fn as_validator_issue_set_explanation(
        issue: *mut AsValidatorIssue,
        explanation: *const c_char,
    );
    pub fn as_validator_issue_set_filename(issue: *mut AsValidatorIssue, fname: *const c_char);
    pub fn as_validator_issue_set_hint(issue: *mut AsValidatorIssue, hint: *const c_char);
    pub fn as_validator_issue_set_line(issue: *mut AsValidatorIssue, line: c_long);
    pub fn as_validator_issue_set_severity(issue: *mut AsValidatorIssue, severity: AsIssueSeverity);
    pub fn as_validator_issue_set_tag(issue: *mut AsValidatorIssue, tag: *const c_char);

    //=========================================================================
    // AsVideo
    //=========================================================================
    pub fn as_video_get_type() -> GType;
    pub fn as_video_new() -> *mut AsVideo;
    pub fn as_video_get_codec_kind(video: *mut AsVideo) -> AsVideoCodecKind;
    pub fn as_video_get_container_kind(video: *mut AsVideo) -> AsVideoContainerKind;
    pub fn as_video_get_height(video: *mut AsVideo) -> c_uint;
    pub fn as_video_get_locale(video: *mut AsVideo) -> *const c_char;
    pub fn as_video_get_url(video: *mut AsVideo) -> *const c_char;
    pub fn as_video_get_width(video: *mut AsVideo) -> c_uint;
    pub fn as_video_set_codec_kind(video: *mut AsVideo, kind: AsVideoCodecKind);
    pub fn as_video_set_container_kind(video: *mut AsVideo, kind: AsVideoContainerKind);
    pub fn as_video_set_height(video: *mut AsVideo, height: c_uint);
    pub fn as_video_set_locale(video: *mut AsVideo, locale: *const c_char);
    pub fn as_video_set_url(video: *mut AsVideo, url: *const c_char);
    pub fn as_video_set_width(video: *mut AsVideo, width: c_uint);

    //=========================================================================
    // Other functions
    //=========================================================================
    pub fn as_get_current_distro_component_id() -> *mut c_char;
    pub fn as_get_default_categories(with_special: gboolean) -> *mut glib::GPtrArray;
    pub fn as_get_default_categories_gi(with_special: gboolean) -> *mut glib::GPtrArray;
    pub fn as_get_license_name(license: *const c_char) -> *mut c_char;
    pub fn as_get_license_url(license: *const c_char) -> *mut c_char;
    pub fn as_gstring_replace(
        string: *mut glib::GString,
        find: *const c_char,
        replace: *const c_char,
        limit: c_uint,
    ) -> c_uint;
    pub fn as_is_spdx_license_exception_id(exception_id: *const c_char) -> gboolean;
    pub fn as_is_spdx_license_expression(license: *const c_char) -> gboolean;
    pub fn as_is_spdx_license_id(license_id: *const c_char) -> gboolean;
    pub fn as_license_is_free_license(license: *const c_char) -> gboolean;
    pub fn as_license_is_metadata_license(license: *const c_char) -> gboolean;
    pub fn as_license_is_metadata_license_id(license_id: *const c_char) -> gboolean;
    pub fn as_license_to_spdx_id(license: *const c_char) -> *mut c_char;
    pub fn as_markup_convert(
        markup: *const c_char,
        to_kind: AsMarkupKind,
        error: *mut *mut glib::GError,
    ) -> *mut c_char;
    pub fn as_markup_strsplit_words(text: *const c_char, line_len: c_uint) -> *mut *mut c_char;
    pub fn as_spdx_license_detokenize(license_tokens: *mut *mut c_char) -> *mut c_char;
    pub fn as_spdx_license_tokenize(license: *const c_char) -> *mut *mut c_char;
    pub fn as_utils_build_data_id(
        scope: AsComponentScope,
        bundle_kind: AsBundleKind,
        origin: *const c_char,
        cid: *const c_char,
        branch: *const c_char,
    ) -> *mut c_char;
    pub fn as_utils_data_id_equal(data_id1: *const c_char, data_id2: *const c_char) -> gboolean;
    pub fn as_utils_data_id_get_cid(data_id: *const c_char) -> *mut c_char;
    pub fn as_utils_data_id_hash(data_id: *const c_char) -> c_uint;
    pub fn as_utils_data_id_match(
        data_id1: *const c_char,
        data_id2: *const c_char,
        match_flags: AsDataIdMatchFlags,
    ) -> gboolean;
    pub fn as_utils_data_id_valid(data_id: *const c_char) -> gboolean;
    pub fn as_utils_get_desktop_environment_name(de_id: *const c_char) -> *const c_char;
    pub fn as_utils_get_gui_environment_style_name(env_style: *const c_char) -> *const c_char;
    pub fn as_utils_get_tag_search_weight(tag_name: *const c_char) -> u16;
    pub fn as_utils_guess_scope_from_path(path: *const c_char) -> AsComponentScope;
    pub fn as_utils_install_metadata_file(
        location: AsMetadataLocation,
        filename: *const c_char,
        origin: *const c_char,
        destdir: *const c_char,
        error: *mut *mut glib::GError,
    ) -> gboolean;
    pub fn as_utils_is_category_name(category_name: *const c_char) -> gboolean;
    pub fn as_utils_is_desktop_environment(de_id: *const c_char) -> gboolean;
    pub fn as_utils_is_gui_environment_style(env_style: *const c_char) -> gboolean;
    pub fn as_utils_is_platform_triplet(triplet: *const c_char) -> gboolean;
    pub fn as_utils_is_tld(tld: *const c_char) -> gboolean;
    pub fn as_utils_locale_is_compatible(
        locale1: *const c_char,
        locale2: *const c_char,
    ) -> gboolean;
    pub fn as_utils_posix_locale_to_bcp47(locale: *const c_char) -> *mut c_char;
    pub fn as_utils_sort_components_into_categories(
        cpts: *mut glib::GPtrArray,
        categories: *mut glib::GPtrArray,
        check_duplicates: gboolean,
    );
    pub fn as_vercmp(a: *const c_char, b: *const c_char, flags: AsVercmpFlags) -> c_int;
    pub fn as_vercmp_simple(a: *const c_char, b: *const c_char) -> c_int;
    pub fn as_vercmp_test_match(
        ver1: *const c_char,
        compare: AsRelationCompare,
        ver2: *const c_char,
        flags: AsVercmpFlags,
    ) -> gboolean;
    pub fn as_version_string() -> *const c_char;

}