Open SCAP Library
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.
struct cvrf_threat * cvrf_threat_new (void)
 New CVRF Threat element.
void cvrf_threat_free (struct cvrf_threat *threat)
 Deallocates memory for a Threat element of the Threats container.
struct cvrf_threat * cvrf_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_iterator * cvrf_threat_get_product_ids (struct cvrf_threat *threat)
struct oscap_string_iterator * cvrf_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_stringlist * product_ids
struct oscap_stringlist * group_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:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines