#include "oscap.h"
Go to the source code of this file.
Functions | |
| int | ds_sds_decompose (const char *input_file, const char *id, const char *xccdf_id, const char *target_dir, const char *target_filename) |
| takes given source data stream and decomposes it into separate files | |
| int | ds_sds_decompose_custom (const char *input_file, const char *id, const char *target_dir, const char *container_name, const char *component_id, const char *target_filename) |
| same as ds_sds_decompose but works with other components than just XCCDFs | |
| int | ds_sds_compose_from_xccdf (const char *xccdf_file, const char *target_datastream) |
| takes given xccdf file and constructs a source datastream | |
| int | ds_sds_compose_add_component (const char *target_datastream, const char *datastream_id, const char *new_component, bool extended) |
| append a new given component to the existing source datastream | |
| int | ds_rds_decompose (const char *input_file, const char *report_id, const char *request_id, const char *target_dir) |
| int | ds_rds_create (const char *sds_file, const char *xccdf_result_file, const char **oval_result_files, const char *target_file) |
| takes given source data stream and XCCDF result file and makes a result data stream | |
| struct ds_stream_index * | ds_stream_index_new (void) |
| ds_stream_index | |
| void | ds_stream_index_free (struct ds_stream_index *s) |
| ds_stream_index | |
| const char * | ds_stream_index_get_id (struct ds_stream_index *s) |
| Gets ID of the <data-stream> element the index represents. | |
| const char * | ds_stream_index_get_timestamp (struct ds_stream_index *s) |
| Timestamp of creation OR modification of the <data-stream> element the index represents. | |
| const char * | ds_stream_index_get_version (struct ds_stream_index *s) |
| scap-version of the the <data-stream> element the index represents. | |
| struct oscap_string_iterator * | ds_stream_index_get_checks (struct ds_stream_index *s) |
| Retrieves iterator over all components inside the <checks> element. | |
| struct oscap_string_iterator * | ds_stream_index_get_checklists (struct ds_stream_index *s) |
| Retrieves iterator over all components inside the <checklists> element. | |
| struct oscap_string_iterator * | ds_stream_index_get_dictionaries (struct ds_stream_index *s) |
| Retrieves iterator over all components inside the <dictionaries> element. | |
| struct oscap_string_iterator * | ds_stream_index_get_extended_components (struct ds_stream_index *s) |
| Retrieves iterator over all components inside the <extended-components> element. | |
| struct ds_sds_index * | ds_sds_index_new (void) |
| ds_sds_index | |
| void | ds_sds_index_free (struct ds_sds_index *s) |
| ds_sds_index | |
| struct ds_stream_index * | ds_sds_index_get_stream (struct ds_sds_index *s, const char *stream_id) |
| retrieves a stream index by data-stream ID | |
| struct ds_stream_index_iterator * | ds_sds_index_get_streams (struct ds_sds_index *s) |
| retrieves all streams indexed inside this structure | |
| struct ds_sds_index * | ds_sds_index_import (const char *file) |
| imports given source datastream and indexes it | |
| int | ds_sds_index_select_checklist (struct ds_sds_index *s, const char **datastream_id, const char **component_id) |
| chooses datastream and checklist id combination given the IDs | |
| int | ds_sds_index_select_checklist_by_benchmark_id (struct ds_sds_index *s, const char *benchmark_id, const char **datastream_id, const char **component_ref_id) |
| chooses datastream and checklist component ref ID combination, given benchmark ID | |
| struct ds_stream_index * | ds_stream_index_iterator_next (struct ds_stream_index_iterator *it) |
| ds_stream_index_iterator | |
| bool | ds_stream_index_iterator_has_more (struct ds_stream_index_iterator *it) |
| ds_stream_index_iterator | |
| void | ds_stream_index_iterator_free (struct ds_stream_index_iterator *it) |
| ds_stream_index_iterator | |
| struct rds_report_request_index * | rds_report_request_index_new (void) |
| void | rds_report_request_index_free (struct rds_report_request_index *s) |
| const char * | rds_report_request_index_get_id (struct rds_report_request_index *s) |
| struct rds_asset_index * | rds_asset_index_new (void) |
| void | rds_asset_index_free (struct rds_asset_index *s) |
| const char * | rds_asset_index_get_id (struct rds_asset_index *s) |
| void | rds_asset_index_add_report_ref (struct rds_asset_index *s, struct rds_report_index *report) |
| struct rds_report_index_iterator * | rds_asset_index_get_reports (struct rds_asset_index *s) |
| struct rds_report_index * | rds_report_index_new (void) |
| void | rds_report_index_free (struct rds_report_index *s) |
| const char * | rds_report_index_get_id (struct rds_report_index *s) |
| void | rds_report_index_set_request (struct rds_report_index *s, struct rds_report_request_index *request) |
| struct rds_report_request_index * | rds_report_index_get_request (struct rds_report_index *s) |
| struct rds_report_request_index * | rds_report_request_index_iterator_next (struct rds_report_request_index_iterator *it) |
| rds_report_request_index_iterator | |
| bool | rds_report_request_index_iterator_has_more (struct rds_report_request_index_iterator *it) |
| rds_report_request_index_iterator | |
| void | rds_report_request_index_iterator_free (struct rds_report_request_index_iterator *it) |
| rds_report_request_index_iterator | |
| struct rds_asset_index * | rds_asset_index_iterator_next (struct rds_asset_index_iterator *it) |
| rds_asset_index_iterator | |
| bool | rds_asset_index_iterator_has_more (struct rds_asset_index_iterator *it) |
| rds_asset_index_iterator | |
| void | rds_asset_index_iterator_free (struct rds_asset_index_iterator *it) |
| rds_asset_index_iterator | |
| struct rds_report_index * | rds_report_index_iterator_next (struct rds_report_index_iterator *it) |
| rds_report_index_iterator | |
| bool | rds_report_index_iterator_has_more (struct rds_report_index_iterator *it) |
| rds_report_index_iterator | |
| void | rds_report_index_iterator_free (struct rds_report_index_iterator *it) |
| rds_report_index_iterator | |
| struct rds_index * | rds_index_new (void) |
| rds_index | |
| void | rds_index_free (struct rds_index *s) |
| rds_index | |
|
struct rds_report_request_index_iterator * | rds_index_get_report_requests (struct rds_index *s) |
| rds_index | |
| struct rds_asset_index_iterator * | rds_index_get_assets (struct rds_index *s) |
| rds_index | |
| struct rds_report_index_iterator * | rds_index_get_reports (struct rds_index *s) |
| rds_index | |
| struct rds_report_request_index * | rds_index_get_report_request (struct rds_index *rds, const char *id) |
| rds_index | |
| struct rds_asset_index * | rds_index_get_asset (struct rds_index *rds, const char *id) |
| rds_index | |
| struct rds_report_index * | rds_index_get_report (struct rds_index *rds, const char *id) |
| rds_index | |
| struct rds_index * | rds_index_import (const char *file) |
| rds_index | |
| int | rds_index_select_report (struct rds_index *s, const char **report_id) |
| rds_index | |
1.5.6