<!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_version 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 Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data 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 Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div class="contents"> <h1>cpe_version Struct Reference<br/> <small> [<a class="el" href="group__CPEDictPrivate.html">Private members</a>, <a class="el" href="group__cpedict.html">CPE Dictionary</a>]</small> </h1><!-- doxytag: class="cpe_version" --> <p>Version of product. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="cpedict__priv_8h_source.html">cpedict_priv.h</a>></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__version__iterator.html">cpe_version_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gaf9ac49181886998bd2024a58172a664c">cpe_product_get_versions</a> (const struct <a class="el" href="structcpe__product.html">cpe_product</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__product.html" title="Product of some vendor.">cpe_product</a> functions to get versions of product <a href="group__cpedict.html#gaf9ac49181886998bd2024a58172a664c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga6c7e53dcc58061cb9ffcad9babd76d69">cpe_version_get_value</a> (const struct <a class="el" href="structcpe__version.html">cpe_version</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__version.html" title="Version of product.">cpe_version</a> functions to get vupdates of versions <a href="group__cpedict.html#ga6c7e53dcc58061cb9ffcad9babd76d69"></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 </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gae1227ae0834d6a9ccc4c5cd7c80b9b5f">cpe_version_free</a> (struct <a class="el" href="structcpe__version.html">cpe_version</a> *version)</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__version.html">cpe_version</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga01f368f7c6a1eebc69c7b77cd95f73c8">cpe_version_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 </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gacaafde832e8614a12f8685586fd3880a">cpe_version_set_value</a> (struct <a class="el" href="structcpe__version.html">cpe_version</a> *version, 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 </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gadec47054fe1f5267516eaab6dec00683">cpe_version_add_update</a> (struct <a class="el" href="structcpe__version.html">cpe_version</a> *version, struct <a class="el" href="structcpe__update.html">cpe_update</a> *new_update)</td></tr> <tr><td colspan="2"><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23718b5432366836be38b5eb5d4f7a9e"></a><!-- doxytag: member="cpe_version::xml" ref="a23718b5432366836be38b5eb5d4f7a9e" args="" --> struct <a class="el" href="structxml__metadata.html">xml_metadata</a> </td><td class="memItemRight" valign="bottom"><b>xml</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1a9bfaadeac3878ccc80cfed2f490b11"></a><!-- doxytag: member="cpe_version::value" ref="a1a9bfaadeac3878ccc80cfed2f490b11" args="" --> char * </td><td class="memItemRight" valign="bottom"><b>value</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a333eb4c18761ce459210ee7b37d9d5b5"></a><!-- doxytag: member="cpe_version::updates" ref="a333eb4c18761ce459210ee7b37d9d5b5" args="" --> struct <a class="el" href="structoscap__list.html">oscap_list</a> * </td><td class="memItemRight" valign="bottom"><b>updates</b></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Version of product. </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 <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>