cpe_check Struct Reference
[Private membersCPE Dictionary]

Structure representing single CPE check. More...

#include <cpedict_priv.h>

Data Fields

struct xml_metadata xml
char * system
char * href
char * identifier

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_check_get_system (const struct cpe_check *item)
 cpe_check functions to get system
const char * cpe_check_get_href (const struct cpe_check *item)
 cpe_check functions to get href
const char * cpe_check_get_identifier (const struct cpe_check *item)
 cpe_check functions to get identifier
Free functions

Destructors of CVE model structures.

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



void cpe_check_free (struct cpe_check *check)
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_checkcpe_check_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_check_set_system (struct cpe_check *check, const char *new_system)
bool cpe_check_set_href (struct cpe_check *check, const char *new_href)
bool cpe_check_set_identifier (struct cpe_check *check, const char *new_identifier)

Detailed Description

Structure representing single CPE check.


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