cve_configuration Struct Reference
[CVE]

Structure CVE vulnerable configuration data. More...

#include <cve_priv.h>

Public Member Functions

struct cve_configurationcve_configuration_new (void)
 New CVE vulnerability configuration.
struct cve_configurationcve_configuration_clone (struct cve_configuration *old_conf)
 Clone CVE configuration.
void cve_configuration_free (struct cve_configuration *conf)
 Free CVE configuration.
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 * cve_configuration_get_id (const struct cve_configuration *conf)
 Get CVE configuration id.
struct cpe_testexprcve_configuration_get_expr (const struct cve_configuration *conf)
 Get CVE configuration test expression.
Setters

For lists use add functions.

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



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

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:

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