cpe_item_metadata Struct Reference
[CPE Dictionary]

Structure representing metadata of CPE item. More...

#include <cpedict_priv.h>

Public Member Functions

struct cpe_item_metadatacpe_item_metadata_new (void)
Getters

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
Setters

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 14 Jul 2010 for Open SCAP Library by  doxygen 1.6.1