00001
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef CVE_PRIV_H_
00033 #define CVE_PRIV_H_
00034
00035 #include <libxml/xmlreader.h>
00036 #include <libxml/xmlwriter.h>
00037
00038 #include "../common/list.h"
00039 #include "../common/elements.h"
00040
00041 OSCAP_HIDDEN_START;
00042
00043 struct cve_model;
00044 struct cve_entry;
00045 struct cve_summary;
00046 struct cve_product;
00047 struct cve_configuration;
00048 struct cwe_entry;
00049 struct cve_reference;
00050
00051 struct cve_model * cve_model_parse_xml(const struct oscap_import_source * source);
00052
00053 struct cve_model * cve_model_parse(xmlTextReaderPtr reader);
00054
00055 struct cve_entry * cve_entry_parse(xmlTextReaderPtr reader);
00056
00057 void cve_export(const struct cve_model * cve, xmlTextWriterPtr writer);
00058
00059 void cve_model_export_xml(struct cve_model * cve, const struct oscap_export_target * target);
00060
00061 void cve_reference_export(const struct cve_reference * refer, xmlTextWriterPtr writer);
00062
00063 void cve_summary_export(const struct cve_summary * sum, xmlTextWriterPtr writer);
00064
00065 void cve_entry_export(const struct cve_entry * entry, xmlTextWriterPtr writer);
00066
00067 OSCAP_HIDDEN_END;
00068
00069 #endif