Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 3736f276bb1ccfbcee6cb2d27b25d981 > files > 74

openscap-devel-0.5.7-1mdv2010.1.x86_64.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/openscap/openscap-0.5.7/src/CVE/cve.c File Reference</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>
</div>
<div class="contents">
<h1>/home/pvrabec/openscap/openscap-0.5.7/src/CVE/cve.c File Reference</h1>
<p>Interface to Common Vulnerability and Exposure dictionary.  
<a href="#_details">More...</a></p>
<code>#include &quot;<a class="el" href="cve_8h_source.html">public/cve.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="cve__priv_8h_source.html">cve_priv.h</a>&quot;</code><br/>
<code>#include &quot;../common/util.h&quot;</code><br/>
<code>#include &quot;../common/list.h&quot;</code><br/>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a03544e0b14e64db06c427a109f27d308"></a><!-- doxytag: member="cve.c::CVE_SUPPORTED" ref="a03544e0b14e64db06c427a109f27d308" args="" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>CVE_SUPPORTED</b>&nbsp;&nbsp;&nbsp;&quot;2.0&quot;</td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcve__model.html">cve_model</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="cve_8c.html#adeb6530e23981aad87ee849c26d9cd8b">cve_model_import</a> (const struct <a class="el" href="structoscap__import__source.html">oscap_import_source</a> *source)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Public function to import CVE model from OSCAP import source.  <a href="#adeb6530e23981aad87ee849c26d9cd8b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="cve_8c.html#a10ba15f1eb55778addf375685b80e96f">cve_model_export</a> (struct <a class="el" href="structcve__model.html">cve_model</a> *cve, const struct <a class="el" href="structoscap__export__target.html">oscap_export_target</a> *target)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Public function to export CVE model to OSCAP export target.  <a href="#a10ba15f1eb55778addf375685b80e96f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3cede3c354e6209b6c4a87af61be0a4"></a><!-- doxytag: member="cve.c::cve_model_supported" ref="aa3cede3c354e6209b6c4a87af61be0a4" args="(void)" -->
const char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>cve_model_supported</b> (void)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Interface to Common Vulnerability and Exposure dictionary. </p>
<p>See details at: <a href="http://cve.mitre.org/">http://cve.mitre.org/</a> <a href="http://nvd.nist.gov/download.cfm">http://nvd.nist.gov/download.cfm</a> </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a10ba15f1eb55778addf375685b80e96f"></a><!-- doxytag: member="cve.c::cve_model_export" ref="a10ba15f1eb55778addf375685b80e96f" args="(struct cve_model *cve, const struct oscap_export_target *target)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cve_model_export </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structcve__model.html">cve_model</a> *&nbsp;</td>
          <td class="paramname"> <em>cve</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="structoscap__export__target.html">oscap_export_target</a> *&nbsp;</td>
          <td class="paramname"> <em>target</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Public function to export CVE model to OSCAP export target. </p>
<p>Function fill the structure _target_ with model that is represented by structure _cve_. </p>

</div>
</div>
<a class="anchor" id="adeb6530e23981aad87ee849c26d9cd8b"></a><!-- doxytag: member="cve.c::cve_model_import" ref="adeb6530e23981aad87ee849c26d9cd8b" args="(const struct oscap_import_source *source)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structcve__model.html">cve_model</a>* cve_model_import </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structoscap__import__source.html">oscap_import_source</a> *&nbsp;</td>
          <td class="paramname"> <em>source</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [read]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Public function to import CVE model from OSCAP import source. </p>
<p>Function returns CVE model, need to free source after calling this function </p>

</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 26 Feb 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>