Open SCAP Library
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
cve_configuration Struct Reference

Structure CVE vulnerable configuration data. More...

#include <cve_priv.h>

Collaboration diagram for cve_configuration:
[legend]

Public Member Functions

OSCAP_API struct cve_configurationcve_configuration_new (void)
 New CVE vulnerability configuration. More...
 
OSCAP_API struct cve_configurationcve_configuration_clone (struct cve_configuration *old_conf)
 Clone CVE configuration. More...
 
OSCAP_API void cve_configuration_free (struct cve_configuration *conf)
 Free CVE configuration. More...
 
Getters

Return value is pointer to structure's member.

Do not free unless you null the pointer in the structure. Use remove function otherwise.

OSCAP_API const char * cve_configuration_get_id (const struct cve_configuration *conf)
 Get CVE configuration id. More...
 
OSCAP_API const struct cpe_testexprcve_configuration_get_expr (const struct cve_configuration *conf)
 Get CVE configuration test expression. More...
 
Setters

For lists use add functions.

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

OSCAP_API bool cve_configuration_set_id (struct cve_configuration *conf, const char *new_id)
 Set id of CVE configuration. More...
 

Data Fields

char * id
 
struct cpe_testexprexpr
 

Detailed Description

Structure CVE vulnerable configuration data.


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