<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>Open SCAP Library: cpe_version Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <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> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <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 id="navrow2" class="tabs2"> <ul class="tablist"> <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><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-attribs">Data Fields</a> </div> <div class="headertitle"> <div class="title">cpe_version Struct Reference<div class="ingroups"><a class="el" href="group__cpedict.html">CPE Dictionary</a></div></div> </div> </div><!--header--> <div class="contents"> <p>Version of product. <a href="structcpe__version.html#details">More...</a></p> <p><code>#include <<a class="el" href="cpedict__priv_8h_source.html">cpedict_priv.h</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:gae1227ae0834d6a9ccc4c5cd7c80b9b5f"><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 class="memitem:ga01f368f7c6a1eebc69c7b77cd95f73c8"><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">Getters</div></td></tr> <tr><td colspan="2"><div class="groupText"><p>Return value is pointer to structure's member.</p> <p>Do not free unless you null the pointer in the structure. Use remove function otherwise. </p> </div></td></tr> <tr class="memitem:gaf9ac49181886998bd2024a58172a664c"><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 class="memdesc:gaf9ac49181886998bd2024a58172a664c"><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 class="memitem:ga6c7e53dcc58061cb9ffcad9babd76d69"><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 class="memdesc:ga6c7e53dcc58061cb9ffcad9babd76d69"><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">Setters</div></td></tr> <tr><td colspan="2"><div class="groupText"><p>For lists use add functions.</p> <p>Parameters of set functions are duplicated in memory and need to be freed by caller. </p> </div></td></tr> <tr class="memitem:gacaafde832e8614a12f8685586fd3880a"><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 class="memitem:gadec47054fe1f5267516eaab6dec00683"><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> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="pub-attribs"></a> Data Fields</h2></td></tr> <tr class="memitem:a1a9bfaadeac3878ccc80cfed2f490b11"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1a9bfaadeac3878ccc80cfed2f490b11"></a> char * </td><td class="memItemRight" valign="bottom"><b>value</b></td></tr> <tr class="memitem:a333eb4c18761ce459210ee7b37d9d5b5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a333eb4c18761ce459210ee7b37d9d5b5"></a> 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" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Version of product. </p> </div><hr/>The documentation for this struct was generated from the following files:<ul> <li><a class="el" href="cpedict__priv_8c.html">cpedict_priv.c</a></li> <li><a class="el" href="cpe__dict_8h_source.html">cpe_dict.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.1 </small></address> </body> </html>