Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > d9faa203c2b0b6fbb179d93daaea81b7 > files > 1711

libdtn-devel-2.6.0-1mdv2009.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>DTN Reference Implementation: dtn_errno.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
<h1>dtn_errno.h</h1><a href="dtn__errno_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 2005-2006 Intel Corporation</span>
<a name="l00003"></a>00003 <span class="comment"> * </span>
<a name="l00004"></a>00004 <span class="comment"> *    Licensed under the Apache License, Version 2.0 (the "License");</span>
<a name="l00005"></a>00005 <span class="comment"> *    you may not use this file except in compliance with the License.</span>
<a name="l00006"></a>00006 <span class="comment"> *    You may obtain a copy of the License at</span>
<a name="l00007"></a>00007 <span class="comment"> * </span>
<a name="l00008"></a>00008 <span class="comment"> *        http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00009"></a>00009 <span class="comment"> * </span>
<a name="l00010"></a>00010 <span class="comment"> *    Unless required by applicable law or agreed to in writing, software</span>
<a name="l00011"></a>00011 <span class="comment"> *    distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00012"></a>00012 <span class="comment"> *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00013"></a>00013 <span class="comment"> *    See the License for the specific language governing permissions and</span>
<a name="l00014"></a>00014 <span class="comment"> *    limitations under the License.</span>
<a name="l00015"></a>00015 <span class="comment"> */</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef DTN_ERRNO_H</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define DTN_ERRNO_H</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#ifdef  __cplusplus</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
<a name="l00022"></a>00022 <span class="preprocessor">#endif</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span>
<a name="l00027"></a><a class="code" href="dtn__errno_8h.html#3723251cb5d056b6ace3e22561da1e11">00027</a> <span class="preprocessor">#define DTN_SUCCESS     0               </span><span class="comment">/* ok */</span>
<a name="l00028"></a><a class="code" href="dtn__errno_8h.html#a8032a87bccfd732a7e9324732a994ce">00028</a> <span class="preprocessor">#define DTN_ERRBASE     128             </span><span class="comment">/* Base error code */</span>
<a name="l00029"></a><a class="code" href="dtn__errno_8h.html#8db3fceccf291cdfc226b9bea2316346">00029</a> <span class="preprocessor">#define DTN_EINVAL      (DTN_ERRBASE+1) </span><span class="comment">/* invalid argument */</span>
<a name="l00030"></a><a class="code" href="dtn__errno_8h.html#2121e3f0d822e257e8d2e843a3524ef0">00030</a> <span class="preprocessor">#define DTN_EXDR        (DTN_ERRBASE+2) </span><span class="comment">/* error in xdr routines */</span>
<a name="l00031"></a><a class="code" href="dtn__errno_8h.html#b4ae5bb2a6256b2dac33962e688584de">00031</a> <span class="preprocessor">#define DTN_ECOMM       (DTN_ERRBASE+3) </span><span class="comment">/* error in ipc communication */</span>
<a name="l00032"></a><a class="code" href="dtn__errno_8h.html#90d533511e71475815cbbebd2ff74e7d">00032</a> <span class="preprocessor">#define DTN_ECONNECT    (DTN_ERRBASE+4) </span><span class="comment">/* error connecting to server */</span>
<a name="l00033"></a><a class="code" href="dtn__errno_8h.html#35b24187121ca003154518bba0a35e75">00033</a> <span class="preprocessor">#define DTN_ETIMEOUT    (DTN_ERRBASE+5) </span><span class="comment">/* operation timed out */</span>
<a name="l00034"></a><a class="code" href="dtn__errno_8h.html#dfbc45377fa7c17b849e79a015975a79">00034</a> <span class="preprocessor">#define DTN_ESIZE       (DTN_ERRBASE+6) </span><span class="comment">/* payload / eid too large */</span>
<a name="l00035"></a><a class="code" href="dtn__errno_8h.html#58a067b3ff3eba74fc55d6d7e7866d5a">00035</a> <span class="preprocessor">#define DTN_ENOTFOUND   (DTN_ERRBASE+7) </span><span class="comment">/* not found (e.g. reg) */</span>
<a name="l00036"></a><a class="code" href="dtn__errno_8h.html#951a074861ce082706b57c300413042b">00036</a> <span class="preprocessor">#define DTN_EINTERNAL   (DTN_ERRBASE+8) </span><span class="comment">/* misc. internal error */</span>
<a name="l00037"></a><a class="code" href="dtn__errno_8h.html#a2e25b980431aabe8f0c208ae97bf295">00037</a> <span class="preprocessor">#define DTN_EINPOLL     (DTN_ERRBASE+9) </span><span class="comment">/* illegal op. called after dtn_poll */</span>
<a name="l00038"></a><a class="code" href="dtn__errno_8h.html#a76777ac1a395f962da37788ced6fc47">00038</a> <span class="preprocessor">#define DTN_EBUSY       (DTN_ERRBASE+10) </span><span class="comment">/* registration already in use */</span>
<a name="l00039"></a><a class="code" href="dtn__errno_8h.html#6841c2297bba5c4fd8b69ac2e4b1975d">00039</a> <span class="preprocessor">#define DTN_EVERSION    (DTN_ERRBASE+11) </span><span class="comment">/* ipc version mismatch */</span>
<a name="l00040"></a><a class="code" href="dtn__errno_8h.html#821d437975e7fec44cb53b89adf7e80a">00040</a> <span class="preprocessor">#define DTN_EMSGTYPE    (DTN_ERRBASE+12) </span><span class="comment">/* unknown message type */</span>
<a name="l00041"></a><a class="code" href="dtn__errno_8h.html#03f2f10c4e3ceeaa48f397c0d42b2b1a">00041</a> <span class="preprocessor">#define DTN_ENOSPACE    (DTN_ERRBASE+13) </span><span class="comment">/* no storage space */</span>
<a name="l00042"></a><a class="code" href="dtn__errno_8h.html#1cd5eb95c18872e2914ba983eba5029c">00042</a> <span class="preprocessor">#define DTN_ERRMAX 255</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span>
<a name="l00047"></a>00047 <span class="keywordtype">char</span>* <a class="code" href="dtn__errno_8c.html#1b23d549407e59e3ce2a1c32e3885b1d" title="Get a string value associated with the dtn error code.">dtn_strerror</a>(<span class="keywordtype">int</span> err);
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 <span class="preprocessor">#ifdef  __cplusplus</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span>}
<a name="l00051"></a>00051 <span class="preprocessor">#endif</span>
<a name="l00052"></a>00052 <span class="preprocessor"></span>
<a name="l00053"></a>00053 <span class="preprocessor">#endif </span><span class="comment">/* DTN_ERRNO_H */</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:44 2008 for DTN Reference Implementation by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>