Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 537b4767ca71616a4bccbb57df0c2eb6 > files > 95

openscap-devel-0.7.4-1.fc16.i686.rpm

<!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.7.4/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.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Open SCAP Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">/home/pvrabec/project/openscap/openscap-0.7.4/src/CVE/public/cve.h</div>  </div>
</div>
<div class="contents">
<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 &lt;time.h&gt;</span>
<a name="l00039"></a>00039 <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="l00040"></a>00040 <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="l00041"></a>00041 
<a name="l00046"></a>00046 <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="l00051"></a>00051 <span class="keyword">struct </span><a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a>;
<a name="l00056"></a>00056 <span class="keyword">struct </span><a class="code" href="structcve__summary.html" title="Structure holding CVE summary data.">cve_summary</a>;
<a name="l00061"></a>00061 <span class="keyword">struct </span><a class="code" href="structcve__product.html" title="Structure holding CVE product data.">cve_product</a>;
<a name="l00066"></a>00066 <span class="keyword">struct </span><a class="code" href="structcve__configuration.html" title="Structure CVE vulnerable configuration data.">cve_configuration</a>;
<a name="l00071"></a>00071 <span class="keyword">struct </span><a class="code" href="structcwe__entry.html" title="Structure holding CWE data.">cwe_entry</a>;
<a name="l00076"></a>00076 <span class="keyword">struct </span><a class="code" href="structcve__reference.html" title="Structure holding CVE reference data.">cve_reference</a>;
<a name="l00077"></a>00077 
<a name="l00078"></a>00078 <span class="comment">/************************************************************/</span>
<a name="l00091"></a>00091 <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="l00092"></a>00092 
<a name="l00098"></a>00098 <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="l00099"></a>00099 
<a name="l00105"></a>00105 <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="l00106"></a>00106 
<a name="l00112"></a>00112 <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="l00113"></a>00113 
<a name="l00119"></a>00119 <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&#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="l00120"></a>00120 
<a name="l00126"></a>00126 <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="l00127"></a>00127 
<a name="l00133"></a>00133 <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="l00134"></a>00134 
<a name="l00140"></a>00140 <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="l00141"></a>00141 
<a name="l00147"></a>00147 <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="l00149"></a>00149 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__CVE.html#ga31a1afb81746dce3ca62395f90714a6c">cve_reference_get_lang</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="l00150"></a>00150 
<a name="l00156"></a>00156 <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="l00162"></a>00162 <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="l00168"></a>00168 <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="l00174"></a>00174 <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="l00180"></a>00180 <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="l00186"></a>00186 <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="l00192"></a>00192 <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="l00193"></a>00193 
<a name="l00199"></a>00199 <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="l00205"></a>00205 <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="l00211"></a>00211 <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="l00212"></a>00212 
<a name="l00218"></a>00218 <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="l00219"></a>00219 
<a name="l00220"></a>00220 <span class="comment">/************************************************************/</span>
<a name="l00223"></a>00223 <span class="comment">/************************************************************/</span>
<a name="l00238"></a>00238 <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="l00239"></a>00239 
<a name="l00241"></a>00241 <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="l00242"></a>00242 
<a name="l00244"></a>00244 <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="l00245"></a>00245 
<a name="l00247"></a>00247 <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="l00248"></a>00248 
<a name="l00250"></a>00250 <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="l00251"></a>00251 
<a name="l00259"></a>00259 <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="l00267"></a>00267 <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="l00275"></a>00275 <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="l00283"></a>00283 <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="l00291"></a>00291 <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="l00299"></a>00299 <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="l00300"></a>00300 
<a name="l00308"></a>00308 <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="l00316"></a>00316 <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="l00324"></a>00324 <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="l00332"></a>00332 <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="l00333"></a>00333 
<a name="l00335"></a>00335 <span class="keywordtype">bool</span> <a class="code" href="group__CVE.html#ga16f3ed113e6cd5a585cc7ce9208d9ad0">cve_reference_set_lang</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_lang);
<a name="l00336"></a>00336 
<a name="l00344"></a>00344 <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="l00352"></a>00352 <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="l00360"></a>00360 <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="l00361"></a>00361 
<a name="l00362"></a>00362 <span class="comment">/************************************************************/</span>
<a name="l00365"></a>00365 <span class="comment">/************************************************************/</span>
<a name="l00377"></a>00377 <span class="keyword">struct </span><a class="code" href="structcve__entry__iterator.html" title="Iterator over CVE entries.">cve_entry_iterator</a>;
<a name="l00381"></a>00381 <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="l00385"></a>00385 <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="l00389"></a>00389 <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="l00390"></a>00390 
<a name="l00396"></a>00396 <span class="keyword">struct </span><a class="code" href="structcve__summary__iterator.html" title="Iterator over CVE summaries.">cve_summary_iterator</a>;
<a name="l00400"></a>00400 <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="l00404"></a>00404 <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="l00408"></a>00408 <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="l00409"></a>00409 
<a name="l00415"></a>00415 <span class="keyword">struct </span><a class="code" href="structcve__product__iterator.html" title="Iterator over CVE products.">cve_product_iterator</a>;
<a name="l00419"></a>00419 <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="l00423"></a>00423 <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="l00427"></a>00427 <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="l00428"></a>00428 
<a name="l00434"></a>00434 <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="l00438"></a>00438 <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="l00442"></a>00442 <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="l00446"></a>00446 <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="l00447"></a>00447 
<a name="l00453"></a>00453 <span class="keyword">struct </span><a class="code" href="structcve__reference__iterator.html" title="Iterator over CVE references.">cve_reference_iterator</a>;
<a name="l00457"></a>00457 <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="l00461"></a>00461 <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="l00465"></a>00465 <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="l00466"></a>00466 
<a name="l00467"></a>00467 
<a name="l00468"></a>00468 <span class="comment">/************************************************************/</span>
<a name="l00471"></a>00471 <span class="comment">/************************************************************/</span>
<a name="l00482"></a>00482 <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="l00483"></a>00483 
<a name="l00484"></a>00484 <span class="comment">/************************************************************/</span>
<a name="l00492"></a>00492 <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="l00498"></a>00498 <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="l00504"></a>00504 <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="l00510"></a>00510 <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="l00516"></a>00516 <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="l00522"></a>00522 <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="l00528"></a>00528 <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="l00529"></a>00529 
<a name="l00535"></a>00535 <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#ga8685c554268051877ee090124baa8f4e" title="Clone CVE entry.">cve_entry_clone</a>(<span class="keyword">struct</span> <a class="code" href="structcve__entry.html" title="Structure holding CVE entry data.">cve_entry</a> * old_entry);
<a name="l00536"></a>00536 
<a name="l00542"></a>00542 <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#ga6679b7ea79340c596ff64649dce1ba48" title="Clone CVE configuration.">cve_configuration_clone</a>(<span class="keyword">struct</span> <a class="code" href="structcve__configuration.html" title="Structure CVE vulnerable configuration data.">cve_configuration</a> * old_conf);
<a name="l00543"></a>00543 
<a name="l00549"></a>00549 <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#gaf900402b8ba9b4a99c94ac0e7afc4d34" title="Clone CWE entry.">cwe_entry_clone</a>(<span class="keyword">struct</span> <a class="code" href="structcwe__entry.html" title="Structure holding CWE data.">cwe_entry</a> * old_entry);
<a name="l00550"></a>00550 
<a name="l00556"></a>00556 <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#gac9d5efd5aa29467793bcfaa94cd2c8dc" title="Clone CVE product.">cve_product_clone</a>(<span class="keyword">struct</span> <a class="code" href="structcve__product.html" title="Structure holding CVE product data.">cve_product</a> * old_product);
<a name="l00557"></a>00557 
<a name="l00563"></a>00563 <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#gad45aa75b55e6fedb3760a73f4038f0be" title="Clone CVE summary.">cve_summary_clone</a>(<span class="keyword">struct</span> <a class="code" href="structcve__summary.html" title="Structure holding CVE summary data.">cve_summary</a> * old_sum);
<a name="l00564"></a>00564 
<a name="l00570"></a>00570 <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#ga83517414d6d81699368e453ade72909c" title="Clone CVE reference.">cve_reference_clone</a>(<span class="keyword">struct</span> <a class="code" href="structcve__reference.html" title="Structure holding CVE reference data.">cve_reference</a> * old_ref);
<a name="l00571"></a>00571 
<a name="l00577"></a>00577 <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#gaf140c33dd7cecf811e5b5a6f169ca35f" title="Clone CVE model.">cve_model_clone</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> * old_model);
<a name="l00578"></a>00578 
<a name="l00584"></a>00584 <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="l00585"></a>00585 
<a name="l00591"></a>00591 <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="l00592"></a>00592 
<a name="l00598"></a>00598 <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="l00599"></a>00599 
<a name="l00605"></a>00605 <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="l00606"></a>00606 
<a name="l00612"></a>00612 <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="l00613"></a>00613 
<a name="l00619"></a>00619 <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="l00620"></a>00620 
<a name="l00626"></a>00626 <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="l00627"></a>00627 
<a name="l00630"></a>00630 
<a name="l00631"></a>00631 <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="l00633"></a>00633 <span class="keywordtype">void</span> <a class="code" href="structcve__entry__iterator.html#a176e112d10830bb7ddab77c5c540ee48">cve_entry_iterator_reset</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="l00634"></a>00634 
<a name="l00636"></a>00636 <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="l00638"></a>00638 <span class="keywordtype">void</span> <a class="code" href="structcve__product__iterator.html#a096244520f1fa759438d71ae5bc20995">cve_product_iterator_reset</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="l00639"></a>00639 
<a name="l00641"></a>00641 <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="l00643"></a>00643 <span class="keywordtype">void</span> <a class="code" href="structcve__reference__iterator.html#a6c06e5dd5bb616eb7ef6a67cc3a5d646">cve_reference_iterator_reset</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="l00644"></a>00644 
<a name="l00646"></a>00646 <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="l00648"></a>00648 <span class="keywordtype">void</span> <a class="code" href="structcve__summary__iterator.html#ad45a3b1df18b0a6a5f92496d8419abbd">cve_summary_iterator_reset</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="l00649"></a>00649 
<a name="l00651"></a>00651 <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="l00653"></a>00653 <span class="keywordtype">void</span> <a class="code" href="structcve__configuration__iterator.html#ac2b28a8f4164ba0ed71079e0245d732e">cve_configuration_iterator_reset</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="l00654"></a>00654 
<a name="l00661"></a>00661 <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="l00662"></a>00662 
<a name="l00670"></a>00670 <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="l00671"></a>00671 
<a name="l00673"></a>00673 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structcve__model.html#ae89f84f0c381655aa341bb699ef2e9ed">cve_model_get_nvd_xml_version</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> *item);
<a name="l00675"></a>00675 <span class="keywordtype">bool</span> <a class="code" href="structcve__model.html#a79436a165cda3d6b0ef215141aa077ad">cve_model_set_nvd_xml_version</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> *obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *newval);
<a name="l00677"></a>00677 time_t <a class="code" href="structcve__model.html#a7ce176a136931f7ea77156c79b57177a">cve_model_get_pub_date</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> *item);
<a name="l00679"></a>00679 <span class="keywordtype">bool</span> <a class="code" href="structcve__model.html#ab0336154fb27aefdaa92032c60bac94f">cve_model_set_pub_date</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> *obj, time_t newval);
<a name="l00680"></a>00680 
<a name="l00683"></a>00683 <span class="preprocessor">#endif                          </span><span class="comment">/* _CVE_H_ */</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Mon Jul 25 2011 for Open SCAP Library by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>