<!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_item_metadata 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_item_metadata 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_item_metadata" --> <p>Structure representing metadata of CPE item. <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">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga01a8953e7c09b364d2548bba172a2db4">cpe_item_metadata_get_modification_date</a> (const struct <a class="el" href="structcpe__item__metadata.html">cpe_item_metadata</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__item__metadata.html" title="Structure representing metadata of CPE item.">cpe_item_metadata</a> function to get date <a href="group__cpedict.html#ga01a8953e7c09b364d2548bba172a2db4"></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#ga39e7816451de3ce3b7933bb4beb03b6f">cpe_item_metadata_get_status</a> (const struct <a class="el" href="structcpe__item__metadata.html">cpe_item_metadata</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__item__metadata.html" title="Structure representing metadata of CPE item.">cpe_item_metadata</a> function to get status <a href="group__cpedict.html#ga39e7816451de3ce3b7933bb4beb03b6f"></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#ga7123dc15fb4d602d149e68e94dd9e3e7">cpe_item_metadata_get_nvd_id</a> (const struct <a class="el" href="structcpe__item__metadata.html">cpe_item_metadata</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__item__metadata.html" title="Structure representing metadata of CPE item.">cpe_item_metadata</a> function to get nvd ID <a href="group__cpedict.html#ga7123dc15fb4d602d149e68e94dd9e3e7"></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#ga72a5eb56bd60d3eef787969b82e3d3db">cpe_item_metadata_get_deprecated_by_nvd_id</a> (const struct <a class="el" href="structcpe__item__metadata.html">cpe_item_metadata</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__item__metadata.html" title="Structure representing metadata of CPE item.">cpe_item_metadata</a> function to get NVD ID of deprecated item <a href="group__cpedict.html#ga72a5eb56bd60d3eef787969b82e3d3db"></a><br/></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__item__metadata.html">cpe_item_metadata</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga59d7030803f4789d88f9f18788c5787d">cpe_item_metadata_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#ga6752cd4cddd6fced70d548f8aa2b3956">cpe_item_metadata_set_modification_date</a> (struct <a class="el" href="structcpe__item__metadata.html">cpe_item_metadata</a> *item_metadata, const char *new_modification_date)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga7e2e84eb69192916cda5741d8f1fd81a">cpe_item_metadata_set_status</a> (struct <a class="el" href="structcpe__item__metadata.html">cpe_item_metadata</a> *item_metadata, const char *new_status)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gac36a53e3b3709dbf626f44fb46b9487a">cpe_item_metadata_set_nvd_id</a> (struct <a class="el" href="structcpe__item__metadata.html">cpe_item_metadata</a> *item_metadata, const char *new_nvd_id)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga72da424f5c535ddb9b74acc0da3ec110">cpe_item_metadata_set_deprecated_by_nvd_id</a> (struct <a class="el" href="structcpe__item__metadata.html">cpe_item_metadata</a> *item_metadata, const char *new_deprecated_by_nvd_id)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Structure representing metadata of CPE item. </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_8h_source.html">cpedict_priv.h</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>