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

Detailed Description

Update of product version.

#include <cpe_dict.h>

Public Member Functions

void cpe_update_free (struct cpe_update *update)
 
struct cpe_updatecpe_update_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.

struct cpe_update_iteratorcpe_version_get_updates (const struct cpe_version *item)
 cpe_version functions to get value of version More...
 
const char * cpe_update_get_value (const struct cpe_update *item)
 cpe_update functions to get updates of version More...
 
Setters

For lists use add functions.

Parameters of set functions are duplicated in memory and need to be freed by caller.

bool cpe_update_set_value (struct cpe_update *update, const char *new_value)
 
bool cpe_update_add_edition (struct cpe_update *update, struct cpe_edition *new_edition)
 

Data Fields

char * value
 
struct oscap_listeditions
 

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