| 1 | /* |
| 2 | * Copyright 2009--2013 Red Hat Inc., Durham, North Carolina. |
| 3 | * All Rights Reserved. |
| 4 | * |
| 5 | * This library is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU Lesser General Public |
| 7 | * License as published by the Free Software Foundation; either |
| 8 | * version 2.1 of the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This library is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | * Lesser General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU Lesser General Public |
| 16 | * License along with this library; if not, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | * |
| 19 | * Authors: |
| 20 | * Lukas Kuklinek <[email protected]> |
| 21 | */ |
| 22 | |
| 23 | #ifndef XCCDF_ITEM_ |
| 24 | #define XCCDF_ITEM_cxx . . $ `src/XCCDF/item.h:24:9`! |
| 25 | |
| 26 | #include <assert.h> |
| 27 | |
| 28 | #include "public/xccdf_benchmark.h"cxx . . $ `<file>/src/XCCDF/public/xccdf_benchmark.h`/ |
| 29 | #include "elements.h"cxx . . $ `<file>/src/XCCDF/elements.h`/ |
| 30 | |
| 31 | #include "common/reference_priv.h"cxx . . $ `<file>/src/common/reference_priv.h`/ |
| 32 | #include "common/list.h"cxx . . $ `<file>/src/common/list.h`/ |
| 33 | #include "common/util.h"cxx . . $ `<file>/src/common/util.h`/ |
| 34 | #include "common/text_priv.h"cxx . . $ `<file>/src/common/text_priv.h`/ |
| 35 | |
| 36 | |
| 37 | struct xccdf_flagscxx . . $ xccdf_flags# { |
| 38 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! selectedcxx . . $ xccdf_flags#selected.:1; |
| 39 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! hiddencxx . . $ xccdf_flags#hidden.:1; |
| 40 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! resolvedcxx . . $ xccdf_flags#resolved.:1; |
| 41 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! abstractcxx . . $ xccdf_flags#abstract.:1; |
| 42 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! prohibit_changescxx . . $ xccdf_flags#prohibit_changes.:1; |
| 43 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! interactivecxx . . $ xccdf_flags#interactive.:1; |
| 44 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! multiplecxx . . $ xccdf_flags#multiple.:1; |
| 45 | }; |
| 46 | |
| 47 | struct xccdf_defflagscxx . . $ xccdf_defflags# { |
| 48 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! selectedcxx . . $ xccdf_defflags#selected.:1; |
| 49 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! hiddencxx . . $ xccdf_defflags#hidden.:1; |
| 50 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! resolvedcxx . . $ xccdf_defflags#resolved.:1; |
| 51 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! abstractcxx . . $ xccdf_defflags#abstract.:1; |
| 52 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! prohibit_changescxx . . $ xccdf_defflags#prohibit_changes.:1; |
| 53 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! interactivecxx . . $ xccdf_defflags#interactive.:1; |
| 54 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! multiplecxx . . $ xccdf_defflags#multiple.:1; |
| 55 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! weightcxx . . $ xccdf_defflags#weight.:1; |
| 56 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! rolecxx . . $ xccdf_defflags#role.:1; |
| 57 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! severitycxx . . $ xccdf_defflags#severity.:1; |
| 58 | }; |
| 59 | |
| 60 | struct xccdf_itemcxx . . $ xccdf_item#; |
| 61 | struct xccdf_checkcxx . . $ xccdf_check#; |
| 62 | |
| 63 | struct xccdf_item_basecxx . . $ xccdf_item_base# { |
| 64 | char *idcxx . . $ xccdf_item_base#id.; |
| 65 | char *cluster_idcxx . . $ xccdf_item_base#cluster_id.; |
| 66 | float weightcxx . . $ xccdf_item_base#weight.; |
| 67 | |
| 68 | struct oscap_listcxx . . $ oscap_list# *titlecxx . . $ xccdf_item_base#title.; |
| 69 | struct oscap_listcxx . . $ oscap_list# *descriptioncxx . . $ xccdf_item_base#description.; |
| 70 | struct oscap_listcxx . . $ oscap_list# *questioncxx . . $ xccdf_item_base#question.; |
| 71 | struct oscap_listcxx . . $ oscap_list# *rationalecxx . . $ xccdf_item_base#rationale.; |
| 72 | struct oscap_listcxx . . $ oscap_list# *warningscxx . . $ xccdf_item_base#warnings.; |
| 73 | |
| 74 | char *versioncxx . . $ xccdf_item_base#version.; |
| 75 | char *version_updatecxx . . $ xccdf_item_base#version_update.; |
| 76 | char *version_timecxx . . $ xccdf_item_base#version_time.; |
| 77 | |
| 78 | struct xccdf_itemcxx . . $ xccdf_item# *parentcxx . . $ xccdf_item_base#parent.; |
| 79 | char *extendscxx . . $ xccdf_item_base#extends.; |
| 80 | struct oscap_listcxx . . $ oscap_list# *statusescxx . . $ xccdf_item_base#statuses.; |
| 81 | struct oscap_listcxx . . $ oscap_list# *dc_statusescxx . . $ xccdf_item_base#dc_statuses.; |
| 82 | struct oscap_listcxx . . $ oscap_list# *referencescxx . . $ xccdf_item_base#references.; |
| 83 | struct oscap_listcxx . . $ oscap_list# *platformscxx . . $ xccdf_item_base#platforms.; |
| 84 | struct xccdf_flagscxx . . $ xccdf_flags# flagscxx . . $ xccdf_item_base#flags.; |
| 85 | struct xccdf_defflagscxx . . $ xccdf_defflags# defined_flagscxx . . $ xccdf_item_base#defined_flags.; |
| 86 | |
| 87 | struct oscap_listcxx . . $ oscap_list# *metadatacxx . . $ xccdf_item_base#metadata.; |
| 88 | }; |
| 89 | |
| 90 | struct xccdf_rule_itemcxx . . $ xccdf_rule_item# { |
| 91 | char *impact_metriccxx . . $ xccdf_rule_item#impact_metric.; |
| 92 | xccdf_role_tcxx . . $ xccdf_role_t# rolecxx . . $ xccdf_rule_item#role.; |
| 93 | xccdf_level_tcxx . . $ xccdf_level_t# severitycxx . . $ xccdf_rule_item#severity.; |
| 94 | |
| 95 | struct oscap_listcxx . . $ oscap_list# *requires_cxx . . $ xccdf_rule_item#requires_.; |
| 96 | struct oscap_listcxx . . $ oscap_list# *conflictscxx . . $ xccdf_rule_item#conflicts.; |
| 97 | |
| 98 | struct oscap_listcxx . . $ oscap_list# *profile_notescxx . . $ xccdf_rule_item#profile_notes.; |
| 99 | struct oscap_listcxx . . $ oscap_list# *identscxx . . $ xccdf_rule_item#idents.; |
| 100 | struct oscap_listcxx . . $ oscap_list# *checkscxx . . $ xccdf_rule_item#checks.; |
| 101 | struct oscap_listcxx . . $ oscap_list# *fixescxx . . $ xccdf_rule_item#fixes.; |
| 102 | struct oscap_listcxx . . $ oscap_list# *fixtextscxx . . $ xccdf_rule_item#fixtexts.; |
| 103 | }; |
| 104 | |
| 105 | struct xccdf_group_itemcxx . . $ xccdf_group_item# { |
| 106 | struct oscap_listcxx . . $ oscap_list# *requires_cxx . . $ xccdf_group_item#requires_.; |
| 107 | struct oscap_listcxx . . $ oscap_list# *conflictscxx . . $ xccdf_group_item#conflicts.; |
| 108 | |
| 109 | struct oscap_listcxx . . $ oscap_list# *valuescxx . . $ xccdf_group_item#values.; |
| 110 | struct oscap_listcxx . . $ oscap_list# *contentcxx . . $ xccdf_group_item#content.; |
| 111 | }; |
| 112 | |
| 113 | /* This structure is used for multiple-count attributes for Item (0-n) */ |
| 114 | struct xccdf_value_instancecxx . . $ xccdf_value_instance# { |
| 115 | char *selectorcxx . . $ xccdf_value_instance#selector.; |
| 116 | xccdf_value_type_tcxx . . $ xccdf_value_type_t# typecxx . . $ xccdf_value_instance#type.; /* Value::type */ |
| 117 | char *valuecxx . . $ xccdf_value_instance#value.; /* Value::value */ |
| 118 | char *defvalcxx . . $ xccdf_value_instance#defval.; /* Value::default */ |
| 119 | struct oscap_listcxx . . $ oscap_list# *choicescxx . . $ xccdf_value_instance#choices.; /* Value::choices */ |
| 120 | xccdf_numericcxx . . $ xccdf_numeric# lower_boundcxx . . $ xccdf_value_instance#lower_bound.; |
| 121 | xccdf_numericcxx . . $ xccdf_numeric# upper_boundcxx . . $ xccdf_value_instance#upper_bound.; |
| 122 | char *matchcxx . . $ xccdf_value_instance#match.; |
| 123 | structcxx . . $ xccdf_value_instance#$anonymous_type_0# { |
| 124 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! value_givencxx . . $ xccdf_value_instance#$anonymous_type_0#value_given. : 1; |
| 125 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! defval_givencxx . . $ xccdf_value_instance#$anonymous_type_0#defval_given. : 1; |
| 126 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! must_match_givencxx . . $ xccdf_value_instance#$anonymous_type_0#must_match_given. : 1; |
| 127 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! must_matchcxx . . $ xccdf_value_instance#$anonymous_type_0#must_match. : 1; |
| 128 | } flagscxx . . $ xccdf_value_instance#flags.; |
| 129 | }; |
| 130 | |
| 131 | struct xccdf_value_itemcxx . . $ xccdf_value_item# { |
| 132 | xccdf_value_type_tcxx . . $ xccdf_value_type_t# typecxx . . $ xccdf_value_item#type.; /* Value::type */ |
| 133 | xccdf_interface_hint_tcxx . . $ xccdf_interface_hint_t# interface_hintcxx . . $ xccdf_value_item#interface_hint.; /* Value::interfaceHint */ |
| 134 | xccdf_operator_tcxx . . $ xccdf_operator_t# opercxx . . $ xccdf_value_item#oper.; /* Value::operator */ |
| 135 | |
| 136 | struct oscap_listcxx . . $ oscap_list# *instancescxx . . $ xccdf_value_item#instances.; |
| 137 | struct oscap_listcxx . . $ oscap_list# *sourcescxx . . $ xccdf_value_item#sources.; /* Value::source */ |
| 138 | }; |
| 139 | |
| 140 | struct xccdf_result_itemcxx . . $ xccdf_result_item# { |
| 141 | const struct xccdf_version_infocxx . . $ xccdf_version_info# *schema_versioncxx . . $ xccdf_result_item#schema_version.; |
| 142 | |
| 143 | char *start_timecxx . . $ xccdf_result_item#start_time.; |
| 144 | char *end_timecxx . . $ xccdf_result_item#end_time.; |
| 145 | char *test_systemcxx . . $ xccdf_result_item#test_system.; |
| 146 | char *benchmark_uricxx . . $ xccdf_result_item#benchmark_uri.; |
| 147 | char *profilecxx . . $ xccdf_result_item#profile.; |
| 148 | |
| 149 | struct oscap_listcxx . . $ oscap_list# *identitiescxx . . $ xccdf_result_item#identities.; |
| 150 | struct oscap_listcxx . . $ oscap_list# *targetscxx . . $ xccdf_result_item#targets.; |
| 151 | struct oscap_listcxx . . $ oscap_list# *organizationscxx . . $ xccdf_result_item#organizations.; |
| 152 | struct oscap_listcxx . . $ oscap_list# *remarkscxx . . $ xccdf_result_item#remarks.; |
| 153 | struct oscap_listcxx . . $ oscap_list# *target_addressescxx . . $ xccdf_result_item#target_addresses.; |
| 154 | struct oscap_listcxx . . $ oscap_list# *target_factscxx . . $ xccdf_result_item#target_facts.; |
| 155 | struct oscap_listcxx . . $ oscap_list# *target_id_refscxx . . $ xccdf_result_item#target_id_refs.; |
| 156 | struct oscap_listcxx . . $ oscap_list# *applicable_platformscxx . . $ xccdf_result_item#applicable_platforms.; |
| 157 | struct oscap_listcxx . . $ oscap_list# *setvaluescxx . . $ xccdf_result_item#setvalues.; |
| 158 | struct oscap_listcxx . . $ oscap_list# *rule_resultscxx . . $ xccdf_result_item#rule_results.; |
| 159 | struct oscap_listcxx . . $ oscap_list# *scorescxx . . $ xccdf_result_item#scores.; |
| 160 | }; |
| 161 | |
| 162 | struct xccdf_profile_itemcxx . . $ xccdf_profile_item# { |
| 163 | char *note_tagcxx . . $ xccdf_profile_item#note_tag.; |
| 164 | struct oscap_listcxx . . $ oscap_list# *selectscxx . . $ xccdf_profile_item#selects.; |
| 165 | struct oscap_listcxx . . $ oscap_list# *setvaluescxx . . $ xccdf_profile_item#setvalues.; |
| 166 | struct oscap_listcxx . . $ oscap_list# *refine_valuescxx . . $ xccdf_profile_item#refine_values.; |
| 167 | struct oscap_listcxx . . $ oscap_list# *refine_rulescxx . . $ xccdf_profile_item#refine_rules.; |
| 168 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! tailoringcxx . . $ xccdf_profile_item#tailoring.; |
| 169 | }; |
| 170 | |
| 171 | struct xccdf_tailoringcxx . . $ xccdf_tailoring# { |
| 172 | // optional, only relevant when Tailoring is saved as a root element |
| 173 | char *idcxx . . $ xccdf_tailoring#id.; |
| 174 | |
| 175 | // The ref is "just informative" according to the spec, we never |
| 176 | // interpret it and just load and save it as a string. |
| 177 | char *benchmark_refcxx . . $ xccdf_tailoring#benchmark_ref.; |
| 178 | // Also just informative |
| 179 | char *benchmark_ref_versioncxx . . $ xccdf_tailoring#benchmark_ref_version.; |
| 180 | |
| 181 | struct oscap_listcxx . . $ oscap_list# *statusescxx . . $ xccdf_tailoring#statuses.; |
| 182 | struct oscap_listcxx . . $ oscap_list# *dc_statusescxx . . $ xccdf_tailoring#dc_statuses.; |
| 183 | |
| 184 | char *versioncxx . . $ xccdf_tailoring#version.; |
| 185 | char *version_updatecxx . . $ xccdf_tailoring#version_update.; |
| 186 | char *version_timecxx . . $ xccdf_tailoring#version_time.; |
| 187 | |
| 188 | struct oscap_listcxx . . $ oscap_list# *metadatacxx . . $ xccdf_tailoring#metadata.; |
| 189 | |
| 190 | struct oscap_listcxx . . $ oscap_list# *profilescxx . . $ xccdf_tailoring#profiles.; |
| 191 | }; |
| 192 | |
| 193 | struct xccdf_benchmark_itemcxx . . $ xccdf_benchmark_item# { |
| 194 | const struct xccdf_version_infocxx . . $ xccdf_version_info# *schema_versioncxx . . $ xccdf_benchmark_item#schema_version.; |
| 195 | |
| 196 | struct oscap_htablecxx . . $ oscap_htable# *items_dictcxx . . $ xccdf_benchmark_item#items_dict.; /* Stores only xccdf:Item */ |
| 197 | struct oscap_htablecxx . . $ oscap_htable# *profiles_dictcxx . . $ xccdf_benchmark_item#profiles_dict.; /* xccdf:Profile */ |
| 198 | struct oscap_htablecxx . . $ oscap_htable# *results_dictcxx . . $ xccdf_benchmark_item#results_dict.; /* xccdf:TestResult */ |
| 199 | struct oscap_htablecxx . . $ oscap_htable# *clusters_dictcxx . . $ xccdf_benchmark_item#clusters_dict.; /* xccdf:items by cluster-id */ |
| 200 | struct oscap_listcxx . . $ oscap_list# *noticescxx . . $ xccdf_benchmark_item#notices.; |
| 201 | struct oscap_listcxx . . $ oscap_list# *plain_textscxx . . $ xccdf_benchmark_item#plain_texts.; |
| 202 | |
| 203 | struct cpe_dict_modelcxx . . $ cpe_dict_model# *cpe_listcxx . . $ xccdf_benchmark_item#cpe_list.; |
| 204 | struct cpe_lang_modelcxx . . $ cpe_lang_model# *cpe_lang_modelcxx . . $ xccdf_benchmark_item#cpe_lang_model.; |
| 205 | |
| 206 | char *stylecxx . . $ xccdf_benchmark_item#style.; |
| 207 | char *style_hrefcxx . . $ xccdf_benchmark_item#style_href.; |
| 208 | char *langcxx . . $ xccdf_benchmark_item#lang.; |
| 209 | |
| 210 | struct oscap_listcxx . . $ oscap_list# *front_mattercxx . . $ xccdf_benchmark_item#front_matter.; |
| 211 | struct oscap_listcxx . . $ oscap_list# *rear_mattercxx . . $ xccdf_benchmark_item#rear_matter.; |
| 212 | |
| 213 | struct oscap_listcxx . . $ oscap_list# *modelscxx . . $ xccdf_benchmark_item#models.; |
| 214 | struct oscap_listcxx . . $ oscap_list# *profilescxx . . $ xccdf_benchmark_item#profiles.; |
| 215 | struct oscap_listcxx . . $ oscap_list# *valuescxx . . $ xccdf_benchmark_item#values.; |
| 216 | struct oscap_listcxx . . $ oscap_list# *contentcxx . . $ xccdf_benchmark_item#content.; |
| 217 | struct oscap_listcxx . . $ oscap_list# *resultscxx . . $ xccdf_benchmark_item#results.; |
| 218 | }; |
| 219 | |
| 220 | struct xccdf_itemcxx . . $ xccdf_item# { |
| 221 | xccdf_type_tcxx . . $ xccdf_type_t# typecxx . . $ xccdf_item#type.; |
| 222 | struct xccdf_item_basecxx . . $ xccdf_item_base# itemcxx . . $ xccdf_item#item.; |
| 223 | unioncxx . . $ xccdf_item#$anonymous_type_1# { |
| 224 | struct xccdf_profile_itemcxx . . $ xccdf_profile_item# profilecxx . . $ xccdf_item#$anonymous_type_1#profile.; |
| 225 | struct xccdf_benchmark_itemcxx . . $ xccdf_benchmark_item# benchmarkcxx . . $ xccdf_item#$anonymous_type_1#benchmark.; |
| 226 | struct xccdf_rule_itemcxx . . $ xccdf_rule_item# rulecxx . . $ xccdf_item#$anonymous_type_1#rule.; |
| 227 | struct xccdf_group_itemcxx . . $ xccdf_group_item# groupcxx . . $ xccdf_item#$anonymous_type_1#group.; |
| 228 | struct xccdf_value_itemcxx . . $ xccdf_value_item# valuecxx . . $ xccdf_item#$anonymous_type_1#value.; |
| 229 | struct xccdf_result_itemcxx . . $ xccdf_result_item# resultcxx . . $ xccdf_item#$anonymous_type_1#result.; |
| 230 | } subcxx . . $ xccdf_item#sub.; |
| 231 | }; |
| 232 | |
| 233 | struct xccdf_warningcxx . . $ xccdf_warning# { |
| 234 | struct oscap_textcxx . . $ oscap_text# *textcxx . . $ xccdf_warning#text.; |
| 235 | xccdf_warning_category_tcxx . . $ xccdf_warning_category_t# categorycxx . . $ xccdf_warning#category.; |
| 236 | }; |
| 237 | |
| 238 | struct xccdf_noticecxx . . $ xccdf_notice# { |
| 239 | char *idcxx . . $ xccdf_notice#id.; |
| 240 | struct oscap_textcxx . . $ oscap_text# *textcxx . . $ xccdf_notice#text.; |
| 241 | }; |
| 242 | |
| 243 | struct xccdf_statuscxx . . $ xccdf_status# { |
| 244 | xccdf_status_type_tcxx . . $ xccdf_status_type_t# statuscxx . . $ xccdf_status#status.; |
| 245 | time_tcxx . . $ time_t# datecxx . . $ xccdf_status#date.; |
| 246 | }; |
| 247 | |
| 248 | struct xccdf_modelcxx . . $ xccdf_model# { |
| 249 | char *systemcxx . . $ xccdf_model#system.; |
| 250 | struct oscap_htablecxx . . $ oscap_htable# *paramscxx . . $ xccdf_model#params.; // TODO: to list + accessors |
| 251 | }; |
| 252 | |
| 253 | struct xccdf_selectcxx . . $ xccdf_select# { |
| 254 | char *itemcxx . . $ xccdf_select#item.; |
| 255 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! selectedcxx . . $ xccdf_select#selected.; |
| 256 | struct oscap_listcxx . . $ oscap_list# *remarkscxx . . $ xccdf_select#remarks.; |
| 257 | }; |
| 258 | |
| 259 | struct xccdf_refine_rulecxx . . $ xccdf_refine_rule# { |
| 260 | char *itemcxx . . $ xccdf_refine_rule#item.; |
| 261 | char *selectorcxx . . $ xccdf_refine_rule#selector.; |
| 262 | xccdf_role_tcxx . . $ xccdf_role_t# rolecxx . . $ xccdf_refine_rule#role.; |
| 263 | xccdf_level_tcxx . . $ xccdf_level_t# severitycxx . . $ xccdf_refine_rule#severity.; |
| 264 | xccdf_numericcxx . . $ xccdf_numeric# weightcxx . . $ xccdf_refine_rule#weight.; |
| 265 | struct oscap_listcxx . . $ oscap_list# *remarkscxx . . $ xccdf_refine_rule#remarks.; |
| 266 | }; |
| 267 | |
| 268 | struct xccdf_refine_valuecxx . . $ xccdf_refine_value# { |
| 269 | char *itemcxx . . $ xccdf_refine_value#item.; |
| 270 | char *selectorcxx . . $ xccdf_refine_value#selector.; |
| 271 | xccdf_operator_tcxx . . $ xccdf_operator_t# opercxx . . $ xccdf_refine_value#oper.; |
| 272 | struct oscap_listcxx . . $ oscap_list# *remarkscxx . . $ xccdf_refine_value#remarks.; |
| 273 | }; |
| 274 | |
| 275 | struct xccdf_setvaluecxx . . $ xccdf_setvalue# { |
| 276 | char *itemcxx . . $ xccdf_setvalue#item.; |
| 277 | char *valuecxx . . $ xccdf_setvalue#value.; |
| 278 | }; |
| 279 | |
| 280 | struct xccdf_identcxx . . $ xccdf_ident# { |
| 281 | char *idcxx . . $ xccdf_ident#id.; |
| 282 | char *systemcxx . . $ xccdf_ident#system.; |
| 283 | }; |
| 284 | |
| 285 | struct xccdf_checkcxx . . $ xccdf_check# { |
| 286 | xccdf_bool_operator_tcxx . . $ xccdf_bool_operator_t# opercxx . . $ xccdf_check#oper.; |
| 287 | struct oscap_listcxx . . $ oscap_list# *childrencxx . . $ xccdf_check#children.; |
| 288 | char *idcxx . . $ xccdf_check#id.; |
| 289 | char *systemcxx . . $ xccdf_check#system.; |
| 290 | char *selectorcxx . . $ xccdf_check#selector.; |
| 291 | char *contentcxx . . $ xccdf_check#content.; |
| 292 | struct _xccdf_check_flagscxx . . $ _xccdf_check_flags# { |
| 293 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! multicheckcxx . . $ _xccdf_check_flags#multicheck.:1; |
| 294 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! def_multicheckcxx . . $ _xccdf_check_flags#def_multicheck.:1; |
| 295 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! negatecxx . . $ _xccdf_check_flags#negate.:1; |
| 296 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! def_negatecxx . . $ _xccdf_check_flags#def_negate.:1; |
| 297 | } flagscxx . . $ xccdf_check#flags.; |
| 298 | struct oscap_listcxx . . $ oscap_list# *importscxx . . $ xccdf_check#imports.; |
| 299 | struct oscap_listcxx . . $ oscap_list# *exportscxx . . $ xccdf_check#exports.; |
| 300 | struct oscap_listcxx . . $ oscap_list# *content_refscxx . . $ xccdf_check#content_refs.; |
| 301 | }; |
| 302 | |
| 303 | struct xccdf_check_content_refcxx . . $ xccdf_check_content_ref# { |
| 304 | char *hrefcxx . . $ xccdf_check_content_ref#href.; |
| 305 | char *namecxx . . $ xccdf_check_content_ref#name.; |
| 306 | }; |
| 307 | |
| 308 | struct xccdf_check_importcxx . . $ xccdf_check_import# { |
| 309 | char *namecxx . . $ xccdf_check_import#name.; |
| 310 | char *xpathcxx . . $ xccdf_check_import#xpath.; |
| 311 | char *contentcxx . . $ xccdf_check_import#content.; |
| 312 | }; |
| 313 | |
| 314 | struct xccdf_check_exportcxx . . $ xccdf_check_export# { |
| 315 | char *namecxx . . $ xccdf_check_export#name.; |
| 316 | char *valuecxx . . $ xccdf_check_export#value.; |
| 317 | }; |
| 318 | |
| 319 | struct xccdf_profile_notecxx . . $ xccdf_profile_note# { |
| 320 | struct oscap_textcxx . . $ oscap_text# *textcxx . . $ xccdf_profile_note#text.; |
| 321 | char *reftagcxx . . $ xccdf_profile_note#reftag.; |
| 322 | }; |
| 323 | |
| 324 | struct xccdf_fixcxx . . $ xccdf_fix# { |
| 325 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! rebootcxx . . $ xccdf_fix#reboot.; |
| 326 | xccdf_strategy_tcxx . . $ xccdf_strategy_t# strategycxx . . $ xccdf_fix#strategy.; |
| 327 | xccdf_level_tcxx . . $ xccdf_level_t# disruptioncxx . . $ xccdf_fix#disruption.; |
| 328 | xccdf_level_tcxx . . $ xccdf_level_t# complexitycxx . . $ xccdf_fix#complexity.; |
| 329 | char *idcxx . . $ xccdf_fix#id.; |
| 330 | char *contentcxx . . $ xccdf_fix#content.; |
| 331 | char *systemcxx . . $ xccdf_fix#system.; |
| 332 | char *platformcxx . . $ xccdf_fix#platform.; |
| 333 | }; |
| 334 | |
| 335 | struct xccdf_fixtextcxx . . $ xccdf_fixtext# { |
| 336 | struct oscap_textcxx . . $ oscap_text# *textcxx . . $ xccdf_fixtext#text.; |
| 337 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! rebootcxx . . $ xccdf_fixtext#reboot.; |
| 338 | xccdf_strategy_tcxx . . $ xccdf_strategy_t# strategycxx . . $ xccdf_fixtext#strategy.; |
| 339 | xccdf_level_tcxx . . $ xccdf_level_t# disruptioncxx . . $ xccdf_fixtext#disruption.; |
| 340 | xccdf_level_tcxx . . $ xccdf_level_t# complexitycxx . . $ xccdf_fixtext#complexity.; |
| 341 | char *fixrefcxx . . $ xccdf_fixtext#fixref.; |
| 342 | }; |
| 343 | |
| 344 | struct xccdf_rule_resultcxx . . $ xccdf_rule_result# { |
| 345 | char *idrefcxx . . $ xccdf_rule_result#idref.; |
| 346 | xccdf_role_tcxx . . $ xccdf_role_t# rolecxx . . $ xccdf_rule_result#role.; |
| 347 | char *timecxx . . $ xccdf_rule_result#time.; |
| 348 | float weightcxx . . $ xccdf_rule_result#weight.; |
| 349 | xccdf_level_tcxx . . $ xccdf_level_t# severitycxx . . $ xccdf_rule_result#severity.; |
| 350 | xccdf_test_result_type_tcxx . . $ xccdf_test_result_type_t# resultcxx . . $ xccdf_rule_result#result.; |
| 351 | char *versioncxx . . $ xccdf_rule_result#version.; |
| 352 | |
| 353 | struct oscap_listcxx . . $ oscap_list# *overridescxx . . $ xccdf_rule_result#overrides.; |
| 354 | struct oscap_listcxx . . $ oscap_list# *identscxx . . $ xccdf_rule_result#idents.; |
| 355 | struct oscap_listcxx . . $ oscap_list# *messagescxx . . $ xccdf_rule_result#messages.; |
| 356 | struct oscap_listcxx . . $ oscap_list# *instancescxx . . $ xccdf_rule_result#instances.; |
| 357 | struct oscap_listcxx . . $ oscap_list# *fixescxx . . $ xccdf_rule_result#fixes.; |
| 358 | struct oscap_listcxx . . $ oscap_list# *checkscxx . . $ xccdf_rule_result#checks.; |
| 359 | }; |
| 360 | |
| 361 | struct xccdf_identitycxx . . $ xccdf_identity# { |
| 362 | structcxx . . $ xccdf_identity#$anonymous_type_2# { |
| 363 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! authenticatedcxx . . $ xccdf_identity#$anonymous_type_2#authenticated. : 1; |
| 364 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! privilegedcxx . . $ xccdf_identity#$anonymous_type_2#privileged. : 1; |
| 365 | } subcxx . . $ xccdf_identity#sub.; |
| 366 | char *namecxx . . $ xccdf_identity#name.; |
| 367 | }; |
| 368 | |
| 369 | struct xccdf_scorecxx . . $ xccdf_score# { |
| 370 | xccdf_numericcxx . . $ xccdf_numeric# maximumcxx . . $ xccdf_score#maximum.; |
| 371 | xccdf_numericcxx . . $ xccdf_numeric# scorecxx . . $ xccdf_score#score.; |
| 372 | char *systemcxx . . $ xccdf_score#system.; |
| 373 | }; |
| 374 | |
| 375 | struct xccdf_overridecxx . . $ xccdf_override# { |
| 376 | char *timecxx . . $ xccdf_override#time.; |
| 377 | char *authoritycxx . . $ xccdf_override#authority.; |
| 378 | xccdf_test_result_type_tcxx . . $ xccdf_test_result_type_t# old_resultcxx . . $ xccdf_override#old_result.; |
| 379 | xccdf_test_result_type_tcxx . . $ xccdf_test_result_type_t# new_resultcxx . . $ xccdf_override#new_result.; |
| 380 | struct oscap_textcxx . . $ oscap_text# *remarkcxx . . $ xccdf_override#remark.; |
| 381 | }; |
| 382 | |
| 383 | struct xccdf_messagecxx . . $ xccdf_message# { |
| 384 | xccdf_message_severity_tcxx . . $ xccdf_message_severity_t# severitycxx . . $ xccdf_message#severity.; |
| 385 | char *contentcxx . . $ xccdf_message#content.; |
| 386 | }; |
| 387 | |
| 388 | struct xccdf_target_factcxx . . $ xccdf_target_fact# { |
| 389 | xccdf_value_type_tcxx . . $ xccdf_value_type_t# typecxx . . $ xccdf_target_fact#type.; |
| 390 | char *namecxx . . $ xccdf_target_fact#name.; |
| 391 | char *valuecxx . . $ xccdf_target_fact#value.; |
| 392 | }; |
| 393 | |
| 394 | struct xccdf_target_identifiercxx . . $ xccdf_target_identifier# { |
| 395 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! any_elementcxx . . $ xccdf_target_identifier#any_element.; // if false, this represents <target-id-ref>, else it's any element |
| 396 | |
| 397 | xmlNodePtrcxx . . $ xmlNodePtr# elementcxx . . $ xccdf_target_identifier#element.; |
| 398 | |
| 399 | char *systemcxx . . $ xccdf_target_identifier#system.; |
| 400 | char *hrefcxx . . $ xccdf_target_identifier#href.; |
| 401 | char *namecxx . . $ xccdf_target_identifier#name.; |
| 402 | }; |
| 403 | |
| 404 | struct xccdf_instancecxx . . $ xccdf_instance# { |
| 405 | char *contextcxx . . $ xccdf_instance#context.; |
| 406 | char *parent_contextcxx . . $ xccdf_instance#parent_context.; |
| 407 | char *contentcxx . . $ xccdf_instance#content.; |
| 408 | }; |
| 409 | |
| 410 | struct xccdf_plain_textcxx . . $ xccdf_plain_text# { |
| 411 | char *idcxx . . $ xccdf_plain_text#id.; |
| 412 | char *textcxx . . $ xccdf_plain_text#text.; |
| 413 | }; |
| 414 | |
| 415 | extern const struct oscap_string_mapcxx . . $ oscap_string_map# XCCDF_LEVEL_MAPcxx . . $ XCCDF_LEVEL_MAP.[]; |
| 416 | extern const struct oscap_string_mapcxx . . $ oscap_string_map# XCCDF_ROLE_MAPcxx . . $ XCCDF_ROLE_MAP.[]; |
| 417 | extern const struct oscap_string_mapcxx . . $ oscap_string_map# XCCDF_OPERATOR_MAPcxx . . $ XCCDF_OPERATOR_MAP.[]; |
| 418 | extern const struct oscap_string_mapcxx . . $ oscap_string_map# XCCDF_BOOLOP_MAPcxx . . $ XCCDF_BOOLOP_MAP.[]; |
| 419 | extern const struct oscap_string_mapcxx . . $ oscap_string_map# XCCDF_STRATEGY_MAPcxx . . $ XCCDF_STRATEGY_MAP.[]; |
| 420 | extern const struct oscap_string_mapcxx . . $ oscap_string_map# XCCDF_FACT_TYPE_MAPcxx . . $ XCCDF_FACT_TYPE_MAP.[]; |
| 421 | extern const struct oscap_string_mapcxx . . $ oscap_string_map# XCCDF_RESULT_MAPcxx . . $ XCCDF_RESULT_MAP.[]; |
| 422 | |
| 423 | extern const struct oscap_text_traitscxx . . $ oscap_text_traits# XCCDF_TEXT_PLAINcxx . . $ XCCDF_TEXT_PLAIN.; |
| 424 | extern const struct oscap_text_traitscxx . . $ oscap_text_traits# XCCDF_TEXT_HTMLcxx . . $ XCCDF_TEXT_HTML.; |
| 425 | extern const struct oscap_text_traitscxx . . $ oscap_text_traits# XCCDF_TEXT_PLAINSUBcxx . . $ XCCDF_TEXT_PLAINSUB.; |
| 426 | extern const struct oscap_text_traitscxx . . $ oscap_text_traits# XCCDF_TEXT_HTMLSUBcxx . . $ XCCDF_TEXT_HTMLSUB.; |
| 427 | extern const struct oscap_text_traitscxx . . $ oscap_text_traits# XCCDF_TEXT_NOTICEcxx . . $ XCCDF_TEXT_NOTICE.; |
| 428 | extern const struct oscap_text_traitscxx . . $ oscap_text_traits# XCCDF_TEXT_PROFNOTEcxx . . $ XCCDF_TEXT_PROFNOTE.; |
| 429 | |
| 430 | extern const size_t XCCDF_NUMERIC_SIZEcxx . . $ XCCDF_NUMERIC_SIZE.; |
| 431 | extern const char *XCCDF_NUMERIC_FORMATcxx . . $ XCCDF_NUMERIC_FORMAT.; |
| 432 | |
| 433 | struct xccdf_itemcxx . . $ xccdf_item# *xccdf_item_newcxx . . $ xccdf_item_new(8094a7806c065071).(xccdf_type_tcxx . . $ xccdf_type_t# type, struct xccdf_itemcxx . . $ xccdf_item# *parent); |
| 434 | void xccdf_item_releasecxx . . $ xccdf_item_release(9e1ae929b010245a).(struct xccdf_itemcxx . . $ xccdf_item# *item); |
| 435 | void xccdf_item_printcxx . . $ xccdf_item_print(399eb5318584c7ce).(struct xccdf_itemcxx . . $ xccdf_item# *item, int depth); |
| 436 | void xccdf_item_dumpcxx . . $ xccdf_item_dump(399eb5318584c7ce).(struct xccdf_itemcxx . . $ xccdf_item# *item, int depth); |
| 437 | struct xccdf_itemcxx . . $ xccdf_item#* xccdf_item_get_benchmark_internalcxx . . $ xccdf_item_get_benchmark_internal(6721b4840dba2b39).(struct xccdf_itemcxx . . $ xccdf_item#* item); |
| 438 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! xccdf_benchmark_parsecxx . . $ xccdf_benchmark_parse(bf0f85c13dd5e40b).(struct xccdf_itemcxx . . $ xccdf_item# *benchmark, xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader); |
| 439 | void xccdf_benchmark_dumpcxx . . $ xccdf_benchmark_dump(55d89e1b9b447538).(struct xccdf_benchmarkcxx . . $ xccdf_benchmark# *benchmark); |
| 440 | int xccdf_benchmark_include_tailored_profilescxx . . $ xccdf_benchmark_include_tailored_profiles(d7a6825148f95977).(struct xccdf_benchmarkcxx . . $ xccdf_benchmark# *benchmark); |
| 441 | struct oscap_htable_iteratorcxx . . $ oscap_htable_iterator# *xccdf_benchmark_get_cluster_itemscxx . . $ xccdf_benchmark_get_cluster_items(8fab0d5eef3ad923).(struct xccdf_benchmarkcxx . . $ xccdf_benchmark# *benchmark, const char *cluster_id); |
| 442 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! xccdf_benchmark_register_itemcxx . . $ xccdf_benchmark_register_item(8f115eecda56b35c).(struct xccdf_benchmarkcxx . . $ xccdf_benchmark# *benchmark, struct xccdf_itemcxx . . $ xccdf_item# *item); |
| 443 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! xccdf_benchmark_unregister_itemcxx . . $ xccdf_benchmark_unregister_item(2e673d6708f2d132).(struct xccdf_itemcxx . . $ xccdf_item# *item); |
| 444 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! xccdf_benchmark_rename_itemcxx . . $ xccdf_benchmark_rename_item(f2a91ef87fc649ce).(struct xccdf_itemcxx . . $ xccdf_item# *item, const char *newid); |
| 445 | char *xccdf_benchmark_gen_idcxx . . $ xccdf_benchmark_gen_id(796fffdff15b0400).(struct xccdf_benchmarkcxx . . $ xccdf_benchmark# *benchmark, xccdf_type_tcxx . . $ xccdf_type_t# type, const char *prefix); |
| 446 | struct xccdf_resultcxx . . $ xccdf_result# *xccdf_benchmark_get_result_by_idcxx . . $ xccdf_benchmark_get_result_by_id(b753539274b1de3b).(struct xccdf_benchmarkcxx . . $ xccdf_benchmark# *benchmark, const char *testresult_id); |
| 447 | struct xccdf_resultcxx . . $ xccdf_result# *xccdf_benchmark_get_result_by_id_suffixcxx . . $ xccdf_benchmark_get_result_by_id_suffix(b753539274b1de3b).(struct xccdf_benchmarkcxx . . $ xccdf_benchmark# *benchmark, const char *testresult_suffix); |
| 448 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! xccdf_add_itemcxx . . $ xccdf_add_item(662a42d3b9b63a92).(struct oscap_listcxx . . $ oscap_list# *list, struct xccdf_itemcxx . . $ xccdf_item# *parent, struct xccdf_itemcxx . . $ xccdf_item# *item, const char *prefix); |
| 449 | |
| 450 | struct xccdf_tailoringcxx . . $ xccdf_tailoring# *xccdf_tailoring_parsecxx . . $ xccdf_tailoring_parse(378ba31ff5d7330e).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader, struct xccdf_itemcxx . . $ xccdf_item#* benchmark); |
| 451 | xmlNodePtrcxx . . $ xmlNodePtr# xccdf_tailoring_to_domcxx . . $ xccdf_tailoring_to_dom(31d45adc3aaec44).(struct xccdf_tailoringcxx . . $ xccdf_tailoring# *tailoring, xmlDocPtrcxx . . $ xmlDocPtr# doc, xmlNodePtrcxx . . $ xmlNodePtr# parent, const struct xccdf_version_infocxx . . $ xccdf_version_info# *version_info); |
| 452 | |
| 453 | struct xccdf_itemcxx . . $ xccdf_item# *xccdf_profile_new_internalcxx . . $ xccdf_profile_new_internal(6721b4840dba2b39).(struct xccdf_itemcxx . . $ xccdf_item# *bench); |
| 454 | struct xccdf_itemcxx . . $ xccdf_item# *xccdf_profile_parsecxx . . $ xccdf_profile_parse(8cf60c58117f1f7b).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader, struct xccdf_itemcxx . . $ xccdf_item# *bench); |
| 455 | void xccdf_profile_dumpcxx . . $ xccdf_profile_dump(399eb5318584c7ce).(struct xccdf_itemcxx . . $ xccdf_item# *prof, int depth); |
| 456 | |
| 457 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! xccdf_item_process_attributescxx . . $ xccdf_item_process_attributes(bf0f85c13dd5e40b).(struct xccdf_itemcxx . . $ xccdf_item# *item, xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader); |
| 458 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! xccdf_item_process_elementcxx . . $ xccdf_item_process_element(bf0f85c13dd5e40b).(struct xccdf_itemcxx . . $ xccdf_item# *item, xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader); |
| 459 | |
| 460 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! xccdf_content_parsecxx . . $ xccdf_content_parse(1afc04bf1b8fc835).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader, struct xccdf_itemcxx . . $ xccdf_item# *parent); |
| 461 | struct xccdf_itemcxx . . $ xccdf_item# *xccdf_group_parsecxx . . $ xccdf_group_parse(8cf60c58117f1f7b).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader, struct xccdf_itemcxx . . $ xccdf_item# *parent); |
| 462 | struct xccdf_itemcxx . . $ xccdf_item# *xccdf_group_new_internalcxx . . $ xccdf_group_new_internal(6721b4840dba2b39).(struct xccdf_itemcxx . . $ xccdf_item# *parent); |
| 463 | void xccdf_group_dumpcxx . . $ xccdf_group_dump(399eb5318584c7ce).(struct xccdf_itemcxx . . $ xccdf_item# *group, int depth); |
| 464 | |
| 465 | struct xccdf_itemcxx . . $ xccdf_item# *xccdf_rule_new_internalcxx . . $ xccdf_rule_new_internal(6721b4840dba2b39).(struct xccdf_itemcxx . . $ xccdf_item# *parent); |
| 466 | struct xccdf_itemcxx . . $ xccdf_item# *xccdf_rule_parsecxx . . $ xccdf_rule_parse(8cf60c58117f1f7b).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader, struct xccdf_itemcxx . . $ xccdf_item# *parent); |
| 467 | void xccdf_rule_dumpcxx . . $ xccdf_rule_dump(399eb5318584c7ce).(struct xccdf_itemcxx . . $ xccdf_item# *rule, int depth); |
| 468 | struct xccdf_check_iteratorcxx . . $ xccdf_check_iterator# *xccdf_rule_get_checks_filteredcxx . . $ xccdf_rule_get_checks_filtered(d809ddc538ffe32d).(struct xccdf_itemcxx . . $ xccdf_item# *rule, char *selector); |
| 469 | struct xccdf_check_iteratorcxx . . $ xccdf_check_iterator# *xccdf_rule_get_complex_checkscxx . . $ xccdf_rule_get_complex_checks(b4fee8dce785ca5f).(struct xccdf_itemcxx . . $ xccdf_item# *rule); |
| 470 | |
| 471 | struct xccdf_itemcxx . . $ xccdf_item# *xccdf_value_parsecxx . . $ xccdf_value_parse(8cf60c58117f1f7b).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader, struct xccdf_itemcxx . . $ xccdf_item# *parent); |
| 472 | struct xccdf_itemcxx . . $ xccdf_item# *xccdf_value_new_internalcxx . . $ xccdf_value_new_internal(53486341d521a605).(struct xccdf_itemcxx . . $ xccdf_item# *parent, xccdf_value_type_tcxx . . $ xccdf_value_type_t# type); |
| 473 | void xccdf_value_dumpcxx . . $ xccdf_value_dump(399eb5318584c7ce).(struct xccdf_itemcxx . . $ xccdf_item# *value, int depth); |
| 474 | |
| 475 | struct xccdf_noticecxx . . $ xccdf_notice# *xccdf_notice_new_parsecxx . . $ xccdf_notice_new_parse(5b12e5bf2a7216d2).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader); |
| 476 | void xccdf_notice_dumpcxx . . $ xccdf_notice_dump(cca2353004680fef).(struct xccdf_noticecxx . . $ xccdf_notice# *notice, int depth); |
| 477 | |
| 478 | void xccdf_status_dumpcxx . . $ xccdf_status_dump(7466eb26cf3a0a96).(struct xccdf_statuscxx . . $ xccdf_status# *status, int depth); |
| 479 | |
| 480 | struct xccdf_modelcxx . . $ xccdf_model# *xccdf_model_new_xmlcxx . . $ xccdf_model_new_xml(8399a56ac382db76).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader); |
| 481 | |
| 482 | void xccdf_cstring_dumpcxx . . $ xccdf_cstring_dump(34d26762b42c433a).(const char *data, int depth); |
| 483 | void xccdf_result_dumpcxx . . $ xccdf_result_dump(e76502234baee0b2).(struct xccdf_resultcxx . . $ xccdf_result# *res, int depth); |
| 484 | struct xccdf_resultcxx . . $ xccdf_result# *xccdf_result_new_parsecxx . . $ xccdf_result_new_parse(d53eff5a40c1825f).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader); |
| 485 | int xccdf_rule_result_set_time_currentcxx . . $ xccdf_rule_result_set_time_current(82df6f19f833a849).(struct xccdf_rule_resultcxx . . $ xccdf_rule_result# *item); |
| 486 | int xccdf_result_set_start_time_currentcxx . . $ xccdf_result_set_start_time_current(d573a91df5d5af14).(struct xccdf_resultcxx . . $ xccdf_result# *item); |
| 487 | int xccdf_result_set_end_time_currentcxx . . $ xccdf_result_set_end_time_current(d573a91df5d5af14).(struct xccdf_resultcxx . . $ xccdf_result# *item); |
| 488 | const struct xccdf_version_infocxx . . $ xccdf_version_info#* xccdf_result_get_schema_versioncxx . . $ xccdf_result_get_schema_version(1885a75710ce0147).(const struct xccdf_resultcxx . . $ xccdf_result# *item); |
| 489 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! xccdf_result_set_schema_versioncxx . . $ xccdf_result_set_schema_version(95c73830e13a8cf).(struct xccdf_resultcxx . . $ xccdf_result# *item, const struct xccdf_version_infocxx . . $ xccdf_version_info#* newval); |
| 490 | |
| 491 | |
| 492 | struct xccdf_checkcxx . . $ xccdf_check# *xccdf_check_parsecxx . . $ xccdf_check_parse(91f7c6d5425e84bb).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader); |
| 493 | void xccdf_check_dumpcxx . . $ xccdf_check_dump(7cfabb62e50db9f8).(struct xccdf_checkcxx . . $ xccdf_check# *check, int depth); |
| 494 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! xccdf_check_inject_content_refcxx . . $ xccdf_check_inject_content_ref(fa23abb48d445643).(struct xccdf_checkcxx . . $ xccdf_check# *check, const struct xccdf_check_content_refcxx . . $ xccdf_check_content_ref# *content, const char *name); |
| 495 | void xccdf_check_content_ref_dumpcxx . . $ xccdf_check_content_ref_dump(4bb00f870d238bdd).(struct xccdf_check_content_refcxx . . $ xccdf_check_content_ref# *ref, int depth); |
| 496 | struct xccdf_identcxx . . $ xccdf_ident# *xccdf_ident_parsecxx . . $ xccdf_ident_parse(57af45080b4e3c6f).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader); |
| 497 | void xccdf_ident_dumpcxx . . $ xccdf_ident_dump(a414a6c7220fa99e).(struct xccdf_identcxx . . $ xccdf_ident# *ident, int depth); |
| 498 | struct xccdf_fixcxx . . $ xccdf_fix# *xccdf_fix_parsecxx . . $ xccdf_fix_parse(d0483b468e4b06a7).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader); |
| 499 | struct xccdf_fixtextcxx . . $ xccdf_fixtext# *xccdf_fixtext_parsecxx . . $ xccdf_fixtext_parse(107dd4c91094a5e8).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader); |
| 500 | |
| 501 | struct xccdf_setvaluecxx . . $ xccdf_setvalue# *xccdf_setvalue_new_parsecxx . . $ xccdf_setvalue_new_parse(92aa55c78198afc).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader); |
| 502 | void xccdf_setvalue_dumpcxx . . $ xccdf_setvalue_dump(b61cc615f91fce7b).(struct xccdf_setvaluecxx . . $ xccdf_setvalue# *sv, int depth); |
| 503 | |
| 504 | struct xccdf_warningcxx . . $ xccdf_warning# *xccdf_warning_new_parsecxx . . $ xccdf_warning_new_parse(86c9f89cafa20120).(xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader); |
| 505 | |
| 506 | //private methods for cloning items |
| 507 | //Will clone the item member of a xccdf_item object |
| 508 | void xccdf_item_base_clonecxx . . $ xccdf_item_base_clone(f0db45ff8e952d03).(struct xccdf_item_basecxx . . $ xccdf_item_base# *new_base, const struct xccdf_item_basecxx . . $ xccdf_item_base# *old_base); |
| 509 | |
| 510 | //clones the specific types of items |
| 511 | void xccdf_profile_item_clonecxx . . $ xccdf_profile_item_clone(f9d5ca527c1ea2d1).(struct xccdf_profile_itemcxx . . $ xccdf_profile_item# *clone, const struct xccdf_profile_itemcxx . . $ xccdf_profile_item# * item); |
| 512 | struct xccdf_benchmark_itemcxx . . $ xccdf_benchmark_item# * xccdf_benchmark_item_clonecxx . . $ xccdf_benchmark_item_clone(42075129cb946a53).(struct xccdf_itemcxx . . $ xccdf_item# *clone, const struct xccdf_benchmarkcxx . . $ xccdf_benchmark# * bench); |
| 513 | void xccdf_rule_item_clonecxx . . $ xccdf_rule_item_clone(1412c91b9f8e6897).(struct xccdf_rule_itemcxx . . $ xccdf_rule_item# *clone, const struct xccdf_rule_itemcxx . . $ xccdf_rule_item# * item); |
| 514 | void xccdf_group_item_clonecxx . . $ xccdf_group_item_clone(d76e0db0d4a9d44e).(struct xccdf_itemcxx . . $ xccdf_item# *parent, const struct xccdf_group_itemcxx . . $ xccdf_group_item# * item); |
| 515 | void xccdf_value_item_clonecxx . . $ xccdf_value_item_clone(19527132204f3420).(struct xccdf_value_itemcxx . . $ xccdf_value_item# *clone, const struct xccdf_value_itemcxx . . $ xccdf_value_item# * item); |
| 516 | struct xccdf_value_instancecxx . . $ xccdf_value_instance# * xccdf_value_instance_clonecxx . . $ xccdf_value_instance_clone(60fe04fa9b1b865b).(const struct xccdf_value_instancecxx . . $ xccdf_value_instance# * val); |
| 517 | void xccdf_result_item_clonecxx . . $ xccdf_result_item_clone(35c0cd21daafc548).(struct xccdf_result_itemcxx . . $ xccdf_result_item# *clone, const struct xccdf_result_itemcxx . . $ xccdf_result_item# * item); |
| 518 | struct xccdf_profile_notecxx . . $ xccdf_profile_note# * xccdf_profile_note_clonecxx . . $ xccdf_profile_note_clone(44194b9583ba5a96).(const struct xccdf_profile_notecxx . . $ xccdf_profile_note# * note); |
| 519 | void xccdf_reparent_listcxx . . $ xccdf_reparent_list(1c5dd8f15053f6e2).(struct oscap_listcxx . . $ oscap_list# * item_list, struct xccdf_itemcxx . . $ xccdf_item# * parent); |
| 520 | void xccdf_reparent_itemcxx . . $ xccdf_reparent_item(7ca6904b033c071a).(struct xccdf_itemcxx . . $ xccdf_item# * item, struct xccdf_itemcxx . . $ xccdf_item# * parent); |
| 521 | |
| 522 | void xccdf_texts_to_domcxx . . $ xccdf_texts_to_dom(c13e4d88df8e39b1).(struct oscap_text_iteratorcxx . . $ oscap_text_iterator# *texts, xmlNodecxx . . $ xmlNode# *parent, const char *elname); |
| 523 | |
| 524 | void xccdf_item_add_applicable_platformcxx . . $ xccdf_item_add_applicable_platform(55c7e5eccc41495d).(struct xccdf_itemcxx . . $ xccdf_item# *item, xmlTextReaderPtrcxx . . $ xmlTextReaderPtr# reader); |
| 525 | |
| 526 | #include "unused.h"cxx . . $ `<file>/src/XCCDF/unused.h`/ |
| 527 | |
| 528 | |
| 529 | #endif |