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

Public Member Functions

cvrf_threat_type_t cvrf_threat_get_threat_type (struct cvrf_threat *threat)
 
xmlNode * cvrf_threat_to_dom (const struct cvrf_threat *threat)
 Parent: Threats container in a CVRF Vulnerability element. More...
 
struct cvrf_threatcvrf_threat_new (void)
 New CVRF Threat element. More...
 
void cvrf_threat_free (struct cvrf_threat *threat)
 Deallocates memory for a Threat element of the Threats container. More...
 
struct cvrf_threatcvrf_threat_clone (const struct cvrf_threat *threat)
 
const char * cvrf_threat_get_date (const struct cvrf_threat *threat)
 
const char * cvrf_threat_get_description (const struct cvrf_threat *threat)
 
struct oscap_string_iteratorcvrf_threat_get_product_ids (struct cvrf_threat *threat)
 
struct oscap_string_iteratorcvrf_threat_get_group_ids (struct cvrf_threat *threat)
 
bool cvrf_threat_set_date (struct cvrf_threat *threat, const char *date)
 
bool cvrf_threat_set_description (struct cvrf_threat *threat, const char *description)
 

Data Fields

cvrf_threat_type_t type
 
char * date
 
char * description
 
struct oscap_stringlistproduct_ids
 
struct oscap_stringlistgroup_ids
 

Member Function Documentation

cvrf_threat_type_t cvrf_threat_get_threat_type ( struct cvrf_threat threat)

Category of information provided by the Threat about the Vulnerability

Parameters
threatCVRF Threat structure
Returns
Enum representing Type attribute of the Threat element
xmlNode * cvrf_threat_to_dom ( const struct cvrf_threat threat)

Parent: Threats container in a CVRF Vulnerability element.

Parameters
threatCVRF Threat structure to be exported to XML
Returns
xmlNode representing Threat element

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