Sophie

Sophie

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

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: cpelang_priv.h Source File</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><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_adb51d477b117837783049eccd784b4d.html">CPE</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">cpelang_priv.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="cpelang__priv_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * Copyright 2009 Red Hat Inc., Durham, North Carolina.</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * All Rights Reserved.</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * modify it under the terms of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * License as published by the Free Software Foundation; either</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * This library is distributed in the hope that it will be useful, </span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * Lesser General Public License for more details.</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * You should have received a copy of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> * License along with this library; if not, write to the Free Software </span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> * Authors:</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *      Maros Barabas &lt;mbarabas@redhat.com&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifndef CPELANG_PRIV_H_</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CPELANG_PRIV_H_</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &lt;libxml/xmlreader.h&gt;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;libxml/xmlwriter.h&gt;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="cpe__lang_8h.html" title="Interface to Common Platform Enumeration (CPE) Language.">cpe_lang.h</a>&quot;</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;../common/util.h&quot;</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &quot;../common/list.h&quot;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;../common/elements.h&quot;</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;../common/public/oscap.h&quot;</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;OSCAP_HIDDEN_START;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; <span class="comment">/* @endcond */</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="structcpe__testexpr.html">   52</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structcpe__testexpr.html" title="CPE language boolean expression.">cpe_testexpr</a> {</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="structcpe__testexpr.html#a818142dd3fd60970b290efb12082705b">   53</a></span>&#160;        <a class="code" href="group__cpelang.html#gacbb2c8c91d3bb516182bb64c6d8f7d82" title="CPE language operators.">cpe_lang_oper_t</a> <a class="code" href="structcpe__testexpr.html#a818142dd3fd60970b290efb12082705b" title="operator">oper</a>;   </div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        <span class="keyword">union </span>{</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="structcpe__testexpr.html#adaae01bbfd90628408feba7c3a8c40d0">   55</a></span>&#160;                <span class="keyword">struct </span><a class="code" href="structoscap__list.html">oscap_list</a> *<a class="code" href="structcpe__testexpr.html#adaae01bbfd90628408feba7c3a8c40d0" title="array of subexpressions for operators">expr</a>;        </div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="structcpe__testexpr.html#ae625f88da01a916a7bfe89fd3db432ea">   56</a></span>&#160;                <span class="keyword">struct </span><a class="code" href="structcpe__name.html" title="Structure holding Common Platform Enumeration URI data.">cpe_name</a> *<a class="code" href="structcpe__testexpr.html#ae625f88da01a916a7bfe89fd3db432ea" title="CPE for match operation.">cpe</a>;   </div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;                <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;                        <span class="keywordtype">char</span>* system;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;                        <span class="keywordtype">char</span>* href;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;                        <span class="keywordtype">char</span>* id;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;                } check;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        } <a class="code" href="structcpe__testexpr.html#a3f2083e57399f8c5e208d9f669949a36" title="operation metadata">meta</a>;                 </div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;};</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="keyword">struct </span><a class="code" href="structcpe__lang__model.html" title="CPE platform specification.">cpe_lang_model</a>;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="keyword">struct </span><a class="code" href="structcpe__platform.html" title="Single platform representation in CPE language.">cpe_platform</a>;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="keyword">struct </span><a class="code" href="structcpe__lang__model.html" title="CPE platform specification.">cpe_lang_model</a> *<a class="code" href="cpelang__priv_8c.html#a80a131dea3af7c12b755fddd5a206408" title="Function for parsing XML CPE language file.">cpe_lang_model_parse_xml</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *file);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="keyword">struct </span><a class="code" href="structcpe__lang__model.html" title="CPE platform specification.">cpe_lang_model</a> *<a class="code" href="cpelang__priv_8c.html#a3c484d6ecd18e85b6122c738188d46ad" title="Parse function for CPE Lang model.">cpe_lang_model_parse</a>(xmlTextReaderPtr reader);</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="keyword">struct </span><a class="code" href="structcpe__platform.html" title="Single platform representation in CPE language.">cpe_platform</a> *<a class="code" href="cpelang__priv_8c.html#a6fb4d06de2679483fe7f9676ef4ca336" title="Parse CPE platform structure.">cpe_platform_parse</a>(xmlTextReaderPtr reader);</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="keyword">struct </span><a class="code" href="structcpe__testexpr.html" title="CPE language boolean expression.">cpe_testexpr</a> *<a class="code" href="cpelang__priv_8c.html#a04d72f16ebb537055bd3057d86b9854d" title="Parse CPE test expression structure.">cpe_testexpr_parse</a>(xmlTextReaderPtr reader);</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="keywordtype">void</span> <a class="code" href="cpelang__priv_8c.html#aaf6f8cb2b03ef9399acc1401c287fa14" title="Function for export CPE language model to XML.">cpe_lang_model_export_xml</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcpe__lang__model.html" title="CPE platform specification.">cpe_lang_model</a> *spec, <span class="keyword">const</span> <span class="keywordtype">char</span> *file);</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="keywordtype">void</span> <a class="code" href="cpelang__priv_8c.html#a58fe65219194db588c1f35c8bfa473b1" title="Function for export CPE language top element.">cpe_lang_export</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcpe__lang__model.html" title="CPE platform specification.">cpe_lang_model</a> *spec, xmlTextWriterPtr writer);</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="keywordtype">void</span> <a class="code" href="cpelang__priv_8c.html#a2c4f5925542dce93acf237ad43bb665d" title="Function for export CPE platform element.">cpe_platform_export</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcpe__platform.html" title="Single platform representation in CPE language.">cpe_platform</a> *platform, xmlTextWriterPtr writer);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="keywordtype">void</span> <a class="code" href="cpelang__priv_8c.html#a2c65e7cafcf564da776aa49795063ac7" title="Function for export CPE test expression element.">cpe_testexpr_export</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structcpe__testexpr.html" title="CPE language boolean expression.">cpe_testexpr</a> *<a class="code" href="structcpe__testexpr.html#adaae01bbfd90628408feba7c3a8c40d0" title="array of subexpressions for operators">expr</a>, xmlTextWriterPtr writer);</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;OSCAP_HIDDEN_END;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160; <span class="comment">/* @endcond */</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></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>