<!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_update 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_update Struct Reference<div class="ingroups"><a class="el" href="group__cpedict.html">CPE Dictionary</a></div></div> </div> </div><!--header--> <div class="contents"> <p>Update of product version. <a href="structcpe__update.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:ga7bef08622b2118d2aa3fcc2f852d0e71"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga7bef08622b2118d2aa3fcc2f852d0e71">cpe_update_free</a> (struct <a class="el" href="structcpe__update.html">cpe_update</a> *update)</td></tr> <tr class="memitem:gaa27cba86928c643d778c33d6fe3153c7"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__update.html">cpe_update</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gaa27cba86928c643d778c33d6fe3153c7">cpe_update_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:gaa43563950fa0afc3bb9bcd382137d358"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__update__iterator.html">cpe_update_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gaa43563950fa0afc3bb9bcd382137d358">cpe_version_get_updates</a> (const struct <a class="el" href="structcpe__version.html">cpe_version</a> *item)</td></tr> <tr class="memdesc:gaa43563950fa0afc3bb9bcd382137d358"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__version.html" title="Version of product.">cpe_version</a> functions to get value of version <a href="group__cpedict.html#gaa43563950fa0afc3bb9bcd382137d358"></a><br/></td></tr> <tr class="memitem:ga1e37dce2bb776e0a26ebacb111acfc78"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga1e37dce2bb776e0a26ebacb111acfc78">cpe_update_get_value</a> (const struct <a class="el" href="structcpe__update.html">cpe_update</a> *item)</td></tr> <tr class="memdesc:ga1e37dce2bb776e0a26ebacb111acfc78"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__update.html" title="Update of product version.">cpe_update</a> functions to get updates of version <a href="group__cpedict.html#ga1e37dce2bb776e0a26ebacb111acfc78"></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:ga6b6cb1a0dd76f599692dd321681959fd"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga6b6cb1a0dd76f599692dd321681959fd">cpe_update_set_value</a> (struct <a class="el" href="structcpe__update.html">cpe_update</a> *update, const char *new_value)</td></tr> <tr class="memitem:gaed49e9442fb935f5e8e6fcfc1bec95ff"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gaed49e9442fb935f5e8e6fcfc1bec95ff">cpe_update_add_edition</a> (struct <a class="el" href="structcpe__update.html">cpe_update</a> *update, struct <a class="el" href="structcpe__edition.html">cpe_edition</a> *new_edition)</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:a2c762b08c513aeba1aedac12a62f8d01"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2c762b08c513aeba1aedac12a62f8d01"></a> char * </td><td class="memItemRight" valign="bottom"><b>value</b></td></tr> <tr class="memitem:a07bb1d4a054af3c1ac85c1159973b194"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a07bb1d4a054af3c1ac85c1159973b194"></a> struct <a class="el" href="structoscap__list.html">oscap_list</a> * </td><td class="memItemRight" valign="bottom"><b>editions</b></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Update of product version. </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>