Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 537b4767ca71616a4bccbb57df0c2eb6 > files > 678

openscap-devel-0.7.4-1.fc16.i686.rpm

<!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_policy_iterator 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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;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&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<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>
<div class="contents">
<!-- doxytag: class="xccdf_policy_iterator" -->
<p>Iterate through policies.  
 <a href="structxccdf__policy__iterator.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="xccdf__policy_8h_source.html">xccdf_policy.h</a>&gt;</code></p>
<table class="memberdecls">
<tr><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><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga99f007fa5762d80f18d52326f2201a99"></a><!-- doxytag: member="xccdf_policy_iterator::xccdf_policy_iterator_has_more" ref="ga99f007fa5762d80f18d52326f2201a99" args="(struct xccdf_policy_iterator *it)" -->
bool&#160;</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><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if the list is not empty, false otherwise. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5b0aa2233a2f7999751a80ef1848cc84"></a><!-- doxytag: member="xccdf_policy_iterator::xccdf_policy_iterator_next" ref="ga5b0aa2233a2f7999751a80ef1848cc84" args="(struct xccdf_policy_iterator *it)" -->
struct <a class="el" href="structxccdf__policy.html">xccdf_policy</a> *&#160;</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><td class="mdescLeft">&#160;</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><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaeb065fc4c46cdf4e6b7d74e91561532f"></a><!-- doxytag: member="xccdf_policy_iterator::xccdf_policy_iterator_free" ref="gaeb065fc4c46cdf4e6b7d74e91561532f" args="(struct xccdf_policy_iterator *it)" -->
void&#160;</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><td class="mdescLeft">&#160;</td><td class="mdescRight">Free the iterator structure (it makes no changes to the list structure) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga41fae5629470abc19b92c58d378200c5"></a><!-- doxytag: member="xccdf_policy_iterator::xccdf_policy_iterator_reset" ref="ga41fae5629470abc19b92c58d378200c5" args="(struct xccdf_policy_iterator *it)" -->
void&#160;</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><td class="mdescLeft">&#160;</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="see"><dt><b>See also:</b></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>/home/pvrabec/project/openscap/openscap-0.7.4/src/XCCDF_POLICY/public/<a class="el" href="xccdf__policy_8h_source.html">xccdf_policy.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Mon Jul 25 2011 for Open SCAP Library by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>