A base class for XCCDF items. More...
#include <xccdf.h>
Data Fields | |
| xccdf_type_t | type |
| struct xccdf_item_base | item |
| union { | |
| struct xccdf_profile_item profile | |
| struct xccdf_benchmark_item bench | |
| struct xccdf_rule_item rule | |
| struct xccdf_group_item group | |
| struct xccdf_value_item value | |
| struct xccdf_result_item result | |
| } | sub |
Related Functions | |
(Note that these are not member functions.) | |
| xccdf_type_t | xccdf_item_get_type (const struct xccdf_item *item) |
| Get item type. | |
| const char * | xccdf_item_get_id (const struct xccdf_item *item) |
| Get item ID. | |
| const char * | xccdf_item_get_title (const struct xccdf_item *item) |
| Get item title. | |
| const char * | xccdf_item_get_description (const struct xccdf_item *item) |
| Get item description. | |
| const char * | xccdf_item_get_version (const struct xccdf_item *item) |
| Get item version. | |
| struct xccdf_item * | xccdf_item_get_extends (const struct xccdf_item *item) |
| Return item's parent in the inheritance hierarchy. | |
| struct xccdf_item * | xccdf_item_get_parent (const struct xccdf_item *item) |
| Return item's parent in the grouping hierarchy. | |
| struct xccdf_status_iterator * | xccdf_item_get_statuses (const struct xccdf_item *item) |
| Get an iterator to item statuses. | |
| struct xccdf_reference_iterator * | xccdf_item_get_references (const struct xccdf_item *item) |
| Get an iterator to the XCCDF references of the item. | |
| xccdf_status_type_t | xccdf_item_get_status_current (const struct xccdf_item *item) |
| Get item current status. | |
| struct xccdf_benchmark * | xccdf_item_cast_benchmark (struct xccdf_item *item) |
| Convert the item to a benchmark. | |
| struct xccdf_profile * | xccdf_item_cast_profile (struct xccdf_item *item) |
| Convert the item to a profile. | |
| struct xccdf_rule * | xccdf_item_cast_rule (struct xccdf_item *item) |
| Convert the item to a rule. | |
| struct xccdf_group * | xccdf_item_cast_group (struct xccdf_item *item) |
| Convert the item to a group. | |
| struct xccdf_value * | xccdf_item_cast_value (struct xccdf_item *item) |
| Convert the item to a value. | |
| struct xccdf_result * | xccdf_item_cast_result (struct xccdf_item *item) |
| Convert the item to a test result. | |
A base class for XCCDF items.
1.6.1