Open SCAP Library
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
src
CVE
cve_priv.h
Go to the documentation of this file.
1
11
/*
12
* Copyright 2009 Red Hat Inc., Durham, North Carolina.
13
* All Rights Reserved.
14
*
15
* This library is free software; you can redistribute it and/or
16
* modify it under the terms of the GNU Lesser General Public
17
* License as published by the Free Software Foundation; either
18
* version 2.1 of the License, or (at your option) any later version.
19
*
20
* This library is distributed in the hope that it will be useful,
21
* but WITHOUT ANY WARRANTY; without even the implied warranty of
22
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23
* Lesser General Public License for more details.
24
*
25
* You should have received a copy of the GNU Lesser General Public
26
* License along with this library; if not, write to the Free Software
27
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28
*
29
* Authors:
30
* Maros Barabas <mbarabas@redhat.com>
31
*/
32
33
#ifndef CVE_PRIV_H_
34
#define CVE_PRIV_H_
35
36
#include <libxml/xmlreader.h>
37
#include <libxml/xmlwriter.h>
38
39
#include "../common/list.h"
40
#include "../common/elements.h"
41
45
OSCAP_HIDDEN_START;
46
/* @endcond */
47
52
struct
cve_model
;
57
struct
cve_entry
;
62
struct
cve_summary
;
67
struct
cve_product
;
72
struct
cve_configuration
;
77
struct
cwe_entry
;
82
struct
cve_reference
;
83
89
struct
cve_model
*
cve_model_parse_xml
(
const
char
*file);
90
96
struct
cve_model
*
cve_model_parse
(xmlTextReaderPtr reader);
97
103
struct
cve_entry
*
cve_entry_parse
(xmlTextReaderPtr reader);
104
110
void
cve_export
(
const
struct
cve_model
*cve, xmlTextWriterPtr writer);
111
117
void
cve_model_export_xml
(
struct
cve_model
*cve,
const
char
*file);
118
124
void
cve_reference_export
(
const
struct
cve_reference
*refer, xmlTextWriterPtr writer);
125
131
void
cve_summary_export
(
const
struct
cve_summary
*sum, xmlTextWriterPtr writer);
132
138
void
cve_entry_export
(
const
struct
cve_entry
*entry, xmlTextWriterPtr writer);
139
143
OSCAP_HIDDEN_END;
144
/* @endcond */
145
146
#endif
Generated by
1.8.3.1