xccdf_group Struct Reference
[XCCDFXCCDF Rule]

XCCDF rule group. More...

#include <xccdf.h>

Public Member Functions

struct xccdf_itemxccdf_group_get_parent (const struct xccdf_group *group)
 Return group's parent in the grouping hierarchy.
struct xccdf_item_iteratorxccdf_group_get_content (const struct xccdf_group *benchmark)
 Get an iterator to the group content.
const char * xccdf_group_get_id (const struct xccdf_group *group)
struct oscap_text_iteratorxccdf_group_get_title (const struct xccdf_group *group)
struct oscap_text_iteratorxccdf_group_get_description (const struct xccdf_group *group)
const char * xccdf_group_get_version (const struct xccdf_group *group)
struct oscap_text_iteratorxccdf_group_get_question (const struct xccdf_group *group)
struct xccdf_warning_iteratorxccdf_group_get_warnings (const struct xccdf_group *group)
struct oscap_text_iteratorxccdf_group_get_rationale (const struct xccdf_group *group)
const char * xccdf_group_get_cluster_id (const struct xccdf_group *group)
float xccdf_group_get_weight (const struct xccdf_group *group)
bool xccdf_group_set_weight (struct xccdf_group *item, xccdf_numeric newval)
const char * xccdf_group_get_extends (const struct xccdf_group *group)
bool xccdf_group_get_abstract (const struct xccdf_group *group)
bool xccdf_group_get_prohibit_changes (const struct xccdf_group *group)
bool xccdf_group_get_hidden (const struct xccdf_group *group)
bool xccdf_group_get_selected (const struct xccdf_group *group)
struct oscap_string_iteratorxccdf_group_get_platforms (const struct xccdf_group *group)
struct xccdf_status_iteratorxccdf_group_get_statuses (const struct xccdf_group *group)
struct xccdf_reference_iteratorxccdf_group_get_references (const struct xccdf_group *group)
xccdf_status_type_t xccdf_group_get_status_current (const struct xccdf_group *group)
struct oscap_string_iteratorxccdf_group_get_conflicts (const struct xccdf_group *group)
struct oscap_stringlist_iteratorxccdf_group_get_requires (const struct xccdf_group *group)
struct xccdf_itemxccdf_group_to_item (struct xccdf_group *item)
bool xccdf_group_set_id (struct xccdf_group *item, const char *newval)
bool xccdf_group_set_cluster_id (struct xccdf_group *item, const char *newval)
bool xccdf_group_set_extends (struct xccdf_group *item, const char *newval)
bool xccdf_group_set_version (struct xccdf_group *item, const char *newval)
bool xccdf_group_set_version_time (struct xccdf_group *item, time_t newval)
bool xccdf_group_set_version_update (struct xccdf_group *item, const char *newval)
bool xccdf_group_add_description (struct xccdf_group *item, struct oscap_text *newval)
bool xccdf_group_add_platform (struct xccdf_group *item, const char *newval)
bool xccdf_group_add_question (struct xccdf_group *item, struct oscap_text *newval)
bool xccdf_group_add_rationale (struct xccdf_group *item, struct oscap_text *newval)
bool xccdf_group_add_reference (struct xccdf_group *item, struct xccdf_reference *newval)
bool xccdf_group_add_status (struct xccdf_group *item, struct xccdf_status *newval)
bool xccdf_group_add_title (struct xccdf_group *item, struct oscap_text *newval)
bool xccdf_group_add_warning (struct xccdf_group *item, struct xccdf_warning *newval)
time_t xccdf_group_get_version_time (const struct xccdf_group *group)
const char * xccdf_group_get_version_update (const struct xccdf_group *group)
struct xccdf_benchmarkxccdf_group_get_benchmark (const struct xccdf_group *group)

Detailed Description

XCCDF rule group.


Member Function Documentation

bool xccdf_group_add_description ( struct xccdf_group item,
struct oscap_text newval 
)
bool xccdf_group_add_platform ( struct xccdf_group item,
const char *  newval 
)
bool xccdf_group_add_question ( struct xccdf_group item,
struct oscap_text newval 
)
bool xccdf_group_add_rationale ( struct xccdf_group item,
struct oscap_text newval 
)
bool xccdf_group_add_reference ( struct xccdf_group item,
struct xccdf_reference newval 
)
bool xccdf_group_add_status ( struct xccdf_group item,
struct xccdf_status newval 
)
bool xccdf_group_add_title ( struct xccdf_group item,
struct oscap_text newval 
)
bool xccdf_group_add_warning ( struct xccdf_group item,
struct xccdf_warning newval 
)
bool xccdf_group_get_abstract ( const struct xccdf_group group  ) 
struct xccdf_benchmark * xccdf_group_get_benchmark ( const struct xccdf_group group  )  [read]
const char * xccdf_group_get_cluster_id ( const struct xccdf_group group  ) 
struct oscap_string_iterator * xccdf_group_get_conflicts ( const struct xccdf_group group  )  [read]
struct xccdf_item_iterator * xccdf_group_get_content ( const struct xccdf_group benchmark  )  [read]

Get an iterator to the group content.

The items are either groups or rules.

See also:
xccdf_rule
xccdf_group
xccdf_item
struct oscap_text_iterator * xccdf_group_get_description ( const struct xccdf_group group  )  [read]
const char * xccdf_group_get_extends ( const struct xccdf_group group  ) 
bool xccdf_group_get_hidden ( const struct xccdf_group group  ) 
const char * xccdf_group_get_id ( const struct xccdf_group group  ) 
struct xccdf_item * xccdf_group_get_parent ( const struct xccdf_group group  )  [read]

Return group's parent in the grouping hierarchy.

Returned item will be either a group or a benchmark.

struct oscap_string_iterator * xccdf_group_get_platforms ( const struct xccdf_group group  )  [read]
bool xccdf_group_get_prohibit_changes ( const struct xccdf_group group  ) 
struct oscap_text_iterator * xccdf_group_get_question ( const struct xccdf_group group  )  [read]
struct oscap_text_iterator * xccdf_group_get_rationale ( const struct xccdf_group group  )  [read]
struct xccdf_reference_iterator * xccdf_group_get_references ( const struct xccdf_group group  )  [read]
struct oscap_stringlist_iterator * xccdf_group_get_requires ( const struct xccdf_group group  )  [read]
bool xccdf_group_get_selected ( const struct xccdf_group group  ) 
xccdf_status_type_t xccdf_group_get_status_current ( const struct xccdf_group group  ) 
struct xccdf_status_iterator * xccdf_group_get_statuses ( const struct xccdf_group group  )  [read]
struct oscap_text_iterator * xccdf_group_get_title ( const struct xccdf_group group  )  [read]
const char * xccdf_group_get_version ( const struct xccdf_group group  ) 
time_t xccdf_group_get_version_time ( const struct xccdf_group group  ) 
const char * xccdf_group_get_version_update ( const struct xccdf_group group  ) 
struct xccdf_warning_iterator * xccdf_group_get_warnings ( const struct xccdf_group group  )  [read]
float xccdf_group_get_weight ( const struct xccdf_group group  ) 
bool xccdf_group_set_cluster_id ( struct xccdf_group item,
const char *  newval 
)
bool xccdf_group_set_extends ( struct xccdf_group item,
const char *  newval 
)
bool xccdf_group_set_id ( struct xccdf_group item,
const char *  newval 
)
bool xccdf_group_set_version ( struct xccdf_group item,
const char *  newval 
)
bool xccdf_group_set_version_time ( struct xccdf_group item,
time_t  newval 
)
bool xccdf_group_set_version_update ( struct xccdf_group item,
const char *  newval 
)
bool xccdf_group_set_weight ( struct xccdf_group item,
xccdf_numeric  newval 
)
struct xccdf_item * xccdf_group_to_item ( struct xccdf_group 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