<!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: oval_variable_model 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.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <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 class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div class="contents"> <h1>oval_variable_model Struct Reference<br/> <small> [<a class="el" href="group__OVALVAR.html">OVAL External Variable Binding</a>]</small> </h1><!-- doxytag: class="oval_variable_model" --> <p>The OVAL variable model facilitates access to external variable value bindings used to to constrain the evaluation of OVAL objects. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="oval__types_8h_source.html">oval_types.h</a>></code></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#ga275b0d836afc5e6b590744b74c918678">oval_variable_model_import</a> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *, struct <a class="el" href="structoscap__import__source.html">oscap_import_source</a> *, void *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Load the specified <a class="el" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used...">oval_variable_model</a> from an XML stream. <a href="group__OVALVAR.html#ga275b0d836afc5e6b590744b74c918678"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gabaafcd4d6b01dd453467648be6af9ef1"></a><!-- doxytag: member="oval_variable_model::oval_variable_model_new" ref="gabaafcd4d6b01dd453467648be6af9ef1" args="(void)" --> struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#gabaafcd4d6b01dd453467648be6af9ef1">oval_variable_model_new</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new OVAL variable model. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae1c4184092de65edfe1424ad1759dd23"></a><!-- doxytag: member="oval_variable_model::oval_variable_model_clone" ref="gae1c4184092de65edfe1424ad1759dd23" args="(struct oval_variable_model *)" --> struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#gae1c4184092de65edfe1424ad1759dd23">oval_variable_model_clone</a> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Clone an OVAL variable model. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#ga365f33d97173121f2ad7ccfccf336843">oval_variable_model_free</a> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Free memory allocated to a specified <a class="el" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used...">oval_variable_model</a>. <a href="group__OVALVAR.html#ga365f33d97173121f2ad7ccfccf336843"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#gafc39c319dc4ed43ab55b362bcdc19ce8">oval_variable_model_export</a> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *, struct <a class="el" href="structoscap__export__target.html">oscap_export_target</a> *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Export the specified <a class="el" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used...">oval_variable_model</a> to an XML stream. <a href="group__OVALVAR.html#gafc39c319dc4ed43ab55b362bcdc19ce8"></a><br/></td></tr> <tr><td colspan="2"><div class="groupHeader">Setters</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp6e47466b75bb957a603aa54c079ac8bf"></a> </p> <br/><br/></div></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#ga85e31b556710186bd3ee73af8005fc2b">oval_variable_model_lock</a> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *variable_model)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Lock the variable_model instance. <a href="group__OVALVAR.html#ga85e31b556710186bd3ee73af8005fc2b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#ga462a5716ee28a72b8f053b188507551b">oval_variable_model_add</a> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *model, char *varid, const char *comment, <a class="el" href="group__OVALDEF.html#gaf069fe2fb2a9ae3abe47cab55b89827e">oval_datatype_t</a> datatype, char *value)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the values bound to a specified external variable. <a href="group__OVALVAR.html#ga462a5716ee28a72b8f053b188507551b"></a><br/></td></tr> <tr><td colspan="2"><div class="groupHeader">Getters</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpc9fd0bcb5385a65354c37f1bb504399d"></a> </p> <br/><br/></div></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoval__string__iterator.html">oval_string_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#ga1dbc23e41fad2352ee9ac24578258bdf">oval_variable_model_get_variable_ids</a> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get all external variables managed by a specified <a class="el" href="structoval__variable__model.html" title="The OVAL variable model facilitates access to external variable value bindings used...">oval_variable_model</a>. <a href="group__OVALVAR.html#ga1dbc23e41fad2352ee9ac24578258bdf"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__OVALDEF.html#gaf069fe2fb2a9ae3abe47cab55b89827e">oval_datatype_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#gaf4a30ae55879ddf17627934f4fde1c9b">oval_variable_model_get_datatype</a> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *, char *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a specified external variable datatype. <a href="group__OVALVAR.html#gaf4a30ae55879ddf17627934f4fde1c9b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#ga4b189de3fb06eb07c756d44e56ecd096">oval_variable_model_get_comment</a> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *, char *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a specified external variable comment. <a href="group__OVALVAR.html#ga4b189de3fb06eb07c756d44e56ecd096"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoval__string__iterator.html">oval_string_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#ga2e52fe832f3cf5c63d4d6890472e85c8">oval_variable_model_get_values</a> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *, char *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the values bound to a specified external variable. <a href="group__OVALVAR.html#ga2e52fe832f3cf5c63d4d6890472e85c8"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#ga021f29cdfde3e07d67953eef473f5565">oval_variable_model_is_locked</a> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *variable_model)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <b>true</b> if the variable_model instance is locked. <a href="group__OVALVAR.html#ga021f29cdfde3e07d67953eef473f5565"></a><br/></td></tr> <tr><td colspan="2"><div class="groupHeader">Evaluators</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp1fdbbbb8aba6580be2c9cb4b12e86ca2"></a> </p> <br/><br/></div></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf6bb2f236105616566abc218b91901c3"></a><!-- doxytag: member="oval_variable_model::oval_variable_model_is_valid" ref="gaf6bb2f236105616566abc218b91901c3" args="(struct oval_variable_model *variable_model)" --> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#gaf6bb2f236105616566abc218b91901c3">oval_variable_model_is_valid</a> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *variable_model)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <b>true</b> if the variable_model instance is valid. <br/></td></tr> <tr><td colspan="2"><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="addd793a8ef14fe2f5733de0745c969f3"></a><!-- doxytag: member="oval_variable_model::varmap" ref="addd793a8ef14fe2f5733de0745c969f3" args="" --> struct <a class="el" href="structoval__string__map.html">oval_string_map</a> * </td><td class="memItemRight" valign="bottom"><b>varmap</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7715eba7eb68c0bc2a2bb8913a11a3b4"></a><!-- doxytag: member="oval_variable_model::is_locked" ref="a7715eba7eb68c0bc2a2bb8913a11a3b4" args="" --> bool </td><td class="memItemRight" valign="bottom"><b>is_locked</b></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>The OVAL variable model facilitates access to external variable value bindings used to to constrain the evaluation of OVAL objects. </p> <hr/>The documentation for this struct was generated from the following files:<ul> <li>/home/pvrabec/openscap/openscap-0.5.7/src/OVAL/<a class="el" href="oval__varModel_8c.html">oval_varModel.c</a></li> <li>/home/pvrabec/openscap/openscap-0.5.7/src/OVAL/public/<a class="el" href="oval__variables_8h_source.html">oval_variables.h</a></li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on 26 Feb 2010 for Open SCAP Library by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>