00001
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #ifndef XCCDF_H_
00035 #define XCCDF_H_
00036
00037 #include <stdbool.h>
00038 #include <time.h>
00039 #include "oscap.h"
00040
00041
00042
00043
00044
00053 typedef enum {
00054 XCCDF_BENCHMARK = 0x0100,
00055 XCCDF_PROFILE = 0x0200,
00056 XCCDF_RESULT = 0x0400,
00057 XCCDF_RULE = 0x1000,
00058 XCCDF_GROUP = 0x2000,
00059 XCCDF_VALUE = 0x4000,
00060
00062 XCCDF_CONTENT = XCCDF_RULE | XCCDF_GROUP,
00064 XCCDF_ITEM = XCCDF_RULE | XCCDF_GROUP | XCCDF_VALUE,
00066 XCCDF_OBJECT = XCCDF_ITEM | XCCDF_PROFILE | XCCDF_BENCHMARK | XCCDF_RESULT,
00067 } xccdf_type_t;
00068
00070 typedef enum {
00071 XCCDF_IFACE_HINT_NONE,
00072 XCCDF_IFACE_HINT_CHOICE,
00073 XCCDF_IFACE_HINT_TEXTLINE,
00074 XCCDF_IFACE_HINT_TEXT,
00075 XCCDF_IFACE_HINT_DATE,
00076 XCCDF_IFACE_HINT_DATETIME,
00077 } xccdf_interface_hint_t;
00078
00080 typedef enum {
00081 XCCDF_STATUS_NOT_SPECIFIED,
00082 XCCDF_STATUS_ACCEPTED,
00083 XCCDF_STATUS_DEPRECATED,
00084 XCCDF_STATUS_DRAFT,
00085 XCCDF_STATUS_INCOMPLETE,
00086 XCCDF_STATUS_INTERIM
00087 } xccdf_status_type_t;
00088
00090 typedef enum {
00091 XCCDF_TYPE_NUMBER = 1,
00092 XCCDF_TYPE_STRING,
00093 XCCDF_TYPE_BOOLEAN,
00094 } xccdf_value_type_t;
00095
00097 typedef enum {
00098 XCCDF_OPERATOR_EQUALS = 1,
00099 XCCDF_OPERATOR_NOT_EQUAL,
00100 XCCDF_OPERATOR_GREATER,
00101 XCCDF_OPERATOR_GREATER_EQUAL,
00102 XCCDF_OPERATOR_LESS,
00103 XCCDF_OPERATOR_LESS_EQUAL,
00104 XCCDF_OPERATOR_PATTERN_MATCH
00105 } xccdf_operator_t;
00106
00108 typedef enum {
00109 XCCDF_OPERATOR_AND = 0x0002,
00110 XCCDF_OPERATOR_OR = 0x0003,
00111 XCCDF_OPERATOR_NOT = 0x0100,
00112 XCCDF_OPERATOR_NAND = XCCDF_OPERATOR_AND | XCCDF_OPERATOR_NOT,
00113 XCCDF_OPERATOR_NOR = XCCDF_OPERATOR_OR | XCCDF_OPERATOR_NOT,
00114 XCCDF_OPERATOR_MASK = 0x00ff
00115 } xccdf_bool_operator_t;
00116
00118 typedef enum {
00119 XCCDF_UNKNOWN = 1,
00120 XCCDF_INFO,
00121 XCCDF_LOW,
00122 XCCDF_MEDIUM,
00123 XCCDF_HIGH
00124 } xccdf_level_t;
00125
00127 typedef enum {
00128 XCCDF_MSG_INFO = XCCDF_INFO,
00129 XCCDF_MSG_WARNING = XCCDF_LOW,
00130 XCCDF_MSG_ERROR = XCCDF_HIGH,
00131 } xccdf_message_severity_t;
00132
00134 typedef enum {
00135 XCCDF_ROLE_FULL = 1,
00136 XCCDF_ROLE_UNSCORED,
00137 XCCDF_ROLE_UNCHECKED
00138 } xccdf_role_t;
00139
00141 typedef enum {
00142 XCCDF_WARNING_GENERAL = 1,
00143 XCCDF_WARNING_FUNCTIONALITY,
00144 XCCDF_WARNING_PERFORMANCE,
00145 XCCDF_WARNING_HARDWARE,
00146 XCCDF_WARNING_LEGAL,
00147 XCCDF_WARNING_REGULATORY,
00148 XCCDF_WARNING_MANAGEMENT,
00149 XCCDF_WARNING_AUDIT,
00150 XCCDF_WARNING_DEPENDENCY
00151 } xccdf_warning_category_t;
00152
00154 typedef enum {
00155 XCCDF_STRATEGY_UNKNOWN,
00156 XCCDF_STRATEGY_CONFIGURE,
00157 XCCDF_STRATEGY_DISABLE,
00158 XCCDF_STRATEGY_ENABLE,
00159 XCCDF_STRATEGY_PATCH,
00160 XCCDF_STRATEGY_POLICY,
00161 XCCDF_STRATEGY_RESTRICT,
00162 XCCDF_STRATEGY_UPDATE,
00163 XCCDF_STRATEGY_COMBINATION
00164 } xccdf_strategy_t;
00165
00167 typedef enum {
00168 XCCDF_RESULT_PASS = 1,
00169 XCCDF_RESULT_FAIL,
00170 XCCDF_RESULT_ERROR,
00171 XCCDF_RESULT_UNKNOWN,
00172 XCCDF_RESULT_NOT_APPLICABLE,
00173 XCCDF_RESULT_NOT_CHECKED,
00174 XCCDF_RESULT_NOT_SELECTED,
00175 XCCDF_RESULT_INFORMATIONAL,
00176 XCCDF_RESULT_FIXED
00177 } xccdf_test_result_type_t;
00178
00179
00180
00181
00182
00186 typedef float xccdf_numeric;
00187
00192 struct xccdf_benchmark;
00193
00198 struct xccdf_profile;
00199
00204 struct xccdf_item;
00205
00210 struct xccdf_rule;
00211
00216 struct xccdf_group;
00217
00222 struct xccdf_value;
00223
00228 struct xccdf_result;
00229
00230
00231
00232
00233
00238 struct xccdf_notice;
00239
00244 struct xccdf_status;
00245
00250 struct xccdf_model;
00251
00256 struct xccdf_warning;
00257
00262 struct xccdf_select;
00263
00268 struct xccdf_setvalue;
00269
00274 struct xccdf_refine_value;
00275
00280 struct xccdf_refine_rule;
00281
00286 struct xccdf_ident;
00287
00292 struct xccdf_check;
00297 struct xccdf_check_content_ref;
00298
00303 struct xccdf_profile_note;
00304
00310 struct xccdf_check_import;
00311
00317 struct xccdf_check_export;
00318
00324 struct xccdf_fix;
00325
00331 struct xccdf_fixtext;
00332
00338 struct xccdf_reference;
00339
00347 struct xccdf_value_instance;
00348
00354 struct xccdf_identity;
00355
00361 struct xccdf_instance;
00362
00368 struct xccdf_message;
00369
00375 struct xccdf_override;
00376
00382 struct xccdf_rule_result;
00383
00389 struct xccdf_score;
00390
00396 struct xccdf_target_fact;
00397
00403 struct xccdf_plain_text;
00404
00410 struct xccdf_item_iterator;
00411
00417 struct xccdf_notice_iterator;
00418
00424 struct xccdf_status_iterator;
00425
00431 struct xccdf_reference_iterator;
00432
00438 struct xccdf_identity_iterator;
00439
00445 struct xccdf_model_iterator;
00446
00452 struct xccdf_result_iterator;
00453
00459 struct xccdf_profile_iterator;
00460
00466 struct xccdf_select_iterator;
00467
00473 struct xccdf_value_iterator;
00474
00480 struct xccdf_setvalue_iterator;
00481
00486 struct xccdf_refine_value_iterator;
00487
00493 struct xccdf_refine_rule_iterator;
00494
00500 struct xccdf_ident_iterator;
00501
00507 struct xccdf_check_iterator;
00508
00514 struct xccdf_profile_note_iterator;
00515
00521 struct xccdf_fixtext_iterator;
00522
00528 struct xccdf_check_content_ref_iterator;
00529
00535 struct xccdf_check_import_iterator;
00536
00542 struct xccdf_fix_iterator;
00543
00549 struct xccdf_check_export_iterator;
00550
00556 struct xccdf_warning_iterator;
00557
00563 struct xccdf_instance_iterator;
00564
00570 struct xccdf_message_iterator;
00571
00577 struct xccdf_override_iterator;
00578
00584 struct xccdf_rule_result_iterator;
00585
00591 struct xccdf_value_instance_iterator;
00592
00598 struct xccdf_score_iterator;
00599
00605 struct xccdf_target_fact_iterator;
00606
00612 struct xccdf_plain_text_iterator;
00613
00614
00615
00617 void xccdf_item_free(struct xccdf_item *item);
00618
00620 struct xccdf_item * xccdf_item_clone(const struct xccdf_item * old_item);
00621
00628 struct xccdf_benchmark* xccdf_item_to_benchmark(struct xccdf_item* item);
00629
00636 struct xccdf_profile* xccdf_item_to_profile(struct xccdf_item* item);
00637
00644 struct xccdf_rule* xccdf_item_to_rule(struct xccdf_item* item);
00645
00652 struct xccdf_group* xccdf_item_to_group(struct xccdf_item* item);
00653
00660 struct xccdf_value* xccdf_item_to_value(struct xccdf_item* item);
00661
00668 struct xccdf_result* xccdf_item_to_result(struct xccdf_item* item);
00669
00677 struct xccdf_benchmark* xccdf_benchmark_import(const char *file);
00678
00685 int xccdf_benchmark_export(struct xccdf_benchmark *benchmark, const char *file);
00686
00693 int xccdf_result_export(struct xccdf_result *result, const char *file);
00694
00701 bool xccdf_benchmark_resolve(struct xccdf_benchmark *benchmark);
00702
00704 struct xccdf_benchmark *xccdf_benchmark_new(void);
00706 void xccdf_benchmark_free(struct xccdf_benchmark *benchmark);
00708 struct xccdf_item *xccdf_benchmark_to_item(struct xccdf_benchmark *item);
00710 struct xccdf_benchmark * xccdf_benchmark_clone( const struct xccdf_benchmark * benchmark );
00711
00717 const char * xccdf_benchmark_supported(void);
00718
00720 struct xccdf_profile *xccdf_profile_new(void);
00722 void xccdf_profile_free(struct xccdf_item *prof);
00724 struct xccdf_item *xccdf_profile_to_item(struct xccdf_profile *item);
00726 struct xccdf_profile * xccdf_profile_clone( const struct xccdf_profile * profile);
00727
00729 struct xccdf_rule *xccdf_rule_new(void);
00731 void xccdf_rule_free(struct xccdf_item *rule);
00733 struct xccdf_item *xccdf_rule_to_item(struct xccdf_rule *item);
00735 struct xccdf_rule * xccdf_rule_clone(const struct xccdf_rule * rule);
00736
00738 struct xccdf_group *xccdf_group_new(void);
00740 void xccdf_group_free(struct xccdf_item *group);
00742 struct xccdf_item *xccdf_group_to_item(struct xccdf_group *item);
00744 struct xccdf_group * xccdf_group_clone(const struct xccdf_group * group);
00745
00747 struct xccdf_value *xccdf_value_new(xccdf_value_type_t type);
00749 void xccdf_value_free(struct xccdf_item *val);
00751 struct xccdf_item *xccdf_value_to_item(struct xccdf_value *item);
00753 struct xccdf_value * xccdf_value_clone(const struct xccdf_value * value);
00754
00756 struct xccdf_status *xccdf_status_new(void);
00758 struct xccdf_status * xccdf_status_clone(const struct xccdf_status * old_status);
00760 struct xccdf_status *xccdf_status_new_fill(const char *status, const char *date);
00762 void xccdf_status_free(struct xccdf_status *status);
00764 struct xccdf_notice *xccdf_notice_new(void);
00766 void xccdf_notice_free(struct xccdf_notice *notice);
00768 struct xccdf_notice * xccdf_notice_clone(const struct xccdf_notice * notice);
00769
00771 struct xccdf_model *xccdf_model_new(void);
00773 struct xccdf_model * xccdf_model_clone(const struct xccdf_model * old_model);
00775 void xccdf_model_free(struct xccdf_model *model);
00776
00778 struct xccdf_ident *xccdf_ident_new(void);
00780 struct xccdf_ident *xccdf_ident_new_fill(const char *id, const char *sys);
00782 struct xccdf_ident *xccdf_ident_clone(const struct xccdf_ident * ident);
00784 void xccdf_ident_free(struct xccdf_ident *ident);
00785
00786
00788 struct xccdf_check *xccdf_check_new(void);
00790 void xccdf_check_free(struct xccdf_check *check);
00791
00793 struct xccdf_check *xccdf_check_clone(const struct xccdf_check *old_check);
00795 struct xccdf_check_import *xccdf_check_import_clone(const struct xccdf_check_import *old_import);
00797 struct xccdf_check_export *xccdf_check_export_clone(const struct xccdf_check_export *old_export);
00799 struct xccdf_check_content_ref *xccdf_check_content_ref_clone(const struct xccdf_check_content_ref *old_ref);
00800
00802 struct xccdf_check_content_ref *xccdf_check_content_ref_new(void);
00804 void xccdf_check_content_ref_free(struct xccdf_check_content_ref *ref);
00805
00807 struct xccdf_profile_note *xccdf_profile_note_new(void);
00809 void xccdf_profile_note_free(struct xccdf_profile_note *note);
00810
00812 struct xccdf_check_import *xccdf_check_import_new(void);
00814 void xccdf_check_import_free(struct xccdf_check_import *item);
00815
00817 struct xccdf_check_export *xccdf_check_export_new(void);
00819 void xccdf_check_export_free(struct xccdf_check_export *item);
00820
00822 struct xccdf_fix *xccdf_fix_new(void);
00824 struct xccdf_fix *xccdf_fix_clone(const struct xccdf_fix *old_fix);
00826 void xccdf_fix_free(struct xccdf_fix *item);
00827
00829 struct xccdf_fixtext *xccdf_fixtext_new(void);
00831 struct xccdf_fixtext * xccdf_fixtext_clone(const struct xccdf_fixtext * fixtext);
00833 void xccdf_fixtext_free(struct xccdf_fixtext *item);
00834
00836 void xccdf_select_free(struct xccdf_select *sel);
00838 struct xccdf_select *xccdf_select_clone(const struct xccdf_select * select);
00840 struct xccdf_select *xccdf_select_new(void);
00841
00843 struct xccdf_warning *xccdf_warning_new(void);
00845 struct xccdf_warning *xccdf_warning_clone(const struct xccdf_warning *old_warning);
00847 void xccdf_warning_free(struct xccdf_warning * warn);
00848
00850 void xccdf_refine_rule_free(struct xccdf_refine_rule *obj);
00851
00853 void xccdf_refine_value_free(struct xccdf_refine_value *rv);
00854
00855 void xccdf_setvalue_free(struct xccdf_setvalue *sv);
00856
00861 void xccdf_cleanup(void);
00862
00868 struct xccdf_group *xccdf_benchmark_append_new_group(struct xccdf_benchmark *, const char *id);
00869
00875 struct xccdf_value *xccdf_benchmark_append_new_value(struct xccdf_benchmark *, const char *id, xccdf_value_type_t type);
00876
00882 struct xccdf_rule *xccdf_benchmark_append_new_rule(struct xccdf_benchmark *, const char *id);
00883
00885 struct xccdf_plain_text *xccdf_plain_text_new(void);
00887 struct xccdf_plain_text *xccdf_plain_text_new_fill(const char *id, const char *text);
00889 void xccdf_plain_text_free(struct xccdf_plain_text *plain);
00891 struct xccdf_plain_text *xccdf_plain_text_clone(const struct xccdf_plain_text * pt);
00892
00894 struct xccdf_result *xccdf_result_new(void);
00896 void xccdf_result_free(struct xccdf_result *item);
00898 struct xccdf_item *xccdf_result_to_item(struct xccdf_result *item);
00900 struct xccdf_result * xccdf_result_clone(const struct xccdf_result * result);
00901
00903 struct xccdf_rule_result *xccdf_rule_result_new(void);
00905 struct xccdf_rule_result * xccdf_rule_result_clone(const struct xccdf_rule_result * result);
00907 void xccdf_rule_result_free(struct xccdf_rule_result *rr);
00908
00910 struct xccdf_identity *xccdf_identity_new(void);
00912 struct xccdf_identity * xccdf_identity_clone(const struct xccdf_identity * identity);
00914 void xccdf_identity_free(struct xccdf_identity *identity);
00915
00917 struct xccdf_score *xccdf_score_new(void);
00919 struct xccdf_score * xccdf_score_clone(const struct xccdf_score * score);
00921 void xccdf_score_free(struct xccdf_score *score);
00922
00924 struct xccdf_override *xccdf_override_new(void);
00926 struct xccdf_override * xccdf_override_clone(const struct xccdf_override * override);
00928 void xccdf_override_free(struct xccdf_override *oride);
00929
00931 struct xccdf_message *xccdf_message_new(void);
00933 struct xccdf_message * xccdf_message_clone(const struct xccdf_message * message);
00935 void xccdf_message_free(struct xccdf_message *msg);
00936
00938 struct xccdf_target_fact *xccdf_target_fact_new(void);
00940 struct xccdf_target_fact * xccdf_target_fact_clone(const struct xccdf_target_fact * tf);
00942 void xccdf_target_fact_free(struct xccdf_target_fact *fact);
00943
00945 struct xccdf_instance *xccdf_instance_new(void);
00947 struct xccdf_instance * xccdf_instance_clone(const struct xccdf_instance * instance);
00949 void xccdf_instance_free(struct xccdf_instance *inst);
00950
00951
00952
00953
00954
00955
00956
00957
00962
00963
00965 struct oscap_string_iterator *xccdf_value_instance_get_choices(const struct xccdf_value_instance *item);
00966
00967
00977 struct xccdf_item *xccdf_item_iterator_next(struct xccdf_item_iterator *it);
00982 bool xccdf_item_iterator_has_more(struct xccdf_item_iterator *it);
00987 void xccdf_item_iterator_free(struct xccdf_item_iterator *it);
00988
00989
00994 struct xccdf_notice *xccdf_notice_iterator_next(struct xccdf_notice_iterator *it);
00999 bool xccdf_notice_iterator_has_more(struct xccdf_notice_iterator *it);
01004 void xccdf_notice_iterator_free(struct xccdf_notice_iterator *it);
01005
01006
01011 struct xccdf_status *xccdf_status_iterator_next(struct xccdf_status_iterator *it);
01016 bool xccdf_status_iterator_has_more(struct xccdf_status_iterator *it);
01021 void xccdf_status_iterator_free(struct xccdf_status_iterator *it);
01022
01023
01028 struct xccdf_reference *xccdf_reference_iterator_next(struct xccdf_reference_iterator *it);
01033 bool xccdf_reference_iterator_has_more(struct xccdf_reference_iterator *it);
01038 void xccdf_reference_iterator_free(struct xccdf_reference_iterator *it);
01039
01040
01045 struct xccdf_model *xccdf_model_iterator_next(struct xccdf_model_iterator *it);
01050 bool xccdf_model_iterator_has_more(struct xccdf_model_iterator *it);
01055 void xccdf_model_iterator_free(struct xccdf_model_iterator *it);
01056
01057
01062 struct xccdf_result *xccdf_result_iterator_next(struct xccdf_result_iterator *it);
01067 bool xccdf_result_iterator_has_more(struct xccdf_result_iterator *it);
01072 void xccdf_result_iterator_free(struct xccdf_result_iterator *it);
01073
01074
01079 struct xccdf_profile *xccdf_profile_iterator_next(struct xccdf_profile_iterator *it);
01084 bool xccdf_profile_iterator_has_more(struct xccdf_profile_iterator *it);
01089 void xccdf_profile_iterator_free(struct xccdf_profile_iterator *it);
01090
01091
01096 struct xccdf_select *xccdf_select_iterator_next(struct xccdf_select_iterator *it);
01101 bool xccdf_select_iterator_has_more(struct xccdf_select_iterator *it);
01106 void xccdf_select_iterator_free(struct xccdf_select_iterator *it);
01107
01108
01113 struct xccdf_setvalue *xccdf_setvalue_iterator_next(struct xccdf_setvalue_iterator *it);
01118 bool xccdf_setvalue_iterator_has_more(struct xccdf_setvalue_iterator *it);
01123 void xccdf_setvalue_iterator_free(struct xccdf_setvalue_iterator *it);
01128 void xccdf_setvalue_iterator_reset(struct xccdf_setvalue_iterator *it);
01129
01130
01135 struct xccdf_refine_value *xccdf_refine_value_iterator_next(struct xccdf_refine_value_iterator *it);
01140 bool xccdf_refine_value_iterator_has_more(struct xccdf_refine_value_iterator *it);
01145 void xccdf_refine_value_iterator_free(struct xccdf_refine_value_iterator *it);
01150 void xccdf_refine_value_iterator_reset(struct xccdf_refine_value_iterator *it);
01151
01152
01157 struct xccdf_refine_rule *xccdf_refine_rule_iterator_next(struct xccdf_refine_rule_iterator *it);
01162 bool xccdf_refine_rule_iterator_has_more(struct xccdf_refine_rule_iterator *it);
01167 void xccdf_refine_rule_iterator_free(struct xccdf_refine_rule_iterator *it);
01168
01169
01174 struct xccdf_ident *xccdf_ident_iterator_next(struct xccdf_ident_iterator *it);
01179 bool xccdf_ident_iterator_has_more(struct xccdf_ident_iterator *it);
01184 void xccdf_ident_iterator_free(struct xccdf_ident_iterator *it);
01185
01186
01191 struct xccdf_check *xccdf_check_iterator_next(struct xccdf_check_iterator *it);
01196 bool xccdf_check_iterator_has_more(struct xccdf_check_iterator *it);
01201 void xccdf_check_iterator_free(struct xccdf_check_iterator *it);
01202
01203
01208 struct xccdf_check_content_ref *xccdf_check_content_ref_iterator_next(struct xccdf_check_content_ref_iterator *it);
01213 bool xccdf_check_content_ref_iterator_has_more(struct xccdf_check_content_ref_iterator *it);
01218 void xccdf_check_content_ref_iterator_free(struct xccdf_check_content_ref_iterator *it);
01219
01220
01225 struct xccdf_profile_note *xccdf_profile_note_iterator_next(struct xccdf_profile_note_iterator *it);
01230 bool xccdf_profile_note_iterator_has_more(struct xccdf_profile_note_iterator *it);
01235 void xccdf_profile_note_iterator_free(struct xccdf_profile_note_iterator *it);
01236
01237
01242 struct xccdf_check_import *xccdf_check_import_iterator_next(struct xccdf_check_import_iterator *it);
01247 bool xccdf_check_import_iterator_has_more(struct xccdf_check_import_iterator *it);
01252 void xccdf_check_import_iterator_free(struct xccdf_check_import_iterator *it);
01253
01254
01259 struct xccdf_check_export *xccdf_check_export_iterator_next(struct xccdf_check_export_iterator *it);
01264 bool xccdf_check_export_iterator_has_more(struct xccdf_check_export_iterator *it);
01269 void xccdf_check_export_iterator_free(struct xccdf_check_export_iterator *it);
01270
01271
01276 struct xccdf_fix *xccdf_fix_iterator_next(struct xccdf_fix_iterator *it);
01281 bool xccdf_fix_iterator_has_more(struct xccdf_fix_iterator *it);
01286 void xccdf_fix_iterator_free(struct xccdf_fix_iterator *it);
01287
01288
01293 struct xccdf_fixtext *xccdf_fixtext_iterator_next(struct xccdf_fixtext_iterator *it);
01298 bool xccdf_fixtext_iterator_has_more(struct xccdf_fixtext_iterator *it);
01303 void xccdf_fixtext_iterator_free(struct xccdf_fixtext_iterator *it);
01304
01305
01310 struct xccdf_warning *xccdf_warning_iterator_next(struct xccdf_warning_iterator *it);
01315 bool xccdf_warning_iterator_has_more(struct xccdf_warning_iterator *it);
01320 void xccdf_warning_iterator_free(struct xccdf_warning_iterator *it);
01321
01322
01327 struct xccdf_instance *xccdf_instance_iterator_next(struct xccdf_instance_iterator *it);
01332 bool xccdf_instance_iterator_has_more(struct xccdf_instance_iterator *it);
01337 void xccdf_instance_iterator_free(struct xccdf_instance_iterator *it);
01338
01339
01344 struct xccdf_message *xccdf_message_iterator_next(struct xccdf_message_iterator *it);
01349 bool xccdf_message_iterator_has_more(struct xccdf_message_iterator *it);
01354 void xccdf_message_iterator_free(struct xccdf_message_iterator *it);
01355
01356
01361 struct xccdf_override *xccdf_override_iterator_next(struct xccdf_override_iterator *it);
01366 bool xccdf_override_iterator_has_more(struct xccdf_override_iterator *it);
01371 void xccdf_override_iterator_free(struct xccdf_override_iterator *it);
01372
01373
01378 struct xccdf_identity *xccdf_identity_iterator_next(struct xccdf_identity_iterator *it);
01383 bool xccdf_identity_iterator_has_more(struct xccdf_identity_iterator *it);
01388 void xccdf_identity_iterator_free(struct xccdf_identity_iterator *it);
01389
01390
01395 struct xccdf_rule_result *xccdf_rule_result_iterator_next(struct xccdf_rule_result_iterator *it);
01400 bool xccdf_rule_result_iterator_has_more(struct xccdf_rule_result_iterator *it);
01405 void xccdf_rule_result_iterator_free(struct xccdf_rule_result_iterator *it);
01406
01407
01412 struct xccdf_value_instance *xccdf_value_instance_iterator_next(struct xccdf_value_instance_iterator *it);
01417 bool xccdf_value_instance_iterator_has_more(struct xccdf_value_instance_iterator *it);
01422 void xccdf_value_instance_iterator_free(struct xccdf_value_instance_iterator *it);
01423
01424
01429 struct xccdf_score *xccdf_score_iterator_next(struct xccdf_score_iterator *it);
01434 bool xccdf_score_iterator_has_more(struct xccdf_score_iterator *it);
01439 void xccdf_score_iterator_free(struct xccdf_score_iterator *it);
01440
01441
01446 struct xccdf_target_fact *xccdf_target_fact_iterator_next(struct xccdf_target_fact_iterator *it);
01451 bool xccdf_target_fact_iterator_has_more(struct xccdf_target_fact_iterator *it);
01456 void xccdf_target_fact_iterator_free(struct xccdf_target_fact_iterator *it);
01457
01458
01463 struct xccdf_plain_text *xccdf_plain_text_iterator_next(struct xccdf_plain_text_iterator *it);
01468 bool xccdf_plain_text_iterator_has_more(struct xccdf_plain_text_iterator *it);
01473 void xccdf_plain_text_iterator_free(struct xccdf_plain_text_iterator *it);
01474
01475
01480 struct xccdf_value *xccdf_value_iterator_next(struct xccdf_value_iterator *it);
01485 bool xccdf_value_iterator_has_more(struct xccdf_value_iterator *it);
01490 void xccdf_value_iterator_free(struct xccdf_value_iterator *it);
01491
01492
01493
01494
01495
01506 xccdf_type_t xccdf_item_get_type(const struct xccdf_item *item);
01510 const char *xccdf_item_get_id(const struct xccdf_item *item);
01514 struct oscap_text_iterator *xccdf_item_get_title(const struct xccdf_item *item);
01518 struct oscap_text_iterator *xccdf_item_get_description(const struct xccdf_item *item);
01522 const char *xccdf_item_get_version(const struct xccdf_item *item);
01526 const char *xccdf_item_get_extends(const struct xccdf_item *item);
01530 struct xccdf_status_iterator *xccdf_item_get_statuses(const struct xccdf_item *item);
01534 struct xccdf_reference_iterator *xccdf_item_get_references(const struct xccdf_item *item);
01538 struct oscap_string_iterator *xccdf_item_get_conflicts(const struct xccdf_item* item);
01542 struct oscap_stringlist_iterator *xccdf_item_get_requires(const struct xccdf_item* item);
01546 xccdf_status_type_t xccdf_item_get_current_status(const struct xccdf_item *item);
01550 bool xccdf_item_get_hidden(const struct xccdf_item *item);
01554 bool xccdf_item_get_selected(const struct xccdf_item *item);
01558 bool xccdf_item_get_prohibit_changes(const struct xccdf_item *item);
01562 bool xccdf_item_get_abstract(const struct xccdf_item *item);
01566 bool xccdf_item_get_interactive(const struct xccdf_item *item);
01570 struct xccdf_item_iterator *xccdf_item_get_content(const struct xccdf_item *item);
01574 const char * xccdf_test_result_type_get_text(xccdf_test_result_type_t id);
01578 struct xccdf_rule_result * xccdf_result_get_rule_result_by_id(struct xccdf_result * result, const char * id);
01579
01585 struct xccdf_item *xccdf_item_get_parent(const struct xccdf_item *item);
01586
01590 const char *xccdf_benchmark_get_id(const struct xccdf_benchmark *benchmark);
01594 bool xccdf_benchmark_get_resolved(const struct xccdf_benchmark *benchmark);
01598 struct oscap_text_iterator *xccdf_benchmark_get_title(const struct xccdf_benchmark *benchmark);
01602 struct oscap_text_iterator *xccdf_benchmark_get_description(const struct xccdf_benchmark *benchmark);
01606 const char *xccdf_benchmark_get_version(const struct xccdf_benchmark *benchmark);
01610 const char *xccdf_benchmark_get_style(const struct xccdf_benchmark *benchmark);
01614 const char *xccdf_benchmark_get_style_href(const struct xccdf_benchmark *benchmark);
01618 struct oscap_text_iterator *xccdf_benchmark_get_front_matter(const struct xccdf_benchmark *benchmark);
01622 struct oscap_text_iterator *xccdf_benchmark_get_rear_matter(const struct xccdf_benchmark *benchmark);
01626 const char *xccdf_benchmark_get_metadata(const struct xccdf_benchmark *benchmark);
01630 struct xccdf_status_iterator *xccdf_benchmark_get_statuses(const struct xccdf_benchmark *benchmark);
01634 struct xccdf_reference_iterator *xccdf_benchmark_get_references(const struct xccdf_benchmark *benchmark);
01638 struct oscap_string_iterator *xccdf_benchmark_get_platforms(const struct xccdf_benchmark *benchmark);
01642 xccdf_status_type_t xccdf_benchmark_get_status_current(const struct xccdf_benchmark *benchmark);
01646 struct xccdf_plain_text_iterator *xccdf_benchmark_get_plain_texts(const struct xccdf_benchmark *item);
01650 struct xccdf_result_iterator* xccdf_benchmark_get_results(const struct xccdf_benchmark *bench);
01654 struct xccdf_value_iterator *xccdf_benchmark_get_values(const struct xccdf_benchmark *item);
01656 bool xccdf_benchmark_set_lang(struct xccdf_benchmark *item, const char *newval);
01658 const char *xccdf_benchmark_get_lang(const struct xccdf_benchmark *item);
01659
01667 const char *xccdf_benchmark_get_plain_text(const struct xccdf_benchmark *benchmark, const char *id);
01668
01676 struct xccdf_item *xccdf_benchmark_get_item(const struct xccdf_benchmark *benchmark, const char *id);
01677
01683 struct xccdf_notice_iterator *xccdf_benchmark_get_notices(const struct xccdf_benchmark *benchmark);
01684
01690 struct xccdf_model_iterator *xccdf_benchmark_get_models(const struct xccdf_benchmark *benchmark);
01691
01697 struct xccdf_profile_iterator *xccdf_benchmark_get_profiles(const struct xccdf_benchmark *benchmark);
01698
01706 struct xccdf_item_iterator *xccdf_benchmark_get_content(const struct xccdf_benchmark *benchmark);
01707
01711 const char *xccdf_profile_get_id(const struct xccdf_profile *profile);
01715 struct oscap_text_iterator *xccdf_profile_get_title(const struct xccdf_profile *profile);
01719 struct oscap_text_iterator *xccdf_profile_get_description(const struct xccdf_profile *profile);
01723 const char *xccdf_profile_get_version(const struct xccdf_profile *profile);
01727 const char *xccdf_profile_get_extends(const struct xccdf_profile *profile);
01731 struct xccdf_benchmark *xccdf_profile_get_benchmark(const struct xccdf_profile *profile);
01735 bool xccdf_profile_get_abstract(const struct xccdf_profile *profile);
01739 bool xccdf_profile_get_prohibit_changes(const struct xccdf_profile *profile);
01743 struct oscap_string_iterator *xccdf_profile_get_platforms(const struct xccdf_profile *profile);
01747 struct xccdf_status_iterator *xccdf_profile_get_statuses(const struct xccdf_profile *profile);
01751 struct xccdf_reference_iterator *xccdf_profile_get_references(const struct xccdf_profile *profile);
01755 xccdf_status_type_t xccdf_profile_get_status_current(const struct xccdf_profile *profile);
01759
01763 struct xccdf_select_iterator *xccdf_profile_get_selects(const struct xccdf_profile *profile);
01767 struct xccdf_setvalue_iterator *xccdf_profile_get_setvalues(const struct xccdf_profile *profile);
01771 struct xccdf_refine_value_iterator *xccdf_profile_get_refine_values(const struct xccdf_profile *profile);
01775 struct xccdf_refine_rule_iterator *xccdf_profile_get_refine_rules(const struct xccdf_profile *profile);
01776
01782 struct xccdf_item *xccdf_rule_get_parent(const struct xccdf_rule *rule);
01783
01787 const char *xccdf_rule_get_id(const struct xccdf_rule *rule);
01791 struct oscap_text_iterator *xccdf_rule_get_title(const struct xccdf_rule *rule);
01795 struct oscap_text_iterator *xccdf_rule_get_description(const struct xccdf_rule *rule);
01799 const char *xccdf_rule_get_version(const struct xccdf_rule *rule);
01803 struct oscap_text_iterator *xccdf_rule_get_question(const struct xccdf_rule *rule);
01807 struct xccdf_warning_iterator *xccdf_rule_get_warnings(const struct xccdf_rule *rule);
01811 struct oscap_text_iterator *xccdf_rule_get_rationale(const struct xccdf_rule *rule);
01815 const char *xccdf_rule_get_cluster_id(const struct xccdf_rule *rule);
01819 float xccdf_rule_get_weight(const struct xccdf_rule *rule);
01823 bool xccdf_rule_set_weight(struct xccdf_rule *item, xccdf_numeric newval);
01827 const char *xccdf_rule_get_extends(const struct xccdf_rule *rule);
01831 bool xccdf_rule_get_abstract(const struct xccdf_rule *rule);
01835 bool xccdf_rule_get_prohibit_changes(const struct xccdf_rule *rule);
01839 bool xccdf_rule_get_hidden(const struct xccdf_rule *rule);
01843 bool xccdf_rule_get_selected(const struct xccdf_rule *rule);
01847 bool xccdf_rule_get_multiple(const struct xccdf_rule *rule);
01851 struct oscap_string_iterator *xccdf_rule_get_platforms(const struct xccdf_rule *rule);
01855 struct xccdf_status_iterator *xccdf_rule_get_statuses(const struct xccdf_rule *rule);
01859 struct xccdf_reference_iterator *xccdf_rule_get_references(const struct xccdf_rule *rule);
01863 xccdf_status_type_t xccdf_rule_get_status_current(const struct xccdf_rule *rule);
01867 const char *xccdf_rule_get_impact_metric(const struct xccdf_rule *rule);
01871 xccdf_role_t xccdf_rule_get_role(const struct xccdf_rule *rule);
01875 xccdf_level_t xccdf_rule_get_severity(const struct xccdf_rule *rule);
01879 struct xccdf_ident_iterator *xccdf_rule_get_idents(const struct xccdf_rule *rule);
01883 struct xccdf_check_iterator *xccdf_rule_get_checks(const struct xccdf_rule *rule);
01887 struct xccdf_profile_note_iterator *xccdf_rule_get_profile_notes(const struct xccdf_rule *rule);
01891 struct xccdf_fix_iterator *xccdf_rule_get_fixes(const struct xccdf_rule *rule);
01895 struct xccdf_fixtext_iterator *xccdf_rule_get_fixtexts(const struct xccdf_rule *rule);
01899 struct oscap_string_iterator *xccdf_rule_get_conflicts(const struct xccdf_rule* rule);
01903 struct oscap_stringlist_iterator *xccdf_rule_get_requires(const struct xccdf_rule* rule);
01904
01905
01906
01907
01908
01909
01910 struct xccdf_item *xccdf_group_get_parent(const struct xccdf_group *group);
01911
01919 struct xccdf_item_iterator *xccdf_group_get_content(const struct xccdf_group *group);
01920
01922 struct xccdf_value_iterator *xccdf_group_get_values(const struct xccdf_group *group);
01923
01925 const char *xccdf_group_get_id(const struct xccdf_group *group);
01927 struct oscap_text_iterator *xccdf_group_get_title(const struct xccdf_group *group);
01929 struct oscap_text_iterator *xccdf_group_get_description(const struct xccdf_group *group);
01931 const char *xccdf_group_get_version(const struct xccdf_group *group);
01933 struct oscap_text_iterator *xccdf_group_get_question(const struct xccdf_group *group);
01935 struct xccdf_warning_iterator *xccdf_group_get_warnings(const struct xccdf_group *group);
01937 struct oscap_text_iterator *xccdf_group_get_rationale(const struct xccdf_group *group);
01939 const char *xccdf_group_get_cluster_id(const struct xccdf_group *group);
01941 float xccdf_group_get_weight(const struct xccdf_group *group);
01943 bool xccdf_group_set_weight(struct xccdf_group *item, xccdf_numeric newval);
01945 const char *xccdf_group_get_extends(const struct xccdf_group *group);
01947 bool xccdf_group_get_abstract(const struct xccdf_group *group);
01949 bool xccdf_group_get_prohibit_changes(const struct xccdf_group *group);
01951 bool xccdf_group_get_hidden(const struct xccdf_group *group);
01953 bool xccdf_group_get_selected(const struct xccdf_group *group);
01955 struct oscap_string_iterator *xccdf_group_get_platforms(const struct xccdf_group *group);
01957 struct xccdf_status_iterator *xccdf_group_get_statuses(const struct xccdf_group *group);
01959 struct xccdf_reference_iterator *xccdf_group_get_references(const struct xccdf_group *group);
01961 xccdf_status_type_t xccdf_group_get_status_current(const struct xccdf_group *group);
01963 struct oscap_string_iterator *xccdf_group_get_conflicts(const struct xccdf_group* group);
01965 struct oscap_stringlist_iterator *xccdf_group_get_requires(const struct xccdf_group* group);
01966
01968 struct oscap_text_iterator *xccdf_value_get_title(const struct xccdf_value *value);
01970 const char *xccdf_value_get_id(const struct xccdf_value *value);
01972 struct oscap_text_iterator *xccdf_value_get_description(const struct xccdf_value *value);
01974 const char *xccdf_value_get_extends(const struct xccdf_value *value);
01976 bool xccdf_value_get_abstract(const struct xccdf_value *value);
01978 bool xccdf_value_get_prohibit_changes(const struct xccdf_value *value);
01980 bool xccdf_value_get_hidden(const struct xccdf_value *value);
01982 bool xccdf_value_get_interactive(const struct xccdf_value *value);
01984 struct xccdf_status_iterator *xccdf_value_get_statuses(const struct xccdf_value *value);
01986 struct xccdf_reference_iterator *xccdf_value_get_references(const struct xccdf_value *value);
01988 xccdf_status_type_t xccdf_value_get_status_current(const struct xccdf_value *value);
01990 xccdf_value_type_t xccdf_value_get_type(const struct xccdf_value *value);
01992 xccdf_interface_hint_t xccdf_value_get_interface_hint(const struct xccdf_value *value);
01994 xccdf_operator_t xccdf_value_get_oper(const struct xccdf_value *value);
01996 struct xccdf_value_instance *xccdf_value_get_instance_by_selector(const struct xccdf_value *value, const char *selector);
01998 bool xccdf_value_add_instance(struct xccdf_value *value, struct xccdf_value_instance *instance);
02000 struct xccdf_value_instance_iterator *xccdf_value_get_instances(const struct xccdf_value *item);
02001
02002
02004 void xccdf_value_instance_free(struct xccdf_value_instance *inst);
02006 struct xccdf_value_instance *xccdf_value_new_instance(struct xccdf_value *val);
02008 const char *xccdf_value_instance_get_selector(const struct xccdf_value_instance *item);
02010 bool xccdf_value_instance_set_selector(struct xccdf_value_instance *obj, const char *newval);
02012 xccdf_value_type_t xccdf_value_instance_get_type(const struct xccdf_value_instance *item);
02014 bool xccdf_value_instance_get_must_match(const struct xccdf_value_instance *item);
02016 bool xccdf_value_instance_set_must_match(struct xccdf_value_instance *obj, bool newval);
02018 bool xccdf_value_instance_get_value_boolean(const struct xccdf_value_instance *inst);
02020 bool xccdf_value_instance_set_value_boolean(struct xccdf_value_instance *inst, bool newval);
02022 xccdf_numeric xccdf_value_instance_get_value_number(const struct xccdf_value_instance *inst);
02024 bool xccdf_value_instance_set_value_number(struct xccdf_value_instance *inst, xccdf_numeric newval);
02026 const char *xccdf_value_instance_get_value_string(const struct xccdf_value_instance *inst);
02028 bool xccdf_value_instance_set_value_string(struct xccdf_value_instance *inst, const char *newval);
02030 bool xccdf_value_instance_get_defval_boolean(const struct xccdf_value_instance *inst);
02032 bool xccdf_value_instance_set_defval_boolean(struct xccdf_value_instance *inst, bool newval);
02034 xccdf_numeric xccdf_value_instance_get_defval_number(const struct xccdf_value_instance *inst);
02036 bool xccdf_value_instance_set_defval_number(struct xccdf_value_instance *inst, xccdf_numeric newval);
02038 const char *xccdf_value_instance_get_defval_string(const struct xccdf_value_instance *inst);
02040 bool xccdf_value_instance_set_defval_string(struct xccdf_value_instance *inst, const char *newval);
02042 xccdf_numeric xccdf_value_instance_get_lower_bound(const struct xccdf_value_instance *inst);
02044 bool xccdf_value_instance_set_lower_bound(struct xccdf_value_instance *inst, xccdf_numeric newval);
02046 xccdf_numeric xccdf_value_instance_get_upper_bound(const struct xccdf_value_instance *inst);
02048 bool xccdf_value_instance_set_upper_bound(struct xccdf_value_instance *inst, xccdf_numeric newval);
02050 const char *xccdf_value_instance_get_match(const struct xccdf_value_instance *inst);
02052 bool xccdf_value_instance_set_match(struct xccdf_value_instance *inst, const char *newval);
02054 const char * xccdf_value_instance_get_value(const struct xccdf_value_instance * val);
02055
02061 struct xccdf_item *xccdf_value_get_parent(const struct xccdf_value *value);
02062
02063
02065 time_t xccdf_status_get_date(const struct xccdf_status *status);
02067 xccdf_status_type_t xccdf_status_get_status(const struct xccdf_status *status);
02069 const char *xccdf_notice_get_id(const struct xccdf_notice *notice);
02071 struct oscap_text *xccdf_notice_get_text(const struct xccdf_notice *notice);
02073 const char *xccdf_model_get_system(const struct xccdf_model *model);
02075
02077 const char *xccdf_ident_get_id(const struct xccdf_ident *ident);
02079 const char *xccdf_ident_get_system(const struct xccdf_ident *ident);
02081 const char *xccdf_check_get_id(const struct xccdf_check *check);
02082
02088 bool xccdf_check_get_complex(const struct xccdf_check *check);
02089
02095 xccdf_bool_operator_t xccdf_check_get_oper(const struct xccdf_check *check);
02097 const char *xccdf_check_get_system(const struct xccdf_check *check);
02099 const char *xccdf_check_get_selector(const struct xccdf_check *check);
02101 const char *xccdf_check_get_content(const struct xccdf_check *check);
02103
02109 struct xccdf_check_iterator *xccdf_check_get_children(const struct xccdf_check *check);
02110
02112 const char *xccdf_check_content_ref_get_href(const struct xccdf_check_content_ref *ref);
02114 const char *xccdf_check_content_ref_get_name(const struct xccdf_check_content_ref *ref);
02116 const char *xccdf_profile_note_get_reftag(const struct xccdf_profile_note *note);
02118 struct oscap_text *xccdf_profile_note_get_text(const struct xccdf_profile_note *note);
02120 const char *xccdf_check_import_get_name(const struct xccdf_check_import *item);
02122 const char *xccdf_check_import_get_content(const struct xccdf_check_import *item);
02124 const char *xccdf_check_export_get_value(const struct xccdf_check_export *item);
02126 const char *xccdf_check_export_get_name(const struct xccdf_check_export *item);
02127
02129 const char *xccdf_fix_get_content(const struct xccdf_fix *fix);
02131 bool xccdf_fix_get_reboot(const struct xccdf_fix *fix);
02133 xccdf_strategy_t xccdf_fix_get_strategy(const struct xccdf_fix *fix);
02135 xccdf_level_t xccdf_fix_get_complexity(const struct xccdf_fix *fix);
02137 xccdf_level_t xccdf_fix_get_disruption(const struct xccdf_fix *fix);
02139 const char *xccdf_fix_get_id(const struct xccdf_fix *fix);
02141 const char *xccdf_fix_get_system(const struct xccdf_fix *fix);
02143 const char *xccdf_fix_get_platform(const struct xccdf_fix *fix);
02145 bool xccdf_fixtext_get_reboot(const struct xccdf_fixtext *fixtext);
02147 xccdf_strategy_t xccdf_fixtext_get_strategy(const struct xccdf_fixtext *fixtext);
02149 xccdf_level_t xccdf_fixtext_get_complexity(const struct xccdf_fixtext *fixtext);
02151 xccdf_level_t xccdf_fixtext_get_disruption(const struct xccdf_fixtext *fixtext);
02153 const char *xccdf_fixtext_get_fixref(const struct xccdf_fixtext *fixtext);
02155 struct oscap_text *xccdf_fixtext_get_text(const struct xccdf_fixtext *fixtext);
02157 const char *xccdf_value_get_version(const struct xccdf_value *value);
02159 struct oscap_text_iterator *xccdf_value_get_question(const struct xccdf_value *value);
02161 struct xccdf_warning_iterator *xccdf_value_get_warnings(const struct xccdf_value *value);
02163 const char *xccdf_value_get_version_update(const struct xccdf_value *value);
02165 time_t xccdf_value_get_version_time(const struct xccdf_value *value);
02167 struct xccdf_benchmark *xccdf_value_get_benchmark(const struct xccdf_value *value);
02169 struct oscap_string_iterator *xccdf_value_get_sources(const struct xccdf_value *value);
02171 const char *xccdf_value_get_cluster_id(const struct xccdf_value *value);
02172
02174 struct oscap_text_iterator *xccdf_item_get_question(const struct xccdf_item *item);
02176 struct xccdf_warning_iterator *xccdf_item_get_warnings(const struct xccdf_item *item);
02178 struct oscap_text_iterator *xccdf_item_get_rationale(const struct xccdf_item *item);
02180 const char *xccdf_item_get_cluster_id(const struct xccdf_item *item);
02182 const char *xccdf_item_get_version_update(const struct xccdf_item *item);
02184 time_t xccdf_item_get_version_time(const struct xccdf_item *item);
02186 float xccdf_item_get_weight(const struct xccdf_item *item);
02188 struct xccdf_benchmark *xccdf_item_get_benchmark(const struct xccdf_item *item);
02190 struct oscap_string_iterator *xccdf_item_get_platforms(const struct xccdf_item *item);
02191
02193 struct xccdf_warning_iterator *xccdf_benchmark_get_warnings(const struct xccdf_benchmark *benchmark);
02195 const char *xccdf_benchmark_get_version_update(const struct xccdf_benchmark *benchmark);
02197 time_t xccdf_benchmark_get_version_time(const struct xccdf_benchmark *benchmark);
02198
02200 const char *xccdf_profile_get_version_update(const struct xccdf_profile *profile);
02202 time_t xccdf_profile_get_version_time(const struct xccdf_profile *profile);
02204 const char *xccdf_profile_get_note_tag(const struct xccdf_profile *profile);
02205
02207 const char *xccdf_rule_get_version_update(const struct xccdf_rule *rule);
02209 time_t xccdf_rule_get_version_time(const struct xccdf_rule *rule);
02211 struct xccdf_benchmark *xccdf_rule_get_benchmark(const struct xccdf_rule *rule);
02212
02214 time_t xccdf_group_get_version_time(const struct xccdf_group *group);
02216 const char *xccdf_group_get_version_update(const struct xccdf_group *group);
02218 struct xccdf_benchmark *xccdf_group_get_benchmark(const struct xccdf_group *group);
02219
02221 struct xccdf_check_import_iterator *xccdf_check_get_imports(const struct xccdf_check *check);
02223 struct xccdf_check_export_iterator *xccdf_check_get_exports(const struct xccdf_check *check);
02225 struct xccdf_check_content_ref_iterator *xccdf_check_get_content_refs(const struct xccdf_check *check);
02226
02228 struct xccdf_reference *xccdf_reference_new(void);
02230 struct xccdf_reference *xccdf_reference_clone(const struct xccdf_reference *old_reference);
02232 void xccdf_reference_free(struct xccdf_reference * ref);
02233
02234
02236 const char *xccdf_reference_get_href(const struct xccdf_reference *reference);
02237
02238
02239
02240
02242 struct oscap_text *xccdf_reference_get_text(const struct xccdf_reference *reference);
02243
02245 bool xccdf_select_get_selected(const struct xccdf_select *select);
02247 const char *xccdf_select_get_item(const struct xccdf_select *select);
02249 struct oscap_text_iterator *xccdf_select_get_remarks(const struct xccdf_select *select);
02250
02252 xccdf_warning_category_t xccdf_warning_get_category(const struct xccdf_warning *warning);
02254 struct oscap_text *xccdf_warning_get_text(const struct xccdf_warning *warning);
02256 const char * xccdf_refine_rule_get_item(const struct xccdf_refine_rule* rr);
02258 const char * xccdf_refine_rule_get_selector(const struct xccdf_refine_rule* rr);
02260 xccdf_role_t xccdf_refine_rule_get_role(const struct xccdf_refine_rule* rr);
02262 xccdf_level_t xccdf_refine_rule_get_severity(const struct xccdf_refine_rule* rr);
02264 struct oscap_text_iterator* xccdf_refine_rule_get_remarks(const struct xccdf_refine_rule *rr);
02266 xccdf_numeric xccdf_refine_rule_get_weight(const struct xccdf_refine_rule *item);
02267 const char * xccdf_refine_value_get_item(const struct xccdf_refine_value* rv);
02269 const char * xccdf_refine_value_get_selector(const struct xccdf_refine_value* rv);
02271 xccdf_operator_t xccdf_refine_value_get_oper(const struct xccdf_refine_value* rv);
02273 struct oscap_text_iterator* xccdf_refine_value_get_remarks(const struct xccdf_refine_value *rv);
02275 const char *xccdf_setvalue_get_item(const struct xccdf_setvalue* sv);
02277 const char *xccdf_setvalue_get_value(const struct xccdf_setvalue* sv);
02278
02280 const char *xccdf_plain_text_get_id(const struct xccdf_plain_text *item);
02282 const char *xccdf_plain_text_get_text(const struct xccdf_plain_text *item);
02283
02285 struct xccdf_benchmark *xccdf_result_get_benchmark(const struct xccdf_result *item);
02287 const char *xccdf_result_get_id(const struct xccdf_result *item);
02289 struct oscap_text_iterator *xccdf_result_get_title(const struct xccdf_result *item);
02291 const char *xccdf_result_get_version(const struct xccdf_result *item);
02293 struct oscap_string_iterator *xccdf_result_get_platforms(const struct xccdf_result *item);
02295 struct xccdf_status_iterator *xccdf_result_get_statuses(const struct xccdf_result *item);
02297 const char *xccdf_result_get_test_system(const struct xccdf_result *item);
02299 const char *xccdf_result_get_benchmark_uri(const struct xccdf_result *item);
02301 const char *xccdf_result_get_profile(const struct xccdf_result *item);
02303 struct xccdf_identity_iterator *xccdf_result_get_identities(const struct xccdf_result *item);
02305 struct oscap_string_iterator *xccdf_result_get_targets(const struct xccdf_result *item);
02307 struct oscap_string_iterator *xccdf_result_get_target_addresses(const struct xccdf_result *item);
02309 struct oscap_string_iterator *xccdf_result_get_organizations(const struct xccdf_result *item);
02311 struct oscap_text_iterator *xccdf_result_get_remarks(const struct xccdf_result *item);
02313 struct xccdf_target_fact_iterator *xccdf_result_get_target_facts(const struct xccdf_result *item);
02315 struct xccdf_setvalue_iterator *xccdf_result_get_setvalues(const struct xccdf_result *item);
02317 struct xccdf_rule_result_iterator *xccdf_result_get_rule_results(const struct xccdf_result *item);
02319 struct xccdf_score_iterator *xccdf_result_get_scores(const struct xccdf_result *item);
02321 time_t xccdf_result_get_start_time(const struct xccdf_result *item);
02323 time_t xccdf_result_get_end_time(const struct xccdf_result *item);
02324
02326 time_t xccdf_rule_result_get_time(const struct xccdf_rule_result *item);
02328 xccdf_role_t xccdf_rule_result_get_role(const struct xccdf_rule_result *item);
02330 float xccdf_rule_result_get_weight(const struct xccdf_rule_result *item);
02332 xccdf_level_t xccdf_rule_result_get_severity(const struct xccdf_rule_result *item);
02334 xccdf_test_result_type_t xccdf_rule_result_get_result(const struct xccdf_rule_result *item);
02336 const char *xccdf_rule_result_get_version(const struct xccdf_rule_result *item);
02338 const char *xccdf_rule_result_get_idref(const struct xccdf_rule_result *item);
02340 struct xccdf_ident_iterator *xccdf_rule_result_get_idents(const struct xccdf_rule_result *item);
02342 struct xccdf_fix_iterator *xccdf_rule_result_get_fixes(const struct xccdf_rule_result *item);
02344 struct xccdf_check_iterator *xccdf_rule_result_get_checks(const struct xccdf_rule_result *item);
02346 struct xccdf_override_iterator *xccdf_rule_result_get_overrides(const struct xccdf_rule_result *item);
02348 struct xccdf_message_iterator *xccdf_rule_result_get_messages(const struct xccdf_rule_result *item);
02350 struct xccdf_instance_iterator *xccdf_rule_result_get_instances(const struct xccdf_rule_result *item);
02352 bool xccdf_identity_get_authenticated(const struct xccdf_identity *item);
02354 bool xccdf_identity_get_privileged(const struct xccdf_identity *item);
02356 const char *xccdf_identity_get_name(const struct xccdf_identity *item);
02358 xccdf_numeric xccdf_score_get_maximum(const struct xccdf_score *item);
02360 xccdf_numeric xccdf_score_get_score(const struct xccdf_score *item);
02362 const char *xccdf_score_get_system(const struct xccdf_score *item);
02364 time_t xccdf_override_get_time(const struct xccdf_override *item);
02366 xccdf_test_result_type_t xccdf_override_get_new_result(const struct xccdf_override *item);
02368 xccdf_test_result_type_t xccdf_override_get_old_result(const struct xccdf_override *item);
02370 const char *xccdf_override_get_authority(const struct xccdf_override *item);
02372 struct oscap_text *xccdf_override_get_remark(const struct xccdf_override *item);
02374 xccdf_message_severity_t xccdf_message_get_severity(const struct xccdf_message *item);
02376 const char *xccdf_message_get_content(const struct xccdf_message *item);
02378 xccdf_value_type_t xccdf_target_fact_get_type(const struct xccdf_target_fact *item);
02380 const char *xccdf_target_fact_get_value(const struct xccdf_target_fact *item);
02382 const char *xccdf_target_fact_get_name(const struct xccdf_target_fact *item);
02384 const char *xccdf_instance_get_context(const struct xccdf_instance *item);
02386 const char *xccdf_instance_get_parent_context(const struct xccdf_instance *item);
02388 const char *xccdf_instance_get_content(const struct xccdf_instance *item);
02389
02390
02391
02392
02393
02394
02402
02403 bool xccdf_item_set_weight(struct xccdf_item *item, xccdf_numeric newval);
02405 bool xccdf_item_set_id(struct xccdf_item *item, const char *newval);
02407 bool xccdf_item_set_cluster_id(struct xccdf_item *item, const char *newval);
02409 bool xccdf_item_set_extends(struct xccdf_item *item, const char *newval);
02411 bool xccdf_item_set_version(struct xccdf_item *item, const char *newval);
02413 bool xccdf_item_set_version_time(struct xccdf_item *item, time_t newval);
02415 bool xccdf_item_set_version_update(struct xccdf_item *item, const char *newval);
02417 bool xccdf_item_set_abstract(struct xccdf_item *item, bool newval);
02419 bool xccdf_item_set_hidden(struct xccdf_item *item, bool newval);
02421 bool xccdf_item_set_interactive(struct xccdf_item *item, bool newval);
02423 bool xccdf_item_set_prohibit_changes(struct xccdf_item *item, bool newval);
02425 bool xccdf_item_set_selected(struct xccdf_item *item, bool newval);
02426
02428 bool xccdf_benchmark_set_resolved(struct xccdf_benchmark *item, bool newval);
02429
02431 bool xccdf_benchmark_set_metadata(struct xccdf_benchmark *item, const char *newval);
02433 bool xccdf_benchmark_set_style_href(struct xccdf_benchmark *item, const char *newval);
02435 bool xccdf_benchmark_set_style(struct xccdf_benchmark *item, const char *newval);
02437 bool xccdf_benchmark_set_id(struct xccdf_benchmark *item, const char *newval);
02439 bool xccdf_benchmark_set_version(struct xccdf_benchmark *item, const char *newval);
02441 bool xccdf_benchmark_set_version_time(struct xccdf_benchmark *item, time_t newval);
02443 bool xccdf_benchmark_set_version_update(struct xccdf_benchmark *item, const char *newval);
02444
02446 bool xccdf_profile_set_note_tag(struct xccdf_profile *item, const char *newval);
02448 bool xccdf_profile_set_id(struct xccdf_profile *item, const char *newval);
02450 bool xccdf_profile_set_abstract(struct xccdf_profile *item, bool newval);
02452 bool xccdf_profile_set_prohibit_changes(struct xccdf_profile *item, bool newval);
02454 bool xccdf_profile_set_extends(struct xccdf_profile *item, const char *newval);
02456 bool xccdf_profile_set_version(struct xccdf_profile *item, const char *newval);
02458 bool xccdf_profile_set_version_time(struct xccdf_profile *item, time_t newval);
02460 bool xccdf_profile_set_version_update(struct xccdf_profile *item, const char *newval);
02461
02463 bool xccdf_rule_set_id(struct xccdf_rule *item, const char *newval);
02465 bool xccdf_rule_set_cluster_id(struct xccdf_rule *item, const char *newval);
02467 bool xccdf_rule_set_extends(struct xccdf_rule *item, const char *newval);
02469 bool xccdf_rule_set_version(struct xccdf_rule *item, const char *newval);
02471 bool xccdf_rule_set_version_time(struct xccdf_rule *item, time_t newval);
02473 bool xccdf_rule_set_version_update(struct xccdf_rule *item, const char *newval);
02475 bool xccdf_rule_set_abstract(struct xccdf_rule *item, bool newval);
02477 bool xccdf_rule_set_hidden(struct xccdf_rule *item, bool newval);
02479 bool xccdf_rule_set_prohibit_changes(struct xccdf_rule *item, bool newval);
02481 bool xccdf_rule_set_selected(struct xccdf_rule *item, bool newval);
02483 bool xccdf_rule_set_interactive(struct xccdf_rule *item, bool newval);
02485 bool xccdf_rule_set_multiple(struct xccdf_rule *item, bool newval);
02487
02489 bool xccdf_rule_set_impact_metric(struct xccdf_rule *item, const char *newval);
02491 bool xccdf_rule_set_role(struct xccdf_rule *item, xccdf_role_t newval);
02493 bool xccdf_rule_set_severity(struct xccdf_rule *item, xccdf_level_t newval);
02494
02496 bool xccdf_group_set_id(struct xccdf_group *item, const char *newval);
02498 bool xccdf_group_set_cluster_id(struct xccdf_group *item, const char *newval);
02500 bool xccdf_group_set_extends(struct xccdf_group *item, const char *newval);
02502 bool xccdf_group_set_version(struct xccdf_group *item, const char *newval);
02504 bool xccdf_group_set_version_time(struct xccdf_group *item, time_t newval);
02506 bool xccdf_group_set_version_update(struct xccdf_group *item, const char *newval);
02508 bool xccdf_group_set_abstract(struct xccdf_group *item, bool newval);
02510 bool xccdf_group_set_hidden(struct xccdf_group *item, bool newval);
02512 bool xccdf_group_set_prohibit_changes(struct xccdf_group *item, bool newval);
02514 bool xccdf_group_set_selected(struct xccdf_group *item, bool newval);
02515
02517 bool xccdf_value_set_id(struct xccdf_value *item, const char *newval);
02519 bool xccdf_value_set_cluster_id(struct xccdf_value *item, const char *newval);
02521 bool xccdf_value_set_extends(struct xccdf_value *item, const char *newval);
02523 bool xccdf_value_set_version(struct xccdf_value *item, const char *newval);
02525 bool xccdf_value_set_version_time(struct xccdf_value *item, time_t newval);
02527 bool xccdf_value_set_version_update(struct xccdf_value *item, const char *newval);
02529 bool xccdf_value_set_abstract(struct xccdf_value *item, bool newval);
02531 bool xccdf_value_set_hidden(struct xccdf_value *item, bool newval);
02533 bool xccdf_value_set_multiple(struct xccdf_value *item, bool newval);
02535 bool xccdf_value_set_prohibit_changes(struct xccdf_value *item, bool newval);
02537 bool xccdf_value_set_oper(struct xccdf_item * item, xccdf_operator_t oper);
02538
02540 bool xccdf_status_set_date(struct xccdf_status *obj, time_t newval);
02542 bool xccdf_status_set_status(struct xccdf_status *obj, xccdf_status_type_t newval);
02543
02545 bool xccdf_notice_set_id(struct xccdf_notice *obj, const char *newval);
02547 bool xccdf_notice_set_text(struct xccdf_notice *obj, struct oscap_text *newval);
02548
02550 bool xccdf_model_set_system(struct xccdf_model *obj, const char *newval);
02551
02553 bool xccdf_check_set_id(struct xccdf_check *obj, const char *newval);
02555 bool xccdf_check_set_system(struct xccdf_check *obj, const char *newval);
02557 bool xccdf_check_set_selector(struct xccdf_check *obj, const char *newval);
02559 bool xccdf_check_set_content(struct xccdf_check *obj, const char *newval);
02561 bool xccdf_check_set_oper(struct xccdf_check *obj, xccdf_bool_operator_t newval);
02562
02564 bool xccdf_check_content_ref_set_name(struct xccdf_check_content_ref *obj, const char *newval);
02566 bool xccdf_check_content_ref_set_href(struct xccdf_check_content_ref *obj, const char *newval);
02567
02569 bool xccdf_profile_note_set_reftag(struct xccdf_profile_note *obj, const char *newval);
02571 bool xccdf_profile_note_set_text(struct xccdf_profile_note *obj, struct oscap_text *newval);
02572
02574 bool xccdf_check_import_set_name(struct xccdf_check_import *obj, const char *newval);
02576 bool xccdf_check_import_set_content(struct xccdf_check_import *obj, const char *newval);
02577
02579 bool xccdf_check_export_set_name(struct xccdf_check_export *obj, const char *newval);
02581 bool xccdf_check_export_set_value(struct xccdf_check_export *obj, const char *newval);
02582
02584 bool xccdf_fix_set_strategy(struct xccdf_fix *obj, xccdf_strategy_t newval);
02586 bool xccdf_fix_set_disruption(struct xccdf_fix *obj, xccdf_level_t newval);
02588 bool xccdf_fix_set_complexity(struct xccdf_fix *obj, xccdf_level_t newval);
02590 bool xccdf_fix_set_reboot(struct xccdf_fix *obj, bool newval);
02592 bool xccdf_fix_set_content(struct xccdf_fix *obj, const char *newval);
02594 bool xccdf_fix_set_system(struct xccdf_fix *obj, const char *newval);
02596 bool xccdf_fix_set_platform(struct xccdf_fix *obj, const char *newval);
02598 bool xccdf_fix_set_id(struct xccdf_fix *obj, const char *newval);
02599
02601 bool xccdf_fixtext_set_strategy(struct xccdf_fixtext *obj, xccdf_strategy_t newval);
02603 bool xccdf_fixtext_set_disruption(struct xccdf_fixtext *obj, xccdf_level_t newval);
02605 bool xccdf_fixtext_set_complexity(struct xccdf_fixtext *obj, xccdf_level_t newval);
02607 bool xccdf_fixtext_set_reboot(struct xccdf_fixtext *obj, bool newval);
02609 bool xccdf_fixtext_set_text(struct xccdf_fixtext *obj, struct oscap_text *newval);
02611 bool xccdf_fixtext_set_fixref(struct xccdf_fixtext *obj, const char *newval);
02612
02614 bool xccdf_select_set_item(struct xccdf_select *obj, const char *newval);
02616 bool xccdf_select_set_selected(struct xccdf_select *obj, bool newval);
02617
02619
02621 bool xccdf_reference_set_href(struct xccdf_reference *obj, const char *newval);
02623 bool xccdf_reference_set_text(struct xccdf_reference *obj, struct oscap_text *newval);
02625
02627
02628
02630 bool xccdf_warning_set_category(struct xccdf_warning *obj, xccdf_warning_category_t newval);
02632 bool xccdf_warning_set_text(struct xccdf_warning *obj, struct oscap_text *newval);
02634 struct xccdf_refine_rule *xccdf_refine_rule_new(void);
02635
02637 struct xccdf_refine_rule * xccdf_refine_rule_clone(const struct xccdf_refine_rule * old_rule);
02639 bool xccdf_refine_rule_set_item(struct xccdf_refine_rule *obj, const char *newval);
02641 bool xccdf_refine_rule_set_selector(struct xccdf_refine_rule *obj, const char *newval);
02643 bool xccdf_refine_rule_set_role(struct xccdf_refine_rule *obj, xccdf_role_t newval);
02645 bool xccdf_refine_rule_set_severity(struct xccdf_refine_rule *obj, xccdf_level_t newval);
02647 bool xccdf_refine_rule_set_weight(struct xccdf_refine_rule *obj, xccdf_numeric newval);
02648
02650 struct xccdf_refine_value *xccdf_refine_value_new(void);
02652 struct xccdf_refine_value * xccdf_refine_value_clone(const struct xccdf_refine_value * old_value);
02654 bool xccdf_refine_value_set_item(struct xccdf_refine_value *obj, const char *newval);
02656 bool xccdf_refine_value_set_selector(struct xccdf_refine_value *obj, const char *newval);
02658 bool xccdf_refine_value_set_oper(struct xccdf_refine_value *obj, xccdf_operator_t newval);
02659
02661 struct xccdf_setvalue *xccdf_setvalue_new(void);
02663 struct xccdf_setvalue * xccdf_setvalue_clone(const struct xccdf_setvalue * old_value);
02665 bool xccdf_setvalue_set_item(struct xccdf_setvalue *obj, const char *newval);
02667 bool xccdf_setvalue_set_value(struct xccdf_setvalue *obj, const char *newval);
02669 bool xccdf_plain_text_set_id(struct xccdf_plain_text *obj, const char *newval);
02671 bool xccdf_plain_text_set_text(struct xccdf_plain_text *obj, const char *newval);
02672
02674 bool xccdf_result_set_id(struct xccdf_result *item, const char *newval);
02676 bool xccdf_result_set_test_system(struct xccdf_result *item, const char *newval);
02678 bool xccdf_result_set_benchmark_uri(struct xccdf_result *item, const char *newval);
02680 bool xccdf_result_set_profile(struct xccdf_result *item, const char *newval);
02682 bool xccdf_result_set_start_time(struct xccdf_result *item, time_t newval);
02684 bool xccdf_result_set_end_time(struct xccdf_result *item, time_t newval);
02686 bool xccdf_result_set_version(struct xccdf_result *item, const char *newval);
02688 bool xccdf_rule_result_set_time(struct xccdf_rule_result *obj, time_t newval);
02690 bool xccdf_rule_result_set_role(struct xccdf_rule_result *obj, xccdf_role_t newval);
02692 bool xccdf_rule_result_set_weight(struct xccdf_rule_result *obj, float newval);
02694 bool xccdf_rule_result_set_severity(struct xccdf_rule_result *obj, xccdf_level_t newval);
02696 bool xccdf_rule_result_set_result(struct xccdf_rule_result *obj, xccdf_test_result_type_t newval);
02698 bool xccdf_rule_result_set_version(struct xccdf_rule_result *obj, const char *newval);
02700 bool xccdf_rule_result_set_idref(struct xccdf_rule_result *obj, const char *newval);
02701
02703 bool xccdf_identity_set_authenticated(struct xccdf_identity *obj, bool newval);
02705 bool xccdf_identity_set_privileged(struct xccdf_identity *obj, bool newval);
02707 bool xccdf_identity_set_name(struct xccdf_identity *obj, const char *newval);
02708
02710 bool xccdf_score_set_maximum(struct xccdf_score *obj, xccdf_numeric newval);
02712 bool xccdf_score_set_score(struct xccdf_score *obj, xccdf_numeric newval);
02714 bool xccdf_score_set_system(struct xccdf_score *obj, const char *newval);
02715
02717 bool xccdf_override_set_time(struct xccdf_override *obj, time_t newval);
02719 bool xccdf_override_set_new_result(struct xccdf_override *obj, xccdf_test_result_type_t newval);
02721 bool xccdf_override_set_old_result(struct xccdf_override *obj, xccdf_test_result_type_t newval);
02723 bool xccdf_override_set_authority(struct xccdf_override *obj, const char *newval);
02725 bool xccdf_override_set_remark(struct xccdf_override *obj, struct oscap_text *newval);
02726
02728 bool xccdf_message_set_severity(struct xccdf_message *obj, xccdf_message_severity_t newval);
02730 bool xccdf_message_set_content(struct xccdf_message *obj, const char *newval);
02731
02733 bool xccdf_target_fact_set_string(struct xccdf_target_fact *fact, const char *str);
02735 bool xccdf_target_fact_set_number(struct xccdf_target_fact *fact, xccdf_numeric val);
02737 bool xccdf_target_fact_set_boolean(struct xccdf_target_fact *fact, bool val);
02739 bool xccdf_target_fact_set_name(struct xccdf_target_fact *obj, const char *newval);
02740
02742 bool xccdf_instance_set_context(struct xccdf_instance *obj, const char *newval);
02744 bool xccdf_instance_set_parent_context(struct xccdf_instance *obj, const char *newval);
02746 bool xccdf_instance_set_content(struct xccdf_instance *obj, const char *newval);
02747
02749 bool xccdf_benchmark_add_result(struct xccdf_benchmark *bench, struct xccdf_result *result);
02750
02752 bool xccdf_benchmark_add_description(struct xccdf_benchmark *item, struct oscap_text *newval);
02754 bool xccdf_benchmark_add_platform(struct xccdf_benchmark *item, const char *newval);
02756 bool xccdf_benchmark_add_reference(struct xccdf_benchmark *item, struct xccdf_reference *newval);
02758 bool xccdf_benchmark_add_status(struct xccdf_benchmark *item, struct xccdf_status *newval);
02760 bool xccdf_benchmark_add_title(struct xccdf_benchmark *item, struct oscap_text *newval);
02762 bool xccdf_benchmark_add_front_matter(struct xccdf_benchmark *item, struct oscap_text *newval);
02764
02766 bool xccdf_benchmark_add_model(struct xccdf_benchmark *item, struct xccdf_model *newval);
02768 bool xccdf_benchmark_add_notice(struct xccdf_benchmark *item, struct xccdf_notice *newval);
02770 bool xccdf_benchmark_add_plain_text(struct xccdf_benchmark *item, struct xccdf_plain_text *newval);
02772 bool xccdf_benchmark_add_profile(struct xccdf_benchmark *item, struct xccdf_profile *newval);
02774 bool xccdf_benchmark_add_rear_matter(struct xccdf_benchmark *item, struct oscap_text *newval);
02776 bool xccdf_benchmark_add_rule(struct xccdf_benchmark *benchmark, struct xccdf_rule *rule);
02778 bool xccdf_benchmark_add_group(struct xccdf_benchmark *benchmark, struct xccdf_group *group);
02780 bool xccdf_benchmark_add_value(struct xccdf_benchmark *benchmark, struct xccdf_value *value);
02782 bool xccdf_benchmark_add_content(struct xccdf_benchmark *bench, struct xccdf_item *item);
02783
02785 bool xccdf_profile_add_select(struct xccdf_profile *item, struct xccdf_select *newval);
02787 bool xccdf_profile_add_setvalue(struct xccdf_profile *item, struct xccdf_setvalue *newval);
02789 bool xccdf_profile_add_refine_value(struct xccdf_profile *item, struct xccdf_refine_value *newval);
02791 bool xccdf_profile_add_refine_rule(struct xccdf_profile *item, struct xccdf_refine_rule *newval);
02792
02794 bool xccdf_profile_add_description(struct xccdf_profile *item, struct oscap_text *newval);
02796 bool xccdf_profile_add_platform(struct xccdf_profile *item, const char *newval);
02798 bool xccdf_profile_add_reference(struct xccdf_profile *item, struct xccdf_reference *newval);
02800 bool xccdf_profile_add_status(struct xccdf_profile *item, struct xccdf_status *newval);
02802 bool xccdf_profile_add_title(struct xccdf_profile *item, struct oscap_text *newval);
02803
02805 bool xccdf_rule_add_description(struct xccdf_rule *item, struct oscap_text *newval);
02807 bool xccdf_rule_add_platform(struct xccdf_rule *item, const char *newval);
02809 bool xccdf_rule_add_question(struct xccdf_rule *item, struct oscap_text *newval);
02811 bool xccdf_rule_add_rationale(struct xccdf_rule *item, struct oscap_text *newval);
02813 bool xccdf_rule_add_reference(struct xccdf_rule *item, struct xccdf_reference *newval);
02815 bool xccdf_rule_add_status(struct xccdf_rule *item, struct xccdf_status *newval);
02817 bool xccdf_rule_add_title(struct xccdf_rule *item, struct oscap_text *newval);
02819 bool xccdf_rule_add_warning(struct xccdf_rule *item, struct xccdf_warning *newval);
02821 bool xccdf_rule_add_ident(struct xccdf_rule *item, struct xccdf_ident *newval);
02823 bool xccdf_rule_add_check(struct xccdf_rule *item, struct xccdf_check *newval);
02825 bool xccdf_rule_add_profile_note(struct xccdf_rule *item, struct xccdf_profile_note *newval);
02827 bool xccdf_rule_add_fix(struct xccdf_rule *item, struct xccdf_fix *newval);
02829 bool xccdf_rule_add_fixtext(struct xccdf_rule *item, struct xccdf_fixtext *newval);
02830
02832 bool xccdf_group_add_description(struct xccdf_group *item, struct oscap_text *newval);
02834 bool xccdf_group_add_platform(struct xccdf_group *item, const char *newval);
02836 bool xccdf_group_add_question(struct xccdf_group *item, struct oscap_text *newval);
02838 bool xccdf_group_add_rationale(struct xccdf_group *item, struct oscap_text *newval);
02840 bool xccdf_group_add_reference(struct xccdf_group *item, struct xccdf_reference *newval);
02842 bool xccdf_group_add_status(struct xccdf_group *item, struct xccdf_status *newval);
02844 bool xccdf_group_add_title(struct xccdf_group *item, struct oscap_text *newval);
02846 bool xccdf_group_add_warning(struct xccdf_group *item, struct xccdf_warning *newval);
02848 bool xccdf_group_add_rule(struct xccdf_group *group, struct xccdf_rule *item);
02850 bool xccdf_group_add_group(struct xccdf_group *group, struct xccdf_group *item);
02852 bool xccdf_group_add_value(struct xccdf_group *group, struct xccdf_value *item);
02854 bool xccdf_group_add_content(struct xccdf_group *rule, struct xccdf_item *item);
02855
02857 bool xccdf_value_add_description(struct xccdf_value *item, struct oscap_text *newval);
02859 bool xccdf_value_add_question(struct xccdf_value *item, struct oscap_text *newval);
02861 bool xccdf_value_add_reference(struct xccdf_value *item, struct xccdf_reference *newval);
02863 bool xccdf_value_add_status(struct xccdf_value *item, struct xccdf_status *newval);
02865 bool xccdf_value_add_title(struct xccdf_value *item, struct oscap_text *newval);
02867 bool xccdf_value_add_warning(struct xccdf_value *item, struct xccdf_warning *newval);
02868
02870 bool xccdf_check_add_import(struct xccdf_check *obj, struct xccdf_check_import *item);
02872 bool xccdf_check_add_export(struct xccdf_check *obj, struct xccdf_check_export *item);
02874 bool xccdf_check_add_content_ref(struct xccdf_check *obj, struct xccdf_check_content_ref *item);
02876 bool xccdf_check_add_child(struct xccdf_check *obj, struct xccdf_check *item);
02878 bool xccdf_select_add_remark(struct xccdf_select *obj, struct oscap_text *item);
02880 bool xccdf_refine_value_add_remark(struct xccdf_refine_value *obj, struct oscap_text *item);
02882 bool xccdf_result_add_rule_result(struct xccdf_result *item, struct xccdf_rule_result *newval);
02884 bool xccdf_result_add_setvalue(struct xccdf_result *item, struct xccdf_setvalue *newval);
02886 bool xccdf_result_add_target_fact(struct xccdf_result *item, struct xccdf_target_fact *newval);
02888 bool xccdf_result_add_remark(struct xccdf_result *item, struct oscap_text *newval);
02890 bool xccdf_result_add_organization(struct xccdf_result *item, const char *newval);
02892 bool xccdf_result_add_target(struct xccdf_result *item, const char *newval);
02894 bool xccdf_result_add_identity(struct xccdf_result *item, struct xccdf_identity *newval);
02896 bool xccdf_result_add_score(struct xccdf_result *item, struct xccdf_score *newval);
02898 bool xccdf_result_add_title(struct xccdf_result *item, struct oscap_text *newval);
02900 bool xccdf_result_add_target_address(struct xccdf_result *item, const char *newval);
02902 bool xccdf_rule_result_add_ident(struct xccdf_rule_result *obj, struct xccdf_ident *item);
02904 bool xccdf_rule_result_add_fix(struct xccdf_rule_result *obj, struct xccdf_fix *item);
02906 bool xccdf_rule_result_add_check(struct xccdf_rule_result *obj, struct xccdf_check *item);
02908 bool xccdf_rule_result_add_override(struct xccdf_rule_result *obj, struct xccdf_override *item);
02910 bool xccdf_rule_result_add_message(struct xccdf_rule_result *obj, struct xccdf_message *item);
02912 bool xccdf_rule_result_add_instance(struct xccdf_rule_result *obj, struct xccdf_instance *item);
02914 bool xccdf_item_add_description(struct xccdf_item *item, struct oscap_text *newval);
02916 bool xccdf_item_add_platform(struct xccdf_item *item, const char *newval);
02918 bool xccdf_item_add_question(struct xccdf_item *item, struct oscap_text *newval);
02920 bool xccdf_item_add_rationale(struct xccdf_item *item, struct oscap_text *newval);
02922 bool xccdf_item_add_reference(struct xccdf_item *item, struct xccdf_reference *newval);
02924 bool xccdf_item_add_status(struct xccdf_item *item, struct xccdf_status *newval);
02926 bool xccdf_item_add_title(struct xccdf_item *item, struct oscap_text *newval);
02928 bool xccdf_item_add_warning(struct xccdf_item *item, struct xccdf_warning *newval);
02930 bool xccdf_refine_rule_add_remark(struct xccdf_refine_rule *obj, struct oscap_text *item);
02931
02932
02933
02934
02935
02936
02938 void xccdf_notice_iterator_remove(struct xccdf_notice_iterator *it);
02940 void xccdf_model_iterator_remove(struct xccdf_model_iterator *it);
02942 void xccdf_profile_iterator_remove(struct xccdf_profile_iterator *it);
02944 void xccdf_item_iterator_remove(struct xccdf_item_iterator *it);
02946 void xccdf_status_iterator_remove(struct xccdf_status_iterator *it);
02948 void xccdf_reference_iterator_remove(struct xccdf_reference_iterator *it);
02950 void xccdf_profile_note_iterator_remove(struct xccdf_profile_note_iterator *it);
02952 void xccdf_refine_value_iterator_remove(struct xccdf_refine_value_iterator *it);
02954 void xccdf_refine_rule_iterator_remove(struct xccdf_refine_rule_iterator *it);
02956 void xccdf_setvalue_iterator_remove(struct xccdf_setvalue_iterator *it);
02958 void xccdf_select_iterator_remove(struct xccdf_select_iterator *it);
02960 void xccdf_ident_iterator_remove(struct xccdf_ident_iterator *it);
02962 void xccdf_check_content_ref_iterator_remove(struct xccdf_check_content_ref_iterator *it);
02964 void xccdf_check_export_iterator_remove(struct xccdf_check_export_iterator *it);
02966 void xccdf_check_import_iterator_remove(struct xccdf_check_import_iterator *it);
02968 void xccdf_check_iterator_remove(struct xccdf_check_iterator *it);
02970 void xccdf_fixtext_iterator_remove(struct xccdf_fixtext_iterator *it);
02972 void xccdf_fix_iterator_remove(struct xccdf_fix_iterator *it);
02974 void xccdf_value_iterator_remove(struct xccdf_value_iterator *it);
02976 void xccdf_plain_text_iterator_remove(struct xccdf_plain_text_iterator *it);
02978 void xccdf_warning_iterator_remove(struct xccdf_warning_iterator *it);
02980 void xccdf_result_iterator_remove(struct xccdf_result_iterator *it);
02982 void xccdf_override_iterator_remove(struct xccdf_override_iterator *it);
02984 void xccdf_message_iterator_remove(struct xccdf_message_iterator *it);
02986 void xccdf_instance_iterator_remove(struct xccdf_instance_iterator *it);
02988 void xccdf_rule_result_iterator_remove(struct xccdf_rule_result_iterator *it);
02990 void xccdf_identity_iterator_remove(struct xccdf_identity_iterator *it);
02992 void xccdf_score_iterator_remove(struct xccdf_score_iterator *it);
02994 void xccdf_target_fact_iterator_remove(struct xccdf_target_fact_iterator *it);
02996 void xccdf_value_instance_iterator_remove(struct xccdf_value_instance_iterator *it);
02997
02998
02999
03000
03001
03002 #endif