Sophie

Sophie

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

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: /home/pvrabec/project/openscap/openscap-0.7.4/src/XCCDF_POLICY/public/xccdf_policy.h Source File</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><a href="annotated.html"><span>Data&#160;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&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </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</div>  </div>
</div>
<div class="contents">
<a href="xccdf__policy_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright 2009 Red Hat Inc., Durham, North Carolina.</span>
<a name="l00003"></a>00003 <span class="comment"> * All Rights Reserved.</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00006"></a>00006 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span>
<a name="l00007"></a>00007 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00008"></a>00008 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * This library is distributed in the hope that it will be useful, </span>
<a name="l00011"></a>00011 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00012"></a>00012 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00013"></a>00013 <span class="comment"> * Lesser General Public License for more details.</span>
<a name="l00014"></a>00014 <span class="comment"> *</span>
<a name="l00015"></a>00015 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span>
<a name="l00016"></a>00016 <span class="comment"> * License along with this library; if not, write to the Free Software </span>
<a name="l00017"></a>00017 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span>
<a name="l00018"></a>00018 <span class="comment"> *</span>
<a name="l00019"></a>00019 <span class="comment"> */</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 
<a name="l00031"></a>00031 <span class="preprocessor">#ifndef XCCDF_POLICY_H_</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define XCCDF_POLICY_H_</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span>
<a name="l00034"></a>00034 <span class="preprocessor">#include &lt;stdbool.h&gt;</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &lt;time.h&gt;</span>
<a name="l00036"></a>00036 <span class="preprocessor">#include &lt;<a class="code" href="oscap_8h.html" title="General OpenScap functions and types.">oscap.h</a>&gt;</span>
<a name="l00037"></a>00037 <span class="preprocessor">#include &lt;<a class="code" href="xccdf_8h.html" title="Open-scap XCCDF library interface.">xccdf.h</a>&gt;</span>
<a name="l00038"></a>00038 <span class="preprocessor">#include &lt;<a class="code" href="reporter_8h.html" title="Reporters interface.">reporter.h</a>&gt;</span>
<a name="l00039"></a>00039  
<a name="l00044"></a>00044 <span class="keyword">struct </span><a class="code" href="structxccdf__policy__model.html" title="XCCDF policy model structure contains xccdf_benchmark as reference to Benchmark element in XML file a...">xccdf_policy_model</a>;
<a name="l00045"></a>00045 
<a name="l00050"></a>00050 <span class="keyword">struct </span><a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a>;
<a name="l00051"></a>00051 
<a name="l00056"></a>00056 <span class="keyword">struct </span><a class="code" href="structxccdf__value__binding.html" title="XCCDF value binding structure is binding between Refine values, Set values, Value element and Check e...">xccdf_value_binding</a>;
<a name="l00057"></a>00057 
<a name="l00058"></a><a class="code" href="structxccdf__policy__iterator.html">00058</a> <span class="keyword">struct </span>xccdf_value_binding_iterator;
<a name="l00059"></a>00059 
<a name="l00065"></a>00065 <span class="keyword">struct </span><a class="code" href="structxccdf__policy__iterator.html" title="Iterate through policies.">xccdf_policy_iterator</a>;
<a name="l00066"></a>00066 
<a name="l00067"></a>00067 <span class="comment">/************************************************************/</span>
<a name="l00068"></a>00068 
<a name="l00075"></a>00075 <span class="keyword">struct </span><a class="code" href="structxccdf__policy__model.html" title="XCCDF policy model structure contains xccdf_benchmark as reference to Benchmark element in XML file a...">xccdf_policy_model</a> *<a class="code" href="group__XCCDF__POLICY.html#ga4f8f92790770ff3e12e55f3921b77261" title="Constructor of Policy Model structure.">xccdf_policy_model_new</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__benchmark.html" title="Top level XCCDF structure containing profiles, rules, values and results.">xccdf_benchmark</a> *<a class="code" href="structxccdf__policy__model.html#a4b2f4437d806ae30b0d1ac84065e5f24" title="Benchmark element (root element of XML file)">benchmark</a>);
<a name="l00076"></a>00076 
<a name="l00083"></a>00083 <span class="keyword">struct </span><a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> * <a class="code" href="group__XCCDF__POLICY.html#ga29f80bb419da8c7801a88bfc68481dcd" title="Constructor of Policy structure.">xccdf_policy_new</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy__model.html" title="XCCDF policy model structure contains xccdf_benchmark as reference to Benchmark element in XML file a...">xccdf_policy_model</a> * <a class="code" href="structxccdf__policy.html#a0406fc13d1156dafcfab00b88767150f" title="XCCDF Policy model.">model</a>, <span class="keyword">struct</span> <a class="code" href="structxccdf__profile.html" title="XCCDF profile is a set of tests and their settings in a compact package.">xccdf_profile</a> * <a class="code" href="structxccdf__policy.html#aa9b356a88ddfb729745dc246d1da9614" title="Profile structure (from benchmark)">profile</a>);
<a name="l00084"></a>00084 
<a name="l00090"></a>00090 <span class="keyword">struct </span><a class="code" href="structxccdf__value__binding.html" title="XCCDF value binding structure is binding between Refine values, Set values, Value element and Check e...">xccdf_value_binding</a> * <a class="code" href="group__XCCDF__POLICY.html#gaa6bd35d79b54c53ea58cf961898cc16e" title="Constructor of structure with profile bindings - refine_rules, refine_values and set_values.">xccdf_value_binding_new</a>(<span class="keywordtype">void</span>);
<a name="l00091"></a>00091 
<a name="l00096"></a>00096 <span class="keywordtype">void</span> <a class="code" href="group__XCCDF__POLICY.html#ga46bbf0b7e034fee60fbbf244fba80288" title="Destructor of Policy Model structure.">xccdf_policy_model_free</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy__model.html" title="XCCDF policy model structure contains xccdf_benchmark as reference to Benchmark element in XML file a...">xccdf_policy_model</a> *);
<a name="l00097"></a>00097 
<a name="l00102"></a>00102 <span class="keywordtype">void</span> <a class="code" href="group__XCCDF__POLICY.html#ga9c8bf5e613dfdd9b33cd4e3b0ce44a0c" title="Destructor of Policy structure.">xccdf_policy_free</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> *);
<a name="l00103"></a>00103 
<a name="l00108"></a>00108 <span class="keywordtype">void</span> <a class="code" href="group__XCCDF__POLICY.html#gad5089c4cc11671b9f0f71e26197744d0" title="Destructor of Value binding structure.">xccdf_value_binding_free</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__value__binding.html" title="XCCDF value binding structure is binding between Refine values, Set values, Value element and Check e...">xccdf_value_binding</a> *);
<a name="l00109"></a>00109 
<a name="l00119"></a>00119 <span class="keywordtype">bool</span> <a class="code" href="group__XCCDF__POLICY.html#ga625d761f5ab77888245d0378192e27c1" title="Function to register callback for checking system.">xccdf_policy_model_register_engine_callback</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy__model.html" title="XCCDF policy model structure contains xccdf_benchmark as reference to Benchmark element in XML file a...">xccdf_policy_model</a> * model, <span class="keywordtype">char</span> * sys, <span class="keywordtype">void</span> * func, <span class="keywordtype">void</span> * usr);
<a name="l00120"></a>00120 
<a name="l00151"></a>00151 <span class="keywordtype">bool</span> <a class="code" href="group__XCCDF__POLICY.html#gab3bd1c78848a4f9b993a6f81242cfe8a" title="Function to register output callback for checking system that will be called AFTER each rule evaluati...">xccdf_policy_model_register_output_callback</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy__model.html" title="XCCDF policy model structure contains xccdf_benchmark as reference to Benchmark element in XML file a...">xccdf_policy_model</a> * model, <a class="code" href="group__Reporters.html#gada96dbbbb54a7659c3acf1c00a7d7ad3" title="Reporter prototype.">oscap_reporter</a> func, <span class="keywordtype">void</span> * usr);
<a name="l00152"></a>00152 
<a name="l00178"></a>00178 <span class="keywordtype">bool</span> <a class="code" href="group__XCCDF__POLICY.html#gacd60bfd83abdfa3a31b91ba8493be842" title="Function to register start callback for checking system that will be called BEFORE each rule evaluati...">xccdf_policy_model_register_start_callback</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy__model.html" title="XCCDF policy model structure contains xccdf_benchmark as reference to Benchmark element in XML file a...">xccdf_policy_model</a> * model, <a class="code" href="group__Reporters.html#gada96dbbbb54a7659c3acf1c00a7d7ad3" title="Reporter prototype.">oscap_reporter</a> func, <span class="keywordtype">void</span> * usr);
<a name="l00179"></a>00179 
<a name="l00180"></a>00180 <span class="comment">/************************************************************/</span>
<a name="l00194"></a>00194 <span class="keyword">struct </span><a class="code" href="structxccdf__policy__model.html" title="XCCDF policy model structure contains xccdf_benchmark as reference to Benchmark element in XML file a...">xccdf_policy_model</a> * <a class="code" href="group__XCCDF__POLICY.html#gac0862a26dae600ce48497cd11e12f22f" title="Get model from Policy (parent structure of Policy to access the benchmark)">xccdf_policy_get_model</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> * policy);
<a name="l00195"></a>00195 
<a name="l00202"></a>00202 <span class="keyword">struct </span><a class="code" href="structxccdf__benchmark.html" title="Top level XCCDF structure containing profiles, rules, values and results.">xccdf_benchmark</a> * <a class="code" href="group__XCCDF__POLICY.html#ga3ffe61a9b49a14ad14aa42c58a94c1bd" title="Get Benchmark from Policy Model.">xccdf_policy_model_get_benchmark</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structxccdf__policy__model.html" title="XCCDF policy model structure contains xccdf_benchmark as reference to Benchmark element in XML file a...">xccdf_policy_model</a> * item);
<a name="l00203"></a>00203 
<a name="l00208"></a>00208 <span class="keyword">struct </span>xccdf_value_binding_iterator  * <a class="code" href="group__XCCDF__POLICY.html#ga7b7f39df7639c1d153e8cf6e3bd98753" title="Get Value Bindings from XCCDF Policy.">xccdf_policy_get_values</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> * item);
<a name="l00209"></a>00209 
<a name="l00216"></a>00216 <span class="keyword">struct </span><a class="code" href="structxccdf__policy__iterator.html" title="Iterate through policies.">xccdf_policy_iterator</a> * <a class="code" href="group__XCCDF__POLICY.html#ga42dd36f134faf00026a5f248069a451f" title="Get policies from Policy Model.">xccdf_policy_model_get_policies</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structxccdf__policy__model.html" title="XCCDF policy model structure contains xccdf_benchmark as reference to Benchmark element in XML file a...">xccdf_policy_model</a> *model);
<a name="l00217"></a>00217 
<a name="l00224"></a>00224 <span class="keyword">struct </span><a class="code" href="structxccdf__select__iterator.html" title="Select iterator.">xccdf_select_iterator</a> * <a class="code" href="group__XCCDF__POLICY.html#ga97af79d841abbbbe6607c6109af5ad3e" title="Get selected rules from policy.">xccdf_policy_get_selected_rules</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> *);
<a name="l00225"></a>00225 
<a name="l00231"></a>00231 <span class="keyword">struct </span><a class="code" href="structxccdf__profile.html" title="XCCDF profile is a set of tests and their settings in a compact package.">xccdf_profile</a> * <a class="code" href="group__XCCDF__POLICY.html#ga5c031cf063b7fd4edc45c71d55488d63" title="Get XCCDF Profile from Policy.">xccdf_policy_get_profile</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> *);
<a name="l00232"></a>00232 
<a name="l00238"></a>00238 <span class="keyword">struct </span><a class="code" href="structxccdf__select__iterator.html" title="Select iterator.">xccdf_select_iterator</a> * <a class="code" href="group__XCCDF__POLICY.html#ga18e7a1b999050314284816996d46f7ca" title="Get rules from Policy.">xccdf_policy_get_selects</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> *);
<a name="l00239"></a>00239 
<a name="l00245"></a>00245 <span class="keywordtype">char</span> * <a class="code" href="group__XCCDF__POLICY.html#gaac7487fef713ec60a222b67668a146da" title="Get variable name from value bindings.">xccdf_value_binding_get_name</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structxccdf__value__binding.html" title="XCCDF value binding structure is binding between Refine values, Set values, Value element and Check e...">xccdf_value_binding</a> *);
<a name="l00246"></a>00246 
<a name="l00252"></a>00252 <span class="keywordtype">char</span> * <a class="code" href="group__XCCDF__POLICY.html#ga5874ea4c3c0fe686fb60d6c42b4b4ded" title="Get value from value bindings.">xccdf_value_binding_get_value</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structxccdf__value__binding.html" title="XCCDF value binding structure is binding between Refine values, Set values, Value element and Check e...">xccdf_value_binding</a> *);
<a name="l00253"></a>00253 
<a name="l00259"></a>00259 <a class="code" href="group__XCCDF.html#gaa2d75ea6d3cd6957100f532b2ab8e8a8" title="Type of an xccdf_value.">xccdf_value_type_t</a> <a class="code" href="group__XCCDF__POLICY.html#ga5eccc16ae366ae8190c7a7beca4b55a0" title="get variable type from value bindings">xccdf_value_binding_get_type</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structxccdf__value__binding.html" title="XCCDF value binding structure is binding between Refine values, Set values, Value element and Check e...">xccdf_value_binding</a> *);
<a name="l00260"></a>00260 
<a name="l00266"></a>00266 <a class="code" href="group__XCCDF.html#ga4458b04cd1236b95d15ac2d74276c09c" title="Operator to be applied on an xccdf_value.">xccdf_operator_t</a> <a class="code" href="group__XCCDF__POLICY.html#gad6ef469c638f357a09e2aef1cceb79d3" title="get Value operator from value bindings">xccdf_value_binding_get_operator</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structxccdf__value__binding.html" title="XCCDF value binding structure is binding between Refine values, Set values, Value element and Check e...">xccdf_value_binding</a> *);
<a name="l00267"></a>00267 
<a name="l00273"></a>00273 <span class="keywordtype">char</span> * <a class="code" href="group__XCCDF__POLICY.html#ga8d957218e74ddaa2929b72cb4f01d9eb" title="get Set Value from value bindings">xccdf_value_binding_get_setvalue</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structxccdf__value__binding.html" title="XCCDF value binding structure is binding between Refine values, Set values, Value element and Check e...">xccdf_value_binding</a> *);
<a name="l00274"></a>00274 
<a name="l00279"></a>00279 <span class="keyword">struct </span><a class="code" href="structxccdf__result__iterator.html" title="Result iterator.">xccdf_result_iterator</a> * <a class="code" href="group__XCCDF__POLICY.html#ga39fb4c2c1729e997ae43efb5ce75210c" title="Get results of all XCCDF Policy results.">xccdf_policy_get_results</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> * policy);
<a name="l00280"></a>00280 
<a name="l00286"></a>00286 <span class="keyword">struct </span><a class="code" href="structxccdf__result.html" title="Actual results of running a XCCDF test or profile.">xccdf_result</a> * <a class="code" href="group__XCCDF__POLICY.html#gaf7be772199b7326e7df16c0a985a7c63" title="Get XCCDF Result structure by it&#39;s idetificator if there is one.">xccdf_policy_get_result_by_id</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> * policy, <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keywordtype">id</span>);
<a name="l00287"></a>00287 
<a name="l00294"></a>00294 <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="group__XCCDF__POLICY.html#gac3d9764faa0dd6a6de54503bc7b8b6fb" title="Get ID of XCCDF Profile that is implemented by XCCDF Policy.">xccdf_policy_get_id</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> * policy);
<a name="l00295"></a>00295 
<a name="l00303"></a>00303 <span class="keyword">struct </span><a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> * <a class="code" href="group__XCCDF__POLICY.html#gab31d7c9da64d171683b762b9d7f19f74" title="Get XCCDF Policy from Policy model by speciefied ID of Profile.">xccdf_policy_model_get_policy_by_id</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy__model.html" title="XCCDF policy model structure contains xccdf_benchmark as reference to Benchmark element in XML file a...">xccdf_policy_model</a> * policy_model, <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keywordtype">id</span>);
<a name="l00304"></a>00304 
<a name="l00305"></a>00305 <span class="comment">/************************************************************/</span>
<a name="l00308"></a>00308 <span class="comment">/************************************************************/</span>
<a name="l00321"></a>00321 <span class="keywordtype">bool</span> <a class="code" href="group__XCCDF__POLICY.html#gaa099731e15f0d4d577bd72b07374ca69" title="Add Policy to Policy Model.">xccdf_policy_model_add_policy</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy__model.html" title="XCCDF policy model structure contains xccdf_benchmark as reference to Benchmark element in XML file a...">xccdf_policy_model</a> *, <span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> *);
<a name="l00322"></a>00322 
<a name="l00328"></a>00328 <span class="keywordtype">bool</span> <a class="code" href="group__XCCDF__POLICY.html#ga0d83f932b1c6ac2161094d7c4126c276" title="Add rule to Policy.">xccdf_policy_add_select</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> *, <span class="keyword">struct</span> <a class="code" href="structxccdf__select.html" title="XCCDF select option usen in the profile.">xccdf_select</a> *);
<a name="l00329"></a>00329 
<a name="l00335"></a>00335 <span class="keywordtype">bool</span> <a class="code" href="group__XCCDF__POLICY.html#gaf034ed2138343743a99e5e89d632701c" title="Set a new selector to the Policy structure.">xccdf_policy_set_selected</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> * policy, <span class="keywordtype">char</span> * idref);
<a name="l00336"></a>00336 
<a name="l00341"></a>00341 <span class="keywordtype">bool</span> <a class="code" href="group__XCCDF__POLICY.html#ga6eb8c2f09d05e46a184b35fc2f8261ad" title="Add result to XCCDF Policy Model.">xccdf_policy_add_result</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> * policy, <span class="keyword">struct</span> <a class="code" href="structxccdf__result.html" title="Actual results of running a XCCDF test or profile.">xccdf_result</a> * item);
<a name="l00342"></a>00342 
<a name="l00348"></a>00348 <span class="keywordtype">bool</span> <a class="code" href="group__XCCDF__POLICY.html#ga3738807d9e35ea11cc5b20638dc83815" title="Add value binding to the Policy structure.">xccdf_policy_add_value</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> *, <span class="keyword">struct</span> <a class="code" href="structxccdf__value__binding.html" title="XCCDF value binding structure is binding between Refine values, Set values, Value element and Check e...">xccdf_value_binding</a> *);
<a name="l00349"></a>00349 
<a name="l00355"></a>00355 <span class="comment">//bool xccdf_value_binding_add_check_export(struct xccdf_value_binding *, struct xccdf_check_export *);</span>
<a name="l00361"></a>00361 <span class="comment"></span><span class="keyword">struct </span><a class="code" href="structxccdf__select.html" title="XCCDF select option usen in the profile.">xccdf_select</a> * <a class="code" href="group__XCCDF__POLICY.html#gafd3e5d89a8bc259470fd63c53c9c92e3" title="Add check export to the Value Binding structure.">xccdf_policy_get_select_by_id</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> * policy, <span class="keyword">const</span> <span class="keywordtype">char</span> *item_id);
<a name="l00362"></a>00362 
<a name="l00363"></a>00363 <span class="comment">/************************************************************/</span>
<a name="l00366"></a>00366 <span class="comment">/************************************************************/</span>
<a name="l00390"></a>00390 <span class="keyword">struct </span><a class="code" href="structxccdf__result.html" title="Actual results of running a XCCDF test or profile.">xccdf_result</a> *  <a class="code" href="group__XCCDF__POLICY.html#gad09ba99431d50108e4b475506c177b3d" title="Call the checking engine for each selected rule in given policy structure.">xccdf_policy_evaluate</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> * policy);
<a name="l00391"></a>00391 
<a name="l00400"></a>00400 <span class="keywordtype">bool</span> <a class="code" href="group__XCCDF__POLICY.html#ga5d741243d1b2e062bb802be5f145944c" title="Resolve benchmark by applying all refine_rules and refine_values to rules / values of benchmark...">xccdf_policy_resolve</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> * policy);
<a name="l00401"></a>00401 
<a name="l00408"></a>00408 <span class="keyword">struct </span><a class="code" href="structxccdf__item.html" title="A base class for XCCDF items.">xccdf_item</a> * <a class="code" href="group__XCCDF__POLICY.html#gac9bc9a78e2289a2b13a05afd6c50241f" title="Clone the item and tailor it against given policy (profile)">xccdf_policy_tailor_item</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> * policy, <span class="keyword">struct</span> <a class="code" href="structxccdf__item.html" title="A base class for XCCDF items.">xccdf_item</a> * item);
<a name="l00409"></a>00409 
<a name="l00415"></a>00415 <span class="keyword">struct </span><a class="code" href="structoscap__stringlist.html" title="A collection of strings.">oscap_stringlist</a> * <a class="code" href="group__XCCDF__POLICY.html#ga2178c207b3893ddd301d2df468576666" title="Return names of files that are used in checks of particular rules.">xccdf_policy_model_get_files</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy__model.html" title="XCCDF policy model structure contains xccdf_benchmark as reference to Benchmark element in XML file a...">xccdf_policy_model</a> * policy_model);
<a name="l00416"></a>00416 
<a name="l00422"></a>00422 <span class="keyword">struct </span><a class="code" href="structoscap__stringlist.html" title="A collection of strings.">oscap_stringlist</a> * <a class="code" href="group__XCCDF__POLICY.html#gaf0253768dcf8b1fced143fddb2075c75" title="Return names of files that are used in checks of particular rules.">xccdf_item_get_files</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__item.html" title="A base class for XCCDF items.">xccdf_item</a> * item);
<a name="l00423"></a>00423 
<a name="l00424"></a>00424 <span class="comment">/************************************************************/</span>
<a name="l00427"></a>00427 <span class="comment">/************************************************************/</span>
<a name="l00437"></a>00437 <span class="keywordtype">bool</span> <a class="code" href="group__XCCDF__POLICY.html#ga99f007fa5762d80f18d52326f2201a99" title="Return true if the list is not empty, false otherwise.">xccdf_policy_iterator_has_more</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy__iterator.html" title="Iterate through policies.">xccdf_policy_iterator</a> *it);
<a name="l00438"></a>00438 
<a name="l00443"></a>00443 <span class="keyword">struct </span><a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> * <a class="code" href="group__XCCDF__POLICY.html#ga5b0aa2233a2f7999751a80ef1848cc84" title="Return the next xccdf_policy structure from the list and increment the iterator.">xccdf_policy_iterator_next</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy__iterator.html" title="Iterate through policies.">xccdf_policy_iterator</a> *it);
<a name="l00444"></a>00444 
<a name="l00449"></a>00449 <span class="keywordtype">void</span> <a class="code" href="group__XCCDF__POLICY.html#gaeb065fc4c46cdf4e6b7d74e91561532f" title="Free the iterator structure (it makes no changes to the list structure)">xccdf_policy_iterator_free</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy__iterator.html" title="Iterate through policies.">xccdf_policy_iterator</a> *it);
<a name="l00450"></a>00450 
<a name="l00455"></a>00455 <span class="keywordtype">void</span> <a class="code" href="group__XCCDF__POLICY.html#ga41fae5629470abc19b92c58d378200c5" title="Reset the iterator structure (it will point to the first item in the list)">xccdf_policy_iterator_reset</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy__iterator.html" title="Iterate through policies.">xccdf_policy_iterator</a> *it);
<a name="l00456"></a>00456 
<a name="l00461"></a>00461 <span class="keywordtype">bool</span> xccdf_value_binding_iterator_has_more(<span class="keyword">struct</span> xccdf_value_binding_iterator *it);
<a name="l00462"></a>00462 
<a name="l00467"></a>00467 <span class="keyword">struct </span><a class="code" href="structxccdf__value__binding.html" title="XCCDF value binding structure is binding between Refine values, Set values, Value element and Check e...">xccdf_value_binding</a> * xccdf_value_binding_iterator_next(<span class="keyword">struct</span> xccdf_value_binding_iterator *it);
<a name="l00468"></a>00468 
<a name="l00473"></a>00473 <span class="keywordtype">void</span> xccdf_value_binding_iterator_free(<span class="keyword">struct</span> xccdf_value_binding_iterator *it);
<a name="l00474"></a>00474 
<a name="l00479"></a>00479 <span class="keywordtype">void</span> xccdf_value_binding_iterator_reset(<span class="keyword">struct</span> xccdf_value_binding_iterator *it);
<a name="l00480"></a>00480 
<a name="l00488"></a>00488 <span class="keyword">struct </span><a class="code" href="structxccdf__score.html" title="XCCDF score.">xccdf_score</a> * <a class="code" href="group__XCCDF__POLICY.html#ga0cf0cc247cfbb7b37787286a77e7c57e" title="Get score of the XCCDF Benchmark.">xccdf_policy_get_score</a>(<span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> * policy, <span class="keyword">struct</span> <a class="code" href="structxccdf__result.html" title="Actual results of running a XCCDF test or profile.">xccdf_result</a> * test_result, <span class="keyword">const</span> <span class="keywordtype">char</span> * system);
<a name="l00489"></a>00489 
<a name="l00495"></a>00495 <span class="keywordtype">char</span>* <a class="code" href="group__XCCDF__POLICY.html#gaa2ad18993c928304b44e43015fc1d4ad" title="Perform textual substitution of cdf:sub elements with respect to given XCCDF policy.">xccdf_policy_substitute</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *text, <span class="keyword">struct</span> <a class="code" href="structxccdf__policy.html" title="XCCDF policy structure is abstract (class) structure of Profile element from benchmark.">xccdf_policy</a> *policy);
<a name="l00496"></a>00496 
<a name="l00497"></a>00497 <span class="comment">/************************************************************/</span>
<a name="l00500"></a>00500 <span class="comment">/*</span>
<a name="l00501"></a>00501 <span class="comment"> * @}</span>
<a name="l00502"></a>00502 <span class="comment"> */</span>
<a name="l00503"></a>00503 <span class="preprocessor">#endif</span>
<a name="l00504"></a>00504 <span class="preprocessor"></span>
<a name="l00505"></a>00505 
</pre></div></div>
</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>