<!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: xccdf_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.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>xccdf_item Struct Reference<br/> <small> [<a class="el" href="group__XCCDF.html">XCCDF</a>]</small> </h1><!-- doxytag: class="xccdf_item" --> <p>A base class for XCCDF items. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="xccdf_8h_source.html">xccdf.h</a>></code></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab2d57ffd6182ad37fc524752a176ee8f"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_type" ref="ab2d57ffd6182ad37fc524752a176ee8f" args="(const struct xccdf_item *item)" --> <a class="el" href="group__XCCDF.html#ga1c722a7917110bdb164e21e75ed6cfa6">xccdf_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#ab2d57ffd6182ad37fc524752a176ee8f">xccdf_item_get_type</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get item type. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#ab76134e1c1edbd16446c8386b188c5bc">xccdf_item_get_id</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get item ID. <a href="#ab76134e1c1edbd16446c8386b188c5bc"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5379376888d769ea81bcb25ab920da1c"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_title" ref="a5379376888d769ea81bcb25ab920da1c" args="(const struct xccdf_item *item)" --> struct <a class="el" href="structoscap__text__iterator.html">oscap_text_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#a5379376888d769ea81bcb25ab920da1c">xccdf_item_get_title</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get item title. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a585471c8209d6f27fdd43323f65b97de"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_description" ref="a585471c8209d6f27fdd43323f65b97de" args="(const struct xccdf_item *item)" --> struct <a class="el" href="structoscap__text__iterator.html">oscap_text_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#a585471c8209d6f27fdd43323f65b97de">xccdf_item_get_description</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get item description. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#a703a5852f4dbd5b2cf9b11e6a49fcfce">xccdf_item_get_version</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get item version. <a href="#a703a5852f4dbd5b2cf9b11e6a49fcfce"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6d903bb9a7c11f40e427f2ff836b65fc"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_extends" ref="a6d903bb9a7c11f40e427f2ff836b65fc" args="(const struct xccdf_item *item)" --> struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#a6d903bb9a7c11f40e427f2ff836b65fc">xccdf_item_get_extends</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return item's parent in the inheritance hierarchy. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#a1aa026748670bdb35f9493309af377d4">xccdf_item_get_parent</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return item's parent in the grouping hierarchy. <a href="#a1aa026748670bdb35f9493309af377d4"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a34a1abdde6b2b3f5503fad795d9a3217"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_statuses" ref="a34a1abdde6b2b3f5503fad795d9a3217" args="(const struct xccdf_item *item)" --> struct <a class="el" href="structxccdf__status__iterator.html">xccdf_status_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#a34a1abdde6b2b3f5503fad795d9a3217">xccdf_item_get_statuses</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an iterator to item statuses. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af0dd88cec247866a006b1f1302250f90"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_references" ref="af0dd88cec247866a006b1f1302250f90" args="(const struct xccdf_item *item)" --> struct <a class="el" href="structxccdf__reference__iterator.html">xccdf_reference_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#af0dd88cec247866a006b1f1302250f90">xccdf_item_get_references</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an iterator to the XCCDF references of the item. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a26be4e78986cc02e5a4906f3cc4b3956"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_current_status" ref="a26be4e78986cc02e5a4906f3cc4b3956" args="(const struct xccdf_item *item)" --> <a class="el" href="group__XCCDF.html#gac0d5c1c85828e13ebb13935551f8da38">xccdf_status_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#a26be4e78986cc02e5a4906f3cc4b3956">xccdf_item_get_current_status</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get item current status. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structxccdf__benchmark.html">xccdf_benchmark</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#abb8cd5cb505ba695bfd7acff400b5bc2">xccdf_item_to_benchmark</a> (struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert the item to a benchmark. <a href="#abb8cd5cb505ba695bfd7acff400b5bc2"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#aaf6d05d4ec9f3b06aae0fba81a6db3f5">xccdf_item_to_profile</a> (struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert the item to a profile. <a href="#aaf6d05d4ec9f3b06aae0fba81a6db3f5"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structxccdf__rule.html">xccdf_rule</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#a678afb2bfa7aaf0d70550786d9fac2f0">xccdf_item_to_rule</a> (struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert the item to a rule. <a href="#a678afb2bfa7aaf0d70550786d9fac2f0"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structxccdf__group.html">xccdf_group</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#a1081781c7d2f1c143837a6830e301df1">xccdf_item_to_group</a> (struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert the item to a group. <a href="#a1081781c7d2f1c143837a6830e301df1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structxccdf__value.html">xccdf_value</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#a0112c34d94dfcb6a51bc3cfd71de02f3">xccdf_item_to_value</a> (struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert the item to a value. <a href="#a0112c34d94dfcb6a51bc3cfd71de02f3"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structxccdf__result.html">xccdf_result</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#a08d6dc4cf86680c9efced168687348e6">xccdf_item_to_result</a> (struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert the item to a test result. <a href="#a08d6dc4cf86680c9efced168687348e6"></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="structxccdf__item.html#ab4af0809bd3555164c610dd11ccd8063">xccdf_item_get_question</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structxccdf__warning__iterator.html">xccdf_warning_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#a934d5afc284cd8a95c67592aa135c001">xccdf_item_get_warnings</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</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="structxccdf__item.html#a44e972c1e902a83186f4f66fc82f2ca8">xccdf_item_get_rationale</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#a7158bf7eaf418efd9bb1702771a78cb9">xccdf_item_get_cluster_id</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#add1a40adb7c180b660c49169cb3d987e">xccdf_item_get_version_update</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#a7c948fdd6de2a476d8e603862e7292ea">xccdf_item_get_version_time</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#ad26e4ec4aae2f1e6ce825df029db0316">xccdf_item_get_weight</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structxccdf__benchmark.html">xccdf_benchmark</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#aff197e1d8facaa788f37529dfada7526">xccdf_item_get_benchmark</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoscap__string__iterator.html">oscap_string_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structxccdf__item.html#a31b10a1ee35af89d6df383ec3df19e4c">xccdf_item_get_platforms</a> (const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td colspan="2"><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e2f2f1d0f2daffc827355ff6e954744"></a><!-- doxytag: member="xccdf_item::type" ref="a6e2f2f1d0f2daffc827355ff6e954744" args="" --> <a class="el" href="group__XCCDF.html#ga1c722a7917110bdb164e21e75ed6cfa6">xccdf_type_t</a> </td><td class="memItemRight" valign="bottom"><b>type</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c410fdf6b784fac893292ba316d252d"></a><!-- doxytag: member="xccdf_item::item" ref="a7c410fdf6b784fac893292ba316d252d" args="" --> struct <a class="el" href="structxccdf__item__base.html">xccdf_item_base</a> </td><td class="memItemRight" valign="bottom"><b>item</b></td></tr> <tr><td class="memItemLeft" ><a class="anchor" id="a5ec8527f99103046924c71289c372774"></a><!-- doxytag: member="xccdf_item::sub" ref="a5ec8527f99103046924c71289c372774" args="" --> union {</td></tr> <tr><td class="memItemLeft" > struct <a class="el" href="structxccdf__profile__item.html">xccdf_profile_item</a> <b>profile</b></td></tr> <tr><td class="memItemLeft" > struct <a class="el" href="structxccdf__benchmark__item.html">xccdf_benchmark_item</a> <b>bench</b></td></tr> <tr><td class="memItemLeft" > struct <a class="el" href="structxccdf__rule__item.html">xccdf_rule_item</a> <b>rule</b></td></tr> <tr><td class="memItemLeft" > struct <a class="el" href="structxccdf__group__item.html">xccdf_group_item</a> <b>group</b></td></tr> <tr><td class="memItemLeft" > struct <a class="el" href="structxccdf__value__item.html">xccdf_value_item</a> <b>value</b></td></tr> <tr><td class="memItemLeft" > struct <a class="el" href="structxccdf__result__item.html">xccdf_result_item</a> <b>result</b></td></tr> <tr><td class="memItemLeft" valign="top">} </td><td class="memItemRight" valign="bottom"><b>sub</b></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A base class for XCCDF items. </p> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aff197e1d8facaa788f37529dfada7526"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_benchmark" ref="aff197e1d8facaa788f37529dfada7526" args="(const struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structxccdf__benchmark.html">xccdf_benchmark</a> * xccdf_item_get_benchmark </td> <td>(</td> <td class="paramtype">const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td><code> [read]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a7158bf7eaf418efd9bb1702771a78cb9"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_cluster_id" ref="a7158bf7eaf418efd9bb1702771a78cb9" args="(const struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * xccdf_item_get_cluster_id </td> <td>(</td> <td class="paramtype">const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ab76134e1c1edbd16446c8386b188c5bc"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_id" ref="ab76134e1c1edbd16446c8386b188c5bc" args="(const struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * xccdf_item_get_id </td> <td>(</td> <td class="paramtype">const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Get item ID. </p> </div> </div> <a class="anchor" id="a1aa026748670bdb35f9493309af377d4"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_parent" ref="a1aa026748670bdb35f9493309af377d4" args="(const struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * xccdf_item_get_parent </td> <td>(</td> <td class="paramtype">const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td><code> [read]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Return item's parent in the grouping hierarchy. </p> <p>Returned item will be either a group or a benchmark. </p> </div> </div> <a class="anchor" id="a31b10a1ee35af89d6df383ec3df19e4c"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_platforms" ref="a31b10a1ee35af89d6df383ec3df19e4c" args="(const struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structoscap__string__iterator.html">oscap_string_iterator</a> * xccdf_item_get_platforms </td> <td>(</td> <td class="paramtype">const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td><code> [read]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ab4af0809bd3555164c610dd11ccd8063"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_question" ref="ab4af0809bd3555164c610dd11ccd8063" args="(const struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structoscap__text__iterator.html">oscap_text_iterator</a> * xccdf_item_get_question </td> <td>(</td> <td class="paramtype">const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td><code> [read]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a44e972c1e902a83186f4f66fc82f2ca8"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_rationale" ref="a44e972c1e902a83186f4f66fc82f2ca8" args="(const struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structoscap__text__iterator.html">oscap_text_iterator</a> * xccdf_item_get_rationale </td> <td>(</td> <td class="paramtype">const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td><code> [read]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a703a5852f4dbd5b2cf9b11e6a49fcfce"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_version" ref="a703a5852f4dbd5b2cf9b11e6a49fcfce" args="(const struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * xccdf_item_get_version </td> <td>(</td> <td class="paramtype">const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Get item version. </p> </div> </div> <a class="anchor" id="a7c948fdd6de2a476d8e603862e7292ea"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_version_time" ref="a7c948fdd6de2a476d8e603862e7292ea" args="(const struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">time_t xccdf_item_get_version_time </td> <td>(</td> <td class="paramtype">const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="add1a40adb7c180b660c49169cb3d987e"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_version_update" ref="add1a40adb7c180b660c49169cb3d987e" args="(const struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * xccdf_item_get_version_update </td> <td>(</td> <td class="paramtype">const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a934d5afc284cd8a95c67592aa135c001"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_warnings" ref="a934d5afc284cd8a95c67592aa135c001" args="(const struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structxccdf__warning__iterator.html">xccdf_warning_iterator</a> * xccdf_item_get_warnings </td> <td>(</td> <td class="paramtype">const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td><code> [read]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ad26e4ec4aae2f1e6ce825df029db0316"></a><!-- doxytag: member="xccdf_item::xccdf_item_get_weight" ref="ad26e4ec4aae2f1e6ce825df029db0316" args="(const struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">float xccdf_item_get_weight </td> <td>(</td> <td class="paramtype">const struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="abb8cd5cb505ba695bfd7acff400b5bc2"></a><!-- doxytag: member="xccdf_item::xccdf_item_to_benchmark" ref="abb8cd5cb505ba695bfd7acff400b5bc2" args="(struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structxccdf__benchmark.html">xccdf_benchmark</a> * xccdf_item_to_benchmark </td> <td>(</td> <td class="paramtype">struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td><code> [read]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Convert the item to a benchmark. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to this item as the benchmark. </dd></dl> <dl><dt><b>Return values:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>NULL</em> </td><td>on faliure (e.g. item is not a benchmark) </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a1081781c7d2f1c143837a6830e301df1"></a><!-- doxytag: member="xccdf_item::xccdf_item_to_group" ref="a1081781c7d2f1c143837a6830e301df1" args="(struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structxccdf__group.html">xccdf_group</a> * xccdf_item_to_group </td> <td>(</td> <td class="paramtype">struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td><code> [read]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Convert the item to a group. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to this item as the group. </dd></dl> <dl><dt><b>Return values:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>NULL</em> </td><td>on faliure (e.g. item is not a group) </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="aaf6d05d4ec9f3b06aae0fba81a6db3f5"></a><!-- doxytag: member="xccdf_item::xccdf_item_to_profile" ref="aaf6d05d4ec9f3b06aae0fba81a6db3f5" args="(struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structxccdf__profile.html">xccdf_profile</a> * xccdf_item_to_profile </td> <td>(</td> <td class="paramtype">struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td><code> [read]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Convert the item to a profile. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to this item as the profile. </dd></dl> <dl><dt><b>Return values:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>NULL</em> </td><td>on faliure (e.g. item is not a profile) </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a08d6dc4cf86680c9efced168687348e6"></a><!-- doxytag: member="xccdf_item::xccdf_item_to_result" ref="a08d6dc4cf86680c9efced168687348e6" args="(struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structxccdf__result.html">xccdf_result</a> * xccdf_item_to_result </td> <td>(</td> <td class="paramtype">struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td><code> [read]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Convert the item to a test result. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to this item as the test result. </dd></dl> <dl><dt><b>Return values:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>NULL</em> </td><td>on faliure (e.g. item is not a test result) </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a678afb2bfa7aaf0d70550786d9fac2f0"></a><!-- doxytag: member="xccdf_item::xccdf_item_to_rule" ref="a678afb2bfa7aaf0d70550786d9fac2f0" args="(struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structxccdf__rule.html">xccdf_rule</a> * xccdf_item_to_rule </td> <td>(</td> <td class="paramtype">struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td><code> [read]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Convert the item to a rule. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to this item as the rule. </dd></dl> <dl><dt><b>Return values:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>NULL</em> </td><td>on faliure (e.g. item is not a rule) </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a0112c34d94dfcb6a51bc3cfd71de02f3"></a><!-- doxytag: member="xccdf_item::xccdf_item_to_value" ref="a0112c34d94dfcb6a51bc3cfd71de02f3" args="(struct xccdf_item *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structxccdf__value.html">xccdf_value</a> * xccdf_item_to_value </td> <td>(</td> <td class="paramtype">struct <a class="el" href="structxccdf__item.html">xccdf_item</a> * </td> <td class="paramname"> <em>item</em></td> <td> ) </td> <td><code> [read]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Convert the item to a value. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to this item as the value. </dd></dl> <dl><dt><b>Return values:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>NULL</em> </td><td>on faliure (e.g. item is not a value) </td></tr> </table> </dd> </dl> </div> </div> <hr/>The documentation for this struct was generated from the following files:<ul> <li>/home/pvrabec/openscap/openscap-0.5.7/src/XCCDF/<a class="el" href="item_8h_source.html">item.h</a></li> <li>/home/pvrabec/openscap/openscap-0.5.7/src/XCCDF/public/<a class="el" href="xccdf_8h_source.html">xccdf.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>