Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > dcbb19bbc4636f73f405fbb232b0cc34 > files > 260

openscap-devel-1.0.8-1.el5_10.x86_64.rpm

<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Open SCAP Library: OVAL External Variable Binding</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<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>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#files">Files</a> &#124;
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">OVAL External Variable Binding<div class="ingroups"><a class="el" href="group__OVAL.html">OVAL</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Interface to Variable model.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="files"></a>
Files</h2></td></tr>
<tr class="memitem:oval__variables_8h"><td class="memItemLeft" align="right" valign="top">file &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="oval__variables_8h.html">oval_variables.h</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structoval__variable__model.html">oval_variable_model</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</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 class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structoval__variable__model__iterator.html">oval_variable_model_iterator</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gabaafcd4d6b01dd453467648be6af9ef1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gabaafcd4d6b01dd453467648be6af9ef1"></a>
struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *&#160;</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 class="memdesc:gabaafcd4d6b01dd453467648be6af9ef1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new empty OVAL variable model. <br/></td></tr>
<tr class="separator:gabaafcd4d6b01dd453467648be6af9ef1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaad9b9c2cf163bd7b588a6087001175be"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *&#160;</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 class="memdesc:gaad9b9c2cf163bd7b588a6087001175be"><td class="mdescLeft">&#160;</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 to to constrain t...">oval_variable_model</a>.  <a href="#gaad9b9c2cf163bd7b588a6087001175be">More...</a><br/></td></tr>
<tr class="separator:gaad9b9c2cf163bd7b588a6087001175be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae1c4184092de65edfe1424ad1759dd23"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *&#160;</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 class="memdesc:gae1c4184092de65edfe1424ad1759dd23"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone an OVAL variable model.  <a href="#gae1c4184092de65edfe1424ad1759dd23">More...</a><br/></td></tr>
<tr class="separator:gae1c4184092de65edfe1424ad1759dd23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga365f33d97173121f2ad7ccfccf336843"><td class="memItemLeft" align="right" valign="top">void&#160;</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 class="memdesc:ga365f33d97173121f2ad7ccfccf336843"><td class="mdescLeft">&#160;</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 to to constrain t...">oval_variable_model</a>.  <a href="#ga365f33d97173121f2ad7ccfccf336843">More...</a><br/></td></tr>
<tr class="separator:ga365f33d97173121f2ad7ccfccf336843"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga137cfe3a0f3727325f51c314eca32a79"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga137cfe3a0f3727325f51c314eca32a79"></a>
int&#160;</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 class="memdesc:ga137cfe3a0f3727325f51c314eca32a79"><td class="mdescLeft">&#160;</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 to to constrain t...">oval_variable_model</a> into file. <br/></td></tr>
<tr class="separator:ga137cfe3a0f3727325f51c314eca32a79"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Setters</h2></td></tr>
<tr class="memitem:ga9f454056695f6754b5c62c49b1dabdfe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9f454056695f6754b5c62c49b1dabdfe"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>oval_variable_model_set_generator</b> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *model, struct <a class="el" href="structoval__generator.html">oval_generator</a> *generator)</td></tr>
<tr class="separator:ga9f454056695f6754b5c62c49b1dabdfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga462a5716ee28a72b8f053b188507551b"><td class="memItemLeft" align="right" valign="top">void&#160;</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 class="memdesc:ga462a5716ee28a72b8f053b188507551b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the values bound to a specified external variable.  <a href="#ga462a5716ee28a72b8f053b188507551b">More...</a><br/></td></tr>
<tr class="separator:ga462a5716ee28a72b8f053b188507551b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Getters</h2></td></tr>
<tr class="memitem:ga244af48042468527d328742b2aa01df4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga244af48042468527d328742b2aa01df4"></a>
struct <a class="el" href="structoval__generator.html">oval_generator</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>oval_variable_model_get_generator</b> (struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *model)</td></tr>
<tr class="separator:ga244af48042468527d328742b2aa01df4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1dbc23e41fad2352ee9ac24578258bdf"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoval__string__iterator.html">oval_string_iterator</a> *&#160;</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 class="memdesc:ga1dbc23e41fad2352ee9ac24578258bdf"><td class="mdescLeft">&#160;</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 to to constrain t...">oval_variable_model</a>.  <a href="#ga1dbc23e41fad2352ee9ac24578258bdf">More...</a><br/></td></tr>
<tr class="separator:ga1dbc23e41fad2352ee9ac24578258bdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf6bc2f8693b5eceb918b355662114aa9"><td class="memItemLeft" align="right" valign="top">bool&#160;</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 class="memdesc:gaf6bc2f8693b5eceb918b355662114aa9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if variable with ID is present in variable model, false otherwise.  <a href="#gaf6bc2f8693b5eceb918b355662114aa9">More...</a><br/></td></tr>
<tr class="separator:gaf6bc2f8693b5eceb918b355662114aa9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf4a30ae55879ddf17627934f4fde1c9b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__OVALDEF.html#gaf069fe2fb2a9ae3abe47cab55b89827e">oval_datatype_t</a>&#160;</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 class="memdesc:gaf4a30ae55879ddf17627934f4fde1c9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a specified external variable datatype.  <a href="#gaf4a30ae55879ddf17627934f4fde1c9b">More...</a><br/></td></tr>
<tr class="separator:gaf4a30ae55879ddf17627934f4fde1c9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4b189de3fb06eb07c756d44e56ecd096"><td class="memItemLeft" align="right" valign="top">const char *&#160;</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 class="memdesc:ga4b189de3fb06eb07c756d44e56ecd096"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a specified external variable comment.  <a href="#ga4b189de3fb06eb07c756d44e56ecd096">More...</a><br/></td></tr>
<tr class="separator:ga4b189de3fb06eb07c756d44e56ecd096"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a293eee58a5deed192eaa77a478cc5c"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoval__value__iterator.html">oval_value_iterator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#ga8a293eee58a5deed192eaa77a478cc5c">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 class="memdesc:ga8a293eee58a5deed192eaa77a478cc5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the values bound to a specified external variable.  <a href="#ga8a293eee58a5deed192eaa77a478cc5c">More...</a><br/></td></tr>
<tr class="separator:ga8a293eee58a5deed192eaa77a478cc5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Iterators</h2></td></tr>
<tr class="memitem:ga9fe4f346b1b6f16e1b4113e2a20bd66b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9fe4f346b1b6f16e1b4113e2a20bd66b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#ga9fe4f346b1b6f16e1b4113e2a20bd66b">oval_variable_model_iterator::oval_variable_model_iterator_has_more</a> (struct <a class="el" href="structoval__variable__model__iterator.html">oval_variable_model_iterator</a> *)</td></tr>
<tr class="memdesc:ga9fe4f346b1b6f16e1b4113e2a20bd66b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <b>true</b> if iterator not exhausted. <br/></td></tr>
<tr class="separator:ga9fe4f346b1b6f16e1b4113e2a20bd66b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8224e468c59fc6117f59b8a70d499ec9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8224e468c59fc6117f59b8a70d499ec9"></a>
struct <a class="el" href="structoval__variable__model.html">oval_variable_model</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#ga8224e468c59fc6117f59b8a70d499ec9">oval_variable_model_iterator::oval_variable_model_iterator_next</a> (struct <a class="el" href="structoval__variable__model__iterator.html">oval_variable_model_iterator</a> *)</td></tr>
<tr class="memdesc:ga8224e468c59fc6117f59b8a70d499ec9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns next instance of <a class="el" href="structoval__variable__model.html">oval_variable_model</a>. <br/></td></tr>
<tr class="separator:ga8224e468c59fc6117f59b8a70d499ec9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa9bd9194d883fb242daab900d41a2ef8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa9bd9194d883fb242daab900d41a2ef8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALVAR.html#gaa9bd9194d883fb242daab900d41a2ef8">oval_variable_model_iterator::oval_variable_model_iterator_free</a> (struct <a class="el" href="structoval__variable__model__iterator.html">oval_variable_model_iterator</a> *)</td></tr>
<tr class="memdesc:gaa9bd9194d883fb242daab900d41a2ef8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Free iterator. <br/></td></tr>
<tr class="separator:gaa9bd9194d883fb242daab900d41a2ef8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Interface to Variable model. </p>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga462a5716ee28a72b8f053b188507551b"></a>
<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> *&#160;</td>
          <td class="paramname"><em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>varid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</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>&#160;</td>
          <td class="paramname"><em>datatype</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">variable_model</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 to to constrain t...">oval_variable_model</a>. </td></tr>
    <tr><td class="paramname">varid</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 and oval_...">oval_variable</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gae1c4184092de65edfe1424ad1759dd23"></a>
<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> *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clone an OVAL variable model. </p>
<dl class="section return"><dt>Returns</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>
<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> *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></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 to to constrain t...">oval_variable_model</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">variable_model</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 to to constrain t...">oval_variable_model</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga4b189de3fb06eb07c756d44e56ecd096"></a>
<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> *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">variable_model</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 to to constrain t...">oval_variable_model</a>. </td></tr>
    <tr><td class="paramname">varid</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 and oval_...">oval_variable</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaf4a30ae55879ddf17627934f4fde1c9b"></a>
<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> *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">variable_model</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 to to constrain t...">oval_variable_model</a>. </td></tr>
    <tr><td class="paramname">varid</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 and oval_...">oval_variable</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga8a293eee58a5deed192eaa77a478cc5c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structoval__value__iterator.html">oval_value_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> *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">variable_model</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 to to constrain t...">oval_variable_model</a>. </td></tr>
    <tr><td class="paramname">varid</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 and oval_...">oval_variable</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga1dbc23e41fad2352ee9ac24578258bdf"></a>
<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> *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></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 to to constrain t...">oval_variable_model</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">variable_model</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 to to constrain t...">oval_variable_model</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaf6bc2f8693b5eceb918b355662114aa9"></a>
<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> *&#160;</td>
          <td class="paramname"><em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return true if variable with ID is present in variable model, false otherwise. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">model</td><td>Variable model </td></tr>
    <tr><td class="paramname">id</td><td>ID of variable </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaad9b9c2cf163bd7b588a6087001175be"></a>
<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 *&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td></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 to to constrain t...">oval_variable_model</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">file</td><td>filename </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>new <a class="el" 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>, or NULL if an error occurred </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>