Open SCAP Library
Defines | 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"

Defines

#define CVE_SUPPORTED   "2.0"

Functions

struct cve_modelcve_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)

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) [read]

Public function to import CVE model from OSCAP import source.

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

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines