Interface to Common Vulnerability and Exposure dictionary. More...
#include "public/cve.h"
#include "cve_priv.h"
#include "common/util.h"
#include "common/list.h"
Defines | |
#define | CVE_SUPPORTED "2.0" |
Functions | |
struct cve_model * | cve_model_import (const char *file) |
Public function to import CVE model from OSCAP import source. | |
void | cve_model_export (struct cve_model *cve, const char *file) |
Public function to export CVE model to OSCAP export target. | |
const char * | cve_model_supported (void) |
Interface to Common Vulnerability and Exposure dictionary.
See details at: http://cve.mitre.org/ http://nvd.nist.gov/download.cfm
void cve_model_export | ( | struct cve_model * | cve, | |
const char * | file | |||
) |
Public function to export CVE model to OSCAP export target.
Function fill the structure _target_ with model that is represented by structure _cve_.
struct cve_model* cve_model_import | ( | const char * | file | ) | [read] |
Public function to import CVE model from OSCAP import source.
Function returns CVE model, need to free source after calling this function