This file is indexed.

/usr/include/openscap/xccdf_benchmark.h is in libopenscap-dev 1.2.9-1+b2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
/**
 * @addtogroup XCCDF
 * @{
 *
 * @file xccdf_benchmark.h
 * Open-scap XCCDF library interface.
 * @author Lukas Kuklinek <lkuklinek@redhat.com>
 */

/*
 * Copyright 2009--2014 Red Hat Inc., Durham, North Carolina.
 * Copyright (C) 2010 Tresys Technology, LLC
 * All Rights Reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * Authors:
 *      Lukas Kuklinek <lkuklinek@redhat.com>
 *      Josh Adams <jadams@tresys.com>
 */

#ifndef XCCDF_H_
#define XCCDF_H_

#include <stdbool.h>
#include <time.h>
#include <oscap_reference.h>
#include <oscap_source.h>
#include <oscap.h>
#include "cpe_dict.h"

/*--------------------*\
|     Enumerations     |
\*--------------------*/

/**
 * Type of an XCCDF object.
 *
 * When checking the type, you can use either operator == for type equivalence,
 * or operator &amp; to take a type inheriritance hierarchy into account.
 * For example, XCCDF_ITEM & XCCDF_RULE evaluates to true,
 * as the rule type is a subclass of the xccdf item type.
 */
typedef enum {
	XCCDF_BENCHMARK = 0x0100,	///< Type constant for xccdf_benchmark
	XCCDF_PROFILE = 0x0200,	        ///< Type constant for xccdf_profile
	XCCDF_RESULT = 0x0400,	        ///< Type constant for xccdf_result
	XCCDF_RULE = 0x1000,	        ///< Type constant for xccdf_rule
	XCCDF_GROUP = 0x2000,	        ///< Type constant for xccdf_group
	XCCDF_VALUE = 0x4000,	        ///< Type constant for xccdf_value

	/// Represents selectable items, i.e. rules and groups (see xccdf_item)
	XCCDF_CONTENT = XCCDF_RULE | XCCDF_GROUP,
	/// Represents items as described in the XCCDF documentation (see xccdf_item)
	XCCDF_ITEM = XCCDF_RULE | XCCDF_GROUP | XCCDF_VALUE,
	/// Represents an object, profile, result or whole benchmark (see xccdf_item)
	XCCDF_OBJECT = XCCDF_ITEM | XCCDF_PROFILE | XCCDF_BENCHMARK | XCCDF_RESULT,
} xccdf_type_t;

/// Interface hint.
typedef enum {
	XCCDF_IFACE_HINT_NONE,	        ///< No interface hint
	XCCDF_IFACE_HINT_CHOICE,	///< Choice from multiple values.
	XCCDF_IFACE_HINT_TEXTLINE,	///< Text line input widget.
	XCCDF_IFACE_HINT_TEXT,	        ///< Textarea.
	XCCDF_IFACE_HINT_DATE,	        ///< Date selection widget.
	XCCDF_IFACE_HINT_DATETIME,	///< Date and time selection widget.
} xccdf_interface_hint_t;

/// Status of an XCCDF item.
typedef enum {
	XCCDF_STATUS_NOT_SPECIFIED,	///< Status was not specified by benchmark.
	XCCDF_STATUS_ACCEPTED,	        ///< Accepted.
	XCCDF_STATUS_DEPRECATED,	///< Deprecated.
	XCCDF_STATUS_DRAFT,	        ///< Draft item.
	XCCDF_STATUS_INCOMPLETE,	///< The item is not complete.
	XCCDF_STATUS_INTERIM	        ///< Interim.
} xccdf_status_type_t;

/// Type of an xccdf_value.
typedef enum {
	XCCDF_TYPE_NUMBER = 1,	        ///< Integer.
	XCCDF_TYPE_STRING,	        ///< String.
	XCCDF_TYPE_BOOLEAN,	        ///< Boolean.
} xccdf_value_type_t;

/// Operator to be applied on an xccdf_value.
typedef enum {
	XCCDF_OPERATOR_EQUALS = 1,	///< Equality.
	XCCDF_OPERATOR_NOT_EQUAL,	///< Inequality.
	XCCDF_OPERATOR_GREATER,	        ///< Greater than.
	XCCDF_OPERATOR_GREATER_EQUAL,	///< Greater than or equal.
	XCCDF_OPERATOR_LESS,	        ///< Less than.
	XCCDF_OPERATOR_LESS_EQUAL,	///< Less than or equal.
	XCCDF_OPERATOR_PATTERN_MATCH	///< Match a regular expression.
} xccdf_operator_t;

/// Boolean operators for logical expressions
typedef enum {
	XCCDF_OPERATOR_AND = 0x0002,	///< Logical and.
	XCCDF_OPERATOR_OR = 0x0003,	///< Logical or.
} xccdf_bool_operator_t;

/// XCCDF error, complexity, disruption, or severity level
typedef enum {
	XCCDF_LEVEL_NOT_DEFINED = 0,
	XCCDF_UNKNOWN = 1,	        ///< Unknown.
	XCCDF_INFO,		        ///< Info.
	XCCDF_LOW,		        ///< Low.
	XCCDF_MEDIUM,		        ///< Medium.
	XCCDF_HIGH		        ///< High.
} xccdf_level_t;

/// Severity of an xccdf_message.
typedef enum {
	XCCDF_MSG_INFO = XCCDF_INFO,	///< Info.
	XCCDF_MSG_WARNING = XCCDF_LOW,	///< Warning.
	XCCDF_MSG_ERROR = XCCDF_HIGH,	///< Error
} xccdf_message_severity_t;

/// XCCDF role.
typedef enum {
	XCCDF_ROLE_FULL = 1,	        ///< Check the rule and let the result contriburte to the score and appear in reports
	XCCDF_ROLE_UNSCORED,	        ///< Check the rule and include the result in reports, but do not include it into score computations
	XCCDF_ROLE_UNCHECKED	        ///< Don't check the rule, result will be XCCDF_RESULT_UNKNOWN
} xccdf_role_t;

/// Category of xccdf_warning.
typedef enum {
        XCCDF_WARNING_NOT_SPECIFIED,
	XCCDF_WARNING_GENERAL = 1,	///< General-purpose warning
	XCCDF_WARNING_FUNCTIONALITY,	///< Warning about possible impacts to functionality
	XCCDF_WARNING_PERFORMANCE,	///< Warning about changes to target system performance
	XCCDF_WARNING_HARDWARE,	        ///< Warning about hardware restrictions or possible impacts to hardware
	XCCDF_WARNING_LEGAL,	        ///< Warning about legal implications
	XCCDF_WARNING_REGULATORY,	///< Warning about regulatory obligations
	XCCDF_WARNING_MANAGEMENT,	///< Warning about impacts to the mgmt or administration of the target system
	XCCDF_WARNING_AUDIT,	        ///< Warning about impacts to audit or logging
	XCCDF_WARNING_DEPENDENCY	///< Warning about dependencies between this Rule and other parts of the target system
} xccdf_warning_category_t;

/// Fix strategy type
typedef enum {
	XCCDF_STRATEGY_UNKNOWN = 0,	///< Strategy not defined
	XCCDF_STRATEGY_CONFIGURE,	///< Adjust target config or settings
	XCCDF_STRATEGY_DISABLE,	        ///< Turn off or deinstall something
	XCCDF_STRATEGY_ENABLE,	        ///< Turn on or install something
	XCCDF_STRATEGY_PATCH,	        ///< Apply a patch, hotfix, or update
	XCCDF_STRATEGY_POLICY,	        ///< Remediation by changing policies/procedures
	XCCDF_STRATEGY_RESTRICT,	///< Adjust permissions or ACLs
	XCCDF_STRATEGY_UPDATE,	        ///< Install upgrade or update the system
	XCCDF_STRATEGY_COMBINATION	///< Combo of two or more of the above
} xccdf_strategy_t;

/// Test result
typedef enum {
	XCCDF_RESULT_PASS = 1,	        ///< The test passed
	XCCDF_RESULT_FAIL,	        ///< The test failed
	XCCDF_RESULT_ERROR,	        ///< An error occurred and test could not complete
	XCCDF_RESULT_UNKNOWN,	        ///< Could not tell what happened
	XCCDF_RESULT_NOT_APPLICABLE,	///< Rule did not apply to test target
	XCCDF_RESULT_NOT_CHECKED,	///< Rule did not cause any evaluation by the checking engine
	XCCDF_RESULT_NOT_SELECTED,	///< Rule was not selected in the @link xccdf_benchmark Benchmark@endlink
	XCCDF_RESULT_INFORMATIONAL,	///< Rule was evaluated by the checking engine, but isn't to be scored
	XCCDF_RESULT_FIXED	        ///< Rule failed, but was later fixed
} xccdf_test_result_type_t;

/*--------------------*\
|       Typedefs       |
\*--------------------*/

/**
 * Type of a numerical content for a XCCDF value.
 */
typedef float xccdf_numeric;

/** 
 * @struct xccdf_benchmark
 * Top level XCCDF structure containing profiles, rules, values and results.
 */
struct xccdf_benchmark;

/** 
 * @struct xccdf_profile
 * XCCDF profile is a set of tests and their settings in a compact package
 */
struct xccdf_profile;

/** 
 * @struct xccdf_item
 * A base class for XCCDF items.
 */
struct xccdf_item;

/** 
 * @struct xccdf_rule
 * XCCDF rule defines a test execution. Groups are in this module as well.
 */
struct xccdf_rule;

/** 
 * @struct xccdf_group
 * XCCDF rule group.
 */
struct xccdf_group;

/** 
 * @struct xccdf_value
 * XCCDF Value allows test parametrization or capturing output of tests.
 */
struct xccdf_value;

/** 
 * @struct xccdf_result
 * Actual results of running a XCCDF test or profile.
 */
struct xccdf_result;

/**
 * @struct xccdf_tailoring
 * Stores content from xccdf:Tailoring element which can be loaded from
 * a separate file.
 */
struct xccdf_tailoring;

/*--------------------*\
|  Support structures  |
\*--------------------*/

/**
 * @struct xccdf_notice
 * XCCDF benchmark legal notice.
 */
struct xccdf_notice;

/**
 * @struct xccdf_status
 * XCCDF item status.
 */
struct xccdf_status;

/**
 * @struct xccdf_model
 * XCCDF scoring model.
 */
struct xccdf_model;

/**
 * @struct xccdf_warning
 * XCCDF warning.
 */
struct xccdf_warning;

/**
 * @struct xccdf_select
 * XCCDF select option usen in the profile.
 */
struct xccdf_select;

/**
 * @struct xccdf_setvalue
 * XCCDF set value option used in the profile.
 */
struct xccdf_setvalue;

/**
 * @struct xccdf_refine_value
 * XCCDF refine value option used in the profile.
 */
struct xccdf_refine_value;

/**
 * @struct xccdf_refine_rule
 * XCCDF refine rule option used in the profile.
 */
struct xccdf_refine_rule;

/**
 * @struct xccdf_ident
 * XCCDF rule ident URI.
 */
struct xccdf_ident;

/**
 * @struct xccdf_check
 * XCCDF simple or complex check.
 */
struct xccdf_check;
/**
 * @struct xccdf_check_content_ref
 * XCCDF check content reference.
 */
struct xccdf_check_content_ref;

/**
 * @struct xccdf_profile_note
 * XCCDF note for given rule in context of given profile.
 */
struct xccdf_profile_note;

/**
 * @struct xccdf_check_import
 * XCCDF check import.
 * @see xccdf_check
 */
struct xccdf_check_import;

/**
 * @struct xccdf_check_export
 * XCCDF check export.
 * @see xccdf_check
 */
struct xccdf_check_export;

/**
 * @struct xccdf_fix
 * XCCDF automatic fix.
 * @see xccdf_rule
 */
struct xccdf_fix;

/**
 * @struct xccdf_fixtext
 * XCCDF textual fix instructions.
 * @see xccdf_rule
 */
struct xccdf_fixtext;

/**
 * &struct xccdf_value_instance
 * XCCDF value instance.
 *
 * Represents single value (i.e. value properties tied to given selector)
 * @see xccdf_value
 */
struct xccdf_value_instance;

/**
 * @struct xccdf_identity
 * XCCDF identity.
 * @see xccdf_result
 */
struct xccdf_identity;

/**
 * @struct xccdf_instance
 * XCCDF instance.
 * @see xccdf_rule_result
 */
struct xccdf_instance;

/**
 * @struct xccdf_message
 * XCCDF message.
 * @see xccdf_rule_result
 */
struct xccdf_message;

/**
 * @struct xccdf_override
 * XCCDF override.
 * @see xccdf_rule_result
 */
struct xccdf_override;

/**
 * @struct xccdf_rule_result
 * XCCDF rule result.
 * @see xccdf_result
 */
struct xccdf_rule_result;

/**
 * @struct xccdf_score
 * XCCDF score.
 * @see xccdf_result
 */
struct xccdf_score;

/**
 * @struct xccdf_target_fact
 * XCCDF target fact.
 * @see xccdf_result
 */
struct xccdf_target_fact;

/**
 * @struct xccdf_target_identifier
 * Can be either <target-id-ref> or some other element.
 * @see xccdf_result
 * @note XCCDF 1.2+ only
 */
struct xccdf_target_identifier;

/**
 * @struct xccdf_plain_text
 * XCCDF target fact.
 * @see xccdf_result
 */
struct xccdf_plain_text;

/**
 * @struct xccdf_item_iterator
 * String iterator.
 * @see oscap_iterator
 */
struct xccdf_item_iterator;

/**
 * @struct xccdf_notice_iterator
 * Notice iterator.
 * @see oscap_iterator
 */
struct xccdf_notice_iterator;

/**
 * @struct xccdf_status_iterator
 * Status iterator.
 * @see oscap_iterator
 */
struct xccdf_status_iterator;

/**
 * @struct xccdf_identity_iterator
 * Reference iterator.
 * @see oscap_iterator
 */
struct xccdf_identity_iterator;

/**
 * @struct xccdf_model_iterator
 * Model iterator.
 * @see oscap_iterator
 */
struct xccdf_model_iterator;

/**
 * @struct xccdf_result_iterator
 * Result iterator.
 * @see oscap_iterator
 */
struct xccdf_result_iterator;

/**
 * @struct xccdf_profile_iterator
 * Profile iterator.
 * @see oscap_iterator
 */
struct xccdf_profile_iterator;

/**
 * @struct xccdf_select_iterator
 * Select iterator.
 * @see oscap_iterator
 */
struct xccdf_select_iterator;

/**
 * @struct xccdf_value_iterator
 * Select iterator.
 * @see oscap_iterator
 */
struct xccdf_value_iterator;

/**
 * @struct xccdf_setvalue_iterator
 * Set value iterator.
 * @see oscap_iterator
 */
struct xccdf_setvalue_iterator;

/** @struct xccdf_refine_value_iterator
 * Refine value iterator.
 * @see oscap_iterator
 */
struct xccdf_refine_value_iterator;

/**
 * @struct xccdf_refine_rule_iterator
 * Refine rule iterator.
 * @see oscap_iterator
 */
struct xccdf_refine_rule_iterator;

/**
 * @struct xccdf_ident_iterator
 * Ident iterator.
 * @see oscap_iterator
 */
struct xccdf_ident_iterator;

/**
 * @struct xccdf_check_iterator
 * Check iterator.
 * @see oscap_iterator
 */
struct xccdf_check_iterator;

/**
 * @struct xccdf_profile_note_iterator
 * Profile note iterator.
 * @see oscap_iterator
 */
struct xccdf_profile_note_iterator;

/**
 * @struct xccdf_fixtext_iterator
 * Textual fix iterator.
 * @see oscap_iterator
 */
struct xccdf_fixtext_iterator;

/**
 * @struct xccdf_check_content_ref_iterator
 * Check content references iterator.
 * @see oscap_iterator
 */
struct xccdf_check_content_ref_iterator;

/**
 * @struct xccdf_check_import_iterator
 * Check import iterator.
 * @see oscap_iterator
 */
struct xccdf_check_import_iterator;

/**
 * @struct xccdf_fix_iterator
 * Fix iterator.
 * @see oscap_iterator
 */
struct xccdf_fix_iterator;

/**
 * @struct xccdf_check_export_iterator
 * Check export iterator.
 * @see oscap_iterator
 */
struct xccdf_check_export_iterator;

/**
 * @struct xccdf_warning_iterator
 * Warning iterator.
 * @see oscap_iterator
 */
struct xccdf_warning_iterator;

/**
 * @struct xccdf_instance_iterator
 * Instance iterator.
 * @see oscap_iterator
 */
struct xccdf_instance_iterator;

/**
 * @struct xccdf_message_iterator
 * Message iterator.
 * @see oscap_iterator
 */
struct xccdf_message_iterator;

/**
 * @struct xccdf_override_iterator
 * Override iterator.
 * @see oscap_iterator
 */
struct xccdf_override_iterator;

/**
 * @struct xccdf_rule_result_iterator
 * Override iterator.
 * @see oscap_iterator
 */
struct xccdf_rule_result_iterator;

/**
 * @struct xccdf_value_instance_iterator
 * Value instance iterator.
 * @see oscap_iterator
 */
struct xccdf_value_instance_iterator;

/**
 * @struct xccdf_score_iterator
 * Override iterator.
 * @see oscap_iterator
 */
struct xccdf_score_iterator;

/**
 * @struct xccdf_target_fact_iterator
 * Override iterator.
 * @see oscap_iterator
 */
struct xccdf_target_fact_iterator;

/**
 * @struct xccdf_target_identifier_iterator
 * Override iterator.
 * @see oscap_iterator
 */
struct xccdf_target_identifier_iterator;

/**
 * @struct xccdf_plain_text_iterator
 * Plain text iterator.
 * @see oscap_iterator
 */
struct xccdf_plain_text_iterator;

/**
 * Groups info about XCCDF spec versions, namespace, CPE version, etc...
 */
struct xccdf_version_info;

/// @memberof xccdf_version_info
const char* xccdf_version_info_get_version(const struct xccdf_version_info* v);
/// @memberof xccdf_version_info
const char* xccdf_version_info_get_namespace_uri(const struct xccdf_version_info* v);
/// @memberof xccdf_version_info
const char* xccdf_version_info_get_cpe_version(const struct xccdf_version_info* v);

/**
 * Starts parsing given XCCDF benchmark file to detect its version,
 * stops as soon as the version is found. Returned string should be
 * freed by caller. Return NULL if error occur.
 * @memberof xccdf_benchmark
 * @deprecated This function has been deprecated by @ref oscap_source_get_schema_version.
 * This function may be dropped from later versions of the library.
 */
OSCAP_DEPRECATED(char * xccdf_detect_version(const char* file));

/************************************************************/

/// @memberof xccdf_item
void xccdf_item_free(struct xccdf_item *item);

/// @memberof xccdf_item
struct xccdf_item * xccdf_item_clone(const struct xccdf_item * old_item);

/**
 * Convert the item to a benchmark.
 * @memberof xccdf_item
 * @return Pointer to this item as the benchmark.
 * @retval NULL on faliure (e.g. item is not a benchmark)
 */
struct xccdf_benchmark* xccdf_item_to_benchmark(struct xccdf_item* item);

/**
 * Convert the item to a profile.
 * @memberof xccdf_item
 * @return Pointer to this item as the profile.
 * @retval NULL on faliure (e.g. item is not a profile)
 */
struct xccdf_profile* xccdf_item_to_profile(struct xccdf_item* item);

/**
 * Convert the item to a rule.
 * @memberof xccdf_item
 * @return Pointer to this item as the rule.
 * @retval NULL on faliure (e.g. item is not a rule)
 */
struct xccdf_rule* xccdf_item_to_rule(struct xccdf_item* item);

/**
 * Convert the item to a group.
 * @memberof xccdf_item
 * @return Pointer to this item as the group.
 * @retval NULL on faliure (e.g. item is not a group)
 */
struct xccdf_group* xccdf_item_to_group(struct xccdf_item* item);

/**
 * Convert the item to a value.
 * @memberof xccdf_item
 * @return Pointer to this item as the value.
 * @retval NULL on faliure (e.g. item is not a value)
 */
struct xccdf_value* xccdf_item_to_value(struct xccdf_item* item);

/**
 * Convert the item to a test result.
 * @memberof xccdf_item
 * @return Pointer to this item as the test result.
 * @retval NULL on faliure (e.g. item is not a test result)
 */
struct xccdf_result* xccdf_item_to_result(struct xccdf_item* item);

/**
 * Import the content from a specified XML stream into a benchmark.
 * @memberof xccdf_benchmark
 * @param file filename.
 * @return Pointer to the new benchmark.
 * @retval NULL on failure
 * @deprecated This function has been deprecated by @ref xccdf_benchmark_import_source.
 * This function may be dropped from later versions of the library.
 */
OSCAP_DEPRECATED(struct xccdf_benchmark* xccdf_benchmark_import(const char *file));

/**
 * Import the content from oscap_source into a benchmark
 * @memberof xccdf_benchmark
 * @param source The oscap_source to import from
 * @returns newly created benchmark element or NULL
 */
struct xccdf_benchmark* xccdf_benchmark_import_source(struct oscap_source *source);

/**
 * Export a benchmark to an XML stream
 * @memberof xccdf_benchmark
 * @return Integer
 * @retval -1 if error occurred
 */
int xccdf_benchmark_export(struct xccdf_benchmark *benchmark, const char *file);

/**
 * Import the content of oscap_source into a xccdf_result
 * @memberof xccdf_result
 * @param source The oscap_source to import from
 * @returns newly created test-result element or NULL on error
 */
struct xccdf_result *xccdf_result_import_source(struct oscap_source *source);

/**
 * Collect system info and store it in the TestResult.
 * @memberof xccdf_result
 */
void xccdf_result_fill_sysinfo(struct xccdf_result *result);

/**
 * Export a TestResult to an XML stream
 * @memberof xccdf_result
 * @return Integer
 * @retval -1 if error occurred
 * @deprecated This function has been deprecated by @ref xccdf_benchmark_export_source.
 * This function may be dropped from later versions of the library.
 */
OSCAP_DEPRECATED(int xccdf_result_export(struct xccdf_result *result, const char *file));

/**
 * Export TestResult to oscap_source structure
 * @memberof xccdf_result
 * @returns newly created oscap_source or NULL on error
 */
struct oscap_source *xccdf_result_export_source(struct xccdf_result *result, const char *filepath);

/**
 * Resolve an benchmark.
 * @returns whether the resolving process has been successful
 * @retval true on success
 * @retval false on dependency loop
 */
bool xccdf_benchmark_resolve(struct xccdf_benchmark *benchmark);

/// @memberof xccdf_benchmark
struct xccdf_benchmark *xccdf_benchmark_new(void);
/// @memberof xccdf_benchmark
void xccdf_benchmark_free(struct xccdf_benchmark *benchmark);
/// @memberof xccdf_benchmark
struct xccdf_item *xccdf_benchmark_to_item(struct xccdf_benchmark *item);
/// @memberof xccdf_benchmark
struct xccdf_benchmark * xccdf_benchmark_clone( const struct  xccdf_benchmark * benchmark );

/**
 * Get supported version of XCCDF XML
 * @return version of XML file format
 * @memberof xccdf_benchmark
 */
const char * xccdf_benchmark_supported(void);

/// @memberof xccdf_profile
struct xccdf_profile *xccdf_profile_new(void);
/// @memberof xccdf_profile
void xccdf_profile_free(struct xccdf_item *prof);
/// @memberof xccdf_profile
struct xccdf_item *xccdf_profile_to_item(struct xccdf_profile *item);
/// @memberof xccdf_profile
struct xccdf_profile * xccdf_profile_clone( const struct xccdf_profile * profile);

/// @memberof xccdf_rule
struct xccdf_rule *xccdf_rule_new(void);
/// @memberof xccdf_rule
void xccdf_rule_free(struct xccdf_item *rule);
/// @memberof xccdf_rule
struct xccdf_item *xccdf_rule_to_item(struct xccdf_rule *item);
/// @memberof xccdf_rule
struct xccdf_rule * xccdf_rule_clone(const struct xccdf_rule * rule);

/// @memberof xccdf_group
struct xccdf_group *xccdf_group_new(void);
/// @memberof xccdf_group
void xccdf_group_free(struct xccdf_item *group);
/// @memberof xccdf_group
struct xccdf_item *xccdf_group_to_item(struct xccdf_group *item);
/// @memberof xccdf_group
struct xccdf_group * xccdf_group_clone(const struct xccdf_group * group);

/// @memberof xccdf_value
struct xccdf_value *xccdf_value_new(xccdf_value_type_t type);
/// @memberof xccdf_value
void xccdf_value_free(struct xccdf_item *val);
/// @memberof xccdf_value
struct xccdf_item *xccdf_value_to_item(struct xccdf_value *item);
/// @memberof xccdf_value
struct xccdf_value * xccdf_value_clone(const struct xccdf_value * value);

/// @memberof xccdf_status
struct xccdf_status *xccdf_status_new(void);
/// @memberof xccdf_status
struct xccdf_status * xccdf_status_clone(const struct xccdf_status * old_status);
/// @memberof xccdf_status
struct xccdf_status *xccdf_status_new_fill(const char *status, const char *date);
/// @memberof xccdf_status
void xccdf_status_free(struct xccdf_status *status);
/// @memberof xccdf_notice
struct xccdf_notice *xccdf_notice_new(void);
/// @memberof xccdf_notice
void xccdf_notice_free(struct xccdf_notice *notice);
/// @memberof xccdf_notice
struct xccdf_notice * xccdf_notice_clone(const struct xccdf_notice * notice);

/// @memberof xccdf_model
struct xccdf_model *xccdf_model_new(void);
/// @memberof xccdf_model
struct xccdf_model * xccdf_model_clone(const struct xccdf_model * old_model);
/// @memberof xccdf_model
void xccdf_model_free(struct xccdf_model *model);

/// @memberof xccdf_ident
struct xccdf_ident *xccdf_ident_new(void);
/// @memberof xccdf_ident
struct xccdf_ident *xccdf_ident_new_fill(const char *id, const char *sys);
/// @memberof xccdf_ident
struct xccdf_ident *xccdf_ident_clone(const struct xccdf_ident * ident);
/// @memberof xccdf_ident
void xccdf_ident_free(struct xccdf_ident *ident);


/// @memberof xccdf_check
struct xccdf_check *xccdf_check_new(void);
/// @memberof xccdf_check
void xccdf_check_free(struct xccdf_check *check);

/// @memberof xccdf_check
struct xccdf_check *xccdf_check_clone(const struct xccdf_check *old_check);
/// @memberof xccdf_check_import
struct xccdf_check_import *xccdf_check_import_clone(const struct xccdf_check_import *old_import);
/// @memberof xccdf_check_export
struct xccdf_check_export *xccdf_check_export_clone(const struct xccdf_check_export *old_export);
/// @memberof xccdf_check_content_ref
struct xccdf_check_content_ref *xccdf_check_content_ref_clone(const struct xccdf_check_content_ref *old_ref);

/// @memberof xccdf_check_content_ref
struct xccdf_check_content_ref *xccdf_check_content_ref_new(void);
/// @memberof xccdf_check_content_ref
void xccdf_check_content_ref_free(struct xccdf_check_content_ref *ref);

/// @memberof xccdf_profile_note
struct xccdf_profile_note *xccdf_profile_note_new(void);
/// @memberof xccdf_profile_note
void xccdf_profile_note_free(struct xccdf_profile_note *note);

/// @memberof xccdf_check_import
struct xccdf_check_import *xccdf_check_import_new(void);
/// @memberof xccdf_check_import
void xccdf_check_import_free(struct xccdf_check_import *item);

/// @memberof xccdf_check_export
struct xccdf_check_export *xccdf_check_export_new(void);
/// @memberof xccdf_check_export
void xccdf_check_export_free(struct xccdf_check_export *item);

/// @memberof xccdf_fix
struct xccdf_fix *xccdf_fix_new(void);
/// @memberof xccdf_fix
struct xccdf_fix *xccdf_fix_clone(const struct xccdf_fix *old_fix);
/// @memberof xccdf_fix
void xccdf_fix_free(struct xccdf_fix *item);

/// @memberof xccdf_fixtext
struct xccdf_fixtext *xccdf_fixtext_new(void);
/// @memberof xccdf_fixtext
struct xccdf_fixtext * xccdf_fixtext_clone(const struct xccdf_fixtext * fixtext);
/// @memberof xccdf_fixtext
void xccdf_fixtext_free(struct xccdf_fixtext *item);

/// @memberof xccdf_select
void xccdf_select_free(struct xccdf_select *sel);
/// @memberof xccdf_select
struct xccdf_select *xccdf_select_clone(const struct xccdf_select * select);
/// @memberof xccdf_select
struct xccdf_select *xccdf_select_new(void);

/// @memberof xccdf_warning
struct xccdf_warning *xccdf_warning_new(void);
/// @memberof xccdf_warning
struct xccdf_warning *xccdf_warning_clone(const struct xccdf_warning *old_warning);
/// @memberof xccdf_warning
void xccdf_warning_free(struct xccdf_warning * warn);

/// @memberof xccdf_refine_rule
void xccdf_refine_rule_free(struct xccdf_refine_rule *obj);

/// @memberof xccdf_refine_value
void xccdf_refine_value_free(struct xccdf_refine_value *rv);

void xccdf_setvalue_free(struct xccdf_setvalue *sv);

/// @memberof xccdf_tailoring
struct xccdf_tailoring *xccdf_tailoring_new(void);
/// @memberof xccdf_tailoring
void xccdf_tailoring_free(struct xccdf_tailoring *tailoring);
/// @memberof xccdf_tailoring
int xccdf_tailoring_export(struct xccdf_tailoring *tailoring, const char *file, const struct xccdf_version_info *version_info);

/**
 * Release library internal caches.
 * @deprecated Use @ref oscap_cleanup() instead.
 */
OSCAP_DEPRECATED(void xccdf_cleanup(void));

/**
 * Create a group and append it to the benchmark.
 * @param id - the identifier of the appended value.
 * @return the handle of the new group.
 */
struct xccdf_group *xccdf_benchmark_append_new_group(struct xccdf_benchmark *, const char *id);

/**
 * Create a value and append it to the benchmark.
 * @param id - the identifier of the appended value.
 * @return the handle of the new value.
 */
struct xccdf_value *xccdf_benchmark_append_new_value(struct xccdf_benchmark *, const char *id, xccdf_value_type_t type);

/**
 * Create a rule and append it to the benchmark.
 * @param id - the identifier of the appended rule.
 * @return the handle of the new rule.
 */
struct xccdf_rule *xccdf_benchmark_append_new_rule(struct xccdf_benchmark *, const char *id);

/// @memberof xccdf_plain_text
struct xccdf_plain_text *xccdf_plain_text_new(void);
/// @memberof xccdf_plain_text
struct xccdf_plain_text *xccdf_plain_text_new_fill(const char *id, const char *text);
/// @memberof xccdf_plain_text
void xccdf_plain_text_free(struct xccdf_plain_text *plain);
/// @memberof xccdf_plain_text
struct xccdf_plain_text *xccdf_plain_text_clone(const struct xccdf_plain_text * pt);

/// @memberof xccdf_result
struct xccdf_result *xccdf_result_new(void);
/// @memberof xccdf_result
void xccdf_result_free(struct xccdf_result *item);
/// @memberof xccdf_result
struct xccdf_item *xccdf_result_to_item(struct xccdf_result *item);
/// @memberof xccdf_result
struct xccdf_result * xccdf_result_clone(const struct xccdf_result * result);

/// @memberof xccdf_rule_result
struct xccdf_rule_result *xccdf_rule_result_new(void);
/// @memberof xccdf_rule_result
struct xccdf_rule_result * xccdf_rule_result_clone(const struct xccdf_rule_result * result);
/// @memberof xccdf_rule_result
void xccdf_rule_result_free(struct xccdf_rule_result *rr);

/// @memberof xccdf_identity
struct xccdf_identity *xccdf_identity_new(void);
/// @memberof xccdf_identity
struct xccdf_identity * xccdf_identity_clone(const struct xccdf_identity * identity);
/// @memberof xccdf_identity
void xccdf_identity_free(struct xccdf_identity *identity);

/// @memberof xccdf_score
struct xccdf_score *xccdf_score_new(void);
/// @memberof xccdf_score
struct xccdf_score * xccdf_score_clone(const struct xccdf_score * score);
/// @memberof xccdf_score
void xccdf_score_free(struct xccdf_score *score);

/// @memberof xccdf_override
struct xccdf_override *xccdf_override_new(void);
/// @memberof xccdf_override
struct xccdf_override * xccdf_override_clone(const struct xccdf_override * override);
/// @memberof xccdf_override
void xccdf_override_free(struct xccdf_override *oride);

/// @memberof xccdf_message
struct xccdf_message *xccdf_message_new(void);
/// @memberof xccdf_message
struct xccdf_message * xccdf_message_clone(const struct xccdf_message * message);
/// @memberof xccdf_message
void xccdf_message_free(struct xccdf_message *msg);

/// @memberof xccdf_target_fact
struct xccdf_target_fact *xccdf_target_fact_new(void);
/// @memberof xccdf_target_fact
struct xccdf_target_fact * xccdf_target_fact_clone(const struct xccdf_target_fact * tf);
/// @memberof xccdf_target_fact
void xccdf_target_fact_free(struct xccdf_target_fact *fact);

/// @memberof xccdf_target_identifier
struct xccdf_target_identifier *xccdf_target_identifier_new(void);
/// @memberof xccdf_target_identifier
struct xccdf_target_identifier * xccdf_target_identifier_clone(const struct xccdf_target_identifier * ti);
/// @memberof xccdf_target_identifier
void xccdf_target_identifier_free(struct xccdf_target_identifier *ti);

/// @memberof xccdf_instance
struct xccdf_instance *xccdf_instance_new(void);
/// @memberof xccdf_instance
struct xccdf_instance * xccdf_instance_clone(const struct xccdf_instance * instance);
/// @memberof xccdf_instance
void xccdf_instance_free(struct xccdf_instance *inst);

/// @memberof xccdf_value_instance
struct oscap_string_iterator *xccdf_value_instance_get_choices(const struct xccdf_value_instance *item);

/************************************************************/
/**
 * @name Iterators
 * @{
 * */

/**
 * Return the next xccdf_item structure from the list and increment the iterator
 * @memberof xccdf_item_iterator
 */
struct xccdf_item *xccdf_item_iterator_next(struct xccdf_item_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_item_iterator
 */
bool xccdf_item_iterator_has_more(struct xccdf_item_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_item_iterator
 */
void xccdf_item_iterator_free(struct xccdf_item_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_item_iterator
 */
void xccdf_item_iterator_reset(struct xccdf_item_iterator *it);


/**
 * Return the next xccdf_notice structure from the list and increment the iterator
 * @memberof xccdf_notice_iterator
 */
struct xccdf_notice *xccdf_notice_iterator_next(struct xccdf_notice_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_notice_iterator
 */
bool xccdf_notice_iterator_has_more(struct xccdf_notice_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_notice_iterator
 */
void xccdf_notice_iterator_free(struct xccdf_notice_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_notice_iterator
 */
void xccdf_notice_iterator_reset(struct xccdf_notice_iterator *it);


/**
 * Return the next xccdf_status structure from the list and increment the iterator
 * @memberof xccdf_status_iterator
 */
struct xccdf_status *xccdf_status_iterator_next(struct xccdf_status_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_status_iterator
 */
bool xccdf_status_iterator_has_more(struct xccdf_status_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_status_iterator
 */
void xccdf_status_iterator_free(struct xccdf_status_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_status_iterator
 */
void xccdf_status_iterator_reset(struct xccdf_status_iterator *it);


/**
 * Return the next xccdf_model structure from the list and increment the iterator
 * @memberof xccdf_model_iterator
 */
struct xccdf_model *xccdf_model_iterator_next(struct xccdf_model_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_model_iterator
 */
bool xccdf_model_iterator_has_more(struct xccdf_model_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_model_iterator
 */
void xccdf_model_iterator_free(struct xccdf_model_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_model_iterator
 */
void xccdf_model_iterator_reset(struct xccdf_model_iterator *it);


/**
 * Return the next xccdf_result structure from the list and increment the iterator
 * @memberof xccdf_result_iterator
 */
struct xccdf_result *xccdf_result_iterator_next(struct xccdf_result_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_result_iterator
 */
bool xccdf_result_iterator_has_more(struct xccdf_result_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_result_iterator
 */
void xccdf_result_iterator_free(struct xccdf_result_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_result_iterator
 */
void xccdf_result_iterator_reset(struct xccdf_result_iterator *it);


/**
 * Return the next xccdf_profile structure from the list and increment the iterator
 * @memberof xccdf_profile_iterator
 */
struct xccdf_profile *xccdf_profile_iterator_next(struct xccdf_profile_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_profile_iterator
 */
bool xccdf_profile_iterator_has_more(struct xccdf_profile_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_profile_iterator
 */
void xccdf_profile_iterator_free(struct xccdf_profile_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_profile_iterator
 */
void xccdf_profile_iterator_reset(struct xccdf_profile_iterator *it);


/**
 * Return the next xccdf_select structure from the list and increment the iterator
 * @memberof xccdf_select_iterator
 */
struct xccdf_select *xccdf_select_iterator_next(struct xccdf_select_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_select_iterator
 */
bool xccdf_select_iterator_has_more(struct xccdf_select_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_select_iterator
 */
void xccdf_select_iterator_free(struct xccdf_select_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_select_iterator
 */
void xccdf_select_iterator_reset(struct xccdf_select_iterator *it);


/**
 * Return the next xccdf_setvalue structure from the list and increment the iterator
 * @memberof xccdf_setvalue_iterator
 */
struct xccdf_setvalue *xccdf_setvalue_iterator_next(struct xccdf_setvalue_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_setvalue_iterator
 */
bool xccdf_setvalue_iterator_has_more(struct xccdf_setvalue_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_setvalue_iterator
 */
void xccdf_setvalue_iterator_free(struct xccdf_setvalue_iterator *it);
/**
 * Reset the iterator structure (it will point to the first item in the list)
 * @memberof xccdf_setvalue_iterator
 */
void xccdf_setvalue_iterator_reset(struct xccdf_setvalue_iterator *it);


/**
 * Return the next xccdf_refine_value structure from the list and increment the iterator
 * @memberof xccdf_refine_value_iterator
 */
struct xccdf_refine_value *xccdf_refine_value_iterator_next(struct xccdf_refine_value_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_refine_value_iterator
 */
bool xccdf_refine_value_iterator_has_more(struct xccdf_refine_value_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_refine_value_iterator
 */
void xccdf_refine_value_iterator_free(struct xccdf_refine_value_iterator *it);
/**
 * Reset the iterator structure (it will point to the first item in the list)
 * @memberof xccdf_refine_value_iterator
 */
void xccdf_refine_value_iterator_reset(struct xccdf_refine_value_iterator *it);


/**
 * Return the next xccdf_refine_rule structure from the list and increment the iterator
 * @memberof xccdf_refine_rule_iterator
 */
struct xccdf_refine_rule *xccdf_refine_rule_iterator_next(struct xccdf_refine_rule_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_refine_rule_iterator
 */
bool xccdf_refine_rule_iterator_has_more(struct xccdf_refine_rule_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_refine_rule_iterator
 */
void xccdf_refine_rule_iterator_free(struct xccdf_refine_rule_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_refine_rule_iterator
 */
void xccdf_refine_rule_iterator_reset(struct xccdf_refine_rule_iterator *it);


/**
 * Return the next xccdf_ident structure from the list and increment the iterator
 * @memberof xccdf_ident_iterator
 */
struct xccdf_ident *xccdf_ident_iterator_next(struct xccdf_ident_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_ident_iterator
 */
bool xccdf_ident_iterator_has_more(struct xccdf_ident_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_ident_iterator
 */
void xccdf_ident_iterator_free(struct xccdf_ident_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_ident_iterator
 */
void xccdf_ident_iterator_reset(struct xccdf_ident_iterator *it);


/**
 * Return the next xccdf_check structure from the list and increment the iterator
 * @memberof xccdf_check_iterator
 */
struct xccdf_check *xccdf_check_iterator_next(struct xccdf_check_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_check_iterator
 */
bool xccdf_check_iterator_has_more(struct xccdf_check_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_check_iterator
 */
void xccdf_check_iterator_free(struct xccdf_check_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_check_iterator
 */
void xccdf_check_iterator_reset(struct xccdf_check_iterator *it);


/**
 * Return the next xccdf_check_content_ref structure from the list and increment the iterator
 * @memberof xccdf_check_content_ref_iterator
 */
struct xccdf_check_content_ref *xccdf_check_content_ref_iterator_next(struct xccdf_check_content_ref_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_check_content_ref_iterator
 */
bool xccdf_check_content_ref_iterator_has_more(struct xccdf_check_content_ref_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_check_content_ref_iterator
 */
void xccdf_check_content_ref_iterator_free(struct xccdf_check_content_ref_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_check_content_ref_iterator
 */
void xccdf_check_content_ref_iterator_reset(struct xccdf_check_content_ref_iterator *it);


/**
 * Return the next xccdf_profile_note structure from the list and increment the iterator
 * @memberof xccdf_profile_note_iterator
 */
struct xccdf_profile_note *xccdf_profile_note_iterator_next(struct xccdf_profile_note_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_profile_note_iterator
 */
bool xccdf_profile_note_iterator_has_more(struct xccdf_profile_note_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_profile_note_iterator
 */
void xccdf_profile_note_iterator_free(struct xccdf_profile_note_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_profile_note_iterator
 */
void xccdf_profile_note_iterator_reset(struct xccdf_profile_note_iterator *it);


/**
 * Return the next xccdf_check_import structure from the list and increment the iterator
 * @memberof xccdf_check_import_iterator
 */
struct xccdf_check_import *xccdf_check_import_iterator_next(struct xccdf_check_import_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_check_import_iterator
 */
bool xccdf_check_import_iterator_has_more(struct xccdf_check_import_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_check_import_iterator
 */
void xccdf_check_import_iterator_free(struct xccdf_check_import_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_check_import_iterator
 */
void xccdf_check_import_iterator_reset(struct xccdf_check_import_iterator *it);


/**
 * Return the next xccdf_check_export structure from the list and increment the iterator
 * @memberof xccdf_check_export_iterator
 */
struct xccdf_check_export *xccdf_check_export_iterator_next(struct xccdf_check_export_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_check_export_iterator
 */
bool xccdf_check_export_iterator_has_more(struct xccdf_check_export_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_check_export_iterator
 */
void xccdf_check_export_iterator_free(struct xccdf_check_export_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_check_export_iterator
 */
void xccdf_check_export_iterator_reset(struct xccdf_check_export_iterator *it);


/**
 * Return the next xccdf_fix structure from the list and increment the iterator
 * @memberof xccdf_fix_iterator
 */
struct xccdf_fix *xccdf_fix_iterator_next(struct xccdf_fix_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_fix_iterator
 */
bool xccdf_fix_iterator_has_more(struct xccdf_fix_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_fix_iterator
 */
void xccdf_fix_iterator_free(struct xccdf_fix_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_fix_iterator
 */
void xccdf_fix_iterator_reset(struct xccdf_fix_iterator *it);


/**
 * Return the next xccdf_fixtext structure from the list and increment the iterator
 * @memberof xccdf_fixtext_iterator
 */
struct xccdf_fixtext *xccdf_fixtext_iterator_next(struct xccdf_fixtext_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_fixtext_iterator
 */
bool xccdf_fixtext_iterator_has_more(struct xccdf_fixtext_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_fixtext_iterator
 */
void xccdf_fixtext_iterator_free(struct xccdf_fixtext_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_fixtext_iterator
 */
void xccdf_fixtext_iterator_reset(struct xccdf_fixtext_iterator *it);


/**
 * Return the next xccdf_warning structure from the list and increment the iterator
 * @memberof xccdf_warning_iterator
 */
struct xccdf_warning *xccdf_warning_iterator_next(struct xccdf_warning_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_warning_iterator
 */
bool xccdf_warning_iterator_has_more(struct xccdf_warning_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_warning_iterator
 */
void xccdf_warning_iterator_free(struct xccdf_warning_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the underlying list)
 * @memberof xccdf_warning_iterator
 */
void xccdf_warning_iterator_reset(struct xccdf_warning_iterator *it);


/**
 * Return the next xccdf_instance structure from the list and increment the iterator
 * @memberof xccdf_instance_iterator
 */
struct xccdf_instance *xccdf_instance_iterator_next(struct xccdf_instance_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_instance_iterator
 */
bool xccdf_instance_iterator_has_more(struct xccdf_instance_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_instance_iterator
 */
void xccdf_instance_iterator_free(struct xccdf_instance_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_instance_iterator
 */
void xccdf_instance_iterator_reset(struct xccdf_instance_iterator *it);


/**
 * Return the next xccdf_message structure from the list and increment the iterator
 * @memberof xccdf_message_iterator
 */
struct xccdf_message *xccdf_message_iterator_next(struct xccdf_message_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_message_iterator
 */
bool xccdf_message_iterator_has_more(struct xccdf_message_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_message_iterator
 */
void xccdf_message_iterator_free(struct xccdf_message_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_message_iterator
 */
void xccdf_message_iterator_reset(struct xccdf_message_iterator *it);


/**
 * Return the next xccdf_override structure from the list and increment the iterator
 * @memberof xccdf_override_iterator
 */
struct xccdf_override *xccdf_override_iterator_next(struct xccdf_override_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_override_iterator
 */
bool xccdf_override_iterator_has_more(struct xccdf_override_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_override_iterator
 */
void xccdf_override_iterator_free(struct xccdf_override_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_override_iterator
 */
void xccdf_override_iterator_reset(struct xccdf_override_iterator *it);


/**
 * Return the next xccdf_identity structure from the list and increment the iterator
 * @memberof xccdf_identity_iterator
 */
struct xccdf_identity *xccdf_identity_iterator_next(struct xccdf_identity_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_identity_iterator
 */
bool xccdf_identity_iterator_has_more(struct xccdf_identity_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_identity_iterator
 */
void xccdf_identity_iterator_free(struct xccdf_identity_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_identity_iterator
 */
void xccdf_identity_iterator_reset(struct xccdf_identity_iterator *it);


/**
 * Return the next xccdf_rule_result structure from the list and increment the iterator
 * @memberof xccdf_rule_result_iterator
 */
struct xccdf_rule_result *xccdf_rule_result_iterator_next(struct xccdf_rule_result_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_rule_result_iterator
 */
bool xccdf_rule_result_iterator_has_more(struct xccdf_rule_result_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_rule_result_iterator
 */
void xccdf_rule_result_iterator_free(struct xccdf_rule_result_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_rule_result_iterator
 */
void xccdf_rule_result_iterator_reset(struct xccdf_rule_result_iterator *it);


/**
 * Return the next xccdf_value_instance structure from the list and increment the iterator
 * @memberof xccdf_value_instance_iterator
 */
struct xccdf_value_instance *xccdf_value_instance_iterator_next(struct xccdf_value_instance_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_value_instance_iterator
 */
bool xccdf_value_instance_iterator_has_more(struct xccdf_value_instance_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_value_instance_iterator
 */
void xccdf_value_instance_iterator_free(struct xccdf_value_instance_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_value_instance_iterator
 */
void xccdf_value_instance_iterator_reset(struct xccdf_value_instance_iterator *it);


/**
 * Return the next xccdf_score structure from the list and increment the iterator
 * @memberof xccdf_score_iterator
 */
struct xccdf_score *xccdf_score_iterator_next(struct xccdf_score_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_score_iterator
 */
bool xccdf_score_iterator_has_more(struct xccdf_score_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_score_iterator
 */
void xccdf_score_iterator_free(struct xccdf_score_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_score_iterator
 */
void xccdf_score_iterator_reset(struct xccdf_score_iterator *it);


/**
 * Return the next xccdf_target_fact structure from the list and increment the iterator
 * @memberof xccdf_target_fact_iterator
 */
struct xccdf_target_fact *xccdf_target_fact_iterator_next(struct xccdf_target_fact_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_target_fact_iterator
 */
bool xccdf_target_fact_iterator_has_more(struct xccdf_target_fact_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_target_fact_iterator
 */
void xccdf_target_fact_iterator_free(struct xccdf_target_fact_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_target_fact_iterator
 */
void xccdf_target_fact_iterator_reset(struct xccdf_target_fact_iterator *it);

/**
 * Return the next xccdf_target_identifier structure from the list and increment the iterator
 * @memberof xccdf_target_identifier_iterator
 */
struct xccdf_target_identifier *xccdf_target_identifier_iterator_next(struct xccdf_target_identifier_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_target_identifier_iterator
 */
bool xccdf_target_identifier_iterator_has_more(struct xccdf_target_identifier_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_target_identifier_iterator
 */
void xccdf_target_identifier_iterator_free(struct xccdf_target_identifier_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_target_identifier_iterator
 */
void xccdf_target_identifier_iterator_reset(struct xccdf_target_identifier_iterator *it);


/**
 * Return the next xccdf_plain_text structure from the list and increment the iterator
 * @memberof xccdf_plain_text_iterator
 */
struct xccdf_plain_text *xccdf_plain_text_iterator_next(struct xccdf_plain_text_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_plain_text_iterator
 */
bool xccdf_plain_text_iterator_has_more(struct xccdf_plain_text_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_plain_text_iterator
 */
void xccdf_plain_text_iterator_free(struct xccdf_plain_text_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_plain_text_iterator
 */
void xccdf_plain_text_iterator_reset(struct xccdf_plain_text_iterator *it);


/**
 * Return the next xccdf_value structure from the list and increment the iterator
 * @memberof xccdf_value_iterator
 */
struct xccdf_value *xccdf_value_iterator_next(struct xccdf_value_iterator *it);
/**
 * Return true if the list is not empty, false otherwise
 * @memberof xccdf_value_iterator
 */
bool xccdf_value_iterator_has_more(struct xccdf_value_iterator *it);
/**
 * Free the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_value_iterator
 */
void xccdf_value_iterator_free(struct xccdf_value_iterator *it);
/**
 * Reset the iterator structure (it makes no changes to the list structure)
 * @memberof xccdf_value_iterator
 */
void xccdf_value_iterator_reset(struct xccdf_value_iterator *it);

/************************************************************
 ** @} End of Iterators group */

/************************************************************/
/**
 * @name Getters
 * Return value is pointer to structure's member. Do not free unless you null the pointer in the structure. 
 * Use remove function otherwise.
 * @{
 * */

/**
 * @memberof xccdf_item
 */
xccdf_type_t xccdf_item_get_type(const struct xccdf_item *item);
/**
 * @memberof xccdf_item
 */
const char *xccdf_item_get_id(const struct xccdf_item *item);
/**
 * @memberof xccdf_item
 */
struct oscap_text_iterator *xccdf_item_get_title(const struct xccdf_item *item);
/**
 * @memberof xccdf_item
 */
struct oscap_text_iterator *xccdf_item_get_description(const struct xccdf_item *item);
/**
 * @memberof xccdf_item
 */
const char *xccdf_item_get_version(const struct xccdf_item *item);
/**
 * @memberof xccdf_item
 */
const char *xccdf_item_get_extends(const struct xccdf_item *item);
/**
 * @memberof xccdf_item
 */
struct xccdf_status_iterator *xccdf_item_get_statuses(const struct xccdf_item *item);
/**
 * @memberof xccdf_item
 */
struct oscap_reference_iterator *xccdf_item_get_dc_statuses(const struct xccdf_item *item);
/**
 * @memberof xccdf_item
 */
struct oscap_reference_iterator *xccdf_item_get_references(const struct xccdf_item *item);
/**
 * @memberof xccdf_item
 */
struct oscap_string_iterator *xccdf_item_get_conflicts(const struct xccdf_item* item);
/**
 * @memberof xccdf_item
 */
struct oscap_stringlist_iterator *xccdf_item_get_requires(const struct xccdf_item* item);
/**
 * @memberof xccdf_item
 */
struct xccdf_status * xccdf_item_get_current_status(const struct xccdf_item *item);
/**
 * @memberof xccdf_item
 */
bool xccdf_item_get_hidden(const struct xccdf_item *item);
/**
 * @memberof xccdf_item
 */
bool xccdf_item_get_selected(const struct xccdf_item *item);
/**
 * @memberof xccdf_item
 */
bool xccdf_item_get_prohibit_changes(const struct xccdf_item *item);
/**
 * @memberof xccdf_item
 */
bool xccdf_item_get_abstract(const struct xccdf_item *item);
/**
 * @memberof xccdf_item
 */
struct xccdf_item_iterator *xccdf_item_get_content(const struct xccdf_item *item);
/**
 * @memberof xccdf_test_result
 */
const char * xccdf_test_result_type_get_text(xccdf_test_result_type_t id);
/**
 * @memberof xccdf_result
 */
struct xccdf_rule_result * xccdf_result_get_rule_result_by_id(struct xccdf_result * result, const char * id);

/**
 * Return item's parent in the grouping hierarchy.
 * Returned item will be either a group or a benchmark.
 * @memberof xccdf_item
 */
struct xccdf_item *xccdf_item_get_parent(const struct xccdf_item *item);

/**
 * Retrieves the XCCDF version of top-level benchmark item.
 *
 * This is the version we use to determine how to process the item.
 * Valid return values include "1.1.4", "1.2".
 * You can use strverscmp to compare versions if you need to.
 * Don't deallocate the returned buffer!
 * @memberof xccdf_item
 */
const struct xccdf_version_info* xccdf_item_get_schema_version(struct xccdf_item* item);

/**
 * @memberof xccdf_item
 */
struct oscap_string_iterator *xccdf_item_get_metadata(const struct xccdf_item *item);

/**
 * @memberof xccdf_benchmark
 */
const char *xccdf_benchmark_get_id(const struct xccdf_benchmark *benchmark);
/**
 * @memberof xccdf_benchmark
 */
bool xccdf_benchmark_get_resolved(const struct xccdf_benchmark *benchmark);
/**
 * @memberof xccdf_benchmark
 */
struct oscap_text_iterator *xccdf_benchmark_get_title(const struct xccdf_benchmark *benchmark);
/**
 * @memberof xccdf_benchmark
 */
struct oscap_text_iterator *xccdf_benchmark_get_description(const struct xccdf_benchmark *benchmark);
/**
 * @memberof xccdf_benchmark
 */
const char *xccdf_benchmark_get_version(const struct xccdf_benchmark *benchmark);
/**
 * @memberof xccdf_benchmark
 */
const struct xccdf_version_info* xccdf_benchmark_get_schema_version(const struct xccdf_benchmark* item);
/**
 * @memberof xccdf_benchmark
 */
const char *xccdf_benchmark_get_style(const struct xccdf_benchmark *benchmark);
/**
 * @memberof xccdf_benchmark
 */
const char *xccdf_benchmark_get_style_href(const struct xccdf_benchmark *benchmark);
/**
 * @memberof xccdf_benchmark
 */
struct oscap_text_iterator *xccdf_benchmark_get_front_matter(const struct xccdf_benchmark *benchmark);
/**
 * @memberof xccdf_benchmark
 */
struct oscap_text_iterator *xccdf_benchmark_get_rear_matter(const struct xccdf_benchmark *benchmark);
/**
 * @memberof xccdf_benchmark
 */
struct xccdf_status_iterator *xccdf_benchmark_get_statuses(const struct xccdf_benchmark *benchmark);
/**
 * @memberof xccdf_benchmark
 */
struct oscap_reference_iterator *xccdf_benchmark_get_dc_statuses(const struct xccdf_benchmark *benchmark);
/**
 * @memberof xccdf_benchmark
 */
struct oscap_reference_iterator *xccdf_benchmark_get_references(const struct xccdf_benchmark *benchmark);
/**
 * @memberof xccdf_benchmark
 */
struct oscap_string_iterator *xccdf_benchmark_get_platforms(const struct xccdf_benchmark *benchmark);
/**
 * @memberof xccdf_benchmark
 */
struct xccdf_status * xccdf_benchmark_get_status_current(const struct xccdf_benchmark *benchmark);
/**
 * @memberof xccdf_benchmark
 */
struct xccdf_plain_text_iterator *xccdf_benchmark_get_plain_texts(const struct xccdf_benchmark *item);
/**
 * @memberof xccdf_benchmark
 */
struct xccdf_result_iterator* xccdf_benchmark_get_results(const struct xccdf_benchmark *bench);
/**
 * @memberof xccdf_benchmark
 */
struct xccdf_value_iterator *xccdf_benchmark_get_values(const struct xccdf_benchmark *item);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_set_lang(struct xccdf_benchmark *item, const char *newval);
/// @memberof xccdf_benchmark
const char *xccdf_benchmark_get_lang(const struct xccdf_benchmark *item);

/**
 * Get a plain text by ID.
 * @memberof xccdf_benchmark
 * @param id ID of the plain text to get.
 * @return Plain text content.
 * @retval NULL if given plain text does not exist
 */
const char *xccdf_benchmark_get_plain_text(const struct xccdf_benchmark *benchmark, const char *id);

/**
 * Get benchmark xccdf:Item by ID.
 * @memberof xccdf_benchmark
 * @param id ID
 * @return Item with given ID
 * @retval NULL if no such item exists
 */
struct xccdf_item *xccdf_benchmark_get_item(const struct xccdf_benchmark *benchmark, const char *id);

/**
 * Get a registered member of xccdf_benchmakr by ID.
 * @memberof xccdf_benchmark
 * @param type of member: either XCCDF_ITEM, XCCDF_PROFILE, or XCCDF_RESULT
 * @return xccdf_item with given ID and type
 * @return NULL if no such member exists
 */
struct xccdf_item *xccdf_benchmark_get_member(const struct xccdf_benchmark *benchmark, xccdf_type_t type, const char *key);

/**
 * Get an iterator to the benchmark legal notices.
 * @memberof xccdf_benchmark
 * @see xccdf_notice
 */
struct xccdf_notice_iterator *xccdf_benchmark_get_notices(const struct xccdf_benchmark *benchmark);

/**
 * Get an iterator to the benchmark scoring models.
 * @memberof xccdf_benchmark
 * @see xccdf_model
 */
struct xccdf_model_iterator *xccdf_benchmark_get_models(const struct xccdf_benchmark *benchmark);

/**
 * Get an iterator to the benchmark XCCDF profiles.
 * @memberof xccdf_benchmark
 * @see xccdf_profile
 */
struct xccdf_profile_iterator *xccdf_benchmark_get_profiles(const struct xccdf_benchmark *benchmark);

/**
 * Get an iterator to the bencmark content. The items are either groups or rules.
 * @memberof xccdf_benchmark
 * @see xccdf_rule
 * @see xccdf_group
 * @see xccdf_item
 */
struct xccdf_item_iterator *xccdf_benchmark_get_content(const struct xccdf_benchmark *benchmark);

/**
 * @memberof xccdf_benchmark
 */
struct oscap_string_iterator *xccdf_benchmark_get_metadata(const struct xccdf_benchmark *benchmark);

/**
 * @memberof xccdf_benchmark
 */
struct cpe_dict_model *xccdf_benchmark_get_cpe_list(const struct xccdf_benchmark *benchmark);

/**
 * @memberof xccdf_benchmark
 */
struct cpe_lang_model *xccdf_benchmark_get_cpe_lang_model(const struct xccdf_benchmark *benchmark);

/**
 * @memberof xccdf_profile
 */
const char *xccdf_profile_get_id(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
struct oscap_text_iterator *xccdf_profile_get_title(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
struct oscap_text_iterator *xccdf_profile_get_description(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
const char *xccdf_profile_get_version(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
const char *xccdf_profile_get_extends(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
struct xccdf_benchmark *xccdf_profile_get_benchmark(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
bool xccdf_profile_get_abstract(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
bool xccdf_profile_get_prohibit_changes(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
struct oscap_string_iterator *xccdf_profile_get_platforms(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
struct xccdf_status_iterator *xccdf_profile_get_statuses(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
struct oscap_reference_iterator *xccdf_profile_get_dc_statuses(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
struct oscap_reference_iterator *xccdf_profile_get_references(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
struct xccdf_status * xccdf_profile_get_status_current(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
struct xccdf_select_iterator *xccdf_profile_get_selects(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
struct xccdf_setvalue_iterator *xccdf_profile_get_setvalues(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
struct xccdf_refine_value_iterator *xccdf_profile_get_refine_values(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
struct xccdf_refine_rule_iterator *xccdf_profile_get_refine_rules(const struct xccdf_profile *profile);
/**
 * @memberof xccdf_profile
 */
struct oscap_string_iterator *xccdf_profile_get_metadata(const struct xccdf_profile *profile);

/**
 * Return rule's parent in the grouping hierarchy.
 * Returned item will be either a group or a benchmark.
 * @memberof xccdf_rule
 */
struct xccdf_item *xccdf_rule_get_parent(const struct xccdf_rule *rule);

/**
 * @memberof xccdf_rule
 */
const char *xccdf_rule_get_id(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct oscap_text_iterator *xccdf_rule_get_title(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct oscap_text_iterator *xccdf_rule_get_description(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
const char *xccdf_rule_get_version(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct oscap_text_iterator *xccdf_rule_get_question(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct xccdf_warning_iterator *xccdf_rule_get_warnings(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct oscap_text_iterator *xccdf_rule_get_rationale(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
const char *xccdf_rule_get_cluster_id(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
float xccdf_rule_get_weight(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
bool xccdf_rule_set_weight(struct xccdf_rule *item, xccdf_numeric newval);
/**
 * @memberof xccdf_rule
 */
const char *xccdf_rule_get_extends(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
bool xccdf_rule_get_abstract(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
bool xccdf_rule_get_prohibit_changes(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
bool xccdf_rule_get_hidden(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
bool xccdf_rule_get_selected(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
bool xccdf_rule_get_multiple(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct oscap_string_iterator *xccdf_rule_get_platforms(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct xccdf_status_iterator *xccdf_rule_get_statuses(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct oscap_reference_iterator *xccdf_rule_get_dc_statuses(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct oscap_reference_iterator *xccdf_rule_get_references(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct xccdf_status * xccdf_rule_get_status_current(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
const char *xccdf_rule_get_impact_metric(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
xccdf_role_t xccdf_rule_get_role(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
xccdf_level_t xccdf_rule_get_severity(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct xccdf_ident_iterator *xccdf_rule_get_idents(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct xccdf_check_iterator *xccdf_rule_get_checks(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct xccdf_profile_note_iterator *xccdf_rule_get_profile_notes(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct xccdf_fix_iterator *xccdf_rule_get_fixes(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct xccdf_fixtext_iterator *xccdf_rule_get_fixtexts(const struct xccdf_rule *rule);
/**
 * @memberof xccdf_rule
 */
struct oscap_string_iterator *xccdf_rule_get_conflicts(const struct xccdf_rule* rule);
/**
 * @memberof xccdf_rule
 */
struct oscap_stringlist_iterator *xccdf_rule_get_requires(const struct xccdf_rule* rule);
/**
 * @memberof xccdf_rule
 */
struct oscap_string_iterator *xccdf_rule_get_metadata(const struct xccdf_rule *rule);

/*
 * Return group's parent in the grouping hierarchy.
 * Returned item will be either a group or a benchmark.
 * @memberof xccdf_group
 */
struct xccdf_item *xccdf_group_get_parent(const struct xccdf_group *group);

/**
 * Get an iterator to the group content. The items are either groups or rules.
 * @memberof xccdf_group
 * @see xccdf_rule
 * @see xccdf_group
 * @see xccdf_item
 */
struct xccdf_item_iterator *xccdf_group_get_content(const struct xccdf_group *group);

/// @memberof xccdf_group
struct xccdf_value_iterator *xccdf_group_get_values(const struct xccdf_group *group);

/// @memberof xccdf_group
const char *xccdf_group_get_id(const struct xccdf_group *group);
/// @memberof xccdf_group
struct oscap_text_iterator *xccdf_group_get_title(const struct xccdf_group *group);
/// @memberof xccdf_group
struct oscap_text_iterator *xccdf_group_get_description(const struct xccdf_group *group);
/// @memberof xccdf_group
const char *xccdf_group_get_version(const struct xccdf_group *group);
/// @memberof xccdf_group
struct oscap_text_iterator *xccdf_group_get_question(const struct xccdf_group *group);
/// @memberof xccdf_group
struct xccdf_warning_iterator *xccdf_group_get_warnings(const struct xccdf_group *group);
/// @memberof xccdf_group
struct oscap_text_iterator *xccdf_group_get_rationale(const struct xccdf_group *group);
/// @memberof xccdf_group
const char *xccdf_group_get_cluster_id(const struct xccdf_group *group);
/// @memberof xccdf_group
float xccdf_group_get_weight(const struct xccdf_group *group);
/// @memberof xccdf_group
bool xccdf_group_set_weight(struct xccdf_group *item, xccdf_numeric newval);
/// @memberof xccdf_group
const char *xccdf_group_get_extends(const struct xccdf_group *group);
/// @memberof xccdf_group
bool xccdf_group_get_abstract(const struct xccdf_group *group);
/// @memberof xccdf_group
bool xccdf_group_get_prohibit_changes(const struct xccdf_group *group);
/// @memberof xccdf_group
bool xccdf_group_get_hidden(const struct xccdf_group *group);
/// @memberof xccdf_group
bool xccdf_group_get_selected(const struct xccdf_group *group);
/// @memberof xccdf_group
struct oscap_string_iterator *xccdf_group_get_platforms(const struct xccdf_group *group);
/// @memberof xccdf_group
struct xccdf_status_iterator *xccdf_group_get_statuses(const struct xccdf_group *group);
/// @memberof xccdf_group
struct oscap_reference_iterator *xccdf_group_get_dc_statuses(const struct xccdf_group *group);
/// @memberof xccdf_group
struct oscap_reference_iterator *xccdf_group_get_references(const struct xccdf_group *group);
/// @memberof xccdf_group
struct xccdf_status * xccdf_group_get_status_current(const struct xccdf_group *group);
/// @memberof xccdf_group
struct oscap_string_iterator *xccdf_group_get_conflicts(const struct xccdf_group* group);
/// @memberof xccdf_group
struct oscap_stringlist_iterator *xccdf_group_get_requires(const struct xccdf_group* group);
/// @memberof xccdf_group
struct oscap_string_iterator *xccdf_group_get_metadata(const struct xccdf_group *group);

/// @memberof xccdf_value
struct oscap_text_iterator *xccdf_value_get_title(const struct xccdf_value *value);
/// @memberof xccdf_value
const char *xccdf_value_get_id(const struct xccdf_value *value);
/// @memberof xccdf_value
struct oscap_text_iterator *xccdf_value_get_description(const struct xccdf_value *value);
/// @memberof xccdf_value
const char *xccdf_value_get_extends(const struct xccdf_value *value);
/// @memberof xccdf_value
bool xccdf_value_get_abstract(const struct xccdf_value *value);
/// @memberof xccdf_value
bool xccdf_value_get_prohibit_changes(const struct xccdf_value *value);
/// @memberof xccdf_value
bool xccdf_value_get_hidden(const struct xccdf_value *value);
/// @memberof xccdf_value
bool xccdf_value_get_interactive(const struct xccdf_value *value);
/// @memberof xccdf_value
struct xccdf_status_iterator *xccdf_value_get_statuses(const struct xccdf_value *value);
/// @memberof xccdf_value
struct oscap_reference_iterator *xccdf_value_get_dc_statuses(const struct xccdf_value *value);
/// @memberof xccdf_value
struct oscap_reference_iterator *xccdf_value_get_references(const struct xccdf_value *value);
/// @memberof xccdf_value
struct xccdf_status * xccdf_value_get_status_current(const struct xccdf_value *value);
/// @memberof xccdf_value
xccdf_value_type_t xccdf_value_get_type(const struct xccdf_value *value);
/// @memberof xccdf_value
xccdf_interface_hint_t xccdf_value_get_interface_hint(const struct xccdf_value *value);
/// @memberof xccdf_value
xccdf_operator_t xccdf_value_get_oper(const struct xccdf_value *value);
/// @memberof xccdf_value
struct xccdf_value_instance *xccdf_value_get_instance_by_selector(const struct xccdf_value *value, const char *selector);
/// @memberof xccdf_value
bool xccdf_value_add_instance(struct xccdf_value *value, struct xccdf_value_instance *instance);
/// @memberof xccdf_value
struct xccdf_value_instance_iterator *xccdf_value_get_instances(const struct xccdf_value *item);
/// @memberof xccdf_value
struct oscap_string_iterator *xccdf_value_get_metadata(const struct xccdf_value *value);

/// @memberof xccdf_value_instance
void xccdf_value_instance_free(struct xccdf_value_instance *inst);
/// @memberof xccdf_value
struct xccdf_value_instance *xccdf_value_new_instance(struct xccdf_value *val);
/// @memberof xccdf_value_instance
const char *xccdf_value_instance_get_selector(const struct xccdf_value_instance *item);
/// @memberof xccdf_value_instance
bool xccdf_value_instance_set_selector(struct xccdf_value_instance *obj, const char *newval);
/// @memberof xccdf_value_instance
xccdf_value_type_t xccdf_value_instance_get_type(const struct xccdf_value_instance *item);
/// @memberof xccdf_value_instance
bool xccdf_value_instance_get_must_match(const struct xccdf_value_instance *item);
/// @memberof xccdf_value_instance
bool xccdf_value_instance_set_must_match(struct xccdf_value_instance *obj, bool newval);
/// @memberof xccdf_value_instance
bool xccdf_value_instance_get_value_boolean(const struct xccdf_value_instance *inst);
/// @memberof xccdf_value_instance
bool xccdf_value_instance_set_value_boolean(struct xccdf_value_instance *inst, bool newval);
/// @memberof xccdf_value_instance
xccdf_numeric xccdf_value_instance_get_value_number(const struct xccdf_value_instance *inst);
/// @memberof xccdf_value_instance
bool xccdf_value_instance_set_value_number(struct xccdf_value_instance *inst, xccdf_numeric newval);
/// @memberof xccdf_value_instance
const char *xccdf_value_instance_get_value_string(const struct xccdf_value_instance *inst);
/// @memberof xccdf_value_instance
bool xccdf_value_instance_set_value_string(struct xccdf_value_instance *inst, const char *newval);
/// @memberof xccdf_value_instance
bool xccdf_value_instance_get_defval_boolean(const struct xccdf_value_instance *inst);
/// @memberof xccdf_value_instance
bool xccdf_value_instance_set_defval_boolean(struct xccdf_value_instance *inst, bool newval);
/// @memberof xccdf_value_instance
xccdf_numeric xccdf_value_instance_get_defval_number(const struct xccdf_value_instance *inst);
/// @memberof xccdf_value_instance
bool xccdf_value_instance_set_defval_number(struct xccdf_value_instance *inst, xccdf_numeric newval);
/// @memberof xccdf_value_instance
const char *xccdf_value_instance_get_defval_string(const struct xccdf_value_instance *inst);
/// @memberof xccdf_value_instance
bool xccdf_value_instance_set_defval_string(struct xccdf_value_instance *inst, const char *newval);
/// @memberof xccdf_value_instance
xccdf_numeric xccdf_value_instance_get_lower_bound(const struct xccdf_value_instance *inst);
/// @memberof xccdf_value_instance
bool xccdf_value_instance_set_lower_bound(struct xccdf_value_instance *inst, xccdf_numeric newval);
/// @memberof xccdf_value_instance
xccdf_numeric xccdf_value_instance_get_upper_bound(const struct xccdf_value_instance *inst);
/// @memberof xccdf_value_instance
bool xccdf_value_instance_set_upper_bound(struct xccdf_value_instance *inst, xccdf_numeric newval);
/// @memberof xccdf_value_instance
const char *xccdf_value_instance_get_match(const struct xccdf_value_instance *inst);
/// @memberof xccdf_value_instance
bool xccdf_value_instance_set_match(struct xccdf_value_instance *inst, const char *newval);
/// @memberof xccdf_value_instance
const char *  xccdf_value_instance_get_value(const struct xccdf_value_instance * val);

/**
 * Return value's parent in the grouping hierarchy.
 * Returned item will be either a value or a benchmark.
 * @memberof xccdf_value
 */
struct xccdf_item *xccdf_value_get_parent(const struct xccdf_value *value);


/// @memberof xccdf_status
time_t xccdf_status_get_date(const struct xccdf_status *status);
/// @memberof xccdf_status
xccdf_status_type_t xccdf_status_get_status(const struct xccdf_status *status);
/// @memberof xccdf_status
const char *xccdf_status_type_to_text(xccdf_status_type_t id);

/// @memberof xccdf_notice
const char *xccdf_notice_get_id(const struct xccdf_notice *notice);
/// @memberof xccdf_notice
struct oscap_text *xccdf_notice_get_text(const struct xccdf_notice *notice);
/// @memberof xccdf_model
const char *xccdf_model_get_system(const struct xccdf_model *model);
/// @memberof xccdf_ident
const char *xccdf_ident_get_id(const struct xccdf_ident *ident);
/// @memberof xccdf_ident
const char *xccdf_ident_get_system(const struct xccdf_ident *ident);
/// @memberof xccdf_check
const char *xccdf_check_get_id(const struct xccdf_check *check);

/**
 * True if the check is a complex check.
 * @memberof xccdf_check
 * @see xccdf_check_get_children
 */
bool xccdf_check_get_complex(const struct xccdf_check *check);

/**
 * Get an operator to be applied no children of the complex check.
 * @memberof xccdf_check
 * @see xccdf_check_get_children
 */
xccdf_bool_operator_t xccdf_check_get_oper(const struct xccdf_check *check);
/// @memberof xccdf_check
const char *xccdf_check_get_system(const struct xccdf_check *check);
/// @memberof xccdf_check
const char *xccdf_check_get_selector(const struct xccdf_check *check);
/// @memberof xccdf_check
const char *xccdf_check_get_content(const struct xccdf_check *check);
/// @memberof xccdf_check
bool xccdf_check_get_multicheck(const struct xccdf_check *check);
/// @memberof xccdf_check
bool xccdf_check_get_negate(const struct xccdf_check *check);
/// @memberof xccdf_check
//struct xccdf_rule *xccdf_check_get_parent(const struct xccdf_check *check);
/**
 * Get an iterator to nested checks of the complex check.
 * @memberof xccdf_check
 * @see xccdf_check_get_export
 */
struct xccdf_check_iterator *xccdf_check_get_children(const struct xccdf_check *check);

/// @memberof xccdf_check_content_ref
const char *xccdf_check_content_ref_get_href(const struct xccdf_check_content_ref *ref);
/// @memberof xccdf_check_content_ref
const char *xccdf_check_content_ref_get_name(const struct xccdf_check_content_ref *ref);
/// @memberof xccdf_profile_note
const char *xccdf_profile_note_get_reftag(const struct xccdf_profile_note *note);
/// @memberof xccdf_profile_note
struct oscap_text *xccdf_profile_note_get_text(const struct xccdf_profile_note *note);
/// @memberof xccdf_check_import
const char *xccdf_check_import_get_name(const struct xccdf_check_import *item);
/// @memberof xccdf_check_import
const char *xccdf_check_import_get_xpath(const struct xccdf_check_import *item);
/// @memberof xccdf_check_import
const char *xccdf_check_import_get_content(const struct xccdf_check_import *item);
/// @memberof xccdf_check_export
const char *xccdf_check_export_get_value(const struct xccdf_check_export *item);
/// @memberof xccdf_check_export
const char *xccdf_check_export_get_name(const struct xccdf_check_export *item);

/// @memberof xccdf_fix
const char *xccdf_fix_get_content(const struct xccdf_fix *fix);
/// @memberof xccdf_fix
bool xccdf_fix_get_reboot(const struct xccdf_fix *fix);
/// @memberof xccdf_fix
xccdf_strategy_t xccdf_fix_get_strategy(const struct xccdf_fix *fix);
/// @memberof xccdf_fix
xccdf_level_t xccdf_fix_get_complexity(const struct xccdf_fix *fix);
/// @memberof xccdf_fix
xccdf_level_t xccdf_fix_get_disruption(const struct xccdf_fix *fix);
/// @memberof xccdf_fix
const char *xccdf_fix_get_id(const struct xccdf_fix *fix);
/// @memberof xccdf_fix
const char *xccdf_fix_get_system(const struct xccdf_fix *fix);
/// @memberof xccdf_fix
const char *xccdf_fix_get_platform(const struct xccdf_fix *fix);
/// @memberof xccdf_fixtext
bool xccdf_fixtext_get_reboot(const struct xccdf_fixtext *fixtext);
/// @memberof xccdf_fixtext
xccdf_strategy_t xccdf_fixtext_get_strategy(const struct xccdf_fixtext *fixtext);
/// @memberof xccdf_fixtext
xccdf_level_t xccdf_fixtext_get_complexity(const struct xccdf_fixtext *fixtext);
/// @memberof xccdf_fixtext
xccdf_level_t xccdf_fixtext_get_disruption(const struct xccdf_fixtext *fixtext);
/// @memberof xccdf_fixtext
const char *xccdf_fixtext_get_fixref(const struct xccdf_fixtext *fixtext);
/// @memberof xccdf_fixtext
struct oscap_text *xccdf_fixtext_get_text(const struct xccdf_fixtext *fixtext);
/// @memberof xccdf_value
const char *xccdf_value_get_version(const struct xccdf_value *value);
/// @memberof xccdf_value
struct oscap_text_iterator *xccdf_value_get_question(const struct xccdf_value *value);
/// @memberof xccdf_value
struct xccdf_warning_iterator *xccdf_value_get_warnings(const struct xccdf_value *value);
/// @memberof xccdf_value
const char *xccdf_value_get_version_update(const struct xccdf_value *value);
/// @memberof xccdf_value
const char *xccdf_value_get_version_time(const struct xccdf_value *value);
/// @memberof xccdf_value
struct xccdf_benchmark *xccdf_value_get_benchmark(const struct xccdf_value *value);
/// @memberof xccdf_value
struct oscap_string_iterator *xccdf_value_get_sources(const struct xccdf_value *value);
/// @memberof xccdf_value
const char *xccdf_value_get_cluster_id(const struct xccdf_value *value);

/// @memberof xccdf_item
struct oscap_text_iterator *xccdf_item_get_question(const struct xccdf_item *item);
/// @memberof xccdf_item
struct xccdf_warning_iterator *xccdf_item_get_warnings(const struct xccdf_item *item);
/// @memberof xccdf_item
struct oscap_text_iterator *xccdf_item_get_rationale(const struct xccdf_item *item);
/// @memberof xccdf_item
const char *xccdf_item_get_cluster_id(const struct xccdf_item *item);
/// @memberof xccdf_item
const char *xccdf_item_get_version_update(const struct xccdf_item *item);
/// @memberof xccdf_item
const char *xccdf_item_get_version_time(const struct xccdf_item *item);
/// @memberof xccdf_item
float xccdf_item_get_weight(const struct xccdf_item *item);
/// @memberof xccdf_item
struct xccdf_benchmark *xccdf_item_get_benchmark(const struct xccdf_item *item);
/// @memberof xccdf_item
struct oscap_string_iterator *xccdf_item_get_platforms(const struct xccdf_item *item);

/// @memberof xccdf_benchmark
struct xccdf_warning_iterator *xccdf_benchmark_get_warnings(const struct xccdf_benchmark *benchmark);
/// @memberof xccdf_benchmark
const char *xccdf_benchmark_get_version_update(const struct xccdf_benchmark *benchmark);
/// @memberof xccdf_benchmark
const char *xccdf_benchmark_get_version_time(const struct xccdf_benchmark *benchmark);

/// @memberof xccdf_profile
const char *xccdf_profile_get_version_update(const struct xccdf_profile *profile);
/// @memberof xccdf_profile
const char *xccdf_profile_get_version_time(const struct xccdf_profile *profile);
/// @memberof xccdf_profile
bool xccdf_profile_get_tailoring(const struct xccdf_profile *profile);
/// @memberof xccdf_profile
const char *xccdf_profile_get_note_tag(const struct xccdf_profile *profile);

/// @memberof xccdf_rule
const char *xccdf_rule_get_version_update(const struct xccdf_rule *rule);
/// @memberof xccdf_rule
const char *xccdf_rule_get_version_time(const struct xccdf_rule *rule);
/// @memberof xccdf_rule
struct xccdf_benchmark *xccdf_rule_get_benchmark(const struct xccdf_rule *rule);

/// @memberof xccdf_group
const char *xccdf_group_get_version_time(const struct xccdf_group *group);
/// @memberof xccdf_group
const char *xccdf_group_get_version_update(const struct xccdf_group *group);
/// @memberof xccdf_group
struct xccdf_benchmark *xccdf_group_get_benchmark(const struct xccdf_group *group);

/// @memberof xccdf_check
struct xccdf_check_import_iterator *xccdf_check_get_imports(const struct xccdf_check *check);
/// @memberof xccdf_check
struct xccdf_check_export_iterator *xccdf_check_get_exports(const struct xccdf_check *check);
/// @memberof xccdf_check
struct xccdf_check_content_ref_iterator *xccdf_check_get_content_refs(const struct xccdf_check *check);

/// @memberof xccdf_select
bool xccdf_select_get_selected(const struct xccdf_select *select);
/// @memberof xccdf_select
const char *xccdf_select_get_item(const struct xccdf_select *select);
/// @memberof xccdf_select
struct oscap_text_iterator *xccdf_select_get_remarks(const struct xccdf_select *select);

/// @memberof xccdf_warning
xccdf_warning_category_t xccdf_warning_get_category(const struct xccdf_warning *warning);
/// @memberof xccdf_warning
struct oscap_text *xccdf_warning_get_text(const struct xccdf_warning *warning);
/// @memberof xccdf_refine_rule
const char *  xccdf_refine_rule_get_item(const struct xccdf_refine_rule* rr);
/// @memberof xccdf_refine_rule
const char *  xccdf_refine_rule_get_selector(const struct xccdf_refine_rule* rr);
/// @memberof xccdf_refine_rule
xccdf_role_t  xccdf_refine_rule_get_role(const struct xccdf_refine_rule* rr);
/// @memberof xccdf_refine_rule
xccdf_level_t xccdf_refine_rule_get_severity(const struct xccdf_refine_rule* rr);
/// @memberof xccdf_refine_rule
struct oscap_text_iterator* xccdf_refine_rule_get_remarks(const struct xccdf_refine_rule *rr);
/// @memberof xccdf_refine_rule
xccdf_numeric xccdf_refine_rule_get_weight(const struct xccdf_refine_rule *item);
/// @memberof xccdf_refine_rule
bool xccdf_refine_rule_weight_defined(const struct xccdf_refine_rule *item);
/// @memberof xccdf_refine_value
const char *     xccdf_refine_value_get_item(const struct xccdf_refine_value* rv);
/// @memberof xccdf_refine_value
const char *     xccdf_refine_value_get_selector(const struct xccdf_refine_value* rv);
/// @memberof xccdf_refine_value
xccdf_operator_t xccdf_refine_value_get_oper(const struct xccdf_refine_value* rv);
/// @memberof xccdf_refine_value
struct oscap_text_iterator* xccdf_refine_value_get_remarks(const struct xccdf_refine_value *rv);
/// @memberof xccdf_set_value
const char *xccdf_setvalue_get_item(const struct xccdf_setvalue* sv);
/// @memberof xccdf_set_value
const char *xccdf_setvalue_get_value(const struct xccdf_setvalue* sv);

/// @memberof xccdf_plain_text
const char *xccdf_plain_text_get_id(const struct xccdf_plain_text *item);
/// @memberof xccdf_plain_text
const char *xccdf_plain_text_get_text(const struct xccdf_plain_text *item);

/// @memberof xccdf_result
struct xccdf_benchmark *xccdf_result_get_benchmark(const struct xccdf_result *item);
/// @memberof xccdf_result
const char *xccdf_result_get_id(const struct xccdf_result *item);
/// @memberof xccdf_result
struct oscap_text_iterator *xccdf_result_get_title(const struct xccdf_result *item);
/// @memberof xccdf_result
const char *xccdf_result_get_version(const struct xccdf_result *item);
/// @memberof xccdf_result
struct oscap_string_iterator *xccdf_result_get_platforms(const struct xccdf_result *item);
/// @memberof xccdf_result
struct xccdf_status_iterator *xccdf_result_get_statuses(const struct xccdf_result *item);
/// @memberof xccdf_result
const char *xccdf_result_get_test_system(const struct xccdf_result *item);
/// @memberof xccdf_result
const char *xccdf_result_get_benchmark_uri(const struct xccdf_result *item);
/// @memberof xccdf_result
const char *xccdf_result_get_profile(const struct xccdf_result *item);
/// @memberof xccdf_result
struct xccdf_identity_iterator *xccdf_result_get_identities(const struct xccdf_result *item);
/// @memberof xccdf_result
struct oscap_string_iterator *xccdf_result_get_targets(const struct xccdf_result *item);
/// @memberof xccdf_result
struct oscap_string_iterator *xccdf_result_get_target_addresses(const struct xccdf_result *item);
/// @memberof xccdf_result
struct oscap_string_iterator *xccdf_result_get_applicable_platforms(const struct xccdf_result *item);
/// @memberof xccdf_result
struct oscap_string_iterator *xccdf_result_get_organizations(const struct xccdf_result *item);
/// @memberof xccdf_result
struct oscap_text_iterator *xccdf_result_get_remarks(const struct xccdf_result *item);
/// @memberof xccdf_result
struct xccdf_target_fact_iterator *xccdf_result_get_target_facts(const struct xccdf_result *item);
/// @memberof xccdf_result
struct xccdf_target_identifier_iterator *xccdf_result_get_target_id_refs(const struct xccdf_result *item);
/// @memberof xccdf_result
struct xccdf_setvalue_iterator *xccdf_result_get_setvalues(const struct xccdf_result *item);
/// @memberof xccdf_result
struct xccdf_rule_result_iterator *xccdf_result_get_rule_results(const struct xccdf_result *item);
/// @memberof xccdf_result
struct xccdf_score_iterator *xccdf_result_get_scores(const struct xccdf_result *item);
/// @memberof xccdf_result
const char * xccdf_result_get_start_time(const struct xccdf_result *item);
/// @memberof xccdf_result
const char * xccdf_result_get_end_time(const struct xccdf_result *item);
/// @memberof xccdf_result
struct oscap_string_iterator *xccdf_result_get_metadata(const struct xccdf_result *result);

/**
 * Override the result of rule-result.
 * @memberof xccdf_rule_result
 * @param rule_result The rule-result element to override
 * @param new_result to set
 * @param time The time of override
 * @param authority identifier of person overriding the result
 * @param remark Rationale of the override
 * @returns true on success
 */
bool xccdf_rule_result_override(struct xccdf_rule_result *rule_result, xccdf_test_result_type_t new_result, const char *time, const char *authority, struct oscap_text *remark);

/// @memberof xccdf_rule_result
const char * xccdf_rule_result_get_time(const struct xccdf_rule_result *item);
/// @memberof xccdf_rule_result
xccdf_role_t xccdf_rule_result_get_role(const struct xccdf_rule_result *item);
/// @memberof xccdf_rule_result
float xccdf_rule_result_get_weight(const struct xccdf_rule_result *item);
/// @memberof xccdf_rule_result
xccdf_level_t xccdf_rule_result_get_severity(const struct xccdf_rule_result *item);
/// @memberof xccdf_rule_result
xccdf_test_result_type_t xccdf_rule_result_get_result(const struct xccdf_rule_result *item);
/// @memberof xccdf_rule_result
const char *xccdf_rule_result_get_version(const struct xccdf_rule_result *item);
/// @memberof xccdf_rule_result
const char *xccdf_rule_result_get_idref(const struct xccdf_rule_result *item);
/// @memberof xccdf_rule_result
struct xccdf_ident_iterator *xccdf_rule_result_get_idents(const struct xccdf_rule_result *item);
/// @memberof xccdf_rule_result
struct xccdf_fix_iterator *xccdf_rule_result_get_fixes(const struct xccdf_rule_result *item);
/// @memberof xccdf_rule_result
struct xccdf_check_iterator *xccdf_rule_result_get_checks(const struct xccdf_rule_result *item);
/// @memberof xccdf_rule_result
struct xccdf_override_iterator *xccdf_rule_result_get_overrides(const struct xccdf_rule_result *item);
/// @memberof xccdf_rule_result
struct xccdf_message_iterator *xccdf_rule_result_get_messages(const struct xccdf_rule_result *item);
/// @memberof xccdf_rule_result
struct xccdf_instance_iterator *xccdf_rule_result_get_instances(const struct xccdf_rule_result *item);
/// @memberof xccdf_identity
bool xccdf_identity_get_authenticated(const struct xccdf_identity *item);
/// @memberof xccdf_identity
bool xccdf_identity_get_privileged(const struct xccdf_identity *item);
/// @memberof xccdf_identity
const char *xccdf_identity_get_name(const struct xccdf_identity *item);
/// @memberof xccdf_score
xccdf_numeric xccdf_score_get_maximum(const struct xccdf_score *item);
/// @memberof xccdf_score
xccdf_numeric xccdf_score_get_score(const struct xccdf_score *item);
/// @memberof xccdf_score
const char *xccdf_score_get_system(const struct xccdf_score *item);
/// @memberof xccdf_override
const char *xccdf_override_get_time(const struct xccdf_override *item);
/// @memberof xccdf_override
xccdf_test_result_type_t xccdf_override_get_new_result(const struct xccdf_override *item);
/// @memberof xccdf_override
xccdf_test_result_type_t xccdf_override_get_old_result(const struct xccdf_override *item);
/// @memberof xccdf_override
const char *xccdf_override_get_authority(const struct xccdf_override *item);
/// @memberof xccdf_override
struct oscap_text *xccdf_override_get_remark(const struct xccdf_override *item);
/// @memberof xccdf_message
xccdf_message_severity_t xccdf_message_get_severity(const struct xccdf_message *item);
/// @memberof xccdf_message
const char *xccdf_message_get_content(const struct xccdf_message *item);
/// @memberof xccdf_target_fact
xccdf_value_type_t xccdf_target_fact_get_type(const struct xccdf_target_fact *item);
/// @memberof xccdf_target_fact
const char *xccdf_target_fact_get_value(const struct xccdf_target_fact *item);
/// @memberof xccdf_target_fact
const char *xccdf_target_fact_get_name(const struct xccdf_target_fact *item);
/// @memberof xccdf_target_identifier
void* xccdf_target_identifier_get_xml_node(const struct xccdf_target_identifier *item);
/// @memberof xccdf_target_identifier
const char *xccdf_target_identifier_get_system(const struct xccdf_target_identifier *item);
/// @memberof xccdf_target_identifier
const char *xccdf_target_identifier_get_href(const struct xccdf_target_identifier *item);
/// @memberof xccdf_target_identifier
const char *xccdf_target_identifier_get_name(const struct xccdf_target_identifier *item);
/// @memberof xccdf_instance
const char *xccdf_instance_get_context(const struct xccdf_instance *item);
/// @memberof xccdf_instance
const char *xccdf_instance_get_parent_context(const struct xccdf_instance *item);
/// @memberof xccdf_instance
const char *xccdf_instance_get_content(const struct xccdf_instance *item);
/// @memberof xccdf_tailoring
struct xccdf_tailoring *xccdf_tailoring_import_source(struct oscap_source *source, struct xccdf_benchmark *benchmark);
/*
 * @memberof xccdf_tailoring
 * @deprecated This function has been deprecated by @ref xccdf_tailoring_import_source.
 * This function may be dropped from later versions of the library.
 */
OSCAP_DEPRECATED(struct xccdf_tailoring *xccdf_tailoring_import(const char *file, struct xccdf_benchmark *benchmark));

/// @memberof xccdf_tailoring
const char *xccdf_tailoring_get_id(const struct xccdf_tailoring *tailoring);
/// @memberof xccdf_tailoring
const char *xccdf_tailoring_get_version(const struct xccdf_tailoring *tailoring);
/// @memberof xccdf_tailoring
const char *xccdf_tailoring_get_version_update(const struct xccdf_tailoring *tailoring);
/// @memberof xccdf_tailoring
const char *xccdf_tailoring_get_version_time(const struct xccdf_tailoring *tailoring);
/// @memberof xccdf_tailoring
const char *xccdf_tailoring_get_benchmark_ref(const struct xccdf_tailoring *tailoring);
/// @memberof xccdf_tailoring
const char *xccdf_tailoring_get_benchmark_ref_version(const struct xccdf_tailoring *tailoring);
/// @memberof xccdf_tailoring
struct oscap_string_iterator *xccdf_tailoring_get_metadata(const struct xccdf_tailoring *tailoring);
/// @memberof xccdf_tailoring
struct xccdf_profile_iterator *xccdf_tailoring_get_profiles(const struct xccdf_tailoring *tailoring);
/// @memberof xccdf_tailoring
struct xccdf_status_iterator *xccdf_tailoring_get_statuses(const struct xccdf_tailoring *tailoring);
/// @memberof xccdf_tailoring
struct oscap_reference_iterator *xccdf_tailoring_get_dc_statuses(const struct xccdf_tailoring *tailoring);
/**
 * @param profile_id id of the profile that should be returned or NULL for default profile
 * @note
 * Unlike in XCCDF Benchmark, the default profile from Tailoring element needn't
 * match the "selected" attribute from each individual XCCDF Item.
 * @memberof xccdf_tailoring
 */
struct xccdf_profile *xccdf_tailoring_get_profile_by_id(const struct xccdf_tailoring *tailoring, const char *profile_id);

/************************************************************
 ** @} End of Getters group */

/************************************************************/
/**
 * @name Setters
 * For lists use add functions. Parameters of set functions are duplicated in memory and need to 
 * be freed by caller.
 * @{
 */

/// @memberof xccdf_item
bool xccdf_item_set_weight(struct xccdf_item *item, xccdf_numeric newval);
/// @memberof xccdf_item
bool xccdf_item_set_id(struct xccdf_item *item, const char *newval);
/// @memberof xccdf_item
bool xccdf_item_set_cluster_id(struct xccdf_item *item, const char *newval);
/// @memberof xccdf_item
bool xccdf_item_set_extends(struct xccdf_item *item, const char *newval);
/// @memberof xccdf_item
bool xccdf_item_set_version(struct xccdf_item *item, const char *newval);
/// @memberof xccdf_item
bool xccdf_item_set_version_time(struct xccdf_item *item, const char *newval);
/// @memberof xccdf_item
bool xccdf_item_set_version_update(struct xccdf_item *item, const char *newval);
/// @memberof xccdf_item
bool xccdf_item_set_abstract(struct xccdf_item *item, bool newval);
/// @memberof xccdf_item
bool xccdf_item_set_hidden(struct xccdf_item *item, bool newval);
/// @memberof xccdf_item
bool xccdf_item_set_prohibit_changes(struct xccdf_item *item, bool newval);
/// @memberof xccdf_item
bool xccdf_item_set_selected(struct xccdf_item *item, bool newval);

/// @memberof xccdf_item
bool xccdf_item_add_metadata(struct xccdf_item *item, const char* metadata);

/// @memberof xccdf_benchmark
bool xccdf_benchmark_set_resolved(struct xccdf_benchmark *item, bool newval);

/// @memberof xccdf_benchmark
bool xccdf_benchmark_set_style_href(struct xccdf_benchmark *item, const char *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_set_style(struct xccdf_benchmark *item, const char *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_set_id(struct xccdf_benchmark *item, const char *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_set_version(struct xccdf_benchmark *item, const char *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_set_version_time(struct xccdf_benchmark *item, const char *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_set_version_update(struct xccdf_benchmark *item, const char *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_set_schema_version(struct xccdf_benchmark* item, const struct xccdf_version_info* newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_metadata(struct xccdf_benchmark* item, const char* metadata);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_set_cpe_list(struct xccdf_benchmark* item, struct cpe_dict_model* cpe_list);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_set_cpe_lang_model(struct xccdf_benchmark* item, struct cpe_lang_model* cpe_lang_model);
/// @memberof xccdf_profile
bool xccdf_profile_set_note_tag(struct xccdf_profile *item, const char *newval);
/// @memberof xccdf_profile
bool xccdf_profile_set_id(struct xccdf_profile *item, const char *newval);
/// @memberof xccdf_profile
bool xccdf_profile_set_abstract(struct xccdf_profile *item, bool newval);
/// @memberof xccdf_profile
bool xccdf_profile_set_prohibit_changes(struct xccdf_profile *item, bool newval);
/// @memberof xccdf_profile
bool xccdf_profile_set_extends(struct xccdf_profile *item, const char *newval);
/// @memberof xccdf_profile
bool xccdf_profile_set_version(struct xccdf_profile *item, const char *newval);
/// @memberof xccdf_profile
bool xccdf_profile_set_version_time(struct xccdf_profile *item, const char *newval);
/// @memberof xccdf_profile
bool xccdf_profile_set_version_update(struct xccdf_profile *item, const char *newval);
/// @memberof xccdf_profile
bool xccdf_profile_set_tailoring(struct xccdf_profile *item, bool tailoring);
/// @memberof xccdf_profile
bool xccdf_profile_add_metadata(struct xccdf_profile* item, const char* metadata);

/// @memberof xccdf_rule
bool xccdf_rule_set_id(struct xccdf_rule *item, const char *newval);
/// @memberof xccdf_rule
bool xccdf_rule_set_cluster_id(struct xccdf_rule *item, const char *newval);
/// @memberof xccdf_rule
bool xccdf_rule_set_extends(struct xccdf_rule *item, const char *newval);
/// @memberof xccdf_rule
bool xccdf_rule_set_version(struct xccdf_rule *item, const char *newval);
/// @memberof xccdf_rule
bool xccdf_rule_set_version_time(struct xccdf_rule *item, const char *newval);
/// @memberof xccdf_rule
bool xccdf_rule_set_version_update(struct xccdf_rule *item, const char *newval);
/// @memberof xccdf_rule
bool xccdf_rule_set_abstract(struct xccdf_rule *item, bool newval);
/// @memberof xccdf_rule
bool xccdf_rule_set_hidden(struct xccdf_rule *item, bool newval);
/// @memberof xccdf_rule
bool xccdf_rule_set_prohibit_changes(struct xccdf_rule *item, bool newval);
/// @memberof xccdf_rule
bool xccdf_rule_set_selected(struct xccdf_rule *item, bool newval);
/// @memberof xccdf_rule
bool xccdf_rule_set_multiple(struct xccdf_rule *item, bool newval);
/// @memberof xccdf_rule
//bool xccdf_rule_set_selector(struct xccdf_rule *item, const char * selector);
/// @memberof xccdf_rule
bool xccdf_rule_set_impact_metric(struct xccdf_rule *item, const char *newval);
/// @memberof xccdf_rule
bool xccdf_rule_set_role(struct xccdf_rule *item, xccdf_role_t newval);
/// @memberof xccdf_rule
bool xccdf_rule_set_severity(struct xccdf_rule *item, xccdf_level_t newval);
/// @memberof xccdf_rule
bool xccdf_rule_add_metadata(struct xccdf_rule* item, const char* metadata);

/// @memberof xccdf_group
bool xccdf_group_set_id(struct xccdf_group *item, const char *newval);
/// @memberof xccdf_group
bool xccdf_group_set_cluster_id(struct xccdf_group *item, const char *newval);
/// @memberof xccdf_group
bool xccdf_group_set_extends(struct xccdf_group *item, const char *newval);
/// @memberof xccdf_group
bool xccdf_group_set_version(struct xccdf_group *item, const char *newval);
/// @memberof xccdf_group
bool xccdf_group_set_version_time(struct xccdf_group *item, const char *newval);
/// @memberof xccdf_group
bool xccdf_group_set_version_update(struct xccdf_group *item, const char *newval);
/// @memberof xccdf_group
bool xccdf_group_set_abstract(struct xccdf_group *item, bool newval);
/// @memberof xccdf_group
bool xccdf_group_set_hidden(struct xccdf_group *item, bool newval);
/// @memberof xccdf_group
bool xccdf_group_set_prohibit_changes(struct xccdf_group *item, bool newval);
/// @memberof xccdf_group
bool xccdf_group_set_selected(struct xccdf_group *item, bool newval);
/// @memberof xccdf_group
bool xccdf_group_add_metadata(struct xccdf_group* item, const char* metadata);

/// @memberof xccdf_value
bool xccdf_value_set_id(struct xccdf_value *item, const char *newval);
/// @memberof xccdf_value
bool xccdf_value_set_cluster_id(struct xccdf_value *item, const char *newval);
/// @memberof xccdf_value
bool xccdf_value_set_extends(struct xccdf_value *item, const char *newval);
/// @memberof xccdf_value
bool xccdf_value_set_version(struct xccdf_value *item, const char *newval);
/// @memberof xccdf_value
bool xccdf_value_set_version_time(struct xccdf_value *item, const char *newval);
/// @memberof xccdf_value
bool xccdf_value_set_version_update(struct xccdf_value *item, const char *newval);
/// @memberof xccdf_value
bool xccdf_value_set_abstract(struct xccdf_value *item, bool newval);
/// @memberof xccdf_value
bool xccdf_value_set_hidden(struct xccdf_value *item, bool newval);
/// @memberof xccdf_value
bool xccdf_value_set_multiple(struct xccdf_value *item, bool newval);
/// @memberof xccdf_value
bool xccdf_value_set_prohibit_changes(struct xccdf_value *item, bool newval);
/// @memberof xccdf_value
bool xccdf_value_set_oper(struct xccdf_value * item, xccdf_operator_t oper);
/// @memberof xccdf_value
bool xccdf_value_set_interactive(struct xccdf_value *item, bool newval);
/// @memberof xccdf_value
bool xccdf_value_add_metadata(struct xccdf_value* item, const char* metadata);

/// @memberof xccdf_status
bool xccdf_status_set_date(struct xccdf_status *obj, time_t newval);
/// @memberof xccdf_status
bool xccdf_status_set_status(struct xccdf_status *obj, xccdf_status_type_t newval);

/// @memberof xccdf_notice
bool xccdf_notice_set_id(struct xccdf_notice *obj, const char *newval);
/// @memberof xccdf_notice
bool xccdf_notice_set_text(struct xccdf_notice *obj, struct oscap_text *newval);

/// @memberof xccdf_model
bool xccdf_model_set_system(struct xccdf_model *obj, const char *newval);

/// @memberof xccdf_check
bool xccdf_check_set_id(struct xccdf_check *obj, const char *newval);
/// @memberof xccdf_check
bool xccdf_check_set_system(struct xccdf_check *obj, const char *newval);
/// @memberof xccdf_check
bool xccdf_check_set_selector(struct xccdf_check *obj, const char *newval);
/// @memberof xccdf_check
bool xccdf_check_set_content(struct xccdf_check *obj, const char *newval);
/// @memberof xccdf_check
bool xccdf_check_set_oper(struct xccdf_check *obj, xccdf_bool_operator_t newval);
/// @memberof xccdf_check
bool xccdf_check_set_multicheck(struct xccdf_check *obj, bool newval);
/// @memberof xccdf_check
bool xccdf_check_set_negate(struct xccdf_check *obj, bool newval);

/// @memberof xccdf_check_content_ref
bool xccdf_check_content_ref_set_name(struct xccdf_check_content_ref *obj, const char *newval);
/// @memberof xccdf_check_content_ref
bool xccdf_check_content_ref_set_href(struct xccdf_check_content_ref *obj, const char *newval);

/// @memberof xccdf_profile_note
bool xccdf_profile_note_set_reftag(struct xccdf_profile_note *obj, const char *newval);
/// @memberof xccdf_profile_note
bool xccdf_profile_note_set_text(struct xccdf_profile_note *obj, struct oscap_text *newval);

/// @memberof xccdf_check_import
bool xccdf_check_import_set_name(struct xccdf_check_import *obj, const char *newval);
/// @memberof xccdf_check_import
bool xccdf_check_import_set_xpath(struct xccdf_check_import *obj, const char *newval);
/// @memberof xccdf_check_import
bool xccdf_check_import_set_content(struct xccdf_check_import *obj, const char *newval);

/// @memberof xccdf_check_export
bool xccdf_check_export_set_name(struct xccdf_check_export *obj, const char *newval);
/// @memberof xccdf_check_export
bool xccdf_check_export_set_value(struct xccdf_check_export *obj, const char *newval);

/// @memberof xccdf_fix
bool xccdf_fix_set_strategy(struct xccdf_fix *obj, xccdf_strategy_t newval);
/// @memberof xccdf_fix
bool xccdf_fix_set_disruption(struct xccdf_fix *obj, xccdf_level_t newval);
/// @memberof xccdf_fix
bool xccdf_fix_set_complexity(struct xccdf_fix *obj, xccdf_level_t newval);
/// @memberof xccdf_fix
bool xccdf_fix_set_reboot(struct xccdf_fix *obj, bool newval);
/// @memberof xccdf_fix
bool xccdf_fix_set_content(struct xccdf_fix *obj, const char *newval);
/// @memberof xccdf_fix
bool xccdf_fix_set_system(struct xccdf_fix *obj, const char *newval);
/// @memberof xccdf_fix
bool xccdf_fix_set_platform(struct xccdf_fix *obj, const char *newval);
/// @memberof xccdf_fix
bool xccdf_fix_set_id(struct xccdf_fix *obj, const char *newval);

/// @memberof xccdf_fixtext
bool xccdf_fixtext_set_strategy(struct xccdf_fixtext *obj, xccdf_strategy_t newval);
/// @memberof xccdf_fixtext
bool xccdf_fixtext_set_disruption(struct xccdf_fixtext *obj, xccdf_level_t newval);
/// @memberof xccdf_fixtext
bool xccdf_fixtext_set_complexity(struct xccdf_fixtext *obj, xccdf_level_t newval);
/// @memberof xccdf_fixtext
bool xccdf_fixtext_set_reboot(struct xccdf_fixtext *obj, bool newval);
/// @memberof xccdf_fixtext
bool xccdf_fixtext_set_text(struct xccdf_fixtext *obj, struct oscap_text *newval);
/// @memberof xccdf_fixtext
bool xccdf_fixtext_set_fixref(struct xccdf_fixtext *obj, const char *newval);

/// @memberof xccdf_select
bool xccdf_select_set_item(struct xccdf_select *obj, const char *newval);
/// @memberof xccdf_select
bool xccdf_select_set_selected(struct xccdf_select *obj, bool newval);

/// @memberof xccdf_warning
bool xccdf_warning_set_category(struct xccdf_warning *obj, xccdf_warning_category_t newval);
/// @memberof xccdf_warning
bool xccdf_warning_set_text(struct xccdf_warning *obj, struct oscap_text *newval);
/// @memberof xccdf_refine_rule
struct xccdf_refine_rule *xccdf_refine_rule_new(void);

/// @memberof xccdf_refine_rule
struct xccdf_refine_rule * xccdf_refine_rule_clone(const struct xccdf_refine_rule * old_rule);
/// @memberof xccdf_refine_rule
bool xccdf_refine_rule_set_item(struct xccdf_refine_rule *obj, const char *newval);
/// @memberof xccdf_refine_rule
bool xccdf_refine_rule_set_selector(struct xccdf_refine_rule *obj, const char *newval);
/// @memberof xccdf_refine_rule
bool xccdf_refine_rule_set_role(struct xccdf_refine_rule *obj, xccdf_role_t newval);
/// @memberof xccdf_refine_rule
bool xccdf_refine_rule_set_severity(struct xccdf_refine_rule *obj, xccdf_level_t newval);
/// @memberof xccdf_refine_rule
bool xccdf_refine_rule_set_weight(struct xccdf_refine_rule *obj, xccdf_numeric newval);

/// @memberof xccdf_refine_value
struct xccdf_refine_value *xccdf_refine_value_new(void);
/// @memberof xccdf_refine_value
struct xccdf_refine_value * xccdf_refine_value_clone(const struct xccdf_refine_value * old_value);
/// @memberof xccdf_refine_value
bool xccdf_refine_value_set_item(struct xccdf_refine_value *obj, const char *newval);
/// @memberof xccdf_refine_value
bool xccdf_refine_value_set_selector(struct xccdf_refine_value *obj, const char *newval);
/// @memberof xccdf_refine_value
bool xccdf_refine_value_set_oper(struct xccdf_refine_value *obj, xccdf_operator_t newval);

/// @memberof xccdf_set_value
struct xccdf_setvalue *xccdf_setvalue_new(void);
/// @memberof xccdf_set_value
struct xccdf_setvalue * xccdf_setvalue_clone(const struct xccdf_setvalue * old_value);
/// @memberof xccdf_set_value
bool xccdf_setvalue_set_item(struct xccdf_setvalue *obj, const char *newval);
/// @memberof xccdf_set_value
bool xccdf_setvalue_set_value(struct xccdf_setvalue *obj, const char *newval);
/// @memberof xccdf_plain_text
bool xccdf_plain_text_set_id(struct xccdf_plain_text *obj, const char *newval);
/// @memberof xccdf_plain_text
bool xccdf_plain_text_set_text(struct xccdf_plain_text *obj, const char *newval);

/// @memberof xccdf_result
bool xccdf_result_set_id(struct xccdf_result *item, const char *newval);
/// @memberof xccdf_result
bool xccdf_result_set_test_system(struct xccdf_result *item, const char *newval);
/// @memberof xccdf_result
bool xccdf_result_set_benchmark_uri(struct xccdf_result *item, const char *newval);
/// @memberof xccdf_result
bool xccdf_result_set_profile(struct xccdf_result *item, const char *newval);
/// @memberof xccdf_result
bool xccdf_result_set_start_time(struct xccdf_result *item, const char *newval);
/// @memberof xccdf_result
bool xccdf_result_set_end_time(struct xccdf_result *item, const char *newval);
/// @memberof xccdf_result
bool xccdf_result_set_version(struct xccdf_result *item, const char *newval);
/// @memberof xccdf_result
bool xccdf_result_add_metadata(struct xccdf_result *item, const char *metadata);

/// @memberof xccdf_rule_result
bool xccdf_rule_result_set_time(struct xccdf_rule_result *obj, const char *newval);
/// @memberof xccdf_rule_result
bool xccdf_rule_result_set_role(struct xccdf_rule_result *obj, xccdf_role_t newval);
/// @memberof xccdf_rule_result
bool xccdf_rule_result_set_weight(struct xccdf_rule_result *obj, float newval);
/// @memberof xccdf_rule_result
bool xccdf_rule_result_set_severity(struct xccdf_rule_result *obj, xccdf_level_t newval);
/// @memberof xccdf_rule_result
bool xccdf_rule_result_set_result(struct xccdf_rule_result *obj, xccdf_test_result_type_t newval);
/// @memberof xccdf_rule_result
bool xccdf_rule_result_set_version(struct xccdf_rule_result *obj, const char *newval);
/// @memberof xccdf_rule_result
bool xccdf_rule_result_set_idref(struct xccdf_rule_result *obj, const char *newval);

/// @memberof xccdf_identity
bool xccdf_identity_set_authenticated(struct xccdf_identity *obj, bool newval);
/// @memberof xccdf_identity
bool xccdf_identity_set_privileged(struct xccdf_identity *obj, bool newval);
/// @memberof xccdf_identity
bool xccdf_identity_set_name(struct xccdf_identity *obj, const char *newval);

/// @memberof xccdf_score
bool xccdf_score_set_maximum(struct xccdf_score *obj, xccdf_numeric newval);
/// @memberof xccdf_score
bool xccdf_score_set_score(struct xccdf_score *obj, xccdf_numeric newval);
/// @memberof xccdf_score
bool xccdf_score_set_system(struct xccdf_score *obj, const char *newval);

/// @memberof xccdf_override
bool xccdf_override_set_time(struct xccdf_override *obj, const char *newval);
/// @memberof xccdf_override
bool xccdf_override_set_new_result(struct xccdf_override *obj, xccdf_test_result_type_t newval);
/// @memberof xccdf_override
bool xccdf_override_set_old_result(struct xccdf_override *obj, xccdf_test_result_type_t newval);
/// @memberof xccdf_override
bool xccdf_override_set_authority(struct xccdf_override *obj, const char *newval);
/// @memberof xccdf_override
bool xccdf_override_set_remark(struct xccdf_override *obj, struct oscap_text *newval);

/// @memberof xccdf_message
bool xccdf_message_set_severity(struct xccdf_message *obj, xccdf_message_severity_t newval);
/// @memberof xccdf_message
bool xccdf_message_set_content(struct xccdf_message *obj, const char *newval);

/// @memberof xccdf_target_fact
bool xccdf_target_fact_set_string(struct xccdf_target_fact *fact, const char *str);
/// @memberof xccdf_target_fact
bool xccdf_target_fact_set_number(struct xccdf_target_fact *fact, xccdf_numeric val);
/// @memberof xccdf_target_fact
bool xccdf_target_fact_set_boolean(struct xccdf_target_fact *fact, bool val);
/// @memberof xccdf_target_fact
bool xccdf_target_fact_set_name(struct xccdf_target_fact *obj, const char *newval);

/// @memberof xccdf_target_identifier
bool xccdf_target_identifier_set_xml_node(struct xccdf_target_identifier *ti, void* node);
/// @memberof xccdf_target_identifier
bool xccdf_target_identifier_set_system(struct xccdf_target_identifier *ti, const char *newval);
/// @memberof xccdf_target_identifier
bool xccdf_target_identifier_set_href(struct xccdf_target_identifier *ti, const char *newval);
/// @memberof xccdf_target_identifier
bool xccdf_target_identifier_set_name(struct xccdf_target_identifier *ti, const char *newval);

/// @memberof xccdf_instance
bool xccdf_instance_set_context(struct xccdf_instance *obj, const char *newval);
/// @memberof xccdf_instance
bool xccdf_instance_set_parent_context(struct xccdf_instance *obj, const char *newval);
/// @memberof xccdf_instance
bool xccdf_instance_set_content(struct xccdf_instance *obj, const char *newval);

/// @memberof xccdf_tailoring
bool xccdf_tailoring_set_id(struct xccdf_tailoring *tailoring, const char* newval);
/// @memberof xccdf_tailoring
bool xccdf_tailoring_set_version(struct xccdf_tailoring *tailoring, const char* newval);
/// @memberof xccdf_tailoring
bool xccdf_tailoring_set_version_update(struct xccdf_tailoring *tailoring, const char *newval);
/// @memberof xccdf_tailoring
bool xccdf_tailoring_set_version_time(struct xccdf_tailoring *tailoring, const char *newval);
/// @memberof xccdf_tailoring
bool xccdf_tailoring_set_benchmark_ref(struct xccdf_tailoring *tailoring, const char *newval);
/// @memberof xccdf_tailoring
bool xccdf_tailoring_set_benchmark_ref_version(struct xccdf_tailoring *tailoring, const char *newval);

/// @memberof xccdf_tailoring
bool xccdf_tailoring_add_profile(struct xccdf_tailoring *tailoring, struct xccdf_profile *profile);
/**
 * Removes given profile from tailoring.
 *
 * The profile must not be an ancestor of any other profile in tailoring.
 * If it is this function will fail to remove the profile and signal the error.
 *
 * This function does NOT notify xccdf_session, xccdf_policy or xccdf_policy_model
 * of this change. You are responsible for refreshing the higher-level structures yourself!
 *
 * @note User is responsible for freeing the profile!
 * @memberof xccdf_tailoring
 */
bool xccdf_tailoring_remove_profile(struct xccdf_tailoring *tailoring, struct xccdf_profile *profile);
/// @memberof xccdf_tailoring
bool xccdf_tailoring_resolve(struct xccdf_tailoring *tailoring, struct xccdf_benchmark *benchmark);

// @memberof xccdf_ident
void xccdf_ident_set_id(struct xccdf_ident * ident, const char *id);
// @memberof xccdf_ident
void xccdf_ident_set_system(struct xccdf_ident * ident, const char *sys);

/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_result(struct xccdf_benchmark *bench, struct xccdf_result *result);

/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_description(struct xccdf_benchmark *item, struct oscap_text *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_platform(struct xccdf_benchmark *item, const char *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_reference(struct xccdf_benchmark *item, struct oscap_reference *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_status(struct xccdf_benchmark *item, struct xccdf_status *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_dc_status(struct xccdf_benchmark *item, struct oscap_reference *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_title(struct xccdf_benchmark *item, struct oscap_text *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_front_matter(struct xccdf_benchmark *item, struct oscap_text *newval);
/// @memberof xccdf_benchmark
//bool xccdf_benchmark_add_item(struct xccdf_benchmark *item, struct xccdf_item *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_model(struct xccdf_benchmark *item, struct xccdf_model *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_notice(struct xccdf_benchmark *item, struct xccdf_notice *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_plain_text(struct xccdf_benchmark *item, struct xccdf_plain_text *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_profile(struct xccdf_benchmark *item, struct xccdf_profile *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_rear_matter(struct xccdf_benchmark *item, struct oscap_text *newval);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_rule(struct xccdf_benchmark *benchmark, struct xccdf_rule *rule);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_group(struct xccdf_benchmark *benchmark, struct xccdf_group *group);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_value(struct xccdf_benchmark *benchmark, struct xccdf_value *value);
/// @memberof xccdf_benchmark
bool xccdf_benchmark_add_content(struct xccdf_benchmark *bench, struct xccdf_item *item);

/// @memberof xccdf_profile
bool xccdf_profile_add_select(struct xccdf_profile *item, struct xccdf_select *newval);
/// @memberof xccdf_profile
bool xccdf_profile_add_setvalue(struct xccdf_profile *item, struct xccdf_setvalue *newval);
/// @memberof xccdf_profile
bool xccdf_profile_add_refine_value(struct xccdf_profile *item, struct xccdf_refine_value *newval);
/// @memberof xccdf_profile
bool xccdf_profile_add_refine_rule(struct xccdf_profile *item, struct xccdf_refine_rule *newval);

/// @memberof xccdf_profile
bool xccdf_profile_add_description(struct xccdf_profile *item, struct oscap_text *newval);
/// @memberof xccdf_profile
bool xccdf_profile_add_platform(struct xccdf_profile *item, const char *newval);
/// @memberof xccdf_profile
bool xccdf_profile_add_reference(struct xccdf_profile *item, struct oscap_reference *newval);
/// @memberof xccdf_profile
bool xccdf_profile_add_status(struct xccdf_profile *item, struct xccdf_status *newval);
/// @memberof xccdf_profile
bool xccdf_profile_add_dc_status(struct xccdf_profile *item, struct oscap_reference *newval);
/// @memberof xccdf_profile
bool xccdf_profile_add_title(struct xccdf_profile *item, struct oscap_text *newval);

/// @memberof xccdf_rule
bool xccdf_rule_add_description(struct xccdf_rule *item, struct oscap_text *newval);
/// @memberof xccdf_rule
bool xccdf_rule_add_platform(struct xccdf_rule *item, const char *newval);
/// @memberof xccdf_rule
bool xccdf_rule_add_question(struct xccdf_rule *item, struct oscap_text *newval);
/// @memberof xccdf_rule
bool xccdf_rule_add_rationale(struct xccdf_rule *item, struct oscap_text *newval);
/// @memberof xccdf_rule
bool xccdf_rule_add_reference(struct xccdf_rule *item, struct oscap_reference *newval);
/// @memberof xccdf_rule
bool xccdf_rule_add_status(struct xccdf_rule *item, struct xccdf_status *newval);
/// @memberof xccdf_rule
bool xccdf_rule_add_dc_status(struct xccdf_rule *item, struct oscap_reference *newval);
/// @memberof xccdf_rule
bool xccdf_rule_add_title(struct xccdf_rule *item, struct oscap_text *newval);
/// @memberof xccdf_rule
bool xccdf_rule_add_warning(struct xccdf_rule *item, struct xccdf_warning *newval);
/// @memberof xccdf_rule
bool xccdf_rule_add_ident(struct xccdf_rule *item, struct xccdf_ident *newval);
/// @memberof xccdf_rule
bool xccdf_rule_add_check(struct xccdf_rule *item, struct xccdf_check *newval);
/// @memberof xccdf_rule
bool xccdf_rule_add_profile_note(struct xccdf_rule *item, struct xccdf_profile_note *newval);
/// @memberof xccdf_rule
bool xccdf_rule_add_fix(struct xccdf_rule *item, struct xccdf_fix *newval);
/// @memberof xccdf_rule
bool xccdf_rule_add_fixtext(struct xccdf_rule *item, struct xccdf_fixtext *newval);

/// @memberof xccdf_group
bool xccdf_group_add_description(struct xccdf_group *item, struct oscap_text *newval);
/// @memberof xccdf_group
bool xccdf_group_add_platform(struct xccdf_group *item, const char *newval);
/// @memberof xccdf_group
bool xccdf_group_add_question(struct xccdf_group *item, struct oscap_text *newval);
/// @memberof xccdf_group
bool xccdf_group_add_rationale(struct xccdf_group *item, struct oscap_text *newval);
/// @memberof xccdf_group
bool xccdf_group_add_reference(struct xccdf_group *item, struct oscap_reference *newval);
/// @memberof xccdf_group
bool xccdf_group_add_status(struct xccdf_group *item, struct xccdf_status *newval);
/// @memberof xccdf_group
bool xccdf_group_add_dc_status(struct xccdf_group *item, struct oscap_reference *newval);
/// @memberof xccdf_group
bool xccdf_group_add_title(struct xccdf_group *item, struct oscap_text *newval);
/// @memberof xccdf_group
bool xccdf_group_add_warning(struct xccdf_group *item, struct xccdf_warning *newval);
/// @memberof xccdf_group
bool xccdf_group_add_rule(struct xccdf_group *group, struct xccdf_rule *item);
/// @memberof xccdf_group
bool xccdf_group_add_group(struct xccdf_group *group, struct xccdf_group *item);
/// @memberof xccdf_group
bool xccdf_group_add_value(struct xccdf_group *group, struct xccdf_value *item);
/// @memberof xccdf_group
bool xccdf_group_add_content(struct xccdf_group *rule, struct xccdf_item *item);

/// @memberof xccdf_value
bool xccdf_value_add_description(struct xccdf_value *item, struct oscap_text *newval);
/// @memberof xccdf_value
bool xccdf_value_add_question(struct xccdf_value *item, struct oscap_text *newval);
/// @memberof xccdf_value
bool xccdf_value_add_reference(struct xccdf_value *item, struct oscap_reference *newval);
/// @memberof xccdf_value
bool xccdf_value_add_status(struct xccdf_value *item, struct xccdf_status *newval);
/// @memberof xccdf_value
bool xccdf_value_add_dc_status(struct xccdf_value *item, struct oscap_reference *newval);
/// @memberof xccdf_value
bool xccdf_value_add_title(struct xccdf_value *item, struct oscap_text *newval);
/// @memberof xccdf_value
bool xccdf_value_add_warning(struct xccdf_value *item, struct xccdf_warning *newval);

/// @memberof xccdf_check
bool xccdf_check_add_import(struct xccdf_check *obj, struct xccdf_check_import *item);
/// @memberof xccdf_check
bool xccdf_check_add_export(struct xccdf_check *obj, struct xccdf_check_export *item);
/// @memberof xccdf_check
bool xccdf_check_add_content_ref(struct xccdf_check *obj, struct xccdf_check_content_ref *item);
/// @memberof xccdf_check
bool xccdf_check_add_child(struct xccdf_check *obj, struct xccdf_check *item);
/// @memberof xccdf_select
bool xccdf_select_add_remark(struct xccdf_select *obj, struct oscap_text *item);
/// @memberof xccdf_refine_value
bool xccdf_refine_value_add_remark(struct xccdf_refine_value *obj, struct oscap_text *item);
/// @memberof xccdf_result
bool xccdf_result_add_rule_result(struct xccdf_result *item, struct xccdf_rule_result *newval);
/// @memberof xccdf_result
bool xccdf_result_add_setvalue(struct xccdf_result *item, struct xccdf_setvalue *newval);
/// @memberof xccdf_result
bool xccdf_result_add_target_fact(struct xccdf_result *item, struct xccdf_target_fact *newval);
/// @memberof xccdf_result
bool xccdf_result_add_target_identifier(struct xccdf_result *item, struct xccdf_target_identifier *newval);
/// @memberof xccdf_result
bool xccdf_result_add_applicable_platform(struct xccdf_result *item, const char *newval);
/// @memberof xccdf_result
bool xccdf_result_add_remark(struct xccdf_result *item, struct oscap_text *newval);
/// @memberof xccdf_result
bool xccdf_result_add_organization(struct xccdf_result *item, const char *newval);
/// @memberof xccdf_result
bool xccdf_result_add_target(struct xccdf_result *item, const char *newval);
/// @memberof xccdf_result
bool xccdf_result_add_identity(struct xccdf_result *item, struct xccdf_identity *newval);
/// @memberof xccdf_result
bool xccdf_result_add_score(struct xccdf_result *item, struct xccdf_score *newval);
/// @memberof xccdf_result
bool xccdf_result_add_title(struct xccdf_result *item, struct oscap_text *newval);
/// @memberof xccdf_result
bool xccdf_result_add_target_address(struct xccdf_result *item, const char *newval);
/// @memberof xccdf_result
bool xccdf_result_add_applicable_platform(struct xccdf_result *item, const char *newval);
/// @memberof xccdf_result
int xccdf_result_recalculate_scores(struct xccdf_result *result, struct xccdf_item *benchmark);
/// @memberof xccdf_rule_result
bool xccdf_rule_result_add_ident(struct xccdf_rule_result *obj, struct xccdf_ident *item);
/// @memberof xccdf_rule_result
bool xccdf_rule_result_add_fix(struct xccdf_rule_result *obj, struct xccdf_fix *item);
/// @memberof xccdf_rule_result
bool xccdf_rule_result_add_check(struct xccdf_rule_result *obj, struct xccdf_check *item);
/// @memberof xccdf_rule_result
bool xccdf_rule_result_add_override(struct xccdf_rule_result *obj, struct xccdf_override *item);
/// @memberof xccdf_rule_result
bool xccdf_rule_result_add_message(struct xccdf_rule_result *obj, struct xccdf_message *item);
/// @memberof xccdf_rule_result
bool xccdf_rule_result_add_instance(struct xccdf_rule_result *obj, struct xccdf_instance *item);
/// @memberof xccdf_item
bool xccdf_item_add_description(struct xccdf_item *item, struct oscap_text *newval);
/// @memberof xccdf_item
bool xccdf_item_add_platform(struct xccdf_item *item, const char *newval);
/// @memberof xccdf_item
bool xccdf_item_add_question(struct xccdf_item *item, struct oscap_text *newval);
/// @memberof xccdf_item
bool xccdf_item_add_rationale(struct xccdf_item *item, struct oscap_text *newval);
/// @memberof xccdf_item
bool xccdf_item_add_reference(struct xccdf_item *item, struct oscap_reference *newval);
/// @memberof xccdf_item
bool xccdf_item_add_dc_status(struct xccdf_item *item, struct oscap_reference *newval);
/// @memberof xccdf_item
bool xccdf_item_add_status(struct xccdf_item *item, struct xccdf_status *newval);
/// @memberof xccdf_item
bool xccdf_item_add_title(struct xccdf_item *item, struct oscap_text *newval);
/// @memberof xccdf_item
bool xccdf_item_add_warning(struct xccdf_item *item, struct xccdf_warning *newval);
/// @memberof xccdf_refine_rule
bool xccdf_refine_rule_add_remark(struct xccdf_refine_rule *obj, struct oscap_text *item);

/// @memberof xccdf_rule
bool xccdf_rule_add_requires(struct xccdf_rule *rule, struct oscap_stringlist *requires);
/// @memberof xccdf_group
bool xccdf_group_add_requires(struct xccdf_group *group, struct oscap_stringlist *requires);
/// @memberof xccdf_item
bool xccdf_item_add_requires(struct xccdf_item *item, struct oscap_stringlist *requires);
/// @memberof xccdf_rule
bool xccdf_rule_add_conflicts(struct xccdf_rule *rule, const char *conflicts);
/// @memberof xccdf_group
bool xccdf_group_add_conflicts(struct xccdf_group *group, const char *conflicts);
/// @memberof xccdf_item
bool xccdf_item_add_conflicts(struct xccdf_item *item, const char *conflicts);

/************************************************************
 ** @} End of Setters group */

// remove operations

/// @memberof xccdf_notice_iterator
void xccdf_notice_iterator_remove(struct xccdf_notice_iterator *it);
/// @memberof xccdf_model_iterator
void xccdf_model_iterator_remove(struct xccdf_model_iterator *it);
/// @memberof xccdf_profile_iterator
void xccdf_profile_iterator_remove(struct xccdf_profile_iterator *it);
/// @memberof xccdf_item_iterator
void xccdf_item_iterator_remove(struct xccdf_item_iterator *it);
/// @memberof xccdf_status_iterator
void xccdf_status_iterator_remove(struct xccdf_status_iterator *it);
/// @memberof xccdf_profile_note_iterator
void xccdf_profile_note_iterator_remove(struct xccdf_profile_note_iterator *it);
/// @memberof xccdf_refine_value_iterator
void xccdf_refine_value_iterator_remove(struct xccdf_refine_value_iterator *it);
/// @memberof xccdf_refine_rule_iterator
void xccdf_refine_rule_iterator_remove(struct xccdf_refine_rule_iterator *it);
/// @memberof xccdf_setvalue_iterator
void xccdf_setvalue_iterator_remove(struct xccdf_setvalue_iterator *it);
/// @memberof xccdf_select_iterator
void xccdf_select_iterator_remove(struct xccdf_select_iterator *it);
/// @memberof xccdf_ident_iterator
void xccdf_ident_iterator_remove(struct xccdf_ident_iterator *it);
/// @memberof xccdf_check_content_ref_iterator
void xccdf_check_content_ref_iterator_remove(struct xccdf_check_content_ref_iterator *it);
/// @memberof xccdf_check_export_iterator
void xccdf_check_export_iterator_remove(struct xccdf_check_export_iterator *it);
/// @memberof xccdf_check_import_iterator
void xccdf_check_import_iterator_remove(struct xccdf_check_import_iterator *it);
/// @memberof xccdf_check_iterator
void xccdf_check_iterator_remove(struct xccdf_check_iterator *it);
/// @memberof xccdf_fixtext_iterator
void xccdf_fixtext_iterator_remove(struct xccdf_fixtext_iterator *it);
/// @memberof xccdf_fix_iterator
void xccdf_fix_iterator_remove(struct xccdf_fix_iterator *it);
/// @memberof xccdf_value_iterator
void xccdf_value_iterator_remove(struct xccdf_value_iterator *it);
/// @memberof xccdf_plain_text_iterator
void xccdf_plain_text_iterator_remove(struct xccdf_plain_text_iterator *it);
/// @memberof xccdf_warning_iterator
void xccdf_warning_iterator_remove(struct xccdf_warning_iterator *it);
/// @memberof xccdf_result_iterator
void xccdf_result_iterator_remove(struct xccdf_result_iterator *it);
/// @memberof xccdf_override_iterator
void xccdf_override_iterator_remove(struct xccdf_override_iterator *it);
/// @memberof xccdf_message_iterator
void xccdf_message_iterator_remove(struct xccdf_message_iterator *it);
/// @memberof xccdf_instance_iterator
void xccdf_instance_iterator_remove(struct xccdf_instance_iterator *it);
/// @memberof xccdf_rule_result_iterator
void xccdf_rule_result_iterator_remove(struct xccdf_rule_result_iterator *it);
/// @memberof xccdf_identity_iterator
void xccdf_identity_iterator_remove(struct xccdf_identity_iterator *it);
/// @memberof xccdf_score_iterator
void xccdf_score_iterator_remove(struct xccdf_score_iterator *it);
/// @memberof xccdf_target_fact_iterator
void xccdf_target_fact_iterator_remove(struct xccdf_target_fact_iterator *it);
/// @memberof xccdf_target_identifier_iterator
void xccdf_target_identifier_iterator_remove(struct xccdf_target_identifier_iterator *it);
/// @memberof xccdf_value_instance_iterator
void xccdf_value_instance_iterator_remove(struct xccdf_value_instance_iterator *it);


// textual substitution interface

/**
 * Type of textual substitution
 * @deprecated This type is deprecated. It is not flexible enough to be applied on XCCDF 1.2+
 * documents. Please use @ref xml_iterate module instead.
 */
typedef enum xccdf_subst_type {
    XCCDF_SUBST_NONE,
    XCCDF_SUBST_SUB,       ///< substitute cdf:sub element
    XCCDF_SUBST_LINK,      ///< substitute a hyperlink
    XCCDF_SUBST_INSTANCE   ///< substitute cdf:instance element
} xccdf_subst_type_t;

/**
 * Textual substitution callback.
 * This function is supposed to return textual representation of the substitution with given ID.
 * @param type Type of the substitution
 * @param id   ID of the object to be substituted
 * @param arg  arbitrary user-defined argument
 * @return     newly allocated substitution string (will be free'd)
 * @deprecated This callback has been deprecated. It cannot be applied on XCCDF 1.2+ documents
 * given the xccdf:sub/@use parameter.
 */
typedef char*(*xccdf_substitution_func)(xccdf_subst_type_t type, const char *id, void *arg);


/**
 * Perform a textual substitution.
 * Calls @a cb on each substitution (e.g. a cdf:sub element) of @a text and returns a string with substitutions done.
 * @param text source text
 * @param cb substitution callback
 * @param arg arbitrary argument to be passed to he callback
 * @return substituted string (it is up to the caller to free it)
 * @deprecated This function has been deprecated. It cannot be applied on XCCDF 1.2+ documents
 * given the xccdf:sub/@use parameter.
 */
OSCAP_DEPRECATED(char* oscap_text_xccdf_substitute(const char *text, xccdf_substitution_func cb, void *arg));

/************************************************************/
/** @} End of XCCDF group */
/// @}

#endif