<!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/OVAL/public/oval_variables.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 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 class="header"> <div class="headertitle"> <div class="title">/home/pvrabec/project/openscap/openscap-0.7.4/src/OVAL/public/oval_variables.h</div> </div> </div> <div class="contents"> <a href="oval__variables_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <a name="l00014"></a>00014 <span class="comment">/*</span> <a name="l00015"></a>00015 <span class="comment"> * Copyright 2009-2010 Red Hat Inc., Durham, North Carolina.</span> <a name="l00016"></a>00016 <span class="comment"> * All Rights Reserved.</span> <a name="l00017"></a>00017 <span class="comment"> *</span> <a name="l00018"></a>00018 <span class="comment"> * This library is free software; you can redistribute it and/or</span> <a name="l00019"></a>00019 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span> <a name="l00020"></a>00020 <span class="comment"> * License as published by the Free Software Foundation; either</span> <a name="l00021"></a>00021 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span> <a name="l00022"></a>00022 <span class="comment"> *</span> <a name="l00023"></a>00023 <span class="comment"> * This library is distributed in the hope that it will be useful,</span> <a name="l00024"></a>00024 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00025"></a>00025 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> <a name="l00026"></a>00026 <span class="comment"> * Lesser General Public License for more details.</span> <a name="l00027"></a>00027 <span class="comment"> *</span> <a name="l00028"></a>00028 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span> <a name="l00029"></a>00029 <span class="comment"> * License along with this library; if not, write to the Free Software</span> <a name="l00030"></a>00030 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> <a name="l00031"></a>00031 <span class="comment"> *</span> <a name="l00032"></a>00032 <span class="comment"> * Authors:</span> <a name="l00033"></a>00033 <span class="comment"> * "David Niemoller" <David.Niemoller@g2-inc.com></span> <a name="l00034"></a>00034 <span class="comment"> */</span> <a name="l00035"></a>00035 <a name="l00036"></a>00036 <span class="preprocessor">#ifndef OVAL_VARIABLES_H_</span> <a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_VARIABLES_H_</span> <a name="l00038"></a>00038 <span class="preprocessor"></span> <a name="l00039"></a>00039 <span class="preprocessor">#include "<a class="code" href="oval__types_8h.html">oval_types.h</a>"</span> <a name="l00040"></a>00040 <a name="l00045"></a>00045 <span class="keyword">struct </span><a class="code" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used to to constrain t...">oval_variable_model</a> *<a class="code" href="group__OVALVAR.html#gabaafcd4d6b01dd453467648be6af9ef1" title="Create a new empty OVAL variable model.">oval_variable_model_new</a>(<span class="keywordtype">void</span>); <a name="l00052"></a>00052 <span class="keyword">struct </span><a class="code" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used to to constrain t...">oval_variable_model</a> * <a class="code" href="group__OVALVAR.html#gaad9b9c2cf163bd7b588a6087001175be" title="Import the content from the file into a new oval_variable_model.">oval_variable_model_import</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *file); <a name="l00058"></a>00058 <span class="keyword">struct </span><a class="code" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used to to constrain t...">oval_variable_model</a> *<a class="code" href="group__OVALVAR.html#gae1c4184092de65edfe1424ad1759dd23" title="Clone an OVAL variable model.">oval_variable_model_clone</a>(<span class="keyword">struct</span> <a class="code" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used to to constrain t...">oval_variable_model</a> *); <a name="l00064"></a>00064 <span class="keywordtype">void</span> <a class="code" href="group__OVALVAR.html#ga365f33d97173121f2ad7ccfccf336843" title="Free memory allocated to a specified oval_variable_model.">oval_variable_model_free</a>(<span class="keyword">struct</span> <a class="code" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used to to constrain t...">oval_variable_model</a> *); <a name="l00069"></a>00069 <span class="keywordtype">int</span> <a class="code" href="group__OVALVAR.html#ga137cfe3a0f3727325f51c314eca32a79" title="Export the specified oval_variable_model into file.">oval_variable_model_export</a> (<span class="keyword">struct</span> <a class="code" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used to to constrain t...">oval_variable_model</a> *, <span class="keyword">const</span> <span class="keywordtype">char</span> *file); <a name="l00070"></a>00070 <a name="l00071"></a>00071 <a name="l00076"></a>00076 <span class="keywordtype">void</span> oval_variable_model_set_generator(<span class="keyword">struct</span> <a class="code" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used to to constrain t...">oval_variable_model</a> *model, <span class="keyword">struct</span> <a class="code" href="structoval__generator.html">oval_generator</a> *generator); <a name="l00084"></a>00084 <span class="keywordtype">void</span> <a class="code" href="group__OVALVAR.html#ga462a5716ee28a72b8f053b188507551b" title="Get the values bound to a specified external variable.">oval_variable_model_add</a>(<span class="keyword">struct</span> <a class="code" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used to to constrain t...">oval_variable_model</a> *model, <span class="keywordtype">char</span> *varid, <span class="keyword">const</span> <span class="keywordtype">char</span> *comment, <a class="code" href="group__OVALDEF.html#gaf069fe2fb2a9ae3abe47cab55b89827e" title="Datatypes.">oval_datatype_t</a> datatype, <span class="keywordtype">char</span> *value); <a name="l00091"></a>00091 <span class="keyword">struct </span><a class="code" href="structoval__generator.html">oval_generator</a> *oval_variable_model_get_generator(<span class="keyword">struct</span> <a class="code" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used to to constrain t...">oval_variable_model</a> *model); <a name="l00097"></a>00097 <span class="keyword">struct </span><a class="code" href="structoval__string__iterator.html">oval_string_iterator</a> *<a class="code" href="group__OVALVAR.html#ga1dbc23e41fad2352ee9ac24578258bdf" title="Get all external variables managed by a specified oval_variable_model.">oval_variable_model_get_variable_ids</a> (<span class="keyword">struct</span> <a class="code" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used to to constrain t...">oval_variable_model</a> *); <a name="l00098"></a>00098 <a name="l00105"></a>00105 <span class="keywordtype">bool</span> <a class="code" href="group__OVALVAR.html#gaf6bc2f8693b5eceb918b355662114aa9" title="Return true if variable with ID is present in variable model, false otherwise.">oval_variable_model_has_variable</a>(<span class="keyword">struct</span> <a class="code" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used to to constrain t...">oval_variable_model</a> *model, <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keywordtype">id</span>); <a name="l00113"></a>00113 <a class="code" href="group__OVALDEF.html#gaf069fe2fb2a9ae3abe47cab55b89827e" title="Datatypes.">oval_datatype_t</a> <a class="code" href="group__OVALVAR.html#gaf4a30ae55879ddf17627934f4fde1c9b" title="Get a specified external variable datatype.">oval_variable_model_get_datatype</a> (<span class="keyword">struct</span> <a class="code" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used to to constrain t...">oval_variable_model</a> *, <span class="keywordtype">char</span> *); <a name="l00121"></a>00121 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__OVALVAR.html#ga4b189de3fb06eb07c756d44e56ecd096" title="Get a specified external variable comment.">oval_variable_model_get_comment</a> (<span class="keyword">struct</span> <a class="code" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used to to constrain t...">oval_variable_model</a> *, <span class="keywordtype">char</span> *); <a name="l00129"></a>00129 <span class="keyword">struct </span><a class="code" href="structoval__value__iterator.html">oval_value_iterator</a> *<a class="code" href="group__OVALVAR.html#ga8a293eee58a5deed192eaa77a478cc5c" title="Get the values bound to a specified external variable.">oval_variable_model_get_values</a>(<span class="keyword">struct</span> <a class="code" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used to to constrain t...">oval_variable_model</a> *, <span class="keywordtype">char</span> *); <a name="l00140"></a>00140 <span class="keyword">struct </span><a class="code" href="structoval__variable__model__iterator.html">oval_variable_model_iterator</a>; <a name="l00145"></a>00145 <span class="keywordtype">bool</span> <a class="code" href="group__OVALVAR.html#ga9fe4f346b1b6f16e1b4113e2a20bd66b" title="Returns true if iterator not exhausted.">oval_variable_model_iterator_has_more</a>(<span class="keyword">struct</span> <a class="code" href="structoval__variable__model__iterator.html">oval_variable_model_iterator</a> *); <a name="l00150"></a>00150 <span class="keyword">struct </span><a class="code" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used to to constrain t...">oval_variable_model</a> *<a class="code" href="group__OVALVAR.html#ga8224e468c59fc6117f59b8a70d499ec9" title="Returns next instance of oval_variable_model.">oval_variable_model_iterator_next</a>(<span class="keyword">struct</span> <a class="code" href="structoval__variable__model__iterator.html">oval_variable_model_iterator</a> *); <a name="l00155"></a>00155 <span class="keywordtype">void</span> <a class="code" href="group__OVALVAR.html#gaa9bd9194d883fb242daab900d41a2ef8" title="Free iterator.">oval_variable_model_iterator_free</a>(<span class="keyword">struct</span> <a class="code" href="structoval__variable__model__iterator.html">oval_variable_model_iterator</a> *); <a name="l00168"></a>00168 <span class="preprocessor">#endif </span><span class="comment">/* OVAL_VARIABLES_H_ */</span> <a name="l00169"></a>00169 <a name="l00170"></a>00170 </pre></div></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>