File: group__OVALVAR.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 (429 lines) | stat: -rw-r--r-- 28,393 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
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
<!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: OVALVAR</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><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>OVALVAR<br/>
<small>
[<a class="el" href="group__OVAL.html">OVAL</a>]</small>
</h1>
<p>Interface to Variable model.  
<a href="#_details">More...</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structoval__variable__model.html">oval_variable_model</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The OVAL variable model facilitates access to external variable value bindings used to to constrain the evaluation of OVAL objects.  <a href="structoval__variable__model.html#_details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2>Files</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="oval__variables_8h.html">oval_variables.h</a></td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gabaafcd4d6b01dd453467648be6af9ef1"></a><!-- doxytag: member="OVALVAR::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::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::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="#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::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="#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::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="#ga365f33d97173121f2ad7ccfccf336843"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga137cfe3a0f3727325f51c314eca32a79"></a><!-- doxytag: member="OVALVAR::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::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"><h2>Setters</h2></td></tr>
<tr><td colspan="2"><p><a class="anchor" id="amgrp6e47466b75bb957a603aa54c079ac8bf"></a> </p>
<br/><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#ga85e31b556710186bd3ee73af8005fc2b">oval_variable_model::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="#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::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="#ga462a5716ee28a72b8f053b188507551b"></a><br/></td></tr>
<tr><td colspan="2"><h2>Getters</h2></td></tr>
<tr><td colspan="2"><p><a class="anchor" id="amgrpc9fd0bcb5385a65354c37f1bb504399d"></a> </p>
<br/><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#ga1dbc23e41fad2352ee9ac24578258bdf">oval_variable_model::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="#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::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="#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::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="#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::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="#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::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="#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::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="#ga021f29cdfde3e07d67953eef473f5565"></a><br/></td></tr>
<tr><td colspan="2"><h2>Evaluators</h2></td></tr>
<tr><td colspan="2"><p><a class="anchor" id="amgrp1fdbbbb8aba6580be2c9cb4b12e86ca2"></a> </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf6bb2f236105616566abc218b91901c3"></a><!-- doxytag: member="OVALVAR::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::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>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Interface to Variable model. </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ga462a5716ee28a72b8f053b188507551b"></a><!-- doxytag: member="oval_variable_model::oval_variable_model_add" ref="ga462a5716ee28a72b8f053b188507551b" args="(struct oval_variable_model *model, char *varid, const char *comment, oval_datatype_t datatype, char *value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void oval_variable_model_add </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *&nbsp;</td>
          <td class="paramname"> <em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>varid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>comment</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__OVALDEF.html#gaf069fe2fb2a9ae3abe47cab55b89827e">oval_datatype_t</a>&nbsp;</td>
          <td class="paramname"> <em>datatype</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the values bound to a specified external variable. </p>
<p>If the varid does not resolve to a managed external variable, this method returns NULL. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>variable_model</em>&nbsp;</td><td>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>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>varid</em>&nbsp;</td><td>the identifier of the required <a class="el" href="structoval__variable.html" title="An oval variable resolves an oval_value stream which specifies constraints for oval_objects...">oval_variable</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gae1c4184092de65edfe1424ad1759dd23"></a><!-- doxytag: member="oval_variable_model::oval_variable_model_clone" ref="gae1c4184092de65edfe1424ad1759dd23" args="(struct oval_variable_model *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> * oval_variable_model_clone </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [read, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clone an OVAL variable model. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A copy of the specified <a class="el" href="structoval__variable__model.html">oval_variable_model</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="ga365f33d97173121f2ad7ccfccf336843"></a><!-- doxytag: member="oval_variable_model::oval_variable_model_free" ref="ga365f33d97173121f2ad7ccfccf336843" args="(struct oval_variable_model *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void oval_variable_model_free </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>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>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>variable_model</em>&nbsp;</td><td>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> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga4b189de3fb06eb07c756d44e56ecd096"></a><!-- doxytag: member="oval_variable_model::oval_variable_model_get_comment" ref="ga4b189de3fb06eb07c756d44e56ecd096" args="(struct oval_variable_model *, char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * oval_variable_model_get_comment </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get a specified external variable comment. </p>
<p>If the varid does not resolve to a managed external variable, this method returns NULL. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>variable_model</em>&nbsp;</td><td>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>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>varid</em>&nbsp;</td><td>the identifier of the required <a class="el" href="structoval__variable.html" title="An oval variable resolves an oval_value stream which specifies constraints for oval_objects...">oval_variable</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaf4a30ae55879ddf17627934f4fde1c9b"></a><!-- doxytag: member="oval_variable_model::oval_variable_model_get_datatype" ref="gaf4a30ae55879ddf17627934f4fde1c9b" args="(struct oval_variable_model *, char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__OVALDEF.html#gaf069fe2fb2a9ae3abe47cab55b89827e">oval_datatype_t</a> oval_variable_model_get_datatype </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get a specified external variable datatype. </p>
<p>If the varid does not resolve to a managed external variable, this method returns 0. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>variable_model</em>&nbsp;</td><td>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>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>varid</em>&nbsp;</td><td>the identifier of the required <a class="el" href="structoval__variable.html" title="An oval variable resolves an oval_value stream which specifies constraints for oval_objects...">oval_variable</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga2e52fe832f3cf5c63d4d6890472e85c8"></a><!-- doxytag: member="oval_variable_model::oval_variable_model_get_values" ref="ga2e52fe832f3cf5c63d4d6890472e85c8" args="(struct oval_variable_model *, char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structoval__string__iterator.html">oval_string_iterator</a> * oval_variable_model_get_values </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [read, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the values bound to a specified external variable. </p>
<p>If the varid does not resolve to a managed external variable, this method returns NULL. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>variable_model</em>&nbsp;</td><td>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>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>varid</em>&nbsp;</td><td>the identifier of the required <a class="el" href="structoval__variable.html" title="An oval variable resolves an oval_value stream which specifies constraints for oval_objects...">oval_variable</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga1dbc23e41fad2352ee9ac24578258bdf"></a><!-- doxytag: member="oval_variable_model::oval_variable_model_get_variable_ids" ref="ga1dbc23e41fad2352ee9ac24578258bdf" args="(struct oval_variable_model *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structoval__string__iterator.html">oval_string_iterator</a> * oval_variable_model_get_variable_ids </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [read, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>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>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>variable_model</em>&nbsp;</td><td>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>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaf6bc2f8693b5eceb918b355662114aa9"></a><!-- doxytag: member="oval_variable_model::oval_variable_model_has_variable" ref="gaf6bc2f8693b5eceb918b355662114aa9" args="(struct oval_variable_model *model, const char *id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool oval_variable_model_has_variable </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *&nbsp;</td>
          <td class="paramname"> <em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>id</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return true if variable with ID is present in variable model, false otherwise. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>model</em>&nbsp;</td><td>Variable model </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>ID of variable </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaad9b9c2cf163bd7b588a6087001175be"></a><!-- doxytag: member="oval_variable_model::oval_variable_model_import" ref="gaad9b9c2cf163bd7b588a6087001175be" args="(const char *file)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> * oval_variable_model_import </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>file</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [read, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>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>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>file</em>&nbsp;</td><td>filename </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>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>, or NULL if an error occurred </dd></dl>

</div>
</div>
<a class="anchor" id="ga021f29cdfde3e07d67953eef473f5565"></a><!-- doxytag: member="oval_variable_model::oval_variable_model_is_locked" ref="ga021f29cdfde3e07d67953eef473f5565" args="(struct oval_variable_model *variable_model)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool oval_variable_model_is_locked </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *&nbsp;</td>
          <td class="paramname"> <em>variable_model</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return <b>true</b> if the variable_model instance is locked. </p>
<p>The state of a locked instance cannot be changed. </p>

</div>
</div>
<a class="anchor" id="ga85e31b556710186bd3ee73af8005fc2b"></a><!-- doxytag: member="oval_variable_model::oval_variable_model_lock" ref="ga85e31b556710186bd3ee73af8005fc2b" args="(struct oval_variable_model *variable_model)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void oval_variable_model_lock </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *&nbsp;</td>
          <td class="paramname"> <em>variable_model</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Lock the variable_model instance. </p>
<p>The state of a locked instance cannot be changed. This operation has no effect if the model is already locked. </p>

</div>
</div>
</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>