Sophie

Sophie

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

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: cpe_edition Struct 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 class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&nbsp;Structure&nbsp;Index</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>cpe_edition Struct Reference<br/>
<small>
[<a class="el" href="group__CPEDictPrivate.html">Private members</a>,&nbsp;<a class="el" href="group__cpedict.html">CPE Dictionary</a>]</small>
</h1><!-- doxytag: class="cpe_edition" -->
<p>Edition of product update.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="cpedict__priv_8h_source.html">cpedict_priv.h</a>&gt;</code></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Get functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpc2ac1eb4de8ec5add5567cbae2f237e5"></a>Functions for getting attributes from CVE model structures.</p>
<p>Return value is pointer to structure's member. Do not free unless you null the pointer in the structure. Use remove function otherwise. </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__edition__iterator.html">cpe_edition_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga913e2117bb089fcb61b3a9d2fc93ecc4">cpe_update_get_editions</a> (const struct <a class="el" href="structcpe__update.html">cpe_update</a> *items)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__update.html" title="Update of product version.">cpe_update</a> functions to get editions of update  <a href="group__cpedict.html#ga913e2117bb089fcb61b3a9d2fc93ecc4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga171747be274c83799f834370b966b2ab">cpe_edition_get_value</a> (const struct <a class="el" href="structcpe__edition.html">cpe_edition</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__edition.html" title="Edition of product update.">cpe_edition</a> functions to get value of edition  <a href="group__cpedict.html#ga171747be274c83799f834370b966b2ab"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Free functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp237dd65bc76b7de56066830910ced6ed"></a>Destructors of CVE model structures.</p>
<p>Functions free structures with all members recursively. For simple deletion of entity use remove functions. </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga9ab05b9fc9bf3b9370a07decf5b1bd08">cpe_edition_free</a> (struct <a class="el" href="structcpe__edition.html">cpe_edition</a> *edition)</td></tr>
<tr><td colspan="2"><div class="groupHeader">New functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp73a4128f20867fa23ebb2e75e58922df"></a>Constructors of CVE model structures.</p>
<p>Free function returns new empty allocated structure. If returns non NULL it need to be freed by the caller. </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__edition.html">cpe_edition</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga8f79acfce7b5eedd216f64d76eff26a9">cpe_edition_new</a> (void)</td></tr>
<tr><td colspan="2"><div class="groupHeader">Set functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp8b7ecf2f4bd25da1aae981677901d55d"></a>Set functions assign values to members of structures except lists.</p>
<p>For lists use add functions. Parameters of set functions are duplicated in memory and need to be freed by caller. </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga7555dd2a609fffde28eaf3f4f7edde50">cpe_edition_set_value</a> (struct <a class="el" href="structcpe__edition.html">cpe_edition</a> *edition, const char *new_value)</td></tr>
<tr><td colspan="2"><div class="groupHeader">Add functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpaabced06c8a2e8c15954ce4b1e334884"></a>Functions to add member to list.</p>
<p>Return value is true if added succesfuly or false in case of error. </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga457b5ce27a6bd2c0e1f85566d854f0e0">cpe_edition_add_language</a> (struct <a class="el" href="structcpe__edition.html">cpe_edition</a> *edition, struct <a class="el" href="structcpe__language.html">cpe_language</a> *new_language)</td></tr>
<tr><td colspan="2"><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2cd9fd630aeffab72750120dad5a8a3"></a><!-- doxytag: member="cpe_edition::xml" ref="ad2cd9fd630aeffab72750120dad5a8a3" args="" -->
struct <a class="el" href="structxml__metadata.html">xml_metadata</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>xml</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7572dfabb68824825abfb0f361c4d629"></a><!-- doxytag: member="cpe_edition::value" ref="a7572dfabb68824825abfb0f361c4d629" args="" -->
char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>value</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a05225bac753fc21c38a7e1ab8d222563"></a><!-- doxytag: member="cpe_edition::languages" ref="a05225bac753fc21c38a7e1ab8d222563" args="" -->
struct <a class="el" href="structoscap__list.html">oscap_list</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>languages</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Edition of product update. </p>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>/home/pvrabec/openscap/openscap-0.5.7/src/CPE/<a class="el" href="cpedict__priv_8c.html">cpedict_priv.c</a></li>
<li>/home/pvrabec/openscap/openscap-0.5.7/src/CPE/public/<a class="el" href="cpedict_8h_source.html">cpedict.h</a></li>
</ul>
</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>