<!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 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.7.4 --> <div id="top"> <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> <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> <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_item Struct Reference<div class="ingroups"><a class="el" href="group__cpedict.html">CPE Dictionary</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="cpe_item" --> <p>Structure representing single CPE dictionary item. <a href="structcpe__item.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><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga1107849fc84c83ee923092a91d9cab04">cpe_item_free</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__item.html">cpe_item</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga2bb69fddb8a6bb464d032b0c3271e499">cpe_item_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><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__name.html">cpe_name</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga2e61427852c3a13926fb0fc1494e2999">cpe_item_get_name</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get variable member name <a href="group__cpedict.html#ga2e61427852c3a13926fb0fc1494e2999"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__name.html">cpe_name</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gaa1a0b946da4f28874dfd062373737bd2">cpe_item_get_deprecated</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get variable member deprecated <a href="group__cpedict.html#gaa1a0b946da4f28874dfd062373737bd2"></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#ga49a4fb0b0841368bebd79405240a3bf4">cpe_item_get_deprecation_date</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get variable member date <a href="group__cpedict.html#ga49a4fb0b0841368bebd79405240a3bf4"></a><br/></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#gad619090ae9166f487643159b0d21b2d8">cpe_item_get_metadata</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get metadata of <a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> <a href="group__cpedict.html#gad619090ae9166f487643159b0d21b2d8"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__reference__iterator.html">cpe_reference_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga0ba8f555bf9436af38605800b47d9d02">cpe_item_get_references</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get CPE references <a href="group__cpedict.html#ga0ba8f555bf9436af38605800b47d9d02"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__check__iterator.html">cpe_check_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga76ca0c433155cc326af4439004753e50">cpe_item_get_checks</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get CPE checks <a href="group__cpedict.html#ga76ca0c433155cc326af4439004753e50"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoscap__text__iterator.html">oscap_text_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga8df016aad7e18fa8537c8fda200525b1">cpe_item_get_titles</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get CPE titles <a href="group__cpedict.html#ga8df016aad7e18fa8537c8fda200525b1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoscap__text__iterator.html">oscap_text_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga2ff747e68260d87a175eec23134dff0a">cpe_item_get_notes</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get CPE notes <a href="group__cpedict.html#ga2ff747e68260d87a175eec23134dff0a"></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><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga42805776141de4fbc16ec3c27a689cd5">cpe_item_set_deprecation_date</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, const char *new_deprecation_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#ga34beb8ded8a6266e9c7d753467e316f2">cpe_item_add_reference</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, struct <a class="el" href="structcpe__reference.html">cpe_reference</a> *new_reference)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gad5964c784858955efbd6b447f02fea98">cpe_item_add_check</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, struct <a class="el" href="structcpe__check.html">cpe_check</a> *new_check)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gacaf4886c5af436da582cf8ac95cb1c47">cpe_item_add_title</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, struct <a class="el" href="structoscap__text.html">oscap_text</a> *new_title)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gacdfacb45574eabb47d8eae2eb261a483">cpe_item_add_note</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, struct <a class="el" href="structoscap__text.html">oscap_text</a> *new_title)</td></tr> <tr><td colspan="2"><div class="groupHeader">Iterators</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#ga3a0cb59d7dd59f674c37348e52ed4945">cpe_item_iterator_remove</a> (struct <a class="el" href="structcpe__item__iterator.html">cpe_item_iterator</a> *it)</td></tr> <tr><td colspan="2"><h2><a name="pub-attribs"></a> Data Fields</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa9877c425c462e810ba68e8333288e72"></a><!-- doxytag: member="cpe_item::name" ref="aa9877c425c462e810ba68e8333288e72" args="" --> struct <a class="el" href="structcpe__name.html">cpe_name</a> * </td><td class="memItemRight" valign="bottom"><b>name</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a46682f7586b287ec2a6f695e2ffa499e"></a><!-- doxytag: member="cpe_item::titles" ref="a46682f7586b287ec2a6f695e2ffa499e" args="" --> struct <a class="el" href="structoscap__list.html">oscap_list</a> * </td><td class="memItemRight" valign="bottom"><b>titles</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3dae13d8fc9ee810ae3210172ede1c26"></a><!-- doxytag: member="cpe_item::deprecated" ref="a3dae13d8fc9ee810ae3210172ede1c26" args="" --> struct <a class="el" href="structcpe__name.html">cpe_name</a> * </td><td class="memItemRight" valign="bottom"><b>deprecated</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acbdd49d44665cb2fb804a8ee6ae11265"></a><!-- doxytag: member="cpe_item::deprecation_date" ref="acbdd49d44665cb2fb804a8ee6ae11265" args="" --> char * </td><td class="memItemRight" valign="bottom"><b>deprecation_date</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7da772db6d2d547a5d26109e95d5c04"></a><!-- doxytag: member="cpe_item::references" ref="ad7da772db6d2d547a5d26109e95d5c04" args="" --> struct <a class="el" href="structoscap__list.html">oscap_list</a> * </td><td class="memItemRight" valign="bottom"><b>references</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae0521c40b55a099ffa874490429b7cc9"></a><!-- doxytag: member="cpe_item::checks" ref="ae0521c40b55a099ffa874490429b7cc9" args="" --> struct <a class="el" href="structoscap__list.html">oscap_list</a> * </td><td class="memItemRight" valign="bottom"><b>checks</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6985cd6f755af85215581e84780d494a"></a><!-- doxytag: member="cpe_item::notes" ref="a6985cd6f755af85215581e84780d494a" args="" --> struct <a class="el" href="structoscap__list.html">oscap_list</a> * </td><td class="memItemRight" valign="bottom"><b>notes</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab10af0515c684a4934303de5736e96a0"></a><!-- doxytag: member="cpe_item::metadata" ref="ab10af0515c684a4934303de5736e96a0" args="" --> struct <a class="el" href="structcpe__item__metadata.html">cpe_item_metadata</a> * </td><td class="memItemRight" valign="bottom"><b>metadata</b></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Structure representing single CPE dictionary item. </p> </div><hr/>The documentation for this struct was generated from the following files:<ul> <li>/home/pvrabec/project/openscap/openscap-0.7.4/src/CPE/<a class="el" href="cpedict__priv_8c.html">cpedict_priv.c</a></li> <li>/home/pvrabec/project/openscap/openscap-0.7.4/src/CPE/public/<a class="el" href="cpedict_8h_source.html">cpedict.h</a></li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Mon Jul 25 2011 for Open SCAP Library by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>