Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > 4f37b923758ceff94a2c0ccca62b4b43 > files > 124

libapr1-devel-1.1.1-1mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Apache Portable Runtime: apr_want.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">home</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.html">oden</a>&nbsp;/&nbsp;<a class="el" href="dir_000002.html">RPM</a>&nbsp;/&nbsp;<a class="el" href="dir_000003.html">BUILD</a>&nbsp;/&nbsp;<a class="el" href="dir_000004.html">apr-1.1.1</a>&nbsp;/&nbsp;<a class="el" href="dir_000005.html">include</a></div>
<h1>apr_want.h</h1><a href="apr__want_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/* Copyright 2000-2004 The Apache Software Foundation</span>
00002 <span class="comment"> *</span>
00003 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span>
00004 <span class="comment"> * you may not use this file except in compliance with the License.</span>
00005 <span class="comment"> * You may obtain a copy of the License at</span>
00006 <span class="comment"> *</span>
00007 <span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span>
00008 <span class="comment"> *</span>
00009 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
00010 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
00011 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
00012 <span class="comment"> * See the License for the specific language governing permissions and</span>
00013 <span class="comment"> * limitations under the License.</span>
00014 <span class="comment"> */</span>
00015 
00016 <span class="preprocessor">#include "<a class="code" href="apr_8h.html">apr.h</a>"</span>        <span class="comment">/* configuration data */</span><span class="comment"></span>
00017 <span class="comment">/**</span>
00018 <span class="comment"> * @file apr_want.h</span>
00019 <span class="comment"> * @brief APR Standard Headers Support</span>
00020 <span class="comment"> *</span>
00021 <span class="comment"> * &lt;PRE&gt;</span>
00022 <span class="comment"> * Features:</span>
00023 <span class="comment"> *</span>
00024 <span class="comment"> *   APR_WANT_STRFUNC:  strcmp, strcat, strcpy, etc</span>
00025 <span class="comment"> *   APR_WANT_MEMFUNC:  memcmp, memcpy, etc</span>
00026 <span class="comment"> *   APR_WANT_STDIO:    &lt;stdio.h&gt; and related bits</span>
00027 <span class="comment"> *   APR_WANT_IOVEC:    struct iovec</span>
00028 <span class="comment"> *   APR_WANT_BYTEFUNC: htons, htonl, ntohl, ntohs</span>
00029 <span class="comment"> *</span>
00030 <span class="comment"> * Typical usage:</span>
00031 <span class="comment"> *</span>
00032 <span class="comment"> *   #define APR_WANT_STRFUNC</span>
00033 <span class="comment"> *   #define APR_WANT_MEMFUNC</span>
00034 <span class="comment"> *   #include "apr_want.h"</span>
00035 <span class="comment"> *</span>
00036 <span class="comment"> * The appropriate headers will be included.</span>
00037 <span class="comment"> *</span>
00038 <span class="comment"> * Note: it is safe to use this in a header (it won't interfere with other</span>
00039 <span class="comment"> *       headers' or source files' use of apr_want.h)</span>
00040 <span class="comment"> * &lt;/PRE&gt;</span>
00041 <span class="comment"> */</span>
00042 
00043 <span class="comment">/* --------------------------------------------------------------------- */</span>
00044 
00045 <span class="preprocessor">#ifdef APR_WANT_STRFUNC</span>
00046 <span class="preprocessor"></span>
00047 <span class="preprocessor">#if APR_HAVE_STRING_H</span>
00048 <span class="preprocessor"></span><span class="preprocessor">#include &lt;string.h&gt;</span>
00049 <span class="preprocessor">#endif</span>
00050 <span class="preprocessor"></span><span class="preprocessor">#if APR_HAVE_STRINGS_H</span>
00051 <span class="preprocessor"></span><span class="preprocessor">#include &lt;strings.h&gt;</span>
00052 <span class="preprocessor">#endif</span>
00053 <span class="preprocessor"></span>
00054 <span class="preprocessor">#undef APR_WANT_STRFUNC</span>
00055 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
00056 <span class="preprocessor"></span>
00057 <span class="comment">/* --------------------------------------------------------------------- */</span>
00058 
00059 <span class="preprocessor">#ifdef APR_WANT_MEMFUNC</span>
00060 <span class="preprocessor"></span>
00061 <span class="preprocessor">#if APR_HAVE_STRING_H</span>
00062 <span class="preprocessor"></span><span class="preprocessor">#include &lt;string.h&gt;</span>
00063 <span class="preprocessor">#endif</span>
00064 <span class="preprocessor"></span>
00065 <span class="preprocessor">#undef APR_WANT_MEMFUNC</span>
00066 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
00067 <span class="preprocessor"></span>
00068 <span class="comment">/* --------------------------------------------------------------------- */</span>
00069 
00070 <span class="preprocessor">#ifdef APR_WANT_STDIO</span>
00071 <span class="preprocessor"></span>
00072 <span class="preprocessor">#if APR_HAVE_STDIO_H</span>
00073 <span class="preprocessor"></span><span class="preprocessor">#include &lt;stdio.h&gt;</span>
00074 <span class="preprocessor">#endif</span>
00075 <span class="preprocessor"></span>
00076 <span class="preprocessor">#undef APR_WANT_STDIO</span>
00077 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
00078 <span class="preprocessor"></span>
00079 <span class="comment">/* --------------------------------------------------------------------- */</span>
00080 
00081 <span class="preprocessor">#ifdef APR_WANT_IOVEC</span>
00082 <span class="preprocessor"></span>
00083 <span class="preprocessor">#if APR_HAVE_SYS_UIO_H</span>
00084 <span class="preprocessor"></span><span class="preprocessor">#include &lt;sys/uio.h&gt;</span>
00085 <span class="preprocessor">#endif</span>
00086 <span class="preprocessor"></span>
00087 <span class="preprocessor">#undef APR_WANT_IOVEC</span>
00088 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
00089 <span class="preprocessor"></span>
00090 <span class="comment">/* --------------------------------------------------------------------- */</span>
00091 
00092 <span class="preprocessor">#ifdef APR_WANT_BYTEFUNC</span>
00093 <span class="preprocessor"></span>
00094 <span class="comment">/* Single Unix says they are in arpa/inet.h.  Linux has them in</span>
00095 <span class="comment"> * netinet/in.h.  FreeBSD has them in arpa/inet.h but requires that</span>
00096 <span class="comment"> * netinet/in.h be included first.</span>
00097 <span class="comment"> */</span>
00098 <span class="preprocessor">#if APR_HAVE_NETINET_IN_H</span>
00099 <span class="preprocessor"></span><span class="preprocessor">#include &lt;netinet/in.h&gt;</span>
00100 <span class="preprocessor">#endif</span>
00101 <span class="preprocessor"></span><span class="preprocessor">#if APR_HAVE_ARPA_INET_H</span>
00102 <span class="preprocessor"></span><span class="preprocessor">#include &lt;arpa/inet.h&gt;</span>
00103 <span class="preprocessor">#endif</span>
00104 <span class="preprocessor"></span>
00105 <span class="preprocessor">#undef APR_WANT_BYTEFUNC</span>
00106 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
00107 <span class="preprocessor"></span>
00108 <span class="comment">/* --------------------------------------------------------------------- */</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Mar 20 19:52:26 2005 for Apache Portable Runtime by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>