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
|
<!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">OVALVAR</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"><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 empty OVAL variable model. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">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#gaad9b9c2cf163bd7b588a6087001175be">oval_variable_model_import</a> (const char *file)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Import the content from the file into a new <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#gaad9b9c2cf163bd7b588a6087001175be"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">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. <a href="group__OVALVAR.html#gae1c4184092de65edfe1424ad1759dd23"></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#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"><a class="anchor" id="ga137cfe3a0f3727325f51c314eca32a79"></a><!-- doxytag: member="oval_variable_model::oval_variable_model_export" ref="ga137cfe3a0f3727325f51c314eca32a79" args="(struct oval_variable_model *, const char *file)" -->
int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#ga137cfe3a0f3727325f51c314eca32a79">oval_variable_model_export</a> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *, const char *file)</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> into file. <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">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#gaf6bc2f8693b5eceb918b355662114aa9">oval_variable_model_has_variable</a> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *model, const char *id)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return true if variable with ID is present in variable model, false otherwise. <a href="group__OVALVAR.html#gaf6bc2f8693b5eceb918b355662114aa9"></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/project/openscap/openscap-0.5.12/src/OVAL/<a class="el" href="oval__varModel_8c.html">oval_varModel.c</a></li>
<li>/home/pvrabec/project/openscap/openscap-0.5.12/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 30 Jun 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>
|