Modified: apr/site/trunk/docs/docs/apr/apr__network__io_8h.html URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr/apr__network__io_8h.html?view=diff&r1=151767&r2=151768 ============================================================================== --- apr/site/trunk/docs/docs/apr/apr__network__io_8h.html (original) +++ apr/site/trunk/docs/docs/apr/apr__network__io_8h.html Mon Feb 7 15:10:17 2005 @@ -3,9 +3,10 @@ <title>Apache Portable Runtime: apr_network_io.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> -<!-- Generated by Doxygen 1.3.8 --> +<!-- Generated by Doxygen 1.3.7 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div> -<h1>apr_network_io.h File Reference</h1>APR Network library. <a href="#_details">More...</a> +<h1>apr_network_io.h File Reference</h1>APR Network library. +<a href="#_details">More...</a> <p> <code>#include "apr.h"</code><br> <code>#include "<a class="el" href="apr__pools_8h-source.html">apr_pools.h</a>"</code><br> @@ -30,37 +31,39 @@ <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__network__io.html#ga43">APR_ANYADDR</a> "0.0.0.0"</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga0">APR_SO_LINGER</a> 1</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga0">APR_SO_LINGER</a> 1 /**< Linger */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga1">APR_SO_KEEPALIVE</a> 2</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga1">APR_SO_KEEPALIVE</a> 2 /**< Keepalive */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga2">APR_SO_DEBUG</a> 4</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga2">APR_SO_DEBUG</a> 4 /**< Debug */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga3">APR_SO_NONBLOCK</a> 8</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga3">APR_SO_NONBLOCK</a> 8 /**< Non-blocking IO */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga4">APR_SO_REUSEADDR</a> 16</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga4">APR_SO_REUSEADDR</a> 16 /**< Reuse addresses */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga5">APR_SO_SNDBUF</a> 64</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga5">APR_SO_SNDBUF</a> 64 /**< Send buffer */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga6">APR_SO_RCVBUF</a> 128</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga6">APR_SO_RCVBUF</a> 128 /**< Receive buffer */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga7">APR_SO_DISCONNECTED</a> 256</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga7">APR_SO_DISCONNECTED</a> 256 /**< Disconnected */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga8">APR_TCP_NODELAY</a> 512</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga8">APR_TCP_NODELAY</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga9">APR_TCP_NOPUSH</a> 1024</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga9">APR_TCP_NOPUSH</a> 1024 /**< No push */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga10">APR_RESET_NODELAY</a> 2048</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga10">APR_RESET_NODELAY</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga11">APR_INCOMPLETE_READ</a> 4096</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga11">APR_INCOMPLETE_READ</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga12">APR_INCOMPLETE_WRITE</a> 8192</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga12">APR_INCOMPLETE_WRITE</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga13">APR_IPV6_V6ONLY</a> 16384</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga13">APR_IPV6_V6ONLY</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__network__io.html#ga44">APR_IPV4_ADDR_OK</a> 0x01</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__sockopt.html#ga14">APR_TCP_DEFER_ACCEPT</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__network__io.html#ga45">APR_IPV6_ADDR_OK</a> 0x02</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__network__io.html#ga44">APR_IPV4_ADDR_OK</a> 0x01 /**< @see apr_sockaddr_info_get() */</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__network__io.html#ga45">APR_IPV6_ADDR_OK</a> 0x02 /**< @see apr_sockaddr_info_get() */</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__network__io.html#ga46">APR_INADDR_NONE</a> ((unsigned int) 0xffffffff)</td></tr> @@ -68,11 +71,11 @@ <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__network__io.html#ga48">APR_UNSPEC</a> 0</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group___i_p___proto.html#ga0">APR_PROTO_TCP</a> 6</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group___i_p___proto.html#ga0">APR_PROTO_TCP</a> 6 /**< TCP */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group___i_p___proto.html#ga1">APR_PROTO_UDP</a> 17</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group___i_p___proto.html#ga1">APR_PROTO_UDP</a> 17 /**< UDP */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group___i_p___proto.html#ga2">APR_PROTO_SCTP</a> 132</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group___i_p___proto.html#ga2">APR_PROTO_SCTP</a> 132 /**< SCTP */</td></tr> <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a></td></tr> @@ -88,9 +91,9 @@ <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="structapr__sockaddr__t.html">apr_sockaddr_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__network__io.html#ga5">apr_sockaddr_t</a></td></tr> <tr><td colspan=2><br><h2>Enumerations</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__network__io.html#ga49">apr_shutdown_how_e</a> { <a class="el" href="group__apr__network__io.html#gga49a31">APR_SHUTDOWN_READ</a>, -<a class="el" href="group__apr__network__io.html#gga49a32">APR_SHUTDOWN_WRITE</a>, -<a class="el" href="group__apr__network__io.html#gga49a33">APR_SHUTDOWN_READWRITE</a> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__network__io.html#ga49">apr_shutdown_how_e</a> { <a class="el" href="group__apr__network__io.html#gga49a32">APR_SHUTDOWN_READ</a>, +<a class="el" href="group__apr__network__io.html#gga49a33">APR_SHUTDOWN_WRITE</a>, +<a class="el" href="group__apr__network__io.html#gga49a34">APR_SHUTDOWN_READWRITE</a> }</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__network__io.html#ga50">apr_interface_e</a> { <b>APR_LOCAL</b>, @@ -168,12 +171,22 @@ <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__network__io.html#ga40">apr_socket_inherit_unset</a> (<a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> *thesocket)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__mcast.html#ga0">apr_mcast_join</a> (<a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> *sock, <a class="el" href="structapr__sockaddr__t.html">apr_sockaddr_t</a> *join, <a class="el" href="structapr__sockaddr__t.html">apr_sockaddr_t</a> *iface, <a class="el" href="structapr__sockaddr__t.html">apr_sockaddr_t</a> *source)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__mcast.html#ga1">apr_mcast_leave</a> (<a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> *sock, <a class="el" href="structapr__sockaddr__t.html">apr_sockaddr_t</a> *leave, <a class="el" href="structapr__sockaddr__t.html">apr_sockaddr_t</a> *iface, <a class="el" href="structapr__sockaddr__t.html">apr_sockaddr_t</a> *source)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__mcast.html#ga2">apr_mcast_hops</a> (<a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> *sock, apr_byte_t ttl)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__mcast.html#ga3">apr_mcast_loopback</a> (<a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> *sock, apr_byte_t opt)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__mcast.html#ga4">apr_mcast_interface</a> (<a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> *sock, <a class="el" href="structapr__sockaddr__t.html">apr_sockaddr_t</a> *iface)</td></tr> + </table> <hr><a name="_details"></a><h2>Detailed Description</h2> APR Network library. <p> -<hr size="1"><address style="align: right;"><small>Generated on Wed Sep 1 21:36:05 2004 for Apache Portable Runtime by +<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 7 13:18:25 2005 for Apache Portable Runtime by <a href="http://www.doxygen.org/index.html"> -<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address> </body> </html>
Modified: apr/site/trunk/docs/docs/apr/apr__poll_8h-source.html URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr/apr__poll_8h-source.html?view=diff&r1=151767&r2=151768 ============================================================================== --- apr/site/trunk/docs/docs/apr/apr__poll_8h-source.html (original) +++ apr/site/trunk/docs/docs/apr/apr__poll_8h-source.html Mon Feb 7 15:10:17 2005 @@ -3,174 +3,186 @@ <title>Apache Portable Runtime: apr_poll.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> -<!-- Generated by Doxygen 1.3.8 --> +<!-- Generated by Doxygen 1.3.7 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div> -<h1>apr_poll.h</h1><a href="apr__poll_8h.html">Go to the documentation of this file.</a><pre class="fragment"><div>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">#ifndef APR_POLL_H</span> -00017 <span class="preprocessor"></span><span class="preprocessor">#define APR_POLL_H</span> -00018 <span class="preprocessor"></span><span class="comment">/**</span> -00019 <span class="comment"> * @file apr_poll.h</span> -00020 <span class="comment"> * @brief APR Poll interface</span> -00021 <span class="comment"> */</span> -00022 <span class="preprocessor">#include "apr.h"</span> -00023 <span class="preprocessor">#include "<a class="code" href="apr__pools_8h.html">apr_pools.h</a>"</span> -00024 <span class="preprocessor">#include "<a class="code" href="apr__errno_8h.html">apr_errno.h</a>"</span> -00025 <span class="preprocessor">#include "<a class="code" href="apr__inherit_8h.html">apr_inherit.h</a>"</span> -00026 <span class="preprocessor">#include "<a class="code" href="apr__file__io_8h.html">apr_file_io.h</a>"</span> -00027 <span class="preprocessor">#include "<a class="code" href="apr__network__io_8h.html">apr_network_io.h</a>"</span> -00028 -00029 <span class="preprocessor">#if APR_HAVE_NETINET_IN_H</span> -00030 <span class="preprocessor"></span><span class="preprocessor">#include <netinet/in.h></span> -00031 <span class="preprocessor">#endif</span> -00032 <span class="preprocessor"></span> -00033 <span class="preprocessor">#ifdef __cplusplus</span> -00034 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> { -00035 <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span> -00036 <span class="comment"></span> -00037 <span class="comment">/**</span> -00038 <span class="comment"> * @defgroup apr_poll Poll Routines</span> -00039 <span class="comment"> * @ingroup APR </span> -00040 <span class="comment"> * @{</span> -00041 <span class="comment"> */</span> -00042 <span class="comment"></span> -00043 <span class="comment">/**</span> -00044 <span class="comment"> * Poll options</span> -00045 <span class="comment"> */</span> -<a name="l00046"></a><a class="code" href="group__apr__poll.html#ga8">00046</a> <span class="preprocessor">#define APR_POLLIN 0x001 </span><span class="comment">/**< Can read without blocking */</span> -<a name="l00047"></a><a class="code" href="group__apr__poll.html#ga9">00047</a> <span class="preprocessor">#define APR_POLLPRI 0x002 </span><span class="comment">/**< Priority data available */</span> -<a name="l00048"></a><a class="code" href="group__apr__poll.html#ga10">00048</a> <span class="preprocessor">#define APR_POLLOUT 0x004 </span><span class="comment">/**< Can write without blocking */</span> -<a name="l00049"></a><a class="code" href="group__apr__poll.html#ga11">00049</a> <span class="preprocessor">#define APR_POLLERR 0x010 </span><span class="comment">/**< Pending error */</span> -<a name="l00050"></a><a class="code" href="group__apr__poll.html#ga12">00050</a> <span class="preprocessor">#define APR_POLLHUP 0x020 </span><span class="comment">/**< Hangup occurred */</span> -<a name="l00051"></a><a class="code" href="group__apr__poll.html#ga13">00051</a> <span class="preprocessor">#define APR_POLLNVAL 0x040 </span><span class="comment">/**< Descriptior invalid */</span> -00052 <span class="comment"></span> -00053 <span class="comment">/** Used in apr_pollfd_t to determine what the apr_descriptor is */</span> -<a name="l00054"></a><a class="code" href="group__apr__poll.html#ga14">00054</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> { -00055 <a class="code" href="group__apr__poll.html#gga14a8">APR_NO_DESC</a>, <span class="comment">/**< nothing here */</span> -00056 <a class="code" href="group__apr__poll.html#gga14a9">APR_POLL_SOCKET</a>, <span class="comment">/**< descriptor refers to a socket */</span> -00057 <a class="code" href="group__apr__poll.html#gga14a10">APR_POLL_FILE</a>, <span class="comment">/**< descriptor refers to a file */</span> -00058 <a class="code" href="group__apr__poll.html#gga14a11">APR_POLL_LASTDESC</a> <span class="comment">/**< descriptor is the last one in the list */</span> -00059 } <a class="code" href="group__apr__poll.html#ga14">apr_datatype_e</a> ; -00060 <span class="comment"></span> -00061 <span class="comment">/** Union of either an APR file or socket. */</span> -<a name="l00062"></a><a class="code" href="unionapr__descriptor.html">00062</a> <span class="keyword">typedef</span> <span class="keyword">union </span>{ -<a name="l00063"></a><a class="code" href="unionapr__descriptor.html#o0">00063</a> <a class="code" href="group__apr__file__io.html#ga2">apr_file_t</a> *f; <span class="comment">/**< file */</span> -<a name="l00064"></a><a class="code" href="unionapr__descriptor.html#o1">00064</a> <a class="code" href="group__apr__network__io.html#ga0">apr_socket_t</a> *s; <span class="comment">/**< socket */</span> -00065 } <a class="code" href="unionapr__descriptor.html">apr_descriptor</a>; +<h1>apr_poll.h</h1><a href="apr__poll_8h.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 <span class="comment">/* Copyright 2000-2005 The Apache Software Foundation or its licensors, as</span> +00002 <span class="comment"> * applicable.</span> +00003 <span class="comment"> *</span> +00004 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span> +00005 <span class="comment"> * you may not use this file except in compliance with the License.</span> +00006 <span class="comment"> * You may obtain a copy of the License at</span> +00007 <span class="comment"> *</span> +00008 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span> +00009 <span class="comment"> *</span> +00010 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span> +00011 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span> +00012 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span> +00013 <span class="comment"> * See the License for the specific language governing permissions and</span> +00014 <span class="comment"> * limitations under the License.</span> +00015 <span class="comment"> */</span> +00016 +00017 <span class="preprocessor">#ifndef APR_POLL_H</span> +00018 <span class="preprocessor"></span><span class="preprocessor">#define APR_POLL_H</span> +00019 <span class="preprocessor"></span><span class="comment">/**</span> +00020 <span class="comment"> * @file apr_poll.h</span> +00021 <span class="comment"> * @brief APR Poll interface</span> +00022 <span class="comment"> */</span> +00023 <span class="preprocessor">#include "apr.h"</span> +00024 <span class="preprocessor">#include "<a class="code" href="apr__pools_8h.html">apr_pools.h</a>"</span> +00025 <span class="preprocessor">#include "<a class="code" href="apr__errno_8h.html">apr_errno.h</a>"</span> +00026 <span class="preprocessor">#include "<a class="code" href="apr__inherit_8h.html">apr_inherit.h</a>"</span> +00027 <span class="preprocessor">#include "<a class="code" href="apr__file__io_8h.html">apr_file_io.h</a>"</span> +00028 <span class="preprocessor">#include "<a class="code" href="apr__network__io_8h.html">apr_network_io.h</a>"</span> +00029 +00030 <span class="preprocessor">#if APR_HAVE_NETINET_IN_H</span> +00031 <span class="preprocessor"></span><span class="preprocessor">#include <netinet/in.h></span> +00032 <span class="preprocessor">#endif</span> +00033 <span class="preprocessor"></span> +00034 <span class="preprocessor">#ifdef __cplusplus</span> +00035 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> { +00036 <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span> +00037 <span class="comment"></span> +00038 <span class="comment">/**</span> +00039 <span class="comment"> * @defgroup apr_poll Poll Routines</span> +00040 <span class="comment"> * @ingroup APR </span> +00041 <span class="comment"> * @{</span> +00042 <span class="comment"> */</span> +00043 <span class="comment"></span> +00044 <span class="comment">/**</span> +00045 <span class="comment"> * Poll options</span> +00046 <span class="comment"> */</span> +<a name="l00047"></a><a class="code" href="group__apr__poll.html#ga8">00047</a> <span class="preprocessor">#define APR_POLLIN 0x001 </span><span class="comment">/**< Can read without blocking */</span> +<a name="l00048"></a><a class="code" href="group__apr__poll.html#ga9">00048</a> <span class="preprocessor">#define APR_POLLPRI 0x002 </span><span class="comment">/**< Priority data available */</span> +<a name="l00049"></a><a class="code" href="group__apr__poll.html#ga10">00049</a> <span class="preprocessor">#define APR_POLLOUT 0x004 </span><span class="comment">/**< Can write without blocking */</span> +<a name="l00050"></a><a class="code" href="group__apr__poll.html#ga11">00050</a> <span class="preprocessor">#define APR_POLLERR 0x010 </span><span class="comment">/**< Pending error */</span> +<a name="l00051"></a><a class="code" href="group__apr__poll.html#ga12">00051</a> <span class="preprocessor">#define APR_POLLHUP 0x020 </span><span class="comment">/**< Hangup occurred */</span> +<a name="l00052"></a><a class="code" href="group__apr__poll.html#ga13">00052</a> <span class="preprocessor">#define APR_POLLNVAL 0x040 </span><span class="comment">/**< Descriptior invalid */</span> +00053 <span class="comment"></span> +00054 <span class="comment">/**</span> +00055 <span class="comment"> * Pollset Flags</span> +00056 <span class="comment"> */</span> +<a name="l00057"></a><a class="code" href="group__apr__poll.html#ga14">00057</a> <span class="preprocessor">#define APR_POLLSET_THREADSAFE 0x001 </span><span class="comment">/**< Adding or Removing a Descriptor is thread safe */</span> +00058 <span class="comment"></span> +00059 <span class="comment">/** Used in apr_pollfd_t to determine what the apr_descriptor is */</span> +<a name="l00060"></a><a class="code" href="group__apr__poll.html#ga15">00060</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> { +00061 <a class="code" href="group__apr__poll.html#gga15a9">APR_NO_DESC</a>, <span class="comment">/**< nothing here */</span> +00062 <a class="code" href="group__apr__poll.html#gga15a10">APR_POLL_SOCKET</a>, <span class="comment">/**< descriptor refers to a socket */</span> +00063 <a class="code" href="group__apr__poll.html#gga15a11">APR_POLL_FILE</a>, <span class="comment">/**< descriptor refers to a file */</span> +00064 <a class="code" href="group__apr__poll.html#gga15a12">APR_POLL_LASTDESC</a> <span class="comment">/**< descriptor is the last one in the list */</span> +00065 } <a class="code" href="group__apr__poll.html#ga15">apr_datatype_e</a> ; 00066 <span class="comment"></span> -00067 <span class="comment">/** @see apr_pollfd_t */</span> -<a name="l00068"></a><a class="code" href="group__apr__poll.html#ga0">00068</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapr__pollfd__t.html">apr_pollfd_t</a> <a class="code" href="group__apr__poll.html#ga0">apr_pollfd_t</a>; -00069 <span class="comment"></span> -00070 <span class="comment">/** Poll descriptor set. */</span> -<a name="l00071"></a><a class="code" href="structapr__pollfd__t.html">00071</a> <span class="keyword">struct </span><a class="code" href="group__apr__poll.html#ga0">apr_pollfd_t</a> { -<a name="l00072"></a><a class="code" href="structapr__pollfd__t.html#o0">00072</a> <a class="code" href="group__apr__pools.html#ga0">apr_pool_t</a> *<a class="code" href="structapr__pollfd__t.html#o0">p</a>; <span class="comment">/**< associated pool */</span> -<a name="l00073"></a><a class="code" href="structapr__pollfd__t.html#o1">00073</a> <a class="code" href="group__apr__poll.html#ga14">apr_datatype_e</a> <a class="code" href="structapr__pollfd__t.html#o1">desc_type</a>; <span class="comment">/**< descriptor type */</span> -<a name="l00074"></a><a class="code" href="structapr__pollfd__t.html#o2">00074</a> apr_int16_t <a class="code" href="structapr__pollfd__t.html#o2">reqevents</a>; <span class="comment">/**< requested events */</span> -<a name="l00075"></a><a class="code" href="structapr__pollfd__t.html#o3">00075</a> apr_int16_t <a class="code" href="structapr__pollfd__t.html#o3">rtnevents</a>; <span class="comment">/**< returned events */</span> -<a name="l00076"></a><a class="code" href="structapr__pollfd__t.html#o4">00076</a> <a class="code" href="unionapr__descriptor.html">apr_descriptor</a> <a class="code" href="structapr__pollfd__t.html#o4">desc</a>; <span class="comment">/**< @see apr_descriptor */</span> -<a name="l00077"></a><a class="code" href="structapr__pollfd__t.html#o5">00077</a> <span class="keywordtype">void</span> *<a class="code" href="structapr__pollfd__t.html#o5">client_data</a>; <span class="comment">/**< allows app to associate context */</span> -00078 }; -00079 -00080 -00081 <span class="comment">/* General-purpose poll API for arbitrarily large numbers of</span> -00082 <span class="comment"> * file descriptors</span> -00083 <span class="comment"> */</span> -00084 <span class="comment"></span> -00085 <span class="comment">/** Opaque structure used for pollset API */</span> -<a name="l00086"></a><a class="code" href="group__apr__poll.html#ga1">00086</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__apr__poll.html#ga1">apr_pollset_t</a> <a class="code" href="group__apr__poll.html#ga1">apr_pollset_t</a>; -00087 <span class="comment"></span> -00088 <span class="comment">/**</span> -00089 <span class="comment"> * Setup a pollset object</span> -00090 <span class="comment"> * @param pollset The pointer in which to return the newly created object </span> -00091 <span class="comment"> * @param size The maximum number of descriptors that this pollset can hold</span> -00092 <span class="comment"> * @param p The pool from which to allocate the pollset</span> -00093 <span class="comment"> * @param flags Optional flags to modify the operation of the pollset</span> -00094 <span class="comment"> * (reserved for future expansion)</span> -00095 <span class="comment"> */</span> -00096 APR_DECLARE(<a class="code" href="group__apr__errno.html#ga0">apr_status_t</a>) apr_pollset_create(apr_pollset_t **pollset, -00097 apr_uint32_t size, -00098 <a class="code" href="group__apr__pools.html#ga0">apr_pool_t</a> *p, -00099 apr_uint32_t flags); -00100 <span class="comment"></span> -00101 <span class="comment">/**</span> -00102 <span class="comment"> * Destroy a pollset object</span> -00103 <span class="comment"> * @param pollset The pollset to destroy</span> -00104 <span class="comment"> */</span> -00105 APR_DECLARE(<a class="code" href="group__apr__errno.html#ga0">apr_status_t</a>) apr_pollset_destroy(apr_pollset_t *pollset); -00106 <span class="comment"></span> -00107 <span class="comment">/**</span> -00108 <span class="comment"> * Add a socket or file descriptor to a pollset</span> -00109 <span class="comment"> * @param pollset The pollset to which to add the descriptor</span> -00110 <span class="comment"> * @param descriptor The descriptor to add</span> -00111 <span class="comment"> * @remark If you set client_data in the descriptor, that value</span> -00112 <span class="comment"> * will be returned in the client_data field whenever this</span> -00113 <span class="comment"> * descriptor is signalled in apr_pollset_poll().</span> -00114 <span class="comment"> */</span> -00115 APR_DECLARE(<a class="code" href="group__apr__errno.html#ga0">apr_status_t</a>) apr_pollset_add(apr_pollset_t *pollset, -00116 const apr_pollfd_t *descriptor); -00117 <span class="comment"></span> -00118 <span class="comment">/**</span> -00119 <span class="comment"> * Remove a descriptor from a pollset</span> -00120 <span class="comment"> * @param pollset The pollset from which to remove the descriptor</span> -00121 <span class="comment"> * @param descriptor The descriptor to remove</span> -00122 <span class="comment"> */</span> -00123 APR_DECLARE(<a class="code" href="group__apr__errno.html#ga0">apr_status_t</a>) apr_pollset_remove(apr_pollset_t *pollset, -00124 const apr_pollfd_t *descriptor); -00125 <span class="comment"></span> -00126 <span class="comment">/**</span> -00127 <span class="comment"> * Block for activity on the descriptor(s) in a pollset</span> -00128 <span class="comment"> * @param pollset The pollset to use</span> -00129 <span class="comment"> * @param timeout Timeout in microseconds</span> -00130 <span class="comment"> * @param num Number of signalled descriptors (output parameter)</span> -00131 <span class="comment"> * @param descriptors Array of signalled descriptors (output parameter)</span> -00132 <span class="comment"> */</span> -00133 APR_DECLARE(<a class="code" href="group__apr__errno.html#ga0">apr_status_t</a>) apr_pollset_poll(apr_pollset_t *pollset, -00134 <a class="code" href="group__apr__time.html#ga3">apr_interval_time_t</a> timeout, -00135 apr_int32_t *num, -00136 const apr_pollfd_t **descriptors); -00137 -00138 <span class="comment"></span> -00139 <span class="comment">/**</span> -00140 <span class="comment"> * Poll the sockets in the poll structure</span> -00141 <span class="comment"> * @param aprset The poll structure we will be using. </span> -00142 <span class="comment"> * @param numsock The number of sockets we are polling</span> -00143 <span class="comment"> * @param nsds The number of sockets signalled.</span> -00144 <span class="comment"> * @param timeout The amount of time in microseconds to wait. This is </span> -00145 <span class="comment"> * a maximum, not a minimum. If a socket is signalled, we </span> -00146 <span class="comment"> * will wake up before this time. A negative number means </span> -00147 <span class="comment"> * wait until a socket is signalled.</span> -00148 <span class="comment"> * @remark The number of sockets signalled is returned in the third argument. </span> -00149 <span class="comment"> * This is a blocking call, and it will not return until either a </span> -00150 <span class="comment"> * socket has been signalled, or the timeout has expired. </span> -00151 <span class="comment"> */</span> -00152 APR_DECLARE(<a class="code" href="group__apr__errno.html#ga0">apr_status_t</a>) apr_poll(apr_pollfd_t *aprset, apr_int32_t numsock, -00153 apr_int32_t *nsds, -00154 <a class="code" href="group__apr__time.html#ga3">apr_interval_time_t</a> timeout); -00155 <span class="comment"></span> -00156 <span class="comment">/** @} */</span> -00157 -00158 -00159 #ifdef __cplusplus -00160 } -00161 #endif -00162 -00163 #endif <span class="comment">/* ! APR_POLL_H */</span> -00164 -</div></pre><hr size="1"><address style="align: right;"><small>Generated on Wed Sep 1 21:36:05 2004 for Apache Portable Runtime by +00067 <span class="comment">/** Union of either an APR file or socket. */</span> +<a name="l00068"></a><a class="code" href="unionapr__descriptor.html">00068</a> <span class="keyword">typedef</span> <span class="keyword">union </span>{ +<a name="l00069"></a><a class="code" href="unionapr__descriptor.html#o0">00069</a> <a class="code" href="group__apr__file__io.html#ga2">apr_file_t</a> *f; <span class="comment">/**< file */</span> +<a name="l00070"></a><a class="code" href="unionapr__descriptor.html#o1">00070</a> <a class="code" href="group__apr__network__io.html#ga0">apr_socket_t</a> *s; <span class="comment">/**< socket */</span> +00071 } <a class="code" href="unionapr__descriptor.html">apr_descriptor</a>; +00072 <span class="comment"></span> +00073 <span class="comment">/** @see apr_pollfd_t */</span> +<a name="l00074"></a><a class="code" href="group__apr__poll.html#ga0">00074</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapr__pollfd__t.html">apr_pollfd_t</a> <a class="code" href="group__apr__poll.html#ga0">apr_pollfd_t</a>; +00075 <span class="comment"></span> +00076 <span class="comment">/** Poll descriptor set. */</span> +<a name="l00077"></a><a class="code" href="structapr__pollfd__t.html">00077</a> <span class="keyword">struct </span><a class="code" href="group__apr__poll.html#ga0">apr_pollfd_t</a> { +<a name="l00078"></a><a class="code" href="structapr__pollfd__t.html#o0">00078</a> <a class="code" href="group__apr__pools.html#ga0">apr_pool_t</a> *<a class="code" href="structapr__pollfd__t.html#o0">p</a>; <span class="comment">/**< associated pool */</span> +<a name="l00079"></a><a class="code" href="structapr__pollfd__t.html#o1">00079</a> <a class="code" href="group__apr__poll.html#ga15">apr_datatype_e</a> <a class="code" href="structapr__pollfd__t.html#o1">desc_type</a>; <span class="comment">/**< descriptor type */</span> +<a name="l00080"></a><a class="code" href="structapr__pollfd__t.html#o2">00080</a> apr_int16_t <a class="code" href="structapr__pollfd__t.html#o2">reqevents</a>; <span class="comment">/**< requested events */</span> +<a name="l00081"></a><a class="code" href="structapr__pollfd__t.html#o3">00081</a> apr_int16_t <a class="code" href="structapr__pollfd__t.html#o3">rtnevents</a>; <span class="comment">/**< returned events */</span> +<a name="l00082"></a><a class="code" href="structapr__pollfd__t.html#o4">00082</a> <a class="code" href="unionapr__descriptor.html">apr_descriptor</a> <a class="code" href="structapr__pollfd__t.html#o4">desc</a>; <span class="comment">/**< @see apr_descriptor */</span> +<a name="l00083"></a><a class="code" href="structapr__pollfd__t.html#o5">00083</a> <span class="keywordtype">void</span> *<a class="code" href="structapr__pollfd__t.html#o5">client_data</a>; <span class="comment">/**< allows app to associate context */</span> +00084 }; +00085 +00086 +00087 <span class="comment">/* General-purpose poll API for arbitrarily large numbers of</span> +00088 <span class="comment"> * file descriptors</span> +00089 <span class="comment"> */</span> +00090 <span class="comment"></span> +00091 <span class="comment">/** Opaque structure used for pollset API */</span> +<a name="l00092"></a><a class="code" href="group__apr__poll.html#ga1">00092</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__apr__poll.html#ga1">apr_pollset_t</a> <a class="code" href="group__apr__poll.html#ga1">apr_pollset_t</a>; +00093 <span class="comment"></span> +00094 <span class="comment">/**</span> +00095 <span class="comment"> * Setup a pollset object</span> +00096 <span class="comment"> * @param pollset The pointer in which to return the newly created object </span> +00097 <span class="comment"> * @param size The maximum number of descriptors that this pollset can hold</span> +00098 <span class="comment"> * @param p The pool from which to allocate the pollset</span> +00099 <span class="comment"> * @param flags Optional flags to modify the operation of the pollset.</span> +00100 <span class="comment"> *</span> +00101 <span class="comment"> * @remark If flags equals APR_POLLSET_THREADSAFE, then a pollset is</span> +00102 <span class="comment"> * created on which it is safe to make concurrent calls to</span> +00103 <span class="comment"> * apr_pollset_add(), apr_pollset_remove() and apr_pollset_poll() from</span> +00104 <span class="comment"> * separate threads. This feature is only supported on some</span> +00105 <span class="comment"> * platforms; the apr_pollset_create() call will fail with</span> +00106 <span class="comment"> * APR_ENOTIMPL on platforms where it is not supported.</span> +00107 <span class="comment"> */</span> +00108 APR_DECLARE(apr_status_t) apr_pollset_create(apr_pollset_t **pollset, +00109 apr_uint32_t size, +00110 apr_pool_t *p, +00111 apr_uint32_t flags); +00112 <span class="comment"></span> +00113 <span class="comment">/**</span> +00114 <span class="comment"> * Destroy a pollset object</span> +00115 <span class="comment"> * @param pollset The pollset to destroy</span> +00116 <span class="comment"> */</span> +00117 APR_DECLARE(apr_status_t) apr_pollset_destroy(apr_pollset_t *pollset); +00118 <span class="comment"></span> +00119 <span class="comment">/**</span> +00120 <span class="comment"> * Add a socket or file descriptor to a pollset</span> +00121 <span class="comment"> * @param pollset The pollset to which to add the descriptor</span> +00122 <span class="comment"> * @param descriptor The descriptor to add</span> +00123 <span class="comment"> * @remark If you set client_data in the descriptor, that value</span> +00124 <span class="comment"> * will be returned in the client_data field whenever this</span> +00125 <span class="comment"> * descriptor is signalled in apr_pollset_poll().</span> +00126 <span class="comment"> */</span> +00127 APR_DECLARE(apr_status_t) apr_pollset_add(apr_pollset_t *pollset, +00128 const apr_pollfd_t *descriptor); +00129 <span class="comment"></span> +00130 <span class="comment">/**</span> +00131 <span class="comment"> * Remove a descriptor from a pollset</span> +00132 <span class="comment"> * @param pollset The pollset from which to remove the descriptor</span> +00133 <span class="comment"> * @param descriptor The descriptor to remove</span> +00134 <span class="comment"> */</span> +00135 APR_DECLARE(apr_status_t) apr_pollset_remove(apr_pollset_t *pollset, +00136 const apr_pollfd_t *descriptor); +00137 <span class="comment"></span> +00138 <span class="comment">/**</span> +00139 <span class="comment"> * Block for activity on the descriptor(s) in a pollset</span> +00140 <span class="comment"> * @param pollset The pollset to use</span> +00141 <span class="comment"> * @param timeout Timeout in microseconds</span> +00142 <span class="comment"> * @param num Number of signalled descriptors (output parameter)</span> +00143 <span class="comment"> * @param descriptors Array of signalled descriptors (output parameter)</span> +00144 <span class="comment"> */</span> +00145 APR_DECLARE(apr_status_t) apr_pollset_poll(apr_pollset_t *pollset, +00146 apr_interval_time_t timeout, +00147 apr_int32_t *num, +00148 const apr_pollfd_t **descriptors); +00149 +00150 <span class="comment"></span> +00151 <span class="comment">/**</span> +00152 <span class="comment"> * Poll the sockets in the poll structure</span> +00153 <span class="comment"> * @param aprset The poll structure we will be using. </span> +00154 <span class="comment"> * @param numsock The number of sockets we are polling</span> +00155 <span class="comment"> * @param nsds The number of sockets signalled.</span> +00156 <span class="comment"> * @param timeout The amount of time in microseconds to wait. This is </span> +00157 <span class="comment"> * a maximum, not a minimum. If a socket is signalled, we </span> +00158 <span class="comment"> * will wake up before this time. A negative number means </span> +00159 <span class="comment"> * wait until a socket is signalled.</span> +00160 <span class="comment"> * @remark The number of sockets signalled is returned in the third argument. </span> +00161 <span class="comment"> * This is a blocking call, and it will not return until either a </span> +00162 <span class="comment"> * socket has been signalled, or the timeout has expired. </span> +00163 <span class="comment"> */</span> +00164 APR_DECLARE(apr_status_t) apr_poll(apr_pollfd_t *aprset, apr_int32_t numsock, +00165 apr_int32_t *nsds, +00166 apr_interval_time_t timeout); +00167 <span class="comment"></span> +00168 <span class="comment">/** @} */</span> +00169 +00170 +00171 #ifdef __cplusplus +00172 } +00173 #endif +00174 +00175 #endif <span class="comment">/* ! APR_POLL_H */</span> +00176 +</div></pre><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 7 13:18:25 2005 for Apache Portable Runtime by <a href="http://www.doxygen.org/index.html"> -<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address> </body> </html> Modified: apr/site/trunk/docs/docs/apr/apr__poll_8h.html URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr/apr__poll_8h.html?view=diff&r1=151767&r2=151768 ============================================================================== --- apr/site/trunk/docs/docs/apr/apr__poll_8h.html (original) +++ apr/site/trunk/docs/docs/apr/apr__poll_8h.html Mon Feb 7 15:10:17 2005 @@ -3,9 +3,10 @@ <title>Apache Portable Runtime: apr_poll.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> -<!-- Generated by Doxygen 1.3.8 --> +<!-- Generated by Doxygen 1.3.7 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div> -<h1>apr_poll.h File Reference</h1>APR Poll interface. <a href="#_details">More...</a> +<h1>apr_poll.h File Reference</h1>APR Poll interface. +<a href="#_details">More...</a> <p> <code>#include "apr.h"</code><br> <code>#include "<a class="el" href="apr__pools_8h-source.html">apr_pools.h</a>"</code><br> @@ -23,17 +24,19 @@ <tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structapr__pollfd__t.html">apr_pollfd_t</a></td></tr> <tr><td colspan=2><br><h2>Defines</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga8">APR_POLLIN</a> 0x001</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga8">APR_POLLIN</a> 0x001 /**< Can read without blocking */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga9">APR_POLLPRI</a> 0x002</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga9">APR_POLLPRI</a> 0x002 /**< Priority data available */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga10">APR_POLLOUT</a> 0x004</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga10">APR_POLLOUT</a> 0x004 /**< Can write without blocking */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga11">APR_POLLERR</a> 0x010</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga11">APR_POLLERR</a> 0x010 /**< Pending error */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga12">APR_POLLHUP</a> 0x020</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga12">APR_POLLHUP</a> 0x020 /**< Hangup occurred */</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga13">APR_POLLNVAL</a> 0x040</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga13">APR_POLLNVAL</a> 0x040 /**< Descriptior invalid */</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga14">APR_POLLSET_THREADSAFE</a> 0x001 /**< Adding or Removing a Descriptor is thread safe */</td></tr> <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="structapr__pollfd__t.html">apr_pollfd_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga0">apr_pollfd_t</a></td></tr> @@ -41,10 +44,10 @@ <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="group__apr__poll.html#ga1">apr_pollset_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga1">apr_pollset_t</a></td></tr> <tr><td colspan=2><br><h2>Enumerations</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga14">apr_datatype_e</a> { <a class="el" href="group__apr__poll.html#gga14a8">APR_NO_DESC</a>, -<a class="el" href="group__apr__poll.html#gga14a9">APR_POLL_SOCKET</a>, -<a class="el" href="group__apr__poll.html#gga14a10">APR_POLL_FILE</a>, -<a class="el" href="group__apr__poll.html#gga14a11">APR_POLL_LASTDESC</a> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__poll.html#ga15">apr_datatype_e</a> { <a class="el" href="group__apr__poll.html#gga15a9">APR_NO_DESC</a>, +<a class="el" href="group__apr__poll.html#gga15a10">APR_POLL_SOCKET</a>, +<a class="el" href="group__apr__poll.html#gga15a11">APR_POLL_FILE</a>, +<a class="el" href="group__apr__poll.html#gga15a12">APR_POLL_LASTDESC</a> }</td></tr> <tr><td colspan=2><br><h2>Functions</h2></td></tr> @@ -64,8 +67,8 @@ <hr><a name="_details"></a><h2>Detailed Description</h2> APR Poll interface. <p> -<hr size="1"><address style="align: right;"><small>Generated on Wed Sep 1 21:36:05 2004 for Apache Portable Runtime by +<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 7 13:18:25 2005 for Apache Portable Runtime by <a href="http://www.doxygen.org/index.html"> -<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address> </body> </html>