Open SCAP Library
|
Structure holding CVE summary data. More...
#include <cve_priv.h>
Public Member Functions | |
OSCAP_API struct cve_summary * | cve_summary_new (void) |
New CVE summary. More... | |
OSCAP_API struct cve_summary * | cve_summary_clone (struct cve_summary *old_sum) |
Clone CVE summary. More... | |
OSCAP_API void | cve_summary_free (struct cve_summary *summary) |
Free CVE summary. More... | |
Getters | |
Return value is pointer to structure's member. Do not free unless you null the pointer in the structure. Use remove function otherwise. | |
OSCAP_API const char * | cve_summary_get_summary (const struct cve_summary *summary) |
Get value from CVE summary. More... | |
Setters | |
For lists use add functions. Parameters of set functions are duplicated in memory and need to be freed by caller. | |
OSCAP_API bool | cve_summary_set_summary (struct cve_summary *summary, const char *new_summary) |
Set summary of CVE summary. More... | |
Data Fields | |
char * | summary |
Structure holding CVE summary data.