Open SCAP Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
cpe_check Struct Reference

Detailed Description

Structure representing single CPE check.

#include <cpe_dict.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 More...
 
const char * cpe_check_get_href (const struct cpe_check *item)
 cpe_check functions to get href More...
 
const char * cpe_check_get_identifier (const struct cpe_check *item)
 cpe_check functions to get identifier More...
 
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
 

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