Sophie

Sophie

distrib > Fedora > 17 > i386 > by-pkgid > ec8e217d4486ff9ba16b8bc2d8ec8602 > files > 591

openscap-devel-0.9.7-1.fc17.i686.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"/>
<title>Open SCAP Library: oval_component Struct Reference</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.1.1 -->
  <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 class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">oval_component Struct Reference<div class="ingroups"><a class="el" href="group__OVALDEF.html">OVAL Definitions</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>OVAL variable component Oval_component instances specify evaluation constraints on local variables (see oval_variable_get_type).  
 <a href="structoval__component.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="oval__definitions_8h_source.html">oval_definitions.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:gaa96aefc959878666fcae52b5fa8e55a6"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoval__component.html">oval_component</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#gaa96aefc959878666fcae52b5fa8e55a6">oval_component_new</a> (struct <a class="el" href="structoval__definition__model.html">oval_definition_model</a> *, <a class="el" href="group__OVALDEF.html#gab6ed49a929aed7027c01b143ced8ba2d">oval_component_type_t</a> type)</td></tr>
<tr class="memdesc:gaa96aefc959878666fcae52b5fa8e55a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct new intance of Oval_component.  <a href="group__OVALDEF.html#gaa96aefc959878666fcae52b5fa8e55a6"></a><br/></td></tr>
<tr class="memitem:gaf0b49cf939284308b61954c83db94971"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoval__component.html">oval_component</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#gaf0b49cf939284308b61954c83db94971">oval_component_clone</a> (struct <a class="el" href="structoval__definition__model.html">oval_definition_model</a> *new_model, struct <a class="el" href="structoval__component.html">oval_component</a> *old_component)</td></tr>
<tr class="memdesc:gaf0b49cf939284308b61954c83db94971"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone instance of Oval_component.  <a href="group__OVALDEF.html#gaf0b49cf939284308b61954c83db94971"></a><br/></td></tr>
<tr class="memitem:ga828edd910a6e940f6d3832c3a2ba69da"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga828edd910a6e940f6d3832c3a2ba69da"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#ga828edd910a6e940f6d3832c3a2ba69da">oval_component_free</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:ga828edd910a6e940f6d3832c3a2ba69da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Free instance of Oval_component. <br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Setters</div></td></tr>
<tr class="memitem:gaf67af5d96085df7991854edeb04463b5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf67af5d96085df7991854edeb04463b5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#gaf67af5d96085df7991854edeb04463b5">oval_component_set_type</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *component, <a class="el" href="group__OVALDEF.html#gab6ed49a929aed7027c01b143ced8ba2d">oval_component_type_t</a> type)</td></tr>
<tr class="memdesc:gaf67af5d96085df7991854edeb04463b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set type of component Oval_component-&gt;type. <br/></td></tr>
<tr class="memitem:ga616450ba90f74f9d3625ad5677c19f3f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#ga616450ba90f74f9d3625ad5677c19f3f">oval_component_set_object</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *, struct <a class="el" href="structoval__object.html">oval_object</a> *object)</td></tr>
<tr class="memdesc:ga616450ba90f74f9d3625ad5677c19f3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">set attribute Oval_component_object-&gt;object.  <a href="group__OVALDEF.html#ga616450ba90f74f9d3625ad5677c19f3f"></a><br/></td></tr>
<tr class="memitem:ga8bc495fa304b1d90ec9487603bb247cc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8bc495fa304b1d90ec9487603bb247cc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#ga8bc495fa304b1d90ec9487603bb247cc">oval_component_set_item_field</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *, char *)</td></tr>
<tr class="memdesc:ga8bc495fa304b1d90ec9487603bb247cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">set attribute Oval_component_object-&gt;item_field. <br/></td></tr>
<tr class="memitem:ga03baa694cbed27c38e190afa581b3415"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga03baa694cbed27c38e190afa581b3415"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#ga03baa694cbed27c38e190afa581b3415">oval_component_set_record_field</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *, char *)</td></tr>
<tr class="memdesc:ga03baa694cbed27c38e190afa581b3415"><td class="mdescLeft">&#160;</td><td class="mdescRight">set attribute Oval_component_object-&gt;record_field. <br/></td></tr>
<tr class="memitem:ga01c134ccc83dabf51c3f5f13adc254fd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#ga01c134ccc83dabf51c3f5f13adc254fd">oval_component_set_variable</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *, struct <a class="el" href="structoval__variable.html">oval_variable</a> *variable)</td></tr>
<tr class="memdesc:ga01c134ccc83dabf51c3f5f13adc254fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">set attribute Oval_component_object-&gt;variable.  <a href="group__OVALDEF.html#ga01c134ccc83dabf51c3f5f13adc254fd"></a><br/></td></tr>
<tr class="memitem:ga9779998c267be7fd628ee44f6be12403"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9779998c267be7fd628ee44f6be12403"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>oval_component_add_function_component</b> (struct <a class="el" href="structoval__component.html">oval_component</a> *, struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memitem:gac0fa4d930d0f4aa58f47b817981cf8a4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac0fa4d930d0f4aa58f47b817981cf8a4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>oval_component_set_arithmetic_operation</b> (struct <a class="el" href="structoval__component.html">oval_component</a> *, <a class="el" href="group__OVALDEF.html#gadca2ff0881da30f974d92a549dc76c4c">oval_arithmetic_operation_t</a>)</td></tr>
<tr class="memitem:ga622425949a0c57794f1eb340746b041d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga622425949a0c57794f1eb340746b041d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>oval_component_set_prefix</b> (struct <a class="el" href="structoval__component.html">oval_component</a> *, char *)</td></tr>
<tr class="memitem:gabe96e05c2af580da13019f61b4d2437a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gabe96e05c2af580da13019f61b4d2437a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>oval_component_set_suffix</b> (struct <a class="el" href="structoval__component.html">oval_component</a> *, char *)</td></tr>
<tr class="memitem:gaf7c8a9ef0119ea4de2ea9d914fc62e12"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf7c8a9ef0119ea4de2ea9d914fc62e12"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>oval_component_set_split_delimiter</b> (struct <a class="el" href="structoval__component.html">oval_component</a> *, char *)</td></tr>
<tr class="memitem:ga8096e3718d2c9c5e44fa045bba92b8cd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8096e3718d2c9c5e44fa045bba92b8cd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>oval_component_set_substring_start</b> (struct <a class="el" href="structoval__component.html">oval_component</a> *, int)</td></tr>
<tr class="memitem:ga42ad82b6c60fd8e618f2d08df331425d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga42ad82b6c60fd8e618f2d08df331425d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>oval_component_set_substring_length</b> (struct <a class="el" href="structoval__component.html">oval_component</a> *, int)</td></tr>
<tr class="memitem:ga1d0d9dfc579682af8265c620a205b718"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1d0d9dfc579682af8265c620a205b718"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>oval_component_set_timedif_format_1</b> (struct <a class="el" href="structoval__component.html">oval_component</a> *, <a class="el" href="group__OVALDEF.html#gaea41231bb5ff1482100866e5a0c5f7f7">oval_datetime_format_t</a>)</td></tr>
<tr class="memitem:gad7505a4f526116ca0e8b8027ab4880ed"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad7505a4f526116ca0e8b8027ab4880ed"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>oval_component_set_timedif_format_2</b> (struct <a class="el" href="structoval__component.html">oval_component</a> *, <a class="el" href="group__OVALDEF.html#gaea41231bb5ff1482100866e5a0c5f7f7">oval_datetime_format_t</a>)</td></tr>
<tr class="memitem:ga955452823f0322eb9fa3f24e7374ede0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga955452823f0322eb9fa3f24e7374ede0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>oval_component_set_regex_pattern</b> (struct <a class="el" href="structoval__component.html">oval_component</a> *, char *)</td></tr>
<tr class="memitem:gad7149cee28c74dc18a82b604728a370c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad7149cee28c74dc18a82b604728a370c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>oval_component_set_literal_value</b> (struct <a class="el" href="structoval__component.html">oval_component</a> *, struct <a class="el" href="structoval__value.html">oval_value</a> *)</td></tr>
<tr><td colspan="2"><div class="groupHeader">Getters</div></td></tr>
<tr class="memitem:ga64787d54cceb698983d096ff7574817f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga64787d54cceb698983d096ff7574817f"></a>
<a class="el" href="group__OVALDEF.html#gab6ed49a929aed7027c01b143ced8ba2d">oval_component_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#ga64787d54cceb698983d096ff7574817f">oval_component_get_type</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:ga64787d54cceb698983d096ff7574817f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_component-&gt;type. <br/></td></tr>
<tr class="memitem:ga94e7aa9c65ea008025fe9910dd0e5d65"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoval__object.html">oval_object</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#ga94e7aa9c65ea008025fe9910dd0e5d65">oval_component_get_object</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:ga94e7aa9c65ea008025fe9910dd0e5d65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_component_object-&gt;object.  <a href="group__OVALDEF.html#ga94e7aa9c65ea008025fe9910dd0e5d65"></a><br/></td></tr>
<tr class="memitem:ga3a5d11a62f0090e8ccde753f4f123475"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#ga3a5d11a62f0090e8ccde753f4f123475">oval_component_get_item_field</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:ga3a5d11a62f0090e8ccde753f4f123475"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_component_object-&gt;item_field.  <a href="group__OVALDEF.html#ga3a5d11a62f0090e8ccde753f4f123475"></a><br/></td></tr>
<tr class="memitem:ga597b6da4bf23e3bc367530309658c4e0"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#ga597b6da4bf23e3bc367530309658c4e0">oval_component_get_record_field</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:ga597b6da4bf23e3bc367530309658c4e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_component_object-&gt;record_field.  <a href="group__OVALDEF.html#ga597b6da4bf23e3bc367530309658c4e0"></a><br/></td></tr>
<tr class="memitem:ga8fc4993e588d1a9fd961c3241ea3cc67"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoval__variable.html">oval_variable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#ga8fc4993e588d1a9fd961c3241ea3cc67">oval_component_get_variable</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:ga8fc4993e588d1a9fd961c3241ea3cc67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_component_variable-&gt;variable.  <a href="group__OVALDEF.html#ga8fc4993e588d1a9fd961c3241ea3cc67"></a><br/></td></tr>
<tr class="memitem:ga4a19b6533a293b7bfefbfe5c925f2516"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoval__component__iterator.html">oval_component_iterator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#ga4a19b6533a293b7bfefbfe5c925f2516">oval_component_get_function_components</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:ga4a19b6533a293b7bfefbfe5c925f2516"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_function-&gt;components.  <a href="group__OVALDEF.html#ga4a19b6533a293b7bfefbfe5c925f2516"></a><br/></td></tr>
<tr class="memitem:gaff496f0048251b388637fa56b1b112bb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__OVALDEF.html#gadca2ff0881da30f974d92a549dc76c4c">oval_arithmetic_operation_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#gaff496f0048251b388637fa56b1b112bb">oval_component_get_arithmetic_operation</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:gaff496f0048251b388637fa56b1b112bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_function_ARITHMETIC-&gt;arithmetic_operation.  <a href="group__OVALDEF.html#gaff496f0048251b388637fa56b1b112bb"></a><br/></td></tr>
<tr class="memitem:gaa176e54037f1d6ead096af966fa1f4ee"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#gaa176e54037f1d6ead096af966fa1f4ee">oval_component_get_prefix</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:gaa176e54037f1d6ead096af966fa1f4ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_function_BEGIN-&gt;prefix.  <a href="group__OVALDEF.html#gaa176e54037f1d6ead096af966fa1f4ee"></a><br/></td></tr>
<tr class="memitem:ga0931d436babb3e8bfa9ad3774bdbc46e"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#ga0931d436babb3e8bfa9ad3774bdbc46e">oval_component_get_suffix</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:ga0931d436babb3e8bfa9ad3774bdbc46e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_function_END-&gt;suffix.  <a href="group__OVALDEF.html#ga0931d436babb3e8bfa9ad3774bdbc46e"></a><br/></td></tr>
<tr class="memitem:gaf3dd22312275e9bb44633593777aceeb"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#gaf3dd22312275e9bb44633593777aceeb">oval_component_get_split_delimiter</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:gaf3dd22312275e9bb44633593777aceeb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_function_SPLIT-&gt;delimiter.  <a href="group__OVALDEF.html#gaf3dd22312275e9bb44633593777aceeb"></a><br/></td></tr>
<tr class="memitem:gae29db7df204a6de04460d4d833dc0e06"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#gae29db7df204a6de04460d4d833dc0e06">oval_component_get_substring_start</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:gae29db7df204a6de04460d4d833dc0e06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_function_SUBSTRING-&gt;start.  <a href="group__OVALDEF.html#gae29db7df204a6de04460d4d833dc0e06"></a><br/></td></tr>
<tr class="memitem:gabd9665d12c9395e71769d532b6d61499"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#gabd9665d12c9395e71769d532b6d61499">oval_component_get_substring_length</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:gabd9665d12c9395e71769d532b6d61499"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_function_SUBSTRING-&gt;length.  <a href="group__OVALDEF.html#gabd9665d12c9395e71769d532b6d61499"></a><br/></td></tr>
<tr class="memitem:gaed40687ef2d737c3a94eca3d2f034d41"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__OVALDEF.html#gaea41231bb5ff1482100866e5a0c5f7f7">oval_datetime_format_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#gaed40687ef2d737c3a94eca3d2f034d41">oval_component_get_timedif_format_1</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:gaed40687ef2d737c3a94eca3d2f034d41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_function_TIMEDIF-&gt;timedif_format_1.  <a href="group__OVALDEF.html#gaed40687ef2d737c3a94eca3d2f034d41"></a><br/></td></tr>
<tr class="memitem:ga7783a012f5f1d13abcdc271e65462d23"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__OVALDEF.html#gaea41231bb5ff1482100866e5a0c5f7f7">oval_datetime_format_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#ga7783a012f5f1d13abcdc271e65462d23">oval_component_get_timedif_format_2</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:ga7783a012f5f1d13abcdc271e65462d23"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_function_TIMEDIF-&gt;timedif_format_2.  <a href="group__OVALDEF.html#ga7783a012f5f1d13abcdc271e65462d23"></a><br/></td></tr>
<tr class="memitem:ga46e56abea7bd752b9008b0273be9d79e"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#ga46e56abea7bd752b9008b0273be9d79e">oval_component_get_regex_pattern</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:ga46e56abea7bd752b9008b0273be9d79e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_function_REGEX_CAPTURE-&gt;pattern.  <a href="group__OVALDEF.html#ga46e56abea7bd752b9008b0273be9d79e"></a><br/></td></tr>
<tr class="memitem:ga6ab610166643dd32305be91e9fd586b6"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoval__value.html">oval_value</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALDEF.html#ga6ab610166643dd32305be91e9fd586b6">oval_component_get_literal_value</a> (struct <a class="el" href="structoval__component.html">oval_component</a> *)</td></tr>
<tr class="memdesc:ga6ab610166643dd32305be91e9fd586b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns attribute Oval_literal-&gt;literal.  <a href="group__OVALDEF.html#ga6ab610166643dd32305be91e9fd586b6"></a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a77692b8e0d4e264cb2f39e7f1156f001"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a77692b8e0d4e264cb2f39e7f1156f001"></a>
struct <a class="el" href="structoval__definition__model.html">oval_definition_model</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>model</b></td></tr>
<tr class="memitem:a72dee183ca6bc0d630cbce2627e964be"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72dee183ca6bc0d630cbce2627e964be"></a>
<a class="el" href="group__OVALDEF.html#gab6ed49a929aed7027c01b143ced8ba2d">oval_component_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>type</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>OVAL variable component Oval_component instances specify evaluation constraints on local variables (see oval_variable_get_type). </p>
<ul>
<li>If <a class="el" href="group__OVALDEF.html#ga64787d54cceb698983d096ff7574817f">oval_component_get_type</a> == OVAL_FUNCTION_CONCAT - Concatenation function<ul>
<li>Oval_function_CONCAT takes two or more components and sub-concatenates them together to form a single string. The first component makes up the begining of the resulting string and any following components are added to the end it. If one of the components returns multiple values then the concat function would be performed multiple times and the end result would be an array of values for the local variable. For example assume a local variable has two sub-components: a basic component element returns the values "abc" and "def", and a literal component element that has a value of "xyz". The local_variable element would be evaluated to have two values, "abcxyz" and "defxyz". If one of the components does not exist, then the result of the concat operation should be does not exist.</li>
</ul>
</li>
<li>If <a class="el" href="group__OVALDEF.html#ga64787d54cceb698983d096ff7574817f">oval_component_get_type</a> == OVAL_FUNCTION_COUNT - Counting function.<ul>
<li>The count function counts the values represented by one or more components as an integer. This function determines the total number of values referenced by all of thespecified sub-components.</li>
</ul>
</li>
<li>If <a class="el" href="group__OVALDEF.html#ga64787d54cceb698983d096ff7574817f">oval_component_get_type</a> == OVAL_FUNCTION_ARITHMETIC - Arithmetic function.<ul>
<li>The arithmetic function takes two or more integer or float components and performs a basic mathmetical function on them. The result of this function in a single integer or float unless one of the components returns multiple values. In this case the specified arithmetic function would be performed multiple times and the end result would be an array of values for the local variable. For example assume a local_variable specifies the arithmetic function with an arithmetic_operation of "add" and has two sub-components under this function: the first component returns multiple values "1" and "2", and the second component returns multiple values "3" and "4" and "5". The local_variable element would be evaluated to have six values: 1+3, 1+4, 1+5, 2+3, 2+4, and 2+5.</li>
</ul>
</li>
<li>If <a class="el" href="group__OVALDEF.html#ga64787d54cceb698983d096ff7574817f">oval_component_get_type</a> == OVAL_FUNCTION_REGEX_CAPTURE - Regex_capture function.<ul>
<li>The regex_capture function captures a single substring from a string component. The 'pattern' attribute provides a regular expression that must contain a single subexpression (using parentheses). The first match of the subexpression is considered the captured substring. For example, the pattern ^abc(.*)xyz$ would capture a substring from each of the string component's values if the value starts with abc and ends with xyz. In this case the subexpression would be all the characters that exist in between the abc and the xyz. If more than one subexpression is supplied only the first match is considered. If more than one match is identified by a single subexpression only the first match is considered. If no matches are found or a subexpression is not supplied the function will evaluate to an empty string. Note that subexpressions match the longest possible substrings.</li>
</ul>
</li>
<li>If <a class="el" href="group__OVALDEF.html#ga64787d54cceb698983d096ff7574817f">oval_component_get_type</a> == OVAL_FUNCTION_BEGIN - Begin function<ul>
<li>The begin function takes a single string component and defines a character (or string) that the component string should start with. The character attribute defines the specific character (or string). The character (or string) is only added to the component string if the component string doesn't already start with the specified character (or string).</li>
</ul>
</li>
<li>If <a class="el" href="group__OVALDEF.html#ga64787d54cceb698983d096ff7574817f">oval_component_get_type</a> == OVAL_FUNCTION_END - End function<ul>
<li>The end function takes a single string component and defines a character (or string) that the component string should end with. The character attribute defines the specific character (or string). The character (or string) is only added to the component string if the component string doesn't already end with the specified character (or string). If the desired end character is a string, then the entire end string must exist at the end if the component string. If the entire end string is not present then the entire end string is appended to the component string.</li>
</ul>
</li>
<li>If <a class="el" href="group__OVALDEF.html#ga64787d54cceb698983d096ff7574817f">oval_component_get_type</a> == OVAL_FUNCTION_SPLIT - Split function<ul>
<li>The split function takes a single string component and turns it into multiple values based on a delimiter string. For example, assume that a basic component element returns the value "a-b-c-d" to the split function with the delimiter set to "-". The local_variable element would be evaluated to have four values "a", "b", "c", and "d". If the basic component returns a value that begins, or ends, with a delimiter, the local_variable element would contain empty string values at the beginning, or end, of the set of values returned for that string component. For example, if the delimiter is "-", and the basic component element returns the value "-a-a-", the local_variable element would be evaluated to have four values "", "a", "a", and "". Likewise, if the basic component element returns a value that contains adjacent delimiters such as "---", the local_variable element would be evaluated to have four values "", "", "", and "". Lastly, if the basic component element used by the split function returns multiple values, then the split function is performed multiple times, and all of the results, from each of the split functions, are returned.</li>
</ul>
</li>
<li>If <a class="el" href="group__OVALDEF.html#ga64787d54cceb698983d096ff7574817f">oval_component_get_type</a> == OVAL_FUNCTION_SUBSTRING - Substring function<ul>
<li>The substring function takes a single string component and produces a single value that contains a portion of the original string. The substring_start attribute defines the starting position in the original string. Note, to include the first character of the string, the start position would be 1. Also note that a value less than one also means starting at the first character of the string. The substring_length attribute defines how many character after and including the starting character to include. Note that a substring_length value greater than the actual length of the string or a negative value means to include all the characters after the starting character. For example assume a basic component element that returns the value "abcdefg" with a substring_start value of 3 and a substring_length value of 2. The local_variable element would be evaluate to have a single value of "cd". If the string component used by the substring function returns multiple values, then the substring operation is performed multiple times and results in multiple values for the component.</li>
</ul>
</li>
<li>If <a class="el" href="group__OVALDEF.html#ga64787d54cceb698983d096ff7574817f">oval_component_get_type</a> == OVAL_FUNCTION_TIMEDIF - Time difference function<ul>
<li>Oval_function_TIMEDIF calculates the difference in seconds between date-time values. If one component is specified, the values of that component are subtracted from the current time (UTC). If two components are specified, the value of the second component is subtracted from the value of the first component. If the component(s) contain multiple values, the operation is performed multiple times on the Cartesian product of the component(s) and the result is an array of time difference values. For example, assume a local_variable specifies the time_difference function and has two sub-components under this function: the first component returns multiple values "04/02/2009" and "04/03/2009", and the second component returns multiple values "02/02/2005" and "02/03/2005" and "02/04/2005". The local_variable element would be evaluated to have six values: (ToSeconds("04/02/2009") - ToSeconds("02/02/2005")), (ToSeconds("04/02/2009") - ToSeconds("02/03/2005")), (ToSeconds("04/02/2009") - ToSeconds("02/04/2005")), (ToSeconds("04/03/2009") - ToSeconds("02/02/2005")), (ToSeconds("04/03/2009") - ToSeconds("02/03/2005")), and (ToSeconds("04/03/2009") - ToSeconds("02/04/2005"))..</li>
</ul>
</li>
<li>If <a class="el" href="group__OVALDEF.html#ga64787d54cceb698983d096ff7574817f">oval_component_get_type</a> == OVAL_FUNCTION_ESCAPE_REGEX - Escape Regular Expression function<ul>
<li>Oval_function_ESCAPE_REGEX takes a single string component and escapes all the regular expression characters. The purpose for this is that many times, a component used in pattern match needs to be treated as a literal string and not a regular expression. For example, assume a basic component element that identifies a file path that is held in the Windows registry. This path is a string that might contain regular expression characters. These characters are likely not intended to be treated as regular expression characters and need to be escaped. This function allows a definition writer to mark convert the values of components to regular expression format. Note that when using regular expressions, OVAL supports a common subset of the regular expression character classes, operations, expressions and other lexical tokens defined within Perl 5's regular expression specification. For more information on the supported regular expression syntax in OVAL see: <a href="http://oval.mitre.org/language/about/re_support_5.6.html">http://oval.mitre.org/language/about/re_support_5.6.html</a>.</li>
</ul>
</li>
<li>If <a class="el" href="group__OVALDEF.html#ga64787d54cceb698983d096ff7574817f">oval_component_get_type</a> == OVAL_COMPONENT_LITERAL - Literal component<ul>
<li>Oval_literal evaluates to a literal value.</li>
</ul>
</li>
<li>If <a class="el" href="group__OVALDEF.html#ga64787d54cceb698983d096ff7574817f">oval_component_get_type</a> == OVAL_COMPONENT_OBJECTREF - Object component<ul>
<li>Oval_component_object binds an Oval_object. During evaluation of the component, the object is queried and the resultant item stream is transformed to provide the Oval_value stream that constitutes the evaluation result of this component. The item stream transformation consists of using the component object_field attribute to identify the name of a specific item field whose value is appended to the component value stream.</li>
</ul>
</li>
<li>If <a class="el" href="group__OVALDEF.html#ga64787d54cceb698983d096ff7574817f">oval_component_get_type</a> == OVAL_COMPONENT_VARREF - Variable component<ul>
<li>Oval_variable_component binds an Oval_variable. The component evaluation is the result of the evaluation of the bound Oval_variable. </li>
</ul>
</li>
</ul>
</div><hr/>The documentation for this struct was generated from the following files:<ul>
<li><a class="el" href="oval__component_8c.html">oval_component.c</a></li>
<li><a class="el" href="oval__definitions_8h_source.html">oval_definitions.h</a></li>
</ul>
</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.1.1
</small></address>
</body>
</html>