cpe_reference Struct Reference
[Private membersCPE Dictionary]

CPE dictionary item reference. More...

#include <cpedict_priv.h>

Data Fields

struct xml_metadata xml
char * href
char * content

Related Functions

(Note that these are not member functions.)



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 * cpe_reference_get_href (const struct cpe_reference *item)
 cpe_reference functions to get href of reference
const char * cpe_reference_get_content (const struct cpe_reference *item)
 cpe_reference functions to get content of reference
Free functions

Destructors of CVE model structures.

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



void cpe_reference_free (struct cpe_reference *ref)
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 cpe_referencecpe_reference_new (void)
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 cpe_reference_set_href (struct cpe_reference *reference, const char *new_href)
bool cpe_reference_set_content (struct cpe_reference *reference, const char *new_content)

Detailed Description

CPE dictionary item reference.


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