Loading...
Searching...
No Matches
xccdf_group Struct Reference
XCCDF

XCCDF rule group. More...

`#include <xccdf_benchmark.h>`

## Public Member Functions

OSCAP_API struct xccdf_group * | xccdf_group_new (void)
OSCAP_API void | xccdf_group_free (struct xccdf_item *group)
OSCAP_API struct xccdf_item * | xccdf_group_to_item (struct xccdf_group *item)
OSCAP_API struct xccdf_group * | xccdf_group_clone (const struct xccdf_group *group)
Getters
Return value is pointer to structure's member. Do not free unless you null the pointer in the structure. Use remove function otherwise.
OSCAP_API struct xccdf_item_iterator * | xccdf_group_get_content (const struct xccdf_group *group)
| Get an iterator to the group content.
OSCAP_API struct xccdf_value_iterator * | xccdf_group_get_values (const struct xccdf_group *group)
OSCAP_API const char * | xccdf_group_get_id (const struct xccdf_group *group)
OSCAP_API struct oscap_text_iterator * | xccdf_group_get_title (const struct xccdf_group *group)
OSCAP_API struct oscap_text_iterator * | xccdf_group_get_description (const struct xccdf_group *group)
OSCAP_API const char * | xccdf_group_get_version (const struct xccdf_group *group)
OSCAP_API struct oscap_text_iterator * | xccdf_group_get_question (const struct xccdf_group *group)
OSCAP_API struct xccdf_warning_iterator * | xccdf_group_get_warnings (const struct xccdf_group *group)
OSCAP_API struct oscap_text_iterator * | xccdf_group_get_rationale (const struct xccdf_group *group)
OSCAP_API const char * | xccdf_group_get_cluster_id (const struct xccdf_group *group)
OSCAP_API float | xccdf_group_get_weight (const struct xccdf_group *group)
OSCAP_API bool | xccdf_group_set_weight (struct xccdf_group *item, xccdf_numeric newval)
OSCAP_API const char * | xccdf_group_get_extends (const struct xccdf_group *group)
OSCAP_API bool | xccdf_group_get_abstract (const struct xccdf_group *group)
OSCAP_API bool | xccdf_group_get_prohibit_changes (const struct xccdf_group *group)
OSCAP_API bool | xccdf_group_get_hidden (const struct xccdf_group *group)
OSCAP_API bool | xccdf_group_get_selected (const struct xccdf_group *group)
OSCAP_API struct oscap_string_iterator * | xccdf_group_get_platforms (const struct xccdf_group *group)
OSCAP_API struct xccdf_status_iterator * | xccdf_group_get_statuses (const struct xccdf_group *group)
OSCAP_API struct oscap_reference_iterator * | xccdf_group_get_dc_statuses (const struct xccdf_group *group)
OSCAP_API struct oscap_reference_iterator * | xccdf_group_get_references (const struct xccdf_group *group)
OSCAP_API struct xccdf_status * | xccdf_group_get_status_current (const struct xccdf_group *group)
OSCAP_API struct oscap_string_iterator * | xccdf_group_get_conflicts (const struct xccdf_group *group)
OSCAP_API struct oscap_stringlist_iterator * | xccdf_group_get_requires (const struct xccdf_group *group)
OSCAP_API struct oscap_string_iterator * | xccdf_group_get_metadata (const struct xccdf_group *group)
OSCAP_API const char * | xccdf_group_get_version_time (const struct xccdf_group *group)
OSCAP_API const char * | xccdf_group_get_version_update (const struct xccdf_group *group)
OSCAP_API struct xccdf_benchmark * | xccdf_group_get_benchmark (const struct xccdf_group *group)
Setters
For lists use add functions. Parameters of set functions are duplicated in memory and need to be freed by caller.
OSCAP_API bool | xccdf_group_set_id (struct xccdf_group *item, const char *newval)
OSCAP_API bool | xccdf_group_set_cluster_id (struct xccdf_group *item, const char *newval)
OSCAP_API bool | xccdf_group_set_extends (struct xccdf_group *item, const char *newval)
OSCAP_API bool | xccdf_group_set_version (struct xccdf_group *item, const char *newval)
OSCAP_API bool | xccdf_group_set_version_time (struct xccdf_group *item, const char *newval)
OSCAP_API bool | xccdf_group_set_version_update (struct xccdf_group *item, const char *newval)
OSCAP_API bool | xccdf_group_set_abstract (struct xccdf_group *item, bool newval)
OSCAP_API bool | xccdf_group_set_hidden (struct xccdf_group *item, bool newval)
OSCAP_API bool | xccdf_group_set_prohibit_changes (struct xccdf_group *item, bool newval)
OSCAP_API bool | xccdf_group_set_selected (struct xccdf_group *item, bool newval)
OSCAP_API bool | xccdf_group_add_metadata (struct xccdf_group *item, const char *metadata)
OSCAP_API bool | xccdf_group_add_description (struct xccdf_group *item, struct oscap_text *newval)
OSCAP_API bool | xccdf_group_add_platform (struct xccdf_group *item, const char *newval)
OSCAP_API bool | xccdf_group_add_question (struct xccdf_group *item, struct oscap_text *newval)
OSCAP_API bool | xccdf_group_add_rationale (struct xccdf_group *item, struct oscap_text *newval)
OSCAP_API bool | xccdf_group_add_reference (struct xccdf_group *item, struct oscap_reference *newval)
OSCAP_API bool | xccdf_group_add_status (struct xccdf_group *item, struct xccdf_status *newval)
OSCAP_API bool | xccdf_group_add_dc_status (struct xccdf_group *item, struct oscap_reference *newval)
OSCAP_API bool | xccdf_group_add_title (struct xccdf_group *item, struct oscap_text *newval)
OSCAP_API bool | xccdf_group_add_warning (struct xccdf_group *item, struct xccdf_warning *newval)
OSCAP_API bool | xccdf_group_add_rule (struct xccdf_group *group, struct xccdf_rule *item)
OSCAP_API bool | xccdf_group_add_group (struct xccdf_group *group, struct xccdf_group *item)
OSCAP_API bool | xccdf_group_add_value (struct xccdf_group *group, struct xccdf_value *item)
OSCAP_API bool | xccdf_group_add_content (struct xccdf_group *rule, struct xccdf_item *item)
OSCAP_API bool | xccdf_group_add_requires (struct xccdf_group *group, struct oscap_stringlist *requires_)
OSCAP_API bool | xccdf_group_add_conflicts (struct xccdf_group *group, const char *conflicts)

## Detailed Description

XCCDF rule group.

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

- xccdf_benchmark.h