Open SCAP Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cve.c File Reference

Detailed Description

Interface to Common Vulnerability and Exposure dictionary.

See details at: http://cve.mitre.org/ http://nvd.nist.gov/download.cfm

#include "public/cve_nvd.h"
#include "cve_priv.h"
#include "common/util.h"
#include "common/list.h"

Macros

#define CVE_SUPPORTED   "2.0"
 

Functions

struct cve_modelcve_model_import (const char *file)
 Public function to import CVE model from OSCAP import source. More...
 
void cve_model_export (struct cve_model *cve, const char *file)
 Public function to export CVE model to OSCAP export target. More...
 
const char * cve_model_supported (void)
 

Function Documentation

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)

Public function to import CVE model from OSCAP import source.

Function returns CVE model, need to free source after calling this function