cpe_item_metadata Struct Reference
[Private membersCPE Dictionary]

Structure representing metadata of CPE item. More...

#include <cpedict_priv.h>

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_item_metadata_get_modification_date (const struct cpe_item_metadata *item)
 cpe_item_metadata function to get date
const char * cpe_item_metadata_get_status (const struct cpe_item_metadata *item)
 cpe_item_metadata function to get status
const char * cpe_item_metadata_get_nvd_id (const struct cpe_item_metadata *item)
 cpe_item_metadata function to get nvd ID
const char * cpe_item_metadata_get_deprecated_by_nvd_id (const struct cpe_item_metadata *item)
 cpe_item_metadata function to get NVD ID of deprecated item
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_item_metadatacpe_item_metadata_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_item_metadata_set_modification_date (struct cpe_item_metadata *item_metadata, const char *new_modification_date)
bool cpe_item_metadata_set_status (struct cpe_item_metadata *item_metadata, const char *new_status)
bool cpe_item_metadata_set_nvd_id (struct cpe_item_metadata *item_metadata, const char *new_nvd_id)
bool cpe_item_metadata_set_deprecated_by_nvd_id (struct cpe_item_metadata *item_metadata, const char *new_deprecated_by_nvd_id)

Detailed Description

Structure representing metadata of CPE item.


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