Open SCAP Library

Modules | Files | Data Structures | Typedefs | Enumerations | Functions
XCCDF

Extensible Configuration Checklist Description Format. More...

## Modules
| Session

## Files
file | xccdf_benchmark.h
| Open-scap XCCDF library interface.

## Data Structures
struct | xccdf_benchmark
| Top level XCCDF structure containing profiles, rules, values and results. More...
struct | xccdf_profile
| XCCDF profile is a set of tests and their settings in a compact package. More...
struct | xccdf_item
| A base class for XCCDF items. More...
struct | xccdf_rule
| XCCDF rule defines a test execution. More...
struct | xccdf_group
| XCCDF rule group. More...
struct | xccdf_value
| XCCDF Value allows test parametrization or capturing output of tests. More...
struct | xccdf_result
| Actual results of running a XCCDF test or profile. More...
struct | xccdf_tailoring
| Stores content from xccdf:Tailoring element which can be loaded from a separate file. More...
struct | xccdf_notice
| XCCDF benchmark legal notice. More...
struct | xccdf_status
| XCCDF item status. More...
struct | xccdf_model
| XCCDF scoring model. More...
struct | xccdf_warning
| XCCDF warning. More...
struct | xccdf_select
| XCCDF select option usen in the profile. More...
struct | xccdf_setvalue
| XCCDF set value option used in the profile. More...
struct | xccdf_refine_value
| XCCDF refine value option used in the profile. More...
struct | xccdf_refine_rule
| XCCDF refine rule option used in the profile. More...
struct | xccdf_ident
| XCCDF rule ident URI. More...
struct | xccdf_check
| XCCDF simple or complex check. More...
struct | xccdf_check_content_ref
| XCCDF check content reference. More...
struct | xccdf_profile_note
| XCCDF note for given rule in context of given profile. More...
struct | xccdf_check_import
| XCCDF check import. More...
struct | xccdf_check_export
| XCCDF check export. More...
struct | xccdf_fix
| XCCDF automatic fix. More...
struct | xccdf_fixtext
| XCCDF textual fix instructions. More...
struct | xccdf_identity
| XCCDF identity. More...
struct | xccdf_instance
| XCCDF instance. More...
struct | xccdf_message
| XCCDF message. More...
struct | xccdf_override
| XCCDF override. More...
struct | xccdf_rule_result
| XCCDF rule result. More...
struct | xccdf_score
| XCCDF score. More...
struct | xccdf_target_fact
| XCCDF target fact. More...
struct | xccdf_target_identifier
| Can be either <target-id-ref> or some other element. More...
struct | xccdf_plain_text
| XCCDF target fact. More...
struct | xccdf_item_iterator
| String iterator. More...
struct | xccdf_notice_iterator
| Notice iterator. More...
struct | xccdf_status_iterator
| Status iterator. More...
struct | xccdf_identity_iterator
| Reference iterator. More...
struct | xccdf_model_iterator
| Model iterator. More...
struct | xccdf_result_iterator
| Result iterator. More...
struct | xccdf_profile_iterator
| Profile iterator. More...
struct | xccdf_select_iterator
| Select iterator. More...
struct | xccdf_value_iterator
| Select iterator. More...
struct | xccdf_setvalue_iterator
| Set value iterator. More...
struct | xccdf_refine_value_iterator
| Refine value iterator. More...
struct | xccdf_refine_rule_iterator
| Refine rule iterator. More...
struct | xccdf_ident_iterator
| Ident iterator. More...
struct | xccdf_check_iterator
| Check iterator. More...
struct | xccdf_profile_note_iterator
| Profile note iterator. More...
struct | xccdf_fixtext_iterator
| Textual fix iterator. More...
struct | xccdf_check_content_ref_iterator
| Check content references iterator. More...
struct | xccdf_check_import_iterator
| Check import iterator. More...
struct | xccdf_fix_iterator
| Fix iterator. More...
struct | xccdf_check_export_iterator
| Check export iterator. More...
struct | xccdf_warning_iterator
| Warning iterator. More...
struct | xccdf_instance_iterator
| Instance iterator. More...
struct | xccdf_message_iterator
| Message iterator. More...
struct | xccdf_override_iterator
| Override iterator. More...
struct | xccdf_rule_result_iterator
| Override iterator. More...
struct | xccdf_value_instance_iterator
| Value instance iterator. More...
struct | xccdf_score_iterator
| Override iterator. More...
struct | xccdf_target_fact_iterator
| Override iterator. More...
struct | xccdf_target_identifier_iterator
| Override iterator. More...
struct | xccdf_plain_text_iterator
| Plain text iterator. More...

## Typedefs
typedef float | xccdf_numeric
| Type of a numerical content for a XCCDF value.

## Enumerations
enum | xccdf_type_t { XCCDF_BENCHMARK = 0x0100, XCCDF_PROFILE = 0x0200, XCCDF_RESULT = 0x0400, XCCDF_RULE = 0x1000, XCCDF_GROUP = 0x2000, XCCDF_VALUE = 0x4000, XCCDF_CONTENT = XCCDF_RULE | XCCDF_GROUP, XCCDF_ITEM = XCCDF_RULE | XCCDF_GROUP | XCCDF_VALUE, XCCDF_OBJECT = XCCDF_ITEM | XCCDF_PROFILE | XCCDF_BENCHMARK | XCCDF_RESULT }
| Type of an XCCDF object. More...
enum | xccdf_interface_hint_t { XCCDF_IFACE_HINT_NONE, XCCDF_IFACE_HINT_CHOICE, XCCDF_IFACE_HINT_TEXTLINE, XCCDF_IFACE_HINT_TEXT, XCCDF_IFACE_HINT_DATE, XCCDF_IFACE_HINT_DATETIME }
| Interface hint. More...
enum | xccdf_status_type_t { XCCDF_STATUS_NOT_SPECIFIED, XCCDF_STATUS_ACCEPTED, XCCDF_STATUS_DEPRECATED, XCCDF_STATUS_DRAFT, XCCDF_STATUS_INCOMPLETE, XCCDF_STATUS_INTERIM }
| Status of an XCCDF item. More...
enum | xccdf_value_type_t { XCCDF_TYPE_NUMBER = 1, XCCDF_TYPE_STRING, XCCDF_TYPE_BOOLEAN }
| Type of an xccdf_value. More...
enum | xccdf_operator_t { XCCDF_OPERATOR_EQUALS = 1, XCCDF_OPERATOR_NOT_EQUAL, XCCDF_OPERATOR_GREATER, XCCDF_OPERATOR_GREATER_EQUAL, XCCDF_OPERATOR_LESS, XCCDF_OPERATOR_LESS_EQUAL, XCCDF_OPERATOR_PATTERN_MATCH }
| Operator to be applied on an xccdf_value. More...
enum | xccdf_bool_operator_t { XCCDF_OPERATOR_AND = 0x0002, XCCDF_OPERATOR_OR = 0x0003 }
| Boolean operators for logical expressions. More...
enum | xccdf_level_t { XCCDF_LEVEL_NOT_DEFINED = 0, XCCDF_UNKNOWN = 1, XCCDF_INFO, XCCDF_LOW, XCCDF_MEDIUM, XCCDF_HIGH }
| XCCDF error, complexity, disruption, or severity level. More...
enum | xccdf_message_severity_t { XCCDF_MSG_INFO = XCCDF_INFO, XCCDF_MSG_WARNING = XCCDF_LOW, XCCDF_MSG_ERROR = XCCDF_HIGH }
| Severity of an xccdf_message. More...
enum | xccdf_role_t { XCCDF_ROLE_FULL = 1, XCCDF_ROLE_UNSCORED, XCCDF_ROLE_UNCHECKED }
| XCCDF role. More...
enum | xccdf_warning_category_t { XCCDF_WARNING_NOT_SPECIFIED, XCCDF_WARNING_GENERAL = 1, XCCDF_WARNING_FUNCTIONALITY, XCCDF_WARNING_PERFORMANCE, XCCDF_WARNING_HARDWARE, XCCDF_WARNING_LEGAL, XCCDF_WARNING_REGULATORY, XCCDF_WARNING_MANAGEMENT, XCCDF_WARNING_AUDIT, XCCDF_WARNING_DEPENDENCY }
| Category of xccdf_warning. More...
enum | xccdf_strategy_t { XCCDF_STRATEGY_UNKNOWN = 0, XCCDF_STRATEGY_CONFIGURE, XCCDF_STRATEGY_DISABLE, XCCDF_STRATEGY_ENABLE, XCCDF_STRATEGY_PATCH, XCCDF_STRATEGY_POLICY, XCCDF_STRATEGY_RESTRICT, XCCDF_STRATEGY_UPDATE, XCCDF_STRATEGY_COMBINATION }
| Fix strategy type. More...
enum | xccdf_test_result_type_t { XCCDF_RESULT_PASS = 1, XCCDF_RESULT_FAIL, XCCDF_RESULT_ERROR, XCCDF_RESULT_UNKNOWN, XCCDF_RESULT_NOT_APPLICABLE, XCCDF_RESULT_NOT_CHECKED, XCCDF_RESULT_NOT_SELECTED, XCCDF_RESULT_INFORMATIONAL, XCCDF_RESULT_FIXED }
| Test result. More...
enum | { OSCAP_PROFILE_MATCH_OK = 0, OSCAP_PROFILE_NO_MATCH = 1, OSCAP_PROFILE_MULTIPLE_MATCHES = 2 }
| Results of matching profile suffixes against set of profile IDs.

## Functions
bool | xccdf_benchmark_resolve (struct xccdf_benchmark *benchmark)
| Resolve an benchmark. More...
void | xccdf_setvalue_free (struct xccdf_setvalue *sv)
void | xccdf_cleanup (void)
| Release library internal caches. More...
struct xccdf_group * | xccdf_benchmark_append_new_group (struct xccdf_benchmark *, const char *id)
| Create a group and append it to the benchmark. More...
struct xccdf_value * | xccdf_benchmark_append_new_value (struct xccdf_benchmark *, const char *id, xccdf_value_type_t type)
| Create a value and append it to the benchmark. More...
struct xccdf_rule * | xccdf_benchmark_append_new_rule (struct xccdf_benchmark *, const char *id)
| Create a rule and append it to the benchmark. More...
const char * | xccdf_version_info::xccdf_version_info_get_version (const struct xccdf_version_info *v)
const char * | xccdf_version_info::xccdf_version_info_get_namespace_uri (const struct xccdf_version_info *v)
const char * | xccdf_version_info::xccdf_version_info_get_cpe_version (const struct xccdf_version_info *v)
char * | xccdf_benchmark::xccdf_detect_version (const char *file)
| Starts parsing given XCCDF benchmark file to detect its version, stops as soon as the version is found. More...
void | xccdf_item::xccdf_item_free (struct xccdf_item *item)
struct xccdf_item * | xccdf_item::xccdf_item_clone (const struct xccdf_item *old_item)
struct xccdf_benchmark * | xccdf_item::xccdf_item_to_benchmark (struct xccdf_item *item)
| Convert the item to a benchmark. More...
struct xccdf_profile * | xccdf_item::xccdf_item_to_profile (struct xccdf_item *item)
| Convert the item to a profile. More...
struct xccdf_rule * | xccdf_item::xccdf_item_to_rule (struct xccdf_item *item)
| Convert the item to a rule. More...
struct xccdf_group * | xccdf_item::xccdf_item_to_group (struct xccdf_item *item)
| Convert the item to a group. More...
struct xccdf_value * | xccdf_item::xccdf_item_to_value (struct xccdf_item *item)
| Convert the item to a value. More...
struct xccdf_result * | xccdf_item::xccdf_item_to_result (struct xccdf_item *item)
| Convert the item to a test result. More...
struct xccdf_benchmark * | xccdf_benchmark::xccdf_benchmark_import (const char *file)
| Import the content from a specified XML stream into a benchmark. More...
struct xccdf_benchmark * | xccdf_benchmark::xccdf_benchmark_import_source (struct oscap_source *source)
| Import the content from oscap_source into a benchmark. More...
int | xccdf_benchmark::xccdf_benchmark_export (struct xccdf_benchmark *benchmark, const char *file)
| Export a benchmark to an XML stream. More...
struct oscap_source * | xccdf_benchmark::xccdf_benchmark_export_source (struct xccdf_benchmark *benchmark, const char *filename)
| Export a benchmark to a source object. More...
struct xccdf_result * | xccdf_result::xccdf_result_import_source (struct oscap_source *source)
| Import the content of oscap_source into a xccdf_result. More...
void | xccdf_result::xccdf_result_fill_sysinfo (struct xccdf_result *result)
| Collect system info and store it in the TestResult.
int | xccdf_result::xccdf_result_export (struct xccdf_result *result, const char *file)
| Export a TestResult to an XML stream. More...
struct oscap_source * | xccdf_result::xccdf_result_export_source (struct xccdf_result *result, const char *filepath)
| Export TestResult to oscap_source structure. More...
struct oscap_source * | xccdf_result::xccdf_result_stig_viewer_export_source (struct xccdf_result *result, const char *filepath)
| Export TestResult to oscap_source structure using STIG Rule IDs instead of the actual rule ids. More...
struct xccdf_benchmark * | xccdf_benchmark::xccdf_benchmark_new (void)
void | xccdf_benchmark::xccdf_benchmark_free (struct xccdf_benchmark *benchmark)
struct xccdf_item * | xccdf_benchmark::xccdf_benchmark_to_item (struct xccdf_benchmark *item)
struct xccdf_benchmark * | xccdf_benchmark::xccdf_benchmark_clone (const struct xccdf_benchmark *benchmark)
const char * | xccdf_benchmark::xccdf_benchmark_supported (void)
| Get supported version of XCCDF XML. More...
const struct xccdf_version_info * | xccdf_benchmark::xccdf_benchmark_supported_schema_version (void)
struct xccdf_profile * | xccdf_profile::xccdf_profile_new (void)
void | xccdf_profile::xccdf_profile_free (struct xccdf_item *prof)
struct xccdf_item * | xccdf_profile::xccdf_profile_to_item (struct xccdf_profile *item)
struct xccdf_profile * | xccdf_profile::xccdf_profile_clone (const struct xccdf_profile *profile)
struct xccdf_rule * | xccdf_rule::xccdf_rule_new (void)
void | xccdf_rule::xccdf_rule_free (struct xccdf_item *rule)
struct xccdf_item * | xccdf_rule::xccdf_rule_to_item (struct xccdf_rule *item)
struct xccdf_rule * | xccdf_rule::xccdf_rule_clone (const struct xccdf_rule *rule)
struct xccdf_group * | xccdf_group::xccdf_group_new (void)
void | xccdf_group::xccdf_group_free (struct xccdf_item *group)
struct xccdf_item * | xccdf_group::xccdf_group_to_item (struct xccdf_group *item)
struct xccdf_group * | xccdf_group::xccdf_group_clone (const struct xccdf_group *group)
struct xccdf_value * | xccdf_value::xccdf_value_new (xccdf_value_type_t type)
void | xccdf_value::xccdf_value_free (struct xccdf_item *val)
struct xccdf_item * | xccdf_value::xccdf_value_to_item (struct xccdf_value *item)
struct xccdf_value * | xccdf_value::xccdf_value_clone (const struct xccdf_value *value)
struct xccdf_status * | xccdf_status::xccdf_status_new (void)
struct xccdf_status * | xccdf_status::xccdf_status_clone (const struct xccdf_status *old_status)
struct xccdf_status * | xccdf_status::xccdf_status_new_fill (const char *status, const char *date)
void | xccdf_status::xccdf_status_free (struct xccdf_status *status)
struct xccdf_notice * | xccdf_notice::xccdf_notice_new (void)
void | xccdf_notice::xccdf_notice_free (struct xccdf_notice *notice)
struct xccdf_notice * | xccdf_notice::xccdf_notice_clone (const struct xccdf_notice *notice)
struct xccdf_model * | xccdf_model::xccdf_model_new (void)
struct xccdf_model * | xccdf_model::xccdf_model_clone (const struct xccdf_model *old_model)
void | xccdf_model::xccdf_model_free (struct xccdf_model *model)
struct xccdf_ident * | xccdf_ident::xccdf_ident_new (void)
struct xccdf_ident * | xccdf_ident::xccdf_ident_new_fill (const char *id, const char *sys)
struct xccdf_ident * | xccdf_ident::xccdf_ident_clone (const struct xccdf_ident *ident)
void | xccdf_ident::xccdf_ident_free (struct xccdf_ident *ident)
struct xccdf_check * | xccdf_check::xccdf_check_new (void)
void | xccdf_check::xccdf_check_free (struct xccdf_check *check)
struct xccdf_check * | xccdf_check::xccdf_check_clone (const struct xccdf_check *old_check)
struct xccdf_check_import * | xccdf_check_import::xccdf_check_import_clone (const struct xccdf_check_import *old_import)
struct xccdf_check_export * | xccdf_check_export::xccdf_check_export_clone (const struct xccdf_check_export *old_export)
struct xccdf_check_content_ref * | xccdf_check_content_ref::xccdf_check_content_ref_clone (const struct xccdf_check_content_ref *old_ref)
struct xccdf_check_content_ref * | xccdf_check_content_ref::xccdf_check_content_ref_new (void)
void | xccdf_check_content_ref::xccdf_check_content_ref_free (struct xccdf_check_content_ref *ref)
struct xccdf_profile_note * | xccdf_profile_note::xccdf_profile_note_new (void)
void | xccdf_profile_note::xccdf_profile_note_free (struct xccdf_profile_note *note)
struct xccdf_check_import * | xccdf_check_import::xccdf_check_import_new (void)
void | xccdf_check_import::xccdf_check_import_free (struct xccdf_check_import *item)
struct xccdf_check_export * | xccdf_check_export::xccdf_check_export_new (void)
void | xccdf_check_export::xccdf_check_export_free (struct xccdf_check_export *item)
struct xccdf_fix * | xccdf_fix::xccdf_fix_new (void)
struct xccdf_fix * | xccdf_fix::xccdf_fix_clone (const struct xccdf_fix *old_fix)
void | xccdf_fix::xccdf_fix_free (struct xccdf_fix *item)
struct xccdf_fixtext * | xccdf_fixtext::xccdf_fixtext_new (void)
struct xccdf_fixtext * | xccdf_fixtext::xccdf_fixtext_clone (const struct xccdf_fixtext *fixtext)
void | xccdf_fixtext::xccdf_fixtext_free (struct xccdf_fixtext *item)
void | xccdf_select::xccdf_select_free (struct xccdf_select *sel)
struct xccdf_select * | xccdf_select::xccdf_select_clone (const struct xccdf_select *select)
struct xccdf_select * | xccdf_select::xccdf_select_new (void)
struct xccdf_warning * | xccdf_warning::xccdf_warning_new (void)
struct xccdf_warning * | xccdf_warning::xccdf_warning_clone (const struct xccdf_warning *old_warning)
void | xccdf_warning::xccdf_warning_free (struct xccdf_warning *warn)
void | xccdf_refine_rule::xccdf_refine_rule_free (struct xccdf_refine_rule *obj)
void | xccdf_refine_value::xccdf_refine_value_free (struct xccdf_refine_value *rv)
struct xccdf_tailoring * | xccdf_tailoring::xccdf_tailoring_new (void)
void | xccdf_tailoring::xccdf_tailoring_free (struct xccdf_tailoring *tailoring)
int | xccdf_tailoring::xccdf_tailoring_export (struct xccdf_tailoring *tailoring, const char *file, const struct xccdf_version_info *version_info)
const char * | xccdf_benchmark::xccdf_benchmark_match_profile_id (struct xccdf_benchmark *bench, const char *profile_suffix, int *match_status)
| Match a profile suffix agains profiles present in the given benchmark. More...
const char * | xccdf_benchmark::xccdf_tailoring_match_profile_id (struct xccdf_tailoring *tailoring, const char *profile_suffix, int *match_status)
| Match a profile suffix agains profiles present in the given benchmark. More...
struct xccdf_plain_text * | xccdf_plain_text::xccdf_plain_text_new (void)
struct xccdf_plain_text * | xccdf_plain_text::xccdf_plain_text_new_fill (const char *id, const char *text)
void | xccdf_plain_text::xccdf_plain_text_free (struct xccdf_plain_text *plain)
struct xccdf_plain_text * | xccdf_plain_text::xccdf_plain_text_clone (const struct xccdf_plain_text *pt)
struct xccdf_result * | xccdf_result::xccdf_result_new (void)
void | xccdf_result::xccdf_result_free (struct xccdf_result *item)
struct xccdf_item * | xccdf_result::xccdf_result_to_item (struct xccdf_result *item)
struct xccdf_result * | xccdf_result::xccdf_result_clone (const struct xccdf_result *result)
struct xccdf_rule_result * | xccdf_rule_result::xccdf_rule_result_new (void)
struct xccdf_rule_result * | xccdf_rule_result::xccdf_rule_result_clone (const struct xccdf_rule_result *result)
void | xccdf_rule_result::xccdf_rule_result_free (struct xccdf_rule_result *rr)
struct xccdf_identity * | xccdf_identity::xccdf_identity_new (void)
struct xccdf_identity * | xccdf_identity::xccdf_identity_clone (const struct xccdf_identity *identity)
void | xccdf_identity::xccdf_identity_free (struct xccdf_identity *identity)
struct xccdf_score * | xccdf_score::xccdf_score_new (void)
struct xccdf_score * | xccdf_score::xccdf_score_clone (const struct xccdf_score *score)
void | xccdf_score::xccdf_score_free (struct xccdf_score *score)
struct xccdf_override * | xccdf_override::xccdf_override_new (void)
struct xccdf_override * | xccdf_override::xccdf_override_clone (const struct xccdf_override *override)
void | xccdf_override::xccdf_override_free (struct xccdf_override *oride)
struct xccdf_message * | xccdf_message::xccdf_message_new (void)
struct xccdf_message * | xccdf_message::xccdf_message_clone (const struct xccdf_message *message)
void | xccdf_message::xccdf_message_free (struct xccdf_message *msg)
struct xccdf_target_fact * | xccdf_target_fact::xccdf_target_fact_new (void)
struct xccdf_target_fact * | xccdf_target_fact::xccdf_target_fact_clone (const struct xccdf_target_fact *tf)
void | xccdf_target_fact::xccdf_target_fact_free (struct xccdf_target_fact *fact)
struct xccdf_target_identifier * | xccdf_target_identifier::xccdf_target_identifier_new (void)
struct xccdf_target_identifier * | xccdf_target_identifier::xccdf_target_identifier_clone (const struct xccdf_target_identifier *ti)
void | xccdf_target_identifier::xccdf_target_identifier_free (struct xccdf_target_identifier *ti)
struct xccdf_instance * | xccdf_instance::xccdf_instance_new (void)
struct xccdf_instance * | xccdf_instance::xccdf_instance_clone (const struct xccdf_instance *instance)
void | xccdf_instance::xccdf_instance_free (struct xccdf_instance *inst)
struct oscap_string_iterator * | xccdf_value_instance::xccdf_value_instance_get_choices (const struct xccdf_value_instance *item)

## Iterators
struct xccdf_item * | xccdf_item_iterator::xccdf_item_iterator_next (struct xccdf_item_iterator *it)
| Return the next xccdf_item structure from the list and increment the iterator.
bool | xccdf_item_iterator::xccdf_item_iterator_has_more (struct xccdf_item_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_item_iterator::xccdf_item_iterator_free (struct xccdf_item_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_item_iterator::xccdf_item_iterator_reset (struct xccdf_item_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_notice * | xccdf_notice_iterator::xccdf_notice_iterator_next (struct xccdf_notice_iterator *it)
| Return the next xccdf_notice structure from the list and increment the iterator.
bool | xccdf_notice_iterator::xccdf_notice_iterator_has_more (struct xccdf_notice_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_notice_iterator::xccdf_notice_iterator_free (struct xccdf_notice_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_notice_iterator::xccdf_notice_iterator_reset (struct xccdf_notice_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_status * | xccdf_status_iterator::xccdf_status_iterator_next (struct xccdf_status_iterator *it)
| Return the next xccdf_status structure from the list and increment the iterator.
bool | xccdf_status_iterator::xccdf_status_iterator_has_more (struct xccdf_status_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_status_iterator::xccdf_status_iterator_free (struct xccdf_status_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_status_iterator::xccdf_status_iterator_reset (struct xccdf_status_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_model * | xccdf_model_iterator::xccdf_model_iterator_next (struct xccdf_model_iterator *it)
| Return the next xccdf_model structure from the list and increment the iterator.
bool | xccdf_model_iterator::xccdf_model_iterator_has_more (struct xccdf_model_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_model_iterator::xccdf_model_iterator_free (struct xccdf_model_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_model_iterator::xccdf_model_iterator_reset (struct xccdf_model_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_result * | xccdf_result_iterator::xccdf_result_iterator_next (struct xccdf_result_iterator *it)
| Return the next xccdf_result structure from the list and increment the iterator.
bool | xccdf_result_iterator::xccdf_result_iterator_has_more (struct xccdf_result_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_result_iterator::xccdf_result_iterator_free (struct xccdf_result_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_result_iterator::xccdf_result_iterator_reset (struct xccdf_result_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_profile * | xccdf_profile_iterator::xccdf_profile_iterator_next (struct xccdf_profile_iterator *it)
| Return the next xccdf_profile structure from the list and increment the iterator.
bool | xccdf_profile_iterator::xccdf_profile_iterator_has_more (struct xccdf_profile_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_profile_iterator::xccdf_profile_iterator_free (struct xccdf_profile_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_profile_iterator::xccdf_profile_iterator_reset (struct xccdf_profile_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_select * | xccdf_select_iterator::xccdf_select_iterator_next (struct xccdf_select_iterator *it)
| Return the next xccdf_select structure from the list and increment the iterator.
bool | xccdf_select_iterator::xccdf_select_iterator_has_more (struct xccdf_select_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_select_iterator::xccdf_select_iterator_free (struct xccdf_select_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_select_iterator::xccdf_select_iterator_reset (struct xccdf_select_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_setvalue * | xccdf_setvalue_iterator::xccdf_setvalue_iterator_next (struct xccdf_setvalue_iterator *it)
| Return the next xccdf_setvalue structure from the list and increment the iterator.
bool | xccdf_setvalue_iterator::xccdf_setvalue_iterator_has_more (struct xccdf_setvalue_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_setvalue_iterator::xccdf_setvalue_iterator_free (struct xccdf_setvalue_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_setvalue_iterator::xccdf_setvalue_iterator_reset (struct xccdf_setvalue_iterator *it)
| Reset the iterator structure (it will point to the first item in the list)
struct xccdf_refine_value * | xccdf_refine_value_iterator::xccdf_refine_value_iterator_next (struct xccdf_refine_value_iterator *it)
| Return the next xccdf_refine_value structure from the list and increment the iterator.
bool | xccdf_refine_value_iterator::xccdf_refine_value_iterator_has_more (struct xccdf_refine_value_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_refine_value_iterator::xccdf_refine_value_iterator_free (struct xccdf_refine_value_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_refine_value_iterator::xccdf_refine_value_iterator_reset (struct xccdf_refine_value_iterator *it)
| Reset the iterator structure (it will point to the first item in the list)
struct xccdf_refine_rule * | xccdf_refine_rule_iterator::xccdf_refine_rule_iterator_next (struct xccdf_refine_rule_iterator *it)
| Return the next xccdf_refine_rule structure from the list and increment the iterator.
bool | xccdf_refine_rule_iterator::xccdf_refine_rule_iterator_has_more (struct xccdf_refine_rule_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_refine_rule_iterator::xccdf_refine_rule_iterator_free (struct xccdf_refine_rule_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_refine_rule_iterator::xccdf_refine_rule_iterator_reset (struct xccdf_refine_rule_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_ident * | xccdf_ident_iterator::xccdf_ident_iterator_next (struct xccdf_ident_iterator *it)
| Return the next xccdf_ident structure from the list and increment the iterator.
bool | xccdf_ident_iterator::xccdf_ident_iterator_has_more (struct xccdf_ident_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_ident_iterator::xccdf_ident_iterator_free (struct xccdf_ident_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_ident_iterator::xccdf_ident_iterator_reset (struct xccdf_ident_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_check * | xccdf_check_iterator::xccdf_check_iterator_next (struct xccdf_check_iterator *it)
| Return the next xccdf_check structure from the list and increment the iterator.
bool | xccdf_check_iterator::xccdf_check_iterator_has_more (struct xccdf_check_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_check_iterator::xccdf_check_iterator_free (struct xccdf_check_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_check_iterator::xccdf_check_iterator_reset (struct xccdf_check_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_check_content_ref * | xccdf_check_content_ref_iterator::xccdf_check_content_ref_iterator_next (struct xccdf_check_content_ref_iterator *it)
| Return the next xccdf_check_content_ref structure from the list and increment the iterator.
bool | xccdf_check_content_ref_iterator::xccdf_check_content_ref_iterator_has_more (struct xccdf_check_content_ref_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_check_content_ref_iterator::xccdf_check_content_ref_iterator_free (struct xccdf_check_content_ref_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_check_content_ref_iterator::xccdf_check_content_ref_iterator_reset (struct xccdf_check_content_ref_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_profile_note * | xccdf_profile_note_iterator::xccdf_profile_note_iterator_next (struct xccdf_profile_note_iterator *it)
| Return the next xccdf_profile_note structure from the list and increment the iterator.
bool | xccdf_profile_note_iterator::xccdf_profile_note_iterator_has_more (struct xccdf_profile_note_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_profile_note_iterator::xccdf_profile_note_iterator_free (struct xccdf_profile_note_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_profile_note_iterator::xccdf_profile_note_iterator_reset (struct xccdf_profile_note_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_check_import * | xccdf_check_import_iterator::xccdf_check_import_iterator_next (struct xccdf_check_import_iterator *it)
| Return the next xccdf_check_import structure from the list and increment the iterator.
bool | xccdf_check_import_iterator::xccdf_check_import_iterator_has_more (struct xccdf_check_import_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_check_import_iterator::xccdf_check_import_iterator_free (struct xccdf_check_import_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_check_import_iterator::xccdf_check_import_iterator_reset (struct xccdf_check_import_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_check_export * | xccdf_check_export_iterator::xccdf_check_export_iterator_next (struct xccdf_check_export_iterator *it)
| Return the next xccdf_check_export structure from the list and increment the iterator.
bool | xccdf_check_export_iterator::xccdf_check_export_iterator_has_more (struct xccdf_check_export_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_check_export_iterator::xccdf_check_export_iterator_free (struct xccdf_check_export_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_check_export_iterator::xccdf_check_export_iterator_reset (struct xccdf_check_export_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_fix * | xccdf_fix_iterator::xccdf_fix_iterator_next (struct xccdf_fix_iterator *it)
| Return the next xccdf_fix structure from the list and increment the iterator.
bool | xccdf_fix_iterator::xccdf_fix_iterator_has_more (struct xccdf_fix_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_fix_iterator::xccdf_fix_iterator_free (struct xccdf_fix_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_fix_iterator::xccdf_fix_iterator_reset (struct xccdf_fix_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_fixtext * | xccdf_fixtext_iterator::xccdf_fixtext_iterator_next (struct xccdf_fixtext_iterator *it)
| Return the next xccdf_fixtext structure from the list and increment the iterator.
bool | xccdf_fixtext_iterator::xccdf_fixtext_iterator_has_more (struct xccdf_fixtext_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_fixtext_iterator::xccdf_fixtext_iterator_free (struct xccdf_fixtext_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_fixtext_iterator::xccdf_fixtext_iterator_reset (struct xccdf_fixtext_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_warning * | xccdf_warning_iterator::xccdf_warning_iterator_next (struct xccdf_warning_iterator *it)
| Return the next xccdf_warning structure from the list and increment the iterator.
bool | xccdf_warning_iterator::xccdf_warning_iterator_has_more (struct xccdf_warning_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_warning_iterator::xccdf_warning_iterator_free (struct xccdf_warning_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_warning_iterator::xccdf_warning_iterator_reset (struct xccdf_warning_iterator *it)
| Reset the iterator structure (it makes no changes to the underlying list)
struct xccdf_instance * | xccdf_instance_iterator::xccdf_instance_iterator_next (struct xccdf_instance_iterator *it)
| Return the next xccdf_instance structure from the list and increment the iterator.
bool | xccdf_instance_iterator::xccdf_instance_iterator_has_more (struct xccdf_instance_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_instance_iterator::xccdf_instance_iterator_free (struct xccdf_instance_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_instance_iterator::xccdf_instance_iterator_reset (struct xccdf_instance_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_message * | xccdf_message_iterator::xccdf_message_iterator_next (struct xccdf_message_iterator *it)
| Return the next xccdf_message structure from the list and increment the iterator.
bool | xccdf_message_iterator::xccdf_message_iterator_has_more (struct xccdf_message_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_message_iterator::xccdf_message_iterator_free (struct xccdf_message_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_message_iterator::xccdf_message_iterator_reset (struct xccdf_message_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_override * | xccdf_override_iterator::xccdf_override_iterator_next (struct xccdf_override_iterator *it)
| Return the next xccdf_override structure from the list and increment the iterator.
bool | xccdf_override_iterator::xccdf_override_iterator_has_more (struct xccdf_override_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_override_iterator::xccdf_override_iterator_free (struct xccdf_override_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_override_iterator::xccdf_override_iterator_reset (struct xccdf_override_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_identity * | xccdf_identity_iterator::xccdf_identity_iterator_next (struct xccdf_identity_iterator *it)
| Return the next xccdf_identity structure from the list and increment the iterator.
bool | xccdf_identity_iterator::xccdf_identity_iterator_has_more (struct xccdf_identity_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_identity_iterator::xccdf_identity_iterator_free (struct xccdf_identity_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_identity_iterator::xccdf_identity_iterator_reset (struct xccdf_identity_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_rule_result * | xccdf_rule_result_iterator::xccdf_rule_result_iterator_next (struct xccdf_rule_result_iterator *it)
| Return the next xccdf_rule_result structure from the list and increment the iterator.
bool | xccdf_rule_result_iterator::xccdf_rule_result_iterator_has_more (struct xccdf_rule_result_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_rule_result_iterator::xccdf_rule_result_iterator_free (struct xccdf_rule_result_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_rule_result_iterator::xccdf_rule_result_iterator_reset (struct xccdf_rule_result_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_value_instance * | xccdf_value_instance_iterator::xccdf_value_instance_iterator_next (struct xccdf_value_instance_iterator *it)
| Return the next xccdf_value_instance structure from the list and increment the iterator.
bool | xccdf_value_instance_iterator::xccdf_value_instance_iterator_has_more (struct xccdf_value_instance_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_value_instance_iterator::xccdf_value_instance_iterator_free (struct xccdf_value_instance_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_value_instance_iterator::xccdf_value_instance_iterator_reset (struct xccdf_value_instance_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_score * | xccdf_score_iterator::xccdf_score_iterator_next (struct xccdf_score_iterator *it)
| Return the next xccdf_score structure from the list and increment the iterator.
bool | xccdf_score_iterator::xccdf_score_iterator_has_more (struct xccdf_score_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_score_iterator::xccdf_score_iterator_free (struct xccdf_score_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_score_iterator::xccdf_score_iterator_reset (struct xccdf_score_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_target_fact * | xccdf_target_fact_iterator::xccdf_target_fact_iterator_next (struct xccdf_target_fact_iterator *it)
| Return the next xccdf_target_fact structure from the list and increment the iterator.
bool | xccdf_target_fact_iterator::xccdf_target_fact_iterator_has_more (struct xccdf_target_fact_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_target_fact_iterator::xccdf_target_fact_iterator_free (struct xccdf_target_fact_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_target_fact_iterator::xccdf_target_fact_iterator_reset (struct xccdf_target_fact_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_target_identifier * | xccdf_target_identifier_iterator::xccdf_target_identifier_iterator_next (struct xccdf_target_identifier_iterator *it)
| Return the next xccdf_target_identifier structure from the list and increment the iterator.
bool | xccdf_target_identifier_iterator::xccdf_target_identifier_iterator_has_more (struct xccdf_target_identifier_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_target_identifier_iterator::xccdf_target_identifier_iterator_free (struct xccdf_target_identifier_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_target_identifier_iterator::xccdf_target_identifier_iterator_reset (struct xccdf_target_identifier_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_plain_text * | xccdf_plain_text_iterator::xccdf_plain_text_iterator_next (struct xccdf_plain_text_iterator *it)
| Return the next xccdf_plain_text structure from the list and increment the iterator.
bool | xccdf_plain_text_iterator::xccdf_plain_text_iterator_has_more (struct xccdf_plain_text_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_plain_text_iterator::xccdf_plain_text_iterator_free (struct xccdf_plain_text_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_plain_text_iterator::xccdf_plain_text_iterator_reset (struct xccdf_plain_text_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)
struct xccdf_value * | xccdf_value_iterator::xccdf_value_iterator_next (struct xccdf_value_iterator *it)
| Return the next xccdf_value structure from the list and increment the iterator.
bool | xccdf_value_iterator::xccdf_value_iterator_has_more (struct xccdf_value_iterator *it)
| Return true if the list is not empty, false otherwise.
void | xccdf_value_iterator::xccdf_value_iterator_free (struct xccdf_value_iterator *it)
| Free the iterator structure (it makes no changes to the list structure)
void | xccdf_value_iterator::xccdf_value_iterator_reset (struct xccdf_value_iterator *it)
| Reset the iterator structure (it makes no changes to the list structure)

## Getters
Return value is pointer to structure's member. Do not free unless you null the pointer in the structure. Use remove function otherwise.
struct xccdf_item * | xccdf_group_get_parent (const struct xccdf_group *group)
struct xccdf_tailoring * | xccdf_tailoring_import (const char *file, struct xccdf_benchmark *benchmark)
xccdf_type_t | xccdf_item::xccdf_item_get_type (const struct xccdf_item *item)
const char * | xccdf_item::xccdf_item_get_id (const struct xccdf_item *item)
struct oscap_text_iterator * | xccdf_item::xccdf_item_get_title (const struct xccdf_item *item)
struct oscap_text_iterator * | xccdf_item::xccdf_item_get_description (const struct xccdf_item *item)
const char * | xccdf_item::xccdf_item_get_version (const struct xccdf_item *item)
const char * | xccdf_item::xccdf_item_get_extends (const struct xccdf_item *item)
struct xccdf_status_iterator * | xccdf_item::xccdf_item_get_statuses (const struct xccdf_item *item)
struct oscap_reference_iterator * | xccdf_item::xccdf_item_get_dc_statuses (const struct xccdf_item *item)
struct oscap_reference_iterator * | xccdf_item::xccdf_item_get_references (const struct xccdf_item *item)
struct oscap_string_iterator * | xccdf_item::xccdf_item_get_conflicts (const struct xccdf_item *item)
struct oscap_stringlist_iterator * | xccdf_item::xccdf_item_get_requires (const struct xccdf_item *item)
struct xccdf_status * | xccdf_item::xccdf_item_get_current_status (const struct xccdf_item *item)
bool | xccdf_item::xccdf_item_get_hidden (const struct xccdf_item *item)
bool | xccdf_item::xccdf_item_get_selected (const struct xccdf_item *item)
bool | xccdf_item::xccdf_item_get_prohibit_changes (const struct xccdf_item *item)
bool | xccdf_item::xccdf_item_get_abstract (const struct xccdf_item *item)
struct xccdf_item_iterator * | xccdf_item::xccdf_item_get_content (const struct xccdf_item *item)
struct xccdf_rule_result * | xccdf_result::xccdf_result_get_rule_result_by_id (struct xccdf_result *result, const char *id)
struct xccdf_item * | xccdf_item::xccdf_item_get_parent (const struct xccdf_item *item)
| Return item's parent in the grouping hierarchy. More...
const struct xccdf_version_info * | xccdf_item::xccdf_item_get_schema_version (struct xccdf_item *item)
| Retrieves the XCCDF version of top-level benchmark item. More...
struct oscap_string_iterator * | xccdf_item::xccdf_item_get_metadata (const struct xccdf_item *item)
struct xccdf_profile * | xccdf_benchmark::xccdf_benchmark_get_profile_by_id (struct xccdf_benchmark *benchmark, const char *profile_id)
const char * | xccdf_benchmark::xccdf_benchmark_get_id (const struct xccdf_benchmark *benchmark)
bool | xccdf_benchmark::xccdf_benchmark_get_resolved (const struct xccdf_benchmark *benchmark)
struct oscap_text_iterator * | xccdf_benchmark::xccdf_benchmark_get_title (const struct xccdf_benchmark *benchmark)
struct oscap_text_iterator * | xccdf_benchmark::xccdf_benchmark_get_description (const struct xccdf_benchmark *benchmark)
const char * | xccdf_benchmark::xccdf_benchmark_get_version (const struct xccdf_benchmark *benchmark)
const struct xccdf_version_info * | xccdf_benchmark::xccdf_benchmark_get_schema_version (const struct xccdf_benchmark *item)
const char * | xccdf_benchmark::xccdf_benchmark_get_style (const struct xccdf_benchmark *benchmark)
const char * | xccdf_benchmark::xccdf_benchmark_get_style_href (const struct xccdf_benchmark *benchmark)
struct oscap_text_iterator * | xccdf_benchmark::xccdf_benchmark_get_front_matter (const struct xccdf_benchmark *benchmark)
struct oscap_text_iterator * | xccdf_benchmark::xccdf_benchmark_get_rear_matter (const struct xccdf_benchmark *benchmark)
struct xccdf_status_iterator * | xccdf_benchmark::xccdf_benchmark_get_statuses (const struct xccdf_benchmark *benchmark)
struct oscap_reference_iterator * | xccdf_benchmark::xccdf_benchmark_get_dc_statuses (const struct xccdf_benchmark *benchmark)
struct oscap_reference_iterator * | xccdf_benchmark::xccdf_benchmark_get_references (const struct xccdf_benchmark *benchmark)
struct oscap_string_iterator * | xccdf_benchmark::xccdf_benchmark_get_platforms (const struct xccdf_benchmark *benchmark)
struct xccdf_status * | xccdf_benchmark::xccdf_benchmark_get_status_current (const struct xccdf_benchmark *benchmark)
struct xccdf_plain_text_iterator * | xccdf_benchmark::xccdf_benchmark_get_plain_texts (const struct xccdf_benchmark *item)
struct xccdf_result_iterator * | xccdf_benchmark::xccdf_benchmark_get_results (const struct xccdf_benchmark *bench)
struct xccdf_value_iterator * | xccdf_benchmark::xccdf_benchmark_get_values (const struct xccdf_benchmark *item)
bool | xccdf_benchmark::xccdf_benchmark_set_lang (struct xccdf_benchmark *item, const char *newval)
const char * | xccdf_benchmark::xccdf_benchmark_get_lang (const struct xccdf_benchmark *item)
const char * | xccdf_benchmark::xccdf_benchmark_get_plain_text (const struct xccdf_benchmark *benchmark, const char *id)
| Get a plain text by ID. More...
struct xccdf_item * | xccdf_benchmark::xccdf_benchmark_get_item (const struct xccdf_benchmark *benchmark, const char *id)
| Get benchmark xccdf:Item by ID. More...
struct xccdf_item * | xccdf_benchmark::xccdf_benchmark_get_member (const struct xccdf_benchmark *benchmark, xccdf_type_t type, const char *key)
| Get a registered member of xccdf_benchmakr by ID. More...
struct xccdf_notice_iterator * | xccdf_benchmark::xccdf_benchmark_get_notices (const struct xccdf_benchmark *benchmark)
| Get an iterator to the benchmark legal notices. More...
struct xccdf_model_iterator * | xccdf_benchmark::xccdf_benchmark_get_models (const struct xccdf_benchmark *benchmark)
| Get an iterator to the benchmark scoring models. More...
struct xccdf_profile_iterator * | xccdf_benchmark::xccdf_benchmark_get_profiles (const struct xccdf_benchmark *benchmark)
| Get an iterator to the benchmark XCCDF profiles. More...
struct xccdf_item_iterator * | xccdf_benchmark::xccdf_benchmark_get_content (const struct xccdf_benchmark *benchmark)
| Get an iterator to the bencmark content. More...
struct oscap_string_iterator * | xccdf_benchmark::xccdf_benchmark_get_metadata (const struct xccdf_benchmark *benchmark)
struct cpe_dict_model * | xccdf_benchmark::xccdf_benchmark_get_cpe_list (const struct xccdf_benchmark *benchmark)
struct cpe_lang_model * | xccdf_benchmark::xccdf_benchmark_get_cpe_lang_model (const struct xccdf_benchmark *benchmark)
const char * | xccdf_profile::xccdf_profile_get_id (const struct xccdf_profile *profile)
struct oscap_text_iterator * | xccdf_profile::xccdf_profile_get_title (const struct xccdf_profile *profile)
struct oscap_text_iterator * | xccdf_profile::xccdf_profile_get_description (const struct xccdf_profile *profile)
const char * | xccdf_profile::xccdf_profile_get_version (const struct xccdf_profile *profile)
const char * | xccdf_profile::xccdf_profile_get_extends (const struct xccdf_profile *profile)
struct xccdf_benchmark * | xccdf_profile::xccdf_profile_get_benchmark (const struct xccdf_profile *profile)
bool | xccdf_profile::xccdf_profile_get_abstract (const struct xccdf_profile *profile)
bool | xccdf_profile::xccdf_profile_get_prohibit_changes (const struct xccdf_profile *profile)
struct oscap_string_iterator * | xccdf_profile::xccdf_profile_get_platforms (const struct xccdf_profile *profile)
struct xccdf_status_iterator * | xccdf_profile::xccdf_profile_get_statuses (const struct xccdf_profile *profile)
struct oscap_reference_iterator * | xccdf_profile::xccdf_profile_get_dc_statuses (const struct xccdf_profile *profile)
struct oscap_reference_iterator * | xccdf_profile::xccdf_profile_get_references (const struct xccdf_profile *profile)
struct xccdf_status * | xccdf_profile::xccdf_profile_get_status_current (const struct xccdf_profile *profile)
struct xccdf_select_iterator * | xccdf_profile::xccdf_profile_get_selects (const struct xccdf_profile *profile)
struct xccdf_setvalue_iterator * | xccdf_profile::xccdf_profile_get_setvalues (const struct xccdf_profile *profile)
struct xccdf_refine_value_iterator * | xccdf_profile::xccdf_profile_get_refine_values (const struct xccdf_profile *profile)
struct xccdf_refine_rule_iterator * | xccdf_profile::xccdf_profile_get_refine_rules (const struct xccdf_profile *profile)
struct oscap_string_iterator * | xccdf_profile::xccdf_profile_get_metadata (const struct xccdf_profile *profile)
struct xccdf_item * | xccdf_rule::xccdf_rule_get_parent (const struct xccdf_rule *rule)
| Return rule's parent in the grouping hierarchy. More...
const char * | xccdf_rule::xccdf_rule_get_id (const struct xccdf_rule *rule)
struct oscap_text_iterator * | xccdf_rule::xccdf_rule_get_title (const struct xccdf_rule *rule)
struct oscap_text_iterator * | xccdf_rule::xccdf_rule_get_description (const struct xccdf_rule *rule)
const char * | xccdf_rule::xccdf_rule_get_version (const struct xccdf_rule *rule)
struct oscap_text_iterator * | xccdf_rule::xccdf_rule_get_question (const struct xccdf_rule *rule)
struct xccdf_warning_iterator * | xccdf_rule::xccdf_rule_get_warnings (const struct xccdf_rule *rule)
struct oscap_text_iterator * | xccdf_rule::xccdf_rule_get_rationale (const struct xccdf_rule *rule)
const char * | xccdf_rule::xccdf_rule_get_cluster_id (const struct xccdf_rule *rule)
float | xccdf_rule::xccdf_rule_get_weight (const struct xccdf_rule *rule)
bool | xccdf_rule::xccdf_rule_set_weight (struct xccdf_rule *item, xccdf_numeric newval)
const char * | xccdf_rule::xccdf_rule_get_extends (const struct xccdf_rule *rule)
bool | xccdf_rule::xccdf_rule_get_abstract (const struct xccdf_rule *rule)
bool | xccdf_rule::xccdf_rule_get_prohibit_changes (const struct xccdf_rule *rule)
bool | xccdf_rule::xccdf_rule_get_hidden (const struct xccdf_rule *rule)
bool | xccdf_rule::xccdf_rule_get_selected (const struct xccdf_rule *rule)
bool | xccdf_rule::xccdf_rule_get_multiple (const struct xccdf_rule *rule)
struct oscap_string_iterator * | xccdf_rule::xccdf_rule_get_platforms (const struct xccdf_rule *rule)
struct xccdf_status_iterator * | xccdf_rule::xccdf_rule_get_statuses (const struct xccdf_rule *rule)
struct oscap_reference_iterator * | xccdf_rule::xccdf_rule_get_dc_statuses (const struct xccdf_rule *rule)
struct oscap_reference_iterator * | xccdf_rule::xccdf_rule_get_references (const struct xccdf_rule *rule)
struct xccdf_status * | xccdf_rule::xccdf_rule_get_status_current (const struct xccdf_rule *rule)
const char * | xccdf_rule::xccdf_rule_get_impact_metric (const struct xccdf_rule *rule)
xccdf_role_t | xccdf_rule::xccdf_rule_get_role (const struct xccdf_rule *rule)
xccdf_level_t | xccdf_rule::xccdf_rule_get_severity (const struct xccdf_rule *rule)
struct xccdf_ident_iterator * | xccdf_rule::xccdf_rule_get_idents (const struct xccdf_rule *rule)
struct xccdf_check_iterator * | xccdf_rule::xccdf_rule_get_checks (const struct xccdf_rule *rule)
struct xccdf_profile_note_iterator * | xccdf_rule::xccdf_rule_get_profile_notes (const struct xccdf_rule *rule)
struct xccdf_fix_iterator * | xccdf_rule::xccdf_rule_get_fixes (const struct xccdf_rule *rule)
struct xccdf_fixtext_iterator * | xccdf_rule::xccdf_rule_get_fixtexts (const struct xccdf_rule *rule)
struct oscap_string_iterator * | xccdf_rule::xccdf_rule_get_conflicts (const struct xccdf_rule *rule)
struct oscap_stringlist_iterator * | xccdf_rule::xccdf_rule_get_requires (const struct xccdf_rule *rule)
struct oscap_string_iterator * | xccdf_rule::xccdf_rule_get_metadata (const struct xccdf_rule *rule)
struct xccdf_item_iterator * | xccdf_group::xccdf_group_get_content (const struct xccdf_group *group)
| Get an iterator to the group content. More...
struct xccdf_value_iterator * | xccdf_group::xccdf_group_get_values (const struct xccdf_group *group)
const char * | xccdf_group::xccdf_group_get_id (const struct xccdf_group *group)
struct oscap_text_iterator * | xccdf_group::xccdf_group_get_title (const struct xccdf_group *group)
struct oscap_text_iterator * | xccdf_group::xccdf_group_get_description (const struct xccdf_group *group)
const char * | xccdf_group::xccdf_group_get_version (const struct xccdf_group *group)
struct oscap_text_iterator * | xccdf_group::xccdf_group_get_question (const struct xccdf_group *group)
struct xccdf_warning_iterator * | xccdf_group::xccdf_group_get_warnings (const struct xccdf_group *group)
struct oscap_text_iterator * | xccdf_group::xccdf_group_get_rationale (const struct xccdf_group *group)
const char * | xccdf_group::xccdf_group_get_cluster_id (const struct xccdf_group *group)
float | xccdf_group::xccdf_group_get_weight (const struct xccdf_group *group)
bool | xccdf_group::xccdf_group_set_weight (struct xccdf_group *item, xccdf_numeric newval)
const char * | xccdf_group::xccdf_group_get_extends (const struct xccdf_group *group)
bool | xccdf_group::xccdf_group_get_abstract (const struct xccdf_group *group)
bool | xccdf_group::xccdf_group_get_prohibit_changes (const struct xccdf_group *group)
bool | xccdf_group::xccdf_group_get_hidden (const struct xccdf_group *group)
bool | xccdf_group::xccdf_group_get_selected (const struct xccdf_group *group)
struct oscap_string_iterator * | xccdf_group::xccdf_group_get_platforms (const struct xccdf_group *group)
struct xccdf_status_iterator * | xccdf_group::xccdf_group_get_statuses (const struct xccdf_group *group)
struct oscap_reference_iterator * | xccdf_group::xccdf_group_get_dc_statuses (const struct xccdf_group *group)
struct oscap_reference_iterator * | xccdf_group::xccdf_group_get_references (const struct xccdf_group *group)
struct xccdf_status * | xccdf_group::xccdf_group_get_status_current (const struct xccdf_group *group)
struct oscap_string_iterator * | xccdf_group::xccdf_group_get_conflicts (const struct xccdf_group *group)
struct oscap_stringlist_iterator * | xccdf_group::xccdf_group_get_requires (const struct xccdf_group *group)
struct oscap_string_iterator * | xccdf_group::xccdf_group_get_metadata (const struct xccdf_group *group)
struct oscap_text_iterator * | xccdf_value::xccdf_value_get_title (const struct xccdf_value *value)
const char * | xccdf_value::xccdf_value_get_id (const struct xccdf_value *value)
struct oscap_text_iterator * | xccdf_value::xccdf_value_get_description (const struct xccdf_value *value)
const char * | xccdf_value::xccdf_value_get_extends (const struct xccdf_value *value)
bool | xccdf_value::xccdf_value_get_abstract (const struct xccdf_value *value)
bool | xccdf_value::xccdf_value_get_prohibit_changes (const struct xccdf_value *value)
bool | xccdf_value::xccdf_value_get_hidden (const struct xccdf_value *value)
bool | xccdf_value::xccdf_value_get_interactive (const struct xccdf_value *value)
struct xccdf_status_iterator * | xccdf_value::xccdf_value_get_statuses (const struct xccdf_value *value)
struct oscap_reference_iterator * | xccdf_value::xccdf_value_get_dc_statuses (const struct xccdf_value *value)
struct oscap_reference_iterator * | xccdf_value::xccdf_value_get_references (const struct xccdf_value *value)
struct xccdf_status * | xccdf_value::xccdf_value_get_status_current (const struct xccdf_value *value)
xccdf_value_type_t | xccdf_value::xccdf_value_get_type (const struct xccdf_value *value)
xccdf_interface_hint_t | xccdf_value::xccdf_value_get_interface_hint (const struct xccdf_value *value)
xccdf_operator_t | xccdf_value::xccdf_value_get_oper (const struct xccdf_value *value)
struct xccdf_value_instance * | xccdf_value::xccdf_value_get_instance_by_selector (const struct xccdf_value *value, const char *selector)
bool | xccdf_value::xccdf_value_add_instance (struct xccdf_value *value, struct xccdf_value_instance *instance)
struct xccdf_value_instance_iterator * | xccdf_value::xccdf_value_get_instances (const struct xccdf_value *item)
struct oscap_string_iterator * | xccdf_value::xccdf_value_get_metadata (const struct xccdf_value *value)
void | xccdf_value_instance::xccdf_value_instance_free (struct xccdf_value_instance *inst)
struct xccdf_value_instance * | xccdf_value::xccdf_value_new_instance (struct xccdf_value *val)
const char * | xccdf_value_instance::xccdf_value_instance_get_selector (const struct xccdf_value_instance *item)
bool | xccdf_value_instance::xccdf_value_instance_set_selector (struct xccdf_value_instance *obj, const char *newval)
xccdf_value_type_t | xccdf_value_instance::xccdf_value_instance_get_type (const struct xccdf_value_instance *item)
bool | xccdf_value_instance::xccdf_value_instance_get_must_match (const struct xccdf_value_instance *item)
bool | xccdf_value_instance::xccdf_value_instance_set_must_match (struct xccdf_value_instance *obj, bool newval)
bool | xccdf_value_instance::xccdf_value_instance_get_value_boolean (const struct xccdf_value_instance *inst)
bool | xccdf_value_instance::xccdf_value_instance_set_value_boolean (struct xccdf_value_instance *inst, bool newval)
xccdf_numeric | xccdf_value_instance::xccdf_value_instance_get_value_number (const struct xccdf_value_instance *inst)
bool | xccdf_value_instance::xccdf_value_instance_set_value_number (struct xccdf_value_instance *inst, xccdf_numeric newval)
const char * | xccdf_value_instance::xccdf_value_instance_get_value_string (const struct xccdf_value_instance *inst)
bool | xccdf_value_instance::xccdf_value_instance_set_value_string (struct xccdf_value_instance *inst, const char *newval)
bool | xccdf_value_instance::xccdf_value_instance_get_defval_boolean (const struct xccdf_value_instance *inst)
bool | xccdf_value_instance::xccdf_value_instance_set_defval_boolean (struct xccdf_value_instance *inst, bool newval)
xccdf_numeric | xccdf_value_instance::xccdf_value_instance_get_defval_number (const struct xccdf_value_instance *inst)
bool | xccdf_value_instance::xccdf_value_instance_set_defval_number (struct xccdf_value_instance *inst, xccdf_numeric newval)
const char * | xccdf_value_instance::xccdf_value_instance_get_defval_string (const struct xccdf_value_instance *inst)
bool | xccdf_value_instance::xccdf_value_instance_set_defval_string (struct xccdf_value_instance *inst, const char *newval)
xccdf_numeric | xccdf_value_instance::xccdf_value_instance_get_lower_bound (const struct xccdf_value_instance *inst)
bool | xccdf_value_instance::xccdf_value_instance_set_lower_bound (struct xccdf_value_instance *inst, xccdf_numeric newval)
xccdf_numeric | xccdf_value_instance::xccdf_value_instance_get_upper_bound (const struct xccdf_value_instance *inst)
bool | xccdf_value_instance::xccdf_value_instance_set_upper_bound (struct xccdf_value_instance *inst, xccdf_numeric newval)
const char * | xccdf_value_instance::xccdf_value_instance_get_match (const struct xccdf_value_instance *inst)
bool | xccdf_value_instance::xccdf_value_instance_set_match (struct xccdf_value_instance *inst, const char *newval)
const char * | xccdf_value_instance::xccdf_value_instance_get_value (const struct xccdf_value_instance *val)
struct xccdf_item * | xccdf_value::xccdf_value_get_parent (const struct xccdf_value *value)
| Return value's parent in the grouping hierarchy. More...
time_t | xccdf_status::xccdf_status_get_date (const struct xccdf_status *status)
xccdf_status_type_t | xccdf_status::xccdf_status_get_status (const struct xccdf_status *status)
const char * | xccdf_status::xccdf_status_type_to_text (xccdf_status_type_t id)
const char * | xccdf_notice::xccdf_notice_get_id (const struct xccdf_notice *notice)
struct oscap_text * | xccdf_notice::xccdf_notice_get_text (const struct xccdf_notice *notice)
const char * | xccdf_model::xccdf_model_get_system (const struct xccdf_model *model)
const char * | xccdf_ident::xccdf_ident_get_id (const struct xccdf_ident *ident)
const char * | xccdf_ident::xccdf_ident_get_system (const struct xccdf_ident *ident)
const char * | xccdf_check::xccdf_check_get_id (const struct xccdf_check *check)
bool | xccdf_check::xccdf_check_get_complex (const struct xccdf_check *check)
| True if the check is a complex check. More...
xccdf_bool_operator_t | xccdf_check::xccdf_check_get_oper (const struct xccdf_check *check)
| Get an operator to be applied no children of the complex check. More...
const char * | xccdf_check::xccdf_check_get_system (const struct xccdf_check *check)
const char * | xccdf_check::xccdf_check_get_selector (const struct xccdf_check *check)
const char * | xccdf_check::xccdf_check_get_content (const struct xccdf_check *check)
bool | xccdf_check::xccdf_check_get_multicheck (const struct xccdf_check *check)
bool | xccdf_check::xccdf_check_get_negate (const struct xccdf_check *check)
struct xccdf_check_iterator * | xccdf_check::xccdf_check_get_children (const struct xccdf_check *check)
| Get an iterator to nested checks of the complex check. More...
const char * | xccdf_check_content_ref::xccdf_check_content_ref_get_href (const struct xccdf_check_content_ref *ref)
const char * | xccdf_check_content_ref::xccdf_check_content_ref_get_name (const struct xccdf_check_content_ref *ref)
const char * | xccdf_profile_note::xccdf_profile_note_get_reftag (const struct xccdf_profile_note *note)
struct oscap_text * | xccdf_profile_note::xccdf_profile_note_get_text (const struct xccdf_profile_note *note)
const char * | xccdf_check_import::xccdf_check_import_get_name (const struct xccdf_check_import *item)
const char * | xccdf_check_import::xccdf_check_import_get_xpath (const struct xccdf_check_import *item)
const char * | xccdf_check_import::xccdf_check_import_get_content (const struct xccdf_check_import *item)
const char * | xccdf_check_export::xccdf_check_export_get_value (const struct xccdf_check_export *item)
const char * | xccdf_check_export::xccdf_check_export_get_name (const struct xccdf_check_export *item)
const char * | xccdf_fix::xccdf_fix_get_content (const struct xccdf_fix *fix)
bool | xccdf_fix::xccdf_fix_get_reboot (const struct xccdf_fix *fix)
xccdf_strategy_t | xccdf_fix::xccdf_fix_get_strategy (const struct xccdf_fix *fix)
xccdf_level_t | xccdf_fix::xccdf_fix_get_complexity (const struct xccdf_fix *fix)
xccdf_level_t | xccdf_fix::xccdf_fix_get_disruption (const struct xccdf_fix *fix)
const char * | xccdf_fix::xccdf_fix_get_id (const struct xccdf_fix *fix)
const char * | xccdf_fix::xccdf_fix_get_system (const struct xccdf_fix *fix)
const char * | xccdf_fix::xccdf_fix_get_platform (const struct xccdf_fix *fix)
bool | xccdf_fixtext::xccdf_fixtext_get_reboot (const struct xccdf_fixtext *fixtext)
xccdf_strategy_t | xccdf_fixtext::xccdf_fixtext_get_strategy (const struct xccdf_fixtext *fixtext)
xccdf_level_t | xccdf_fixtext::xccdf_fixtext_get_complexity (const struct xccdf_fixtext *fixtext)
xccdf_level_t | xccdf_fixtext::xccdf_fixtext_get_disruption (const struct xccdf_fixtext *fixtext)
const char * | xccdf_fixtext::xccdf_fixtext_get_fixref (const struct xccdf_fixtext *fixtext)
struct oscap_text * | xccdf_fixtext::xccdf_fixtext_get_text (const struct xccdf_fixtext *fixtext)
const char * | xccdf_value::xccdf_value_get_version (const struct xccdf_value *value)
struct oscap_text_iterator * | xccdf_value::xccdf_value_get_question (const struct xccdf_value *value)
struct xccdf_warning_iterator * | xccdf_value::xccdf_value_get_warnings (const struct xccdf_value *value)
const char * | xccdf_value::xccdf_value_get_version_update (const struct xccdf_value *value)
const char * | xccdf_value::xccdf_value_get_version_time (const struct xccdf_value *value)
struct xccdf_benchmark * | xccdf_value::xccdf_value_get_benchmark (const struct xccdf_value *value)
struct oscap_string_iterator * | xccdf_value::xccdf_value_get_sources (const struct xccdf_value *value)
const char * | xccdf_value::xccdf_value_get_cluster_id (const struct xccdf_value *value)
struct oscap_text_iterator * | xccdf_item::xccdf_item_get_question (const struct xccdf_item *item)
struct xccdf_warning_iterator * | xccdf_item::xccdf_item_get_warnings (const struct xccdf_item *item)
struct oscap_text_iterator * | xccdf_item::xccdf_item_get_rationale (const struct xccdf_item *item)
const char * | xccdf_item::xccdf_item_get_cluster_id (const struct xccdf_item *item)
const char * | xccdf_item::xccdf_item_get_version_update (const struct xccdf_item *item)
const char * | xccdf_item::xccdf_item_get_version_time (const struct xccdf_item *item)
float | xccdf_item::xccdf_item_get_weight (const struct xccdf_item *item)
struct xccdf_benchmark * | xccdf_item::xccdf_item_get_benchmark (const struct xccdf_item *item)
struct oscap_string_iterator * | xccdf_item::xccdf_item_get_platforms (const struct xccdf_item *item)
struct xccdf_warning_iterator * | xccdf_benchmark::xccdf_benchmark_get_warnings (const struct xccdf_benchmark *benchmark)
const char * | xccdf_benchmark::xccdf_benchmark_get_version_update (const struct xccdf_benchmark *benchmark)
const char * | xccdf_benchmark::xccdf_benchmark_get_version_time (const struct xccdf_benchmark *benchmark)
const char * | xccdf_profile::xccdf_profile_get_version_update (const struct xccdf_profile *profile)
const char * | xccdf_profile::xccdf_profile_get_version_time (const struct xccdf_profile *profile)
bool | xccdf_profile::xccdf_profile_get_tailoring (const struct xccdf_profile *profile)
const char * | xccdf_profile::xccdf_profile_get_note_tag (const struct xccdf_profile *profile)
const char * | xccdf_rule::xccdf_rule_get_version_update (const struct xccdf_rule *rule)
const char * | xccdf_rule::xccdf_rule_get_version_time (const struct xccdf_rule *rule)
struct xccdf_benchmark * | xccdf_rule::xccdf_rule_get_benchmark (const struct xccdf_rule *rule)
const char * | xccdf_group::xccdf_group_get_version_time (const struct xccdf_group *group)
const char * | xccdf_group::xccdf_group_get_version_update (const struct xccdf_group *group)
struct xccdf_benchmark * | xccdf_group::xccdf_group_get_benchmark (const struct xccdf_group *group)
struct xccdf_check_import_iterator * | xccdf_check::xccdf_check_get_imports (const struct xccdf_check *check)
struct xccdf_check_export_iterator * | xccdf_check::xccdf_check_get_exports (const struct xccdf_check *check)
struct xccdf_check_content_ref_iterator * | xccdf_check::xccdf_check_get_content_refs (const struct xccdf_check *check)
bool | xccdf_select::xccdf_select_get_selected (const struct xccdf_select *select)
const char * | xccdf_select::xccdf_select_get_item (const struct xccdf_select *select)
struct oscap_text_iterator * | xccdf_select::xccdf_select_get_remarks (const struct xccdf_select *select)
xccdf_warning_category_t | xccdf_warning::xccdf_warning_get_category (const struct xccdf_warning *warning)
struct oscap_text * | xccdf_warning::xccdf_warning_get_text (const struct xccdf_warning *warning)
const char * | xccdf_refine_rule::xccdf_refine_rule_get_item (const struct xccdf_refine_rule *rr)
const char * | xccdf_refine_rule::xccdf_refine_rule_get_selector (const struct xccdf_refine_rule *rr)
xccdf_role_t | xccdf_refine_rule::xccdf_refine_rule_get_role (const struct xccdf_refine_rule *rr)
xccdf_level_t | xccdf_refine_rule::xccdf_refine_rule_get_severity (const struct xccdf_refine_rule *rr)
struct oscap_text_iterator * | xccdf_refine_rule::xccdf_refine_rule_get_remarks (const struct xccdf_refine_rule *rr)
xccdf_numeric | xccdf_refine_rule::xccdf_refine_rule_get_weight (const struct xccdf_refine_rule *item)
bool | xccdf_refine_rule::xccdf_refine_rule_weight_defined (const struct xccdf_refine_rule *item)
const char * | xccdf_refine_value::xccdf_refine_value_get_item (const struct xccdf_refine_value *rv)
const char * | xccdf_refine_value::xccdf_refine_value_get_selector (const struct xccdf_refine_value *rv)
xccdf_operator_t | xccdf_refine_value::xccdf_refine_value_get_oper (const struct xccdf_refine_value *rv)
struct oscap_text_iterator * | xccdf_refine_value::xccdf_refine_value_get_remarks (const struct xccdf_refine_value *rv)
const char * | xccdf_plain_text::xccdf_plain_text_get_id (const struct xccdf_plain_text *item)
const char * | xccdf_plain_text::xccdf_plain_text_get_text (const struct xccdf_plain_text *item)
struct xccdf_benchmark * | xccdf_result::xccdf_result_get_benchmark (const struct xccdf_result *item)
const char * | xccdf_result::xccdf_result_get_id (const struct xccdf_result *item)
struct oscap_text_iterator * | xccdf_result::xccdf_result_get_title (const struct xccdf_result *item)
const char * | xccdf_result::xccdf_result_get_version (const struct xccdf_result *item)
struct oscap_string_iterator * | xccdf_result::xccdf_result_get_platforms (const struct xccdf_result *item)
struct xccdf_status_iterator * | xccdf_result::xccdf_result_get_statuses (const struct xccdf_result *item)
const char * | xccdf_result::xccdf_result_get_test_system (const struct xccdf_result *item)
const char * | xccdf_result::xccdf_result_get_benchmark_uri (const struct xccdf_result *item)
const char * | xccdf_result::xccdf_result_get_profile (const struct xccdf_result *item)
struct xccdf_identity_iterator * | xccdf_result::xccdf_result_get_identities (const struct xccdf_result *item)
struct oscap_string_iterator * | xccdf_result::xccdf_result_get_targets (const struct xccdf_result *item)
struct oscap_string_iterator * | xccdf_result::xccdf_result_get_target_addresses (const struct xccdf_result *item)
struct oscap_string_iterator * | xccdf_result::xccdf_result_get_applicable_platforms (const struct xccdf_result *item)
struct oscap_string_iterator * | xccdf_result::xccdf_result_get_organizations (const struct xccdf_result *item)
struct oscap_text_iterator * | xccdf_result::xccdf_result_get_remarks (const struct xccdf_result *item)
struct xccdf_target_fact_iterator * | xccdf_result::xccdf_result_get_target_facts (const struct xccdf_result *item)
struct xccdf_target_identifier_iterator * | xccdf_result::xccdf_result_get_target_id_refs (const struct xccdf_result *item)
struct xccdf_setvalue_iterator * | xccdf_result::xccdf_result_get_setvalues (const struct xccdf_result *item)
struct xccdf_rule_result_iterator * | xccdf_result::xccdf_result_get_rule_results (const struct xccdf_result *item)
struct xccdf_score_iterator * | xccdf_result::xccdf_result_get_scores (const struct xccdf_result *item)
const char * | xccdf_result::xccdf_result_get_start_time (const struct xccdf_result *item)
const char * | xccdf_result::xccdf_result_get_end_time (const struct xccdf_result *item)
struct oscap_string_iterator * | xccdf_result::xccdf_result_get_metadata (const struct xccdf_result *result)
bool | xccdf_rule_result::xccdf_rule_result_override (struct xccdf_rule_result *rule_result, xccdf_test_result_type_t new_result, const char *time, const char *authority, struct oscap_text *remark)
| Override the result of rule-result. More...
const char * | xccdf_rule_result::xccdf_rule_result_get_time (const struct xccdf_rule_result *item)
xccdf_role_t | xccdf_rule_result::xccdf_rule_result_get_role (const struct xccdf_rule_result *item)
float | xccdf_rule_result::xccdf_rule_result_get_weight (const struct xccdf_rule_result *item)
xccdf_level_t | xccdf_rule_result::xccdf_rule_result_get_severity (const struct xccdf_rule_result *item)
xccdf_test_result_type_t | xccdf_rule_result::xccdf_rule_result_get_result (const struct xccdf_rule_result *item)
const char * | xccdf_rule_result::xccdf_rule_result_get_version (const struct xccdf_rule_result *item)
const char * | xccdf_rule_result::xccdf_rule_result_get_idref (const struct xccdf_rule_result *item)
struct xccdf_ident_iterator * | xccdf_rule_result::xccdf_rule_result_get_idents (const struct xccdf_rule_result *item)
struct xccdf_fix_iterator * | xccdf_rule_result::xccdf_rule_result_get_fixes (const struct xccdf_rule_result *item)
struct xccdf_check_iterator * | xccdf_rule_result::xccdf_rule_result_get_checks (const struct xccdf_rule_result *item)
struct xccdf_override_iterator * | xccdf_rule_result::xccdf_rule_result_get_overrides (const struct xccdf_rule_result *item)
struct xccdf_message_iterator * | xccdf_rule_result::xccdf_rule_result_get_messages (const struct xccdf_rule_result *item)
struct xccdf_instance_iterator * | xccdf_rule_result::xccdf_rule_result_get_instances (const struct xccdf_rule_result *item)
bool | xccdf_identity::xccdf_identity_get_authenticated (const struct xccdf_identity *item)
bool | xccdf_identity::xccdf_identity_get_privileged (const struct xccdf_identity *item)
const char * | xccdf_identity::xccdf_identity_get_name (const struct xccdf_identity *item)
xccdf_numeric | xccdf_score::xccdf_score_get_maximum (const struct xccdf_score *item)
xccdf_numeric | xccdf_score::xccdf_score_get_score (const struct xccdf_score *item)
const char * | xccdf_score::xccdf_score_get_system (const struct xccdf_score *item)
const char * | xccdf_override::xccdf_override_get_time (const struct xccdf_override *item)
xccdf_test_result_type_t | xccdf_override::xccdf_override_get_new_result (const struct xccdf_override *item)
xccdf_test_result_type_t | xccdf_override::xccdf_override_get_old_result (const struct xccdf_override *item)
const char * | xccdf_override::xccdf_override_get_authority (const struct xccdf_override *item)
struct oscap_text * | xccdf_override::xccdf_override_get_remark (const struct xccdf_override *item)
xccdf_message_severity_t | xccdf_message::xccdf_message_get_severity (const struct xccdf_message *item)
const char * | xccdf_message::xccdf_message_get_content (const struct xccdf_message *item)
xccdf_value_type_t | xccdf_target_fact::xccdf_target_fact_get_type (const struct xccdf_target_fact *item)
const char * | xccdf_target_fact::xccdf_target_fact_get_value (const struct xccdf_target_fact *item)
const char * | xccdf_target_fact::xccdf_target_fact_get_name (const struct xccdf_target_fact *item)
void * | xccdf_target_identifier::xccdf_target_identifier_get_xml_node (const struct xccdf_target_identifier *item)
const char * | xccdf_target_identifier::xccdf_target_identifier_get_system (const struct xccdf_target_identifier *item)
const char * | xccdf_target_identifier::xccdf_target_identifier_get_href (const struct xccdf_target_identifier *item)
const char * | xccdf_target_identifier::xccdf_target_identifier_get_name (const struct xccdf_target_identifier *item)
const char * | xccdf_instance::xccdf_instance_get_context (const struct xccdf_instance *item)
const char * | xccdf_instance::xccdf_instance_get_parent_context (const struct xccdf_instance *item)
const char * | xccdf_instance::xccdf_instance_get_content (const struct xccdf_instance *item)
struct xccdf_tailoring * | xccdf_tailoring::xccdf_tailoring_import_source (struct oscap_source *source, struct xccdf_benchmark *benchmark)
const char * | xccdf_tailoring::xccdf_tailoring_get_id (const struct xccdf_tailoring *tailoring)
const char * | xccdf_tailoring::xccdf_tailoring_get_version (const struct xccdf_tailoring *tailoring)
const char * | xccdf_tailoring::xccdf_tailoring_get_version_update (const struct xccdf_tailoring *tailoring)
const char * | xccdf_tailoring::xccdf_tailoring_get_version_time (const struct xccdf_tailoring *tailoring)
const char * | xccdf_tailoring::xccdf_tailoring_get_benchmark_ref (const struct xccdf_tailoring *tailoring)
const char * | xccdf_tailoring::xccdf_tailoring_get_benchmark_ref_version (const struct xccdf_tailoring *tailoring)
struct oscap_string_iterator * | xccdf_tailoring::xccdf_tailoring_get_metadata (const struct xccdf_tailoring *tailoring)
struct xccdf_profile_iterator * | xccdf_tailoring::xccdf_tailoring_get_profiles (const struct xccdf_tailoring *tailoring)
struct xccdf_status_iterator * | xccdf_tailoring::xccdf_tailoring_get_statuses (const struct xccdf_tailoring *tailoring)
struct oscap_reference_iterator * | xccdf_tailoring::xccdf_tailoring_get_dc_statuses (const struct xccdf_tailoring *tailoring)
struct xccdf_profile * | xccdf_tailoring::xccdf_tailoring_get_profile_by_id (const struct xccdf_tailoring *tailoring, const char *profile_id)

## Setters
For lists use add functions. Parameters of set functions are duplicated in memory and need to be freed by caller.
enum | xccdf_subst_type { XCCDF_SUBST_NONE, XCCDF_SUBST_SUB, XCCDF_SUBST_LINK, XCCDF_SUBST_INSTANCE }
| Type of textual substitution. More...
typedef enum xccdf_subst_type | xccdf_subst_type_t
| Type of textual substitution. More...
typedef char *(* | xccdf_substitution_func) (xccdf_subst_type_t type, const char *id, void *arg)
| Textual substitution callback. More...
void | xccdf_ident_set_id (struct xccdf_ident *ident, const char *id)
void | xccdf_ident_set_system (struct xccdf_ident *ident, const char *sys)
char * | oscap_text_xccdf_substitute (const char *text, xccdf_substitution_func cb, void *arg)
| Perform a textual substitution. More...
bool | xccdf_item::xccdf_item_set_weight (struct xccdf_item *item, xccdf_numeric newval)
bool | xccdf_item::xccdf_item_set_id (struct xccdf_item *item, const char *newval)
bool | xccdf_item::xccdf_item_set_cluster_id (struct xccdf_item *item, const char *newval)
bool | xccdf_item::xccdf_item_set_extends (struct xccdf_item *item, const char *newval)
bool | xccdf_item::xccdf_item_set_version (struct xccdf_item *item, const char *newval)
bool | xccdf_item::xccdf_item_set_version_time (struct xccdf_item *item, const char *newval)
bool | xccdf_item::xccdf_item_set_version_update (struct xccdf_item *item, const char *newval)
bool | xccdf_item::xccdf_item_set_abstract (struct xccdf_item *item, bool newval)
bool | xccdf_item::xccdf_item_set_hidden (struct xccdf_item *item, bool newval)
bool | xccdf_item::xccdf_item_set_prohibit_changes (struct xccdf_item *item, bool newval)
bool | xccdf_item::xccdf_item_set_selected (struct xccdf_item *item, bool newval)
bool | xccdf_item::xccdf_item_add_metadata (struct xccdf_item *item, const char *metadata)
bool | xccdf_benchmark::xccdf_benchmark_set_resolved (struct xccdf_benchmark *item, bool newval)
bool | xccdf_benchmark::xccdf_benchmark_set_style_href (struct xccdf_benchmark *item, const char *newval)
bool | xccdf_benchmark::xccdf_benchmark_set_style (struct xccdf_benchmark *item, const char *newval)
bool | xccdf_benchmark::xccdf_benchmark_set_id (struct xccdf_benchmark *item, const char *newval)
bool | xccdf_benchmark::xccdf_benchmark_set_version (struct xccdf_benchmark *item, const char *newval)
bool | xccdf_benchmark::xccdf_benchmark_set_version_time (struct xccdf_benchmark *item, const char *newval)
bool | xccdf_benchmark::xccdf_benchmark_set_version_update (struct xccdf_benchmark *item, const char *newval)
bool | xccdf_benchmark::xccdf_benchmark_set_schema_version (struct xccdf_benchmark *item, const struct xccdf_version_info *newval)
bool | xccdf_benchmark::xccdf_benchmark_add_metadata (struct xccdf_benchmark *item, const char *metadata)
bool | xccdf_benchmark::xccdf_benchmark_set_cpe_list (struct xccdf_benchmark *item, struct cpe_dict_model *cpe_list)
bool | xccdf_benchmark::xccdf_benchmark_set_cpe_lang_model (struct xccdf_benchmark *item, struct cpe_lang_model *cpe_lang_model)
bool | xccdf_profile::xccdf_profile_set_note_tag (struct xccdf_profile *item, const char *newval)
bool | xccdf_profile::xccdf_profile_set_id (struct xccdf_profile *item, const char *newval)
bool | xccdf_profile::xccdf_profile_set_abstract (struct xccdf_profile *item, bool newval)
bool | xccdf_profile::xccdf_profile_set_prohibit_changes (struct xccdf_profile *item, bool newval)
bool | xccdf_profile::xccdf_profile_set_extends (struct xccdf_profile *item, const char *newval)
bool | xccdf_profile::xccdf_profile_set_version (struct xccdf_profile *item, const char *newval)
bool | xccdf_profile::xccdf_profile_set_version_time (struct xccdf_profile *item, const char *newval)
bool | xccdf_profile::xccdf_profile_set_version_update (struct xccdf_profile *item, const char *newval)
bool | xccdf_profile::xccdf_profile_set_tailoring (struct xccdf_profile *item, bool tailoring)
bool | xccdf_profile::xccdf_profile_add_metadata (struct xccdf_profile *item, const char *metadata)
bool | xccdf_rule::xccdf_rule_set_id (struct xccdf_rule *item, const char *newval)
bool | xccdf_rule::xccdf_rule_set_cluster_id (struct xccdf_rule *item, const char *newval)
bool | xccdf_rule::xccdf_rule_set_extends (struct xccdf_rule *item, const char *newval)
bool | xccdf_rule::xccdf_rule_set_version (struct xccdf_rule *item, const char *newval)
bool | xccdf_rule::xccdf_rule_set_version_time (struct xccdf_rule *item, const char *newval)
bool | xccdf_rule::xccdf_rule_set_version_update (struct xccdf_rule *item, const char *newval)
bool | xccdf_rule::xccdf_rule_set_abstract (struct xccdf_rule *item, bool newval)
bool | xccdf_rule::xccdf_rule_set_hidden (struct xccdf_rule *item, bool newval)
bool | xccdf_rule::xccdf_rule_set_prohibit_changes (struct xccdf_rule *item, bool newval)
bool | xccdf_rule::xccdf_rule_set_selected (struct xccdf_rule *item, bool newval)
bool | xccdf_rule::xccdf_rule_set_multiple (struct xccdf_rule *item, bool newval)
bool | xccdf_rule::xccdf_rule_set_impact_metric (struct xccdf_rule *item, const char *newval)
bool | xccdf_rule::xccdf_rule_set_role (struct xccdf_rule *item, xccdf_role_t newval)
bool | xccdf_rule::xccdf_rule_set_severity (struct xccdf_rule *item, xccdf_level_t newval)
bool | xccdf_rule::xccdf_rule_add_metadata (struct xccdf_rule *item, const char *metadata)
bool | xccdf_group::xccdf_group_set_id (struct xccdf_group *item, const char *newval)
bool | xccdf_group::xccdf_group_set_cluster_id (struct xccdf_group *item, const char *newval)
bool | xccdf_group::xccdf_group_set_extends (struct xccdf_group *item, const char *newval)
bool | xccdf_group::xccdf_group_set_version (struct xccdf_group *item, const char *newval)
bool | xccdf_group::xccdf_group_set_version_time (struct xccdf_group *item, const char *newval)
bool | xccdf_group::xccdf_group_set_version_update (struct xccdf_group *item, const char *newval)
bool | xccdf_group::xccdf_group_set_abstract (struct xccdf_group *item, bool newval)
bool | xccdf_group::xccdf_group_set_hidden (struct xccdf_group *item, bool newval)
bool | xccdf_group::xccdf_group_set_prohibit_changes (struct xccdf_group *item, bool newval)
bool | xccdf_group::xccdf_group_set_selected (struct xccdf_group *item, bool newval)
bool | xccdf_group::xccdf_group_add_metadata (struct xccdf_group *item, const char *metadata)
bool | xccdf_value::xccdf_value_set_id (struct xccdf_value *item, const char *newval)
bool | xccdf_value::xccdf_value_set_cluster_id (struct xccdf_value *item, const char *newval)
bool | xccdf_value::xccdf_value_set_extends (struct xccdf_value *item, const char *newval)
bool | xccdf_value::xccdf_value_set_version (struct xccdf_value *item, const char *newval)
bool | xccdf_value::xccdf_value_set_version_time (struct xccdf_value *item, const char *newval)
bool | xccdf_value::xccdf_value_set_version_update (struct xccdf_value *item, const char *newval)
bool | xccdf_value::xccdf_value_set_abstract (struct xccdf_value *item, bool newval)
bool | xccdf_value::xccdf_value_set_hidden (struct xccdf_value *item, bool newval)
bool | xccdf_value::xccdf_value_set_multiple (struct xccdf_value *item, bool newval)
bool | xccdf_value::xccdf_value_set_prohibit_changes (struct xccdf_value *item, bool newval)
bool | xccdf_value::xccdf_value_set_oper (struct xccdf_value *item, xccdf_operator_t oper)
bool | xccdf_value::xccdf_value_set_interactive (struct xccdf_value *item, bool newval)
bool | xccdf_value::xccdf_value_add_metadata (struct xccdf_value *item, const char *metadata)
bool | xccdf_status::xccdf_status_set_date (struct xccdf_status *obj, time_t newval)
bool | xccdf_status::xccdf_status_set_status (struct xccdf_status *obj, xccdf_status_type_t newval)
bool | xccdf_notice::xccdf_notice_set_id (struct xccdf_notice *obj, const char *newval)
bool | xccdf_notice::xccdf_notice_set_text (struct xccdf_notice *obj, struct oscap_text *newval)
bool | xccdf_model::xccdf_model_set_system (struct xccdf_model *obj, const char *newval)
bool | xccdf_check::xccdf_check_set_id (struct xccdf_check *obj, const char *newval)
bool | xccdf_check::xccdf_check_set_system (struct xccdf_check *obj, const char *newval)
bool | xccdf_check::xccdf_check_set_selector (struct xccdf_check *obj, const char *newval)
bool | xccdf_check::xccdf_check_set_content (struct xccdf_check *obj, const char *newval)
bool | xccdf_check::xccdf_check_set_oper (struct xccdf_check *obj, xccdf_bool_operator_t newval)
bool | xccdf_check::xccdf_check_set_multicheck (struct xccdf_check *obj, bool newval)
bool | xccdf_check::xccdf_check_set_negate (struct xccdf_check *obj, bool newval)
bool | xccdf_check_content_ref::xccdf_check_content_ref_set_name (struct xccdf_check_content_ref *obj, const char *newval)
bool | xccdf_check_content_ref::xccdf_check_content_ref_set_href (struct xccdf_check_content_ref *obj, const char *newval)
bool | xccdf_profile_note::xccdf_profile_note_set_reftag (struct xccdf_profile_note *obj, const char *newval)
bool | xccdf_profile_note::xccdf_profile_note_set_text (struct xccdf_profile_note *obj, struct oscap_text *newval)
bool | xccdf_check_import::xccdf_check_import_set_name (struct xccdf_check_import *obj, const char *newval)
bool | xccdf_check_import::xccdf_check_import_set_xpath (struct xccdf_check_import *obj, const char *newval)
bool | xccdf_check_import::xccdf_check_import_set_content (struct xccdf_check_import *obj, const char *newval)
bool | xccdf_check_export::xccdf_check_export_set_name (struct xccdf_check_export *obj, const char *newval)
bool | xccdf_check_export::xccdf_check_export_set_value (struct xccdf_check_export *obj, const char *newval)
bool | xccdf_fix::xccdf_fix_set_strategy (struct xccdf_fix *obj, xccdf_strategy_t newval)
bool | xccdf_fix::xccdf_fix_set_disruption (struct xccdf_fix *obj, xccdf_level_t newval)
bool | xccdf_fix::xccdf_fix_set_complexity (struct xccdf_fix *obj, xccdf_level_t newval)
bool | xccdf_fix::xccdf_fix_set_reboot (struct xccdf_fix *obj, bool newval)
bool | xccdf_fix::xccdf_fix_set_content (struct xccdf_fix *obj, const char *newval)
bool | xccdf_fix::xccdf_fix_set_system (struct xccdf_fix *obj, const char *newval)
bool | xccdf_fix::xccdf_fix_set_platform (struct xccdf_fix *obj, const char *newval)
bool | xccdf_fix::xccdf_fix_set_id (struct xccdf_fix *obj, const char *newval)
bool | xccdf_fixtext::xccdf_fixtext_set_strategy (struct xccdf_fixtext *obj, xccdf_strategy_t newval)
bool | xccdf_fixtext::xccdf_fixtext_set_disruption (struct xccdf_fixtext *obj, xccdf_level_t newval)
bool | xccdf_fixtext::xccdf_fixtext_set_complexity (struct xccdf_fixtext *obj, xccdf_level_t newval)
bool | xccdf_fixtext::xccdf_fixtext_set_reboot (struct xccdf_fixtext *obj, bool newval)
bool | xccdf_fixtext::xccdf_fixtext_set_text (struct xccdf_fixtext *obj, struct oscap_text *newval)
bool | xccdf_fixtext::xccdf_fixtext_set_fixref (struct xccdf_fixtext *obj, const char *newval)
bool | xccdf_select::xccdf_select_set_item (struct xccdf_select *obj, const char *newval)
bool | xccdf_select::xccdf_select_set_selected (struct xccdf_select *obj, bool newval)
bool | xccdf_warning::xccdf_warning_set_category (struct xccdf_warning *obj, xccdf_warning_category_t newval)
bool | xccdf_warning::xccdf_warning_set_text (struct xccdf_warning *obj, struct oscap_text *newval)
struct xccdf_refine_rule * | xccdf_refine_rule::xccdf_refine_rule_new (void)
struct xccdf_refine_rule * | xccdf_refine_rule::xccdf_refine_rule_clone (const struct xccdf_refine_rule *old_rule)
bool | xccdf_refine_rule::xccdf_refine_rule_set_item (struct xccdf_refine_rule *obj, const char *newval)
bool | xccdf_refine_rule::xccdf_refine_rule_set_selector (struct xccdf_refine_rule *obj, const char *newval)
bool | xccdf_refine_rule::xccdf_refine_rule_set_role (struct xccdf_refine_rule *obj, xccdf_role_t newval)
bool | xccdf_refine_rule::xccdf_refine_rule_set_severity (struct xccdf_refine_rule *obj, xccdf_level_t newval)
bool | xccdf_refine_rule::xccdf_refine_rule_set_weight (struct xccdf_refine_rule *obj, xccdf_numeric newval)
struct xccdf_refine_value * | xccdf_refine_value::xccdf_refine_value_new (void)
struct xccdf_refine_value * | xccdf_refine_value::xccdf_refine_value_clone (const struct xccdf_refine_value *old_value)
bool | xccdf_refine_value::xccdf_refine_value_set_item (struct xccdf_refine_value *obj, const char *newval)
bool | xccdf_refine_value::xccdf_refine_value_set_selector (struct xccdf_refine_value *obj, const char *newval)
bool | xccdf_refine_value::xccdf_refine_value_set_oper (struct xccdf_refine_value *obj, xccdf_operator_t newval)
bool | xccdf_plain_text::xccdf_plain_text_set_id (struct xccdf_plain_text *obj, const char *newval)
bool | xccdf_plain_text::xccdf_plain_text_set_text (struct xccdf_plain_text *obj, const char *newval)
bool | xccdf_result::xccdf_result_set_id (struct xccdf_result *item, const char *newval)
bool | xccdf_result::xccdf_result_set_test_system (struct xccdf_result *item, const char *newval)
bool | xccdf_result::xccdf_result_set_benchmark_uri (struct xccdf_result *item, const char *newval)
bool | xccdf_result::xccdf_result_set_profile (struct xccdf_result *item, const char *newval)
bool | xccdf_result::xccdf_result_set_start_time (struct xccdf_result *item, const char *newval)
bool | xccdf_result::xccdf_result_set_end_time (struct xccdf_result *item, const char *newval)
bool | xccdf_result::xccdf_result_set_version (struct xccdf_result *item, const char *newval)
bool | xccdf_result::xccdf_result_add_metadata (struct xccdf_result *item, const char *metadata)
bool | xccdf_rule_result::xccdf_rule_result_set_time (struct xccdf_rule_result *obj, const char *newval)
bool | xccdf_rule_result::xccdf_rule_result_set_role (struct xccdf_rule_result *obj, xccdf_role_t newval)
bool | xccdf_rule_result::xccdf_rule_result_set_weight (struct xccdf_rule_result *obj, float newval)
bool | xccdf_rule_result::xccdf_rule_result_set_severity (struct xccdf_rule_result *obj, xccdf_level_t newval)
bool | xccdf_rule_result::xccdf_rule_result_set_result (struct xccdf_rule_result *obj, xccdf_test_result_type_t newval)
bool | xccdf_rule_result::xccdf_rule_result_set_version (struct xccdf_rule_result *obj, const char *newval)
bool | xccdf_rule_result::xccdf_rule_result_set_idref (struct xccdf_rule_result *obj, const char *newval)
bool | xccdf_identity::xccdf_identity_set_authenticated (struct xccdf_identity *obj, bool newval)
bool | xccdf_identity::xccdf_identity_set_privileged (struct xccdf_identity *obj, bool newval)
bool | xccdf_identity::xccdf_identity_set_name (struct xccdf_identity *obj, const char *newval)
bool | xccdf_score::xccdf_score_set_maximum (struct xccdf_score *obj, xccdf_numeric newval)
bool | xccdf_score::xccdf_score_set_score (struct xccdf_score *obj, xccdf_numeric newval)
bool | xccdf_score::xccdf_score_set_system (struct xccdf_score *obj, const char *newval)
bool | xccdf_override::xccdf_override_set_time (struct xccdf_override *obj, const char *newval)
bool | xccdf_override::xccdf_override_set_new_result (struct xccdf_override *obj, xccdf_test_result_type_t newval)
bool | xccdf_override::xccdf_override_set_old_result (struct xccdf_override *obj, xccdf_test_result_type_t newval)
bool | xccdf_override::xccdf_override_set_authority (struct xccdf_override *obj, const char *newval)
bool | xccdf_override::xccdf_override_set_remark (struct xccdf_override *obj, struct oscap_text *newval)
bool | xccdf_message::xccdf_message_set_severity (struct xccdf_message *obj, xccdf_message_severity_t newval)
bool | xccdf_message::xccdf_message_set_content (struct xccdf_message *obj, const char *newval)
bool | xccdf_target_fact::xccdf_target_fact_set_string (struct xccdf_target_fact *fact, const char *str)
bool | xccdf_target_fact::xccdf_target_fact_set_number (struct xccdf_target_fact *fact, xccdf_numeric val)
bool | xccdf_target_fact::xccdf_target_fact_set_boolean (struct xccdf_target_fact *fact, bool val)
bool | xccdf_target_fact::xccdf_target_fact_set_name (struct xccdf_target_fact *obj, const char *newval)
bool | xccdf_target_identifier::xccdf_target_identifier_set_xml_node (struct xccdf_target_identifier *ti, void *node)
bool | xccdf_target_identifier::xccdf_target_identifier_set_system (struct xccdf_target_identifier *ti, const char *newval)
bool | xccdf_target_identifier::xccdf_target_identifier_set_href (struct xccdf_target_identifier *ti, const char *newval)
bool | xccdf_target_identifier::xccdf_target_identifier_set_name (struct xccdf_target_identifier *ti, const char *newval)
bool | xccdf_instance::xccdf_instance_set_context (struct xccdf_instance *obj, const char *newval)
bool | xccdf_instance::xccdf_instance_set_parent_context (struct xccdf_instance *obj, const char *newval)
bool | xccdf_instance::xccdf_instance_set_content (struct xccdf_instance *obj, const char *newval)
bool | xccdf_tailoring::xccdf_tailoring_set_id (struct xccdf_tailoring *tailoring, const char *newval)
bool | xccdf_tailoring::xccdf_tailoring_set_version (struct xccdf_tailoring *tailoring, const char *newval)
bool | xccdf_tailoring::xccdf_tailoring_set_version_update (struct xccdf_tailoring *tailoring, const char *newval)
bool | xccdf_tailoring::xccdf_tailoring_set_version_time (struct xccdf_tailoring *tailoring, const char *newval)
bool | xccdf_tailoring::xccdf_tailoring_set_benchmark_ref (struct xccdf_tailoring *tailoring, const char *newval)
bool | xccdf_tailoring::xccdf_tailoring_set_benchmark_ref_version (struct xccdf_tailoring *tailoring, const char *newval)
bool | xccdf_tailoring::xccdf_tailoring_add_profile (struct xccdf_tailoring *tailoring, struct xccdf_profile *profile)
bool | xccdf_tailoring::xccdf_tailoring_remove_profile (struct xccdf_tailoring *tailoring, struct xccdf_profile *profile)
| Removes given profile from tailoring. More...
bool | xccdf_tailoring::xccdf_tailoring_resolve (struct xccdf_tailoring *tailoring, struct xccdf_benchmark *benchmark)
bool | xccdf_benchmark::xccdf_benchmark_add_result (struct xccdf_benchmark *bench, struct xccdf_result *result)
bool | xccdf_benchmark::xccdf_benchmark_add_description (struct xccdf_benchmark *item, struct oscap_text *newval)
bool | xccdf_benchmark::xccdf_benchmark_add_platform (struct xccdf_benchmark *item, const char *newval)
bool | xccdf_benchmark::xccdf_benchmark_add_reference (struct xccdf_benchmark *item, struct oscap_reference *newval)
bool | xccdf_benchmark::xccdf_benchmark_add_status (struct xccdf_benchmark *item, struct xccdf_status *newval)
bool | xccdf_benchmark::xccdf_benchmark_add_dc_status (struct xccdf_benchmark *item, struct oscap_reference *newval)
bool | xccdf_benchmark::xccdf_benchmark_add_title (struct xccdf_benchmark *item, struct oscap_text *newval)
bool | xccdf_benchmark::xccdf_benchmark_add_front_matter (struct xccdf_benchmark *item, struct oscap_text *newval)
bool | xccdf_benchmark::xccdf_benchmark_add_model (struct xccdf_benchmark *item, struct xccdf_model *newval)
bool | xccdf_benchmark::xccdf_benchmark_add_notice (struct xccdf_benchmark *item, struct xccdf_notice *newval)
bool | xccdf_benchmark::xccdf_benchmark_add_plain_text (struct xccdf_benchmark *item, struct xccdf_plain_text *newval)
bool | xccdf_benchmark::xccdf_benchmark_add_profile (struct xccdf_benchmark *item, struct xccdf_profile *newval)
bool | xccdf_benchmark::xccdf_benchmark_add_rear_matter (struct xccdf_benchmark *item, struct oscap_text *newval)
bool | xccdf_benchmark::xccdf_benchmark_add_rule (struct xccdf_benchmark *benchmark, struct xccdf_rule *rule)
bool | xccdf_benchmark::xccdf_benchmark_add_group (struct xccdf_benchmark *benchmark, struct xccdf_group *group)
bool | xccdf_benchmark::xccdf_benchmark_add_value (struct xccdf_benchmark *benchmark, struct xccdf_value *value)
bool | xccdf_benchmark::xccdf_benchmark_add_content (struct xccdf_benchmark *bench, struct xccdf_item *item)
bool | xccdf_profile::xccdf_profile_add_select (struct xccdf_profile *item, struct xccdf_select *newval)
bool | xccdf_profile::xccdf_profile_add_setvalue (struct xccdf_profile *item, struct xccdf_setvalue *newval)
bool | xccdf_profile::xccdf_profile_add_refine_value (struct xccdf_profile *item, struct xccdf_refine_value *newval)
bool | xccdf_profile::xccdf_profile_add_refine_rule (struct xccdf_profile *item, struct xccdf_refine_rule *newval)
bool | xccdf_profile::xccdf_profile_add_description (struct xccdf_profile *item, struct oscap_text *newval)
bool | xccdf_profile::xccdf_profile_add_platform (struct xccdf_profile *item, const char *newval)
bool | xccdf_profile::xccdf_profile_add_reference (struct xccdf_profile *item, struct oscap_reference *newval)
bool | xccdf_profile::xccdf_profile_add_status (struct xccdf_profile *item, struct xccdf_status *newval)
bool | xccdf_profile::xccdf_profile_add_dc_status (struct xccdf_profile *item, struct oscap_reference *newval)
bool | xccdf_profile::xccdf_profile_add_title (struct xccdf_profile *item, struct oscap_text *newval)
bool | xccdf_rule::xccdf_rule_add_description (struct xccdf_rule *item, struct oscap_text *newval)
bool | xccdf_rule::xccdf_rule_add_platform (struct xccdf_rule *item, const char *newval)
bool | xccdf_rule::xccdf_rule_add_question (struct xccdf_rule *item, struct oscap_text *newval)
bool | xccdf_rule::xccdf_rule_add_rationale (struct xccdf_rule *item, struct oscap_text *newval)
bool | xccdf_rule::xccdf_rule_add_reference (struct xccdf_rule *item, struct oscap_reference *newval)
bool | xccdf_rule::xccdf_rule_add_status (struct xccdf_rule *item, struct xccdf_status *newval)
bool | xccdf_rule::xccdf_rule_add_dc_status (struct xccdf_rule *item, struct oscap_reference *newval)
bool | xccdf_rule::xccdf_rule_add_title (struct xccdf_rule *item, struct oscap_text *newval)
bool | xccdf_rule::xccdf_rule_add_warning (struct xccdf_rule *item, struct xccdf_warning *newval)
bool | xccdf_rule::xccdf_rule_add_ident (struct xccdf_rule *item, struct xccdf_ident *newval)
bool | xccdf_rule::xccdf_rule_add_check (struct xccdf_rule *item, struct xccdf_check *newval)
bool | xccdf_rule::xccdf_rule_add_profile_note (struct xccdf_rule *item, struct xccdf_profile_note *newval)
bool | xccdf_rule::xccdf_rule_add_fix (struct xccdf_rule *item, struct xccdf_fix *newval)
bool | xccdf_rule::xccdf_rule_add_fixtext (struct xccdf_rule *item, struct xccdf_fixtext *newval)
bool | xccdf_group::xccdf_group_add_description (struct xccdf_group *item, struct oscap_text *newval)
bool | xccdf_group::xccdf_group_add_platform (struct xccdf_group *item, const char *newval)
bool | xccdf_group::xccdf_group_add_question (struct xccdf_group *item, struct oscap_text *newval)
bool | xccdf_group::xccdf_group_add_rationale (struct xccdf_group *item, struct oscap_text *newval)
bool | xccdf_group::xccdf_group_add_reference (struct xccdf_group *item, struct oscap_reference *newval)
bool | xccdf_group::xccdf_group_add_status (struct xccdf_group *item, struct xccdf_status *newval)
bool | xccdf_group::xccdf_group_add_dc_status (struct xccdf_group *item, struct oscap_reference *newval)
bool | xccdf_group::xccdf_group_add_title (struct xccdf_group *item, struct oscap_text *newval)
bool | xccdf_group::xccdf_group_add_warning (struct xccdf_group *item, struct xccdf_warning *newval)
bool | xccdf_group::xccdf_group_add_rule (struct xccdf_group *group, struct xccdf_rule *item)
bool | xccdf_group::xccdf_group_add_group (struct xccdf_group *group, struct xccdf_group *item)
bool | xccdf_group::xccdf_group_add_value (struct xccdf_group *group, struct xccdf_value *item)
bool | xccdf_group::xccdf_group_add_content (struct xccdf_group *rule, struct xccdf_item *item)
bool | xccdf_value::xccdf_value_add_description (struct xccdf_value *item, struct oscap_text *newval)
bool | xccdf_value::xccdf_value_add_question (struct xccdf_value *item, struct oscap_text *newval)
bool | xccdf_value::xccdf_value_add_reference (struct xccdf_value *item, struct oscap_reference *newval)
bool | xccdf_value::xccdf_value_add_status (struct xccdf_value *item, struct xccdf_status *newval)
bool | xccdf_value::xccdf_value_add_dc_status (struct xccdf_value *item, struct oscap_reference *newval)
bool | xccdf_value::xccdf_value_add_title (struct xccdf_value *item, struct oscap_text *newval)
bool | xccdf_value::xccdf_value_add_warning (struct xccdf_value *item, struct xccdf_warning *newval)
bool | xccdf_check::xccdf_check_add_import (struct xccdf_check *obj, struct xccdf_check_import *item)
bool | xccdf_check::xccdf_check_add_export (struct xccdf_check *obj, struct xccdf_check_export *item)
bool | xccdf_check::xccdf_check_add_content_ref (struct xccdf_check *obj, struct xccdf_check_content_ref *item)
bool | xccdf_check::xccdf_check_add_child (struct xccdf_check *obj, struct xccdf_check *item)
bool | xccdf_select::xccdf_select_add_remark (struct xccdf_select *obj, struct oscap_text *item)
bool | xccdf_refine_value::xccdf_refine_value_add_remark (struct xccdf_refine_value *obj, struct oscap_text *item)
bool | xccdf_result::xccdf_result_add_rule_result (struct xccdf_result *item, struct xccdf_rule_result *newval)
bool | xccdf_result::xccdf_result_add_setvalue (struct xccdf_result *item, struct xccdf_setvalue *newval)
bool | xccdf_result::xccdf_result_add_target_fact (struct xccdf_result *item, struct xccdf_target_fact *newval)
bool | xccdf_result::xccdf_result_add_target_identifier (struct xccdf_result *item, struct xccdf_target_identifier *newval)
bool | xccdf_result::xccdf_result_add_applicable_platform (struct xccdf_result *item, const char *newval)
bool | xccdf_result::xccdf_result_add_remark (struct xccdf_result *item, struct oscap_text *newval)
bool | xccdf_result::xccdf_result_add_organization (struct xccdf_result *item, const char *newval)
bool | xccdf_result::xccdf_result_add_target (struct xccdf_result *item, const char *newval)
bool | xccdf_result::xccdf_result_add_identity (struct xccdf_result *item, struct xccdf_identity *newval)
bool | xccdf_result::xccdf_result_add_score (struct xccdf_result *item, struct xccdf_score *newval)
bool | xccdf_result::xccdf_result_add_title (struct xccdf_result *item, struct oscap_text *newval)
bool | xccdf_result::xccdf_result_add_target_address (struct xccdf_result *item, const char *newval)
int | xccdf_result::xccdf_result_recalculate_scores (struct xccdf_result *result, struct xccdf_item *benchmark)
bool | xccdf_rule_result::xccdf_rule_result_add_ident (struct xccdf_rule_result *obj, struct xccdf_ident *item)
bool | xccdf_rule_result::xccdf_rule_result_add_fix (struct xccdf_rule_result *obj, struct xccdf_fix *item)
bool | xccdf_rule_result::xccdf_rule_result_add_check (struct xccdf_rule_result *obj, struct xccdf_check *item)
bool | xccdf_rule_result::xccdf_rule_result_add_override (struct xccdf_rule_result *obj, struct xccdf_override *item)
bool | xccdf_rule_result::xccdf_rule_result_add_message (struct xccdf_rule_result *obj, struct xccdf_message *item)
bool | xccdf_rule_result::xccdf_rule_result_add_instance (struct xccdf_rule_result *obj, struct xccdf_instance *item)
bool | xccdf_item::xccdf_item_add_description (struct xccdf_item *item, struct oscap_text *newval)
bool | xccdf_item::xccdf_item_add_platform (struct xccdf_item *item, const char *newval)
bool | xccdf_item::xccdf_item_add_question (struct xccdf_item *item, struct oscap_text *newval)
bool | xccdf_item::xccdf_item_add_rationale (struct xccdf_item *item, struct oscap_text *newval)
bool | xccdf_item::xccdf_item_add_reference (struct xccdf_item *item, struct oscap_reference *newval)
bool | xccdf_item::xccdf_item_add_dc_status (struct xccdf_item *item, struct oscap_reference *newval)
bool | xccdf_item::xccdf_item_add_status (struct xccdf_item *item, struct xccdf_status *newval)
bool | xccdf_item::xccdf_item_add_title (struct xccdf_item *item, struct oscap_text *newval)
bool | xccdf_item::xccdf_item_add_warning (struct xccdf_item *item, struct xccdf_warning *newval)
bool | xccdf_refine_rule::xccdf_refine_rule_add_remark (struct xccdf_refine_rule *obj, struct oscap_text *item)
bool | xccdf_rule::xccdf_rule_add_requires (struct xccdf_rule *rule, struct oscap_stringlist *requires)
bool | xccdf_group::xccdf_group_add_requires (struct xccdf_group *group, struct oscap_stringlist *requires)
bool | xccdf_item::xccdf_item_add_requires (struct xccdf_item *item, struct oscap_stringlist *requires)
bool | xccdf_rule::xccdf_rule_add_conflicts (struct xccdf_rule *rule, const char *conflicts)
bool | xccdf_group::xccdf_group_add_conflicts (struct xccdf_group *group, const char *conflicts)
bool | xccdf_item::xccdf_item_add_conflicts (struct xccdf_item *item, const char *conflicts)
void | xccdf_notice_iterator::xccdf_notice_iterator_remove (struct xccdf_notice_iterator *it)
void | xccdf_model_iterator::xccdf_model_iterator_remove (struct xccdf_model_iterator *it)
void | xccdf_profile_iterator::xccdf_profile_iterator_remove (struct xccdf_profile_iterator *it)
void | xccdf_item_iterator::xccdf_item_iterator_remove (struct xccdf_item_iterator *it)
void | xccdf_status_iterator::xccdf_status_iterator_remove (struct xccdf_status_iterator *it)
void | xccdf_profile_note_iterator::xccdf_profile_note_iterator_remove (struct xccdf_profile_note_iterator *it)
void | xccdf_refine_value_iterator::xccdf_refine_value_iterator_remove (struct xccdf_refine_value_iterator *it)
void | xccdf_refine_rule_iterator::xccdf_refine_rule_iterator_remove (struct xccdf_refine_rule_iterator *it)
void | xccdf_setvalue_iterator::xccdf_setvalue_iterator_remove (struct xccdf_setvalue_iterator *it)
void | xccdf_select_iterator::xccdf_select_iterator_remove (struct xccdf_select_iterator *it)
void | xccdf_ident_iterator::xccdf_ident_iterator_remove (struct xccdf_ident_iterator *it)
void | xccdf_check_content_ref_iterator::xccdf_check_content_ref_iterator_remove (struct xccdf_check_content_ref_iterator *it)
void | xccdf_check_export_iterator::xccdf_check_export_iterator_remove (struct xccdf_check_export_iterator *it)
void | xccdf_check_import_iterator::xccdf_check_import_iterator_remove (struct xccdf_check_import_iterator *it)
void | xccdf_check_iterator::xccdf_check_iterator_remove (struct xccdf_check_iterator *it)
void | xccdf_fixtext_iterator::xccdf_fixtext_iterator_remove (struct xccdf_fixtext_iterator *it)
void | xccdf_fix_iterator::xccdf_fix_iterator_remove (struct xccdf_fix_iterator *it)
void | xccdf_value_iterator::xccdf_value_iterator_remove (struct xccdf_value_iterator *it)
void | xccdf_plain_text_iterator::xccdf_plain_text_iterator_remove (struct xccdf_plain_text_iterator *it)
void | xccdf_warning_iterator::xccdf_warning_iterator_remove (struct xccdf_warning_iterator *it)
void | xccdf_result_iterator::xccdf_result_iterator_remove (struct xccdf_result_iterator *it)
void | xccdf_override_iterator::xccdf_override_iterator_remove (struct xccdf_override_iterator *it)
void | xccdf_message_iterator::xccdf_message_iterator_remove (struct xccdf_message_iterator *it)
void | xccdf_instance_iterator::xccdf_instance_iterator_remove (struct xccdf_instance_iterator *it)
void | xccdf_rule_result_iterator::xccdf_rule_result_iterator_remove (struct xccdf_rule_result_iterator *it)
void | xccdf_identity_iterator::xccdf_identity_iterator_remove (struct xccdf_identity_iterator *it)
void | xccdf_score_iterator::xccdf_score_iterator_remove (struct xccdf_score_iterator *it)
void | xccdf_target_fact_iterator::xccdf_target_fact_iterator_remove (struct xccdf_target_fact_iterator *it)
void | xccdf_target_identifier_iterator::xccdf_target_identifier_iterator_remove (struct xccdf_target_identifier_iterator *it)
void | xccdf_value_instance_iterator::xccdf_value_instance_iterator_remove (struct xccdf_value_instance_iterator *it)

## Detailed Description

Extensible Configuration Checklist Description Format.

Supported version: 1.2 and lower

## Typedef Documentation

## ◆ xccdf_subst_type_t

typedef enum xccdf_subst_type xccdf_subst_type_t

Type of textual substitution.

Deprecated:
  This type is deprecated.

It is not flexible enough to be applied on XCCDF 1.2+ documents. Please use xml_iterate module instead.

## ◆ xccdf_substitution_func

typedef char*(* xccdf_substitution_func) (xccdf_subst_type_t type, const char *id, void *arg)

Textual substitution callback.

This function is supposed to return textual representation of the substitution with given ID.

Parameters

  type | Type of the substitution
  id | ID of the object to be substituted
  arg | arbitrary user-defined argument

Returns
  newly allocated substitution string (will be free'd)

Deprecated:
  This callback has been deprecated. It cannot be applied on XCCDF 1.2+ documents given the xccdf:sub/ parameter.

## Enumeration Type Documentation

## ◆ xccdf_bool_operator_t

enum xccdf_bool_operator_t

Boolean operators for logical expressions.

Enumerator
XCCDF_OPERATOR_AND | Logical and.
XCCDF_OPERATOR_OR | Logical or.

## ◆ xccdf_interface_hint_t

enum xccdf_interface_hint_t

Interface hint.

Enumerator
XCCDF_IFACE_HINT_NONE | No interface hint.
XCCDF_IFACE_HINT_CHOICE | Choice from multiple values.
XCCDF_IFACE_HINT_TEXTLINE | Text line input widget.
XCCDF_IFACE_HINT_TEXT | Textarea.
XCCDF_IFACE_HINT_DATE | Date selection widget.
XCCDF_IFACE_HINT_DATETIME | Date and time selection widget.

## ◆ xccdf_level_t

enum xccdf_level_t

XCCDF error, complexity, disruption, or severity level.

Enumerator
XCCDF_UNKNOWN | Unknown.
XCCDF_INFO | Info.
XCCDF_LOW | Low.
XCCDF_MEDIUM | Medium.
XCCDF_HIGH | High.

## ◆ xccdf_message_severity_t

enum xccdf_message_severity_t

Severity of an xccdf_message.

Enumerator
XCCDF_MSG_INFO | Info.
XCCDF_MSG_WARNING | Warning.
XCCDF_MSG_ERROR | Error.

## ◆ xccdf_operator_t

enum xccdf_operator_t

Operator to be applied on an xccdf_value.

Enumerator
XCCDF_OPERATOR_EQUALS | Equality.
XCCDF_OPERATOR_NOT_EQUAL | Inequality.
XCCDF_OPERATOR_GREATER | Greater than.
XCCDF_OPERATOR_GREATER_EQUAL | Greater than or equal.
XCCDF_OPERATOR_LESS | Less than.
XCCDF_OPERATOR_LESS_EQUAL | Less than or equal.
XCCDF_OPERATOR_PATTERN_MATCH | Match a regular expression.

## ◆ xccdf_role_t

enum xccdf_role_t

XCCDF role.

Enumerator
XCCDF_ROLE_FULL | Check the rule and let the result contriburte to the score and appear in reports.
XCCDF_ROLE_UNSCORED | Check the rule and include the result in reports, but do not include it into score computations.
XCCDF_ROLE_UNCHECKED | Don't check the rule, result will be XCCDF_RESULT_UNKNOWN.

## ◆ xccdf_status_type_t

enum xccdf_status_type_t

Status of an XCCDF item.

Enumerator
XCCDF_STATUS_NOT_SPECIFIED | Status was not specified by benchmark.
XCCDF_STATUS_ACCEPTED | Accepted.
XCCDF_STATUS_DEPRECATED | Deprecated.
XCCDF_STATUS_DRAFT | Draft item.
XCCDF_STATUS_INCOMPLETE | The item is not complete.
XCCDF_STATUS_INTERIM | Interim.

## ◆ xccdf_strategy_t

enum xccdf_strategy_t

Fix strategy type.

Enumerator
XCCDF_STRATEGY_UNKNOWN | Strategy not defined.
XCCDF_STRATEGY_CONFIGURE | Adjust target config or settings.
XCCDF_STRATEGY_DISABLE | Turn off or deinstall something.
XCCDF_STRATEGY_ENABLE | Turn on or install something.
XCCDF_STRATEGY_PATCH | Apply a patch, hotfix, or update.
XCCDF_STRATEGY_POLICY | Remediation by changing policies/procedures.
XCCDF_STRATEGY_RESTRICT | Adjust permissions or ACLs.
XCCDF_STRATEGY_UPDATE | Install upgrade or update the system.
XCCDF_STRATEGY_COMBINATION | Combo of two or more of the above.

## ◆ xccdf_subst_type

enum xccdf_subst_type

Type of textual substitution.

Deprecated:
  This type is deprecated.

It is not flexible enough to be applied on XCCDF 1.2+ documents. Please use xml_iterate module instead.

Enumerator
XCCDF_SUBST_SUB | substitute cdf:sub element
XCCDF_SUBST_LINK | substitute a hyperlink
XCCDF_SUBST_INSTANCE | substitute cdf:instance element

## ◆ xccdf_test_result_type_t

enum xccdf_test_result_type_t

Test result.

Enumerator
XCCDF_RESULT_PASS | The test passed.
XCCDF_RESULT_FAIL | The test failed.
XCCDF_RESULT_ERROR | An error occurred and test could not complete.
XCCDF_RESULT_UNKNOWN | Could not tell what happened.
XCCDF_RESULT_NOT_APPLICABLE | Rule did not apply to test target.
XCCDF_RESULT_NOT_CHECKED | Rule did not cause any evaluation by the checking engine.
XCCDF_RESULT_NOT_SELECTED | Rule was not selected in the Benchmark.
XCCDF_RESULT_INFORMATIONAL | Rule was evaluated by the checking engine, but isn't to be scored.
XCCDF_RESULT_FIXED | Rule failed, but was later fixed.

## ◆ xccdf_type_t

enum xccdf_type_t

Type of an XCCDF object.

When checking the type, you can use either operator == for type equivalence, or operator & to take a type inheritance hierarchy into account. For example, XCCDF_ITEM & XCCDF_RULE evaluates to true, as the rule type is a subclass of the xccdf item type.

Enumerator
XCCDF_BENCHMARK | Type constant for xccdf_benchmark.
XCCDF_PROFILE | Type constant for xccdf_profile.
XCCDF_RESULT | Type constant for xccdf_result.
XCCDF_RULE | Type constant for xccdf_rule.
XCCDF_GROUP | Type constant for xccdf_group.
XCCDF_VALUE | Type constant for xccdf_value.
XCCDF_CONTENT | Represents selectable items, i.e. rules and groups (see xccdf_item)
XCCDF_ITEM | Represents items as described in the XCCDF documentation (see xccdf_item)
XCCDF_OBJECT | Represents an object, profile, result or whole benchmark (see xccdf_item)

## ◆ xccdf_value_type_t

enum xccdf_value_type_t

Type of an xccdf_value.

Enumerator
XCCDF_TYPE_NUMBER | Integer.
XCCDF_TYPE_STRING | String.
XCCDF_TYPE_BOOLEAN | Boolean.

## ◆ xccdf_warning_category_t

enum xccdf_warning_category_t

Category of xccdf_warning.

Enumerator
XCCDF_WARNING_GENERAL | General-purpose warning.
XCCDF_WARNING_FUNCTIONALITY | Warning about possible impacts to functionality.
XCCDF_WARNING_PERFORMANCE | Warning about changes to target system performance.
XCCDF_WARNING_HARDWARE | Warning about hardware restrictions or possible impacts to hardware.
XCCDF_WARNING_LEGAL | Warning about legal implications.
XCCDF_WARNING_REGULATORY | Warning about regulatory obligations.
XCCDF_WARNING_MANAGEMENT | Warning about impacts to the mgmt or administration of the target system.
XCCDF_WARNING_AUDIT | Warning about impacts to audit or logging.
XCCDF_WARNING_DEPENDENCY | Warning about dependencies between this Rule and other parts of the target system.

## Function Documentation

## ◆ oscap_text_xccdf_substitute()

char* oscap_text_xccdf_substitute | ( | const char * | text,
|  | xccdf_substitution_func | cb,
|  | void * | arg
| ) |  |

Perform a textual substitution.

Calls cb on each substitution (e.g. a cdf:sub element) of text and returns a string with substitutions done.

Parameters

  text | source text
  cb | substitution callback
  arg | arbitrary argument to be passed to he callback

Returns
  substituted string (it is up to the caller to free it)

Deprecated:
  This function has been deprecated. It cannot be applied on XCCDF 1.2+ documents given the xccdf:sub/ parameter.

## ◆ xccdf_benchmark_add_content()

bool xccdf_benchmark_add_content | ( | struct xccdf_benchmark * | bench,
|  | struct xccdf_item * | item
| ) |  |

## ◆ xccdf_benchmark_add_dc_status()

bool xccdf_benchmark_add_dc_status | ( | struct xccdf_benchmark * | item,
|  | struct oscap_reference * | newval
| ) |  |

## ◆ xccdf_benchmark_add_description()

bool xccdf_benchmark_add_description | ( | struct xccdf_benchmark * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_benchmark_add_front_matter()

bool xccdf_benchmark_add_front_matter | ( | struct xccdf_benchmark * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_benchmark_add_group()

bool xccdf_benchmark_add_group | ( | struct xccdf_benchmark * | benchmark,
|  | struct xccdf_group * | group
| ) |  |

## ◆ xccdf_benchmark_add_metadata()

bool xccdf_benchmark_add_metadata | ( | struct xccdf_benchmark * | item,
|  | const char * | metadata
| ) |  |

## ◆ xccdf_benchmark_add_model()

bool xccdf_benchmark_add_model | ( | struct xccdf_benchmark * | item,
|  | struct xccdf_model * | newval
| ) |  |

## ◆ xccdf_benchmark_add_notice()

bool xccdf_benchmark_add_notice | ( | struct xccdf_benchmark * | item,
|  | struct xccdf_notice * | newval
| ) |  |

## ◆ xccdf_benchmark_add_plain_text()

bool xccdf_benchmark_add_plain_text | ( | struct xccdf_benchmark * | item,
|  | struct xccdf_plain_text * | newval
| ) |  |

## ◆ xccdf_benchmark_add_platform()

bool xccdf_benchmark_add_platform | ( | struct xccdf_benchmark * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_benchmark_add_profile()

bool xccdf_benchmark_add_profile | ( | struct xccdf_benchmark * | item,
|  | struct xccdf_profile * | newval
| ) |  |

## ◆ xccdf_benchmark_add_rear_matter()

bool xccdf_benchmark_add_rear_matter | ( | struct xccdf_benchmark * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_benchmark_add_reference()

bool xccdf_benchmark_add_reference | ( | struct xccdf_benchmark * | item,
|  | struct oscap_reference * | newval
| ) |  |

## ◆ xccdf_benchmark_add_result()

bool xccdf_benchmark_add_result | ( | struct xccdf_benchmark * | bench,
|  | struct xccdf_result * | result
| ) |  |

## ◆ xccdf_benchmark_add_rule()

bool xccdf_benchmark_add_rule | ( | struct xccdf_benchmark * | benchmark,
|  | struct xccdf_rule * | rule
| ) |  |

## ◆ xccdf_benchmark_add_status()

bool xccdf_benchmark_add_status | ( | struct xccdf_benchmark * | item,
|  | struct xccdf_status * | newval
| ) |  |

## ◆ xccdf_benchmark_add_title()

bool xccdf_benchmark_add_title | ( | struct xccdf_benchmark * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_benchmark_add_value()

bool xccdf_benchmark_add_value | ( | struct xccdf_benchmark * | benchmark,
|  | struct xccdf_value * | value
| ) |  |

## ◆ xccdf_benchmark_append_new_group()

struct xccdf_group* xccdf_benchmark_append_new_group | ( | struct xccdf_benchmark * | ,
|  | const char * | id
| ) |  |

Create a group and append it to the benchmark.

Parameters

  id | - the identifier of the appended value.

Returns
  the handle of the new group.

## ◆ xccdf_benchmark_append_new_rule()

struct xccdf_rule* xccdf_benchmark_append_new_rule | ( | struct xccdf_benchmark * | ,
|  | const char * | id
| ) |  |

Create a rule and append it to the benchmark.

Parameters

  id | - the identifier of the appended rule.

Returns
  the handle of the new rule.

## ◆ xccdf_benchmark_append_new_value()

struct xccdf_value* xccdf_benchmark_append_new_value | ( | struct xccdf_benchmark * | ,
|  | const char * | id,
|  | xccdf_value_type_t | type
| ) |  |

Create a value and append it to the benchmark.

Parameters

  id | - the identifier of the appended value.

Returns
  the handle of the new value.

## ◆ xccdf_benchmark_clone()

struct xccdf_benchmark * xccdf_benchmark_clone | ( | const struct xccdf_benchmark * | benchmark | ) |

## ◆ xccdf_benchmark_export()

int xccdf_benchmark_export | ( | struct xccdf_benchmark * | benchmark,
|  | const char * | file
| ) |  |

Export a benchmark to an XML stream.

Returns
  Integer

Return values

  -1 | if error occurred

## ◆ xccdf_benchmark_export_source()

struct oscap_source * xccdf_benchmark_export_source | ( | struct xccdf_benchmark * | benchmark,
|  | const char * | filename
| ) |  |

Export a benchmark to a source object.

Returns
  newly created source object or NULL

## ◆ xccdf_benchmark_free()

void xccdf_benchmark_free | ( | struct xccdf_benchmark * | benchmark | ) |

## ◆ xccdf_benchmark_get_content()

struct xccdf_item_iterator * xccdf_benchmark_get_content | ( | const struct xccdf_benchmark * | benchmark | ) |

Get an iterator to the bencmark content.

The items are either groups or rules.

See also
  xccdf_rule
  xccdf_group
  xccdf_item

## ◆ xccdf_benchmark_get_item()

struct xccdf_item * xccdf_benchmark_get_item | ( | const struct xccdf_benchmark * | benchmark,
|  | const char * | id
| ) |  |

Get benchmark xccdf:Item by ID.

Parameters

  id | ID

Returns
  Item with given ID

Return values

  NULL | if no such item exists

## ◆ xccdf_benchmark_get_lang()

const char * xccdf_benchmark_get_lang | ( | const struct xccdf_benchmark * | item | ) |

## ◆ xccdf_benchmark_get_member()

struct xccdf_item * xccdf_benchmark_get_member | ( | const struct xccdf_benchmark * | benchmark,
|  | xccdf_type_t | type,
|  | const char * | key
| ) |  |

Get a registered member of xccdf_benchmakr by ID.

Parameters

  type | of member: either XCCDF_ITEM, XCCDF_PROFILE, or XCCDF_RESULT

Returns
  xccdf_item with given ID and type
  NULL if no such member exists

## ◆ xccdf_benchmark_get_models()

struct xccdf_model_iterator * xccdf_benchmark_get_models | ( | const struct xccdf_benchmark * | benchmark | ) |

Get an iterator to the benchmark scoring models.

See also
  xccdf_model

## ◆ xccdf_benchmark_get_notices()

struct xccdf_notice_iterator * xccdf_benchmark_get_notices | ( | const struct xccdf_benchmark * | benchmark | ) |

Get an iterator to the benchmark legal notices.

See also
  xccdf_notice

## ◆ xccdf_benchmark_get_plain_text()

const char * xccdf_benchmark_get_plain_text | ( | const struct xccdf_benchmark * | benchmark,
|  | const char * | id
| ) |  |

Get a plain text by ID.

Parameters

  id | ID of the plain text to get.

Returns
  Plain text content.

Return values

  NULL | if given plain text does not exist

## ◆ xccdf_benchmark_get_profiles()

struct xccdf_profile_iterator * xccdf_benchmark_get_profiles | ( | const struct xccdf_benchmark * | benchmark | ) |

Get an iterator to the benchmark XCCDF profiles.

See also
  xccdf_profile

## ◆ xccdf_benchmark_get_version_time()

const char * xccdf_benchmark_get_version_time | ( | const struct xccdf_benchmark * | benchmark | ) |

## ◆ xccdf_benchmark_get_version_update()

const char * xccdf_benchmark_get_version_update | ( | const struct xccdf_benchmark * | benchmark | ) |

## ◆ xccdf_benchmark_get_warnings()

struct xccdf_warning_iterator * xccdf_benchmark_get_warnings | ( | const struct xccdf_benchmark * | benchmark | ) |

## ◆ xccdf_benchmark_import()

struct xccdf_benchmark * xccdf_benchmark_import | ( | const char * | file | ) |

Import the content from a specified XML stream into a benchmark.

Parameters

  file | filename.

Returns
  Pointer to the new benchmark.

Return values

  NULL | on failure

Deprecated:
  This function has been deprecated by xccdf_benchmark_import_source. This function may be dropped from later versions of the library.

## ◆ xccdf_benchmark_import_source()

struct xccdf_benchmark * xccdf_benchmark_import_source | ( | struct oscap_source * | source | ) |

Import the content from oscap_source into a benchmark.

Parameters

  source | The oscap_source to import from

Returns
  newly created benchmark element or NULL

## ◆ xccdf_benchmark_match_profile_id()

const char * xccdf_benchmark_match_profile_id | ( | struct xccdf_benchmark * | bench,
|  | const char * | profile_suffix,
|  | int * | match_status
| ) |  |

Match a profile suffix agains profiles present in the given benchmark.

Parameters

  bench | The benchmark where to search for profiles.
  profile_suffix | The profile suffix we match against.
  match_status | Tells us what exactly went wrong.

Returns
  The complete profile ID.

Return values

  NULL | is returned in case of error. Details might be found through match_status

## ◆ xccdf_benchmark_new()

struct xccdf_benchmark * xccdf_benchmark_new | ( | void |  | ) |

## ◆ xccdf_benchmark_resolve()

bool xccdf_benchmark_resolve | ( | struct xccdf_benchmark * | benchmark | ) |

Resolve an benchmark.

Returns
  whether the resolving process has been successful

Return values

  true | on success
  false | on dependency loop

## ◆ xccdf_benchmark_set_cpe_lang_model()

bool xccdf_benchmark_set_cpe_lang_model | ( | struct xccdf_benchmark * | item,
|  | struct cpe_lang_model * | cpe_lang_model
| ) |  |

## ◆ xccdf_benchmark_set_cpe_list()

bool xccdf_benchmark_set_cpe_list | ( | struct xccdf_benchmark * | item,
|  | struct cpe_dict_model * | cpe_list
| ) |  |

## ◆ xccdf_benchmark_set_id()

bool xccdf_benchmark_set_id | ( | struct xccdf_benchmark * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_benchmark_set_lang()

bool xccdf_benchmark_set_lang | ( | struct xccdf_benchmark * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_benchmark_set_resolved()

bool xccdf_benchmark_set_resolved | ( | struct xccdf_benchmark * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_benchmark_set_schema_version()

bool xccdf_benchmark_set_schema_version | ( | struct xccdf_benchmark * | item,
|  | const struct xccdf_version_info * | newval
| ) |  |

## ◆ xccdf_benchmark_set_style()

bool xccdf_benchmark_set_style | ( | struct xccdf_benchmark * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_benchmark_set_style_href()

bool xccdf_benchmark_set_style_href | ( | struct xccdf_benchmark * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_benchmark_set_version()

bool xccdf_benchmark_set_version | ( | struct xccdf_benchmark * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_benchmark_set_version_time()

bool xccdf_benchmark_set_version_time | ( | struct xccdf_benchmark * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_benchmark_set_version_update()

bool xccdf_benchmark_set_version_update | ( | struct xccdf_benchmark * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_benchmark_supported()

const char * xccdf_benchmark_supported | ( | void |  | ) |

Get supported version of XCCDF XML.

Returns
  version of XML file format

## ◆ xccdf_benchmark_supported_schema_version()

const struct xccdf_version_info * xccdf_benchmark_supported_schema_version | ( | void |  | ) |

## ◆ xccdf_benchmark_to_item()

struct xccdf_item * xccdf_benchmark_to_item | ( | struct xccdf_benchmark * | item | ) |

## ◆ xccdf_check_add_child()

bool xccdf_check_add_child | ( | struct xccdf_check * | obj,
|  | struct xccdf_check * | item
| ) |  |

## ◆ xccdf_check_add_content_ref()

bool xccdf_check_add_content_ref | ( | struct xccdf_check * | obj,
|  | struct xccdf_check_content_ref * | item
| ) |  |

## ◆ xccdf_check_add_export()

bool xccdf_check_add_export | ( | struct xccdf_check * | obj,
|  | struct xccdf_check_export * | item
| ) |  |

## ◆ xccdf_check_add_import()

bool xccdf_check_add_import | ( | struct xccdf_check * | obj,
|  | struct xccdf_check_import * | item
| ) |  |

## ◆ xccdf_check_clone()

struct xccdf_check * xccdf_check_clone | ( | const struct xccdf_check * | old_check | ) |

## ◆ xccdf_check_content_ref_clone()

struct xccdf_check_content_ref * xccdf_check_content_ref_clone | ( | const struct xccdf_check_content_ref * | old_ref | ) |

## ◆ xccdf_check_content_ref_free()

void xccdf_check_content_ref_free | ( | struct xccdf_check_content_ref * | ref | ) |

## ◆ xccdf_check_content_ref_get_href()

const char * xccdf_check_content_ref_get_href | ( | const struct xccdf_check_content_ref * | ref | ) |

## ◆ xccdf_check_content_ref_get_name()

const char * xccdf_check_content_ref_get_name | ( | const struct xccdf_check_content_ref * | ref | ) |

## ◆ xccdf_check_content_ref_iterator_remove()

void xccdf_check_content_ref_iterator_remove | ( | struct xccdf_check_content_ref_iterator * | it | ) |

## ◆ xccdf_check_content_ref_new()

struct xccdf_check_content_ref * xccdf_check_content_ref_new | ( | void |  | ) |

## ◆ xccdf_check_content_ref_set_href()

bool xccdf_check_content_ref_set_href | ( | struct xccdf_check_content_ref * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_check_content_ref_set_name()

bool xccdf_check_content_ref_set_name | ( | struct xccdf_check_content_ref * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_check_export_clone()

struct xccdf_check_export * xccdf_check_export_clone | ( | const struct xccdf_check_export * | old_export | ) |

## ◆ xccdf_check_export_free()

void xccdf_check_export_free | ( | struct xccdf_check_export * | item | ) |

## ◆ xccdf_check_export_get_name()

const char * xccdf_check_export_get_name | ( | const struct xccdf_check_export * | item | ) |

## ◆ xccdf_check_export_get_value()

const char * xccdf_check_export_get_value | ( | const struct xccdf_check_export * | item | ) |

## ◆ xccdf_check_export_iterator_remove()

void xccdf_check_export_iterator_remove | ( | struct xccdf_check_export_iterator * | it | ) |

## ◆ xccdf_check_export_new()

struct xccdf_check_export * xccdf_check_export_new | ( | void |  | ) |

## ◆ xccdf_check_export_set_name()

bool xccdf_check_export_set_name | ( | struct xccdf_check_export * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_check_export_set_value()

bool xccdf_check_export_set_value | ( | struct xccdf_check_export * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_check_free()

void xccdf_check_free | ( | struct xccdf_check * | check | ) |

## ◆ xccdf_check_get_children()

struct xccdf_check_iterator * xccdf_check_get_children | ( | const struct xccdf_check * | check | ) |

Get an iterator to nested checks of the complex check.

See also
  xccdf_check_get_export

## ◆ xccdf_check_get_complex()

bool xccdf_check_get_complex | ( | const struct xccdf_check * | check | ) |

True if the check is a complex check.

See also
  xccdf_check_get_children

## ◆ xccdf_check_get_content()

const char * xccdf_check_get_content | ( | const struct xccdf_check * | check | ) |

## ◆ xccdf_check_get_content_refs()

struct xccdf_check_content_ref_iterator * xccdf_check_get_content_refs | ( | const struct xccdf_check * | check | ) |

## ◆ xccdf_check_get_exports()

struct xccdf_check_export_iterator * xccdf_check_get_exports | ( | const struct xccdf_check * | check | ) |

## ◆ xccdf_check_get_id()

const char * xccdf_check_get_id | ( | const struct xccdf_check * | check | ) |

## ◆ xccdf_check_get_imports()

struct xccdf_check_import_iterator * xccdf_check_get_imports | ( | const struct xccdf_check * | check | ) |

## ◆ xccdf_check_get_multicheck()

bool xccdf_check_get_multicheck | ( | const struct xccdf_check * | check | ) |

## ◆ xccdf_check_get_negate()

bool xccdf_check_get_negate | ( | const struct xccdf_check * | check | ) |

## ◆ xccdf_check_get_oper()

xccdf_bool_operator_t xccdf_check_get_oper | ( | const struct xccdf_check * | check | ) |

Get an operator to be applied no children of the complex check.

See also
  xccdf_check_get_children

## ◆ xccdf_check_get_selector()

const char * xccdf_check_get_selector | ( | const struct xccdf_check * | check | ) |

## ◆ xccdf_check_get_system()

const char * xccdf_check_get_system | ( | const struct xccdf_check * | check | ) |

## ◆ xccdf_check_import_clone()

struct xccdf_check_import * xccdf_check_import_clone | ( | const struct xccdf_check_import * | old_import | ) |

## ◆ xccdf_check_import_free()

void xccdf_check_import_free | ( | struct xccdf_check_import * | item | ) |

## ◆ xccdf_check_import_get_content()

const char * xccdf_check_import_get_content | ( | const struct xccdf_check_import * | item | ) |

## ◆ xccdf_check_import_get_name()

const char * xccdf_check_import_get_name | ( | const struct xccdf_check_import * | item | ) |

## ◆ xccdf_check_import_get_xpath()

const char * xccdf_check_import_get_xpath | ( | const struct xccdf_check_import * | item | ) |

## ◆ xccdf_check_import_iterator_remove()

void xccdf_check_import_iterator_remove | ( | struct xccdf_check_import_iterator * | it | ) |

## ◆ xccdf_check_import_new()

struct xccdf_check_import * xccdf_check_import_new | ( | void |  | ) |

## ◆ xccdf_check_import_set_content()

bool xccdf_check_import_set_content | ( | struct xccdf_check_import * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_check_import_set_name()

bool xccdf_check_import_set_name | ( | struct xccdf_check_import * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_check_import_set_xpath()

bool xccdf_check_import_set_xpath | ( | struct xccdf_check_import * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_check_iterator_remove()

void xccdf_check_iterator_remove | ( | struct xccdf_check_iterator * | it | ) |

## ◆ xccdf_check_new()

struct xccdf_check * xccdf_check_new | ( | void |  | ) |

## ◆ xccdf_check_set_content()

bool xccdf_check_set_content | ( | struct xccdf_check * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_check_set_id()

bool xccdf_check_set_id | ( | struct xccdf_check * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_check_set_multicheck()

bool xccdf_check_set_multicheck | ( | struct xccdf_check * | obj,
|  | bool | newval
| ) |  |

## ◆ xccdf_check_set_negate()

bool xccdf_check_set_negate | ( | struct xccdf_check * | obj,
|  | bool | newval
| ) |  |

## ◆ xccdf_check_set_oper()

bool xccdf_check_set_oper | ( | struct xccdf_check * | obj,
|  | xccdf_bool_operator_t | newval
| ) |  |

## ◆ xccdf_check_set_selector()

bool xccdf_check_set_selector | ( | struct xccdf_check * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_check_set_system()

bool xccdf_check_set_system | ( | struct xccdf_check * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_cleanup()

void xccdf_cleanup | ( | void |  | ) |

Release library internal caches.

Deprecated:
  Use oscap_cleanup() instead.

## ◆ xccdf_detect_version()

char * xccdf_detect_version | ( | const char * | file | ) |

Starts parsing given XCCDF benchmark file to detect its version, stops as soon as the version is found.

Returned string should be freed by caller. Return NULL if error occur.

Deprecated:
  This function has been deprecated by oscap_source_get_schema_version. This function may be dropped from later versions of the library.

## ◆ xccdf_fix_clone()

struct xccdf_fix * xccdf_fix_clone | ( | const struct xccdf_fix * | old_fix | ) |

## ◆ xccdf_fix_free()

void xccdf_fix_free | ( | struct xccdf_fix * | item | ) |

## ◆ xccdf_fix_get_complexity()

xccdf_level_t xccdf_fix_get_complexity | ( | const struct xccdf_fix * | fix | ) |

## ◆ xccdf_fix_get_content()

const char * xccdf_fix_get_content | ( | const struct xccdf_fix * | fix | ) |

## ◆ xccdf_fix_get_disruption()

xccdf_level_t xccdf_fix_get_disruption | ( | const struct xccdf_fix * | fix | ) |

## ◆ xccdf_fix_get_id()

const char * xccdf_fix_get_id | ( | const struct xccdf_fix * | fix | ) |

## ◆ xccdf_fix_get_platform()

const char * xccdf_fix_get_platform | ( | const struct xccdf_fix * | fix | ) |

## ◆ xccdf_fix_get_reboot()

bool xccdf_fix_get_reboot | ( | const struct xccdf_fix * | fix | ) |

## ◆ xccdf_fix_get_strategy()

xccdf_strategy_t xccdf_fix_get_strategy | ( | const struct xccdf_fix * | fix | ) |

## ◆ xccdf_fix_get_system()

const char * xccdf_fix_get_system | ( | const struct xccdf_fix * | fix | ) |

## ◆ xccdf_fix_iterator_remove()

void xccdf_fix_iterator_remove | ( | struct xccdf_fix_iterator * | it | ) |

## ◆ xccdf_fix_new()

struct xccdf_fix * xccdf_fix_new | ( | void |  | ) |

## ◆ xccdf_fix_set_complexity()

bool xccdf_fix_set_complexity | ( | struct xccdf_fix * | obj,
|  | xccdf_level_t | newval
| ) |  |

## ◆ xccdf_fix_set_content()

bool xccdf_fix_set_content | ( | struct xccdf_fix * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_fix_set_disruption()

bool xccdf_fix_set_disruption | ( | struct xccdf_fix * | obj,
|  | xccdf_level_t | newval
| ) |  |

## ◆ xccdf_fix_set_id()

bool xccdf_fix_set_id | ( | struct xccdf_fix * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_fix_set_platform()

bool xccdf_fix_set_platform | ( | struct xccdf_fix * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_fix_set_reboot()

bool xccdf_fix_set_reboot | ( | struct xccdf_fix * | obj,
|  | bool | newval
| ) |  |

## ◆ xccdf_fix_set_strategy()

bool xccdf_fix_set_strategy | ( | struct xccdf_fix * | obj,
|  | xccdf_strategy_t | newval
| ) |  |

## ◆ xccdf_fix_set_system()

bool xccdf_fix_set_system | ( | struct xccdf_fix * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_fixtext_clone()

struct xccdf_fixtext * xccdf_fixtext_clone | ( | const struct xccdf_fixtext * | fixtext | ) |

## ◆ xccdf_fixtext_free()

void xccdf_fixtext_free | ( | struct xccdf_fixtext * | item | ) |

## ◆ xccdf_fixtext_get_complexity()

xccdf_level_t xccdf_fixtext_get_complexity | ( | const struct xccdf_fixtext * | fixtext | ) |

## ◆ xccdf_fixtext_get_disruption()

xccdf_level_t xccdf_fixtext_get_disruption | ( | const struct xccdf_fixtext * | fixtext | ) |

## ◆ xccdf_fixtext_get_fixref()

const char * xccdf_fixtext_get_fixref | ( | const struct xccdf_fixtext * | fixtext | ) |

## ◆ xccdf_fixtext_get_reboot()

bool xccdf_fixtext_get_reboot | ( | const struct xccdf_fixtext * | fixtext | ) |

## ◆ xccdf_fixtext_get_strategy()

xccdf_strategy_t xccdf_fixtext_get_strategy | ( | const struct xccdf_fixtext * | fixtext | ) |

## ◆ xccdf_fixtext_get_text()

struct oscap_text * xccdf_fixtext_get_text | ( | const struct xccdf_fixtext * | fixtext | ) |

## ◆ xccdf_fixtext_iterator_remove()

void xccdf_fixtext_iterator_remove | ( | struct xccdf_fixtext_iterator * | it | ) |

## ◆ xccdf_fixtext_new()

struct xccdf_fixtext * xccdf_fixtext_new | ( | void |  | ) |

## ◆ xccdf_fixtext_set_complexity()

bool xccdf_fixtext_set_complexity | ( | struct xccdf_fixtext * | obj,
|  | xccdf_level_t | newval
| ) |  |

## ◆ xccdf_fixtext_set_disruption()

bool xccdf_fixtext_set_disruption | ( | struct xccdf_fixtext * | obj,
|  | xccdf_level_t | newval
| ) |  |

## ◆ xccdf_fixtext_set_fixref()

bool xccdf_fixtext_set_fixref | ( | struct xccdf_fixtext * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_fixtext_set_reboot()

bool xccdf_fixtext_set_reboot | ( | struct xccdf_fixtext * | obj,
|  | bool | newval
| ) |  |

## ◆ xccdf_fixtext_set_strategy()

bool xccdf_fixtext_set_strategy | ( | struct xccdf_fixtext * | obj,
|  | xccdf_strategy_t | newval
| ) |  |

## ◆ xccdf_fixtext_set_text()

bool xccdf_fixtext_set_text | ( | struct xccdf_fixtext * | obj,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_group_add_conflicts()

bool xccdf_group_add_conflicts | ( | struct xccdf_group * | group,
|  | const char * | conflicts
| ) |  |

## ◆ xccdf_group_add_content()

bool xccdf_group_add_content | ( | struct xccdf_group * | rule,
|  | struct xccdf_item * | item
| ) |  |

## ◆ xccdf_group_add_dc_status()

bool xccdf_group_add_dc_status | ( | struct xccdf_group * | item,
|  | struct oscap_reference * | newval
| ) |  |

## ◆ xccdf_group_add_description()

bool xccdf_group_add_description | ( | struct xccdf_group * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_group_add_group()

bool xccdf_group_add_group | ( | struct xccdf_group * | group,
|  | struct xccdf_group * | item
| ) |  |

## ◆ xccdf_group_add_metadata()

bool xccdf_group_add_metadata | ( | struct xccdf_group * | item,
|  | const char * | metadata
| ) |  |

## ◆ xccdf_group_add_platform()

bool xccdf_group_add_platform | ( | struct xccdf_group * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_group_add_question()

bool xccdf_group_add_question | ( | struct xccdf_group * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_group_add_rationale()

bool xccdf_group_add_rationale | ( | struct xccdf_group * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_group_add_reference()

bool xccdf_group_add_reference | ( | struct xccdf_group * | item,
|  | struct oscap_reference * | newval
| ) |  |

## ◆ xccdf_group_add_requires()

bool xccdf_group_add_requires | ( | struct xccdf_group * | group,
|  | struct oscap_stringlist * | requires
| ) |  |

## ◆ xccdf_group_add_rule()

bool xccdf_group_add_rule | ( | struct xccdf_group * | group,
|  | struct xccdf_rule * | item
| ) |  |

## ◆ xccdf_group_add_status()

bool xccdf_group_add_status | ( | struct xccdf_group * | item,
|  | struct xccdf_status * | newval
| ) |  |

## ◆ xccdf_group_add_title()

bool xccdf_group_add_title | ( | struct xccdf_group * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_group_add_value()

bool xccdf_group_add_value | ( | struct xccdf_group * | group,
|  | struct xccdf_value * | item
| ) |  |

## ◆ xccdf_group_add_warning()

bool xccdf_group_add_warning | ( | struct xccdf_group * | item,
|  | struct xccdf_warning * | newval
| ) |  |

## ◆ xccdf_group_clone()

struct xccdf_group * xccdf_group_clone | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_free()

void xccdf_group_free | ( | struct xccdf_item * | group | ) |

## ◆ xccdf_group_get_abstract()

bool xccdf_group_get_abstract | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_benchmark()

struct xccdf_benchmark * xccdf_group_get_benchmark | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_cluster_id()

const char * xccdf_group_get_cluster_id | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_conflicts()

struct oscap_string_iterator * xccdf_group_get_conflicts | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_content()

struct xccdf_item_iterator * xccdf_group_get_content | ( | const struct xccdf_group * | group | ) |

Get an iterator to the group content.

The items are either groups or rules.

See also
  xccdf_rule
  xccdf_group
  xccdf_item

## ◆ xccdf_group_get_dc_statuses()

struct oscap_reference_iterator * xccdf_group_get_dc_statuses | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_description()

struct oscap_text_iterator * xccdf_group_get_description | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_extends()

const char * xccdf_group_get_extends | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_hidden()

bool xccdf_group_get_hidden | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_id()

const char * xccdf_group_get_id | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_metadata()

struct oscap_string_iterator * xccdf_group_get_metadata | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_platforms()

struct oscap_string_iterator * xccdf_group_get_platforms | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_prohibit_changes()

bool xccdf_group_get_prohibit_changes | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_question()

struct oscap_text_iterator * xccdf_group_get_question | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_rationale()

struct oscap_text_iterator * xccdf_group_get_rationale | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_references()

struct oscap_reference_iterator * xccdf_group_get_references | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_requires()

struct oscap_stringlist_iterator * xccdf_group_get_requires | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_selected()

bool xccdf_group_get_selected | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_status_current()

struct xccdf_status * xccdf_group_get_status_current | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_statuses()

struct xccdf_status_iterator * xccdf_group_get_statuses | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_title()

struct oscap_text_iterator * xccdf_group_get_title | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_values()

struct xccdf_value_iterator * xccdf_group_get_values | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_version()

const char * xccdf_group_get_version | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_version_time()

const char * xccdf_group_get_version_time | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_version_update()

const char * xccdf_group_get_version_update | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_warnings()

struct xccdf_warning_iterator * xccdf_group_get_warnings | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_get_weight()

float xccdf_group_get_weight | ( | const struct xccdf_group * | group | ) |

## ◆ xccdf_group_new()

struct xccdf_group * xccdf_group_new | ( | void |  | ) |

## ◆ xccdf_group_set_abstract()

bool xccdf_group_set_abstract | ( | struct xccdf_group * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_group_set_cluster_id()

bool xccdf_group_set_cluster_id | ( | struct xccdf_group * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_group_set_extends()

bool xccdf_group_set_extends | ( | struct xccdf_group * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_group_set_hidden()

bool xccdf_group_set_hidden | ( | struct xccdf_group * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_group_set_id()

bool xccdf_group_set_id | ( | struct xccdf_group * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_group_set_prohibit_changes()

bool xccdf_group_set_prohibit_changes | ( | struct xccdf_group * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_group_set_selected()

bool xccdf_group_set_selected | ( | struct xccdf_group * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_group_set_version()

bool xccdf_group_set_version | ( | struct xccdf_group * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_group_set_version_time()

bool xccdf_group_set_version_time | ( | struct xccdf_group * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_group_set_version_update()

bool xccdf_group_set_version_update | ( | struct xccdf_group * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_group_set_weight()

bool xccdf_group_set_weight | ( | struct xccdf_group * | item,
|  | xccdf_numeric | newval
| ) |  |

## ◆ xccdf_group_to_item()

struct xccdf_item * xccdf_group_to_item | ( | struct xccdf_group * | item | ) |

## ◆ xccdf_ident_clone()

struct xccdf_ident * xccdf_ident_clone | ( | const struct xccdf_ident * | ident | ) |

## ◆ xccdf_ident_free()

void xccdf_ident_free | ( | struct xccdf_ident * | ident | ) |

## ◆ xccdf_ident_get_id()

const char * xccdf_ident_get_id | ( | const struct xccdf_ident * | ident | ) |

## ◆ xccdf_ident_get_system()

const char * xccdf_ident_get_system | ( | const struct xccdf_ident * | ident | ) |

## ◆ xccdf_ident_iterator_remove()

void xccdf_ident_iterator_remove | ( | struct xccdf_ident_iterator * | it | ) |

## ◆ xccdf_ident_new()

struct xccdf_ident * xccdf_ident_new | ( | void |  | ) |

## ◆ xccdf_ident_new_fill()

struct xccdf_ident * xccdf_ident_new_fill | ( | const char * | id,
|  | const char * | sys
| ) |  |

## ◆ xccdf_identity_clone()

struct xccdf_identity * xccdf_identity_clone | ( | const struct xccdf_identity * | identity | ) |

## ◆ xccdf_identity_free()

void xccdf_identity_free | ( | struct xccdf_identity * | identity | ) |

## ◆ xccdf_identity_get_authenticated()

bool xccdf_identity_get_authenticated | ( | const struct xccdf_identity * | item | ) |

## ◆ xccdf_identity_get_name()

const char * xccdf_identity_get_name | ( | const struct xccdf_identity * | item | ) |

## ◆ xccdf_identity_get_privileged()

bool xccdf_identity_get_privileged | ( | const struct xccdf_identity * | item | ) |

## ◆ xccdf_identity_iterator_remove()

void xccdf_identity_iterator_remove | ( | struct xccdf_identity_iterator * | it | ) |

## ◆ xccdf_identity_new()

struct xccdf_identity * xccdf_identity_new | ( | void |  | ) |

## ◆ xccdf_identity_set_authenticated()

bool xccdf_identity_set_authenticated | ( | struct xccdf_identity * | obj,
|  | bool | newval
| ) |  |

## ◆ xccdf_identity_set_name()

bool xccdf_identity_set_name | ( | struct xccdf_identity * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_identity_set_privileged()

bool xccdf_identity_set_privileged | ( | struct xccdf_identity * | obj,
|  | bool | newval
| ) |  |

## ◆ xccdf_instance_clone()

struct xccdf_instance * xccdf_instance_clone | ( | const struct xccdf_instance * | instance | ) |

## ◆ xccdf_instance_free()

void xccdf_instance_free | ( | struct xccdf_instance * | inst | ) |

## ◆ xccdf_instance_get_content()

const char * xccdf_instance_get_content | ( | const struct xccdf_instance * | item | ) |

## ◆ xccdf_instance_get_context()

const char * xccdf_instance_get_context | ( | const struct xccdf_instance * | item | ) |

## ◆ xccdf_instance_get_parent_context()

const char * xccdf_instance_get_parent_context | ( | const struct xccdf_instance * | item | ) |

## ◆ xccdf_instance_iterator_remove()

void xccdf_instance_iterator_remove | ( | struct xccdf_instance_iterator * | it | ) |

## ◆ xccdf_instance_new()

struct xccdf_instance * xccdf_instance_new | ( | void |  | ) |

## ◆ xccdf_instance_set_content()

bool xccdf_instance_set_content | ( | struct xccdf_instance * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_instance_set_context()

bool xccdf_instance_set_context | ( | struct xccdf_instance * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_instance_set_parent_context()

bool xccdf_instance_set_parent_context | ( | struct xccdf_instance * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_item_add_conflicts()

bool xccdf_item_add_conflicts | ( | struct xccdf_item * | item,
|  | const char * | conflicts
| ) |  |

## ◆ xccdf_item_add_dc_status()

bool xccdf_item_add_dc_status | ( | struct xccdf_item * | item,
|  | struct oscap_reference * | newval
| ) |  |

## ◆ xccdf_item_add_description()

bool xccdf_item_add_description | ( | struct xccdf_item * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_item_add_metadata()

bool xccdf_item_add_metadata | ( | struct xccdf_item * | item,
|  | const char * | metadata
| ) |  |

## ◆ xccdf_item_add_platform()

bool xccdf_item_add_platform | ( | struct xccdf_item * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_item_add_question()

bool xccdf_item_add_question | ( | struct xccdf_item * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_item_add_rationale()

bool xccdf_item_add_rationale | ( | struct xccdf_item * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_item_add_reference()

bool xccdf_item_add_reference | ( | struct xccdf_item * | item,
|  | struct oscap_reference * | newval
| ) |  |

## ◆ xccdf_item_add_requires()

bool xccdf_item_add_requires | ( | struct xccdf_item * | item,
|  | struct oscap_stringlist * | requires
| ) |  |

## ◆ xccdf_item_add_status()

bool xccdf_item_add_status | ( | struct xccdf_item * | item,
|  | struct xccdf_status * | newval
| ) |  |

## ◆ xccdf_item_add_title()

bool xccdf_item_add_title | ( | struct xccdf_item * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_item_add_warning()

bool xccdf_item_add_warning | ( | struct xccdf_item * | item,
|  | struct xccdf_warning * | newval
| ) |  |

## ◆ xccdf_item_clone()

struct xccdf_item * xccdf_item_clone | ( | const struct xccdf_item * | old_item | ) |

## ◆ xccdf_item_free()

void xccdf_item_free | ( | struct xccdf_item * | item | ) |

## ◆ xccdf_item_get_benchmark()

struct xccdf_benchmark * xccdf_item_get_benchmark | ( | const struct xccdf_item * | item | ) |

## ◆ xccdf_item_get_cluster_id()

const char * xccdf_item_get_cluster_id | ( | const struct xccdf_item * | item | ) |

## ◆ xccdf_item_get_parent()

struct xccdf_item * xccdf_item_get_parent | ( | const struct xccdf_item * | item | ) |

Return item's parent in the grouping hierarchy.

Returned item will be either a group or a benchmark.

## ◆ xccdf_item_get_platforms()

struct oscap_string_iterator * xccdf_item_get_platforms | ( | const struct xccdf_item * | item | ) |

## ◆ xccdf_item_get_question()

struct oscap_text_iterator * xccdf_item_get_question | ( | const struct xccdf_item * | item | ) |

## ◆ xccdf_item_get_rationale()

struct oscap_text_iterator * xccdf_item_get_rationale | ( | const struct xccdf_item * | item | ) |

## ◆ xccdf_item_get_schema_version()

const struct xccdf_version_info * xccdf_item_get_schema_version | ( | struct xccdf_item * | item | ) |

Retrieves the XCCDF version of top-level benchmark item.

This is the version we use to determine how to process the item. Valid return values include "1.1.4", "1.2". You can use strverscmp to compare versions if you need to. Don't deallocate the returned buffer!

## ◆ xccdf_item_get_version_time()

const char * xccdf_item_get_version_time | ( | const struct xccdf_item * | item | ) |

## ◆ xccdf_item_get_version_update()

const char * xccdf_item_get_version_update | ( | const struct xccdf_item * | item | ) |

## ◆ xccdf_item_get_warnings()

struct xccdf_warning_iterator * xccdf_item_get_warnings | ( | const struct xccdf_item * | item | ) |

## ◆ xccdf_item_get_weight()

float xccdf_item_get_weight | ( | const struct xccdf_item * | item | ) |

## ◆ xccdf_item_iterator_remove()

void xccdf_item_iterator_remove | ( | struct xccdf_item_iterator * | it | ) |

## ◆ xccdf_item_set_abstract()

bool xccdf_item_set_abstract | ( | struct xccdf_item * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_item_set_cluster_id()

bool xccdf_item_set_cluster_id | ( | struct xccdf_item * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_item_set_extends()

bool xccdf_item_set_extends | ( | struct xccdf_item * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_item_set_hidden()

bool xccdf_item_set_hidden | ( | struct xccdf_item * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_item_set_id()

bool xccdf_item_set_id | ( | struct xccdf_item * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_item_set_prohibit_changes()

bool xccdf_item_set_prohibit_changes | ( | struct xccdf_item * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_item_set_selected()

bool xccdf_item_set_selected | ( | struct xccdf_item * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_item_set_version()

bool xccdf_item_set_version | ( | struct xccdf_item * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_item_set_version_time()

bool xccdf_item_set_version_time | ( | struct xccdf_item * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_item_set_version_update()

bool xccdf_item_set_version_update | ( | struct xccdf_item * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_item_set_weight()

bool xccdf_item_set_weight | ( | struct xccdf_item * | item,
|  | xccdf_numeric | newval
| ) |  |

## ◆ xccdf_item_to_benchmark()

struct xccdf_benchmark * xccdf_item_to_benchmark | ( | struct xccdf_item * | item | ) |

Convert the item to a benchmark.

Returns
  Pointer to this item as the benchmark.

Return values

  NULL | on faliure (e.g. item is not a benchmark)

## ◆ xccdf_item_to_group()

struct xccdf_group * xccdf_item_to_group | ( | struct xccdf_item * | item | ) |

Convert the item to a group.

Returns
  Pointer to this item as the group.

Return values

  NULL | on faliure (e.g. item is not a group)

## ◆ xccdf_item_to_profile()

struct xccdf_profile * xccdf_item_to_profile | ( | struct xccdf_item * | item | ) |

Convert the item to a profile.

Returns
  Pointer to this item as the profile.

Return values

  NULL | on faliure (e.g. item is not a profile)

## ◆ xccdf_item_to_result()

struct xccdf_result * xccdf_item_to_result | ( | struct xccdf_item * | item | ) |

Convert the item to a test result.

Returns
  Pointer to this item as the test result.

Return values

  NULL | on faliure (e.g. item is not a test result)

## ◆ xccdf_item_to_rule()

struct xccdf_rule * xccdf_item_to_rule | ( | struct xccdf_item * | item | ) |

Convert the item to a rule.

Returns
  Pointer to this item as the rule.

Return values

  NULL | on faliure (e.g. item is not a rule)

## ◆ xccdf_item_to_value()

struct xccdf_value * xccdf_item_to_value | ( | struct xccdf_item * | item | ) |

Convert the item to a value.

Returns
  Pointer to this item as the value.

Return values

  NULL | on faliure (e.g. item is not a value)

## ◆ xccdf_message_clone()

struct xccdf_message * xccdf_message_clone | ( | const struct xccdf_message * | message | ) |

## ◆ xccdf_message_free()

void xccdf_message_free | ( | struct xccdf_message * | msg | ) |

## ◆ xccdf_message_get_content()

const char * xccdf_message_get_content | ( | const struct xccdf_message * | item | ) |

## ◆ xccdf_message_get_severity()

xccdf_message_severity_t xccdf_message_get_severity | ( | const struct xccdf_message * | item | ) |

## ◆ xccdf_message_iterator_remove()

void xccdf_message_iterator_remove | ( | struct xccdf_message_iterator * | it | ) |

## ◆ xccdf_message_new()

struct xccdf_message * xccdf_message_new | ( | void |  | ) |

## ◆ xccdf_message_set_content()

bool xccdf_message_set_content | ( | struct xccdf_message * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_message_set_severity()

bool xccdf_message_set_severity | ( | struct xccdf_message * | obj,
|  | xccdf_message_severity_t | newval
| ) |  |

## ◆ xccdf_model_clone()

struct xccdf_model * xccdf_model_clone | ( | const struct xccdf_model * | old_model | ) |

## ◆ xccdf_model_free()

void xccdf_model_free | ( | struct xccdf_model * | model | ) |

## ◆ xccdf_model_get_system()

const char * xccdf_model_get_system | ( | const struct xccdf_model * | model | ) |

## ◆ xccdf_model_iterator_remove()

void xccdf_model_iterator_remove | ( | struct xccdf_model_iterator * | it | ) |

## ◆ xccdf_model_new()

struct xccdf_model * xccdf_model_new | ( | void |  | ) |

## ◆ xccdf_model_set_system()

bool xccdf_model_set_system | ( | struct xccdf_model * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_notice_clone()

struct xccdf_notice * xccdf_notice_clone | ( | const struct xccdf_notice * | notice | ) |

## ◆ xccdf_notice_free()

void xccdf_notice_free | ( | struct xccdf_notice * | notice | ) |

## ◆ xccdf_notice_get_id()

const char * xccdf_notice_get_id | ( | const struct xccdf_notice * | notice | ) |

## ◆ xccdf_notice_get_text()

struct oscap_text * xccdf_notice_get_text | ( | const struct xccdf_notice * | notice | ) |

## ◆ xccdf_notice_iterator_remove()

void xccdf_notice_iterator_remove | ( | struct xccdf_notice_iterator * | it | ) |

## ◆ xccdf_notice_new()

struct xccdf_notice * xccdf_notice_new | ( | void |  | ) |

## ◆ xccdf_notice_set_id()

bool xccdf_notice_set_id | ( | struct xccdf_notice * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_notice_set_text()

bool xccdf_notice_set_text | ( | struct xccdf_notice * | obj,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_override_clone()

struct xccdf_override * xccdf_override_clone | ( | const struct xccdf_override * | override | ) |

## ◆ xccdf_override_free()

void xccdf_override_free | ( | struct xccdf_override * | oride | ) |

## ◆ xccdf_override_get_authority()

const char * xccdf_override_get_authority | ( | const struct xccdf_override * | item | ) |

## ◆ xccdf_override_get_new_result()

xccdf_test_result_type_t xccdf_override_get_new_result | ( | const struct xccdf_override * | item | ) |

## ◆ xccdf_override_get_old_result()

xccdf_test_result_type_t xccdf_override_get_old_result | ( | const struct xccdf_override * | item | ) |

## ◆ xccdf_override_get_remark()

struct oscap_text * xccdf_override_get_remark | ( | const struct xccdf_override * | item | ) |

## ◆ xccdf_override_get_time()

const char * xccdf_override_get_time | ( | const struct xccdf_override * | item | ) |

## ◆ xccdf_override_iterator_remove()

void xccdf_override_iterator_remove | ( | struct xccdf_override_iterator * | it | ) |

## ◆ xccdf_override_new()

struct xccdf_override * xccdf_override_new | ( | void |  | ) |

## ◆ xccdf_override_set_authority()

bool xccdf_override_set_authority | ( | struct xccdf_override * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_override_set_new_result()

bool xccdf_override_set_new_result | ( | struct xccdf_override * | obj,
|  | xccdf_test_result_type_t | newval
| ) |  |

## ◆ xccdf_override_set_old_result()

bool xccdf_override_set_old_result | ( | struct xccdf_override * | obj,
|  | xccdf_test_result_type_t | newval
| ) |  |

## ◆ xccdf_override_set_remark()

bool xccdf_override_set_remark | ( | struct xccdf_override * | obj,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_override_set_time()

bool xccdf_override_set_time | ( | struct xccdf_override * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_plain_text_clone()

struct xccdf_plain_text * xccdf_plain_text_clone | ( | const struct xccdf_plain_text * | pt | ) |

## ◆ xccdf_plain_text_free()

void xccdf_plain_text_free | ( | struct xccdf_plain_text * | plain | ) |

## ◆ xccdf_plain_text_get_id()

const char * xccdf_plain_text_get_id | ( | const struct xccdf_plain_text * | item | ) |

## ◆ xccdf_plain_text_get_text()

const char * xccdf_plain_text_get_text | ( | const struct xccdf_plain_text * | item | ) |

## ◆ xccdf_plain_text_iterator_remove()

void xccdf_plain_text_iterator_remove | ( | struct xccdf_plain_text_iterator * | it | ) |

## ◆ xccdf_plain_text_new()

struct xccdf_plain_text * xccdf_plain_text_new | ( | void |  | ) |

## ◆ xccdf_plain_text_new_fill()

struct xccdf_plain_text * xccdf_plain_text_new_fill | ( | const char * | id,
|  | const char * | text
| ) |  |

## ◆ xccdf_plain_text_set_id()

bool xccdf_plain_text_set_id | ( | struct xccdf_plain_text * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_plain_text_set_text()

bool xccdf_plain_text_set_text | ( | struct xccdf_plain_text * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_profile_add_dc_status()

bool xccdf_profile_add_dc_status | ( | struct xccdf_profile * | item,
|  | struct oscap_reference * | newval
| ) |  |

## ◆ xccdf_profile_add_description()

bool xccdf_profile_add_description | ( | struct xccdf_profile * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_profile_add_metadata()

bool xccdf_profile_add_metadata | ( | struct xccdf_profile * | item,
|  | const char * | metadata
| ) |  |

## ◆ xccdf_profile_add_platform()

bool xccdf_profile_add_platform | ( | struct xccdf_profile * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_profile_add_reference()

bool xccdf_profile_add_reference | ( | struct xccdf_profile * | item,
|  | struct oscap_reference * | newval
| ) |  |

## ◆ xccdf_profile_add_refine_rule()

bool xccdf_profile_add_refine_rule | ( | struct xccdf_profile * | item,
|  | struct xccdf_refine_rule * | newval
| ) |  |

## ◆ xccdf_profile_add_refine_value()

bool xccdf_profile_add_refine_value | ( | struct xccdf_profile * | item,
|  | struct xccdf_refine_value * | newval
| ) |  |

## ◆ xccdf_profile_add_select()

bool xccdf_profile_add_select | ( | struct xccdf_profile * | item,
|  | struct xccdf_select * | newval
| ) |  |

## ◆ xccdf_profile_add_setvalue()

bool xccdf_profile_add_setvalue | ( | struct xccdf_profile * | item,
|  | struct xccdf_setvalue * | newval
| ) |  |

## ◆ xccdf_profile_add_status()

bool xccdf_profile_add_status | ( | struct xccdf_profile * | item,
|  | struct xccdf_status * | newval
| ) |  |

## ◆ xccdf_profile_add_title()

bool xccdf_profile_add_title | ( | struct xccdf_profile * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_profile_clone()

struct xccdf_profile * xccdf_profile_clone | ( | const struct xccdf_profile * | profile | ) |

## ◆ xccdf_profile_free()

void xccdf_profile_free | ( | struct xccdf_item * | prof | ) |

## ◆ xccdf_profile_get_note_tag()

const char * xccdf_profile_get_note_tag | ( | const struct xccdf_profile * | profile | ) |

## ◆ xccdf_profile_get_tailoring()

bool xccdf_profile_get_tailoring | ( | const struct xccdf_profile * | profile | ) |

## ◆ xccdf_profile_get_version_time()

const char * xccdf_profile_get_version_time | ( | const struct xccdf_profile * | profile | ) |

## ◆ xccdf_profile_get_version_update()

const char * xccdf_profile_get_version_update | ( | const struct xccdf_profile * | profile | ) |

## ◆ xccdf_profile_iterator_remove()

void xccdf_profile_iterator_remove | ( | struct xccdf_profile_iterator * | it | ) |

## ◆ xccdf_profile_new()

struct xccdf_profile * xccdf_profile_new | ( | void |  | ) |

## ◆ xccdf_profile_note_free()

void xccdf_profile_note_free | ( | struct xccdf_profile_note * | note | ) |

## ◆ xccdf_profile_note_get_reftag()

const char * xccdf_profile_note_get_reftag | ( | const struct xccdf_profile_note * | note | ) |

## ◆ xccdf_profile_note_get_text()

struct oscap_text * xccdf_profile_note_get_text | ( | const struct xccdf_profile_note * | note | ) |

## ◆ xccdf_profile_note_iterator_remove()

void xccdf_profile_note_iterator_remove | ( | struct xccdf_profile_note_iterator * | it | ) |

## ◆ xccdf_profile_note_new()

struct xccdf_profile_note * xccdf_profile_note_new | ( | void |  | ) |

## ◆ xccdf_profile_note_set_reftag()

bool xccdf_profile_note_set_reftag | ( | struct xccdf_profile_note * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_profile_note_set_text()

bool xccdf_profile_note_set_text | ( | struct xccdf_profile_note * | obj,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_profile_set_abstract()

bool xccdf_profile_set_abstract | ( | struct xccdf_profile * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_profile_set_extends()

bool xccdf_profile_set_extends | ( | struct xccdf_profile * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_profile_set_id()

bool xccdf_profile_set_id | ( | struct xccdf_profile * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_profile_set_note_tag()

bool xccdf_profile_set_note_tag | ( | struct xccdf_profile * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_profile_set_prohibit_changes()

bool xccdf_profile_set_prohibit_changes | ( | struct xccdf_profile * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_profile_set_tailoring()

bool xccdf_profile_set_tailoring | ( | struct xccdf_profile * | item,
|  | bool | tailoring
| ) |  |

## ◆ xccdf_profile_set_version()

bool xccdf_profile_set_version | ( | struct xccdf_profile * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_profile_set_version_time()

bool xccdf_profile_set_version_time | ( | struct xccdf_profile * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_profile_set_version_update()

bool xccdf_profile_set_version_update | ( | struct xccdf_profile * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_profile_to_item()

struct xccdf_item * xccdf_profile_to_item | ( | struct xccdf_profile * | item | ) |

## ◆ xccdf_refine_rule_add_remark()

bool xccdf_refine_rule_add_remark | ( | struct xccdf_refine_rule * | obj,
|  | struct oscap_text * | item
| ) |  |

## ◆ xccdf_refine_rule_clone()

struct xccdf_refine_rule * xccdf_refine_rule_clone | ( | const struct xccdf_refine_rule * | old_rule | ) |

## ◆ xccdf_refine_rule_free()

void xccdf_refine_rule_free | ( | struct xccdf_refine_rule * | obj | ) |

## ◆ xccdf_refine_rule_get_item()

const char * xccdf_refine_rule_get_item | ( | const struct xccdf_refine_rule * | rr | ) |

## ◆ xccdf_refine_rule_get_remarks()

struct oscap_text_iterator * xccdf_refine_rule_get_remarks | ( | const struct xccdf_refine_rule * | rr | ) |

## ◆ xccdf_refine_rule_get_role()

xccdf_role_t xccdf_refine_rule_get_role | ( | const struct xccdf_refine_rule * | rr | ) |

## ◆ xccdf_refine_rule_get_selector()

const char * xccdf_refine_rule_get_selector | ( | const struct xccdf_refine_rule * | rr | ) |

## ◆ xccdf_refine_rule_get_severity()

xccdf_level_t xccdf_refine_rule_get_severity | ( | const struct xccdf_refine_rule * | rr | ) |

## ◆ xccdf_refine_rule_get_weight()

xccdf_numeric xccdf_refine_rule_get_weight | ( | const struct xccdf_refine_rule * | item | ) |

## ◆ xccdf_refine_rule_iterator_remove()

void xccdf_refine_rule_iterator_remove | ( | struct xccdf_refine_rule_iterator * | it | ) |

## ◆ xccdf_refine_rule_new()

struct xccdf_refine_rule * xccdf_refine_rule_new | ( | void |  | ) |

## ◆ xccdf_refine_rule_set_item()

bool xccdf_refine_rule_set_item | ( | struct xccdf_refine_rule * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_refine_rule_set_role()

bool xccdf_refine_rule_set_role | ( | struct xccdf_refine_rule * | obj,
|  | xccdf_role_t | newval
| ) |  |

## ◆ xccdf_refine_rule_set_selector()

bool xccdf_refine_rule_set_selector | ( | struct xccdf_refine_rule * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_refine_rule_set_severity()

bool xccdf_refine_rule_set_severity | ( | struct xccdf_refine_rule * | obj,
|  | xccdf_level_t | newval
| ) |  |

## ◆ xccdf_refine_rule_set_weight()

bool xccdf_refine_rule_set_weight | ( | struct xccdf_refine_rule * | obj,
|  | xccdf_numeric | newval
| ) |  |

## ◆ xccdf_refine_rule_weight_defined()

bool xccdf_refine_rule_weight_defined | ( | const struct xccdf_refine_rule * | item | ) |

## ◆ xccdf_refine_value_add_remark()

bool xccdf_refine_value_add_remark | ( | struct xccdf_refine_value * | obj,
|  | struct oscap_text * | item
| ) |  |

## ◆ xccdf_refine_value_clone()

struct xccdf_refine_value * xccdf_refine_value_clone | ( | const struct xccdf_refine_value * | old_value | ) |

## ◆ xccdf_refine_value_free()

void xccdf_refine_value_free | ( | struct xccdf_refine_value * | rv | ) |

## ◆ xccdf_refine_value_get_item()

const char * xccdf_refine_value_get_item | ( | const struct xccdf_refine_value * | rv | ) |

## ◆ xccdf_refine_value_get_oper()

xccdf_operator_t xccdf_refine_value_get_oper | ( | const struct xccdf_refine_value * | rv | ) |

## ◆ xccdf_refine_value_get_remarks()

struct oscap_text_iterator * xccdf_refine_value_get_remarks | ( | const struct xccdf_refine_value * | rv | ) |

## ◆ xccdf_refine_value_get_selector()

const char * xccdf_refine_value_get_selector | ( | const struct xccdf_refine_value * | rv | ) |

## ◆ xccdf_refine_value_iterator_remove()

void xccdf_refine_value_iterator_remove | ( | struct xccdf_refine_value_iterator * | it | ) |

## ◆ xccdf_refine_value_new()

struct xccdf_refine_value * xccdf_refine_value_new | ( | void |  | ) |

## ◆ xccdf_refine_value_set_item()

bool xccdf_refine_value_set_item | ( | struct xccdf_refine_value * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_refine_value_set_oper()

bool xccdf_refine_value_set_oper | ( | struct xccdf_refine_value * | obj,
|  | xccdf_operator_t | newval
| ) |  |

## ◆ xccdf_refine_value_set_selector()

bool xccdf_refine_value_set_selector | ( | struct xccdf_refine_value * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_result_add_applicable_platform()

bool xccdf_result_add_applicable_platform | ( | struct xccdf_result * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_result_add_identity()

bool xccdf_result_add_identity | ( | struct xccdf_result * | item,
|  | struct xccdf_identity * | newval
| ) |  |

## ◆ xccdf_result_add_metadata()

bool xccdf_result_add_metadata | ( | struct xccdf_result * | item,
|  | const char * | metadata
| ) |  |

## ◆ xccdf_result_add_organization()

bool xccdf_result_add_organization | ( | struct xccdf_result * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_result_add_remark()

bool xccdf_result_add_remark | ( | struct xccdf_result * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_result_add_rule_result()

bool xccdf_result_add_rule_result | ( | struct xccdf_result * | item,
|  | struct xccdf_rule_result * | newval
| ) |  |

## ◆ xccdf_result_add_score()

bool xccdf_result_add_score | ( | struct xccdf_result * | item,
|  | struct xccdf_score * | newval
| ) |  |

## ◆ xccdf_result_add_setvalue()

bool xccdf_result_add_setvalue | ( | struct xccdf_result * | item,
|  | struct xccdf_setvalue * | newval
| ) |  |

## ◆ xccdf_result_add_target()

bool xccdf_result_add_target | ( | struct xccdf_result * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_result_add_target_address()

bool xccdf_result_add_target_address | ( | struct xccdf_result * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_result_add_target_fact()

bool xccdf_result_add_target_fact | ( | struct xccdf_result * | item,
|  | struct xccdf_target_fact * | newval
| ) |  |

## ◆ xccdf_result_add_target_identifier()

bool xccdf_result_add_target_identifier | ( | struct xccdf_result * | item,
|  | struct xccdf_target_identifier * | newval
| ) |  |

## ◆ xccdf_result_add_title()

bool xccdf_result_add_title | ( | struct xccdf_result * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_result_clone()

struct xccdf_result * xccdf_result_clone | ( | const struct xccdf_result * | result | ) |

## ◆ xccdf_result_export()

int xccdf_result_export | ( | struct xccdf_result * | result,
|  | const char * | file
| ) |  |

Export a TestResult to an XML stream.

Returns
  Integer

Return values

  -1 | if error occurred

Deprecated:
  This function has been deprecated by xccdf_benchmark_export_source. This function may be dropped from later versions of the library.

## ◆ xccdf_result_export_source()

struct oscap_source * xccdf_result_export_source | ( | struct xccdf_result * | result,
|  | const char * | filepath
| ) |  |

Export TestResult to oscap_source structure.

Returns
  newly created oscap_source or NULL on error

## ◆ xccdf_result_free()

void xccdf_result_free | ( | struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_applicable_platforms()

struct oscap_string_iterator * xccdf_result_get_applicable_platforms | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_benchmark()

struct xccdf_benchmark * xccdf_result_get_benchmark | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_benchmark_uri()

const char * xccdf_result_get_benchmark_uri | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_end_time()

const char * xccdf_result_get_end_time | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_id()

const char * xccdf_result_get_id | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_identities()

struct xccdf_identity_iterator * xccdf_result_get_identities | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_metadata()

struct oscap_string_iterator * xccdf_result_get_metadata | ( | const struct xccdf_result * | result | ) |

## ◆ xccdf_result_get_organizations()

struct oscap_string_iterator * xccdf_result_get_organizations | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_platforms()

struct oscap_string_iterator * xccdf_result_get_platforms | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_profile()

const char * xccdf_result_get_profile | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_remarks()

struct oscap_text_iterator * xccdf_result_get_remarks | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_rule_results()

struct xccdf_rule_result_iterator * xccdf_result_get_rule_results | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_scores()

struct xccdf_score_iterator * xccdf_result_get_scores | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_setvalues()

struct xccdf_setvalue_iterator * xccdf_result_get_setvalues | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_start_time()

const char * xccdf_result_get_start_time | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_statuses()

struct xccdf_status_iterator * xccdf_result_get_statuses | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_target_addresses()

struct oscap_string_iterator * xccdf_result_get_target_addresses | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_target_facts()

struct xccdf_target_fact_iterator * xccdf_result_get_target_facts | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_target_id_refs()

struct xccdf_target_identifier_iterator * xccdf_result_get_target_id_refs | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_targets()

struct oscap_string_iterator * xccdf_result_get_targets | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_test_system()

const char * xccdf_result_get_test_system | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_title()

struct oscap_text_iterator * xccdf_result_get_title | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_get_version()

const char * xccdf_result_get_version | ( | const struct xccdf_result * | item | ) |

## ◆ xccdf_result_import_source()

struct xccdf_result * xccdf_result_import_source | ( | struct oscap_source * | source | ) |

Import the content of oscap_source into a xccdf_result.

Parameters

  source | The oscap_source to import from

Returns
  newly created test-result element or NULL on error

## ◆ xccdf_result_iterator_remove()

void xccdf_result_iterator_remove | ( | struct xccdf_result_iterator * | it | ) |

## ◆ xccdf_result_new()

struct xccdf_result * xccdf_result_new | ( | void |  | ) |

## ◆ xccdf_result_recalculate_scores()

int xccdf_result_recalculate_scores | ( | struct xccdf_result * | result,
|  | struct xccdf_item * | benchmark
| ) |  |

## ◆ xccdf_result_set_benchmark_uri()

bool xccdf_result_set_benchmark_uri | ( | struct xccdf_result * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_result_set_end_time()

bool xccdf_result_set_end_time | ( | struct xccdf_result * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_result_set_id()

bool xccdf_result_set_id | ( | struct xccdf_result * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_result_set_profile()

bool xccdf_result_set_profile | ( | struct xccdf_result * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_result_set_start_time()

bool xccdf_result_set_start_time | ( | struct xccdf_result * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_result_set_test_system()

bool xccdf_result_set_test_system | ( | struct xccdf_result * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_result_set_version()

bool xccdf_result_set_version | ( | struct xccdf_result * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_result_stig_viewer_export_source()

struct oscap_source * xccdf_result_stig_viewer_export_source | ( | struct xccdf_result * | result,
|  | const char * | filepath
| ) |  |

Export TestResult to oscap_source structure using STIG Rule IDs instead of the actual rule ids.

Returns
  newly created oscap_source or NULL on error

## ◆ xccdf_result_to_item()

struct xccdf_item * xccdf_result_to_item | ( | struct xccdf_result * | item | ) |

## ◆ xccdf_rule_add_check()

bool xccdf_rule_add_check | ( | struct xccdf_rule * | item,
|  | struct xccdf_check * | newval
| ) |  |

## ◆ xccdf_rule_add_conflicts()

bool xccdf_rule_add_conflicts | ( | struct xccdf_rule * | rule,
|  | const char * | conflicts
| ) |  |

## ◆ xccdf_rule_add_dc_status()

bool xccdf_rule_add_dc_status | ( | struct xccdf_rule * | item,
|  | struct oscap_reference * | newval
| ) |  |

## ◆ xccdf_rule_add_description()

bool xccdf_rule_add_description | ( | struct xccdf_rule * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_rule_add_fix()

bool xccdf_rule_add_fix | ( | struct xccdf_rule * | item,
|  | struct xccdf_fix * | newval
| ) |  |

## ◆ xccdf_rule_add_fixtext()

bool xccdf_rule_add_fixtext | ( | struct xccdf_rule * | item,
|  | struct xccdf_fixtext * | newval
| ) |  |

## ◆ xccdf_rule_add_ident()

bool xccdf_rule_add_ident | ( | struct xccdf_rule * | item,
|  | struct xccdf_ident * | newval
| ) |  |

## ◆ xccdf_rule_add_metadata()

bool xccdf_rule_add_metadata | ( | struct xccdf_rule * | item,
|  | const char * | metadata
| ) |  |

## ◆ xccdf_rule_add_platform()

bool xccdf_rule_add_platform | ( | struct xccdf_rule * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_rule_add_profile_note()

bool xccdf_rule_add_profile_note | ( | struct xccdf_rule * | item,
|  | struct xccdf_profile_note * | newval
| ) |  |

## ◆ xccdf_rule_add_question()

bool xccdf_rule_add_question | ( | struct xccdf_rule * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_rule_add_rationale()

bool xccdf_rule_add_rationale | ( | struct xccdf_rule * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_rule_add_reference()

bool xccdf_rule_add_reference | ( | struct xccdf_rule * | item,
|  | struct oscap_reference * | newval
| ) |  |

## ◆ xccdf_rule_add_requires()

bool xccdf_rule_add_requires | ( | struct xccdf_rule * | rule,
|  | struct oscap_stringlist * | requires
| ) |  |

## ◆ xccdf_rule_add_status()

bool xccdf_rule_add_status | ( | struct xccdf_rule * | item,
|  | struct xccdf_status * | newval
| ) |  |

## ◆ xccdf_rule_add_title()

bool xccdf_rule_add_title | ( | struct xccdf_rule * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_rule_add_warning()

bool xccdf_rule_add_warning | ( | struct xccdf_rule * | item,
|  | struct xccdf_warning * | newval
| ) |  |

## ◆ xccdf_rule_clone()

struct xccdf_rule * xccdf_rule_clone | ( | const struct xccdf_rule * | rule | ) |

## ◆ xccdf_rule_free()

void xccdf_rule_free | ( | struct xccdf_item * | rule | ) |

## ◆ xccdf_rule_get_benchmark()

struct xccdf_benchmark * xccdf_rule_get_benchmark | ( | const struct xccdf_rule * | rule | ) |

## ◆ xccdf_rule_get_parent()

struct xccdf_item * xccdf_rule_get_parent | ( | const struct xccdf_rule * | rule | ) |

Return rule's parent in the grouping hierarchy.

Returned item will be either a group or a benchmark.

## ◆ xccdf_rule_get_version_time()

const char * xccdf_rule_get_version_time | ( | const struct xccdf_rule * | rule | ) |

## ◆ xccdf_rule_get_version_update()

const char * xccdf_rule_get_version_update | ( | const struct xccdf_rule * | rule | ) |

## ◆ xccdf_rule_new()

struct xccdf_rule * xccdf_rule_new | ( | void |  | ) |

## ◆ xccdf_rule_result_add_check()

bool xccdf_rule_result_add_check | ( | struct xccdf_rule_result * | obj,
|  | struct xccdf_check * | item
| ) |  |

## ◆ xccdf_rule_result_add_fix()

bool xccdf_rule_result_add_fix | ( | struct xccdf_rule_result * | obj,
|  | struct xccdf_fix * | item
| ) |  |

## ◆ xccdf_rule_result_add_ident()

bool xccdf_rule_result_add_ident | ( | struct xccdf_rule_result * | obj,
|  | struct xccdf_ident * | item
| ) |  |

## ◆ xccdf_rule_result_add_instance()

bool xccdf_rule_result_add_instance | ( | struct xccdf_rule_result * | obj,
|  | struct xccdf_instance * | item
| ) |  |

## ◆ xccdf_rule_result_add_message()

bool xccdf_rule_result_add_message | ( | struct xccdf_rule_result * | obj,
|  | struct xccdf_message * | item
| ) |  |

## ◆ xccdf_rule_result_add_override()

bool xccdf_rule_result_add_override | ( | struct xccdf_rule_result * | obj,
|  | struct xccdf_override * | item
| ) |  |

## ◆ xccdf_rule_result_clone()

struct xccdf_rule_result * xccdf_rule_result_clone | ( | const struct xccdf_rule_result * | result | ) |

## ◆ xccdf_rule_result_free()

void xccdf_rule_result_free | ( | struct xccdf_rule_result * | rr | ) |

## ◆ xccdf_rule_result_get_checks()

struct xccdf_check_iterator * xccdf_rule_result_get_checks | ( | const struct xccdf_rule_result * | item | ) |

## ◆ xccdf_rule_result_get_fixes()

struct xccdf_fix_iterator * xccdf_rule_result_get_fixes | ( | const struct xccdf_rule_result * | item | ) |

## ◆ xccdf_rule_result_get_idents()

struct xccdf_ident_iterator * xccdf_rule_result_get_idents | ( | const struct xccdf_rule_result * | item | ) |

## ◆ xccdf_rule_result_get_idref()

const char * xccdf_rule_result_get_idref | ( | const struct xccdf_rule_result * | item | ) |

## ◆ xccdf_rule_result_get_instances()

struct xccdf_instance_iterator * xccdf_rule_result_get_instances | ( | const struct xccdf_rule_result * | item | ) |

## ◆ xccdf_rule_result_get_messages()

struct xccdf_message_iterator * xccdf_rule_result_get_messages | ( | const struct xccdf_rule_result * | item | ) |

## ◆ xccdf_rule_result_get_overrides()

struct xccdf_override_iterator * xccdf_rule_result_get_overrides | ( | const struct xccdf_rule_result * | item | ) |

## ◆ xccdf_rule_result_get_result()

xccdf_test_result_type_t xccdf_rule_result_get_result | ( | const struct xccdf_rule_result * | item | ) |

## ◆ xccdf_rule_result_get_role()

xccdf_role_t xccdf_rule_result_get_role | ( | const struct xccdf_rule_result * | item | ) |

## ◆ xccdf_rule_result_get_severity()

xccdf_level_t xccdf_rule_result_get_severity | ( | const struct xccdf_rule_result * | item | ) |

## ◆ xccdf_rule_result_get_time()

const char * xccdf_rule_result_get_time | ( | const struct xccdf_rule_result * | item | ) |

## ◆ xccdf_rule_result_get_version()

const char * xccdf_rule_result_get_version | ( | const struct xccdf_rule_result * | item | ) |

## ◆ xccdf_rule_result_get_weight()

float xccdf_rule_result_get_weight | ( | const struct xccdf_rule_result * | item | ) |

## ◆ xccdf_rule_result_iterator_remove()

void xccdf_rule_result_iterator_remove | ( | struct xccdf_rule_result_iterator * | it | ) |

## ◆ xccdf_rule_result_new()

struct xccdf_rule_result * xccdf_rule_result_new | ( | void |  | ) |

## ◆ xccdf_rule_result_override()

bool xccdf_rule_result_override | ( | struct xccdf_rule_result * | rule_result,
|  | xccdf_test_result_type_t | new_result,
|  | const char * | time,
|  | const char * | authority,
|  | struct oscap_text * | remark
| ) |  |

Override the result of rule-result.

Parameters

  rule_result | The rule-result element to override
  new_result | to set
  time | The time of override
  authority | identifier of person overriding the result
  remark | Rationale of the override

Returns
  true on success

## ◆ xccdf_rule_result_set_idref()

bool xccdf_rule_result_set_idref | ( | struct xccdf_rule_result * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_rule_result_set_result()

bool xccdf_rule_result_set_result | ( | struct xccdf_rule_result * | obj,
|  | xccdf_test_result_type_t | newval
| ) |  |

## ◆ xccdf_rule_result_set_role()

bool xccdf_rule_result_set_role | ( | struct xccdf_rule_result * | obj,
|  | xccdf_role_t | newval
| ) |  |

## ◆ xccdf_rule_result_set_severity()

bool xccdf_rule_result_set_severity | ( | struct xccdf_rule_result * | obj,
|  | xccdf_level_t | newval
| ) |  |

## ◆ xccdf_rule_result_set_time()

bool xccdf_rule_result_set_time | ( | struct xccdf_rule_result * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_rule_result_set_version()

bool xccdf_rule_result_set_version | ( | struct xccdf_rule_result * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_rule_result_set_weight()

bool xccdf_rule_result_set_weight | ( | struct xccdf_rule_result * | obj,
|  | float | newval
| ) |  |

## ◆ xccdf_rule_set_abstract()

bool xccdf_rule_set_abstract | ( | struct xccdf_rule * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_rule_set_cluster_id()

bool xccdf_rule_set_cluster_id | ( | struct xccdf_rule * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_rule_set_extends()

bool xccdf_rule_set_extends | ( | struct xccdf_rule * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_rule_set_hidden()

bool xccdf_rule_set_hidden | ( | struct xccdf_rule * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_rule_set_id()

bool xccdf_rule_set_id | ( | struct xccdf_rule * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_rule_set_impact_metric()

bool xccdf_rule_set_impact_metric | ( | struct xccdf_rule * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_rule_set_multiple()

bool xccdf_rule_set_multiple | ( | struct xccdf_rule * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_rule_set_prohibit_changes()

bool xccdf_rule_set_prohibit_changes | ( | struct xccdf_rule * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_rule_set_role()

bool xccdf_rule_set_role | ( | struct xccdf_rule * | item,
|  | xccdf_role_t | newval
| ) |  |

## ◆ xccdf_rule_set_selected()

bool xccdf_rule_set_selected | ( | struct xccdf_rule * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_rule_set_severity()

bool xccdf_rule_set_severity | ( | struct xccdf_rule * | item,
|  | xccdf_level_t | newval
| ) |  |

## ◆ xccdf_rule_set_version()

bool xccdf_rule_set_version | ( | struct xccdf_rule * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_rule_set_version_time()

bool xccdf_rule_set_version_time | ( | struct xccdf_rule * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_rule_set_version_update()

bool xccdf_rule_set_version_update | ( | struct xccdf_rule * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_rule_to_item()

struct xccdf_item * xccdf_rule_to_item | ( | struct xccdf_rule * | item | ) |

## ◆ xccdf_score_clone()

struct xccdf_score * xccdf_score_clone | ( | const struct xccdf_score * | score | ) |

## ◆ xccdf_score_free()

void xccdf_score_free | ( | struct xccdf_score * | score | ) |

## ◆ xccdf_score_get_maximum()

xccdf_numeric xccdf_score_get_maximum | ( | const struct xccdf_score * | item | ) |

## ◆ xccdf_score_get_score()

xccdf_numeric xccdf_score_get_score | ( | const struct xccdf_score * | item | ) |

## ◆ xccdf_score_get_system()

const char * xccdf_score_get_system | ( | const struct xccdf_score * | item | ) |

## ◆ xccdf_score_iterator_remove()

void xccdf_score_iterator_remove | ( | struct xccdf_score_iterator * | it | ) |

## ◆ xccdf_score_new()

struct xccdf_score * xccdf_score_new | ( | void |  | ) |

## ◆ xccdf_score_set_maximum()

bool xccdf_score_set_maximum | ( | struct xccdf_score * | obj,
|  | xccdf_numeric | newval
| ) |  |

## ◆ xccdf_score_set_score()

bool xccdf_score_set_score | ( | struct xccdf_score * | obj,
|  | xccdf_numeric | newval
| ) |  |

## ◆ xccdf_score_set_system()

bool xccdf_score_set_system | ( | struct xccdf_score * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_select_add_remark()

bool xccdf_select_add_remark | ( | struct xccdf_select * | obj,
|  | struct oscap_text * | item
| ) |  |

## ◆ xccdf_select_clone()

struct xccdf_select * xccdf_select_clone | ( | const struct xccdf_select * | select | ) |

## ◆ xccdf_select_free()

void xccdf_select_free | ( | struct xccdf_select * | sel | ) |

## ◆ xccdf_select_get_item()

const char * xccdf_select_get_item | ( | const struct xccdf_select * | select | ) |

## ◆ xccdf_select_get_remarks()

struct oscap_text_iterator * xccdf_select_get_remarks | ( | const struct xccdf_select * | select | ) |

## ◆ xccdf_select_get_selected()

bool xccdf_select_get_selected | ( | const struct xccdf_select * | select | ) |

## ◆ xccdf_select_iterator_remove()

void xccdf_select_iterator_remove | ( | struct xccdf_select_iterator * | it | ) |

## ◆ xccdf_select_new()

struct xccdf_select * xccdf_select_new | ( | void |  | ) |

## ◆ xccdf_select_set_item()

bool xccdf_select_set_item | ( | struct xccdf_select * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_select_set_selected()

bool xccdf_select_set_selected | ( | struct xccdf_select * | obj,
|  | bool | newval
| ) |  |

## ◆ xccdf_setvalue_iterator_remove()

void xccdf_setvalue_iterator_remove | ( | struct xccdf_setvalue_iterator * | it | ) |

## ◆ xccdf_status_clone()

struct xccdf_status * xccdf_status_clone | ( | const struct xccdf_status * | old_status | ) |

## ◆ xccdf_status_free()

void xccdf_status_free | ( | struct xccdf_status * | status | ) |

## ◆ xccdf_status_get_date()

time_t xccdf_status_get_date | ( | const struct xccdf_status * | status | ) |

## ◆ xccdf_status_get_status()

xccdf_status_type_t xccdf_status_get_status | ( | const struct xccdf_status * | status | ) |

## ◆ xccdf_status_iterator_remove()

void xccdf_status_iterator_remove | ( | struct xccdf_status_iterator * | it | ) |

## ◆ xccdf_status_new()

struct xccdf_status * xccdf_status_new | ( | void |  | ) |

## ◆ xccdf_status_new_fill()

struct xccdf_status * xccdf_status_new_fill | ( | const char * | status,
|  | const char * | date
| ) |  |

## ◆ xccdf_status_set_date()

bool xccdf_status_set_date | ( | struct xccdf_status * | obj,
|  | time_t | newval
| ) |  |

## ◆ xccdf_status_set_status()

bool xccdf_status_set_status | ( | struct xccdf_status * | obj,
|  | xccdf_status_type_t | newval
| ) |  |

## ◆ xccdf_status_type_to_text()

const char * xccdf_status_type_to_text | ( | xccdf_status_type_t | id | ) |

## ◆ xccdf_tailoring_add_profile()

bool xccdf_tailoring_add_profile | ( | struct xccdf_tailoring * | tailoring,
|  | struct xccdf_profile * | profile
| ) |  |

## ◆ xccdf_tailoring_export()

int xccdf_tailoring_export | ( | struct xccdf_tailoring * | tailoring,
|  | const char * | file,
|  | const struct xccdf_version_info * | version_info
| ) |  |

## ◆ xccdf_tailoring_free()

void xccdf_tailoring_free | ( | struct xccdf_tailoring * | tailoring | ) |

## ◆ xccdf_tailoring_get_benchmark_ref()

const char * xccdf_tailoring_get_benchmark_ref | ( | const struct xccdf_tailoring * | tailoring | ) |

## ◆ xccdf_tailoring_get_benchmark_ref_version()

const char * xccdf_tailoring_get_benchmark_ref_version | ( | const struct xccdf_tailoring * | tailoring | ) |

## ◆ xccdf_tailoring_get_dc_statuses()

struct oscap_reference_iterator * xccdf_tailoring_get_dc_statuses | ( | const struct xccdf_tailoring * | tailoring | ) |

## ◆ xccdf_tailoring_get_id()

const char * xccdf_tailoring_get_id | ( | const struct xccdf_tailoring * | tailoring | ) |

## ◆ xccdf_tailoring_get_metadata()

struct oscap_string_iterator * xccdf_tailoring_get_metadata | ( | const struct xccdf_tailoring * | tailoring | ) |

## ◆ xccdf_tailoring_get_profile_by_id()

struct xccdf_profile * xccdf_tailoring_get_profile_by_id | ( | const struct xccdf_tailoring * | tailoring,
|  | const char * | profile_id
| ) |  |

Parameters

  profile_id | id of the profile that should be returned or NULL for default profile

Note
  Unlike in XCCDF Benchmark, the default profile from Tailoring element needn't match the "selected" attribute from each individual XCCDF Item.

## ◆ xccdf_tailoring_get_profiles()

struct xccdf_profile_iterator * xccdf_tailoring_get_profiles | ( | const struct xccdf_tailoring * | tailoring | ) |

## ◆ xccdf_tailoring_get_statuses()

struct xccdf_status_iterator * xccdf_tailoring_get_statuses | ( | const struct xccdf_tailoring * | tailoring | ) |

## ◆ xccdf_tailoring_get_version()

const char * xccdf_tailoring_get_version | ( | const struct xccdf_tailoring * | tailoring | ) |

## ◆ xccdf_tailoring_get_version_time()

const char * xccdf_tailoring_get_version_time | ( | const struct xccdf_tailoring * | tailoring | ) |

## ◆ xccdf_tailoring_get_version_update()

const char * xccdf_tailoring_get_version_update | ( | const struct xccdf_tailoring * | tailoring | ) |

## ◆ xccdf_tailoring_import_source()

struct xccdf_tailoring * xccdf_tailoring_import_source | ( | struct oscap_source * | source,
|  | struct xccdf_benchmark * | benchmark
| ) |  |

## ◆ xccdf_tailoring_match_profile_id()

const char * xccdf_tailoring_match_profile_id | ( | struct xccdf_tailoring * | tailoring,
|  | const char * | profile_suffix,
|  | int * | match_status
| ) |  |

Match a profile suffix agains profiles present in the given benchmark.

Parameters

  tailoring | The tailoring where to search for profiles.
  profile_suffix | The profile suffix we match against.
  match_status | Tells us what exactly went wrong.

Returns
  The complete profile ID.

Return values

  NULL | is returned in case of error. Details might be found through match_status

## ◆ xccdf_tailoring_new()

struct xccdf_tailoring * xccdf_tailoring_new | ( | void |  | ) |

## ◆ xccdf_tailoring_remove_profile()

bool xccdf_tailoring_remove_profile | ( | struct xccdf_tailoring * | tailoring,
|  | struct xccdf_profile * | profile
| ) |  |

Removes given profile from tailoring.

The profile must not be an ancestor of any other profile in tailoring. If it is this function will fail to remove the profile and signal the error.

This function does NOT notify xccdf_session, xccdf_policy or xccdf_policy_model of this change. You are responsible for refreshing the higher-level structures yourself!

Note
  User is responsible for freeing the profile!

## ◆ xccdf_tailoring_resolve()

bool xccdf_tailoring_resolve | ( | struct xccdf_tailoring * | tailoring,
|  | struct xccdf_benchmark * | benchmark
| ) |  |

## ◆ xccdf_tailoring_set_benchmark_ref()

bool xccdf_tailoring_set_benchmark_ref | ( | struct xccdf_tailoring * | tailoring,
|  | const char * | newval
| ) |  |

## ◆ xccdf_tailoring_set_benchmark_ref_version()

bool xccdf_tailoring_set_benchmark_ref_version | ( | struct xccdf_tailoring * | tailoring,
|  | const char * | newval
| ) |  |

## ◆ xccdf_tailoring_set_id()

bool xccdf_tailoring_set_id | ( | struct xccdf_tailoring * | tailoring,
|  | const char * | newval
| ) |  |

## ◆ xccdf_tailoring_set_version()

bool xccdf_tailoring_set_version | ( | struct xccdf_tailoring * | tailoring,
|  | const char * | newval
| ) |  |

## ◆ xccdf_tailoring_set_version_time()

bool xccdf_tailoring_set_version_time | ( | struct xccdf_tailoring * | tailoring,
|  | const char * | newval
| ) |  |

## ◆ xccdf_tailoring_set_version_update()

bool xccdf_tailoring_set_version_update | ( | struct xccdf_tailoring * | tailoring,
|  | const char * | newval
| ) |  |

## ◆ xccdf_target_fact_clone()

struct xccdf_target_fact * xccdf_target_fact_clone | ( | const struct xccdf_target_fact * | tf | ) |

## ◆ xccdf_target_fact_free()

void xccdf_target_fact_free | ( | struct xccdf_target_fact * | fact | ) |

## ◆ xccdf_target_fact_get_name()

const char * xccdf_target_fact_get_name | ( | const struct xccdf_target_fact * | item | ) |

## ◆ xccdf_target_fact_get_type()

xccdf_value_type_t xccdf_target_fact_get_type | ( | const struct xccdf_target_fact * | item | ) |

## ◆ xccdf_target_fact_get_value()

const char * xccdf_target_fact_get_value | ( | const struct xccdf_target_fact * | item | ) |

## ◆ xccdf_target_fact_iterator_remove()

void xccdf_target_fact_iterator_remove | ( | struct xccdf_target_fact_iterator * | it | ) |

## ◆ xccdf_target_fact_new()

struct xccdf_target_fact * xccdf_target_fact_new | ( | void |  | ) |

## ◆ xccdf_target_fact_set_boolean()

bool xccdf_target_fact_set_boolean | ( | struct xccdf_target_fact * | fact,
|  | bool | val
| ) |  |

## ◆ xccdf_target_fact_set_name()

bool xccdf_target_fact_set_name | ( | struct xccdf_target_fact * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_target_fact_set_number()

bool xccdf_target_fact_set_number | ( | struct xccdf_target_fact * | fact,
|  | xccdf_numeric | val
| ) |  |

## ◆ xccdf_target_fact_set_string()

bool xccdf_target_fact_set_string | ( | struct xccdf_target_fact * | fact,
|  | const char * | str
| ) |  |

## ◆ xccdf_target_identifier_clone()

struct xccdf_target_identifier * xccdf_target_identifier_clone | ( | const struct xccdf_target_identifier * | ti | ) |

## ◆ xccdf_target_identifier_free()

void xccdf_target_identifier_free | ( | struct xccdf_target_identifier * | ti | ) |

## ◆ xccdf_target_identifier_get_href()

const char * xccdf_target_identifier_get_href | ( | const struct xccdf_target_identifier * | item | ) |

## ◆ xccdf_target_identifier_get_name()

const char * xccdf_target_identifier_get_name | ( | const struct xccdf_target_identifier * | item | ) |

## ◆ xccdf_target_identifier_get_system()

const char * xccdf_target_identifier_get_system | ( | const struct xccdf_target_identifier * | item | ) |

## ◆ xccdf_target_identifier_get_xml_node()

void * xccdf_target_identifier_get_xml_node | ( | const struct xccdf_target_identifier * | item | ) |

## ◆ xccdf_target_identifier_iterator_remove()

void xccdf_target_identifier_iterator_remove | ( | struct xccdf_target_identifier_iterator * | it | ) |

## ◆ xccdf_target_identifier_new()

struct xccdf_target_identifier * xccdf_target_identifier_new | ( | void |  | ) |

## ◆ xccdf_target_identifier_set_href()

bool xccdf_target_identifier_set_href | ( | struct xccdf_target_identifier * | ti,
|  | const char * | newval
| ) |  |

## ◆ xccdf_target_identifier_set_name()

bool xccdf_target_identifier_set_name | ( | struct xccdf_target_identifier * | ti,
|  | const char * | newval
| ) |  |

## ◆ xccdf_target_identifier_set_system()

bool xccdf_target_identifier_set_system | ( | struct xccdf_target_identifier * | ti,
|  | const char * | newval
| ) |  |

## ◆ xccdf_target_identifier_set_xml_node()

bool xccdf_target_identifier_set_xml_node | ( | struct xccdf_target_identifier * | ti,
|  | void * | node
| ) |  |

## ◆ xccdf_value_add_dc_status()

bool xccdf_value_add_dc_status | ( | struct xccdf_value * | item,
|  | struct oscap_reference * | newval
| ) |  |

## ◆ xccdf_value_add_description()

bool xccdf_value_add_description | ( | struct xccdf_value * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_value_add_instance()

bool xccdf_value_add_instance | ( | struct xccdf_value * | value,
|  | struct xccdf_value_instance * | instance
| ) |  |

## ◆ xccdf_value_add_metadata()

bool xccdf_value_add_metadata | ( | struct xccdf_value * | item,
|  | const char * | metadata
| ) |  |

## ◆ xccdf_value_add_question()

bool xccdf_value_add_question | ( | struct xccdf_value * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_value_add_reference()

bool xccdf_value_add_reference | ( | struct xccdf_value * | item,
|  | struct oscap_reference * | newval
| ) |  |

## ◆ xccdf_value_add_status()

bool xccdf_value_add_status | ( | struct xccdf_value * | item,
|  | struct xccdf_status * | newval
| ) |  |

## ◆ xccdf_value_add_title()

bool xccdf_value_add_title | ( | struct xccdf_value * | item,
|  | struct oscap_text * | newval
| ) |  |

## ◆ xccdf_value_add_warning()

bool xccdf_value_add_warning | ( | struct xccdf_value * | item,
|  | struct xccdf_warning * | newval
| ) |  |

## ◆ xccdf_value_clone()

struct xccdf_value * xccdf_value_clone | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_free()

void xccdf_value_free | ( | struct xccdf_item * | val | ) |

## ◆ xccdf_value_get_abstract()

bool xccdf_value_get_abstract | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_benchmark()

struct xccdf_benchmark * xccdf_value_get_benchmark | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_cluster_id()

const char * xccdf_value_get_cluster_id | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_dc_statuses()

struct oscap_reference_iterator * xccdf_value_get_dc_statuses | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_description()

struct oscap_text_iterator * xccdf_value_get_description | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_extends()

const char * xccdf_value_get_extends | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_hidden()

bool xccdf_value_get_hidden | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_id()

const char * xccdf_value_get_id | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_instance_by_selector()

struct xccdf_value_instance * xccdf_value_get_instance_by_selector | ( | const struct xccdf_value * | value,
|  | const char * | selector
| ) |  |

## ◆ xccdf_value_get_instances()

struct xccdf_value_instance_iterator * xccdf_value_get_instances | ( | const struct xccdf_value * | item | ) |

## ◆ xccdf_value_get_interactive()

bool xccdf_value_get_interactive | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_interface_hint()

xccdf_interface_hint_t xccdf_value_get_interface_hint | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_metadata()

struct oscap_string_iterator * xccdf_value_get_metadata | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_oper()

xccdf_operator_t xccdf_value_get_oper | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_parent()

struct xccdf_item * xccdf_value_get_parent | ( | const struct xccdf_value * | value | ) |

Return value's parent in the grouping hierarchy.

Returned item will be either a value or a benchmark.

## ◆ xccdf_value_get_prohibit_changes()

bool xccdf_value_get_prohibit_changes | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_question()

struct oscap_text_iterator * xccdf_value_get_question | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_references()

struct oscap_reference_iterator * xccdf_value_get_references | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_sources()

struct oscap_string_iterator * xccdf_value_get_sources | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_status_current()

struct xccdf_status * xccdf_value_get_status_current | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_statuses()

struct xccdf_status_iterator * xccdf_value_get_statuses | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_title()

struct oscap_text_iterator * xccdf_value_get_title | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_type()

xccdf_value_type_t xccdf_value_get_type | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_version()

const char * xccdf_value_get_version | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_version_time()

const char * xccdf_value_get_version_time | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_version_update()

const char * xccdf_value_get_version_update | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_get_warnings()

struct xccdf_warning_iterator * xccdf_value_get_warnings | ( | const struct xccdf_value * | value | ) |

## ◆ xccdf_value_instance_free()

void xccdf_value_instance_free | ( | struct xccdf_value_instance * | inst | ) |

## ◆ xccdf_value_instance_get_choices()

struct oscap_string_iterator * xccdf_value_instance_get_choices | ( | const struct xccdf_value_instance * | item | ) |

## ◆ xccdf_value_instance_get_defval_boolean()

bool xccdf_value_instance_get_defval_boolean | ( | const struct xccdf_value_instance * | inst | ) |

## ◆ xccdf_value_instance_get_defval_number()

xccdf_numeric xccdf_value_instance_get_defval_number | ( | const struct xccdf_value_instance * | inst | ) |

## ◆ xccdf_value_instance_get_defval_string()

const char * xccdf_value_instance_get_defval_string | ( | const struct xccdf_value_instance * | inst | ) |

## ◆ xccdf_value_instance_get_lower_bound()

xccdf_numeric xccdf_value_instance_get_lower_bound | ( | const struct xccdf_value_instance * | inst | ) |

## ◆ xccdf_value_instance_get_match()

const char * xccdf_value_instance_get_match | ( | const struct xccdf_value_instance * | inst | ) |

## ◆ xccdf_value_instance_get_must_match()

bool xccdf_value_instance_get_must_match | ( | const struct xccdf_value_instance * | item | ) |

## ◆ xccdf_value_instance_get_selector()

const char * xccdf_value_instance_get_selector | ( | const struct xccdf_value_instance * | item | ) |

## ◆ xccdf_value_instance_get_type()

xccdf_value_type_t xccdf_value_instance_get_type | ( | const struct xccdf_value_instance * | item | ) |

## ◆ xccdf_value_instance_get_upper_bound()

xccdf_numeric xccdf_value_instance_get_upper_bound | ( | const struct xccdf_value_instance * | inst | ) |

## ◆ xccdf_value_instance_get_value()

const char * xccdf_value_instance_get_value | ( | const struct xccdf_value_instance * | val | ) |

## ◆ xccdf_value_instance_get_value_boolean()

bool xccdf_value_instance_get_value_boolean | ( | const struct xccdf_value_instance * | inst | ) |

## ◆ xccdf_value_instance_get_value_number()

xccdf_numeric xccdf_value_instance_get_value_number | ( | const struct xccdf_value_instance * | inst | ) |

## ◆ xccdf_value_instance_get_value_string()

const char * xccdf_value_instance_get_value_string | ( | const struct xccdf_value_instance * | inst | ) |

## ◆ xccdf_value_instance_iterator_remove()

void xccdf_value_instance_iterator_remove | ( | struct xccdf_value_instance_iterator * | it | ) |

## ◆ xccdf_value_instance_set_defval_boolean()

bool xccdf_value_instance_set_defval_boolean | ( | struct xccdf_value_instance * | inst,
|  | bool | newval
| ) |  |

## ◆ xccdf_value_instance_set_defval_number()

bool xccdf_value_instance_set_defval_number | ( | struct xccdf_value_instance * | inst,
|  | xccdf_numeric | newval
| ) |  |

## ◆ xccdf_value_instance_set_defval_string()

bool xccdf_value_instance_set_defval_string | ( | struct xccdf_value_instance * | inst,
|  | const char * | newval
| ) |  |

## ◆ xccdf_value_instance_set_lower_bound()

bool xccdf_value_instance_set_lower_bound | ( | struct xccdf_value_instance * | inst,
|  | xccdf_numeric | newval
| ) |  |

## ◆ xccdf_value_instance_set_match()

bool xccdf_value_instance_set_match | ( | struct xccdf_value_instance * | inst,
|  | const char * | newval
| ) |  |

## ◆ xccdf_value_instance_set_must_match()

bool xccdf_value_instance_set_must_match | ( | struct xccdf_value_instance * | obj,
|  | bool | newval
| ) |  |

## ◆ xccdf_value_instance_set_selector()

bool xccdf_value_instance_set_selector | ( | struct xccdf_value_instance * | obj,
|  | const char * | newval
| ) |  |

## ◆ xccdf_value_instance_set_upper_bound()

bool xccdf_value_instance_set_upper_bound | ( | struct xccdf_value_instance * | inst,
|  | xccdf_numeric | newval
| ) |  |

## ◆ xccdf_value_instance_set_value_boolean()

bool xccdf_value_instance_set_value_boolean | ( | struct xccdf_value_instance * | inst,
|  | bool | newval
| ) |  |

## ◆ xccdf_value_instance_set_value_number()

bool xccdf_value_instance_set_value_number | ( | struct xccdf_value_instance * | inst,
|  | xccdf_numeric | newval
| ) |  |

## ◆ xccdf_value_instance_set_value_string()

bool xccdf_value_instance_set_value_string | ( | struct xccdf_value_instance * | inst,
|  | const char * | newval
| ) |  |

## ◆ xccdf_value_iterator_remove()

void xccdf_value_iterator_remove | ( | struct xccdf_value_iterator * | it | ) |

## ◆ xccdf_value_new()

struct xccdf_value * xccdf_value_new | ( | xccdf_value_type_t | type | ) |

## ◆ xccdf_value_new_instance()

struct xccdf_value_instance * xccdf_value_new_instance | ( | struct xccdf_value * | val | ) |

## ◆ xccdf_value_set_abstract()

bool xccdf_value_set_abstract | ( | struct xccdf_value * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_value_set_cluster_id()

bool xccdf_value_set_cluster_id | ( | struct xccdf_value * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_value_set_extends()

bool xccdf_value_set_extends | ( | struct xccdf_value * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_value_set_hidden()

bool xccdf_value_set_hidden | ( | struct xccdf_value * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_value_set_id()

bool xccdf_value_set_id | ( | struct xccdf_value * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_value_set_interactive()

bool xccdf_value_set_interactive | ( | struct xccdf_value * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_value_set_multiple()

bool xccdf_value_set_multiple | ( | struct xccdf_value * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_value_set_oper()

bool xccdf_value_set_oper | ( | struct xccdf_value * | item,
|  | xccdf_operator_t | oper
| ) |  |

## ◆ xccdf_value_set_prohibit_changes()

bool xccdf_value_set_prohibit_changes | ( | struct xccdf_value * | item,
|  | bool | newval
| ) |  |

## ◆ xccdf_value_set_version()

bool xccdf_value_set_version | ( | struct xccdf_value * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_value_set_version_time()

bool xccdf_value_set_version_time | ( | struct xccdf_value * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_value_set_version_update()

bool xccdf_value_set_version_update | ( | struct xccdf_value * | item,
|  | const char * | newval
| ) |  |

## ◆ xccdf_value_to_item()

struct xccdf_item * xccdf_value_to_item | ( | struct xccdf_value * | item | ) |

## ◆ xccdf_version_info_get_cpe_version()

const char * xccdf_version_info_get_cpe_version | ( | const struct xccdf_version_info * | v | ) |

## ◆ xccdf_version_info_get_namespace_uri()

const char * xccdf_version_info_get_namespace_uri | ( | const struct xccdf_version_info * | v | ) |

## ◆ xccdf_version_info_get_version()

const char * xccdf_version_info_get_version | ( | const struct xccdf_version_info * | v | ) |

## ◆ xccdf_warning_clone()

struct xccdf_warning * xccdf_warning_clone | ( | const struct xccdf_warning * | old_warning | ) |

## ◆ xccdf_warning_free()

void xccdf_warning_free | ( | struct xccdf_warning * | warn | ) |

## ◆ xccdf_warning_get_category()

xccdf_warning_category_t xccdf_warning_get_category | ( | const struct xccdf_warning * | warning | ) |

## ◆ xccdf_warning_get_text()

struct oscap_text * xccdf_warning_get_text | ( | const struct xccdf_warning * | warning | ) |

## ◆ xccdf_warning_iterator_remove()

void xccdf_warning_iterator_remove | ( | struct xccdf_warning_iterator * | it | ) |

## ◆ xccdf_warning_new()

struct xccdf_warning * xccdf_warning_new | ( | void |  | ) |

## ◆ xccdf_warning_set_category()

bool xccdf_warning_set_category | ( | struct xccdf_warning * | obj,
|  | xccdf_warning_category_t | newval
| ) |  |

## ◆ xccdf_warning_set_text()

bool xccdf_warning_set_text | ( | struct xccdf_warning * | obj,
|  | struct oscap_text * | newval
| ) |  |