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

Public Member Functions

xmlNode * cvrf_vulnerability_cwe_to_dom (const struct cvrf_vulnerability_cwe *vuln_cwe)
 Parent: Vulnerability element. More...
 
OSCAP_API struct
cvrf_vulnerability_cwe
cvrf_vulnerability_cwe_new (void)
 New CVRF CWE structure. More...
 
OSCAP_API void cvrf_vulnerability_cwe_free (struct cvrf_vulnerability_cwe *cwe)
 Deallocates memory for a CWE element. More...
 
OSCAP_API struct
cvrf_vulnerability_cwe
cvrf_vulnerability_cwe_clone (const struct cvrf_vulnerability_cwe *cwe)
 
OSCAP_API const char * cvrf_vulnerability_cwe_get_cwe (const struct cvrf_vulnerability_cwe *vuln_cwe)
 
OSCAP_API const char * cvrf_vulnerability_cwe_get_id (const struct cvrf_vulnerability_cwe *vuln_cwe)
 
OSCAP_API bool cvrf_vulnerability_cwe_set_cwe (struct cvrf_vulnerability_cwe *vuln_cwe, const char *cwe)
 
OSCAP_API bool cvrf_vulnerability_cwe_set_id (struct cvrf_vulnerability_cwe *vuln_cwe, const char *id)
 

Data Fields

char * cwe
 
char * id
 

Member Function Documentation

xmlNode * cvrf_vulnerability_cwe_to_dom ( const struct cvrf_vulnerability_cwe vuln_cwe)

Parent: Vulnerability element.

Parameters
vuln_cweCWE structure to be exported to XML
Returns
xmlNode representing CWE element

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