Open SCAP Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
cvrf_session Struct Reference

Public Member Functions

struct cvrf_sessioncvrf_session_new_from_source_model (struct oscap_source *source)
 
struct cvrf_sessioncvrf_session_new_from_source_index (struct oscap_source *source)
 
void cvrf_session_free (struct cvrf_session *session)
 Deallocates memory for a CVRF Session structure. More...
 
struct cvrf_modelcvrf_session_get_model (struct cvrf_session *session)
 
struct cvrf_indexcvrf_session_get_index (const struct cvrf_session *session)
 
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...
 
const char * cvrf_session_get_os_name (const struct cvrf_session *session)
 
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...
 
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...
 
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...
 
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...
 
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: