<!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: /home/pvrabec/project/openscap/openscap-0.7.4/src/XCCDF_POLICY/public/xccdf_policy.h File 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><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> </div> <div class="header"> <div class="headertitle"> <div class="title">/home/pvrabec/project/openscap/openscap-0.7.4/src/XCCDF_POLICY/public/xccdf_policy.h File Reference<div class="ingroups"><a class="el" href="group__XCCDF__POLICY.html">XCCDF_POLICY</a></div></div> </div> </div> <div class="contents"> <p>Open-scap XCCDF Policy library interface. <a href="#details">More...</a></p> <div class="textblock"><code>#include <stdbool.h></code><br/> <code>#include <time.h></code><br/> <code>#include <<a class="el" href="oscap_8h_source.html">oscap.h</a>></code><br/> <code>#include <<a class="el" href="xccdf_8h_source.html">xccdf.h</a>></code><br/> <code>#include <<a class="el" href="reporter_8h_source.html">reporter.h</a>></code><br/> </div> <p><a href="xccdf__policy_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td colspan="2"><div class="groupHeader">Evaluators</div></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="group__XCCDF__POLICY.html#gac9bc9a78e2289a2b13a05afd6c50241f">xccdf_policy_tailor_item</a> (struct <a class="el" href="structxccdf__policy.html">xccdf_policy</a> *policy, struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Clone the item and tailor it against given policy (profile) <a href="group__XCCDF__POLICY.html#gac9bc9a78e2289a2b13a05afd6c50241f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoscap__stringlist.html">oscap_stringlist</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF__POLICY.html#ga2178c207b3893ddd301d2df468576666">xccdf_policy_model_get_files</a> (struct <a class="el" href="structxccdf__policy__model.html">xccdf_policy_model</a> *policy_model)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return names of files that are used in checks of particular rules. <a href="group__XCCDF__POLICY.html#ga2178c207b3893ddd301d2df468576666"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoscap__stringlist.html">oscap_stringlist</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF__POLICY.html#gaf0253768dcf8b1fced143fddb2075c75">xccdf_item_get_files</a> (struct <a class="el" href="structxccdf__item.html">xccdf_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return names of files that are used in checks of particular rules. <a href="group__XCCDF__POLICY.html#gaf0253768dcf8b1fced143fddb2075c75"></a><br/></td></tr> <tr><td colspan="2"><div class="groupHeader">Iterators</div></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structxccdf__score.html">xccdf_score</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF__POLICY.html#ga0cf0cc247cfbb7b37787286a77e7c57e">xccdf_policy_get_score</a> (struct <a class="el" href="structxccdf__policy.html">xccdf_policy</a> *policy, struct <a class="el" href="structxccdf__result.html">xccdf_result</a> *test_result, const char *system)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get score of the XCCDF Benchmark. <a href="group__XCCDF__POLICY.html#ga0cf0cc247cfbb7b37787286a77e7c57e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF__POLICY.html#gaa2ad18993c928304b44e43015fc1d4ad">xccdf_policy_substitute</a> (const char *text, struct <a class="el" href="structxccdf__policy.html">xccdf_policy</a> *policy)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Perform textual substitution of cdf:sub elements with respect to given XCCDF policy. <a href="group__XCCDF__POLICY.html#gaa2ad18993c928304b44e43015fc1d4ad"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Open-scap XCCDF Policy library interface. </p> <dl class="author"><dt><b>Author:</b></dt><dd>Maros Barabas <<a href="mailto:mbarabas@redhat.com">mbarabas@redhat.com</a>> </dd> <dd> Dave Niemoller <<a href="mailto:david.niemoller@g2-inc.com">david.niemoller@g2-inc.com</a>> </dd></dl> </div></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>