xccdf_rule Struct Reference
[XCCDFXCCDF Rule]

XCCDF Rule. More...

#include <xccdf.h>

Public Member Functions

struct xccdf_itemxccdf_rule_get_parent (const struct xccdf_rule *rule)
 Return rule's parent in the grouping hierarchy.
const char * xccdf_rule_get_id (const struct xccdf_rule *rule)
struct oscap_text_iteratorxccdf_rule_get_title (const struct xccdf_rule *rule)
struct oscap_text_iteratorxccdf_rule_get_description (const struct xccdf_rule *rule)
const char * xccdf_rule_get_version (const struct xccdf_rule *rule)
struct oscap_text_iteratorxccdf_rule_get_question (const struct xccdf_rule *rule)
struct xccdf_warning_iteratorxccdf_rule_get_warnings (const struct xccdf_rule *rule)
struct oscap_text_iteratorxccdf_rule_get_rationale (const struct xccdf_rule *rule)
const char * xccdf_rule_get_cluster_id (const struct xccdf_rule *rule)
struct xccdf_checkxccdf_rule_get_check (const struct xccdf_rule *rule)
float xccdf_rule_get_weight (const struct xccdf_rule *rule)
bool xccdf_rule_set_weight (struct xccdf_rule *item, xccdf_numeric newval)
const char * xccdf_rule_get_extends (const struct xccdf_rule *rule)
bool xccdf_rule_get_abstract (const struct xccdf_rule *rule)
bool xccdf_rule_get_prohibit_changes (const struct xccdf_rule *rule)
bool xccdf_rule_get_hidden (const struct xccdf_rule *rule)
bool xccdf_rule_get_selected (const struct xccdf_rule *rule)
bool xccdf_rule_get_multiple (const struct xccdf_rule *rule)
struct oscap_string_iteratorxccdf_rule_get_platforms (const struct xccdf_rule *rule)
struct xccdf_status_iteratorxccdf_rule_get_statuses (const struct xccdf_rule *rule)
struct xccdf_reference_iteratorxccdf_rule_get_references (const struct xccdf_rule *rule)
xccdf_status_type_t xccdf_rule_get_status_current (const struct xccdf_rule *rule)
const char * xccdf_rule_get_impact_metric (const struct xccdf_rule *rule)
xccdf_role_t xccdf_rule_get_role (const struct xccdf_rule *rule)
xccdf_level_t xccdf_rule_get_severity (const struct xccdf_rule *rule)
struct xccdf_ident_iteratorxccdf_rule_get_idents (const struct xccdf_rule *rule)
struct xccdf_check_iteratorxccdf_rule_get_checks (const struct xccdf_rule *rule)
struct
xccdf_profile_note_iterator
xccdf_rule_get_profile_notes (const struct xccdf_rule *rule)
struct xccdf_fix_iteratorxccdf_rule_get_fixes (const struct xccdf_rule *rule)
struct xccdf_fixtext_iteratorxccdf_rule_get_fixtexts (const struct xccdf_rule *rule)
struct oscap_string_iteratorxccdf_rule_get_conflicts (const struct xccdf_rule *rule)
struct oscap_stringlist_iteratorxccdf_rule_get_requires (const struct xccdf_rule *rule)
struct xccdf_itemxccdf_rule_to_item (struct xccdf_rule *item)
bool xccdf_rule_set_id (struct xccdf_rule *item, const char *newval)
bool xccdf_rule_set_cluster_id (struct xccdf_rule *item, const char *newval)
bool xccdf_rule_set_extends (struct xccdf_rule *item, const char *newval)
bool xccdf_rule_set_version (struct xccdf_rule *item, const char *newval)
bool xccdf_rule_set_version_time (struct xccdf_rule *item, time_t newval)
bool xccdf_rule_set_version_update (struct xccdf_rule *item, const char *newval)
bool xccdf_rule_add_description (struct xccdf_rule *item, struct oscap_text *newval)
bool xccdf_rule_add_platform (struct xccdf_rule *item, const char *newval)
bool xccdf_rule_add_question (struct xccdf_rule *item, struct oscap_text *newval)
bool xccdf_rule_add_rationale (struct xccdf_rule *item, struct oscap_text *newval)
bool xccdf_rule_add_reference (struct xccdf_rule *item, struct xccdf_reference *newval)
bool xccdf_rule_add_status (struct xccdf_rule *item, struct xccdf_status *newval)
bool xccdf_rule_add_title (struct xccdf_rule *item, struct oscap_text *newval)
bool xccdf_rule_add_warning (struct xccdf_rule *item, struct xccdf_warning *newval)
const char * xccdf_rule_get_version_update (const struct xccdf_rule *rule)
time_t xccdf_rule_get_version_time (const struct xccdf_rule *rule)
struct xccdf_benchmarkxccdf_rule_get_benchmark (const struct xccdf_rule *rule)

Detailed Description

XCCDF Rule.


Member Function Documentation

bool xccdf_rule_add_description ( struct xccdf_rule item,
struct oscap_text newval 
)
bool xccdf_rule_add_platform ( struct xccdf_rule item,
const char *  newval 
)
bool xccdf_rule_add_question ( struct xccdf_rule item,
struct oscap_text newval 
)
bool xccdf_rule_add_rationale ( struct xccdf_rule item,
struct oscap_text newval 
)
bool xccdf_rule_add_reference ( struct xccdf_rule item,
struct xccdf_reference newval 
)
bool xccdf_rule_add_status ( struct xccdf_rule item,
struct xccdf_status newval 
)
bool xccdf_rule_add_title ( struct xccdf_rule item,
struct oscap_text newval 
)
bool xccdf_rule_add_warning ( struct xccdf_rule item,
struct xccdf_warning newval 
)
bool xccdf_rule_get_abstract ( const struct xccdf_rule rule  ) 
struct xccdf_benchmark * xccdf_rule_get_benchmark ( const struct xccdf_rule rule  )  [read]
struct xccdf_check * xccdf_rule_get_check ( const struct xccdf_rule rule  )  [read]
struct xccdf_check_iterator * xccdf_rule_get_checks ( const struct xccdf_rule rule  )  [read]
const char * xccdf_rule_get_cluster_id ( const struct xccdf_rule rule  ) 
struct oscap_string_iterator * xccdf_rule_get_conflicts ( const struct xccdf_rule rule  )  [read]
struct oscap_text_iterator * xccdf_rule_get_description ( const struct xccdf_rule rule  )  [read]
const char * xccdf_rule_get_extends ( const struct xccdf_rule rule  ) 
struct xccdf_fix_iterator * xccdf_rule_get_fixes ( const struct xccdf_rule rule  )  [read]
struct xccdf_fixtext_iterator * xccdf_rule_get_fixtexts ( const struct xccdf_rule rule  )  [read]
bool xccdf_rule_get_hidden ( const struct xccdf_rule rule  ) 
const char * xccdf_rule_get_id ( const struct xccdf_rule rule  ) 
struct xccdf_ident_iterator * xccdf_rule_get_idents ( const struct xccdf_rule rule  )  [read]
const char * xccdf_rule_get_impact_metric ( const struct xccdf_rule rule  ) 
bool xccdf_rule_get_multiple ( const struct xccdf_rule rule  ) 
struct xccdf_item * xccdf_rule_get_parent ( const struct xccdf_rule rule  )  [read]

Return rule's parent in the grouping hierarchy.

Returned item will be either a group or a benchmark.

struct oscap_string_iterator * xccdf_rule_get_platforms ( const struct xccdf_rule rule  )  [read]
struct xccdf_profile_note_iterator * xccdf_rule_get_profile_notes ( const struct xccdf_rule rule  )  [read]
bool xccdf_rule_get_prohibit_changes ( const struct xccdf_rule rule  ) 
struct oscap_text_iterator * xccdf_rule_get_question ( const struct xccdf_rule rule  )  [read]
struct oscap_text_iterator * xccdf_rule_get_rationale ( const struct xccdf_rule rule  )  [read]
struct xccdf_reference_iterator * xccdf_rule_get_references ( const struct xccdf_rule rule  )  [read]
struct oscap_stringlist_iterator * xccdf_rule_get_requires ( const struct xccdf_rule rule  )  [read]
xccdf_role_t xccdf_rule_get_role ( const struct xccdf_rule rule  ) 
bool xccdf_rule_get_selected ( const struct xccdf_rule rule  ) 
xccdf_level_t xccdf_rule_get_severity ( const struct xccdf_rule rule  ) 
xccdf_status_type_t xccdf_rule_get_status_current ( const struct xccdf_rule rule  ) 
struct xccdf_status_iterator * xccdf_rule_get_statuses ( const struct xccdf_rule rule  )  [read]
struct oscap_text_iterator * xccdf_rule_get_title ( const struct xccdf_rule rule  )  [read]
const char * xccdf_rule_get_version ( const struct xccdf_rule rule  ) 
time_t xccdf_rule_get_version_time ( const struct xccdf_rule rule  ) 
const char * xccdf_rule_get_version_update ( const struct xccdf_rule rule  ) 
struct xccdf_warning_iterator * xccdf_rule_get_warnings ( const struct xccdf_rule rule  )  [read]
float xccdf_rule_get_weight ( const struct xccdf_rule rule  ) 
bool xccdf_rule_set_cluster_id ( struct xccdf_rule item,
const char *  newval 
)
bool xccdf_rule_set_extends ( struct xccdf_rule item,
const char *  newval 
)
bool xccdf_rule_set_id ( struct xccdf_rule item,
const char *  newval 
)
bool xccdf_rule_set_version ( struct xccdf_rule item,
const char *  newval 
)
bool xccdf_rule_set_version_time ( struct xccdf_rule item,
time_t  newval 
)
bool xccdf_rule_set_version_update ( struct xccdf_rule item,
const char *  newval 
)
bool xccdf_rule_set_weight ( struct xccdf_rule item,
xccdf_numeric  newval 
)
struct xccdf_item * xccdf_rule_to_item ( struct xccdf_rule item  )  [read]

The documentation for this struct was generated from the following file:

Generated on 24 Mar 2010 for Open SCAP Library by  doxygen 1.6.1