<!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: xccdf_target_identifier 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">xccdf_target_identifier Struct Reference<div class="ingroups"><a class="el" href="group__XCCDF.html">XCCDF</a></div></div> </div> </div><!--header--> <div class="contents"> <p>Can be either <target-id-ref> or some other element. <a href="structxccdf__target__identifier.html#details">More...</a></p> <p><code>#include <<a class="el" href="xccdf__benchmark_8h_source.html">xccdf_benchmark.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:ga44da8c54311c2b1e06ea0bfde6b32941"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structxccdf__target__identifier.html">xccdf_target_identifier</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga44da8c54311c2b1e06ea0bfde6b32941">xccdf_target_identifier_new</a> (void)</td></tr> <tr class="memitem:gab9edbacdaac1c880121899e3d1d2b850"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structxccdf__target__identifier.html">xccdf_target_identifier</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gab9edbacdaac1c880121899e3d1d2b850">xccdf_target_identifier_clone</a> (const struct <a class="el" href="structxccdf__target__identifier.html">xccdf_target_identifier</a> *ti)</td></tr> <tr class="memitem:gae23a7f0798510570d58fcdd7ccf39e60"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gae23a7f0798510570d58fcdd7ccf39e60">xccdf_target_identifier_free</a> (struct <a class="el" href="structxccdf__target__identifier.html">xccdf_target_identifier</a> *ti)</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:gae9fa8cfa325b77b8bdd04df01d9eb56c"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gae9fa8cfa325b77b8bdd04df01d9eb56c">xccdf_target_identifier_get_xml_node</a> (const struct <a class="el" href="structxccdf__target__identifier.html">xccdf_target_identifier</a> *item)</td></tr> <tr class="memitem:ga8e5c189deaa24993dea5ae4eeb4ef133"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga8e5c189deaa24993dea5ae4eeb4ef133">xccdf_target_identifier_get_system</a> (const struct <a class="el" href="structxccdf__target__identifier.html">xccdf_target_identifier</a> *item)</td></tr> <tr class="memitem:ga576257cb1d5e61a383ea8bcea3104557"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga576257cb1d5e61a383ea8bcea3104557">xccdf_target_identifier_get_href</a> (const struct <a class="el" href="structxccdf__target__identifier.html">xccdf_target_identifier</a> *item)</td></tr> <tr class="memitem:gad0a65e6bd62d20da616a29260e76f286"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gad0a65e6bd62d20da616a29260e76f286">xccdf_target_identifier_get_name</a> (const struct <a class="el" href="structxccdf__target__identifier.html">xccdf_target_identifier</a> *item)</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:ga7eba74fa0c45fafa9c86dfbe63de91b3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga7eba74fa0c45fafa9c86dfbe63de91b3">xccdf_target_identifier_set_xml_node</a> (struct <a class="el" href="structxccdf__target__identifier.html">xccdf_target_identifier</a> *ti, void *node)</td></tr> <tr class="memitem:ga71636303ca683ff4f9c58ebd58aa462b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga71636303ca683ff4f9c58ebd58aa462b">xccdf_target_identifier_set_system</a> (struct <a class="el" href="structxccdf__target__identifier.html">xccdf_target_identifier</a> *ti, const char *newval)</td></tr> <tr class="memitem:ga0b6371e6baf79a167c27f79bd1cc709a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#ga0b6371e6baf79a167c27f79bd1cc709a">xccdf_target_identifier_set_href</a> (struct <a class="el" href="structxccdf__target__identifier.html">xccdf_target_identifier</a> *ti, const char *newval)</td></tr> <tr class="memitem:gabe8cf5211eb9277a645697ca71c3d06c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gabe8cf5211eb9277a645697ca71c3d06c">xccdf_target_identifier_set_name</a> (struct <a class="el" href="structxccdf__target__identifier.html">xccdf_target_identifier</a> *ti, const char *newval)</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:ab56261bf476469ebdf00d82decd3120b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab56261bf476469ebdf00d82decd3120b"></a> bool </td><td class="memItemRight" valign="bottom"><b>any_element</b></td></tr> <tr class="memitem:a1c14aafeed1b9786c868f4839c8d46d8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c14aafeed1b9786c868f4839c8d46d8"></a> xmlNodePtr </td><td class="memItemRight" valign="bottom"><b>element</b></td></tr> <tr class="memitem:a39e524f14db7fc649e068990381c6919"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a39e524f14db7fc649e068990381c6919"></a> const char * </td><td class="memItemRight" valign="bottom"><b>system</b></td></tr> <tr class="memitem:abbba9c6959d6a7ee8dbb7a3b32798d90"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abbba9c6959d6a7ee8dbb7a3b32798d90"></a> const char * </td><td class="memItemRight" valign="bottom"><b>href</b></td></tr> <tr class="memitem:a14fb80fe1aeb6a5790ad4ca77703b299"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a14fb80fe1aeb6a5790ad4ca77703b299"></a> const char * </td><td class="memItemRight" valign="bottom"><b>name</b></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Can be either <target-id-ref> or some other element. </p> <dl class="section see"><dt>See also:</dt><dd><a class="el" href="structxccdf__result.html" title="Actual results of running a XCCDF test or profile.">xccdf_result</a> </dd></dl> <dl class="section note"><dt>Note:</dt><dd>XCCDF 1.2+ only </dd></dl> </div><hr/>The documentation for this struct was generated from the following files:<ul> <li><a class="el" href="item_8h_source.html">item.h</a></li> <li><a class="el" href="xccdf__benchmark_8h_source.html">xccdf_benchmark.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>