Public Member Functions |
struct xccdf_benchmark * | xccdf_benchmark_parse_xml (const char *filename) |
| Create a new benmchmark from a benchmark XML file.
|
const char * | xccdf_benchmark_get_id (const struct xccdf_benchmark *benchmark) |
bool | xccdf_benchmark_get_resolved (const struct xccdf_benchmark *benchmark) |
struct oscap_text_iterator * | xccdf_benchmark_get_title (const struct xccdf_benchmark *benchmark) |
struct oscap_text_iterator * | xccdf_benchmark_get_description (const struct xccdf_benchmark *benchmark) |
const char * | xccdf_benchmark_get_version (const struct xccdf_benchmark *benchmark) |
const char * | xccdf_benchmark_get_style (const struct xccdf_benchmark *benchmark) |
const char * | xccdf_benchmark_get_style_href (const struct xccdf_benchmark *benchmark) |
struct oscap_text_iterator * | xccdf_benchmark_get_front_matter (const struct xccdf_benchmark *benchmark) |
struct oscap_text_iterator * | xccdf_benchmark_get_rear_matter (const struct xccdf_benchmark *benchmark) |
const char * | xccdf_benchmark_get_metadata (const struct xccdf_benchmark *benchmark) |
struct xccdf_status_iterator * | xccdf_benchmark_get_statuses (const struct xccdf_benchmark *benchmark) |
struct xccdf_reference_iterator * | xccdf_benchmark_get_references (const struct xccdf_benchmark *benchmark) |
struct oscap_string_iterator * | xccdf_benchmark_get_platforms (const struct xccdf_benchmark *benchmark) |
xccdf_status_type_t | xccdf_benchmark_get_status_current (const struct xccdf_benchmark *benchmark) |
void | xccdf_benchmark_free (struct xccdf_benchmark *benchmark) |
struct xccdf_item * | xccdf_benchmark_to_item (struct xccdf_benchmark *item) |
struct xccdf_result_iterator * | xccdf_benchmark_get_results (const struct xccdf_benchmark *bench) |
bool | xccdf_benchmark_add_result (struct xccdf_benchmark *bench, struct xccdf_result *result) |
bool | xccdf_benchmark_add_description (struct xccdf_benchmark *item, struct oscap_text *newval) |
bool | xccdf_benchmark_add_platform (struct xccdf_benchmark *item, const char *newval) |
bool | xccdf_benchmark_add_reference (struct xccdf_benchmark *item, struct xccdf_reference *newval) |
bool | xccdf_benchmark_add_status (struct xccdf_benchmark *item, struct xccdf_status *newval) |
bool | xccdf_benchmark_add_title (struct xccdf_benchmark *item, struct oscap_text *newval) |
const char * | xccdf_benchmark_get_plain_text (const struct xccdf_benchmark *benchmark, const char *id) |
| Get a plain text by ID.
|
struct xccdf_item * | xccdf_benchmark_get_item (const struct xccdf_benchmark *benchmark, const char *id) |
| Get benchmark item by ID.
|
struct xccdf_notice_iterator * | xccdf_benchmark_get_notices (const struct xccdf_benchmark *benchmark) |
| Get an iterator to the benchmark legal notices.
|
struct xccdf_model_iterator * | xccdf_benchmark_get_models (const struct xccdf_benchmark *benchmark) |
| Get an iterator to the benchmark scoring models.
|
struct xccdf_profile_iterator * | xccdf_benchmark_get_profiles (const struct xccdf_benchmark *benchmark) |
| Get an iterator to the benchmark XCCDF profiles.
|
struct xccdf_item_iterator * | xccdf_benchmark_get_content (const struct xccdf_benchmark *benchmark) |
| Get an iterator to the bencmark content.
|
const char * | xccdf_benchmark_supported (void) |
| Get supported version of XCCDF XML.
|
bool | xccdf_benchmark_set_id (struct xccdf_benchmark *item, const char *newval) |
bool | xccdf_benchmark_set_version (struct xccdf_benchmark *item, const char *newval) |
bool | xccdf_benchmark_set_version_time (struct xccdf_benchmark *item, time_t newval) |
bool | xccdf_benchmark_set_version_update (struct xccdf_benchmark *item, const char *newval) |
struct xccdf_warning_iterator * | xccdf_benchmark_get_warnings (const struct xccdf_benchmark *benchmark) |
const char * | xccdf_benchmark_get_version_update (const struct xccdf_benchmark *benchmark) |
time_t | xccdf_benchmark_get_version_time (const struct xccdf_benchmark *benchmark) |
struct xccdf_benchmark * | xccdf_benchmark_create (const char *id) |
| Create a new benchmark from a benchmark XML file.
|
XCCDF Benchmark.