Open SCAP Library
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
cvrf_session Struct Reference
Collaboration diagram for cvrf_session:
[legend]

Public Member Functions

OSCAP_API struct cvrf_sessioncvrf_session_new_from_source_model (struct oscap_source *source)
 
OSCAP_API struct cvrf_sessioncvrf_session_new_from_source_index (struct oscap_source *source)
 
OSCAP_API void cvrf_session_free (struct cvrf_session *session)
 Deallocates memory for a CVRF Session structure. More...
 
OSCAP_API struct cvrf_modelcvrf_session_get_model (struct cvrf_session *session)
 
OSCAP_API struct cvrf_indexcvrf_session_get_index (const struct cvrf_session *session)
 
OSCAP_API struct oscap_string_iteratorcvrf_session_get_product_ids (struct cvrf_session *session)
 After filtering the CVRF model structure by the CPE, all the ProductIDs related to that operating system should be held in this stringlist. More...
 
OSCAP_API const char * cvrf_session_get_os_name (const struct cvrf_session *session)
 
OSCAP_API void cvrf_session_set_model (struct cvrf_session *session, struct cvrf_model *model)
 Add the CVRF model to be evaluated to the Session structure. More...
 
OSCAP_API bool cvrf_session_set_index (struct cvrf_session *session, struct cvrf_index *index)
 Add the CVRF index to be evaluated to the Session structure. More...
 
OSCAP_API bool cvrf_session_set_os_name (struct cvrf_session *session, const char *os_name)
 Add the CPE name for filtering of relevant ProductIDs and CVRF elements. More...
 
OSCAP_API struct oscap_sourcecvrf_model_get_results_source (struct oscap_source *import_source, const char *os_name)
 Import and parse the CVRF Model from the provided source, filter it by CPE to find appropriate packages, check these for vulnerabilities, and generate an XML document of the results. More...
 
OSCAP_API struct oscap_sourcecvrf_index_get_results_source (struct oscap_source *import_source, const char *os_name)
 Import and parse the CVRF Index from the provided source, filter it by CPE to find appropriate packages, check these for vulnerabilities, and generate an XML document of the results. More...
 

Data Fields

struct cvrf_indexindex
 
struct cvrf_modelmodel
 
char * os_name
 
struct oscap_sourcesource
 
struct oscap_stringlistproduct_ids
 
struct oval_definition_modeldef_model
 

The documentation for this struct was generated from the following files: