Go to the source code of this file.
Classes | |
struct | cve_reference |
struct | cve_info |
Typedefs | |
typedef struct cve_reference | cve_reference_t |
typedef struct cve_info | cve_info_t |
Functions | |
cve_reference_t * | cveReferenceNew () |
void | cveReferenceDel (cve_reference_t *reference) |
void | cveReferenceDelAll (cve_reference_t *ref) |
cve_info_t * | cveNew () |
void | cveDel (cve_info_t *cve) |
void | cveDelAll (cve_info_t *cve) |
int | cveParse (char *xmlfile, cve_info_t **outCveList) |
See details at: http://cve.mitre.org/ http://nvd.nist.gov/download.cfm
typedef struct cve_info cve_info_t |
Structure holding Common Vulnerabilities and Exposures data
typedef struct cve_reference cve_reference_t |
Structure holding CVE Reference data
void cveDel | ( | cve_info_t * | cve | ) |
Free the CVE structure and its data.
cve | CVE to be freed |
void cveDelAll | ( | cve_info_t * | cve | ) |
Free the whole CVE list.
cve | root of the CVE list to be freed |
cve_info_t* cveNew | ( | ) |
Create new CVE structure.
NULL | on failure |
int cveParse | ( | char * | xmlfile, | |
cve_info_t ** | outCveList | |||
) |
Parses the specified XML file and creates a list of CVE data structures. The returned list can be freed with cveDelAll().
xmlfile | path to the file to be parsed | |
outCveList | address of the pointer to which the root element of the list is to be stored |
void cveReferenceDel | ( | cve_reference_t * | reference | ) |
Free the CVE Reference structure and its data.
reference | CVE Reference to be freed |
void cveReferenceDelAll | ( | cve_reference_t * | ref | ) |
Free the whole CVE Reference list.
ref | root of the CVE Reference list to be freed |
cve_reference_t* cveReferenceNew | ( | ) |
Create new CVE Reference structure.
NULL | on failure |