cve_list cve_list is the top level element of the CVE List provided by MITRE. More...
#include <cve_priv.h>
Data Fields | |
struct xml_metadata | xml |
struct oscap_list * | xmlns |
struct oscap_list * | entries |
Related Functions | |
(Note that these are not member functions.) | |
Parse functions | |
struct cve_model * | cve_model_parse_xml (const struct oscap_import_source *source) |
Parse CVE model from XML (private function). | |
struct cve_model * | cve_model_parse (xmlTextReaderPtr reader) |
Parse CVE model. | |
Export functions | |
void | cve_export (const struct cve_model *cve, xmlTextWriterPtr writer) |
Export CVE model to XML file. | |
void | cve_model_export_xml (struct cve_model *cve, const struct oscap_export_target *target) |
Export CVE model to XML file. | |
Get functions | |
struct xml_metadata_iterator * | cve_model_get_xmlns (const struct cve_model *cve_model) |
Get en iterator to XML metadatas from CVE model. | |
Add functions | |
bool | cve_model_add_entry (struct cve_model *model, struct cve_entry *new_entry) |
Add entry to CVE model. | |
bool | cve_model_add_xml (struct cve_model *model, struct xml_metadata *xml) |
Add XML namespace to CVE model. | |
New functions | |
struct cve_model * | cve_model_new (void) |
New CVE model. | |
Free functions | |
void | cve_model_free (struct cve_model *cve_model) |
Free CVE model. | |
Other functions | |
void | cve_model_export (struct cve_model *cve, const struct oscap_export_target *target) |
Export CVE model to XML file. | |
struct cve_model * | cve_model_import (const struct oscap_import_source *source) |
Parses the specified XML file and creates a list of CVE data structures. |
cve_list cve_list is the top level element of the CVE List provided by MITRE.
Structure holding CVE model.
It represents holds all CVE Items.