cpe_version Struct Reference
[Private membersCPE Dictionary]

Version of product. More...

#include <cpedict_priv.h>

Data Fields

struct xml_metadata xml
char * value
struct oscap_listupdates

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.



struct cpe_version_iteratorcpe_product_get_versions (const struct cpe_product *item)
 cpe_product functions to get versions of product
const char * cpe_version_get_value (const struct cpe_version *item)
 cpe_version functions to get vupdates of versions
Free functions

Destructors of CVE model structures.

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



void cpe_version_free (struct cpe_version *version)
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_versioncpe_version_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_version_set_value (struct cpe_version *version, const char *new_value)
Add functions

Functions to add member to list.

Return value is true if added succesfuly or false in case of error.



bool cpe_version_add_update (struct cpe_version *version, struct cpe_update *new_update)

Detailed Description

Version of product.


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