1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
|
<!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"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>Open SCAP Library: oval_directives.h Source File</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.3.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><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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_dec16e0beb5f79ab6b40e328203e2e32.html">OVAL</a></li><li class="navelem"><a class="el" href="dir_d7d4c5e9309fab4992a34dcb057ec544.html">public</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">oval_directives.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="oval__directives_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">/*</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * Copyright 2011 Red Hat Inc., Durham, North Carolina.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * All Rights Reserved.</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * License as published by the Free Software Foundation; either</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * This library is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> * Lesser General Public License for more details.</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> * License along with this library; if not, write to the Free Software</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> * Authors:</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> * "David Niemoller" <David.Niemoller@g2-inc.com></span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#ifndef OVAL_DIRECTIVES_H_</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor"></span><span class="preprocessor">#define OVAL_DIRECTIVES_H_</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor"></span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include "<a class="code" href="oval__types_8h.html">oval_types.h</a>"</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="group__OVALDIR.html#ga9e7b5741bebbe68b5ddf76e4042125a6"> 46</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="group__OVALDIR.html#gga9e7b5741bebbe68b5ddf76e4042125a6abca9d283da03a9abad280a9c0db2439d"> 47</a></span>  <a class="code" href="group__OVALDIR.html#gga9e7b5741bebbe68b5ddf76e4042125a6abca9d283da03a9abad280a9c0db2439d" title="Undefined value.">OVAL_DIRECTIVE_CONTENT_UNKNOWN</a> = 0, </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="group__OVALDIR.html#gga9e7b5741bebbe68b5ddf76e4042125a6a3262af729be4d4b26cace264eed8327c"> 48</a></span>  <a class="code" href="group__OVALDIR.html#gga9e7b5741bebbe68b5ddf76e4042125a6a3262af729be4d4b26cace264eed8327c" title="Only the minimal amount of information will be provided.">OVAL_DIRECTIVE_CONTENT_THIN</a> = 1, </div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="group__OVALDIR.html#gga9e7b5741bebbe68b5ddf76e4042125a6ab4317315755aaf265b9cebb5fef5fbae"> 49</a></span>  <a class="code" href="group__OVALDIR.html#gga9e7b5741bebbe68b5ddf76e4042125a6ab4317315755aaf265b9cebb5fef5fbae" title="Very detailed information will be provided allowing in-depth reports to be generated from the results...">OVAL_DIRECTIVE_CONTENT_FULL</a> = 2 </div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> } <a class="code" href="group__OVALDIR.html#ga9e7b5741bebbe68b5ddf76e4042125a6" title="Values for the directives controlling the expected content of the results file.">oval_result_directive_content_t</a>;</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">struct </span><a class="code" href="structoval__directives__model.html" title="This structure holds instance of OVAL Directives.">oval_directives_model</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="keyword">struct </span><a class="code" href="structoval__directives__model.html" title="This structure holds instance of OVAL Directives.">oval_directives_model</a> *oval_directives_model_new(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keywordtype">void</span> oval_directives_model_free(<span class="keyword">struct</span> <a class="code" href="structoval__directives__model.html" title="This structure holds instance of OVAL Directives.">oval_directives_model</a> *);</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="keywordtype">int</span> oval_directives_model_import(<span class="keyword">struct</span> <a class="code" href="structoval__directives__model.html" title="This structure holds instance of OVAL Directives.">oval_directives_model</a> *, <span class="keywordtype">char</span> *);</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="keyword">struct </span><a class="code" href="structoval__generator.html">oval_generator</a> *oval_directives_model_get_generator(<span class="keyword">struct</span> <a class="code" href="structoval__directives__model.html" title="This structure holds instance of OVAL Directives.">oval_directives_model</a> *);</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="keyword">struct </span><a class="code" href="structoval__result__directives.html" title="This structure holds instance of either OVAL Default Directives or OVAL Class directives.">oval_result_directives</a> *oval_directives_model_get_defdirs(<span class="keyword">struct</span> <a class="code" href="structoval__directives__model.html" title="This structure holds instance of OVAL Directives.">oval_directives_model</a> *);</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="keyword">struct </span><a class="code" href="structoval__result__directives.html" title="This structure holds instance of either OVAL Default Directives or OVAL Class directives.">oval_result_directives</a> *oval_directives_model_get_classdir(<span class="keyword">struct</span> <a class="code" href="structoval__directives__model.html" title="This structure holds instance of OVAL Directives.">oval_directives_model</a> *, <a class="code" href="oval__types_8h.html#a3323efc68980168d0187c26dd22bfce1">oval_definition_class_t</a>);</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="keyword">struct </span><a class="code" href="structoval__result__directives.html" title="This structure holds instance of either OVAL Default Directives or OVAL Class directives.">oval_result_directives</a> *oval_directives_model_get_new_classdir(<span class="keyword">struct</span> <a class="code" href="structoval__directives__model.html" title="This structure holds instance of OVAL Directives.">oval_directives_model</a> *, <a class="code" href="oval__types_8h.html#a3323efc68980168d0187c26dd22bfce1">oval_definition_class_t</a>);</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="keywordtype">int</span> oval_directives_model_export(<span class="keyword">struct</span> <a class="code" href="structoval__directives__model.html" title="This structure holds instance of OVAL Directives.">oval_directives_model</a> *, <span class="keyword">const</span> <span class="keywordtype">char</span> *);</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">struct </span><a class="code" href="structoval__result__directives.html" title="This structure holds instance of either OVAL Default Directives or OVAL Class directives.">oval_result_directives</a>;</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="keyword">struct </span><a class="code" href="structoval__result__directives.html" title="This structure holds instance of either OVAL Default Directives or OVAL Class directives.">oval_result_directives</a> *<a class="code" href="group__OVALDIR.html#ga553a30c655abea51b92e296c64f47232" title="Create new OVAL Results Directives instance.">oval_result_directives_new</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="keywordtype">void</span> oval_result_directives_free(<span class="keyword">struct</span> <a class="code" href="structoval__result__directives.html" title="This structure holds instance of either OVAL Default Directives or OVAL Class directives.">oval_result_directives</a> *);</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="keywordtype">void</span> <a class="code" href="group__OVALDIR.html#gae77676bc8c7222444bd6e437aa2fc5c8" title="Set (or unset) result types that are intended to be reported.">oval_result_directives_set_reported</a>(<span class="keyword">struct</span> <a class="code" href="structoval__result__directives.html" title="This structure holds instance of either OVAL Default Directives or OVAL Class directives.">oval_result_directives</a> *, <span class="keywordtype">int</span> flag, <span class="keywordtype">bool</span> val);</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="keywordtype">void</span> <a class="code" href="group__OVALDIR.html#ga8a6b521f450516ca0c7e6b2dd51dc3be" title="Configure the depth of infomation.">oval_result_directives_set_content</a>(<span class="keyword">struct</span> <a class="code" href="structoval__result__directives.html" title="This structure holds instance of either OVAL Default Directives or OVAL Class directives.">oval_result_directives</a> *, <span class="keywordtype">int</span> flag, <a class="code" href="group__OVALDIR.html#ga9e7b5741bebbe68b5ddf76e4042125a6" title="Values for the directives controlling the expected content of the results file.">oval_result_directive_content_t</a>);</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="keywordtype">void</span> oval_result_directives_set_included(<span class="keyword">struct</span> <a class="code" href="structoval__result__directives.html" title="This structure holds instance of either OVAL Default Directives or OVAL Class directives.">oval_result_directives</a> *, <span class="keywordtype">bool</span>);</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="keywordtype">bool</span> oval_result_directives_get_reported(<span class="keyword">struct</span> <a class="code" href="structoval__result__directives.html" title="This structure holds instance of either OVAL Default Directives or OVAL Class directives.">oval_result_directives</a> *, <a class="code" href="group__OVALRES.html#ga585abe0825db03426e1994ba335dc4bf" title="Result values for the evaluation of an OVAL Definition or an OVAL Test.">oval_result_t</a>);</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="keywordtype">bool</span> oval_result_directives_get_included(<span class="keyword">struct</span> <a class="code" href="structoval__result__directives.html" title="This structure holds instance of either OVAL Default Directives or OVAL Class directives.">oval_result_directives</a> *);</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <a class="code" href="group__OVALDIR.html#ga9e7b5741bebbe68b5ddf76e4042125a6" title="Values for the directives controlling the expected content of the results file.">oval_result_directive_content_t</a> oval_result_directives_get_content(<span class="keyword">struct</span> <a class="code" href="structoval__result__directives.html" title="This structure holds instance of either OVAL Default Directives or OVAL Class directives.">oval_result_directives</a> *, <a class="code" href="group__OVALRES.html#ga585abe0825db03426e1994ba335dc4bf" title="Result values for the evaluation of an OVAL Definition or an OVAL Test.">oval_result_t</a>);</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="preprocessor">#endif </span><span class="comment">/* OVAL_DIRECTIVES_H_ */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="preprocessor"></span></div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> </div>
</div><!-- fragment --></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.3.1
</small></address>
</body>
</html>
|