<!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_policy_iterator 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="headertitle"> <div class="title">xccdf_policy_iterator Struct Reference<div class="ingroups"><a class="el" href="group__XCCDF__POLICY.html">XCCDF_POLICY</a></div></div> </div> </div><!--header--> <div class="contents"> <p>Iterate through policies. <a href="structxccdf__policy__iterator.html#details">More...</a></p> <p><code>#include <<a class="el" href="xccdf__policy_8h_source.html">xccdf_policy.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><td colspan="2"><div class="groupHeader">Iterators</div></td></tr> <tr class="memitem:ga99f007fa5762d80f18d52326f2201a99"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga99f007fa5762d80f18d52326f2201a99"></a> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF__POLICY.html#ga99f007fa5762d80f18d52326f2201a99">xccdf_policy_iterator_has_more</a> (struct <a class="el" href="structxccdf__policy__iterator.html">xccdf_policy_iterator</a> *it)</td></tr> <tr class="memdesc:ga99f007fa5762d80f18d52326f2201a99"><td class="mdescLeft"> </td><td class="mdescRight">Return true if the list is not empty, false otherwise. <br/></td></tr> <tr class="memitem:ga5b0aa2233a2f7999751a80ef1848cc84"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5b0aa2233a2f7999751a80ef1848cc84"></a> struct <a class="el" href="structxccdf__policy.html">xccdf_policy</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF__POLICY.html#ga5b0aa2233a2f7999751a80ef1848cc84">xccdf_policy_iterator_next</a> (struct <a class="el" href="structxccdf__policy__iterator.html">xccdf_policy_iterator</a> *it)</td></tr> <tr class="memdesc:ga5b0aa2233a2f7999751a80ef1848cc84"><td class="mdescLeft"> </td><td class="mdescRight">Return the next <a class="el" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> structure from the list and increment the iterator. <br/></td></tr> <tr class="memitem:gaeb065fc4c46cdf4e6b7d74e91561532f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaeb065fc4c46cdf4e6b7d74e91561532f"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF__POLICY.html#gaeb065fc4c46cdf4e6b7d74e91561532f">xccdf_policy_iterator_free</a> (struct <a class="el" href="structxccdf__policy__iterator.html">xccdf_policy_iterator</a> *it)</td></tr> <tr class="memdesc:gaeb065fc4c46cdf4e6b7d74e91561532f"><td class="mdescLeft"> </td><td class="mdescRight">Free the iterator structure (it makes no changes to the list structure) <br/></td></tr> <tr class="memitem:ga41fae5629470abc19b92c58d378200c5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga41fae5629470abc19b92c58d378200c5"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF__POLICY.html#ga41fae5629470abc19b92c58d378200c5">xccdf_policy_iterator_reset</a> (struct <a class="el" href="structxccdf__policy__iterator.html">xccdf_policy_iterator</a> *it)</td></tr> <tr class="memdesc:ga41fae5629470abc19b92c58d378200c5"><td class="mdescLeft"> </td><td class="mdescRight">Reset the iterator structure (it will point to the first item in the list) <br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Iterate through policies. </p> <dl class="section see"><dt>See also:</dt><dd><a class="el" href="group__XCCDF__POLICY.html#ga42dd36f134faf00026a5f248069a451f" title="Get policies from Policy Model.">xccdf_policy_model_get_policies</a> </dd></dl> </div><hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="xccdf__policy_8h_source.html">xccdf_policy.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>