File: cve_8h_source.html

package info (click to toggle)
openscap 0.5.12-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 27,052 kB
  • ctags: 21,075
  • sloc: xml: 82,351; ansic: 52,101; sh: 17,802; makefile: 748; perl: 442; cpp: 117; python: 110
file content (207 lines) | stat: -rw-r--r-- 40,066 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Open SCAP Library: /home/pvrabec/project/openscap/openscap-0.5.12/src/CVE/public/cve.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>/home/pvrabec/project/openscap/openscap-0.5.12/src/CVE/public/cve.h</h1><a href="cve_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00011"></a>00011 <span class="comment">/*</span>
<a name="l00012"></a>00012 <span class="comment"> * Copyright 2009 Red Hat Inc., Durham, North Carolina.</span>
<a name="l00013"></a>00013 <span class="comment"> * All Rights Reserved.</span>
<a name="l00014"></a>00014 <span class="comment"> *</span>
<a name="l00015"></a>00015 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00016"></a>00016 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span>
<a name="l00017"></a>00017 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00018"></a>00018 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span>
<a name="l00019"></a>00019 <span class="comment"> *</span>
<a name="l00020"></a>00020 <span class="comment"> * This library is distributed in the hope that it will be useful, </span>
<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00023"></a>00023 <span class="comment"> * Lesser General Public License for more details.</span>
<a name="l00024"></a>00024 <span class="comment"> *</span>
<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span>
<a name="l00026"></a>00026 <span class="comment"> * License along with this library; if not, write to the Free Software </span>
<a name="l00027"></a>00027 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span>
<a name="l00028"></a>00028 <span class="comment"> *</span>
<a name="l00029"></a>00029 <span class="comment"> * Authors:</span>
<a name="l00030"></a>00030 <span class="comment"> *      Maros Barabas  &lt;mbarabas@redhat.com&gt;</span>
<a name="l00031"></a>00031 <span class="comment"> *      Tomas Heinrich &lt;theinric@redhat.com&gt;</span>
<a name="l00032"></a>00032 <span class="comment"> */</span>
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 <span class="preprocessor">#ifndef _CVE_H_</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor">#define _CVE_H_</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span>
<a name="l00037"></a>00037 <span class="preprocessor">#include &lt;stdbool.h&gt;</span>
<a name="l00038"></a>00038 <span class="preprocessor">#include &quot;<a class="code" href="oscap_8h.html" title="General OpenScap functions and types.">oscap.h</a>&quot;</span>
<a name="l00039"></a>00039 <span class="preprocessor">#include &quot;<a class="code" href="cpeuri_8h.html" title="Interface to Common Platform Enumeration (CPE) URI.">cpeuri.h</a>&quot;</span>
<a name="l00040"></a>00040 
<a name="l00045"></a>00045 <span class="keyword">struct </span><a class="code" href="structcve__model.html" title="cve_list cve_list is the top level element of the CVE List provided by MITRE.">cve_model</a>;
<a name="l00050"></a>00050 <span class="keyword">struct </span><a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a>;
<a name="l00055"></a>00055 <span class="keyword">struct </span><a class="code" href="structcve__summary.html" title="Structure holding CVE summary data.">cve_summary</a>;
<a name="l00060"></a>00060 <span class="keyword">struct </span><a class="code" href="structcve__product.html" title="Structure holding CVE product data.">cve_product</a>;
<a name="l00065"></a>00065 <span class="keyword">struct </span><a class="code" href="structcve__configuration.html" title="Structure CVE vulnerable configuration data.">cve_configuration</a>;
<a name="l00070"></a>00070 <span class="keyword">struct </span><a class="code" href="structcwe__entry.html" title="Structure holding CWE data.">cwe_entry</a>;
<a name="l00075"></a>00075 <span class="keyword">struct </span><a class="code" href="structcve__reference.html" title="Structure holding CVE reference data.">cve_reference</a>;
<a name="l00076"></a>00076 
<a name="l00077"></a>00077 <span class="comment">/************************************************************/</span>
<a name="l00090"></a>00090 <span class="keyword">struct </span><a class="code" href="structxml__metadata__iterator.html" title="Iterator over XML metadata.">xml_metadata_iterator</a> *<a class="code" href="group__CVE.html#gac03cbd24e33a5f7c7b207fc56fbd1686" title="Get en iterator to XML metadatas from CVE model.">cve_model_get_xmlns</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__model.html" title="cve_list cve_list is the top level element of the CVE List provided by MITRE.">cve_model</a> *<a class="code" href="structcve__model.html" title="cve_list cve_list is the top level element of the CVE List provided by MITRE.">cve_model</a>);
<a name="l00091"></a>00091 
<a name="l00097"></a>00097 <span class="keyword">struct </span><a class="code" href="structcve__entry__iterator.html" title="Iterator over CVE entries.">cve_entry_iterator</a> *<a class="code" href="group__CVE.html#ga6c0559319c41b84a79c42d0125e7bead" title="Get en iterator to CVE entries.">cve_model_get_entries</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__model.html" title="cve_list cve_list is the top level element of the CVE List provided by MITRE.">cve_model</a> *<a class="code" href="structcve__model.html" title="cve_list cve_list is the top level element of the CVE List provided by MITRE.">cve_model</a>);
<a name="l00098"></a>00098 
<a name="l00104"></a>00104 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__CVE.html#gacfe04d0908821755400cc9ce0499a04a" title="Get CVE entry ID.">cve_entry_get_id</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *item);
<a name="l00105"></a>00105 
<a name="l00111"></a>00111 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__CVE.html#gab1e298fe4686a8ca10e8e1743fa7a25b" title="Get CVE entry CWE.">cve_entry_get_cwe</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *item);
<a name="l00112"></a>00112 
<a name="l00118"></a>00118 <span class="keyword">struct </span><a class="code" href="structcve__summary__iterator.html" title="Iterator over CVE summaries.">cve_summary_iterator</a> *<a class="code" href="group__CVE.html#ga14a12fe41900b182f931036a9f5e3985" title="Get CVE entry summary.">cve_entry_get_summaries</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *item);
<a name="l00119"></a>00119 
<a name="l00125"></a>00125 <span class="keyword">struct </span><a class="code" href="structcve__reference__iterator.html" title="Iterator over CVE references.">cve_reference_iterator</a> *<a class="code" href="group__CVE.html#ga65ea73a356d65b40bd762715544ffda8" title="Get an iterator to CVE entry&amp;#39;s references.">cve_entry_get_references</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *item);
<a name="l00126"></a>00126 
<a name="l00132"></a>00132 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__CVE.html#ga6ac689c9c03f779573986d7c901c5ff9" title="Get CVE reference values.">cve_reference_get_value</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__reference.html" title="Structure holding CVE reference data.">cve_reference</a> *ref);
<a name="l00133"></a>00133 
<a name="l00139"></a>00139 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__CVE.html#ga5b04d3bc45c03951be2264c798b97eff" title="Get CVE reference href.">cve_reference_get_href</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__reference.html" title="Structure holding CVE reference data.">cve_reference</a> *ref);
<a name="l00140"></a>00140 
<a name="l00146"></a>00146 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__CVE.html#ga23c988dca4350a3bee8076ad88509300" title="Get CVE reference type.">cve_reference_get_type</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__reference.html" title="Structure holding CVE reference data.">cve_reference</a> *ref);
<a name="l00147"></a>00147 
<a name="l00153"></a>00153 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__CVE.html#ga61b29abe186673b5217a9d90f18432d7" title="Get CVE reference source.">cve_reference_get_source</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__reference.html" title="Structure holding CVE reference data.">cve_reference</a> *ref);
<a name="l00154"></a>00154 
<a name="l00160"></a>00160 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__CVE.html#ga5234d5df28f0d0ad48ef8bf351adcdad" title="Get value from CVE summary.">cve_summary_get_summary</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__summary.html" title="Structure holding CVE summary data.">cve_summary</a> *summary);
<a name="l00166"></a>00166 <span class="keyword">const</span> <span class="keywordtype">char</span> *cve_product_get_value(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__product.html" title="Structure holding CVE product data.">cve_product</a> *product);
<a name="l00172"></a>00172 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__CVE.html#ga21d4051a634306e5fbed80bea417ce50" title="Get CVE entry value.">cwe_entry_get_value</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcwe__entry.html" title="Structure holding CWE data.">cwe_entry</a> *entry);
<a name="l00178"></a>00178 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__CVE.html#ga48a951e1fce489343e2f058fa0ecd18a" title="Get CVE configuration id.">cve_configuration_get_id</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__configuration.html" title="Structure CVE vulnerable configuration data.">cve_configuration</a> *conf);
<a name="l00184"></a>00184 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__CVE.html#gac3d36ed79d2cef94deb794acc842f044" title="Get CVE entry published date.">cve_entry_get_published</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *entry);
<a name="l00190"></a>00190 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__CVE.html#gaecdcf4a431a138256189a4f7db2915e7" title="Get CVE entry modified.">cve_entry_get_modified</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *entry);
<a name="l00196"></a>00196 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__CVE.html#ga4825c77c766209270e22e5091c36124d" title="Get CVE entry protection.">cve_entry_get_sec_protection</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *entry);
<a name="l00197"></a>00197 
<a name="l00203"></a>00203 <span class="keyword">struct </span><a class="code" href="structcve__product__iterator.html" title="Iterator over CVE products.">cve_product_iterator</a> *<a class="code" href="group__CVE.html#gaeaf693667a6be5206b93115d9376b01b" title="Get CVE entry products.">cve_entry_get_products</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *entry);
<a name="l00209"></a>00209 <span class="keyword">struct </span><a class="code" href="structcve__configuration__iterator.html" title="Iterator over CVE vulnerable configurations.">cve_configuration_iterator</a> *<a class="code" href="group__CVE.html#gabfc55b43fec27e5d0d4909aa70fa6b1d" title="Get CVE .">cve_entry_get_configurations</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *entry);
<a name="l00215"></a>00215 <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structcpe__testexpr.html" title="CPE language boolean expression.">cpe_testexpr</a> *<a class="code" href="group__CVE.html#ga18913b7092aa274be46da7d34d7bfb67" title="Get CVE configuration test expression.">cve_configuration_get_expr</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__configuration.html" title="Structure CVE vulnerable configuration data.">cve_configuration</a> *conf);
<a name="l00216"></a>00216 
<a name="l00222"></a>00222 <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structcvss__entry.html" title="Struct holding CVSS entry data.">cvss_entry</a> *<a class="code" href="group__CVE.html#ga506ec7b3cbffb45eeb53d588acb9f4a1" title="Get CVSS structure from CVE.">cve_entry_get_cvss</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *item);
<a name="l00223"></a>00223 
<a name="l00224"></a>00224 <span class="comment">/************************************************************/</span>
<a name="l00227"></a>00227 <span class="comment">/************************************************************/</span>
<a name="l00242"></a>00242 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#gaec8f745d0f680c83f6fe74f61b1d1d8f" title="Add entry to CVE model.">cve_model_add_entry</a>(<span class="keyword">struct</span> <a class="code" href="structcve__model.html" title="cve_list cve_list is the top level element of the CVE List provided by MITRE.">cve_model</a> *model, <span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *new_entry);
<a name="l00243"></a>00243 
<a name="l00245"></a>00245 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#gab8c42486b472130a692b942402a52e51">cve_entry_add_product</a>(<span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *entry, <span class="keyword">struct</span> <a class="code" href="structcve__product.html" title="Structure holding CVE product data.">cve_product</a> *new_product);
<a name="l00246"></a>00246 
<a name="l00248"></a>00248 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#ga56861fdd2a2155d04b862a90d26386ed">cve_entry_add_reference</a>(<span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *entry, <span class="keyword">struct</span> <a class="code" href="structcve__reference.html" title="Structure holding CVE reference data.">cve_reference</a> *new_reference);
<a name="l00249"></a>00249 
<a name="l00251"></a>00251 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#gaaef57a0f6d5a61373df62d07b84d8afe">cve_entry_add_summary</a>(<span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *entry, <span class="keyword">struct</span> <a class="code" href="structcve__summary.html" title="Structure holding CVE summary data.">cve_summary</a> *new_summary);
<a name="l00252"></a>00252 
<a name="l00254"></a>00254 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#ga7920b4204de8bde9190ec2de9eb948a2">cve_entry_add_configuration</a>(<span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *entry, <span class="keyword">struct</span> <a class="code" href="structcve__configuration.html" title="Structure CVE vulnerable configuration data.">cve_configuration</a> *new_configuration);
<a name="l00255"></a>00255 
<a name="l00260"></a>00260 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#ga1d1df0af8af9655a11623baf7c2b9c34" title="Add XML namespace to CVE model.">cve_model_add_xml</a>(<span class="keyword">struct</span> <a class="code" href="structcve__model.html" title="cve_list cve_list is the top level element of the CVE List provided by MITRE.">cve_model</a> *model, <span class="keyword">struct</span> <a class="code" href="structxml__metadata.html" title="XML Metadata.">xml_metadata</a> *xml);
<a name="l00261"></a>00261 
<a name="l00269"></a>00269 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#gab1109126271493e2c0db33b7f082eb4b" title="Set id of CVE entry.">cve_entry_set_id</a>(<span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *entry, <span class="keyword">const</span> <span class="keywordtype">char</span> *new_id);
<a name="l00277"></a>00277 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#ga9f822a6af27ec49bbfbf2f604bb0cddb" title="Set publish date of CVE entry.">cve_entry_set_published</a>(<span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *entry, <span class="keyword">const</span> <span class="keywordtype">char</span> *new_published);
<a name="l00285"></a>00285 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#ga946e084826674065ef4a862fae650b10" title="Set modified date of CVE entry.">cve_entry_set_modified</a>(<span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *entry, <span class="keyword">const</span> <span class="keywordtype">char</span> *new_modified);
<a name="l00293"></a>00293 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#ga88ec4f6394ad5fce2e670a4d98994226" title="Set protection of CVE entry.">cve_entry_set_sec_protection</a>(<span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *entry, <span class="keyword">const</span> <span class="keywordtype">char</span> *new_protection);
<a name="l00301"></a>00301 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#gaab16504e6ad7113aa6763574dfcc956d" title="Set cwe of CVE entry.">cve_entry_set_cwe</a>(<span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *entry, <span class="keyword">const</span> <span class="keywordtype">char</span> *cwe);
<a name="l00309"></a>00309 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#ga4bcc1c1d653e2e9963337982dabb5eb1" title="Set value of CVE entry.">cwe_entry_set_value</a>(<span class="keyword">struct</span> <a class="code" href="structcwe__entry.html" title="Structure holding CWE data.">cwe_entry</a> *entry, <span class="keyword">const</span> <span class="keywordtype">char</span> *new_value);
<a name="l00310"></a>00310 
<a name="l00318"></a>00318 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#ga30ac4ef98689f6ae3d8eeb14217d78d2" title="Set value of CVE reference.">cve_reference_set_value</a>(<span class="keyword">struct</span> <a class="code" href="structcve__reference.html" title="Structure holding CVE reference data.">cve_reference</a> *reference, <span class="keyword">const</span> <span class="keywordtype">char</span> *new_value);
<a name="l00326"></a>00326 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#gaa8fc192a3d0e1184ef93e467acbe99c8" title="Set href of CVE reference.">cve_reference_set_href</a>(<span class="keyword">struct</span> <a class="code" href="structcve__reference.html" title="Structure holding CVE reference data.">cve_reference</a> *reference, <span class="keyword">const</span> <span class="keywordtype">char</span> *new_href);
<a name="l00334"></a>00334 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#gaf24e38e50ea04ef7b8ab694c596cf617" title="Set type of CVE reference.">cve_reference_set_type</a>(<span class="keyword">struct</span> <a class="code" href="structcve__reference.html" title="Structure holding CVE reference data.">cve_reference</a> *reference, <span class="keyword">const</span> <span class="keywordtype">char</span> *new_type);
<a name="l00342"></a>00342 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#gab98823ef0ada7bfa51799135cd088f64" title="Set source of CVE reference.">cve_reference_set_source</a>(<span class="keyword">struct</span> <a class="code" href="structcve__reference.html" title="Structure holding CVE reference data.">cve_reference</a> *reference, <span class="keyword">const</span> <span class="keywordtype">char</span> *new_source);
<a name="l00343"></a>00343 
<a name="l00351"></a>00351 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#ga7b18998d77543a593e80e3530f12519d" title="Set id of CVE configuration.">cve_configuration_set_id</a>(<span class="keyword">struct</span> <a class="code" href="structcve__configuration.html" title="Structure CVE vulnerable configuration data.">cve_configuration</a> *conf, <span class="keyword">const</span> <span class="keywordtype">char</span> *new_id);
<a name="l00359"></a>00359 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#ga12794f3c6e304e9c94c79f6c4e2ba3fd" title="Set value of CVE product.">cve_product_set_value</a>(<span class="keyword">struct</span> <a class="code" href="structcve__product.html" title="Structure holding CVE product data.">cve_product</a> *product, <span class="keyword">const</span> <span class="keywordtype">char</span> *new_value);
<a name="l00367"></a>00367 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#gac808f096d31ef877f2d593d91d77c626" title="Set summary of CVE summary.">cve_summary_set_summary</a>(<span class="keyword">struct</span> <a class="code" href="structcve__summary.html" title="Structure holding CVE summary data.">cve_summary</a> *summary, <span class="keyword">const</span> <span class="keywordtype">char</span> *new_summary);
<a name="l00368"></a>00368 
<a name="l00369"></a>00369 <span class="comment">/************************************************************/</span>
<a name="l00372"></a>00372 <span class="comment">/************************************************************/</span>
<a name="l00384"></a>00384 <span class="keyword">struct </span><a class="code" href="structcve__entry__iterator.html" title="Iterator over CVE entries.">cve_entry_iterator</a>;
<a name="l00388"></a>00388 <span class="keyword">struct </span><a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *cve_entry_iterator_next(<span class="keyword">struct</span> <a class="code" href="structcve__entry__iterator.html" title="Iterator over CVE entries.">cve_entry_iterator</a> *it);
<a name="l00392"></a>00392 <span class="keywordtype">bool</span> cve_entry_iterator_has_more(<span class="keyword">struct</span> <a class="code" href="structcve__entry__iterator.html" title="Iterator over CVE entries.">cve_entry_iterator</a> *it);
<a name="l00396"></a>00396 <span class="keywordtype">void</span> cve_entry_iterator_free(<span class="keyword">struct</span> <a class="code" href="structcve__entry__iterator.html" title="Iterator over CVE entries.">cve_entry_iterator</a> *it);
<a name="l00397"></a>00397 
<a name="l00403"></a>00403 <span class="keyword">struct </span><a class="code" href="structcve__summary__iterator.html" title="Iterator over CVE summaries.">cve_summary_iterator</a>;
<a name="l00407"></a>00407 <span class="keyword">struct </span><a class="code" href="structcve__summary.html" title="Structure holding CVE summary data.">cve_summary</a> *cve_summary_iterator_next(<span class="keyword">struct</span> <a class="code" href="structcve__summary__iterator.html" title="Iterator over CVE summaries.">cve_summary_iterator</a> *it);
<a name="l00411"></a>00411 <span class="keywordtype">bool</span> cve_summary_iterator_has_more(<span class="keyword">struct</span> <a class="code" href="structcve__summary__iterator.html" title="Iterator over CVE summaries.">cve_summary_iterator</a> *it);
<a name="l00415"></a>00415 <span class="keywordtype">void</span> cve_summary_iterator_free(<span class="keyword">struct</span> <a class="code" href="structcve__summary__iterator.html" title="Iterator over CVE summaries.">cve_summary_iterator</a> *it);
<a name="l00416"></a>00416 
<a name="l00422"></a>00422 <span class="keyword">struct </span><a class="code" href="structcve__product__iterator.html" title="Iterator over CVE products.">cve_product_iterator</a>;
<a name="l00426"></a>00426 <span class="keyword">struct </span><a class="code" href="structcve__product.html" title="Structure holding CVE product data.">cve_product</a> *cve_product_iterator_next(<span class="keyword">struct</span> <a class="code" href="structcve__product__iterator.html" title="Iterator over CVE products.">cve_product_iterator</a> *it);
<a name="l00430"></a>00430 <span class="keywordtype">bool</span> cve_product_iterator_has_more(<span class="keyword">struct</span> <a class="code" href="structcve__product__iterator.html" title="Iterator over CVE products.">cve_product_iterator</a> *it);
<a name="l00434"></a>00434 <span class="keywordtype">void</span> cve_product_iterator_free(<span class="keyword">struct</span> <a class="code" href="structcve__product__iterator.html" title="Iterator over CVE products.">cve_product_iterator</a> *it);
<a name="l00435"></a>00435 
<a name="l00441"></a>00441 <span class="keyword">struct </span><a class="code" href="structcve__configuration__iterator.html" title="Iterator over CVE vulnerable configurations.">cve_configuration_iterator</a>;
<a name="l00445"></a>00445 <span class="keyword">struct </span><a class="code" href="structcve__configuration.html" title="Structure CVE vulnerable configuration data.">cve_configuration</a> *cve_configuration_iterator_next(<span class="keyword">struct</span> <a class="code" href="structcve__configuration__iterator.html" title="Iterator over CVE vulnerable configurations.">cve_configuration_iterator</a> *it);
<a name="l00449"></a>00449 <span class="keywordtype">bool</span> cve_configuration_iterator_has_more(<span class="keyword">struct</span> <a class="code" href="structcve__configuration__iterator.html" title="Iterator over CVE vulnerable configurations.">cve_configuration_iterator</a> *it);
<a name="l00453"></a>00453 <span class="keywordtype">void</span> cve_configuration_iterator_free(<span class="keyword">struct</span> <a class="code" href="structcve__configuration__iterator.html" title="Iterator over CVE vulnerable configurations.">cve_configuration_iterator</a> *it);
<a name="l00454"></a>00454 
<a name="l00460"></a>00460 <span class="keyword">struct </span><a class="code" href="structcve__reference__iterator.html" title="Iterator over CVE references.">cve_reference_iterator</a>;
<a name="l00464"></a>00464 <span class="keyword">struct </span><a class="code" href="structcve__reference.html" title="Structure holding CVE reference data.">cve_reference</a> *cve_reference_iterator_next(<span class="keyword">struct</span> <a class="code" href="structcve__reference__iterator.html" title="Iterator over CVE references.">cve_reference_iterator</a> *it);
<a name="l00468"></a>00468 <span class="keywordtype">bool</span> cve_reference_iterator_has_more(<span class="keyword">struct</span> <a class="code" href="structcve__reference__iterator.html" title="Iterator over CVE references.">cve_reference_iterator</a> *it);
<a name="l00472"></a>00472 <span class="keywordtype">void</span> cve_reference_iterator_free(<span class="keyword">struct</span> <a class="code" href="structcve__reference__iterator.html" title="Iterator over CVE references.">cve_reference_iterator</a> *it);
<a name="l00473"></a>00473 
<a name="l00474"></a>00474 
<a name="l00475"></a>00475 <span class="comment">/************************************************************/</span>
<a name="l00478"></a>00478 <span class="comment">/************************************************************/</span>
<a name="l00489"></a>00489 <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="group__CVE.html#ga0521ad9696a5a48d5b7f13a1b7d782d4" title="Get supported version of CVE XML.">cve_model_supported</a>(<span class="keywordtype">void</span>);
<a name="l00490"></a>00490 
<a name="l00491"></a>00491 <span class="comment">/************************************************************/</span>
<a name="l00499"></a>00499 <span class="keyword">struct </span><a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *<a class="code" href="group__CVE.html#ga0731dd5ffd1384827771a520706c982b" title="New CVE entry.">cve_entry_new</a>(<span class="keywordtype">void</span>);
<a name="l00505"></a>00505 <span class="keyword">struct </span><a class="code" href="structcve__configuration.html" title="Structure CVE vulnerable configuration data.">cve_configuration</a> *<a class="code" href="group__CVE.html#gaac76a1b4baca190d8abf9b3e0d65d7ce" title="New CVE vulnerability configuration.">cve_configuration_new</a>(<span class="keywordtype">void</span>);
<a name="l00511"></a>00511 <span class="keyword">struct </span><a class="code" href="structcwe__entry.html" title="Structure holding CWE data.">cwe_entry</a> *<a class="code" href="group__CVE.html#ga9405bdc0cb71f63b53973dda9cd7f299" title="New CWE entry.">cwe_entry_new</a>(<span class="keywordtype">void</span>);
<a name="l00517"></a>00517 <span class="keyword">struct </span><a class="code" href="structcve__product.html" title="Structure holding CVE product data.">cve_product</a> *<a class="code" href="group__CVE.html#ga5866aa9b6ff9089bdd5e67db5805438a" title="New CVE product.">cve_product_new</a>(<span class="keywordtype">void</span>);
<a name="l00523"></a>00523 <span class="keyword">struct </span><a class="code" href="structcve__summary.html" title="Structure holding CVE summary data.">cve_summary</a> *<a class="code" href="group__CVE.html#gabd757245c74c304f4b50d0b5aa8e0b59" title="New CVE summary.">cve_summary_new</a>(<span class="keywordtype">void</span>);
<a name="l00529"></a>00529 <span class="keyword">struct </span><a class="code" href="structcve__reference.html" title="Structure holding CVE reference data.">cve_reference</a> *<a class="code" href="group__CVE.html#ga9a27e8650367c36c173d7ba6abb2f553" title="New CVE reference.">cve_reference_new</a>(<span class="keywordtype">void</span>);
<a name="l00535"></a>00535 <span class="keyword">struct </span><a class="code" href="structcve__model.html" title="cve_list cve_list is the top level element of the CVE List provided by MITRE.">cve_model</a> *<a class="code" href="group__CVE.html#ga743af6ca1c274180e587feb63599bcd6" title="New CVE model.">cve_model_new</a>(<span class="keywordtype">void</span>);
<a name="l00536"></a>00536 
<a name="l00542"></a>00542 <span class="keywordtype">void</span> <a class="code" href="group__CVE.html#ga43fce49d7e548907db40e89c9555b87d" title="Free CVE model.">cve_model_free</a>(<span class="keyword">struct</span> <a class="code" href="structcve__model.html" title="cve_list cve_list is the top level element of the CVE List provided by MITRE.">cve_model</a> *<a class="code" href="structcve__model.html" title="cve_list cve_list is the top level element of the CVE List provided by MITRE.">cve_model</a>);
<a name="l00543"></a>00543 
<a name="l00549"></a>00549 <span class="keywordtype">void</span> <a class="code" href="group__CVE.html#gae7281f9b58c72b3c75263a332d2d72be" title="Free CVE entry.">cve_entry_free</a>(<span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> *entry);
<a name="l00550"></a>00550 
<a name="l00556"></a>00556 <span class="keywordtype">void</span> <a class="code" href="group__CVE.html#ga45e0868236cd48f025759bca7988e3a9" title="Free CVE summary.">cve_summary_free</a>(<span class="keyword">struct</span> <a class="code" href="structcve__summary.html" title="Structure holding CVE summary data.">cve_summary</a> *summary);
<a name="l00557"></a>00557 
<a name="l00563"></a>00563 <span class="keywordtype">void</span> <a class="code" href="group__CVE.html#ga3d0e1cf28156252a9ac84e1153950609" title="Free CVE product.">cve_product_free</a>(<span class="keyword">struct</span> <a class="code" href="structcve__product.html" title="Structure holding CVE product data.">cve_product</a> *product);
<a name="l00564"></a>00564 
<a name="l00570"></a>00570 <span class="keywordtype">void</span> <a class="code" href="group__CVE.html#gae86eb72dd7a7afb2a5769d9619c79e87" title="Free CVE reference.">cve_reference_free</a>(<span class="keyword">struct</span> <a class="code" href="structcve__reference.html" title="Structure holding CVE reference data.">cve_reference</a> *ref);
<a name="l00571"></a>00571 
<a name="l00577"></a>00577 <span class="keywordtype">void</span> <a class="code" href="group__CVE.html#ga2bd952914d92486a9e70a1af5ae241f2" title="Free CVE entry.">cwe_entry_free</a>(<span class="keyword">struct</span> <a class="code" href="structcwe__entry.html" title="Structure holding CWE data.">cwe_entry</a> *entry);
<a name="l00578"></a>00578 
<a name="l00584"></a>00584 <span class="keywordtype">void</span> <a class="code" href="group__CVE.html#ga36c0cf5d307f0af7ab26d84fcc2b6153" title="Free CVE configuration.">cve_configuration_free</a>(<span class="keyword">struct</span> <a class="code" href="structcve__configuration.html" title="Structure CVE vulnerable configuration data.">cve_configuration</a> *conf);
<a name="l00585"></a>00585 
<a name="l00588"></a>00588 
<a name="l00589"></a>00589 <span class="keywordtype">void</span> <a class="code" href="structcve__entry__iterator.html#af9921904a41add9112bcfbdd13e1be32">cve_entry_iterator_remove</a>(<span class="keyword">struct</span> <a class="code" href="structcve__entry__iterator.html" title="Iterator over CVE entries.">cve_entry_iterator</a> *it);
<a name="l00590"></a>00590 
<a name="l00592"></a>00592 <span class="keywordtype">void</span> <a class="code" href="structcve__product__iterator.html#a1288f63f5138ad54013972a814e76e2a">cve_product_iterator_remove</a>(<span class="keyword">struct</span> <a class="code" href="structcve__product__iterator.html" title="Iterator over CVE products.">cve_product_iterator</a> *it);
<a name="l00593"></a>00593 
<a name="l00595"></a>00595 <span class="keywordtype">void</span> <a class="code" href="structcve__reference__iterator.html#a4e913f391a0e404bccf055111925c391">cve_reference_iterator_remove</a>(<span class="keyword">struct</span> <a class="code" href="structcve__reference__iterator.html" title="Iterator over CVE references.">cve_reference_iterator</a> *it);
<a name="l00596"></a>00596 
<a name="l00598"></a>00598 <span class="keywordtype">void</span> <a class="code" href="structcve__summary__iterator.html#a31b4979a0e6bdc043e30120942cc6fe9">cve_summary_iterator_remove</a>(<span class="keyword">struct</span> <a class="code" href="structcve__summary__iterator.html" title="Iterator over CVE summaries.">cve_summary_iterator</a> *it);
<a name="l00599"></a>00599 
<a name="l00601"></a>00601 <span class="keywordtype">void</span> <a class="code" href="structcve__configuration__iterator.html#a9548a5f2fa80c7c63503cce19a055947">cve_configuration_iterator_remove</a>(<span class="keyword">struct</span> <a class="code" href="structcve__configuration__iterator.html" title="Iterator over CVE vulnerable configurations.">cve_configuration_iterator</a> *it);
<a name="l00602"></a>00602 
<a name="l00609"></a>00609 <span class="keywordtype">void</span> <a class="code" href="structcve__model.html#adea9158aefbd20d08ffd39918871196d" title="Export CVE model to XML file.">cve_model_export</a>(<span class="keyword">struct</span> <a class="code" href="structcve__model.html" title="cve_list cve_list is the top level element of the CVE List provided by MITRE.">cve_model</a> *cve, <span class="keyword">const</span> <span class="keywordtype">char</span> *file);
<a name="l00610"></a>00610 
<a name="l00618"></a>00618 <span class="keyword">struct </span><a class="code" href="structcve__model.html" title="cve_list cve_list is the top level element of the CVE List provided by MITRE.">cve_model</a> *<a class="code" href="structcve__model.html#a0b4422c3e6ea2339721a2ac973365b09" title="Parses the specified XML file and creates a list of CVE data structures.">cve_model_import</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *file);
<a name="l00619"></a>00619 
<a name="l00622"></a>00622 <span class="preprocessor">#endif                          </span><span class="comment">/* _CVE_H_ */</span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 30 Jun 2010 for Open SCAP Library by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>