cpe_check Struct Reference
[CPE Dictionary]

Structure representing single CPE check. More...

#include <cpedict_priv.h>

Public Member Functions

void cpe_check_free (struct cpe_check *check)
struct cpe_checkcpe_check_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_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
Setters

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)

Data Fields

char * system
char * href
char * identifier

Detailed Description

Structure representing single CPE check.


The documentation for this struct was generated from the following files:

Generated on 30 Mar 2012 for Open SCAP Library by  doxygen 1.6.1