Open SCAP Library
|
Public Member Functions | |
OSCAP_API struct sce_session * | sce_session_new (void) |
OSCAP_API void | sce_session_free (struct sce_session *s) |
OSCAP_API void | sce_session_reset (struct sce_session *s) |
Removes all check results from the session. | |
OSCAP_API void | sce_session_add_check_result (struct sce_session *s, struct sce_check_result *result) |
Adds a check result to the session. | |
OSCAP_API void | sce_session_export_to_directory (struct sce_session *s, const char *directory) |
Exports all check results to given directory. | |
Data Fields | |
struct oscap_list * | results |
OSCAP_API void sce_session_add_check_result | ( | struct sce_session * | s, |
struct sce_check_result * | result ) |
Adds a check result to the session.
s | session to add the check result to |
result | result to be added (the session takes ownership of it, don't deallocate it!) |