Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 537b4767ca71616a4bccbb57df0c2eb6 > files > 119

openscap-devel-0.7.4-1.fc16.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"/>
<title>Open SCAP Library: /home/pvrabec/project/openscap/openscap-0.7.4/src/common/public/error.h Source File</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.7.4 -->
<div id="top">
<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>
  <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 class="header">
  <div class="headertitle">
<div class="title">/home/pvrabec/project/openscap/openscap-0.7.4/src/common/public/error.h</div>  </div>
</div>
<div class="contents">
<a href="error_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright 2009 Red Hat Inc., Durham, North Carolina.</span>
<a name="l00003"></a>00003 <span class="comment"> * All Rights Reserved.</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00006"></a>00006 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span>
<a name="l00007"></a>00007 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00008"></a>00008 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
<a name="l00011"></a>00011 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00012"></a>00012 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00013"></a>00013 <span class="comment"> * Lesser General Public License for more details.</span>
<a name="l00014"></a>00014 <span class="comment"> *</span>
<a name="l00015"></a>00015 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span>
<a name="l00016"></a>00016 <span class="comment"> * License along with this library; if not, write to the Free Software</span>
<a name="l00017"></a>00017 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span>
<a name="l00018"></a>00018 <span class="comment"> */</span>
<a name="l00019"></a>00019 
<a name="l00041"></a>00041 <span class="preprocessor">#pragma once</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCAP_ERROR_H</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#define OSCAP_ERROR_H</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span>
<a name="l00045"></a>00045 <span class="preprocessor">#include &lt;stdint.h&gt;</span>
<a name="l00046"></a>00046 <span class="preprocessor">#include &lt;stdbool.h&gt;</span>
<a name="l00047"></a>00047 
<a name="l00049"></a><a class="code" href="group__ERRORS.html#gaaddebbc97e12a87b46b37d236660deb9">00049</a> <span class="keyword">typedef</span> uint16_t <a class="code" href="group__ERRORS.html#gaaddebbc97e12a87b46b37d236660deb9" title="Error family type.">oscap_errfamily_t</a>;
<a name="l00051"></a><a class="code" href="group__ERRORS.html#ga200ca968e978cd3f3020f3eaa1e4d18b">00051</a> <span class="keyword">typedef</span> uint16_t <a class="code" href="group__ERRORS.html#ga200ca968e978cd3f3020f3eaa1e4d18b" title="Error code type.">oscap_errcode_t</a>;
<a name="l00052"></a>00052 
<a name="l00057"></a><a class="code" href="group__ERRORS.html#ga2a4b222f295b167554e471b040639383">00057</a> <span class="preprocessor">#define OSCAP_EFAMILY_NONE     0        </span>
<a name="l00058"></a><a class="code" href="group__ERRORS.html#gacc53d2370c80b6ed73177e50cadd9dff">00058</a> <span class="preprocessor">#define OSCAP_EFAMILY_GLIBC    1        </span>
<a name="l00059"></a><a class="code" href="group__ERRORS.html#ga5c221a396c86b253134dcf2cdd8fffc6">00059</a> <span class="preprocessor">#define OSCAP_EFAMILY_XML      2        </span>
<a name="l00060"></a><a class="code" href="group__ERRORS.html#ga063ef25dbff56281ad8b88bd3e5637a2">00060</a> <span class="preprocessor">#define OSCAP_EFAMILY_OSCAP    3        </span>
<a name="l00061"></a><a class="code" href="group__ERRORS.html#gac0e81243524424435f8099c768fd3ab3">00061</a> <span class="preprocessor">#define OSCAP_EFAMILY_OVAL     4        </span>
<a name="l00062"></a><a class="code" href="group__ERRORS.html#gaef8f195999b3b733a1dc88b7f9bc8800">00062</a> <span class="preprocessor">#define OSCAP_EFAMILY_XCCDF    5        </span>
<a name="l00069"></a><a class="code" href="group__ERRORS.html#gaae500549b229e017c725e9966cd2a2c4">00069</a> <span class="preprocessor">#define OSCAP_ENONE         0   </span>
<a name="l00070"></a><a class="code" href="group__ERRORS.html#ga7f49cf2c3395080d9e20eb4929f1e4c1">00070</a> <span class="preprocessor">#define OSCAP_EXMLELEM      1   </span>
<a name="l00071"></a><a class="code" href="group__ERRORS.html#gaa703884800f0698cec4b4c962c2dbceb">00071</a> <span class="preprocessor">#define OSCAP_EINVARG       2   </span>
<a name="l00072"></a><a class="code" href="group__ERRORS.html#gaaa2f59e51ab637af202c9147f5b61acc">00072</a> <span class="preprocessor">#define OSCAP_ENOTIMPL      254 </span>
<a name="l00079"></a>00079 <span class="preprocessor">#define OVAL_EOVALINT        1</span>
<a name="l00080"></a>00080 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_EPROBE          253</span>
<a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_EPROBEINVAL     254</span>
<a name="l00082"></a>00082 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_EPROBECONTEXT   255</span>
<a name="l00083"></a>00083 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_EPROBEINIT      256</span>
<a name="l00084"></a>00084 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_EPROBECONN      257</span>
<a name="l00085"></a>00085 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_EPROBENOTSUPP   258</span>
<a name="l00086"></a>00086 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_EPROBEOBJINVAL  259</span>
<a name="l00087"></a>00087 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_EPROBEITEMINVAL 260</span>
<a name="l00088"></a>00088 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_EPROBENODATA    261</span>
<a name="l00089"></a>00089 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_EPROBECLOSE     262</span>
<a name="l00090"></a>00090 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_EPROBESEND      263</span>
<a name="l00091"></a>00091 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_EPROBERECV      264</span>
<a name="l00092"></a>00092 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_EPROBEOBJTRANS  265</span>
<a name="l00093"></a>00093 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_EPROBEITEMTRANS 266</span>
<a name="l00094"></a>00094 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_EPROBEUNKNOWN   511</span>
<a name="l00095"></a>00095 <span class="preprocessor"></span>
<a name="l00101"></a><a class="code" href="group__ERRORS.html#gaf38d689e40599e73b994ae58bdbcb7fe">00101</a> <span class="preprocessor">#define XCCDF_EREFIDCONFLICT  1   </span>
<a name="l00102"></a><a class="code" href="group__ERRORS.html#gaebbbb00f85f735c289bfaf8ebc57d991">00102</a> <span class="preprocessor">#define XCCDF_EREFGROUPATTR   2   </span>
<a name="l00103"></a><a class="code" href="group__ERRORS.html#gac29a7f4c454c9fa5a983828198685862">00103</a> <span class="preprocessor">#define XCCDF_EUNKNOWNTYPE    3   </span>
<a name="l00104"></a><a class="code" href="group__ERRORS.html#ga8fedddb59a3b9744a0532e2f5ef38917">00104</a> <span class="preprocessor">#define XCCDF_EUNKNOWNCB      4   </span>
<a name="l00105"></a><a class="code" href="group__ERRORS.html#ga69e64c67bfd9a55d3c962c8dca2b9418">00105</a> <span class="preprocessor">#define XCCDF_EBADID          5   </span>
<a name="l00106"></a><a class="code" href="group__ERRORS.html#ga27539b9eeed0ceb15b93a8037e7280d7">00106</a> <span class="preprocessor">#define XCCDF_EVALUE          6   </span>
<a name="l00113"></a>00113 <span class="preprocessor">void oscap_clearerr(void);</span>
<a name="l00114"></a>00114 <span class="preprocessor"></span>
<a name="l00118"></a>00118 <span class="keywordtype">bool</span> <a class="code" href="group__ERRORS.html#ga6250756dc15760ad37288410b1117433" title="Check for an error.">oscap_err</a>(<span class="keywordtype">void</span>);
<a name="l00119"></a>00119 
<a name="l00123"></a>00123 <a class="code" href="group__ERRORS.html#gaaddebbc97e12a87b46b37d236660deb9" title="Error family type.">oscap_errfamily_t</a> <a class="code" href="group__ERRORS.html#gaf5a130197519ab79f452a592c327c89b" title="Get last error family.">oscap_err_family</a>(<span class="keywordtype">void</span>);
<a name="l00124"></a>00124 
<a name="l00128"></a>00128 <a class="code" href="group__ERRORS.html#ga200ca968e978cd3f3020f3eaa1e4d18b" title="Error code type.">oscap_errcode_t</a> <a class="code" href="group__ERRORS.html#ga7a04a1e9253a5097bf25c1520ab75c58" title="Get last error code.">oscap_err_code</a>(<span class="keywordtype">void</span>);
<a name="l00129"></a>00129 
<a name="l00133"></a>00133 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__ERRORS.html#ga40156d16cfcddd2596f56b9fcc5f752f" title="Get last error description.">oscap_err_desc</a>(<span class="keywordtype">void</span>);
<a name="l00134"></a>00134 
<a name="l00135"></a>00135 
<a name="l00136"></a>00136 <span class="preprocessor">#endif                          </span><span class="comment">/* OSCAP_ERROR_H */</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Mon Jul 25 2011 for Open SCAP Library by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>