Loading...
Searching...
No Matches
scap_ds.h File Reference
DS

Open-scap Data Stream interface. More...

`#include "oscap.h"`
`#include "oscap_export.h"`
Include dependency graph for scap_ds.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Functions

OSCAP_API int | ds_sds_compose_from_xccdf (const char *xccdf_file, const char *target_datastream)
| takes given xccdf file and constructs a source datastream
OSCAP_API 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
OSCAP_API 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
OSCAP_API 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
OSCAP_API 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
OSCAP_API struct rds_report_request_index * | rds_report_request_index_new (void)
OSCAP_API void | rds_report_request_index_free (struct rds_report_request_index *s)
OSCAP_API const char * | rds_report_request_index_get_id (struct rds_report_request_index *s)
OSCAP_API struct rds_asset_index * | rds_asset_index_new (void)
OSCAP_API void | rds_asset_index_free (struct rds_asset_index *s)
OSCAP_API const char * | rds_asset_index_get_id (struct rds_asset_index *s)
OSCAP_API void | rds_asset_index_add_report_ref (struct rds_asset_index *s, struct rds_report_index *report)
OSCAP_API struct rds_report_index_iterator * | rds_asset_index_get_reports (struct rds_asset_index *s)
OSCAP_API struct rds_report_index * | rds_report_index_new (void)
OSCAP_API void | rds_report_index_free (struct rds_report_index *s)
OSCAP_API const char * | rds_report_index_get_id (struct rds_report_index *s)
OSCAP_API void | rds_report_index_set_request (struct rds_report_index *s, struct rds_report_request_index *request)
OSCAP_API struct rds_report_request_index * | rds_report_index_get_request (struct rds_report_index *s)

## Detailed Description

Open-scap Data Stream interface.

Author
  Martin Preisler mprei.nosp@m.sle@.nosp@m.redha.nosp@m.t.co.nosp@m.m