• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

/home/pvrabec/project/openscap/openscap-0.6.3/src/CVE/cve_priv.h

Go to the documentation of this file.
00001 
00011 /*
00012  * Copyright 2009 Red Hat Inc., Durham, North Carolina.
00013  * All Rights Reserved.
00014  *
00015  * This library is free software; you can redistribute it and/or
00016  * modify it under the terms of the GNU Lesser General Public
00017  * License as published by the Free Software Foundation; either
00018  * version 2.1 of the License, or (at your option) any later version.
00019  *
00020  * This library is distributed in the hope that it will be useful, 
00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00023  * Lesser General Public License for more details.
00024  *
00025  * You should have received a copy of the GNU Lesser General Public
00026  * License along with this library; if not, write to the Free Software 
00027  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00028  *
00029  * Authors:
00030  *      Maros Barabas <mbarabas@redhat.com>
00031  */
00032 
00033 #ifndef CVE_PRIV_H_
00034 #define CVE_PRIV_H_
00035 
00036 #include <libxml/xmlreader.h>
00037 #include <libxml/xmlwriter.h>
00038 
00039 #include "../common/list.h"
00040 #include "../common/elements.h"
00041 
00045 OSCAP_HIDDEN_START;
00046  /* @endcond */
00047 
00052 struct cve_model;
00057 struct cve_entry;
00062 struct cve_summary;
00067 struct cve_product;
00072 struct cve_configuration;
00077 struct cwe_entry;
00082 struct cve_reference;
00083 
00089 struct cve_model *cve_model_parse_xml(const char *file);
00090 
00096 struct cve_model *cve_model_parse(xmlTextReaderPtr reader);
00097 
00103 struct cve_entry *cve_entry_parse(xmlTextReaderPtr reader);
00104 
00110 void cve_export(const struct cve_model *cve, xmlTextWriterPtr writer);
00111 
00117 void cve_model_export_xml(struct cve_model *cve, const char *file);
00118 
00124 void cve_reference_export(const struct cve_reference *refer, xmlTextWriterPtr writer);
00125 
00131 void cve_summary_export(const struct cve_summary *sum, xmlTextWriterPtr writer);
00132 
00138 void cve_entry_export(const struct cve_entry *entry, xmlTextWriterPtr writer);
00139 
00143 OSCAP_HIDDEN_END;
00144  /* @endcond */
00145 
00146 #endif

Generated on Tue Sep 14 2010 for Open SCAP Library by  doxygen 1.7.1