cve_summary Struct Reference
[Private membersCVE]

Structure holding CVE summary data. More...

#include <cve_priv.h>

Data Fields

struct xml_metadata xml
char * summary

Related Functions

(Note that these are not member functions.)



Export functions

Functions for export structures to XML by XML writer.

Exported structures need to be freed by the caller.



void cve_summary_export (const struct cve_summary *sum, xmlTextWriterPtr writer)
 Export CVE summary to XML file.
Get functions

Functions for getting attributes from CVE model structures.

Return value is pointer to structure's member. Do not free unless you null the pointer in the structure. Use remove function otherwise.



const char * cve_summary_get_summary (const struct cve_summary *summary)
 Get value from CVE summary.
Set functions

Set functions assign values to members of structures except lists.

For lists use add functions. Parameters of set functions are duplicated in memory and need to be freed by caller.



bool cve_summary_set_summary (struct cve_summary *summary, const char *new_summary)
 Set summary of CVE summary.
New functions

Constructors of CVE model structures.

Free function returns new empty allocated structure. If returns non NULL it need to be freed by the caller.



struct cve_summarycve_summary_new (void)
 New CVE summary.
Free functions

Destructors of CVE model structures.

Functions free structures with all members recursively. For simple deletion of entity use remove functions.



void cve_summary_free (struct cve_summary *summary)
 Free CVE summary.

Detailed Description

Structure holding CVE summary data.


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

Generated on 4 Jan 2010 for Open SCAP Library by  doxygen 1.6.1