22 #ifndef DS_RDS_SESSION_H
23 #define DS_RDS_SESSION_H
30 #include "oscap_source.h"
General OpenScap functions and types.
char * ds_rds_session_get_html_report(struct ds_rds_session *rds_session)
Returns HTML representation of the given result datastream.
Definition: ds_rds_session.c:178
int ds_rds_session_dump_component_files(struct ds_rds_session *session)
Store cached component files to the hard drive.
Definition: ds_rds_session.c:118
int ds_rds_session_replace_report_with_source(struct ds_rds_session *session, struct oscap_source *source)
Replace currently selected report with the content of the source.
Definition: ds_rds_session.c:160
struct oscap_source * source
Result DataStream raw representation.
Definition: ds_rds_session.c:43
Definition: ds_rds_session.c:42
struct rds_index * ds_rds_session_get_rds_idx(struct ds_rds_session *session)
Get Result DataStream index.
Definition: ds_rds_session.c:72
Represents <asset-report-collection> element - the root element of each result datastream in Asset Re...
Definition: rds_index.c:41
Definition: oscap_source.c:62
struct ds_rds_session * ds_rds_session_new_from_source(struct oscap_source *source)
Create new ds_rds_session from existing oscap_source.
Definition: ds_rds_session.c:50
int ds_rds_session_set_target_dir(struct ds_rds_session *session, const char *target_dir)
Set target directory for the component files.
Definition: ds_rds_session.c:95
void ds_rds_session_free(struct ds_rds_session *rds_session)
Dispose ds_rds_session structure.
Definition: ds_rds_session.c:63
struct oscap_source * ds_rds_session_select_report_request(struct ds_rds_session *session, const char *report_request_id)
Select arf:report-request from result DataStream and return it in form of oscap_source.
Definition: ds_rds_session.c:139
Open-scap Data Stream interface.
struct oscap_source * ds_rds_session_select_report(struct ds_rds_session *session, const char *report_id)
Select arf:report from result DataStream and return it in form of oscap_source.
Definition: ds_rds_session.c:123