File: structoval__variable__model.html

package info (click to toggle)
openscap 0.5.12-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 27,052 kB
  • ctags: 21,075
  • sloc: xml: 82,351; ansic: 52,101; sh: 17,802; makefile: 748; perl: 442; cpp: 117; python: 110
file content (97 lines) | stat: -rw-r--r-- 12,934 bytes parent folder | download
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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&nbsp;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&nbsp;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&nbsp;Structure&nbsp;Index</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;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 &lt;<a class="el" href="oval__types_8h_source.html">oval_types.h</a>&gt;</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> *&nbsp;</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">&nbsp;</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> *&nbsp;</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">&nbsp;</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> *&nbsp;</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">&nbsp;</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&nbsp;</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">&nbsp;</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&nbsp;</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">&nbsp;</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&nbsp;</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">&nbsp;</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&nbsp;</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">&nbsp;</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> *&nbsp;</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">&nbsp;</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&nbsp;</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">&nbsp;</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>&nbsp;</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">&nbsp;</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 *&nbsp;</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">&nbsp;</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> *&nbsp;</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">&nbsp;</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&nbsp;</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">&nbsp;</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&nbsp;</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">&nbsp;</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> *&nbsp;</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&nbsp;</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&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>