Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > e0236b39c613e86bcee76bad717809a5 > files > 91

libapr-devel-1.4.6-0.1mdv2010.2.i586.rpm

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!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>Apache Portable Runtime: apr_errno.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>apr_errno.h</h1><a href="apr__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">/* Licensed to the Apache Software Foundation (ASF) under one or more</span>
<a name="l00002"></a>00002 <span class="comment"> * contributor license agreements.  See the NOTICE file distributed with</span>
<a name="l00003"></a>00003 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
<a name="l00004"></a>00004 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
<a name="l00005"></a>00005 <span class="comment"> * (the &quot;License&quot;); you may not use this file except in compliance with</span>
<a name="l00006"></a>00006 <span class="comment"> * the License.  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 &quot;AS IS&quot; 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 APR_ERRNO_H</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define APR_ERRNO_H</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00020"></a>00020 <span class="comment">/**</span>
<a name="l00021"></a>00021 <span class="comment"> * @file apr_errno.h</span>
<a name="l00022"></a>00022 <span class="comment"> * @brief APR Error Codes</span>
<a name="l00023"></a>00023 <span class="comment"> */</span>
<a name="l00024"></a>00024 
<a name="l00025"></a>00025 <span class="preprocessor">#include &quot;<a class="code" href="apr_8h.html" title="APR Platform Definitions.">apr.h</a>&quot;</span>
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <span class="preprocessor">#if APR_HAVE_ERRNO_H</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#include &lt;errno.h&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#endif</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span>
<a name="l00031"></a>00031 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00033"></a>00033 <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span>
<a name="l00034"></a>00034 <span class="comment"></span>
<a name="l00035"></a>00035 <span class="comment">/**</span>
<a name="l00036"></a>00036 <span class="comment"> * @defgroup apr_errno Error Codes</span>
<a name="l00037"></a>00037 <span class="comment"> * @ingroup APR</span>
<a name="l00038"></a>00038 <span class="comment"> * @{</span>
<a name="l00039"></a>00039 <span class="comment"> */</span>
<a name="l00040"></a>00040 <span class="comment"></span>
<a name="l00041"></a>00041 <span class="comment">/**</span>
<a name="l00042"></a>00042 <span class="comment"> * Type for specifying an error or status code.</span>
<a name="l00043"></a>00043 <span class="comment"> */</span>
<a name="l00044"></a><a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">00044</a> <span class="keyword">typedef</span> <span class="keywordtype">int</span> <a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>;
<a name="l00045"></a>00045 <span class="comment"></span>
<a name="l00046"></a>00046 <span class="comment">/**</span>
<a name="l00047"></a>00047 <span class="comment"> * Return a human readable string describing the specified error.</span>
<a name="l00048"></a>00048 <span class="comment"> * @param statcode The error code the get a string for.</span>
<a name="l00049"></a>00049 <span class="comment"> * @param buf A buffer to hold the error string.</span>
<a name="l00050"></a>00050 <span class="comment"> * @param bufsize Size of the buffer to hold the string.</span>
<a name="l00051"></a>00051 <span class="comment"> */</span>
<a name="l00052"></a>00052 <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<span class="keywordtype">char</span> *) <a class="code" href="group__apr__errno.html#gaf2edf92be162ab8fb1bbc6f22856a131">apr_strerror</a>(apr_status_t statcode, <span class="keywordtype">char</span> *buf,
<a name="l00053"></a>00053                                  apr_size_t bufsize);
<a name="l00054"></a>00054 
<a name="l00055"></a>00055 <span class="preprocessor">#if defined(DOXYGEN)</span>
<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00057"></a>00057 <span class="comment"> * @def APR_FROM_OS_ERROR(os_err_type syserr)</span>
<a name="l00058"></a>00058 <span class="comment"> * Fold a platform specific error into an apr_status_t code.</span>
<a name="l00059"></a>00059 <span class="comment"> * @return apr_status_t</span>
<a name="l00060"></a>00060 <span class="comment"> * @param e The platform os error code.</span>
<a name="l00061"></a>00061 <span class="comment"> * @warning  macro implementation; the syserr argument may be evaluated</span>
<a name="l00062"></a>00062 <span class="comment"> *      multiple times.</span>
<a name="l00063"></a>00063 <span class="comment"> */</span>
<a name="l00064"></a>00064 <span class="preprocessor">#define APR_FROM_OS_ERROR(e) (e == 0 ? APR_SUCCESS : e + APR_OS_START_SYSERR)</span>
<a name="l00065"></a>00065 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00066"></a>00066 <span class="comment">/**</span>
<a name="l00067"></a>00067 <span class="comment"> * @def APR_TO_OS_ERROR(apr_status_t statcode)</span>
<a name="l00068"></a>00068 <span class="comment"> * @return os_err_type</span>
<a name="l00069"></a>00069 <span class="comment"> * Fold an apr_status_t code back to the native platform defined error.</span>
<a name="l00070"></a>00070 <span class="comment"> * @param e The apr_status_t folded platform os error code.</span>
<a name="l00071"></a>00071 <span class="comment"> * @warning  macro implementation; the statcode argument may be evaluated</span>
<a name="l00072"></a>00072 <span class="comment"> *      multiple times.  If the statcode was not created by apr_get_os_error</span>
<a name="l00073"></a>00073 <span class="comment"> *      or APR_FROM_OS_ERROR, the results are undefined.</span>
<a name="l00074"></a>00074 <span class="comment"> */</span>
<a name="l00075"></a>00075 <span class="preprocessor">#define APR_TO_OS_ERROR(e) (e == 0 ? APR_SUCCESS : e - APR_OS_START_SYSERR)</span>
<a name="l00076"></a>00076 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00077"></a>00077 <span class="comment">/** @def apr_get_os_error()</span>
<a name="l00078"></a>00078 <span class="comment"> * @return apr_status_t the last platform error, folded into apr_status_t, on most platforms</span>
<a name="l00079"></a>00079 <span class="comment"> * @remark This retrieves errno, or calls a GetLastError() style function, and</span>
<a name="l00080"></a>00080 <span class="comment"> *      folds it with APR_FROM_OS_ERROR.  Some platforms (such as OS2) have no</span>
<a name="l00081"></a>00081 <span class="comment"> *      such mechanism, so this call may be unsupported.  Do NOT use this</span>
<a name="l00082"></a>00082 <span class="comment"> *      call for socket errors from socket, send, recv etc!</span>
<a name="l00083"></a>00083 <span class="comment"> */</span>
<a name="l00084"></a>00084 <span class="comment"></span>
<a name="l00085"></a>00085 <span class="comment">/** @def apr_set_os_error(e)</span>
<a name="l00086"></a>00086 <span class="comment"> * Reset the last platform error, unfolded from an apr_status_t, on some platforms</span>
<a name="l00087"></a>00087 <span class="comment"> * @param e The OS error folded in a prior call to APR_FROM_OS_ERROR()</span>
<a name="l00088"></a>00088 <span class="comment"> * @warning This is a macro implementation; the statcode argument may be evaluated</span>
<a name="l00089"></a>00089 <span class="comment"> *      multiple times.  If the statcode was not created by apr_get_os_error</span>
<a name="l00090"></a>00090 <span class="comment"> *      or APR_FROM_OS_ERROR, the results are undefined.  This macro sets</span>
<a name="l00091"></a>00091 <span class="comment"> *      errno, or calls a SetLastError() style function, unfolding statcode</span>
<a name="l00092"></a>00092 <span class="comment"> *      with APR_TO_OS_ERROR.  Some platforms (such as OS2) have no such</span>
<a name="l00093"></a>00093 <span class="comment"> *      mechanism, so this call may be unsupported.</span>
<a name="l00094"></a>00094 <span class="comment"> */</span>
<a name="l00095"></a>00095 <span class="comment"></span>
<a name="l00096"></a>00096 <span class="comment">/** @def apr_get_netos_error()</span>
<a name="l00097"></a>00097 <span class="comment"> * Return the last socket error, folded into apr_status_t, on all platforms</span>
<a name="l00098"></a>00098 <span class="comment"> * @remark This retrieves errno or calls a GetLastSocketError() style function,</span>
<a name="l00099"></a>00099 <span class="comment"> *      and folds it with APR_FROM_OS_ERROR.</span>
<a name="l00100"></a>00100 <span class="comment"> */</span>
<a name="l00101"></a>00101 <span class="comment"></span>
<a name="l00102"></a>00102 <span class="comment">/** @def apr_set_netos_error(e)</span>
<a name="l00103"></a>00103 <span class="comment"> * Reset the last socket error, unfolded from an apr_status_t</span>
<a name="l00104"></a>00104 <span class="comment"> * @param e The socket error folded in a prior call to APR_FROM_OS_ERROR()</span>
<a name="l00105"></a>00105 <span class="comment"> * @warning This is a macro implementation; the statcode argument may be evaluated</span>
<a name="l00106"></a>00106 <span class="comment"> *      multiple times.  If the statcode was not created by apr_get_os_error</span>
<a name="l00107"></a>00107 <span class="comment"> *      or APR_FROM_OS_ERROR, the results are undefined.  This macro sets</span>
<a name="l00108"></a>00108 <span class="comment"> *      errno, or calls a WSASetLastError() style function, unfolding</span>
<a name="l00109"></a>00109 <span class="comment"> *      socketcode with APR_TO_OS_ERROR.</span>
<a name="l00110"></a>00110 <span class="comment"> */</span>
<a name="l00111"></a>00111 
<a name="l00112"></a>00112 <span class="preprocessor">#endif </span><span class="comment">/* defined(DOXYGEN) */</span>
<a name="l00113"></a>00113 <span class="comment"></span>
<a name="l00114"></a>00114 <span class="comment">/**</span>
<a name="l00115"></a>00115 <span class="comment"> * APR_OS_START_ERROR is where the APR specific error values start.</span>
<a name="l00116"></a>00116 <span class="comment"> */</span>
<a name="l00117"></a><a class="code" href="group__apr__errno.html#ga191894048b7bd0cca3cf0bdff1eb695b">00117</a> <span class="preprocessor">#define APR_OS_START_ERROR     20000</span>
<a name="l00118"></a>00118 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00119"></a>00119 <span class="comment"> * APR_OS_ERRSPACE_SIZE is the maximum number of errors you can fit</span>
<a name="l00120"></a>00120 <span class="comment"> *    into one of the error/status ranges below -- except for</span>
<a name="l00121"></a>00121 <span class="comment"> *    APR_OS_START_USERERR, which see.</span>
<a name="l00122"></a>00122 <span class="comment"> */</span>
<a name="l00123"></a><a class="code" href="group__apr__errno.html#gadb8d97e6836ccdc57b43b6119a5acccf">00123</a> <span class="preprocessor">#define APR_OS_ERRSPACE_SIZE 50000</span>
<a name="l00124"></a>00124 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00125"></a>00125 <span class="comment"> * APR_UTIL_ERRSPACE_SIZE is the size of the space that is reserved for</span>
<a name="l00126"></a>00126 <span class="comment"> * use within apr-util. This space is reserved above that used by APR</span>
<a name="l00127"></a>00127 <span class="comment"> * internally.</span>
<a name="l00128"></a>00128 <span class="comment"> * @note This number MUST be smaller than APR_OS_ERRSPACE_SIZE by a</span>
<a name="l00129"></a>00129 <span class="comment"> *       large enough amount that APR has sufficient room for it&#39;s</span>
<a name="l00130"></a>00130 <span class="comment"> *       codes.</span>
<a name="l00131"></a>00131 <span class="comment"> */</span>
<a name="l00132"></a><a class="code" href="group__apr__errno.html#gaef5e79630739f24d1512d0d044c2bae7">00132</a> <span class="preprocessor">#define APR_UTIL_ERRSPACE_SIZE 20000</span>
<a name="l00133"></a>00133 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00134"></a>00134 <span class="comment"> * APR_OS_START_STATUS is where the APR specific status codes start.</span>
<a name="l00135"></a>00135 <span class="comment"> */</span>
<a name="l00136"></a><a class="code" href="group__apr__errno.html#ga450e1a5734732e092ddaa5b67414f69b">00136</a> <span class="preprocessor">#define APR_OS_START_STATUS    (APR_OS_START_ERROR + APR_OS_ERRSPACE_SIZE)</span>
<a name="l00137"></a>00137 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00138"></a>00138 <span class="comment"> * APR_UTIL_START_STATUS is where APR-Util starts defining it&#39;s</span>
<a name="l00139"></a>00139 <span class="comment"> * status codes.</span>
<a name="l00140"></a>00140 <span class="comment"> */</span>
<a name="l00141"></a><a class="code" href="group__apr__errno.html#gadf26297a72afa0ea224e7097fe59a1cd">00141</a> <span class="preprocessor">#define APR_UTIL_START_STATUS   (APR_OS_START_STATUS + \</span>
<a name="l00142"></a>00142 <span class="preprocessor">                           (APR_OS_ERRSPACE_SIZE - APR_UTIL_ERRSPACE_SIZE))</span>
<a name="l00143"></a>00143 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00144"></a>00144 <span class="comment"> * APR_OS_START_USERERR are reserved for applications that use APR that</span>
<a name="l00145"></a>00145 <span class="comment"> *     layer their own error codes along with APR&#39;s.  Note that the</span>
<a name="l00146"></a>00146 <span class="comment"> *     error immediately following this one is set ten times farther</span>
<a name="l00147"></a>00147 <span class="comment"> *     away than usual, so that users of apr have a lot of room in</span>
<a name="l00148"></a>00148 <span class="comment"> *     which to declare custom error codes.</span>
<a name="l00149"></a>00149 <span class="comment"> *</span>
<a name="l00150"></a>00150 <span class="comment"> * In general applications should try and create unique error codes. To try</span>
<a name="l00151"></a>00151 <span class="comment"> * and assist in finding suitable ranges of numbers to use, the following</span>
<a name="l00152"></a>00152 <span class="comment"> * ranges are known to be used by the listed applications. If your</span>
<a name="l00153"></a>00153 <span class="comment"> * application defines error codes please advise the range of numbers it</span>
<a name="l00154"></a>00154 <span class="comment"> * uses to dev@apr.apache.org for inclusion in this list.</span>
<a name="l00155"></a>00155 <span class="comment"> *</span>
<a name="l00156"></a>00156 <span class="comment"> * Ranges shown are in relation to APR_OS_START_USERERR</span>
<a name="l00157"></a>00157 <span class="comment"> *</span>
<a name="l00158"></a>00158 <span class="comment"> * Subversion - Defined ranges, of less than 100, at intervals of 5000</span>
<a name="l00159"></a>00159 <span class="comment"> *              starting at an offset of 5000, e.g.</span>
<a name="l00160"></a>00160 <span class="comment"> *               +5000 to 5100,  +10000 to 10100</span>
<a name="l00161"></a>00161 <span class="comment"> *</span>
<a name="l00162"></a>00162 <span class="comment"> * Apache HTTPD - +2000 to 2999</span>
<a name="l00163"></a>00163 <span class="comment"> */</span>
<a name="l00164"></a><a class="code" href="group__apr__errno.html#gacd35b2de1e38a1fa4717e38d5e153571">00164</a> <span class="preprocessor">#define APR_OS_START_USERERR    (APR_OS_START_STATUS + APR_OS_ERRSPACE_SIZE)</span>
<a name="l00165"></a>00165 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00166"></a>00166 <span class="comment"> * APR_OS_START_USEERR is obsolete, defined for compatibility only.</span>
<a name="l00167"></a>00167 <span class="comment"> * Use APR_OS_START_USERERR instead.</span>
<a name="l00168"></a>00168 <span class="comment"> */</span>
<a name="l00169"></a><a class="code" href="group__apr__errno.html#ga803b8badf8695bdfa4fbcf4d330371f0">00169</a> <span class="preprocessor">#define APR_OS_START_USEERR     APR_OS_START_USERERR</span>
<a name="l00170"></a>00170 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00171"></a>00171 <span class="comment"> * APR_OS_START_CANONERR is where APR versions of errno values are defined</span>
<a name="l00172"></a>00172 <span class="comment"> *     on systems which don&#39;t have the corresponding errno.</span>
<a name="l00173"></a>00173 <span class="comment"> */</span>
<a name="l00174"></a><a class="code" href="group__apr__errno.html#ga7bca957c11b80b31cb54b0d2cbe9e025">00174</a> <span class="preprocessor">#define APR_OS_START_CANONERR  (APR_OS_START_USERERR \</span>
<a name="l00175"></a>00175 <span class="preprocessor">                                 + (APR_OS_ERRSPACE_SIZE * 10))</span>
<a name="l00176"></a>00176 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00177"></a>00177 <span class="comment"> * APR_OS_START_EAIERR folds EAI_ error codes from getaddrinfo() into</span>
<a name="l00178"></a>00178 <span class="comment"> *     apr_status_t values.</span>
<a name="l00179"></a>00179 <span class="comment"> */</span>
<a name="l00180"></a><a class="code" href="group__apr__errno.html#ga2d04991cb57c67a896e22125a1f22b49">00180</a> <span class="preprocessor">#define APR_OS_START_EAIERR    (APR_OS_START_CANONERR + APR_OS_ERRSPACE_SIZE)</span>
<a name="l00181"></a>00181 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00182"></a>00182 <span class="comment"> * APR_OS_START_SYSERR folds platform-specific system error values into</span>
<a name="l00183"></a>00183 <span class="comment"> *     apr_status_t values.</span>
<a name="l00184"></a>00184 <span class="comment"> */</span>
<a name="l00185"></a><a class="code" href="group__apr__errno.html#gad70a5cad6862a9abcc254d35e827ac8b">00185</a> <span class="preprocessor">#define APR_OS_START_SYSERR    (APR_OS_START_EAIERR + APR_OS_ERRSPACE_SIZE)</span>
<a name="l00186"></a>00186 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00187"></a>00187 <span class="comment">/**</span>
<a name="l00188"></a>00188 <span class="comment"> * @defgroup APR_ERROR_map APR Error Space</span>
<a name="l00189"></a>00189 <span class="comment"> * &lt;PRE&gt;</span>
<a name="l00190"></a>00190 <span class="comment"> * The following attempts to show the relation of the various constants</span>
<a name="l00191"></a>00191 <span class="comment"> * used for mapping APR Status codes.</span>
<a name="l00192"></a>00192 <span class="comment"> *</span>
<a name="l00193"></a>00193 <span class="comment"> *       0</span>
<a name="l00194"></a>00194 <span class="comment"> *</span>
<a name="l00195"></a>00195 <span class="comment"> *  20,000     APR_OS_START_ERROR</span>
<a name="l00196"></a>00196 <span class="comment"> *</span>
<a name="l00197"></a>00197 <span class="comment"> *         + APR_OS_ERRSPACE_SIZE (50,000)</span>
<a name="l00198"></a>00198 <span class="comment"> *</span>
<a name="l00199"></a>00199 <span class="comment"> *  70,000      APR_OS_START_STATUS</span>
<a name="l00200"></a>00200 <span class="comment"> *</span>
<a name="l00201"></a>00201 <span class="comment"> *         + APR_OS_ERRSPACE_SIZE - APR_UTIL_ERRSPACE_SIZE (30,000)</span>
<a name="l00202"></a>00202 <span class="comment"> *</span>
<a name="l00203"></a>00203 <span class="comment"> * 100,000      APR_UTIL_START_STATUS</span>
<a name="l00204"></a>00204 <span class="comment"> *</span>
<a name="l00205"></a>00205 <span class="comment"> *         + APR_UTIL_ERRSPACE_SIZE (20,000)</span>
<a name="l00206"></a>00206 <span class="comment"> *</span>
<a name="l00207"></a>00207 <span class="comment"> * 120,000      APR_OS_START_USERERR</span>
<a name="l00208"></a>00208 <span class="comment"> *</span>
<a name="l00209"></a>00209 <span class="comment"> *         + 10 x APR_OS_ERRSPACE_SIZE (50,000 * 10)</span>
<a name="l00210"></a>00210 <span class="comment"> *</span>
<a name="l00211"></a>00211 <span class="comment"> * 620,000      APR_OS_START_CANONERR</span>
<a name="l00212"></a>00212 <span class="comment"> *</span>
<a name="l00213"></a>00213 <span class="comment"> *         + APR_OS_ERRSPACE_SIZE (50,000)</span>
<a name="l00214"></a>00214 <span class="comment"> *</span>
<a name="l00215"></a>00215 <span class="comment"> * 670,000      APR_OS_START_EAIERR</span>
<a name="l00216"></a>00216 <span class="comment"> *</span>
<a name="l00217"></a>00217 <span class="comment"> *         + APR_OS_ERRSPACE_SIZE (50,000)</span>
<a name="l00218"></a>00218 <span class="comment"> *</span>
<a name="l00219"></a>00219 <span class="comment"> * 720,000      APR_OS_START_SYSERR</span>
<a name="l00220"></a>00220 <span class="comment"> *</span>
<a name="l00221"></a>00221 <span class="comment"> * &lt;/PRE&gt;</span>
<a name="l00222"></a>00222 <span class="comment"> */</span>
<a name="l00223"></a>00223 <span class="comment"></span>
<a name="l00224"></a>00224 <span class="comment">/** no error. */</span>
<a name="l00225"></a><a class="code" href="group__apr__errno.html#ga9ee311b7bf1c691dc521d721339ee2a6">00225</a> <span class="preprocessor">#define APR_SUCCESS 0</span>
<a name="l00226"></a>00226 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00227"></a>00227 <span class="comment">/**</span>
<a name="l00228"></a>00228 <span class="comment"> * @defgroup APR_Error APR Error Values</span>
<a name="l00229"></a>00229 <span class="comment"> * &lt;PRE&gt;</span>
<a name="l00230"></a>00230 <span class="comment"> * &lt;b&gt;APR ERROR VALUES&lt;/b&gt;</span>
<a name="l00231"></a>00231 <span class="comment"> * APR_ENOSTAT      APR was unable to perform a stat on the file</span>
<a name="l00232"></a>00232 <span class="comment"> * APR_ENOPOOL      APR was not provided a pool with which to allocate memory</span>
<a name="l00233"></a>00233 <span class="comment"> * APR_EBADDATE     APR was given an invalid date</span>
<a name="l00234"></a>00234 <span class="comment"> * APR_EINVALSOCK   APR was given an invalid socket</span>
<a name="l00235"></a>00235 <span class="comment"> * APR_ENOPROC      APR was not given a process structure</span>
<a name="l00236"></a>00236 <span class="comment"> * APR_ENOTIME      APR was not given a time structure</span>
<a name="l00237"></a>00237 <span class="comment"> * APR_ENODIR       APR was not given a directory structure</span>
<a name="l00238"></a>00238 <span class="comment"> * APR_ENOLOCK      APR was not given a lock structure</span>
<a name="l00239"></a>00239 <span class="comment"> * APR_ENOPOLL      APR was not given a poll structure</span>
<a name="l00240"></a>00240 <span class="comment"> * APR_ENOSOCKET    APR was not given a socket</span>
<a name="l00241"></a>00241 <span class="comment"> * APR_ENOTHREAD    APR was not given a thread structure</span>
<a name="l00242"></a>00242 <span class="comment"> * APR_ENOTHDKEY    APR was not given a thread key structure</span>
<a name="l00243"></a>00243 <span class="comment"> * APR_ENOSHMAVAIL  There is no more shared memory available</span>
<a name="l00244"></a>00244 <span class="comment"> * APR_EDSOOPEN     APR was unable to open the dso object.  For more</span>
<a name="l00245"></a>00245 <span class="comment"> *                  information call apr_dso_error().</span>
<a name="l00246"></a>00246 <span class="comment"> * APR_EGENERAL     General failure (specific information not available)</span>
<a name="l00247"></a>00247 <span class="comment"> * APR_EBADIP       The specified IP address is invalid</span>
<a name="l00248"></a>00248 <span class="comment"> * APR_EBADMASK     The specified netmask is invalid</span>
<a name="l00249"></a>00249 <span class="comment"> * APR_ESYMNOTFOUND Could not find the requested symbol</span>
<a name="l00250"></a>00250 <span class="comment"> * APR_ENOTENOUGHENTROPY Not enough entropy to continue</span>
<a name="l00251"></a>00251 <span class="comment"> * &lt;/PRE&gt;</span>
<a name="l00252"></a>00252 <span class="comment"> *</span>
<a name="l00253"></a>00253 <span class="comment"> * &lt;PRE&gt;</span>
<a name="l00254"></a>00254 <span class="comment"> * &lt;b&gt;APR STATUS VALUES&lt;/b&gt;</span>
<a name="l00255"></a>00255 <span class="comment"> * APR_INCHILD        Program is currently executing in the child</span>
<a name="l00256"></a>00256 <span class="comment"> * APR_INPARENT       Program is currently executing in the parent</span>
<a name="l00257"></a>00257 <span class="comment"> * APR_DETACH         The thread is detached</span>
<a name="l00258"></a>00258 <span class="comment"> * APR_NOTDETACH      The thread is not detached</span>
<a name="l00259"></a>00259 <span class="comment"> * APR_CHILD_DONE     The child has finished executing</span>
<a name="l00260"></a>00260 <span class="comment"> * APR_CHILD_NOTDONE  The child has not finished executing</span>
<a name="l00261"></a>00261 <span class="comment"> * APR_TIMEUP         The operation did not finish before the timeout</span>
<a name="l00262"></a>00262 <span class="comment"> * APR_INCOMPLETE     The operation was incomplete although some processing</span>
<a name="l00263"></a>00263 <span class="comment"> *                    was performed and the results are partially valid</span>
<a name="l00264"></a>00264 <span class="comment"> * APR_BADCH          Getopt found an option not in the option string</span>
<a name="l00265"></a>00265 <span class="comment"> * APR_BADARG         Getopt found an option that is missing an argument</span>
<a name="l00266"></a>00266 <span class="comment"> *                    and an argument was specified in the option string</span>
<a name="l00267"></a>00267 <span class="comment"> * APR_EOF            APR has encountered the end of the file</span>
<a name="l00268"></a>00268 <span class="comment"> * APR_NOTFOUND       APR was unable to find the socket in the poll structure</span>
<a name="l00269"></a>00269 <span class="comment"> * APR_ANONYMOUS      APR is using anonymous shared memory</span>
<a name="l00270"></a>00270 <span class="comment"> * APR_FILEBASED      APR is using a file name as the key to the shared memory</span>
<a name="l00271"></a>00271 <span class="comment"> * APR_KEYBASED       APR is using a shared key as the key to the shared memory</span>
<a name="l00272"></a>00272 <span class="comment"> * APR_EINIT          Ininitalizer value.  If no option has been found, but</span>
<a name="l00273"></a>00273 <span class="comment"> *                    the status variable requires a value, this should be used</span>
<a name="l00274"></a>00274 <span class="comment"> * APR_ENOTIMPL       The APR function has not been implemented on this</span>
<a name="l00275"></a>00275 <span class="comment"> *                    platform, either because nobody has gotten to it yet,</span>
<a name="l00276"></a>00276 <span class="comment"> *                    or the function is impossible on this platform.</span>
<a name="l00277"></a>00277 <span class="comment"> * APR_EMISMATCH      Two passwords do not match.</span>
<a name="l00278"></a>00278 <span class="comment"> * APR_EABSOLUTE      The given path was absolute.</span>
<a name="l00279"></a>00279 <span class="comment"> * APR_ERELATIVE      The given path was relative.</span>
<a name="l00280"></a>00280 <span class="comment"> * APR_EINCOMPLETE    The given path was neither relative nor absolute.</span>
<a name="l00281"></a>00281 <span class="comment"> * APR_EABOVEROOT     The given path was above the root path.</span>
<a name="l00282"></a>00282 <span class="comment"> * APR_EBUSY          The given lock was busy.</span>
<a name="l00283"></a>00283 <span class="comment"> * APR_EPROC_UNKNOWN  The given process wasn&#39;t recognized by APR</span>
<a name="l00284"></a>00284 <span class="comment"> * &lt;/PRE&gt;</span>
<a name="l00285"></a>00285 <span class="comment"> * @{</span>
<a name="l00286"></a>00286 <span class="comment"> */</span><span class="comment"></span>
<a name="l00287"></a>00287 <span class="comment">/** @see APR_STATUS_IS_ENOSTAT */</span>
<a name="l00288"></a><a class="code" href="group___a_p_r___error.html#ga7995805cf68be1fb16f684c544e45fbe">00288</a> <span class="preprocessor">#define APR_ENOSTAT        (APR_OS_START_ERROR + 1)</span>
<a name="l00289"></a>00289 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_ENOPOOL */</span>
<a name="l00290"></a><a class="code" href="group___a_p_r___error.html#gaa8461873202e5e0b4c0ea261e05b07a9">00290</a> <span class="preprocessor">#define APR_ENOPOOL        (APR_OS_START_ERROR + 2)</span>
<a name="l00291"></a>00291 <span class="preprocessor"></span><span class="comment">/* empty slot: +3 */</span><span class="comment"></span>
<a name="l00292"></a>00292 <span class="comment">/** @see APR_STATUS_IS_EBADDATE */</span>
<a name="l00293"></a><a class="code" href="group___a_p_r___error.html#ga7911720c540a929cc08a2c25e606b56e">00293</a> <span class="preprocessor">#define APR_EBADDATE       (APR_OS_START_ERROR + 4)</span>
<a name="l00294"></a>00294 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_EINVALSOCK */</span>
<a name="l00295"></a><a class="code" href="group___a_p_r___error.html#ga548032b79ce0671d9986db0654858812">00295</a> <span class="preprocessor">#define APR_EINVALSOCK     (APR_OS_START_ERROR + 5)</span>
<a name="l00296"></a>00296 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_ENOPROC */</span>
<a name="l00297"></a><a class="code" href="group___a_p_r___error.html#ga18aa6d4ebaefda39478649c20bbeb9df">00297</a> <span class="preprocessor">#define APR_ENOPROC        (APR_OS_START_ERROR + 6)</span>
<a name="l00298"></a>00298 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_ENOTIME */</span>
<a name="l00299"></a><a class="code" href="group___a_p_r___error.html#ga7acfb436774a21ae93ff5c1b89e7c4f5">00299</a> <span class="preprocessor">#define APR_ENOTIME        (APR_OS_START_ERROR + 7)</span>
<a name="l00300"></a>00300 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_ENODIR */</span>
<a name="l00301"></a><a class="code" href="group___a_p_r___error.html#ga9a8077e85b6241c1e91b69548395fc09">00301</a> <span class="preprocessor">#define APR_ENODIR         (APR_OS_START_ERROR + 8)</span>
<a name="l00302"></a>00302 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_ENOLOCK */</span>
<a name="l00303"></a><a class="code" href="group___a_p_r___error.html#ga9c411624c42f7562a5c6c3461bdcb0ec">00303</a> <span class="preprocessor">#define APR_ENOLOCK        (APR_OS_START_ERROR + 9)</span>
<a name="l00304"></a>00304 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_ENOPOLL */</span>
<a name="l00305"></a><a class="code" href="group___a_p_r___error.html#gaeff8d4ed7bf9b99cbe62a3e7068e85b7">00305</a> <span class="preprocessor">#define APR_ENOPOLL        (APR_OS_START_ERROR + 10)</span>
<a name="l00306"></a>00306 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_ENOSOCKET */</span>
<a name="l00307"></a><a class="code" href="group___a_p_r___error.html#ga99e125e203a1d44f12bd88b41696716d">00307</a> <span class="preprocessor">#define APR_ENOSOCKET      (APR_OS_START_ERROR + 11)</span>
<a name="l00308"></a>00308 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_ENOTHREAD */</span>
<a name="l00309"></a><a class="code" href="group___a_p_r___error.html#ga7b43e1e075ff031e142aa809295ee441">00309</a> <span class="preprocessor">#define APR_ENOTHREAD      (APR_OS_START_ERROR + 12)</span>
<a name="l00310"></a>00310 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_ENOTHDKEY */</span>
<a name="l00311"></a><a class="code" href="group___a_p_r___error.html#ga29faf801fac647a14360e7493f7fd74e">00311</a> <span class="preprocessor">#define APR_ENOTHDKEY      (APR_OS_START_ERROR + 13)</span>
<a name="l00312"></a>00312 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_EGENERAL */</span>
<a name="l00313"></a><a class="code" href="group___a_p_r___error.html#ga18f5678bea0c2c704a2b6a186c9e158b">00313</a> <span class="preprocessor">#define APR_EGENERAL       (APR_OS_START_ERROR + 14)</span>
<a name="l00314"></a>00314 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_ENOSHMAVAIL */</span>
<a name="l00315"></a><a class="code" href="group___a_p_r___error.html#ga67516f4e87197490333480a8bbc78725">00315</a> <span class="preprocessor">#define APR_ENOSHMAVAIL    (APR_OS_START_ERROR + 15)</span>
<a name="l00316"></a>00316 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_EBADIP */</span>
<a name="l00317"></a><a class="code" href="group___a_p_r___error.html#ga96180fb8075ae0150bfed50c2e7f7a59">00317</a> <span class="preprocessor">#define APR_EBADIP         (APR_OS_START_ERROR + 16)</span>
<a name="l00318"></a>00318 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_EBADMASK */</span>
<a name="l00319"></a><a class="code" href="group___a_p_r___error.html#ga5249b5edc27466f6b60b3dfa1541ba31">00319</a> <span class="preprocessor">#define APR_EBADMASK       (APR_OS_START_ERROR + 17)</span>
<a name="l00320"></a>00320 <span class="preprocessor"></span><span class="comment">/* empty slot: +18 */</span><span class="comment"></span>
<a name="l00321"></a>00321 <span class="comment">/** @see APR_STATUS_IS_EDSOPEN */</span>
<a name="l00322"></a><a class="code" href="group___a_p_r___error.html#gac96fbde76282364e8c482d6f23bc61bb">00322</a> <span class="preprocessor">#define APR_EDSOOPEN       (APR_OS_START_ERROR + 19)</span>
<a name="l00323"></a>00323 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_EABSOLUTE */</span>
<a name="l00324"></a><a class="code" href="group___a_p_r___error.html#gafd1ffc5bf2bf215ad048780408913d0e">00324</a> <span class="preprocessor">#define APR_EABSOLUTE      (APR_OS_START_ERROR + 20)</span>
<a name="l00325"></a>00325 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_ERELATIVE */</span>
<a name="l00326"></a><a class="code" href="group___a_p_r___error.html#gae4688dfa866265b9ec3623689c23923b">00326</a> <span class="preprocessor">#define APR_ERELATIVE      (APR_OS_START_ERROR + 21)</span>
<a name="l00327"></a>00327 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_EINCOMPLETE */</span>
<a name="l00328"></a><a class="code" href="group___a_p_r___error.html#gab4357bcbdc2922183e0594865b59ce58">00328</a> <span class="preprocessor">#define APR_EINCOMPLETE    (APR_OS_START_ERROR + 22)</span>
<a name="l00329"></a>00329 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_EABOVEROOT */</span>
<a name="l00330"></a><a class="code" href="group___a_p_r___error.html#ga4828cc04f97dc7bed691456adf7c073e">00330</a> <span class="preprocessor">#define APR_EABOVEROOT     (APR_OS_START_ERROR + 23)</span>
<a name="l00331"></a>00331 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_EBADPATH */</span>
<a name="l00332"></a><a class="code" href="group___a_p_r___error.html#ga1731292eb3e3cdc801d3bf0b09cd8da7">00332</a> <span class="preprocessor">#define APR_EBADPATH       (APR_OS_START_ERROR + 24)</span>
<a name="l00333"></a>00333 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_EPATHWILD */</span>
<a name="l00334"></a><a class="code" href="group___a_p_r___error.html#ga01d0fb965051103b5c8f15a43ad2c767">00334</a> <span class="preprocessor">#define APR_EPATHWILD      (APR_OS_START_ERROR + 25)</span>
<a name="l00335"></a>00335 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_ESYMNOTFOUND */</span>
<a name="l00336"></a><a class="code" href="group___a_p_r___error.html#ga8d96410fc32408160e1e85e2e96402fa">00336</a> <span class="preprocessor">#define APR_ESYMNOTFOUND   (APR_OS_START_ERROR + 26)</span>
<a name="l00337"></a>00337 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_EPROC_UNKNOWN */</span>
<a name="l00338"></a><a class="code" href="group___a_p_r___error.html#ga01b21dc62b410707f44641d3cea3e6ed">00338</a> <span class="preprocessor">#define APR_EPROC_UNKNOWN  (APR_OS_START_ERROR + 27)</span>
<a name="l00339"></a>00339 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_ENOTENOUGHENTROPY */</span>
<a name="l00340"></a><a class="code" href="group___a_p_r___error.html#gaaee9e4e763844197e3750bb66ff75cd0">00340</a> <span class="preprocessor">#define APR_ENOTENOUGHENTROPY (APR_OS_START_ERROR + 28)</span>
<a name="l00341"></a>00341 <span class="preprocessor"></span><span class="comment">/** @} */</span>
<a name="l00342"></a>00342 <span class="comment"></span>
<a name="l00343"></a>00343 <span class="comment">/**</span>
<a name="l00344"></a>00344 <span class="comment"> * @defgroup APR_STATUS_IS Status Value Tests</span>
<a name="l00345"></a>00345 <span class="comment"> * @warning For any particular error condition, more than one of these tests</span>
<a name="l00346"></a>00346 <span class="comment"> *      may match. This is because platform-specific error codes may not</span>
<a name="l00347"></a>00347 <span class="comment"> *      always match the semantics of the POSIX codes these tests (and the</span>
<a name="l00348"></a>00348 <span class="comment"> *      corresponding APR error codes) are named after. A notable example</span>
<a name="l00349"></a>00349 <span class="comment"> *      are the APR_STATUS_IS_ENOENT and APR_STATUS_IS_ENOTDIR tests on</span>
<a name="l00350"></a>00350 <span class="comment"> *      Win32 platforms. The programmer should always be aware of this and</span>
<a name="l00351"></a>00351 <span class="comment"> *      adjust the order of the tests accordingly.</span>
<a name="l00352"></a>00352 <span class="comment"> * @{</span>
<a name="l00353"></a>00353 <span class="comment"> */</span><span class="comment"></span>
<a name="l00354"></a>00354 <span class="comment">/**</span>
<a name="l00355"></a>00355 <span class="comment"> * APR was unable to perform a stat on the file</span>
<a name="l00356"></a>00356 <span class="comment"> * @warning always use this test, as platform-specific variances may meet this</span>
<a name="l00357"></a>00357 <span class="comment"> * more than one error code</span>
<a name="l00358"></a>00358 <span class="comment"> */</span>
<a name="l00359"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga1f0d21900aa879ca4866b1bf846cfd0d">00359</a> <span class="preprocessor">#define APR_STATUS_IS_ENOSTAT(s)        ((s) == APR_ENOSTAT)</span>
<a name="l00360"></a>00360 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00361"></a>00361 <span class="comment"> * APR was not provided a pool with which to allocate memory</span>
<a name="l00362"></a>00362 <span class="comment"> * @warning always use this test, as platform-specific variances may meet this</span>
<a name="l00363"></a>00363 <span class="comment"> * more than one error code</span>
<a name="l00364"></a>00364 <span class="comment"> */</span>
<a name="l00365"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga71f149437af305f0a0cabde2cc3f3b19">00365</a> <span class="preprocessor">#define APR_STATUS_IS_ENOPOOL(s)        ((s) == APR_ENOPOOL)</span>
<a name="l00366"></a>00366 <span class="preprocessor"></span><span class="comment">/** APR was given an invalid date  */</span>
<a name="l00367"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gaf1313bed3538d6d57995bca164ebac20">00367</a> <span class="preprocessor">#define APR_STATUS_IS_EBADDATE(s)       ((s) == APR_EBADDATE)</span>
<a name="l00368"></a>00368 <span class="preprocessor"></span><span class="comment">/** APR was given an invalid socket */</span>
<a name="l00369"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga7fcc752663660de85fa046b2de014b97">00369</a> <span class="preprocessor">#define APR_STATUS_IS_EINVALSOCK(s)     ((s) == APR_EINVALSOCK)</span>
<a name="l00370"></a>00370 <span class="preprocessor"></span><span class="comment">/** APR was not given a process structure */</span>
<a name="l00371"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga566f4c9b9db8a0c31199a938bdc4e38a">00371</a> <span class="preprocessor">#define APR_STATUS_IS_ENOPROC(s)        ((s) == APR_ENOPROC)</span>
<a name="l00372"></a>00372 <span class="preprocessor"></span><span class="comment">/** APR was not given a time structure */</span>
<a name="l00373"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga65cb54d0b5902784037626841e26e709">00373</a> <span class="preprocessor">#define APR_STATUS_IS_ENOTIME(s)        ((s) == APR_ENOTIME)</span>
<a name="l00374"></a>00374 <span class="preprocessor"></span><span class="comment">/** APR was not given a directory structure */</span>
<a name="l00375"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga666c0bcfb97d26df7e7e360041d93fc6">00375</a> <span class="preprocessor">#define APR_STATUS_IS_ENODIR(s)         ((s) == APR_ENODIR)</span>
<a name="l00376"></a>00376 <span class="preprocessor"></span><span class="comment">/** APR was not given a lock structure */</span>
<a name="l00377"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gaced66cdb08529210dbf2f6bcbba99258">00377</a> <span class="preprocessor">#define APR_STATUS_IS_ENOLOCK(s)        ((s) == APR_ENOLOCK)</span>
<a name="l00378"></a>00378 <span class="preprocessor"></span><span class="comment">/** APR was not given a poll structure */</span>
<a name="l00379"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga590bc2090fe120d142853dec27eaf9e8">00379</a> <span class="preprocessor">#define APR_STATUS_IS_ENOPOLL(s)        ((s) == APR_ENOPOLL)</span>
<a name="l00380"></a>00380 <span class="preprocessor"></span><span class="comment">/** APR was not given a socket */</span>
<a name="l00381"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gae415d3119f7b13edc8af627a5e3f440b">00381</a> <span class="preprocessor">#define APR_STATUS_IS_ENOSOCKET(s)      ((s) == APR_ENOSOCKET)</span>
<a name="l00382"></a>00382 <span class="preprocessor"></span><span class="comment">/** APR was not given a thread structure */</span>
<a name="l00383"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gaf33e51e4df639e2b93c99a2fa8b5c7e7">00383</a> <span class="preprocessor">#define APR_STATUS_IS_ENOTHREAD(s)      ((s) == APR_ENOTHREAD)</span>
<a name="l00384"></a>00384 <span class="preprocessor"></span><span class="comment">/** APR was not given a thread key structure */</span>
<a name="l00385"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga782b37d892214ee60911062791871ae2">00385</a> <span class="preprocessor">#define APR_STATUS_IS_ENOTHDKEY(s)      ((s) == APR_ENOTHDKEY)</span>
<a name="l00386"></a>00386 <span class="preprocessor"></span><span class="comment">/** Generic Error which can not be put into another spot */</span>
<a name="l00387"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gab015701a084807912b3c0464c6badf1a">00387</a> <span class="preprocessor">#define APR_STATUS_IS_EGENERAL(s)       ((s) == APR_EGENERAL)</span>
<a name="l00388"></a>00388 <span class="preprocessor"></span><span class="comment">/** There is no more shared memory available */</span>
<a name="l00389"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga99af86378a3ac8eb5a59f1acffec6440">00389</a> <span class="preprocessor">#define APR_STATUS_IS_ENOSHMAVAIL(s)    ((s) == APR_ENOSHMAVAIL)</span>
<a name="l00390"></a>00390 <span class="preprocessor"></span><span class="comment">/** The specified IP address is invalid */</span>
<a name="l00391"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga02d9309a113e07050308af66e955d600">00391</a> <span class="preprocessor">#define APR_STATUS_IS_EBADIP(s)         ((s) == APR_EBADIP)</span>
<a name="l00392"></a>00392 <span class="preprocessor"></span><span class="comment">/** The specified netmask is invalid */</span>
<a name="l00393"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gabec95c93d0c5996f14a94e2cc37e1904">00393</a> <span class="preprocessor">#define APR_STATUS_IS_EBADMASK(s)       ((s) == APR_EBADMASK)</span>
<a name="l00394"></a>00394 <span class="preprocessor"></span><span class="comment">/* empty slot: +18 */</span><span class="comment"></span>
<a name="l00395"></a>00395 <span class="comment">/**</span>
<a name="l00396"></a>00396 <span class="comment"> * APR was unable to open the dso object.</span>
<a name="l00397"></a>00397 <span class="comment"> * For more information call apr_dso_error().</span>
<a name="l00398"></a>00398 <span class="comment"> */</span>
<a name="l00399"></a>00399 <span class="preprocessor">#if defined(WIN32)</span>
<a name="l00400"></a>00400 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EDSOOPEN(s)       ((s) == APR_EDSOOPEN \</span>
<a name="l00401"></a>00401 <span class="preprocessor">                       || APR_TO_OS_ERROR(s) == ERROR_MOD_NOT_FOUND)</span>
<a name="l00402"></a>00402 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00403"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gae87f4877aa35535eb3546b499ef9d9f3">00403</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EDSOOPEN(s)       ((s) == APR_EDSOOPEN)</span>
<a name="l00404"></a>00404 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00405"></a>00405 <span class="preprocessor"></span><span class="comment">/** The given path was absolute. */</span>
<a name="l00406"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gae662804298416a68e63c4f84f245d30c">00406</a> <span class="preprocessor">#define APR_STATUS_IS_EABSOLUTE(s)      ((s) == APR_EABSOLUTE)</span>
<a name="l00407"></a>00407 <span class="preprocessor"></span><span class="comment">/** The given path was relative. */</span>
<a name="l00408"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga7a8fca5102890e9a0bc4133ba848d52c">00408</a> <span class="preprocessor">#define APR_STATUS_IS_ERELATIVE(s)      ((s) == APR_ERELATIVE)</span>
<a name="l00409"></a>00409 <span class="preprocessor"></span><span class="comment">/** The given path was neither relative nor absolute. */</span>
<a name="l00410"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gae7354f40a912dc43fe76ba2a59de0403">00410</a> <span class="preprocessor">#define APR_STATUS_IS_EINCOMPLETE(s)    ((s) == APR_EINCOMPLETE)</span>
<a name="l00411"></a>00411 <span class="preprocessor"></span><span class="comment">/** The given path was above the root path. */</span>
<a name="l00412"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gae89b8de1e40b855cf95987ce5947b442">00412</a> <span class="preprocessor">#define APR_STATUS_IS_EABOVEROOT(s)     ((s) == APR_EABOVEROOT)</span>
<a name="l00413"></a>00413 <span class="preprocessor"></span><span class="comment">/** The given path was bad. */</span>
<a name="l00414"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga0758d7227209e4311c843c752c0dd075">00414</a> <span class="preprocessor">#define APR_STATUS_IS_EBADPATH(s)       ((s) == APR_EBADPATH)</span>
<a name="l00415"></a>00415 <span class="preprocessor"></span><span class="comment">/** The given path contained wildcards. */</span>
<a name="l00416"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gae23aedf7ad4e6a111ffd6acf4167b00e">00416</a> <span class="preprocessor">#define APR_STATUS_IS_EPATHWILD(s)      ((s) == APR_EPATHWILD)</span>
<a name="l00417"></a>00417 <span class="preprocessor"></span><span class="comment">/** Could not find the requested symbol.</span>
<a name="l00418"></a>00418 <span class="comment"> * For more information call apr_dso_error().</span>
<a name="l00419"></a>00419 <span class="comment"> */</span>
<a name="l00420"></a>00420 <span class="preprocessor">#if defined(WIN32)</span>
<a name="l00421"></a>00421 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ESYMNOTFOUND(s)   ((s) == APR_ESYMNOTFOUND \</span>
<a name="l00422"></a>00422 <span class="preprocessor">                       || APR_TO_OS_ERROR(s) == ERROR_PROC_NOT_FOUND)</span>
<a name="l00423"></a>00423 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00424"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gafab6c5fe2f9b906d533d253097a16e09">00424</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ESYMNOTFOUND(s)   ((s) == APR_ESYMNOTFOUND)</span>
<a name="l00425"></a>00425 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00426"></a>00426 <span class="preprocessor"></span><span class="comment">/** The given process was not recognized by APR. */</span>
<a name="l00427"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gab1267636d1f3fe0dcb79a22b735a5010">00427</a> <span class="preprocessor">#define APR_STATUS_IS_EPROC_UNKNOWN(s)  ((s) == APR_EPROC_UNKNOWN)</span>
<a name="l00428"></a>00428 <span class="preprocessor"></span><span class="comment">/** APR could not gather enough entropy to continue. */</span>
<a name="l00429"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gab8b0af2df80bfb9edfc8dbcbb6bdf925">00429</a> <span class="preprocessor">#define APR_STATUS_IS_ENOTENOUGHENTROPY(s) ((s) == APR_ENOTENOUGHENTROPY)</span>
<a name="l00430"></a>00430 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00431"></a>00431 <span class="comment">/** @} */</span>
<a name="l00432"></a>00432 <span class="comment"></span>
<a name="l00433"></a>00433 <span class="comment">/**</span>
<a name="l00434"></a>00434 <span class="comment"> * @addtogroup APR_Error</span>
<a name="l00435"></a>00435 <span class="comment"> * @{</span>
<a name="l00436"></a>00436 <span class="comment"> */</span><span class="comment"></span>
<a name="l00437"></a>00437 <span class="comment">/** @see APR_STATUS_IS_INCHILD */</span>
<a name="l00438"></a><a class="code" href="group___a_p_r___error.html#ga5a2bb63099778699feeae9627474c179">00438</a> <span class="preprocessor">#define APR_INCHILD        (APR_OS_START_STATUS + 1)</span>
<a name="l00439"></a>00439 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_INPARENT */</span>
<a name="l00440"></a><a class="code" href="group___a_p_r___error.html#ga79abc0fb43e51e0db87f90fa49745d89">00440</a> <span class="preprocessor">#define APR_INPARENT       (APR_OS_START_STATUS + 2)</span>
<a name="l00441"></a>00441 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_DETACH */</span>
<a name="l00442"></a><a class="code" href="group___a_p_r___error.html#gab3f8849983a52f6558016303fb4f5cff">00442</a> <span class="preprocessor">#define APR_DETACH         (APR_OS_START_STATUS + 3)</span>
<a name="l00443"></a>00443 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_NOTDETACH */</span>
<a name="l00444"></a><a class="code" href="group___a_p_r___error.html#ga83b8407fb5de5840f51dfd2c1439987b">00444</a> <span class="preprocessor">#define APR_NOTDETACH      (APR_OS_START_STATUS + 4)</span>
<a name="l00445"></a>00445 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_CHILD_DONE */</span>
<a name="l00446"></a><a class="code" href="group___a_p_r___error.html#ga2a78375cab66b8c1a4e06329e0cfcaf4">00446</a> <span class="preprocessor">#define APR_CHILD_DONE     (APR_OS_START_STATUS + 5)</span>
<a name="l00447"></a>00447 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_CHILD_NOTDONE */</span>
<a name="l00448"></a><a class="code" href="group___a_p_r___error.html#ga00bba31c29774cce3e72a31f88610340">00448</a> <span class="preprocessor">#define APR_CHILD_NOTDONE  (APR_OS_START_STATUS + 6)</span>
<a name="l00449"></a>00449 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_TIMEUP */</span>
<a name="l00450"></a><a class="code" href="group___a_p_r___error.html#ga9ac087c25ffb0d3bb4d75bee36709853">00450</a> <span class="preprocessor">#define APR_TIMEUP         (APR_OS_START_STATUS + 7)</span>
<a name="l00451"></a>00451 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_INCOMPLETE */</span>
<a name="l00452"></a><a class="code" href="group___a_p_r___error.html#ga64dff43b83bcefd3f3c751be6b864ca1">00452</a> <span class="preprocessor">#define APR_INCOMPLETE     (APR_OS_START_STATUS + 8)</span>
<a name="l00453"></a>00453 <span class="preprocessor"></span><span class="comment">/* empty slot: +9 */</span>
<a name="l00454"></a>00454 <span class="comment">/* empty slot: +10 */</span>
<a name="l00455"></a>00455 <span class="comment">/* empty slot: +11 */</span><span class="comment"></span>
<a name="l00456"></a>00456 <span class="comment">/** @see APR_STATUS_IS_BADCH */</span>
<a name="l00457"></a><a class="code" href="group___a_p_r___error.html#ga6f3ca71069880d9fe5678687a257d616">00457</a> <span class="preprocessor">#define APR_BADCH          (APR_OS_START_STATUS + 12)</span>
<a name="l00458"></a>00458 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_BADARG */</span>
<a name="l00459"></a><a class="code" href="group___a_p_r___error.html#ga771bf48ab38d93355be8530f6efe4ae9">00459</a> <span class="preprocessor">#define APR_BADARG         (APR_OS_START_STATUS + 13)</span>
<a name="l00460"></a>00460 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_EOF */</span>
<a name="l00461"></a><a class="code" href="group___a_p_r___error.html#ga35d9dca2514c522a2840aca0f3e2ebd3">00461</a> <span class="preprocessor">#define APR_EOF            (APR_OS_START_STATUS + 14)</span>
<a name="l00462"></a>00462 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_NOTFOUND */</span>
<a name="l00463"></a><a class="code" href="group___a_p_r___error.html#ga9bd83273ff02f31f71fb4dc6f29df4a9">00463</a> <span class="preprocessor">#define APR_NOTFOUND       (APR_OS_START_STATUS + 15)</span>
<a name="l00464"></a>00464 <span class="preprocessor"></span><span class="comment">/* empty slot: +16 */</span>
<a name="l00465"></a>00465 <span class="comment">/* empty slot: +17 */</span>
<a name="l00466"></a>00466 <span class="comment">/* empty slot: +18 */</span><span class="comment"></span>
<a name="l00467"></a>00467 <span class="comment">/** @see APR_STATUS_IS_ANONYMOUS */</span>
<a name="l00468"></a><a class="code" href="group___a_p_r___error.html#ga738a229b0c27bd96ae0173fecab251b7">00468</a> <span class="preprocessor">#define APR_ANONYMOUS      (APR_OS_START_STATUS + 19)</span>
<a name="l00469"></a>00469 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_FILEBASED */</span>
<a name="l00470"></a><a class="code" href="group___a_p_r___error.html#ga28a6d59b62d2698208451a9343399fbb">00470</a> <span class="preprocessor">#define APR_FILEBASED      (APR_OS_START_STATUS + 20)</span>
<a name="l00471"></a>00471 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_KEYBASED */</span>
<a name="l00472"></a><a class="code" href="group___a_p_r___error.html#gaac52bebace264494fa94cdf0b4344d26">00472</a> <span class="preprocessor">#define APR_KEYBASED       (APR_OS_START_STATUS + 21)</span>
<a name="l00473"></a>00473 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_EINIT */</span>
<a name="l00474"></a><a class="code" href="group___a_p_r___error.html#gaacd087793c97a3493eafc14075775b82">00474</a> <span class="preprocessor">#define APR_EINIT          (APR_OS_START_STATUS + 22)</span>
<a name="l00475"></a>00475 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_ENOTIMPL */</span>
<a name="l00476"></a><a class="code" href="group___a_p_r___error.html#ga939ddb834a30bc9a5a0a329b13000161">00476</a> <span class="preprocessor">#define APR_ENOTIMPL       (APR_OS_START_STATUS + 23)</span>
<a name="l00477"></a>00477 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_EMISMATCH */</span>
<a name="l00478"></a><a class="code" href="group___a_p_r___error.html#ga31e65a44daba96aa6d943529e94498e7">00478</a> <span class="preprocessor">#define APR_EMISMATCH      (APR_OS_START_STATUS + 24)</span>
<a name="l00479"></a>00479 <span class="preprocessor"></span><span class="comment">/** @see APR_STATUS_IS_EBUSY */</span>
<a name="l00480"></a><a class="code" href="group___a_p_r___error.html#gab6e5bc99dbace4a91d8d0adcbd8fd66b">00480</a> <span class="preprocessor">#define APR_EBUSY          (APR_OS_START_STATUS + 25)</span>
<a name="l00481"></a>00481 <span class="preprocessor"></span><span class="comment">/** @} */</span>
<a name="l00482"></a>00482 <span class="comment"></span>
<a name="l00483"></a>00483 <span class="comment">/**</span>
<a name="l00484"></a>00484 <span class="comment"> * @addtogroup APR_STATUS_IS</span>
<a name="l00485"></a>00485 <span class="comment"> * @{</span>
<a name="l00486"></a>00486 <span class="comment"> */</span><span class="comment"></span>
<a name="l00487"></a>00487 <span class="comment">/**</span>
<a name="l00488"></a>00488 <span class="comment"> * Program is currently executing in the child</span>
<a name="l00489"></a>00489 <span class="comment"> * @warning</span>
<a name="l00490"></a>00490 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00491"></a>00491 <span class="comment"> * more than one error code */</span>
<a name="l00492"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gad60d170a73ed74ec209a1b2165cacb61">00492</a> <span class="preprocessor">#define APR_STATUS_IS_INCHILD(s)        ((s) == APR_INCHILD)</span>
<a name="l00493"></a>00493 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00494"></a>00494 <span class="comment"> * Program is currently executing in the parent</span>
<a name="l00495"></a>00495 <span class="comment"> * @warning</span>
<a name="l00496"></a>00496 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00497"></a>00497 <span class="comment"> * more than one error code</span>
<a name="l00498"></a>00498 <span class="comment"> */</span>
<a name="l00499"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga4471f8de6eda3a673aa1f306114c012e">00499</a> <span class="preprocessor">#define APR_STATUS_IS_INPARENT(s)       ((s) == APR_INPARENT)</span>
<a name="l00500"></a>00500 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00501"></a>00501 <span class="comment"> * The thread is detached</span>
<a name="l00502"></a>00502 <span class="comment"> * @warning</span>
<a name="l00503"></a>00503 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00504"></a>00504 <span class="comment"> * more than one error code</span>
<a name="l00505"></a>00505 <span class="comment"> */</span>
<a name="l00506"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga64d5d0a6bfe141a387dfdd430a38465b">00506</a> <span class="preprocessor">#define APR_STATUS_IS_DETACH(s)         ((s) == APR_DETACH)</span>
<a name="l00507"></a>00507 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00508"></a>00508 <span class="comment"> * The thread is not detached</span>
<a name="l00509"></a>00509 <span class="comment"> * @warning</span>
<a name="l00510"></a>00510 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00511"></a>00511 <span class="comment"> * more than one error code</span>
<a name="l00512"></a>00512 <span class="comment"> */</span>
<a name="l00513"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga3084551fdf84919e3c3db4384234521d">00513</a> <span class="preprocessor">#define APR_STATUS_IS_NOTDETACH(s)      ((s) == APR_NOTDETACH)</span>
<a name="l00514"></a>00514 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00515"></a>00515 <span class="comment"> * The child has finished executing</span>
<a name="l00516"></a>00516 <span class="comment"> * @warning</span>
<a name="l00517"></a>00517 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00518"></a>00518 <span class="comment"> * more than one error code</span>
<a name="l00519"></a>00519 <span class="comment"> */</span>
<a name="l00520"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga1e6539dfa172cef4026105ca33b2b208">00520</a> <span class="preprocessor">#define APR_STATUS_IS_CHILD_DONE(s)     ((s) == APR_CHILD_DONE)</span>
<a name="l00521"></a>00521 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00522"></a>00522 <span class="comment"> * The child has not finished executing</span>
<a name="l00523"></a>00523 <span class="comment"> * @warning</span>
<a name="l00524"></a>00524 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00525"></a>00525 <span class="comment"> * more than one error code</span>
<a name="l00526"></a>00526 <span class="comment"> */</span>
<a name="l00527"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga86190a4a2c04bbbbedc2491bb93ab432">00527</a> <span class="preprocessor">#define APR_STATUS_IS_CHILD_NOTDONE(s)  ((s) == APR_CHILD_NOTDONE)</span>
<a name="l00528"></a>00528 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00529"></a>00529 <span class="comment"> * The operation did not finish before the timeout</span>
<a name="l00530"></a>00530 <span class="comment"> * @warning</span>
<a name="l00531"></a>00531 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00532"></a>00532 <span class="comment"> * more than one error code</span>
<a name="l00533"></a>00533 <span class="comment"> */</span>
<a name="l00534"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga864b207719c86ac4deeba696943262d0">00534</a> <span class="preprocessor">#define APR_STATUS_IS_TIMEUP(s)         ((s) == APR_TIMEUP)</span>
<a name="l00535"></a>00535 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00536"></a>00536 <span class="comment"> * The operation was incomplete although some processing was performed</span>
<a name="l00537"></a>00537 <span class="comment"> * and the results are partially valid.</span>
<a name="l00538"></a>00538 <span class="comment"> * @warning</span>
<a name="l00539"></a>00539 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00540"></a>00540 <span class="comment"> * more than one error code</span>
<a name="l00541"></a>00541 <span class="comment"> */</span>
<a name="l00542"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga8385878e572abf0b2f78a0ab7d1bc8a5">00542</a> <span class="preprocessor">#define APR_STATUS_IS_INCOMPLETE(s)     ((s) == APR_INCOMPLETE)</span>
<a name="l00543"></a>00543 <span class="preprocessor"></span><span class="comment">/* empty slot: +9 */</span>
<a name="l00544"></a>00544 <span class="comment">/* empty slot: +10 */</span>
<a name="l00545"></a>00545 <span class="comment">/* empty slot: +11 */</span><span class="comment"></span>
<a name="l00546"></a>00546 <span class="comment">/**</span>
<a name="l00547"></a>00547 <span class="comment"> * Getopt found an option not in the option string</span>
<a name="l00548"></a>00548 <span class="comment"> * @warning</span>
<a name="l00549"></a>00549 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00550"></a>00550 <span class="comment"> * more than one error code</span>
<a name="l00551"></a>00551 <span class="comment"> */</span>
<a name="l00552"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga20308232897ebff445dc10d0b69a0be2">00552</a> <span class="preprocessor">#define APR_STATUS_IS_BADCH(s)          ((s) == APR_BADCH)</span>
<a name="l00553"></a>00553 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00554"></a>00554 <span class="comment"> * Getopt found an option not in the option string and an argument was</span>
<a name="l00555"></a>00555 <span class="comment"> * specified in the option string</span>
<a name="l00556"></a>00556 <span class="comment"> * @warning</span>
<a name="l00557"></a>00557 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00558"></a>00558 <span class="comment"> * more than one error code</span>
<a name="l00559"></a>00559 <span class="comment"> */</span>
<a name="l00560"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga88b31c127ad48d12353d175926913cb3">00560</a> <span class="preprocessor">#define APR_STATUS_IS_BADARG(s)         ((s) == APR_BADARG)</span>
<a name="l00561"></a>00561 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00562"></a>00562 <span class="comment"> * APR has encountered the end of the file</span>
<a name="l00563"></a>00563 <span class="comment"> * @warning</span>
<a name="l00564"></a>00564 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00565"></a>00565 <span class="comment"> * more than one error code</span>
<a name="l00566"></a>00566 <span class="comment"> */</span>
<a name="l00567"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gaf4232cd96b47b76aec9607b1a78e694f">00567</a> <span class="preprocessor">#define APR_STATUS_IS_EOF(s)            ((s) == APR_EOF)</span>
<a name="l00568"></a>00568 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00569"></a>00569 <span class="comment"> * APR was unable to find the socket in the poll structure</span>
<a name="l00570"></a>00570 <span class="comment"> * @warning</span>
<a name="l00571"></a>00571 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00572"></a>00572 <span class="comment"> * more than one error code</span>
<a name="l00573"></a>00573 <span class="comment"> */</span>
<a name="l00574"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga51bc0a0e249f5d09dba3ed9dc02c49e5">00574</a> <span class="preprocessor">#define APR_STATUS_IS_NOTFOUND(s)       ((s) == APR_NOTFOUND)</span>
<a name="l00575"></a>00575 <span class="preprocessor"></span><span class="comment">/* empty slot: +16 */</span>
<a name="l00576"></a>00576 <span class="comment">/* empty slot: +17 */</span>
<a name="l00577"></a>00577 <span class="comment">/* empty slot: +18 */</span><span class="comment"></span>
<a name="l00578"></a>00578 <span class="comment">/**</span>
<a name="l00579"></a>00579 <span class="comment"> * APR is using anonymous shared memory</span>
<a name="l00580"></a>00580 <span class="comment"> * @warning</span>
<a name="l00581"></a>00581 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00582"></a>00582 <span class="comment"> * more than one error code</span>
<a name="l00583"></a>00583 <span class="comment"> */</span>
<a name="l00584"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gabf2969f69ac131cb06178c0809abf943">00584</a> <span class="preprocessor">#define APR_STATUS_IS_ANONYMOUS(s)      ((s) == APR_ANONYMOUS)</span>
<a name="l00585"></a>00585 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00586"></a>00586 <span class="comment"> * APR is using a file name as the key to the shared memory</span>
<a name="l00587"></a>00587 <span class="comment"> * @warning</span>
<a name="l00588"></a>00588 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00589"></a>00589 <span class="comment"> * more than one error code</span>
<a name="l00590"></a>00590 <span class="comment"> */</span>
<a name="l00591"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga7e46240d526e81f5ffbc266ca29b9f6a">00591</a> <span class="preprocessor">#define APR_STATUS_IS_FILEBASED(s)      ((s) == APR_FILEBASED)</span>
<a name="l00592"></a>00592 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00593"></a>00593 <span class="comment"> * APR is using a shared key as the key to the shared memory</span>
<a name="l00594"></a>00594 <span class="comment"> * @warning</span>
<a name="l00595"></a>00595 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00596"></a>00596 <span class="comment"> * more than one error code</span>
<a name="l00597"></a>00597 <span class="comment"> */</span>
<a name="l00598"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gaf43f4a40f5ab2fe196acb4e12f20b79e">00598</a> <span class="preprocessor">#define APR_STATUS_IS_KEYBASED(s)       ((s) == APR_KEYBASED)</span>
<a name="l00599"></a>00599 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00600"></a>00600 <span class="comment"> * Ininitalizer value.  If no option has been found, but</span>
<a name="l00601"></a>00601 <span class="comment"> * the status variable requires a value, this should be used</span>
<a name="l00602"></a>00602 <span class="comment"> * @warning</span>
<a name="l00603"></a>00603 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00604"></a>00604 <span class="comment"> * more than one error code</span>
<a name="l00605"></a>00605 <span class="comment"> */</span>
<a name="l00606"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gaeaa5fbb21b72fcbbe98b0f100d204048">00606</a> <span class="preprocessor">#define APR_STATUS_IS_EINIT(s)          ((s) == APR_EINIT)</span>
<a name="l00607"></a>00607 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00608"></a>00608 <span class="comment"> * The APR function has not been implemented on this</span>
<a name="l00609"></a>00609 <span class="comment"> * platform, either because nobody has gotten to it yet,</span>
<a name="l00610"></a>00610 <span class="comment"> * or the function is impossible on this platform.</span>
<a name="l00611"></a>00611 <span class="comment"> * @warning</span>
<a name="l00612"></a>00612 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00613"></a>00613 <span class="comment"> * more than one error code</span>
<a name="l00614"></a>00614 <span class="comment"> */</span>
<a name="l00615"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gacab882e24f5d6491777e8ef7763d02fb">00615</a> <span class="preprocessor">#define APR_STATUS_IS_ENOTIMPL(s)       ((s) == APR_ENOTIMPL)</span>
<a name="l00616"></a>00616 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00617"></a>00617 <span class="comment"> * Two passwords do not match.</span>
<a name="l00618"></a>00618 <span class="comment"> * @warning</span>
<a name="l00619"></a>00619 <span class="comment"> * always use this test, as platform-specific variances may meet this</span>
<a name="l00620"></a>00620 <span class="comment"> * more than one error code</span>
<a name="l00621"></a>00621 <span class="comment"> */</span>
<a name="l00622"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga7234b0d01a8e3ea8e5345f3f242df030">00622</a> <span class="preprocessor">#define APR_STATUS_IS_EMISMATCH(s)      ((s) == APR_EMISMATCH)</span>
<a name="l00623"></a>00623 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l00624"></a>00624 <span class="comment"> * The given lock was busy</span>
<a name="l00625"></a>00625 <span class="comment"> * @warning always use this test, as platform-specific variances may meet this</span>
<a name="l00626"></a>00626 <span class="comment"> * more than one error code</span>
<a name="l00627"></a>00627 <span class="comment"> */</span>
<a name="l00628"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gabb92ad7b6ef304132de70e9e5cbaa896">00628</a> <span class="preprocessor">#define APR_STATUS_IS_EBUSY(s)          ((s) == APR_EBUSY)</span>
<a name="l00629"></a>00629 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00630"></a>00630 <span class="comment">/** @} */</span>
<a name="l00631"></a>00631 <span class="comment"></span>
<a name="l00632"></a>00632 <span class="comment">/**</span>
<a name="l00633"></a>00633 <span class="comment"> * @addtogroup APR_Error APR Error Values</span>
<a name="l00634"></a>00634 <span class="comment"> * @{</span>
<a name="l00635"></a>00635 <span class="comment"> */</span>
<a name="l00636"></a>00636 <span class="comment">/* APR CANONICAL ERROR VALUES */</span><span class="comment"></span>
<a name="l00637"></a>00637 <span class="comment">/** @see APR_STATUS_IS_EACCES */</span>
<a name="l00638"></a>00638 <span class="preprocessor">#ifdef EACCES</span>
<a name="l00639"></a>00639 <span class="preprocessor"></span><span class="preprocessor">#define APR_EACCES EACCES</span>
<a name="l00640"></a>00640 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00641"></a><a class="code" href="group___a_p_r___error.html#ga407fc0ea7ead60f7a97fb9d70061bd41">00641</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_EACCES         (APR_OS_START_CANONERR + 1)</span>
<a name="l00642"></a>00642 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00643"></a>00643 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00644"></a>00644 <span class="comment">/** @see APR_STATUS_IS_EEXIST */</span>
<a name="l00645"></a>00645 <span class="preprocessor">#ifdef EEXIST</span>
<a name="l00646"></a>00646 <span class="preprocessor"></span><span class="preprocessor">#define APR_EEXIST EEXIST</span>
<a name="l00647"></a>00647 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00648"></a><a class="code" href="group___a_p_r___error.html#gafa7f353804388017a0ea71bc14f0dda5">00648</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_EEXIST         (APR_OS_START_CANONERR + 2)</span>
<a name="l00649"></a>00649 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00650"></a>00650 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00651"></a>00651 <span class="comment">/** @see APR_STATUS_IS_ENAMETOOLONG */</span>
<a name="l00652"></a>00652 <span class="preprocessor">#ifdef ENAMETOOLONG</span>
<a name="l00653"></a>00653 <span class="preprocessor"></span><span class="preprocessor">#define APR_ENAMETOOLONG ENAMETOOLONG</span>
<a name="l00654"></a>00654 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00655"></a><a class="code" href="group___a_p_r___error.html#ga3db63b16c2b332efe441e2661f593377">00655</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_ENAMETOOLONG   (APR_OS_START_CANONERR + 3)</span>
<a name="l00656"></a>00656 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00657"></a>00657 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00658"></a>00658 <span class="comment">/** @see APR_STATUS_IS_ENOENT */</span>
<a name="l00659"></a>00659 <span class="preprocessor">#ifdef ENOENT</span>
<a name="l00660"></a>00660 <span class="preprocessor"></span><span class="preprocessor">#define APR_ENOENT ENOENT</span>
<a name="l00661"></a>00661 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00662"></a><a class="code" href="group___a_p_r___error.html#gacc26a4afe01b6cc141f839be71fddf1c">00662</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_ENOENT         (APR_OS_START_CANONERR + 4)</span>
<a name="l00663"></a>00663 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00664"></a>00664 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00665"></a>00665 <span class="comment">/** @see APR_STATUS_IS_ENOTDIR */</span>
<a name="l00666"></a>00666 <span class="preprocessor">#ifdef ENOTDIR</span>
<a name="l00667"></a>00667 <span class="preprocessor"></span><span class="preprocessor">#define APR_ENOTDIR ENOTDIR</span>
<a name="l00668"></a>00668 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00669"></a><a class="code" href="group___a_p_r___error.html#gacfaa73cea75d14d49cc5c81e6c494330">00669</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_ENOTDIR        (APR_OS_START_CANONERR + 5)</span>
<a name="l00670"></a>00670 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00671"></a>00671 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00672"></a>00672 <span class="comment">/** @see APR_STATUS_IS_ENOSPC */</span>
<a name="l00673"></a>00673 <span class="preprocessor">#ifdef ENOSPC</span>
<a name="l00674"></a>00674 <span class="preprocessor"></span><span class="preprocessor">#define APR_ENOSPC ENOSPC</span>
<a name="l00675"></a>00675 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00676"></a><a class="code" href="group___a_p_r___error.html#ga1dfc0bbf080f17b0b9010ef967542193">00676</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_ENOSPC         (APR_OS_START_CANONERR + 6)</span>
<a name="l00677"></a>00677 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00678"></a>00678 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00679"></a>00679 <span class="comment">/** @see APR_STATUS_IS_ENOMEM */</span>
<a name="l00680"></a>00680 <span class="preprocessor">#ifdef ENOMEM</span>
<a name="l00681"></a>00681 <span class="preprocessor"></span><span class="preprocessor">#define APR_ENOMEM ENOMEM</span>
<a name="l00682"></a>00682 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00683"></a><a class="code" href="group___a_p_r___error.html#ga6a453e60000000609a95817efabebf4f">00683</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_ENOMEM         (APR_OS_START_CANONERR + 7)</span>
<a name="l00684"></a>00684 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00685"></a>00685 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00686"></a>00686 <span class="comment">/** @see APR_STATUS_IS_EMFILE */</span>
<a name="l00687"></a>00687 <span class="preprocessor">#ifdef EMFILE</span>
<a name="l00688"></a>00688 <span class="preprocessor"></span><span class="preprocessor">#define APR_EMFILE EMFILE</span>
<a name="l00689"></a>00689 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00690"></a><a class="code" href="group___a_p_r___error.html#gaec391eaf0bfa6aed03457ed3f796942d">00690</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_EMFILE         (APR_OS_START_CANONERR + 8)</span>
<a name="l00691"></a>00691 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00692"></a>00692 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00693"></a>00693 <span class="comment">/** @see APR_STATUS_IS_ENFILE */</span>
<a name="l00694"></a>00694 <span class="preprocessor">#ifdef ENFILE</span>
<a name="l00695"></a>00695 <span class="preprocessor"></span><span class="preprocessor">#define APR_ENFILE ENFILE</span>
<a name="l00696"></a>00696 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00697"></a><a class="code" href="group___a_p_r___error.html#gaf46f59147b00c2c87d76b9eb75674456">00697</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_ENFILE         (APR_OS_START_CANONERR + 9)</span>
<a name="l00698"></a>00698 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00699"></a>00699 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00700"></a>00700 <span class="comment">/** @see APR_STATUS_IS_EBADF */</span>
<a name="l00701"></a>00701 <span class="preprocessor">#ifdef EBADF</span>
<a name="l00702"></a>00702 <span class="preprocessor"></span><span class="preprocessor">#define APR_EBADF EBADF</span>
<a name="l00703"></a>00703 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00704"></a><a class="code" href="group___a_p_r___error.html#ga204df8a37a5c7fd6b2c74ea098fbac02">00704</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_EBADF          (APR_OS_START_CANONERR + 10)</span>
<a name="l00705"></a>00705 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00706"></a>00706 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00707"></a>00707 <span class="comment">/** @see APR_STATUS_IS_EINVAL */</span>
<a name="l00708"></a>00708 <span class="preprocessor">#ifdef EINVAL</span>
<a name="l00709"></a>00709 <span class="preprocessor"></span><span class="preprocessor">#define APR_EINVAL EINVAL</span>
<a name="l00710"></a>00710 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00711"></a><a class="code" href="group___a_p_r___error.html#gae3ffc41994444e71ce522c036ca1d9a4">00711</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_EINVAL         (APR_OS_START_CANONERR + 11)</span>
<a name="l00712"></a>00712 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00713"></a>00713 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00714"></a>00714 <span class="comment">/** @see APR_STATUS_IS_ESPIPE */</span>
<a name="l00715"></a>00715 <span class="preprocessor">#ifdef ESPIPE</span>
<a name="l00716"></a>00716 <span class="preprocessor"></span><span class="preprocessor">#define APR_ESPIPE ESPIPE</span>
<a name="l00717"></a>00717 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00718"></a><a class="code" href="group___a_p_r___error.html#ga3be81035cd2da76fbc27c75496489359">00718</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_ESPIPE         (APR_OS_START_CANONERR + 12)</span>
<a name="l00719"></a>00719 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00720"></a>00720 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00721"></a>00721 <span class="comment">/**</span>
<a name="l00722"></a>00722 <span class="comment"> * @see APR_STATUS_IS_EAGAIN</span>
<a name="l00723"></a>00723 <span class="comment"> * @warning use APR_STATUS_IS_EAGAIN instead of just testing this value</span>
<a name="l00724"></a>00724 <span class="comment"> */</span>
<a name="l00725"></a>00725 <span class="preprocessor">#ifdef EAGAIN</span>
<a name="l00726"></a>00726 <span class="preprocessor"></span><span class="preprocessor">#define APR_EAGAIN EAGAIN</span>
<a name="l00727"></a>00727 <span class="preprocessor"></span><span class="preprocessor">#elif defined(EWOULDBLOCK)</span>
<a name="l00728"></a>00728 <span class="preprocessor"></span><span class="preprocessor">#define APR_EAGAIN EWOULDBLOCK</span>
<a name="l00729"></a>00729 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00730"></a><a class="code" href="group___a_p_r___error.html#ga0b2a5ebb819de5ce93d326939b586578">00730</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_EAGAIN         (APR_OS_START_CANONERR + 13)</span>
<a name="l00731"></a>00731 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00732"></a>00732 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00733"></a>00733 <span class="comment">/** @see APR_STATUS_IS_EINTR */</span>
<a name="l00734"></a>00734 <span class="preprocessor">#ifdef EINTR</span>
<a name="l00735"></a>00735 <span class="preprocessor"></span><span class="preprocessor">#define APR_EINTR EINTR</span>
<a name="l00736"></a>00736 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00737"></a><a class="code" href="group___a_p_r___error.html#gaee1ce306c0ebf1701b34172310aa1bd5">00737</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_EINTR          (APR_OS_START_CANONERR + 14)</span>
<a name="l00738"></a>00738 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00739"></a>00739 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00740"></a>00740 <span class="comment">/** @see APR_STATUS_IS_ENOTSOCK */</span>
<a name="l00741"></a>00741 <span class="preprocessor">#ifdef ENOTSOCK</span>
<a name="l00742"></a>00742 <span class="preprocessor"></span><span class="preprocessor">#define APR_ENOTSOCK ENOTSOCK</span>
<a name="l00743"></a>00743 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00744"></a><a class="code" href="group___a_p_r___error.html#gad456312527050c661dc19a8f17a0f0ef">00744</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_ENOTSOCK       (APR_OS_START_CANONERR + 15)</span>
<a name="l00745"></a>00745 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00746"></a>00746 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00747"></a>00747 <span class="comment">/** @see APR_STATUS_IS_ECONNREFUSED */</span>
<a name="l00748"></a>00748 <span class="preprocessor">#ifdef ECONNREFUSED</span>
<a name="l00749"></a>00749 <span class="preprocessor"></span><span class="preprocessor">#define APR_ECONNREFUSED ECONNREFUSED</span>
<a name="l00750"></a>00750 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00751"></a><a class="code" href="group___a_p_r___error.html#ga1b4d1d847bebdfc48af343bc2486ecb8">00751</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_ECONNREFUSED   (APR_OS_START_CANONERR + 16)</span>
<a name="l00752"></a>00752 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00753"></a>00753 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00754"></a>00754 <span class="comment">/** @see APR_STATUS_IS_EINPROGRESS */</span>
<a name="l00755"></a>00755 <span class="preprocessor">#ifdef EINPROGRESS</span>
<a name="l00756"></a>00756 <span class="preprocessor"></span><span class="preprocessor">#define APR_EINPROGRESS EINPROGRESS</span>
<a name="l00757"></a>00757 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00758"></a><a class="code" href="group___a_p_r___error.html#ga5c311361f4f68f289c90f3cdfd77eb79">00758</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_EINPROGRESS    (APR_OS_START_CANONERR + 17)</span>
<a name="l00759"></a>00759 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00760"></a>00760 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00761"></a>00761 <span class="comment">/**</span>
<a name="l00762"></a>00762 <span class="comment"> * @see APR_STATUS_IS_ECONNABORTED</span>
<a name="l00763"></a>00763 <span class="comment"> * @warning use APR_STATUS_IS_ECONNABORTED instead of just testing this value</span>
<a name="l00764"></a>00764 <span class="comment"> */</span>
<a name="l00765"></a>00765 
<a name="l00766"></a>00766 <span class="preprocessor">#ifdef ECONNABORTED</span>
<a name="l00767"></a>00767 <span class="preprocessor"></span><span class="preprocessor">#define APR_ECONNABORTED ECONNABORTED</span>
<a name="l00768"></a>00768 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00769"></a><a class="code" href="group___a_p_r___error.html#ga9458da18e0ee46a5d37c9cdfdc43efd2">00769</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_ECONNABORTED   (APR_OS_START_CANONERR + 18)</span>
<a name="l00770"></a>00770 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00771"></a>00771 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00772"></a>00772 <span class="comment">/** @see APR_STATUS_IS_ECONNRESET */</span>
<a name="l00773"></a>00773 <span class="preprocessor">#ifdef ECONNRESET</span>
<a name="l00774"></a>00774 <span class="preprocessor"></span><span class="preprocessor">#define APR_ECONNRESET ECONNRESET</span>
<a name="l00775"></a>00775 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00776"></a><a class="code" href="group___a_p_r___error.html#ga264bfe2056e917728e9ed060b58869c2">00776</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_ECONNRESET     (APR_OS_START_CANONERR + 19)</span>
<a name="l00777"></a>00777 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00778"></a>00778 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00779"></a>00779 <span class="comment">/** @see APR_STATUS_IS_ETIMEDOUT</span>
<a name="l00780"></a>00780 <span class="comment"> *  @deprecated */</span>
<a name="l00781"></a>00781 <span class="preprocessor">#ifdef ETIMEDOUT</span>
<a name="l00782"></a>00782 <span class="preprocessor"></span><span class="preprocessor">#define APR_ETIMEDOUT ETIMEDOUT</span>
<a name="l00783"></a>00783 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00784"></a><a class="code" href="group___a_p_r___error.html#ga6aeccbe9accb34f0adc1cb1ab9a82a8d">00784</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_ETIMEDOUT      (APR_OS_START_CANONERR + 20)</span>
<a name="l00785"></a>00785 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00786"></a>00786 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00787"></a>00787 <span class="comment">/** @see APR_STATUS_IS_EHOSTUNREACH */</span>
<a name="l00788"></a>00788 <span class="preprocessor">#ifdef EHOSTUNREACH</span>
<a name="l00789"></a>00789 <span class="preprocessor"></span><span class="preprocessor">#define APR_EHOSTUNREACH EHOSTUNREACH</span>
<a name="l00790"></a>00790 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00791"></a><a class="code" href="group___a_p_r___error.html#ga489b0c02fa7cf33ed6d698d385661f86">00791</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_EHOSTUNREACH   (APR_OS_START_CANONERR + 21)</span>
<a name="l00792"></a>00792 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00793"></a>00793 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00794"></a>00794 <span class="comment">/** @see APR_STATUS_IS_ENETUNREACH */</span>
<a name="l00795"></a>00795 <span class="preprocessor">#ifdef ENETUNREACH</span>
<a name="l00796"></a>00796 <span class="preprocessor"></span><span class="preprocessor">#define APR_ENETUNREACH ENETUNREACH</span>
<a name="l00797"></a>00797 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00798"></a><a class="code" href="group___a_p_r___error.html#gab9b7124a88817d1b69cdef059f7dc689">00798</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_ENETUNREACH    (APR_OS_START_CANONERR + 22)</span>
<a name="l00799"></a>00799 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00800"></a>00800 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00801"></a>00801 <span class="comment">/** @see APR_STATUS_IS_EFTYPE */</span>
<a name="l00802"></a>00802 <span class="preprocessor">#ifdef EFTYPE</span>
<a name="l00803"></a>00803 <span class="preprocessor"></span><span class="preprocessor">#define APR_EFTYPE EFTYPE</span>
<a name="l00804"></a>00804 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00805"></a><a class="code" href="group___a_p_r___error.html#gac358701354d03c37e3f0de12ed6d9afc">00805</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_EFTYPE        (APR_OS_START_CANONERR + 23)</span>
<a name="l00806"></a>00806 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00807"></a>00807 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00808"></a>00808 <span class="comment">/** @see APR_STATUS_IS_EPIPE */</span>
<a name="l00809"></a>00809 <span class="preprocessor">#ifdef EPIPE</span>
<a name="l00810"></a>00810 <span class="preprocessor"></span><span class="preprocessor">#define APR_EPIPE EPIPE</span>
<a name="l00811"></a>00811 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00812"></a><a class="code" href="group___a_p_r___error.html#gae985330e30e374714ff1742485597f5d">00812</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_EPIPE         (APR_OS_START_CANONERR + 24)</span>
<a name="l00813"></a>00813 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00814"></a>00814 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00815"></a>00815 <span class="comment">/** @see APR_STATUS_IS_EXDEV */</span>
<a name="l00816"></a>00816 <span class="preprocessor">#ifdef EXDEV</span>
<a name="l00817"></a>00817 <span class="preprocessor"></span><span class="preprocessor">#define APR_EXDEV EXDEV</span>
<a name="l00818"></a>00818 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00819"></a><a class="code" href="group___a_p_r___error.html#ga0562023bd8ebe580b9bbb9f7b04d3f5d">00819</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_EXDEV         (APR_OS_START_CANONERR + 25)</span>
<a name="l00820"></a>00820 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00821"></a>00821 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00822"></a>00822 <span class="comment">/** @see APR_STATUS_IS_ENOTEMPTY */</span>
<a name="l00823"></a>00823 <span class="preprocessor">#ifdef ENOTEMPTY</span>
<a name="l00824"></a>00824 <span class="preprocessor"></span><span class="preprocessor">#define APR_ENOTEMPTY ENOTEMPTY</span>
<a name="l00825"></a>00825 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00826"></a><a class="code" href="group___a_p_r___error.html#ga01d9259eccdf0576f58b89c4ad8ca4eb">00826</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_ENOTEMPTY     (APR_OS_START_CANONERR + 26)</span>
<a name="l00827"></a>00827 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00828"></a>00828 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00829"></a>00829 <span class="comment">/** @see APR_STATUS_IS_EAFNOSUPPORT */</span>
<a name="l00830"></a>00830 <span class="preprocessor">#ifdef EAFNOSUPPORT</span>
<a name="l00831"></a>00831 <span class="preprocessor"></span><span class="preprocessor">#define APR_EAFNOSUPPORT EAFNOSUPPORT</span>
<a name="l00832"></a>00832 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00833"></a><a class="code" href="group___a_p_r___error.html#ga76b558840838bcb94a4811a8e52df7a6">00833</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_EAFNOSUPPORT  (APR_OS_START_CANONERR + 27)</span>
<a name="l00834"></a>00834 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00835"></a>00835 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00836"></a>00836 <span class="comment">/** @} */</span>
<a name="l00837"></a>00837 
<a name="l00838"></a>00838 <span class="preprocessor">#if defined(OS2) &amp;&amp; !defined(DOXYGEN)</span>
<a name="l00839"></a>00839 <span class="preprocessor"></span>
<a name="l00840"></a>00840 <span class="preprocessor">#define APR_FROM_OS_ERROR(e) (e == 0 ? APR_SUCCESS : e + APR_OS_START_SYSERR)</span>
<a name="l00841"></a>00841 <span class="preprocessor"></span><span class="preprocessor">#define APR_TO_OS_ERROR(e)   (e == 0 ? APR_SUCCESS : e - APR_OS_START_SYSERR)</span>
<a name="l00842"></a>00842 <span class="preprocessor"></span>
<a name="l00843"></a>00843 <span class="preprocessor">#define INCL_DOSERRORS</span>
<a name="l00844"></a>00844 <span class="preprocessor"></span><span class="preprocessor">#define INCL_DOS</span>
<a name="l00845"></a>00845 <span class="preprocessor"></span>
<a name="l00846"></a>00846 <span class="comment">/* Leave these undefined.</span>
<a name="l00847"></a>00847 <span class="comment"> * OS2 doesn&#39;t rely on the errno concept.</span>
<a name="l00848"></a>00848 <span class="comment"> * The API calls always return a result codes which</span>
<a name="l00849"></a>00849 <span class="comment"> * should be filtered through APR_FROM_OS_ERROR().</span>
<a name="l00850"></a>00850 <span class="comment"> *</span>
<a name="l00851"></a>00851 <span class="comment"> * #define apr_get_os_error()   (APR_FROM_OS_ERROR(GetLastError()))</span>
<a name="l00852"></a>00852 <span class="comment"> * #define apr_set_os_error(e)  (SetLastError(APR_TO_OS_ERROR(e)))</span>
<a name="l00853"></a>00853 <span class="comment"> */</span>
<a name="l00854"></a>00854 
<a name="l00855"></a>00855 <span class="comment">/* A special case, only socket calls require this;</span>
<a name="l00856"></a>00856 <span class="comment"> */</span>
<a name="l00857"></a>00857 <span class="preprocessor">#define apr_get_netos_error()   (APR_FROM_OS_ERROR(errno))</span>
<a name="l00858"></a>00858 <span class="preprocessor"></span><span class="preprocessor">#define apr_set_netos_error(e)  (errno = APR_TO_OS_ERROR(e))</span>
<a name="l00859"></a>00859 <span class="preprocessor"></span>
<a name="l00860"></a>00860 <span class="comment">/* And this needs to be greped away for good:</span>
<a name="l00861"></a>00861 <span class="comment"> */</span>
<a name="l00862"></a>00862 <span class="preprocessor">#define APR_OS2_STATUS(e) (APR_FROM_OS_ERROR(e))</span>
<a name="l00863"></a>00863 <span class="preprocessor"></span>
<a name="l00864"></a>00864 <span class="comment">/* These can&#39;t sit in a private header, so in spite of the extra size,</span>
<a name="l00865"></a>00865 <span class="comment"> * they need to be made available here.</span>
<a name="l00866"></a>00866 <span class="comment"> */</span>
<a name="l00867"></a>00867 <span class="preprocessor">#define SOCBASEERR              10000</span>
<a name="l00868"></a>00868 <span class="preprocessor"></span><span class="preprocessor">#define SOCEPERM                (SOCBASEERR+1)             </span><span class="comment">/* Not owner */</span>
<a name="l00869"></a>00869 <span class="preprocessor">#define SOCESRCH                (SOCBASEERR+3)             </span><span class="comment">/* No such process */</span>
<a name="l00870"></a>00870 <span class="preprocessor">#define SOCEINTR                (SOCBASEERR+4)             </span><span class="comment">/* Interrupted system call */</span>
<a name="l00871"></a>00871 <span class="preprocessor">#define SOCENXIO                (SOCBASEERR+6)             </span><span class="comment">/* No such device or address */</span>
<a name="l00872"></a>00872 <span class="preprocessor">#define SOCEBADF                (SOCBASEERR+9)             </span><span class="comment">/* Bad file number */</span>
<a name="l00873"></a>00873 <span class="preprocessor">#define SOCEACCES               (SOCBASEERR+13)            </span><span class="comment">/* Permission denied */</span>
<a name="l00874"></a>00874 <span class="preprocessor">#define SOCEFAULT               (SOCBASEERR+14)            </span><span class="comment">/* Bad address */</span>
<a name="l00875"></a>00875 <span class="preprocessor">#define SOCEINVAL               (SOCBASEERR+22)            </span><span class="comment">/* Invalid argument */</span>
<a name="l00876"></a>00876 <span class="preprocessor">#define SOCEMFILE               (SOCBASEERR+24)            </span><span class="comment">/* Too many open files */</span>
<a name="l00877"></a>00877 <span class="preprocessor">#define SOCEPIPE                (SOCBASEERR+32)            </span><span class="comment">/* Broken pipe */</span>
<a name="l00878"></a>00878 <span class="preprocessor">#define SOCEOS2ERR              (SOCBASEERR+100)           </span><span class="comment">/* OS/2 Error */</span>
<a name="l00879"></a>00879 <span class="preprocessor">#define SOCEWOULDBLOCK          (SOCBASEERR+35)            </span><span class="comment">/* Operation would block */</span>
<a name="l00880"></a>00880 <span class="preprocessor">#define SOCEINPROGRESS          (SOCBASEERR+36)            </span><span class="comment">/* Operation now in progress */</span>
<a name="l00881"></a>00881 <span class="preprocessor">#define SOCEALREADY             (SOCBASEERR+37)            </span><span class="comment">/* Operation already in progress */</span>
<a name="l00882"></a>00882 <span class="preprocessor">#define SOCENOTSOCK             (SOCBASEERR+38)            </span><span class="comment">/* Socket operation on non-socket */</span>
<a name="l00883"></a>00883 <span class="preprocessor">#define SOCEDESTADDRREQ         (SOCBASEERR+39)            </span><span class="comment">/* Destination address required */</span>
<a name="l00884"></a>00884 <span class="preprocessor">#define SOCEMSGSIZE             (SOCBASEERR+40)            </span><span class="comment">/* Message too long */</span>
<a name="l00885"></a>00885 <span class="preprocessor">#define SOCEPROTOTYPE           (SOCBASEERR+41)            </span><span class="comment">/* Protocol wrong type for socket */</span>
<a name="l00886"></a>00886 <span class="preprocessor">#define SOCENOPROTOOPT          (SOCBASEERR+42)            </span><span class="comment">/* Protocol not available */</span>
<a name="l00887"></a>00887 <span class="preprocessor">#define SOCEPROTONOSUPPORT      (SOCBASEERR+43)            </span><span class="comment">/* Protocol not supported */</span>
<a name="l00888"></a>00888 <span class="preprocessor">#define SOCESOCKTNOSUPPORT      (SOCBASEERR+44)            </span><span class="comment">/* Socket type not supported */</span>
<a name="l00889"></a>00889 <span class="preprocessor">#define SOCEOPNOTSUPP           (SOCBASEERR+45)            </span><span class="comment">/* Operation not supported on socket */</span>
<a name="l00890"></a>00890 <span class="preprocessor">#define SOCEPFNOSUPPORT         (SOCBASEERR+46)            </span><span class="comment">/* Protocol family not supported */</span>
<a name="l00891"></a>00891 <span class="preprocessor">#define SOCEAFNOSUPPORT         (SOCBASEERR+47)            </span><span class="comment">/* Address family not supported by protocol family */</span>
<a name="l00892"></a>00892 <span class="preprocessor">#define SOCEADDRINUSE           (SOCBASEERR+48)            </span><span class="comment">/* Address already in use */</span>
<a name="l00893"></a>00893 <span class="preprocessor">#define SOCEADDRNOTAVAIL        (SOCBASEERR+49)            </span><span class="comment">/* Can&#39;t assign requested address */</span>
<a name="l00894"></a>00894 <span class="preprocessor">#define SOCENETDOWN             (SOCBASEERR+50)            </span><span class="comment">/* Network is down */</span>
<a name="l00895"></a>00895 <span class="preprocessor">#define SOCENETUNREACH          (SOCBASEERR+51)            </span><span class="comment">/* Network is unreachable */</span>
<a name="l00896"></a>00896 <span class="preprocessor">#define SOCENETRESET            (SOCBASEERR+52)            </span><span class="comment">/* Network dropped connection on reset */</span>
<a name="l00897"></a>00897 <span class="preprocessor">#define SOCECONNABORTED         (SOCBASEERR+53)            </span><span class="comment">/* Software caused connection abort */</span>
<a name="l00898"></a>00898 <span class="preprocessor">#define SOCECONNRESET           (SOCBASEERR+54)            </span><span class="comment">/* Connection reset by peer */</span>
<a name="l00899"></a>00899 <span class="preprocessor">#define SOCENOBUFS              (SOCBASEERR+55)            </span><span class="comment">/* No buffer space available */</span>
<a name="l00900"></a>00900 <span class="preprocessor">#define SOCEISCONN              (SOCBASEERR+56)            </span><span class="comment">/* Socket is already connected */</span>
<a name="l00901"></a>00901 <span class="preprocessor">#define SOCENOTCONN             (SOCBASEERR+57)            </span><span class="comment">/* Socket is not connected */</span>
<a name="l00902"></a>00902 <span class="preprocessor">#define SOCESHUTDOWN            (SOCBASEERR+58)            </span><span class="comment">/* Can&#39;t send after socket shutdown */</span>
<a name="l00903"></a>00903 <span class="preprocessor">#define SOCETOOMANYREFS         (SOCBASEERR+59)            </span><span class="comment">/* Too many references: can&#39;t splice */</span>
<a name="l00904"></a>00904 <span class="preprocessor">#define SOCETIMEDOUT            (SOCBASEERR+60)            </span><span class="comment">/* Connection timed out */</span>
<a name="l00905"></a>00905 <span class="preprocessor">#define SOCECONNREFUSED         (SOCBASEERR+61)            </span><span class="comment">/* Connection refused */</span>
<a name="l00906"></a>00906 <span class="preprocessor">#define SOCELOOP                (SOCBASEERR+62)            </span><span class="comment">/* Too many levels of symbolic links */</span>
<a name="l00907"></a>00907 <span class="preprocessor">#define SOCENAMETOOLONG         (SOCBASEERR+63)            </span><span class="comment">/* File name too long */</span>
<a name="l00908"></a>00908 <span class="preprocessor">#define SOCEHOSTDOWN            (SOCBASEERR+64)            </span><span class="comment">/* Host is down */</span>
<a name="l00909"></a>00909 <span class="preprocessor">#define SOCEHOSTUNREACH         (SOCBASEERR+65)            </span><span class="comment">/* No route to host */</span>
<a name="l00910"></a>00910 <span class="preprocessor">#define SOCENOTEMPTY            (SOCBASEERR+66)            </span><span class="comment">/* Directory not empty */</span>
<a name="l00911"></a>00911 
<a name="l00912"></a>00912 <span class="comment">/* APR CANONICAL ERROR TESTS */</span>
<a name="l00913"></a>00913 <span class="preprocessor">#define APR_STATUS_IS_EACCES(s)         ((s) == APR_EACCES \</span>
<a name="l00914"></a>00914 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_ACCESS_DENIED \</span>
<a name="l00915"></a>00915 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_SHARING_VIOLATION)</span>
<a name="l00916"></a>00916 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EEXIST(s)         ((s) == APR_EEXIST \</span>
<a name="l00917"></a>00917 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_OPEN_FAILED \</span>
<a name="l00918"></a>00918 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_FILE_EXISTS \</span>
<a name="l00919"></a>00919 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_ALREADY_EXISTS \</span>
<a name="l00920"></a>00920 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_ACCESS_DENIED)</span>
<a name="l00921"></a>00921 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENAMETOOLONG(s)   ((s) == APR_ENAMETOOLONG \</span>
<a name="l00922"></a>00922 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_FILENAME_EXCED_RANGE \</span>
<a name="l00923"></a>00923 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + SOCENAMETOOLONG)</span>
<a name="l00924"></a>00924 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOENT(s)         ((s) == APR_ENOENT \</span>
<a name="l00925"></a>00925 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_FILE_NOT_FOUND \</span>
<a name="l00926"></a>00926 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_PATH_NOT_FOUND \</span>
<a name="l00927"></a>00927 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NO_MORE_FILES \</span>
<a name="l00928"></a>00928 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_OPEN_FAILED)</span>
<a name="l00929"></a>00929 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOTDIR(s)        ((s) == APR_ENOTDIR)</span>
<a name="l00930"></a>00930 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOSPC(s)         ((s) == APR_ENOSPC \</span>
<a name="l00931"></a>00931 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_DISK_FULL)</span>
<a name="l00932"></a>00932 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOMEM(s)         ((s) == APR_ENOMEM)</span>
<a name="l00933"></a>00933 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EMFILE(s)         ((s) == APR_EMFILE \</span>
<a name="l00934"></a>00934 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_TOO_MANY_OPEN_FILES)</span>
<a name="l00935"></a>00935 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENFILE(s)         ((s) == APR_ENFILE)</span>
<a name="l00936"></a>00936 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EBADF(s)          ((s) == APR_EBADF \</span>
<a name="l00937"></a>00937 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_HANDLE)</span>
<a name="l00938"></a>00938 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EINVAL(s)         ((s) == APR_EINVAL \</span>
<a name="l00939"></a>00939 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_PARAMETER \</span>
<a name="l00940"></a>00940 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_FUNCTION)</span>
<a name="l00941"></a>00941 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ESPIPE(s)         ((s) == APR_ESPIPE \</span>
<a name="l00942"></a>00942 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NEGATIVE_SEEK)</span>
<a name="l00943"></a>00943 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EAGAIN(s)         ((s) == APR_EAGAIN \</span>
<a name="l00944"></a>00944 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NO_DATA \</span>
<a name="l00945"></a>00945 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + SOCEWOULDBLOCK \</span>
<a name="l00946"></a>00946 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_LOCK_VIOLATION)</span>
<a name="l00947"></a>00947 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EINTR(s)          ((s) == APR_EINTR \</span>
<a name="l00948"></a>00948 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + SOCEINTR)</span>
<a name="l00949"></a>00949 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOTSOCK(s)       ((s) == APR_ENOTSOCK \</span>
<a name="l00950"></a>00950 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + SOCENOTSOCK)</span>
<a name="l00951"></a>00951 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ECONNREFUSED(s)   ((s) == APR_ECONNREFUSED \</span>
<a name="l00952"></a>00952 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + SOCECONNREFUSED)</span>
<a name="l00953"></a>00953 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EINPROGRESS(s)    ((s) == APR_EINPROGRESS \</span>
<a name="l00954"></a>00954 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + SOCEINPROGRESS)</span>
<a name="l00955"></a>00955 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ECONNABORTED(s)   ((s) == APR_ECONNABORTED \</span>
<a name="l00956"></a>00956 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + SOCECONNABORTED)</span>
<a name="l00957"></a>00957 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ECONNRESET(s)     ((s) == APR_ECONNRESET \</span>
<a name="l00958"></a>00958 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + SOCECONNRESET)</span>
<a name="l00959"></a>00959 <span class="preprocessor"></span><span class="comment">/* XXX deprecated */</span>
<a name="l00960"></a>00960 <span class="preprocessor">#define APR_STATUS_IS_ETIMEDOUT(s)         ((s) == APR_ETIMEDOUT \</span>
<a name="l00961"></a>00961 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + SOCETIMEDOUT)</span>
<a name="l00962"></a>00962 <span class="preprocessor"></span><span class="preprocessor">#undef APR_STATUS_IS_TIMEUP</span>
<a name="l00963"></a>00963 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_TIMEUP(s)         ((s) == APR_TIMEUP \</span>
<a name="l00964"></a>00964 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + SOCETIMEDOUT)</span>
<a name="l00965"></a>00965 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EHOSTUNREACH(s)   ((s) == APR_EHOSTUNREACH \</span>
<a name="l00966"></a>00966 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + SOCEHOSTUNREACH)</span>
<a name="l00967"></a>00967 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENETUNREACH(s)    ((s) == APR_ENETUNREACH \</span>
<a name="l00968"></a>00968 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + SOCENETUNREACH)</span>
<a name="l00969"></a>00969 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EFTYPE(s)         ((s) == APR_EFTYPE)</span>
<a name="l00970"></a>00970 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EPIPE(s)          ((s) == APR_EPIPE \</span>
<a name="l00971"></a>00971 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_BROKEN_PIPE \</span>
<a name="l00972"></a>00972 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + SOCEPIPE)</span>
<a name="l00973"></a>00973 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EXDEV(s)          ((s) == APR_EXDEV \</span>
<a name="l00974"></a>00974 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NOT_SAME_DEVICE)</span>
<a name="l00975"></a>00975 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOTEMPTY(s)      ((s) == APR_ENOTEMPTY \</span>
<a name="l00976"></a>00976 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_DIR_NOT_EMPTY \</span>
<a name="l00977"></a>00977 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_ACCESS_DENIED)</span>
<a name="l00978"></a>00978 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EAFNOSUPPORT(s)   ((s) == APR_AFNOSUPPORT \</span>
<a name="l00979"></a>00979 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + SOCEAFNOSUPPORT)</span>
<a name="l00980"></a>00980 <span class="preprocessor"></span>
<a name="l00981"></a>00981 <span class="comment">/*</span>
<a name="l00982"></a>00982 <span class="comment">    Sorry, too tired to wrap this up for OS2... feel free to</span>
<a name="l00983"></a>00983 <span class="comment">    fit the following into their best matches.</span>
<a name="l00984"></a>00984 <span class="comment"></span>
<a name="l00985"></a>00985 <span class="comment">    { ERROR_NO_SIGNAL_SENT,     ESRCH           },</span>
<a name="l00986"></a>00986 <span class="comment">    { SOCEALREADY,              EALREADY        },</span>
<a name="l00987"></a>00987 <span class="comment">    { SOCEDESTADDRREQ,          EDESTADDRREQ    },</span>
<a name="l00988"></a>00988 <span class="comment">    { SOCEMSGSIZE,              EMSGSIZE        },</span>
<a name="l00989"></a>00989 <span class="comment">    { SOCEPROTOTYPE,            EPROTOTYPE      },</span>
<a name="l00990"></a>00990 <span class="comment">    { SOCENOPROTOOPT,           ENOPROTOOPT     },</span>
<a name="l00991"></a>00991 <span class="comment">    { SOCEPROTONOSUPPORT,       EPROTONOSUPPORT },</span>
<a name="l00992"></a>00992 <span class="comment">    { SOCESOCKTNOSUPPORT,       ESOCKTNOSUPPORT },</span>
<a name="l00993"></a>00993 <span class="comment">    { SOCEOPNOTSUPP,            EOPNOTSUPP      },</span>
<a name="l00994"></a>00994 <span class="comment">    { SOCEPFNOSUPPORT,          EPFNOSUPPORT    },</span>
<a name="l00995"></a>00995 <span class="comment">    { SOCEADDRINUSE,            EADDRINUSE      },</span>
<a name="l00996"></a>00996 <span class="comment">    { SOCEADDRNOTAVAIL,         EADDRNOTAVAIL   },</span>
<a name="l00997"></a>00997 <span class="comment">    { SOCENETDOWN,              ENETDOWN        },</span>
<a name="l00998"></a>00998 <span class="comment">    { SOCENETRESET,             ENETRESET       },</span>
<a name="l00999"></a>00999 <span class="comment">    { SOCENOBUFS,               ENOBUFS         },</span>
<a name="l01000"></a>01000 <span class="comment">    { SOCEISCONN,               EISCONN         },</span>
<a name="l01001"></a>01001 <span class="comment">    { SOCENOTCONN,              ENOTCONN        },</span>
<a name="l01002"></a>01002 <span class="comment">    { SOCESHUTDOWN,             ESHUTDOWN       },</span>
<a name="l01003"></a>01003 <span class="comment">    { SOCETOOMANYREFS,          ETOOMANYREFS    },</span>
<a name="l01004"></a>01004 <span class="comment">    { SOCELOOP,                 ELOOP           },</span>
<a name="l01005"></a>01005 <span class="comment">    { SOCEHOSTDOWN,             EHOSTDOWN       },</span>
<a name="l01006"></a>01006 <span class="comment">    { SOCENOTEMPTY,             ENOTEMPTY       },</span>
<a name="l01007"></a>01007 <span class="comment">    { SOCEPIPE,                 EPIPE           }</span>
<a name="l01008"></a>01008 <span class="comment">*/</span>
<a name="l01009"></a>01009 
<a name="l01010"></a>01010 <span class="preprocessor">#elif defined(WIN32) &amp;&amp; !defined(DOXYGEN) </span><span class="comment">/* !defined(OS2) */</span>
<a name="l01011"></a>01011 
<a name="l01012"></a>01012 <span class="preprocessor">#define APR_FROM_OS_ERROR(e) (e == 0 ? APR_SUCCESS : e + APR_OS_START_SYSERR)</span>
<a name="l01013"></a>01013 <span class="preprocessor"></span><span class="preprocessor">#define APR_TO_OS_ERROR(e)   (e == 0 ? APR_SUCCESS : e - APR_OS_START_SYSERR)</span>
<a name="l01014"></a>01014 <span class="preprocessor"></span>
<a name="l01015"></a>01015 <span class="preprocessor">#define apr_get_os_error()   (APR_FROM_OS_ERROR(GetLastError()))</span>
<a name="l01016"></a>01016 <span class="preprocessor"></span><span class="preprocessor">#define apr_set_os_error(e)  (SetLastError(APR_TO_OS_ERROR(e)))</span>
<a name="l01017"></a>01017 <span class="preprocessor"></span>
<a name="l01018"></a>01018 <span class="comment">/* A special case, only socket calls require this:</span>
<a name="l01019"></a>01019 <span class="comment"> */</span>
<a name="l01020"></a>01020 <span class="preprocessor">#define apr_get_netos_error()   (APR_FROM_OS_ERROR(WSAGetLastError()))</span>
<a name="l01021"></a>01021 <span class="preprocessor"></span><span class="preprocessor">#define apr_set_netos_error(e)   (WSASetLastError(APR_TO_OS_ERROR(e)))</span>
<a name="l01022"></a>01022 <span class="preprocessor"></span>
<a name="l01023"></a>01023 <span class="comment">/* APR CANONICAL ERROR TESTS */</span>
<a name="l01024"></a>01024 <span class="preprocessor">#define APR_STATUS_IS_EACCES(s)         ((s) == APR_EACCES \</span>
<a name="l01025"></a>01025 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_ACCESS_DENIED \</span>
<a name="l01026"></a>01026 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_CANNOT_MAKE \</span>
<a name="l01027"></a>01027 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_CURRENT_DIRECTORY \</span>
<a name="l01028"></a>01028 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_DRIVE_LOCKED \</span>
<a name="l01029"></a>01029 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_FAIL_I24 \</span>
<a name="l01030"></a>01030 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_LOCK_VIOLATION \</span>
<a name="l01031"></a>01031 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_LOCK_FAILED \</span>
<a name="l01032"></a>01032 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NOT_LOCKED \</span>
<a name="l01033"></a>01033 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NETWORK_ACCESS_DENIED \</span>
<a name="l01034"></a>01034 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_SHARING_VIOLATION)</span>
<a name="l01035"></a>01035 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EEXIST(s)         ((s) == APR_EEXIST \</span>
<a name="l01036"></a>01036 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_FILE_EXISTS \</span>
<a name="l01037"></a>01037 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_ALREADY_EXISTS)</span>
<a name="l01038"></a>01038 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENAMETOOLONG(s)   ((s) == APR_ENAMETOOLONG \</span>
<a name="l01039"></a>01039 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_FILENAME_EXCED_RANGE \</span>
<a name="l01040"></a>01040 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAENAMETOOLONG)</span>
<a name="l01041"></a>01041 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOENT(s)         ((s) == APR_ENOENT \</span>
<a name="l01042"></a>01042 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_FILE_NOT_FOUND \</span>
<a name="l01043"></a>01043 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_PATH_NOT_FOUND \</span>
<a name="l01044"></a>01044 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_OPEN_FAILED \</span>
<a name="l01045"></a>01045 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NO_MORE_FILES)</span>
<a name="l01046"></a>01046 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOTDIR(s)        ((s) == APR_ENOTDIR \</span>
<a name="l01047"></a>01047 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_PATH_NOT_FOUND \</span>
<a name="l01048"></a>01048 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_BAD_NETPATH \</span>
<a name="l01049"></a>01049 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_BAD_NET_NAME \</span>
<a name="l01050"></a>01050 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_BAD_PATHNAME \</span>
<a name="l01051"></a>01051 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_DRIVE \</span>
<a name="l01052"></a>01052 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_DIRECTORY)</span>
<a name="l01053"></a>01053 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOSPC(s)         ((s) == APR_ENOSPC \</span>
<a name="l01054"></a>01054 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_DISK_FULL)</span>
<a name="l01055"></a>01055 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOMEM(s)         ((s) == APR_ENOMEM \</span>
<a name="l01056"></a>01056 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_ARENA_TRASHED \</span>
<a name="l01057"></a>01057 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NOT_ENOUGH_MEMORY \</span>
<a name="l01058"></a>01058 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_BLOCK \</span>
<a name="l01059"></a>01059 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NOT_ENOUGH_QUOTA \</span>
<a name="l01060"></a>01060 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_OUTOFMEMORY)</span>
<a name="l01061"></a>01061 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EMFILE(s)         ((s) == APR_EMFILE \</span>
<a name="l01062"></a>01062 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_TOO_MANY_OPEN_FILES)</span>
<a name="l01063"></a>01063 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENFILE(s)         ((s) == APR_ENFILE)</span>
<a name="l01064"></a>01064 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EBADF(s)          ((s) == APR_EBADF \</span>
<a name="l01065"></a>01065 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_HANDLE \</span>
<a name="l01066"></a>01066 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_TARGET_HANDLE)</span>
<a name="l01067"></a>01067 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EINVAL(s)         ((s) == APR_EINVAL \</span>
<a name="l01068"></a>01068 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_ACCESS \</span>
<a name="l01069"></a>01069 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_DATA \</span>
<a name="l01070"></a>01070 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_FUNCTION \</span>
<a name="l01071"></a>01071 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_HANDLE \</span>
<a name="l01072"></a>01072 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_PARAMETER \</span>
<a name="l01073"></a>01073 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NEGATIVE_SEEK)</span>
<a name="l01074"></a>01074 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ESPIPE(s)         ((s) == APR_ESPIPE \</span>
<a name="l01075"></a>01075 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_SEEK_ON_DEVICE \</span>
<a name="l01076"></a>01076 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NEGATIVE_SEEK)</span>
<a name="l01077"></a>01077 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EAGAIN(s)         ((s) == APR_EAGAIN \</span>
<a name="l01078"></a>01078 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NO_DATA \</span>
<a name="l01079"></a>01079 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NO_PROC_SLOTS \</span>
<a name="l01080"></a>01080 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NESTING_NOT_ALLOWED \</span>
<a name="l01081"></a>01081 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_MAX_THRDS_REACHED \</span>
<a name="l01082"></a>01082 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_LOCK_VIOLATION \</span>
<a name="l01083"></a>01083 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAEWOULDBLOCK)</span>
<a name="l01084"></a>01084 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EINTR(s)          ((s) == APR_EINTR \</span>
<a name="l01085"></a>01085 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAEINTR)</span>
<a name="l01086"></a>01086 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOTSOCK(s)       ((s) == APR_ENOTSOCK \</span>
<a name="l01087"></a>01087 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAENOTSOCK)</span>
<a name="l01088"></a>01088 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ECONNREFUSED(s)   ((s) == APR_ECONNREFUSED \</span>
<a name="l01089"></a>01089 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAECONNREFUSED)</span>
<a name="l01090"></a>01090 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EINPROGRESS(s)    ((s) == APR_EINPROGRESS \</span>
<a name="l01091"></a>01091 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAEINPROGRESS)</span>
<a name="l01092"></a>01092 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ECONNABORTED(s)   ((s) == APR_ECONNABORTED \</span>
<a name="l01093"></a>01093 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAECONNABORTED)</span>
<a name="l01094"></a>01094 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ECONNRESET(s)     ((s) == APR_ECONNRESET \</span>
<a name="l01095"></a>01095 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NETNAME_DELETED \</span>
<a name="l01096"></a>01096 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAECONNRESET)</span>
<a name="l01097"></a>01097 <span class="preprocessor"></span><span class="comment">/* XXX deprecated */</span>
<a name="l01098"></a>01098 <span class="preprocessor">#define APR_STATUS_IS_ETIMEDOUT(s)         ((s) == APR_ETIMEDOUT \</span>
<a name="l01099"></a>01099 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAETIMEDOUT \</span>
<a name="l01100"></a>01100 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WAIT_TIMEOUT)</span>
<a name="l01101"></a>01101 <span class="preprocessor"></span><span class="preprocessor">#undef APR_STATUS_IS_TIMEUP</span>
<a name="l01102"></a>01102 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_TIMEUP(s)         ((s) == APR_TIMEUP \</span>
<a name="l01103"></a>01103 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAETIMEDOUT \</span>
<a name="l01104"></a>01104 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WAIT_TIMEOUT)</span>
<a name="l01105"></a>01105 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EHOSTUNREACH(s)   ((s) == APR_EHOSTUNREACH \</span>
<a name="l01106"></a>01106 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAEHOSTUNREACH)</span>
<a name="l01107"></a>01107 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENETUNREACH(s)    ((s) == APR_ENETUNREACH \</span>
<a name="l01108"></a>01108 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAENETUNREACH)</span>
<a name="l01109"></a>01109 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EFTYPE(s)         ((s) == APR_EFTYPE \</span>
<a name="l01110"></a>01110 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_EXE_MACHINE_TYPE_MISMATCH \</span>
<a name="l01111"></a>01111 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_DLL \</span>
<a name="l01112"></a>01112 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_MODULETYPE \</span>
<a name="l01113"></a>01113 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_BAD_EXE_FORMAT \</span>
<a name="l01114"></a>01114 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_EXE_SIGNATURE \</span>
<a name="l01115"></a>01115 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_FILE_CORRUPT \</span>
<a name="l01116"></a>01116 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_BAD_FORMAT)</span>
<a name="l01117"></a>01117 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EPIPE(s)          ((s) == APR_EPIPE \</span>
<a name="l01118"></a>01118 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_BROKEN_PIPE)</span>
<a name="l01119"></a>01119 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EXDEV(s)          ((s) == APR_EXDEV \</span>
<a name="l01120"></a>01120 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_NOT_SAME_DEVICE)</span>
<a name="l01121"></a>01121 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOTEMPTY(s)      ((s) == APR_ENOTEMPTY \</span>
<a name="l01122"></a>01122 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + ERROR_DIR_NOT_EMPTY)</span>
<a name="l01123"></a>01123 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EAFNOSUPPORT(s)   ((s) == APR_EAFNOSUPPORT \</span>
<a name="l01124"></a>01124 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAEAFNOSUPPORT)</span>
<a name="l01125"></a>01125 <span class="preprocessor"></span>
<a name="l01126"></a>01126 <span class="preprocessor">#elif defined(NETWARE) &amp;&amp; defined(USE_WINSOCK) &amp;&amp; !defined(DOXYGEN) </span><span class="comment">/* !defined(OS2) &amp;&amp; !defined(WIN32) */</span>
<a name="l01127"></a>01127 
<a name="l01128"></a>01128 <span class="preprocessor">#define APR_FROM_OS_ERROR(e) (e == 0 ? APR_SUCCESS : e + APR_OS_START_SYSERR)</span>
<a name="l01129"></a>01129 <span class="preprocessor"></span><span class="preprocessor">#define APR_TO_OS_ERROR(e)   (e == 0 ? APR_SUCCESS : e - APR_OS_START_SYSERR)</span>
<a name="l01130"></a>01130 <span class="preprocessor"></span>
<a name="l01131"></a>01131 <span class="preprocessor">#define apr_get_os_error()    (errno)</span>
<a name="l01132"></a>01132 <span class="preprocessor"></span><span class="preprocessor">#define apr_set_os_error(e)   (errno = (e))</span>
<a name="l01133"></a>01133 <span class="preprocessor"></span>
<a name="l01134"></a>01134 <span class="comment">/* A special case, only socket calls require this: */</span>
<a name="l01135"></a>01135 <span class="preprocessor">#define apr_get_netos_error()   (APR_FROM_OS_ERROR(WSAGetLastError()))</span>
<a name="l01136"></a>01136 <span class="preprocessor"></span><span class="preprocessor">#define apr_set_netos_error(e)  (WSASetLastError(APR_TO_OS_ERROR(e)))</span>
<a name="l01137"></a>01137 <span class="preprocessor"></span>
<a name="l01138"></a>01138 <span class="comment">/* APR CANONICAL ERROR TESTS */</span>
<a name="l01139"></a>01139 <span class="preprocessor">#define APR_STATUS_IS_EACCES(s)         ((s) == APR_EACCES)</span>
<a name="l01140"></a>01140 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EEXIST(s)         ((s) == APR_EEXIST)</span>
<a name="l01141"></a>01141 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENAMETOOLONG(s)   ((s) == APR_ENAMETOOLONG)</span>
<a name="l01142"></a>01142 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOENT(s)         ((s) == APR_ENOENT)</span>
<a name="l01143"></a>01143 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOTDIR(s)        ((s) == APR_ENOTDIR)</span>
<a name="l01144"></a>01144 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOSPC(s)         ((s) == APR_ENOSPC)</span>
<a name="l01145"></a>01145 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOMEM(s)         ((s) == APR_ENOMEM)</span>
<a name="l01146"></a>01146 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EMFILE(s)         ((s) == APR_EMFILE)</span>
<a name="l01147"></a>01147 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENFILE(s)         ((s) == APR_ENFILE)</span>
<a name="l01148"></a>01148 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EBADF(s)          ((s) == APR_EBADF)</span>
<a name="l01149"></a>01149 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EINVAL(s)         ((s) == APR_EINVAL)</span>
<a name="l01150"></a>01150 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ESPIPE(s)         ((s) == APR_ESPIPE)</span>
<a name="l01151"></a>01151 <span class="preprocessor"></span>
<a name="l01152"></a>01152 <span class="preprocessor">#define APR_STATUS_IS_EAGAIN(s)         ((s) == APR_EAGAIN \</span>
<a name="l01153"></a>01153 <span class="preprocessor">                || (s) ==                       EWOULDBLOCK \</span>
<a name="l01154"></a>01154 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAEWOULDBLOCK)</span>
<a name="l01155"></a>01155 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EINTR(s)          ((s) == APR_EINTR \</span>
<a name="l01156"></a>01156 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAEINTR)</span>
<a name="l01157"></a>01157 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOTSOCK(s)       ((s) == APR_ENOTSOCK \</span>
<a name="l01158"></a>01158 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAENOTSOCK)</span>
<a name="l01159"></a>01159 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ECONNREFUSED(s)   ((s) == APR_ECONNREFUSED \</span>
<a name="l01160"></a>01160 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAECONNREFUSED)</span>
<a name="l01161"></a>01161 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EINPROGRESS(s)    ((s) == APR_EINPROGRESS \</span>
<a name="l01162"></a>01162 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAEINPROGRESS)</span>
<a name="l01163"></a>01163 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ECONNABORTED(s)   ((s) == APR_ECONNABORTED \</span>
<a name="l01164"></a>01164 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAECONNABORTED)</span>
<a name="l01165"></a>01165 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ECONNRESET(s)     ((s) == APR_ECONNRESET \</span>
<a name="l01166"></a>01166 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAECONNRESET)</span>
<a name="l01167"></a>01167 <span class="preprocessor"></span><span class="comment">/* XXX deprecated */</span>
<a name="l01168"></a>01168 <span class="preprocessor">#define APR_STATUS_IS_ETIMEDOUT(s)       ((s) == APR_ETIMEDOUT \</span>
<a name="l01169"></a>01169 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAETIMEDOUT \</span>
<a name="l01170"></a>01170 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WAIT_TIMEOUT)</span>
<a name="l01171"></a>01171 <span class="preprocessor"></span><span class="preprocessor">#undef APR_STATUS_IS_TIMEUP</span>
<a name="l01172"></a>01172 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_TIMEUP(s)         ((s) == APR_TIMEUP \</span>
<a name="l01173"></a>01173 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAETIMEDOUT \</span>
<a name="l01174"></a>01174 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WAIT_TIMEOUT)</span>
<a name="l01175"></a>01175 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EHOSTUNREACH(s)   ((s) == APR_EHOSTUNREACH \</span>
<a name="l01176"></a>01176 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAEHOSTUNREACH)</span>
<a name="l01177"></a>01177 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENETUNREACH(s)    ((s) == APR_ENETUNREACH \</span>
<a name="l01178"></a>01178 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAENETUNREACH)</span>
<a name="l01179"></a>01179 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENETDOWN(s)       ((s) == APR_OS_START_SYSERR + WSAENETDOWN)</span>
<a name="l01180"></a>01180 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EFTYPE(s)         ((s) == APR_EFTYPE)</span>
<a name="l01181"></a>01181 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EPIPE(s)          ((s) == APR_EPIPE)</span>
<a name="l01182"></a>01182 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EXDEV(s)          ((s) == APR_EXDEV)</span>
<a name="l01183"></a>01183 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOTEMPTY(s)      ((s) == APR_ENOTEMPTY)</span>
<a name="l01184"></a>01184 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EAFNOSUPPORT(s)   ((s) == APR_EAFNOSUPPORT \</span>
<a name="l01185"></a>01185 <span class="preprocessor">                || (s) == APR_OS_START_SYSERR + WSAEAFNOSUPPORT)</span>
<a name="l01186"></a>01186 <span class="preprocessor"></span>
<a name="l01187"></a>01187 <span class="preprocessor">#else </span><span class="comment">/* !defined(NETWARE) &amp;&amp; !defined(OS2) &amp;&amp; !defined(WIN32) */</span>
<a name="l01188"></a>01188 
<a name="l01189"></a>01189 <span class="comment">/*</span>
<a name="l01190"></a>01190 <span class="comment"> *  os error codes are clib error codes</span>
<a name="l01191"></a>01191 <span class="comment"> */</span>
<a name="l01192"></a><a class="code" href="group__apr__errno.html#ga2096daff578ef301e060b80c7a4525bf">01192</a> <span class="preprocessor">#define APR_FROM_OS_ERROR(e)  (e)</span>
<a name="l01193"></a><a class="code" href="group__apr__errno.html#ga2385cae04b04afbdcb65f1a45c4d8506">01193</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_TO_OS_ERROR(e)    (e)</span>
<a name="l01194"></a>01194 <span class="preprocessor"></span>
<a name="l01195"></a><a class="code" href="group__apr__errno.html#gaa76e122da00af0ce2e8c8d7ff538bdfa">01195</a> <span class="preprocessor">#define apr_get_os_error()    (errno)</span>
<a name="l01196"></a><a class="code" href="group__apr__errno.html#ga9a2d9a03ad314b03a142574be6d7d8a7">01196</a> <span class="preprocessor"></span><span class="preprocessor">#define apr_set_os_error(e)   (errno = (e))</span>
<a name="l01197"></a>01197 <span class="preprocessor"></span>
<a name="l01198"></a>01198 <span class="comment">/* A special case, only socket calls require this:</span>
<a name="l01199"></a>01199 <span class="comment"> */</span>
<a name="l01200"></a><a class="code" href="group__apr__errno.html#ga66e54f155b4a80ac7df9118af9bd896a">01200</a> <span class="preprocessor">#define apr_get_netos_error() (errno)</span>
<a name="l01201"></a><a class="code" href="group__apr__errno.html#gaafc38481621653ece6f592f9c5a9a09b">01201</a> <span class="preprocessor"></span><span class="preprocessor">#define apr_set_netos_error(e) (errno = (e))</span>
<a name="l01202"></a>01202 <span class="preprocessor"></span><span class="comment"></span>
<a name="l01203"></a>01203 <span class="comment">/**</span>
<a name="l01204"></a>01204 <span class="comment"> * @addtogroup APR_STATUS_IS</span>
<a name="l01205"></a>01205 <span class="comment"> * @{</span>
<a name="l01206"></a>01206 <span class="comment"> */</span>
<a name="l01207"></a>01207 <span class="comment"></span>
<a name="l01208"></a>01208 <span class="comment">/** permission denied */</span>
<a name="l01209"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga61e7a9958689dec6da6279f0cb6073ca">01209</a> <span class="preprocessor">#define APR_STATUS_IS_EACCES(s)         ((s) == APR_EACCES)</span>
<a name="l01210"></a>01210 <span class="preprocessor"></span><span class="comment">/** file exists */</span>
<a name="l01211"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga37707a0f41b084f1ce1a13575f4f21db">01211</a> <span class="preprocessor">#define APR_STATUS_IS_EEXIST(s)         ((s) == APR_EEXIST)</span>
<a name="l01212"></a>01212 <span class="preprocessor"></span><span class="comment">/** path name is too long */</span>
<a name="l01213"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gad39fb68ea626722634f81a764b3626df">01213</a> <span class="preprocessor">#define APR_STATUS_IS_ENAMETOOLONG(s)   ((s) == APR_ENAMETOOLONG)</span>
<a name="l01214"></a>01214 <span class="preprocessor"></span><span class="comment">/**</span>
<a name="l01215"></a>01215 <span class="comment"> * no such file or directory</span>
<a name="l01216"></a>01216 <span class="comment"> * @remark</span>
<a name="l01217"></a>01217 <span class="comment"> * EMVSCATLG can be returned by the automounter on z/OS for</span>
<a name="l01218"></a>01218 <span class="comment"> * paths which do not exist.</span>
<a name="l01219"></a>01219 <span class="comment"> */</span>
<a name="l01220"></a>01220 <span class="preprocessor">#ifdef EMVSCATLG</span>
<a name="l01221"></a>01221 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOENT(s)         ((s) == APR_ENOENT \</span>
<a name="l01222"></a>01222 <span class="preprocessor">                                      || (s) == EMVSCATLG)</span>
<a name="l01223"></a>01223 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l01224"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gad15c3b9bda78a88c02466a0d405c6047">01224</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOENT(s)         ((s) == APR_ENOENT)</span>
<a name="l01225"></a>01225 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l01226"></a>01226 <span class="preprocessor"></span><span class="comment">/** not a directory */</span>
<a name="l01227"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gace6923483aa351b05b8f41e0bdb1df60">01227</a> <span class="preprocessor">#define APR_STATUS_IS_ENOTDIR(s)        ((s) == APR_ENOTDIR)</span>
<a name="l01228"></a>01228 <span class="preprocessor"></span><span class="comment">/** no space left on device */</span>
<a name="l01229"></a>01229 <span class="preprocessor">#ifdef EDQUOT</span>
<a name="l01230"></a>01230 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOSPC(s)         ((s) == APR_ENOSPC \</span>
<a name="l01231"></a>01231 <span class="preprocessor">                                      || (s) == EDQUOT)</span>
<a name="l01232"></a>01232 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l01233"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga5c77e7bb1de1b6ec319f2a42eb80be1e">01233</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ENOSPC(s)         ((s) == APR_ENOSPC)</span>
<a name="l01234"></a>01234 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l01235"></a>01235 <span class="preprocessor"></span><span class="comment">/** not enough memory */</span>
<a name="l01236"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga38ab0ab9f00c849f24aae626f5118fce">01236</a> <span class="preprocessor">#define APR_STATUS_IS_ENOMEM(s)         ((s) == APR_ENOMEM)</span>
<a name="l01237"></a>01237 <span class="preprocessor"></span><span class="comment">/** too many open files */</span>
<a name="l01238"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gae50825e6293023c570a92d185b38e393">01238</a> <span class="preprocessor">#define APR_STATUS_IS_EMFILE(s)         ((s) == APR_EMFILE)</span>
<a name="l01239"></a>01239 <span class="preprocessor"></span><span class="comment">/** file table overflow */</span>
<a name="l01240"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga4274ec4c91423ae54ab8a1d53991fb76">01240</a> <span class="preprocessor">#define APR_STATUS_IS_ENFILE(s)         ((s) == APR_ENFILE)</span>
<a name="l01241"></a>01241 <span class="preprocessor"></span><span class="comment">/** bad file # */</span>
<a name="l01242"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gaa843153a73806cca500287940e9f175f">01242</a> <span class="preprocessor">#define APR_STATUS_IS_EBADF(s)          ((s) == APR_EBADF)</span>
<a name="l01243"></a>01243 <span class="preprocessor"></span><span class="comment">/** invalid argument */</span>
<a name="l01244"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga3f620bb28c1c7f6fd3412dac2137d0fd">01244</a> <span class="preprocessor">#define APR_STATUS_IS_EINVAL(s)         ((s) == APR_EINVAL)</span>
<a name="l01245"></a>01245 <span class="preprocessor"></span><span class="comment">/** illegal seek */</span>
<a name="l01246"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gac9b1e593377ac3b93b259f30f04a1185">01246</a> <span class="preprocessor">#define APR_STATUS_IS_ESPIPE(s)         ((s) == APR_ESPIPE)</span>
<a name="l01247"></a>01247 <span class="preprocessor"></span><span class="comment"></span>
<a name="l01248"></a>01248 <span class="comment">/** operation would block */</span>
<a name="l01249"></a>01249 <span class="preprocessor">#if !defined(EWOULDBLOCK) || !defined(EAGAIN)</span>
<a name="l01250"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga9dd578bfcd76a2d997395608ae5b3a4e">01250</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EAGAIN(s)         ((s) == APR_EAGAIN)</span>
<a name="l01251"></a>01251 <span class="preprocessor"></span><span class="preprocessor">#elif (EWOULDBLOCK == EAGAIN)</span>
<a name="l01252"></a>01252 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EAGAIN(s)         ((s) == APR_EAGAIN)</span>
<a name="l01253"></a>01253 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l01254"></a>01254 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_EAGAIN(s)         ((s) == APR_EAGAIN \</span>
<a name="l01255"></a>01255 <span class="preprocessor">                                      || (s) == EWOULDBLOCK)</span>
<a name="l01256"></a>01256 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l01257"></a>01257 <span class="preprocessor"></span><span class="comment"></span>
<a name="l01258"></a>01258 <span class="comment">/** interrupted system call */</span>
<a name="l01259"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga30615baf6479221e44870c620e372b5b">01259</a> <span class="preprocessor">#define APR_STATUS_IS_EINTR(s)          ((s) == APR_EINTR)</span>
<a name="l01260"></a>01260 <span class="preprocessor"></span><span class="comment">/** socket operation on a non-socket */</span>
<a name="l01261"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga7b7807755d3d6f24e9978337b9faa5a1">01261</a> <span class="preprocessor">#define APR_STATUS_IS_ENOTSOCK(s)       ((s) == APR_ENOTSOCK)</span>
<a name="l01262"></a>01262 <span class="preprocessor"></span><span class="comment">/** Connection Refused */</span>
<a name="l01263"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga4decf55c5cea9660a44fed0c74265ee6">01263</a> <span class="preprocessor">#define APR_STATUS_IS_ECONNREFUSED(s)   ((s) == APR_ECONNREFUSED)</span>
<a name="l01264"></a>01264 <span class="preprocessor"></span><span class="comment">/** operation now in progress */</span>
<a name="l01265"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga777e9ba36fe05ac8002113a9597073ea">01265</a> <span class="preprocessor">#define APR_STATUS_IS_EINPROGRESS(s)    ((s) == APR_EINPROGRESS)</span>
<a name="l01266"></a>01266 <span class="preprocessor"></span><span class="comment"></span>
<a name="l01267"></a>01267 <span class="comment">/**</span>
<a name="l01268"></a>01268 <span class="comment"> * Software caused connection abort</span>
<a name="l01269"></a>01269 <span class="comment"> * @remark</span>
<a name="l01270"></a>01270 <span class="comment"> * EPROTO on certain older kernels really means ECONNABORTED, so we need to</span>
<a name="l01271"></a>01271 <span class="comment"> * ignore it for them.  See discussion in new-httpd archives nh.9701 &amp; nh.9603</span>
<a name="l01272"></a>01272 <span class="comment"> *</span>
<a name="l01273"></a>01273 <span class="comment"> * There is potentially a bug in Solaris 2.x x&lt;6, and other boxes that</span>
<a name="l01274"></a>01274 <span class="comment"> * implement tcp sockets in userland (i.e. on top of STREAMS).  On these</span>
<a name="l01275"></a>01275 <span class="comment"> * systems, EPROTO can actually result in a fatal loop.  See PR#981 for</span>
<a name="l01276"></a>01276 <span class="comment"> * example.  It&#39;s hard to handle both uses of EPROTO.</span>
<a name="l01277"></a>01277 <span class="comment"> */</span>
<a name="l01278"></a>01278 <span class="preprocessor">#ifdef EPROTO</span>
<a name="l01279"></a>01279 <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ECONNABORTED(s)    ((s) == APR_ECONNABORTED \</span>
<a name="l01280"></a>01280 <span class="preprocessor">                                       || (s) == EPROTO)</span>
<a name="l01281"></a>01281 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l01282"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga528a8032b13c75fbdeb9bf7e4c0be493">01282</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_STATUS_IS_ECONNABORTED(s)    ((s) == APR_ECONNABORTED)</span>
<a name="l01283"></a>01283 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l01284"></a>01284 <span class="preprocessor"></span><span class="comment"></span>
<a name="l01285"></a>01285 <span class="comment">/** Connection Reset by peer */</span>
<a name="l01286"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga85e2cb1b4c904a9edfbc0d94203f76b6">01286</a> <span class="preprocessor">#define APR_STATUS_IS_ECONNRESET(s)      ((s) == APR_ECONNRESET)</span>
<a name="l01287"></a>01287 <span class="preprocessor"></span><span class="comment">/** Operation timed out</span>
<a name="l01288"></a>01288 <span class="comment"> *  @deprecated */</span>
<a name="l01289"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga6adc2f539eabedb504294458be4f6251">01289</a> <span class="preprocessor">#define APR_STATUS_IS_ETIMEDOUT(s)      ((s) == APR_ETIMEDOUT)</span>
<a name="l01290"></a>01290 <span class="preprocessor"></span><span class="comment">/** no route to host */</span>
<a name="l01291"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gad9307ff02e50296c528b79a670dc80bb">01291</a> <span class="preprocessor">#define APR_STATUS_IS_EHOSTUNREACH(s)    ((s) == APR_EHOSTUNREACH)</span>
<a name="l01292"></a>01292 <span class="preprocessor"></span><span class="comment">/** network is unreachable */</span>
<a name="l01293"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga19911958b3dd62559fb6c245ec579c27">01293</a> <span class="preprocessor">#define APR_STATUS_IS_ENETUNREACH(s)     ((s) == APR_ENETUNREACH)</span>
<a name="l01294"></a>01294 <span class="preprocessor"></span><span class="comment">/** inappropiate file type or format */</span>
<a name="l01295"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gaf37f4f8f6c929728bf55b927576bdb69">01295</a> <span class="preprocessor">#define APR_STATUS_IS_EFTYPE(s)          ((s) == APR_EFTYPE)</span>
<a name="l01296"></a>01296 <span class="preprocessor"></span><span class="comment">/** broken pipe */</span>
<a name="l01297"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gad1c0cf4e5619025a87c8edfc668d49f6">01297</a> <span class="preprocessor">#define APR_STATUS_IS_EPIPE(s)           ((s) == APR_EPIPE)</span>
<a name="l01298"></a>01298 <span class="preprocessor"></span><span class="comment">/** cross device link */</span>
<a name="l01299"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga1a11d6ff007e40f93f9db1b3c6e76617">01299</a> <span class="preprocessor">#define APR_STATUS_IS_EXDEV(s)           ((s) == APR_EXDEV)</span>
<a name="l01300"></a>01300 <span class="preprocessor"></span><span class="comment">/** Directory Not Empty */</span>
<a name="l01301"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga6cced4e794d3e7ed6dae3e53c337cc02">01301</a> <span class="preprocessor">#define APR_STATUS_IS_ENOTEMPTY(s)       ((s) == APR_ENOTEMPTY || \</span>
<a name="l01302"></a>01302 <span class="preprocessor">                                          (s) == APR_EEXIST)</span>
<a name="l01303"></a>01303 <span class="preprocessor"></span><span class="comment">/** Address Family not supported */</span>
<a name="l01304"></a><a class="code" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga9309aade5bd335ac5233170e8c120cb9">01304</a> <span class="preprocessor">#define APR_STATUS_IS_EAFNOSUPPORT(s)    ((s) == APR_EAFNOSUPPORT)</span>
<a name="l01305"></a>01305 <span class="preprocessor"></span><span class="comment">/** @} */</span>
<a name="l01306"></a>01306 
<a name="l01307"></a>01307 <span class="preprocessor">#endif </span><span class="comment">/* !defined(NETWARE) &amp;&amp; !defined(OS2) &amp;&amp; !defined(WIN32) */</span>
<a name="l01308"></a>01308 <span class="comment"></span>
<a name="l01309"></a>01309 <span class="comment">/** @} */</span>
<a name="l01310"></a>01310 
<a name="l01311"></a>01311 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l01312"></a>01312 <span class="preprocessor"></span>}
<a name="l01313"></a>01313 <span class="preprocessor">#endif</span>
<a name="l01314"></a>01314 <span class="preprocessor"></span>
<a name="l01315"></a>01315 <span class="preprocessor">#endif  </span><span class="comment">/* ! APR_ERRNO_H */</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generated on Tue Feb 14 10:09:01 2012 for Apache Portable Runtime by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>