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

/home/pvrabec/project/openscap/openscap-0.6.4/src/CPE/cpedict_priv.h

Go to the documentation of this file.
00001 
00008 /*
00009  * Copyright 2009 Red Hat Inc., Durham, North Carolina.
00010  * All Rights Reserved.
00011  *
00012  * This library is free software; you can redistribute it and/or
00013  * modify it under the terms of the GNU Lesser General Public
00014  * License as published by the Free Software Foundation; either
00015  * version 2.1 of the License, or (at your option) any later version.
00016  *
00017  * This library is distributed in the hope that it will be useful, 
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00020  * Lesser General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU Lesser General Public
00023  * License along with this library; if not, write to the Free Software 
00024  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025  *
00026  * Authors:
00027  *      Maros Barabas <mbarabas@redhat.com>
00028  */
00029 
00030 #ifndef CPEDICT_PRIV_H_
00031 #define CPEDICT_PRIV_H_
00032 
00033 #include <libxml/xmlreader.h>
00034 #include <libxml/xmlwriter.h>
00035 #include <stdlib.h>
00036 
00037 #include "cpeuri.h"
00038 #include "../common/public/oscap.h"
00039 #include "../common/util.h"
00040 #include "../common/elements.h"
00041 
00045 OSCAP_HIDDEN_START;
00046  /* @endcond */
00047 
00052 struct cpe_check;
00053 
00058 struct cpe_reference;
00059 
00064 struct cpe_item;
00065 
00070 struct cpe_dict_model;
00071 
00076 struct cpe_item_metadata;
00077 
00082 struct cpe_generator;
00083 
00088 struct cpe_vendor;
00093 struct cpe_product;
00098 struct cpe_version;
00103 struct cpe_update;
00108 struct cpe_edition;
00113 struct cpe_language;
00114 
00119 struct cpe_dict_model *cpe_dict_model_parse_xml(const char *file);
00120 
00126 struct cpe_generator *cpe_generator_parse(xmlTextReaderPtr reader);
00127 
00134 struct cpe_item *cpe_item_parse(xmlTextReaderPtr reader);
00135 
00141 struct cpe_vendor *cpe_vendor_parse(xmlTextReaderPtr reader);
00142 
00149 struct cpe_dict_model *cpe_dict_model_parse(xmlTextReaderPtr reader);
00150 
00156 void cpe_dict_model_export_xml(const struct cpe_dict_model *dict, const char *file);
00157 
00163 void cpe_dict_export(const struct cpe_dict_model *dict, xmlTextWriterPtr writer);
00164 
00170 void cpe_generator_export(const struct cpe_generator *generator, xmlTextWriterPtr writer);
00171 
00177 void cpe_item_export(const struct cpe_item *item, xmlTextWriterPtr writer);
00178 
00184 void cpe_vendor_export(const struct cpe_vendor *vendor, xmlTextWriterPtr writer);
00185 
00189 OSCAP_HIDDEN_END;
00190  /* @endcond */
00191 
00192 #endif

Generated on Wed Oct 20 2010 for Open SCAP Library by  doxygen 1.7.1