cve_configuration Struct Reference
[Private membersCVE]

Structure CVE vulnerable configuration data. More...

#include <cve_priv.h>

Data Fields

struct xml_metadata xml
char * id
struct cpe_testexpr expr

Related Functions

(Note that these are not member functions.)



Get functions

Functions for getting attributes from CVE model structures.

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.
Set functions

Set functions assign values to members of structures except lists.

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.
New functions

Constructors of CVE model structures.

Free function returns new empty allocated structure. If returns non NULL it need to be freed by the caller.



struct cve_configurationcve_configuration_new (void)
 New CVE vulnerability configuration.
Free functions

Destructors of CVE model structures.

Functions free structures with all members recursively. For simple deletion of entity use remove functions.



void cve_configuration_free (struct cve_configuration *conf)
 Free CVE configuration.

Detailed Description

Structure CVE vulnerable configuration data.


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

Generated on 4 Jan 2010 for Open SCAP Library by  doxygen 1.6.1