D7net Mini Sh3LL v1
Current File : //usr/share/systemd/../doc/ethtool/../dbus/../info/../libapr1-dev/html/apr__poll_8h_source.html |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Apache Portable Runtime: apr_poll.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Apache Portable Runtime
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">apr_poll.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="apr__poll_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Licensed to the Apache Software Foundation (ASF) under one or more</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * this work for additional information regarding copyright ownership.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * (the "License"); you may not use this file except in compliance with</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * the License. You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * limitations under the License.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef APR_POLL_H</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define APR_POLL_H</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * @file apr_poll.h</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * @brief APR Poll interface</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "<a class="code" href="apr_8h.html">apr.h</a>"</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "<a class="code" href="apr__pools_8h.html">apr_pools.h</a>"</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="apr__errno_8h.html">apr_errno.h</a>"</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="apr__inherit_8h.html">apr_inherit.h</a>"</span> </div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="apr__file__io_8h.html">apr_file_io.h</a>"</span> </div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="apr__network__io_8h.html">apr_network_io.h</a>"</span> </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#if APR_HAVE_NETINET_IN_H</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <netinet/in.h></span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"></span> </div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"> * @defgroup apr_poll Poll Routines</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment"> * @ingroup APR </span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"> * @{</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment"></span> </div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"> * @defgroup pollopts Poll options</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment"> * @ingroup apr_poll</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment"> * @{</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="group__pollopts.html#ga746222e6b858bc2fc77328d59f78e788"> 49</a></span> <span class="preprocessor">#define APR_POLLIN 0x001 </span><span class="comment">/**< Can read without blocking */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="group__pollopts.html#ga196c38e1914077c4c9a0cf3ce87f1b9c"> 50</a></span> <span class="preprocessor">#define APR_POLLPRI 0x002 </span><span class="comment">/**< Priority data available */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="group__pollopts.html#ga6fb703db1d11e2c5f66d8c6146e56053"> 51</a></span> <span class="preprocessor">#define APR_POLLOUT 0x004 </span><span class="comment">/**< Can write without blocking */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="group__pollopts.html#ga6f5a72fd9cf3f5dcf174acce0b4b77ee"> 52</a></span> <span class="preprocessor">#define APR_POLLERR 0x010 </span><span class="comment">/**< Pending error */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="group__pollopts.html#gace76603c4fa4b56f8b5977ff1ceb6f3b"> 53</a></span> <span class="preprocessor">#define APR_POLLHUP 0x020 </span><span class="comment">/**< Hangup occurred */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="group__pollopts.html#ga132da215e207d4685fb467cc64a73f1b"> 54</a></span> <span class="preprocessor">#define APR_POLLNVAL 0x040 </span><span class="comment">/**< Descriptor invalid */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment">/** @} */</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="comment"></span> </div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="comment"> * @defgroup pollflags Pollset Flags</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment"> * @ingroup apr_poll</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment"> * @{</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="group__pollflags.html#gabdfaccfd394c847f692351dee2e5ef7f"> 62</a></span> <span class="preprocessor">#define APR_POLLSET_THREADSAFE 0x001 </span><span class="comment">/**< Adding or removing a descriptor is</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="comment"> * thread-safe</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="comment"> */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="group__pollflags.html#ga0febaf4378d2705bf1256b22fe8dfd24"> 65</a></span> <span class="preprocessor">#define APR_POLLSET_NOCOPY 0x002 </span><span class="comment">/**< Descriptors passed to apr_pollset_add()</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="comment"> * are not copied</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment"> */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="group__pollflags.html#ga552d7f28d442602e6c9bb6931f183493"> 68</a></span> <span class="preprocessor">#define APR_POLLSET_WAKEABLE 0x004 </span><span class="comment">/**< Poll operations are interruptable by</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="comment"> * apr_pollset_wakeup() or apr_pollcb_wakeup()</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment"> */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="group__pollflags.html#gaa46a9cbb23b2e8e71dd3ba88e69fdf13"> 71</a></span> <span class="preprocessor">#define APR_POLLSET_NODEFAULT 0x010 </span><span class="comment">/**< Do not try to use the default method if</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment"> * the specified non-default method cannot be</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment"> * used</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment"> */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="comment">/** @} */</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment"></span> </div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="comment"> * Pollset Methods</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="group__apr__poll.html#gabe6f1238ea45e9425fa052e2788e4a29"> 80</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29ae68b155914b79d4a58519675dfc24d94"> 81</a></span>  <a class="code" href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29ae68b155914b79d4a58519675dfc24d94">APR_POLLSET_DEFAULT</a>, <span class="comment">/**< Platform default poll method */</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29aa6613bebee1abb348da2a153f91c738e"> 82</a></span>  <a class="code" href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29aa6613bebee1abb348da2a153f91c738e">APR_POLLSET_SELECT</a>, <span class="comment">/**< Poll uses select method */</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29a2722387d6523f8f02cec7c31a45966d4"> 83</a></span>  <a class="code" href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29a2722387d6523f8f02cec7c31a45966d4">APR_POLLSET_KQUEUE</a>, <span class="comment">/**< Poll uses kqueue method */</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29aec66f6da923595ff0a6fa20f4bc41e46"> 84</a></span>  <a class="code" href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29aec66f6da923595ff0a6fa20f4bc41e46">APR_POLLSET_PORT</a>, <span class="comment">/**< Poll uses Solaris event port method */</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29a142ebdcab58ccfabd5d964ff3ab476ab"> 85</a></span>  <a class="code" href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29a142ebdcab58ccfabd5d964ff3ab476ab">APR_POLLSET_EPOLL</a>, <span class="comment">/**< Poll uses epoll method */</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29aa8c0b4c036644ea4518f8d7c2fd4fe8e"> 86</a></span>  <a class="code" href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29aa8c0b4c036644ea4518f8d7c2fd4fe8e">APR_POLLSET_POLL</a>, <span class="comment">/**< Poll uses poll method */</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29ace0288893b2db65847536c41c0048e82"> 87</a></span>  <a class="code" href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29ace0288893b2db65847536c41c0048e82">APR_POLLSET_AIO_MSGQ</a> <span class="comment">/**< Poll uses z/OS asio method */</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> } <a class="code" href="group__apr__poll.html#gabe6f1238ea45e9425fa052e2788e4a29">apr_pollset_method_e</a>;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment"></span> </div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment">/** Used in apr_pollfd_t to determine what the apr_descriptor is */</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="group__apr__poll.html#ga0a8549d84c1721788b102a4cc8b4b0f0"> 91</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> { </div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="group__apr__poll.html#gga0a8549d84c1721788b102a4cc8b4b0f0aeb85f43492052bf0788d31f6dd85a222"> 92</a></span>  <a class="code" href="group__apr__poll.html#gga0a8549d84c1721788b102a4cc8b4b0f0aeb85f43492052bf0788d31f6dd85a222">APR_NO_DESC</a>, <span class="comment">/**< nothing here */</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="group__apr__poll.html#gga0a8549d84c1721788b102a4cc8b4b0f0a3629c5b3166fde91792f2f913fbd72f0"> 93</a></span>  <a class="code" href="group__apr__poll.html#gga0a8549d84c1721788b102a4cc8b4b0f0a3629c5b3166fde91792f2f913fbd72f0">APR_POLL_SOCKET</a>, <span class="comment">/**< descriptor refers to a socket */</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="group__apr__poll.html#gga0a8549d84c1721788b102a4cc8b4b0f0a8351d461bf66b706232962fd02e84202"> 94</a></span>  <a class="code" href="group__apr__poll.html#gga0a8549d84c1721788b102a4cc8b4b0f0a8351d461bf66b706232962fd02e84202">APR_POLL_FILE</a>, <span class="comment">/**< descriptor refers to a file */</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="group__apr__poll.html#gga0a8549d84c1721788b102a4cc8b4b0f0a413b387c7fe1ca7b096d46dfd9942fe5"> 95</a></span>  <a class="code" href="group__apr__poll.html#gga0a8549d84c1721788b102a4cc8b4b0f0a413b387c7fe1ca7b096d46dfd9942fe5">APR_POLL_LASTDESC</a> <span class="comment">/**< @deprecated descriptor is the last one in the list */</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> } <a class="code" href="group__apr__poll.html#ga0a8549d84c1721788b102a4cc8b4b0f0">apr_datatype_e</a> ;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment"></span> </div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment">/** Union of either an APR file or socket. */</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="unionapr__descriptor.html"> 99</a></span> <span class="keyword">typedef</span> <span class="keyword">union </span>{</div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="unionapr__descriptor.html#a69d605f2bb33b05ceedb3d95b744ca7e"> 100</a></span>  <a class="code" href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> *<a class="code" href="unionapr__descriptor.html#a69d605f2bb33b05ceedb3d95b744ca7e">f</a>; <span class="comment">/**< file */</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="unionapr__descriptor.html#a39a15be8be084afadfa173810b346f6c"> 101</a></span>  <a class="code" href="group__apr__network__io.html#ga49262b223e7434746e1f1737659aa2c3">apr_socket_t</a> *<a class="code" href="unionapr__descriptor.html#a39a15be8be084afadfa173810b346f6c">s</a>; <span class="comment">/**< socket */</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> } <a class="code" href="unionapr__descriptor.html">apr_descriptor</a>;</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="comment"></span> </div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="comment">/** @see apr_pollfd_t */</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="group__apr__poll.html#ga0c89b184cbe2337e44207f1ad245129b"> 105</a></span> <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="structapr__pollfd__t.html">apr_pollfd_t</a>;</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="comment"></span> </div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment">/** Poll descriptor set. */</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="structapr__pollfd__t.html"> 108</a></span> <span class="keyword">struct </span><a class="code" href="structapr__pollfd__t.html">apr_pollfd_t</a> {</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="structapr__pollfd__t.html#adae68586ed671472590efe8770de38cc"> 109</a></span>  <a class="code" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *<a class="code" href="structapr__pollfd__t.html#adae68586ed671472590efe8770de38cc">p</a>; <span class="comment">/**< associated pool */</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="structapr__pollfd__t.html#acfafd260241a874745f49ba2df246c53"> 110</a></span>  <a class="code" href="group__apr__poll.html#ga0a8549d84c1721788b102a4cc8b4b0f0">apr_datatype_e</a> <a class="code" href="structapr__pollfd__t.html#acfafd260241a874745f49ba2df246c53">desc_type</a>; <span class="comment">/**< descriptor type */</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="structapr__pollfd__t.html#abcedac7097a97823a38ece6e47f4ea9f"> 111</a></span>  apr_int16_t <a class="code" href="structapr__pollfd__t.html#abcedac7097a97823a38ece6e47f4ea9f">reqevents</a>; <span class="comment">/**< requested events */</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="structapr__pollfd__t.html#aed5b2109b27984975309922bfa84e3f6"> 112</a></span>  apr_int16_t <a class="code" href="structapr__pollfd__t.html#aed5b2109b27984975309922bfa84e3f6">rtnevents</a>; <span class="comment">/**< returned events */</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="structapr__pollfd__t.html#ad63baa71bb91f80513d33482e28fb967"> 113</a></span>  <a class="code" href="unionapr__descriptor.html">apr_descriptor</a> <a class="code" href="structapr__pollfd__t.html#ad63baa71bb91f80513d33482e28fb967">desc</a>; <span class="comment">/**< @see apr_descriptor */</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="structapr__pollfd__t.html#a01220e7a71963456461baa40b2a05716"> 114</a></span>  <span class="keywordtype">void</span> *<a class="code" href="structapr__pollfd__t.html#a01220e7a71963456461baa40b2a05716">client_data</a>; <span class="comment">/**< allows app to associate context */</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> };</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  </div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="comment">/* General-purpose poll API for arbitrarily large numbers of</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="comment"> * file descriptors</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="comment"></span> </div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="comment">/** Opaque structure used for pollset API */</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="group__apr__poll.html#ga680da1f10ac5ef75efc503a9d15b8906"> 123</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__apr__poll.html#ga680da1f10ac5ef75efc503a9d15b8906">apr_pollset_t</a> <a class="code" href="group__apr__poll.html#ga680da1f10ac5ef75efc503a9d15b8906">apr_pollset_t</a>;</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="comment"></span> </div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="comment"> * Set up a pollset object</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="comment"> * @param pollset The pointer in which to return the newly created object </span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="comment"> * @param size The maximum number of descriptors that this pollset can hold</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="comment"> * @param p The pool from which to allocate the pollset</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="comment"> * @param flags Optional flags to modify the operation of the pollset.</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="comment"> * @remark If flags contains APR_POLLSET_THREADSAFE, then a pollset is</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="comment"> * created on which it is safe to make concurrent calls to</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="comment"> * apr_pollset_add(), apr_pollset_remove() and apr_pollset_poll()</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="comment"> * from separate threads. This feature is only supported on some</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="comment"> * platforms; the apr_pollset_create() call will fail with</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="comment"> * APR_ENOTIMPL on platforms where it is not supported.</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="comment"> * @remark If flags contains APR_POLLSET_WAKEABLE, then a pollset is</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="comment"> * created with an additional internal pipe object used for the</span></div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="comment"> * apr_pollset_wakeup() call. The actual size of pollset is</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="comment"> * in that case @a size + 1. This feature is only supported on some</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="comment"> * platforms; the apr_pollset_create() call will fail with</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="comment"> * APR_ENOTIMPL on platforms where it is not supported.</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="comment"> * @remark If flags contains APR_POLLSET_NOCOPY, then the apr_pollfd_t</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="comment"> * structures passed to apr_pollset_add() are not copied and</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="comment"> * must have a lifetime at least as long as the pollset.</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="comment"> * @remark Some poll methods (including APR_POLLSET_KQUEUE,</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="comment"> * APR_POLLSET_PORT, and APR_POLLSET_EPOLL) do not have a</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="comment"> * fixed limit on the size of the pollset. For these methods,</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="comment"> * the size parameter controls the maximum number of</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="comment"> * descriptors that will be returned by a single call to</span></div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="comment"> * apr_pollset_poll().</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__poll.html#ga4ca4056a19daee8fe94ddba100fe2326">apr_pollset_create</a>(<a class="code" href="group__apr__poll.html#ga680da1f10ac5ef75efc503a9d15b8906">apr_pollset_t</a> **pollset,</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  apr_uint32_t size,</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="code" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p,</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  apr_uint32_t flags);</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="comment"></span> </div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="comment"> * Set up a pollset object</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="comment"> * @param pollset The pointer in which to return the newly created object </span></div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="comment"> * @param size The maximum number of descriptors that this pollset can hold</span></div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment"> * @param p The pool from which to allocate the pollset</span></div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="comment"> * @param flags Optional flags to modify the operation of the pollset.</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="comment"> * @param method Poll method to use. See #apr_pollset_method_e. If this</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="comment"> * method cannot be used, the default method will be used unless the</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="comment"> * APR_POLLSET_NODEFAULT flag has been specified.</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="comment"> * @remark If flags contains APR_POLLSET_THREADSAFE, then a pollset is</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="comment"> * created on which it is safe to make concurrent calls to</span></div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="comment"> * apr_pollset_add(), apr_pollset_remove() and apr_pollset_poll()</span></div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="comment"> * from separate threads. This feature is only supported on some</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="comment"> * platforms; the apr_pollset_create_ex() call will fail with</span></div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="comment"> * APR_ENOTIMPL on platforms where it is not supported.</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="comment"> * @remark If flags contains APR_POLLSET_WAKEABLE, then a pollset is</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="comment"> * created with additional internal pipe object used for the</span></div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="comment"> * apr_pollset_wakeup() call. The actual size of pollset is</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="comment"> * in that case size + 1. This feature is only supported on some</span></div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="comment"> * platforms; the apr_pollset_create_ex() call will fail with</span></div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="comment"> * APR_ENOTIMPL on platforms where it is not supported.</span></div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="comment"> * @remark If flags contains APR_POLLSET_NOCOPY, then the apr_pollfd_t</span></div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="comment"> * structures passed to apr_pollset_add() are not copied and</span></div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="comment"> * must have a lifetime at least as long as the pollset.</span></div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="comment"> * @remark Some poll methods (including APR_POLLSET_KQUEUE,</span></div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="comment"> * APR_POLLSET_PORT, and APR_POLLSET_EPOLL) do not have a</span></div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="comment"> * fixed limit on the size of the pollset. For these methods,</span></div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="comment"> * the size parameter controls the maximum number of</span></div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="comment"> * descriptors that will be returned by a single call to</span></div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="comment"> * apr_pollset_poll().</span></div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__poll.html#ga9448a2d756868aa1c6dbc9726a2e32b5">apr_pollset_create_ex</a>(<a class="code" href="group__apr__poll.html#ga680da1f10ac5ef75efc503a9d15b8906">apr_pollset_t</a> **pollset,</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  apr_uint32_t size,</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <a class="code" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p,</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  apr_uint32_t flags,</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <a class="code" href="group__apr__poll.html#gabe6f1238ea45e9425fa052e2788e4a29">apr_pollset_method_e</a> method);</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="comment"></span> </div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="comment"> * Destroy a pollset object</span></div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="comment"> * @param pollset The pollset to destroy</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__poll.html#gaa06c538d3fea9d860374043aff9450b2">apr_pollset_destroy</a>(<a class="code" href="group__apr__poll.html#ga680da1f10ac5ef75efc503a9d15b8906">apr_pollset_t</a> *pollset);</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="comment"></span> </div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="comment"> * Add a socket or file descriptor to a pollset</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="comment"> * @param pollset The pollset to which to add the descriptor</span></div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="comment"> * @param descriptor The descriptor to add</span></div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="comment"> * @remark If you set client_data in the descriptor, that value</span></div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="comment"> * will be returned in the client_data field whenever this</span></div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="comment"> * descriptor is signalled in apr_pollset_poll().</span></div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> <span class="comment"> * @remark If the pollset has been created with APR_POLLSET_THREADSAFE</span></div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <span class="comment"> * and thread T1 is blocked in a call to apr_pollset_poll() for</span></div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="comment"> * this same pollset that is being modified via apr_pollset_add()</span></div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="comment"> * in thread T2, the currently executing apr_pollset_poll() call in</span></div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> <span class="comment"> * T1 will either: (1) automatically include the newly added descriptor</span></div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <span class="comment"> * in the set of descriptors it is watching or (2) return immediately</span></div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <span class="comment"> * with APR_EINTR. Option (1) is recommended, but option (2) is</span></div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <span class="comment"> * allowed for implementations where option (1) is impossible</span></div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="comment"> * or impractical.</span></div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="comment"> * @remark If the pollset has been created with APR_POLLSET_NOCOPY, the </span></div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="comment"> * apr_pollfd_t structure referenced by descriptor will not be copied</span></div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="comment"> * and must have a lifetime at least as long as the pollset.</span></div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="comment"> * @remark Do not add the same socket or file descriptor to the same pollset</span></div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="comment"> * multiple times, even if the requested events differ for the </span></div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="comment"> * different calls to apr_pollset_add(). If the events of interest</span></div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="comment"> * for a descriptor change, you must first remove the descriptor </span></div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> <span class="comment"> * from the pollset with apr_pollset_remove(), then add it again </span></div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="comment"> * specifying all requested events.</span></div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__poll.html#ga4ec50bf9a11c6b60927c51b81412f5b9">apr_pollset_add</a>(<a class="code" href="group__apr__poll.html#ga680da1f10ac5ef75efc503a9d15b8906">apr_pollset_t</a> *pollset,</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keyword">const</span> <a class="code" href="structapr__pollfd__t.html">apr_pollfd_t</a> *descriptor);</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="comment"></span> </div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="comment"> * Remove a descriptor from a pollset</span></div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="comment"> * @param pollset The pollset from which to remove the descriptor</span></div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="comment"> * @param descriptor The descriptor to remove</span></div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="comment"> * @remark If the descriptor is not found, APR_NOTFOUND is returned.</span></div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="comment"> * @remark If the pollset has been created with APR_POLLSET_THREADSAFE</span></div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> <span class="comment"> * and thread T1 is blocked in a call to apr_pollset_poll() for</span></div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="comment"> * this same pollset that is being modified via apr_pollset_remove()</span></div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> <span class="comment"> * in thread T2, the currently executing apr_pollset_poll() call in</span></div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> <span class="comment"> * T1 will either: (1) automatically exclude the newly added descriptor</span></div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="comment"> * in the set of descriptors it is watching or (2) return immediately</span></div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="comment"> * with APR_EINTR. Option (1) is recommended, but option (2) is</span></div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="comment"> * allowed for implementations where option (1) is impossible</span></div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="comment"> * or impractical.</span></div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="comment"> * @remark apr_pollset_remove() cannot be used to remove a subset of requested</span></div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="comment"> * events for a descriptor. The reqevents field in the apr_pollfd_t</span></div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <span class="comment"> * parameter must contain the same value when removing as when adding.</span></div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__poll.html#ga3c99c06e142d6b6b789eeb6086122e3a">apr_pollset_remove</a>(<a class="code" href="group__apr__poll.html#ga680da1f10ac5ef75efc503a9d15b8906">apr_pollset_t</a> *pollset,</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keyword">const</span> <a class="code" href="structapr__pollfd__t.html">apr_pollfd_t</a> *descriptor);</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <span class="comment"></span> </div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span> <span class="comment"> * Block for activity on the descriptor(s) in a pollset</span></div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <span class="comment"> * @param pollset The pollset to use</span></div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span> <span class="comment"> * @param timeout The amount of time in microseconds to wait. This is a</span></div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> <span class="comment"> * maximum, not a minimum. If a descriptor is signalled, the</span></div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> <span class="comment"> * function will return before this time. If timeout is</span></div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> <span class="comment"> * negative, the function will block until a descriptor is</span></div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <span class="comment"> * signalled or until apr_pollset_wakeup() has been called.</span></div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="comment"> * @param num Number of signalled descriptors (output parameter)</span></div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="comment"> * @param descriptors Array of signalled descriptors (output parameter)</span></div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="comment"> * @remark APR_EINTR will be returned if the pollset has been created with</span></div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="comment"> * APR_POLLSET_WAKEABLE, apr_pollset_wakeup() has been called while</span></div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="comment"> * waiting for activity, and there were no signalled descriptors at the</span></div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="comment"> * time of the wakeup call.</span></div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="comment"> * @remark Multiple signalled conditions for the same descriptor may be reported</span></div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <span class="comment"> * in one or more returned apr_pollfd_t structures, depending on the</span></div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span> <span class="comment"> * implementation.</span></div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__poll.html#ga6b31d7b3a7b2d356370403dd2b79ecf3">apr_pollset_poll</a>(<a class="code" href="group__apr__poll.html#ga680da1f10ac5ef75efc503a9d15b8906">apr_pollset_t</a> *pollset,</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <a class="code" href="group__apr__time.html#gaae2129185a395cc393f76fabf4f43e47">apr_interval_time_t</a> timeout,</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  apr_int32_t *num,</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keyword">const</span> <a class="code" href="structapr__pollfd__t.html">apr_pollfd_t</a> **descriptors);</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="comment"></span> </div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="comment"> * Interrupt the blocked apr_pollset_poll() call.</span></div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="comment"> * @param pollset The pollset to use</span></div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> <span class="comment"> * @remark If the pollset was not created with APR_POLLSET_WAKEABLE the</span></div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span> <span class="comment"> * return value is APR_EINIT.</span></div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__poll.html#gac5e86828143e169e18b2a6eab94be531">apr_pollset_wakeup</a>(<a class="code" href="group__apr__poll.html#ga680da1f10ac5ef75efc503a9d15b8906">apr_pollset_t</a> *pollset);</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span> <span class="comment"></span> </div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="comment"> * Poll the descriptors in the poll structure</span></div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span> <span class="comment"> * @param aprset The poll structure we will be using. </span></div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="comment"> * @param numsock The number of descriptors we are polling</span></div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span> <span class="comment"> * @param nsds The number of descriptors signalled (output parameter)</span></div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span> <span class="comment"> * @param timeout The amount of time in microseconds to wait. This is a</span></div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> <span class="comment"> * maximum, not a minimum. If a descriptor is signalled, the</span></div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="comment"> * function will return before this time. If timeout is</span></div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> <span class="comment"> * negative, the function will block until a descriptor is</span></div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> <span class="comment"> * signalled or until apr_pollset_wakeup() has been called.</span></div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span> <span class="comment"> * @remark The number of descriptors signalled is returned in the third argument. </span></div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span> <span class="comment"> * This is a blocking call, and it will not return until either a </span></div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span> <span class="comment"> * descriptor has been signalled or the timeout has expired. </span></div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> <span class="comment"> * @remark The rtnevents field in the apr_pollfd_t array will only be filled-</span></div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span> <span class="comment"> * in if the return value is APR_SUCCESS.</span></div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__poll.html#gad1d8a1ccd14952be6da5f272ca8dda76">apr_poll</a>(<a class="code" href="structapr__pollfd__t.html">apr_pollfd_t</a> *aprset, apr_int32_t numsock,</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  apr_int32_t *nsds, </div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <a class="code" href="group__apr__time.html#gaae2129185a395cc393f76fabf4f43e47">apr_interval_time_t</a> timeout);</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span> <span class="comment"></span> </div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span> <span class="comment"> * Return a printable representation of the pollset method.</span></div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> <span class="comment"> * @param pollset The pollset to use</span></div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *) <a class="code" href="group__apr__poll.html#ga942ebbcc17d27911da86e1bd5c7a592e">apr_pollset_method_name</a>(<a class="code" href="group__apr__poll.html#ga680da1f10ac5ef75efc503a9d15b8906">apr_pollset_t</a> *pollset);</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span> <span class="comment"></span> </div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <span class="comment"> * Return a printable representation of the default pollset method</span></div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span> <span class="comment"> * (APR_POLLSET_DEFAULT).</span></div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *) <a class="code" href="group__apr__poll.html#ga5d64867d7a3abd53d3765b4b47cf774f">apr_poll_method_defname</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> <span class="comment"></span> </div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span> <span class="comment">/** Opaque structure used for pollcb API */</span></div>
<div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="group__apr__poll.html#gae382e39bdf0c5a02fca7da3944bece08"> 317</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__apr__poll.html#gae382e39bdf0c5a02fca7da3944bece08">apr_pollcb_t</a> <a class="code" href="group__apr__poll.html#gae382e39bdf0c5a02fca7da3944bece08">apr_pollcb_t</a>;</div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> <span class="comment"></span> </div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="comment"> * Set up a pollcb object</span></div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> <span class="comment"> * @param pollcb The pointer in which to return the newly created object </span></div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <span class="comment"> * @param size The maximum number of descriptors that a single _poll can return.</span></div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> <span class="comment"> * @param p The pool from which to allocate the pollcb</span></div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span> <span class="comment"> * @param flags Optional flags to modify the operation of the pollcb.</span></div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span> <span class="comment"> * @remark If flags contains APR_POLLSET_WAKEABLE, then a pollcb is</span></div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <span class="comment"> * created with an additional internal pipe object used for the</span></div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span> <span class="comment"> * apr_pollcb_wakeup() call. The actual size of pollcb is</span></div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="comment"> * in that case @a size + 1.</span></div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span> <span class="comment"> * @remark Pollcb is only supported on some platforms; the apr_pollcb_create()</span></div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span> <span class="comment"> * call will fail with APR_ENOTIMPL on platforms where it is not supported.</span></div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__poll.html#ga76c33736268d57fca503790711d6d04e">apr_pollcb_create</a>(<a class="code" href="group__apr__poll.html#gae382e39bdf0c5a02fca7da3944bece08">apr_pollcb_t</a> **pollcb,</div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  apr_uint32_t size,</div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <a class="code" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p,</div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  apr_uint32_t flags);</div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="comment"></span> </div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <span class="comment"> * Set up a pollcb object</span></div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span> <span class="comment"> * @param pollcb The pointer in which to return the newly created object </span></div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="comment"> * @param size The maximum number of descriptors that a single _poll can return.</span></div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="comment"> * @param p The pool from which to allocate the pollcb</span></div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span> <span class="comment"> * @param flags Optional flags to modify the operation of the pollcb.</span></div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <span class="comment"> * @param method Poll method to use. See #apr_pollset_method_e. If this</span></div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <span class="comment"> * method cannot be used, the default method will be used unless the</span></div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span> <span class="comment"> * APR_POLLSET_NODEFAULT flag has been specified.</span></div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span> <span class="comment"> * @remark If flags contains APR_POLLSET_WAKEABLE, then a pollcb is</span></div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span> <span class="comment"> * created with an additional internal pipe object used for the</span></div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span> <span class="comment"> * apr_pollcb_wakeup() call. The actual size of pollcb is</span></div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span> <span class="comment"> * in that case @a size + 1.</span></div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span> <span class="comment"> * @remark Pollcb is only supported on some platforms; the apr_pollcb_create_ex()</span></div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span> <span class="comment"> * call will fail with APR_ENOTIMPL on platforms where it is not supported.</span></div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__poll.html#ga2ebdd0cba2d3b8333c46ee48170f8e90">apr_pollcb_create_ex</a>(<a class="code" href="group__apr__poll.html#gae382e39bdf0c5a02fca7da3944bece08">apr_pollcb_t</a> **pollcb,</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  apr_uint32_t size,</div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <a class="code" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p,</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  apr_uint32_t flags,</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <a class="code" href="group__apr__poll.html#gabe6f1238ea45e9425fa052e2788e4a29">apr_pollset_method_e</a> method);</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span> <span class="comment"></span> </div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span> <span class="comment"> * Add a socket or file descriptor to a pollcb</span></div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span> <span class="comment"> * @param pollcb The pollcb to which to add the descriptor</span></div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span> <span class="comment"> * @param descriptor The descriptor to add</span></div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span> <span class="comment"> * @remark If you set client_data in the descriptor, that value will be</span></div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span> <span class="comment"> * returned in the client_data field whenever this descriptor is</span></div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span> <span class="comment"> * signalled in apr_pollcb_poll().</span></div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span> <span class="comment"> * @remark Unlike the apr_pollset API, the descriptor is not copied, and users </span></div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span> <span class="comment"> * must retain the memory used by descriptor, as the same pointer will</span></div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span> <span class="comment"> * be returned to them from apr_pollcb_poll.</span></div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span> <span class="comment"> * @remark Do not add the same socket or file descriptor to the same pollcb</span></div>
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span> <span class="comment"> * multiple times, even if the requested events differ for the </span></div>
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span> <span class="comment"> * different calls to apr_pollcb_add(). If the events of interest</span></div>
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span> <span class="comment"> * for a descriptor change, you must first remove the descriptor </span></div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span> <span class="comment"> * from the pollcb with apr_pollcb_remove(), then add it again </span></div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span> <span class="comment"> * specifying all requested events.</span></div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__poll.html#ga8fab02dfa803d911dae98656fac7a2c8">apr_pollcb_add</a>(<a class="code" href="group__apr__poll.html#gae382e39bdf0c5a02fca7da3944bece08">apr_pollcb_t</a> *pollcb,</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  <a class="code" href="structapr__pollfd__t.html">apr_pollfd_t</a> *descriptor);<span class="comment"></span></div>
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span> <span class="comment"> * Remove a descriptor from a pollcb</span></div>
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span> <span class="comment"> * @param pollcb The pollcb from which to remove the descriptor</span></div>
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span> <span class="comment"> * @param descriptor The descriptor to remove</span></div>
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span> <span class="comment"> * @remark If the descriptor is not found, APR_NOTFOUND is returned.</span></div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span> <span class="comment"> * @remark apr_pollcb_remove() cannot be used to remove a subset of requested</span></div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span> <span class="comment"> * events for a descriptor. The reqevents field in the apr_pollfd_t</span></div>
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span> <span class="comment"> * parameter must contain the same value when removing as when adding.</span></div>
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__poll.html#gad004b778a14d6bcc4e48a10e5af729d8">apr_pollcb_remove</a>(<a class="code" href="group__apr__poll.html#gae382e39bdf0c5a02fca7da3944bece08">apr_pollcb_t</a> *pollcb,</div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <a class="code" href="structapr__pollfd__t.html">apr_pollfd_t</a> *descriptor);</div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span> <span class="comment"></span> </div>
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span> <span class="comment"> * Function prototype for pollcb handlers </span></div>
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span> <span class="comment"> * @param baton Opaque baton passed into apr_pollcb_poll()</span></div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span> <span class="comment"> * @param descriptor Contains the notification for an active descriptor. </span></div>
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span> <span class="comment"> * The @a rtnevents member describes which events were triggered</span></div>
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span> <span class="comment"> * for this descriptor.</span></div>
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span> <span class="comment"> * @remark If the pollcb handler does not return APR_SUCCESS, the apr_pollcb_poll()</span></div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span> <span class="comment"> * call returns with the handler's return value.</span></div>
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00401"></a><span class="lineno"><a class="line" href="group__apr__poll.html#ga1dcd8c87e233dbf105e83d50ef601f55"> 401</a></span> <span class="keyword">typedef</span> <a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> (*<a class="code" href="group__apr__poll.html#ga1dcd8c87e233dbf105e83d50ef601f55">apr_pollcb_cb_t</a>)(<span class="keywordtype">void</span> *baton, <a class="code" href="structapr__pollfd__t.html">apr_pollfd_t</a> *descriptor);</div>
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span> <span class="comment"></span> </div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span> <span class="comment"> * Block for activity on the descriptor(s) in a pollcb</span></div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span> <span class="comment"> * @param pollcb The pollcb to use</span></div>
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span> <span class="comment"> * @param timeout The amount of time in microseconds to wait. This is a</span></div>
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span> <span class="comment"> * maximum, not a minimum. If a descriptor is signalled, the</span></div>
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span> <span class="comment"> * function will return before this time. If timeout is</span></div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span> <span class="comment"> * negative, the function will block until a descriptor is</span></div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span> <span class="comment"> * signalled or until apr_pollcb_wakeup() has been called.</span></div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span> <span class="comment"> * @param func Callback function to call for each active descriptor.</span></div>
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span> <span class="comment"> * @param baton Opaque baton passed to the callback function.</span></div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span> <span class="comment"> * @remark Multiple signalled conditions for the same descriptor may be reported</span></div>
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span> <span class="comment"> * in one or more calls to the callback function, depending on the</span></div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span> <span class="comment"> * implementation.</span></div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span> <span class="comment"> * @remark APR_EINTR will be returned if the pollset has been created with</span></div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span> <span class="comment"> * APR_POLLSET_WAKEABLE and apr_pollcb_wakeup() has been called while</span></div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span> <span class="comment"> * waiting for activity.</span></div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__poll.html#ga11765d1b27e2f621a8dcd2c40f0e259c">apr_pollcb_poll</a>(<a class="code" href="group__apr__poll.html#gae382e39bdf0c5a02fca7da3944bece08">apr_pollcb_t</a> *pollcb,</div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  <a class="code" href="group__apr__time.html#gaae2129185a395cc393f76fabf4f43e47">apr_interval_time_t</a> timeout,</div>
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  <a class="code" href="group__apr__poll.html#ga1dcd8c87e233dbf105e83d50ef601f55">apr_pollcb_cb_t</a> func,</div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  <span class="keywordtype">void</span> *baton);</div>
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span> <span class="comment"></span> </div>
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span> <span class="comment"> * Interrupt the blocked apr_pollcb_poll() call.</span></div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span> <span class="comment"> * @param pollcb The pollcb to use</span></div>
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span> <span class="comment"> * @remark If the pollcb was not created with APR_POLLSET_WAKEABLE the</span></div>
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span> <span class="comment"> * return value is APR_EINIT.</span></div>
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__poll.html#gacfc4c9e2dd39423b6a29b3a2aacb9bf1">apr_pollcb_wakeup</a>(<a class="code" href="group__apr__poll.html#gae382e39bdf0c5a02fca7da3944bece08">apr_pollcb_t</a> *pollcb);</div>
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span> <span class="comment"></span> </div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span> <span class="comment"> * Return a printable representation of the pollcb method.</span></div>
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span> <span class="comment"> * @param pollcb The pollcb to use</span></div>
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span> <a class="code" href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *) <a class="code" href="group__apr__poll.html#ga489123191ad62119d111a23b3eb9f97f">apr_pollcb_method_name</a>(<a class="code" href="group__apr__poll.html#gae382e39bdf0c5a02fca7da3944bece08">apr_pollcb_t</a> *pollcb);</div>
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span> <span class="comment"></span> </div>
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span> <span class="comment">/** @} */</span></div>
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  </div>
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span> }</div>
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  </div>
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span> <span class="preprocessor">#endif </span><span class="comment">/* ! APR_POLL_H */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  </div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="agroup__apr__poll_html_gaa06c538d3fea9d860374043aff9450b2"><div class="ttname"><a href="group__apr__poll.html#gaa06c538d3fea9d860374043aff9450b2">apr_pollset_destroy</a></div><div class="ttdeci">apr_status_t apr_pollset_destroy(apr_pollset_t *pollset)</div></div>
<div class="ttc" id="astructapr__pollfd__t_html_aed5b2109b27984975309922bfa84e3f6"><div class="ttname"><a href="structapr__pollfd__t.html#aed5b2109b27984975309922bfa84e3f6">apr_pollfd_t::rtnevents</a></div><div class="ttdeci">apr_int16_t rtnevents</div><div class="ttdef"><b>Definition:</b> apr_poll.h:112</div></div>
<div class="ttc" id="astructapr__pollfd__t_html_acfafd260241a874745f49ba2df246c53"><div class="ttname"><a href="structapr__pollfd__t.html#acfafd260241a874745f49ba2df246c53">apr_pollfd_t::desc_type</a></div><div class="ttdeci">apr_datatype_e desc_type</div><div class="ttdef"><b>Definition:</b> apr_poll.h:110</div></div>
<div class="ttc" id="aunionapr__descriptor_html"><div class="ttname"><a href="unionapr__descriptor.html">apr_descriptor</a></div><div class="ttdef"><b>Definition:</b> apr_poll.h:99</div></div>
<div class="ttc" id="aapr__errno_8h_html"><div class="ttname"><a href="apr__errno_8h.html">apr_errno.h</a></div><div class="ttdoc">APR Error Codes.</div></div>
<div class="ttc" id="agroup__apr__poll_html_gac5e86828143e169e18b2a6eab94be531"><div class="ttname"><a href="group__apr__poll.html#gac5e86828143e169e18b2a6eab94be531">apr_pollset_wakeup</a></div><div class="ttdeci">apr_status_t apr_pollset_wakeup(apr_pollset_t *pollset)</div></div>
<div class="ttc" id="agroup__apr__poll_html_ga8fab02dfa803d911dae98656fac7a2c8"><div class="ttname"><a href="group__apr__poll.html#ga8fab02dfa803d911dae98656fac7a2c8">apr_pollcb_add</a></div><div class="ttdeci">apr_status_t apr_pollcb_add(apr_pollcb_t *pollcb, apr_pollfd_t *descriptor)</div></div>
<div class="ttc" id="agroup__apr__poll_html_gae382e39bdf0c5a02fca7da3944bece08"><div class="ttname"><a href="group__apr__poll.html#gae382e39bdf0c5a02fca7da3944bece08">apr_pollcb_t</a></div><div class="ttdeci">struct apr_pollcb_t apr_pollcb_t</div><div class="ttdef"><b>Definition:</b> apr_poll.h:317</div></div>
<div class="ttc" id="agroup__apr__poll_html_ga2ebdd0cba2d3b8333c46ee48170f8e90"><div class="ttname"><a href="group__apr__poll.html#ga2ebdd0cba2d3b8333c46ee48170f8e90">apr_pollcb_create_ex</a></div><div class="ttdeci">apr_status_t apr_pollcb_create_ex(apr_pollcb_t **pollcb, apr_uint32_t size, apr_pool_t *p, apr_uint32_t flags, apr_pollset_method_e method)</div></div>
<div class="ttc" id="astructapr__pollfd__t_html_abcedac7097a97823a38ece6e47f4ea9f"><div class="ttname"><a href="structapr__pollfd__t.html#abcedac7097a97823a38ece6e47f4ea9f">apr_pollfd_t::reqevents</a></div><div class="ttdeci">apr_int16_t reqevents</div><div class="ttdef"><b>Definition:</b> apr_poll.h:111</div></div>
<div class="ttc" id="agroup__apr__poll_html_gga0a8549d84c1721788b102a4cc8b4b0f0aeb85f43492052bf0788d31f6dd85a222"><div class="ttname"><a href="group__apr__poll.html#gga0a8549d84c1721788b102a4cc8b4b0f0aeb85f43492052bf0788d31f6dd85a222">APR_NO_DESC</a></div><div class="ttdeci">@ APR_NO_DESC</div><div class="ttdef"><b>Definition:</b> apr_poll.h:92</div></div>
<div class="ttc" id="agroup__apr__poll_html_ga0a8549d84c1721788b102a4cc8b4b0f0"><div class="ttname"><a href="group__apr__poll.html#ga0a8549d84c1721788b102a4cc8b4b0f0">apr_datatype_e</a></div><div class="ttdeci">apr_datatype_e</div><div class="ttdef"><b>Definition:</b> apr_poll.h:91</div></div>
<div class="ttc" id="agroup__apr__poll_html_ga680da1f10ac5ef75efc503a9d15b8906"><div class="ttname"><a href="group__apr__poll.html#ga680da1f10ac5ef75efc503a9d15b8906">apr_pollset_t</a></div><div class="ttdeci">struct apr_pollset_t apr_pollset_t</div><div class="ttdef"><b>Definition:</b> apr_poll.h:123</div></div>
<div class="ttc" id="aunionapr__descriptor_html_a69d605f2bb33b05ceedb3d95b744ca7e"><div class="ttname"><a href="unionapr__descriptor.html#a69d605f2bb33b05ceedb3d95b744ca7e">apr_descriptor::f</a></div><div class="ttdeci">apr_file_t * f</div><div class="ttdef"><b>Definition:</b> apr_poll.h:100</div></div>
<div class="ttc" id="agroup__apr__poll_html_ggabe6f1238ea45e9425fa052e2788e4a29a142ebdcab58ccfabd5d964ff3ab476ab"><div class="ttname"><a href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29a142ebdcab58ccfabd5d964ff3ab476ab">APR_POLLSET_EPOLL</a></div><div class="ttdeci">@ APR_POLLSET_EPOLL</div><div class="ttdef"><b>Definition:</b> apr_poll.h:85</div></div>
<div class="ttc" id="agroup__apr__poll_html_ggabe6f1238ea45e9425fa052e2788e4a29a2722387d6523f8f02cec7c31a45966d4"><div class="ttname"><a href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29a2722387d6523f8f02cec7c31a45966d4">APR_POLLSET_KQUEUE</a></div><div class="ttdeci">@ APR_POLLSET_KQUEUE</div><div class="ttdef"><b>Definition:</b> apr_poll.h:83</div></div>
<div class="ttc" id="agroup__apr__poll_html_ga9448a2d756868aa1c6dbc9726a2e32b5"><div class="ttname"><a href="group__apr__poll.html#ga9448a2d756868aa1c6dbc9726a2e32b5">apr_pollset_create_ex</a></div><div class="ttdeci">apr_status_t apr_pollset_create_ex(apr_pollset_t **pollset, apr_uint32_t size, apr_pool_t *p, apr_uint32_t flags, apr_pollset_method_e method)</div></div>
<div class="ttc" id="agroup__apr__poll_html_ggabe6f1238ea45e9425fa052e2788e4a29ace0288893b2db65847536c41c0048e82"><div class="ttname"><a href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29ace0288893b2db65847536c41c0048e82">APR_POLLSET_AIO_MSGQ</a></div><div class="ttdeci">@ APR_POLLSET_AIO_MSGQ</div><div class="ttdef"><b>Definition:</b> apr_poll.h:87</div></div>
<div class="ttc" id="agroup__apr__poll_html_ga11765d1b27e2f621a8dcd2c40f0e259c"><div class="ttname"><a href="group__apr__poll.html#ga11765d1b27e2f621a8dcd2c40f0e259c">apr_pollcb_poll</a></div><div class="ttdeci">apr_status_t apr_pollcb_poll(apr_pollcb_t *pollcb, apr_interval_time_t timeout, apr_pollcb_cb_t func, void *baton)</div></div>
<div class="ttc" id="aapr__network__io_8h_html"><div class="ttname"><a href="apr__network__io_8h.html">apr_network_io.h</a></div><div class="ttdoc">APR Network library.</div></div>
<div class="ttc" id="agroup__apr__poll_html_ga3c99c06e142d6b6b789eeb6086122e3a"><div class="ttname"><a href="group__apr__poll.html#ga3c99c06e142d6b6b789eeb6086122e3a">apr_pollset_remove</a></div><div class="ttdeci">apr_status_t apr_pollset_remove(apr_pollset_t *pollset, const apr_pollfd_t *descriptor)</div></div>
<div class="ttc" id="agroup__apr__poll_html_gad004b778a14d6bcc4e48a10e5af729d8"><div class="ttname"><a href="group__apr__poll.html#gad004b778a14d6bcc4e48a10e5af729d8">apr_pollcb_remove</a></div><div class="ttdeci">apr_status_t apr_pollcb_remove(apr_pollcb_t *pollcb, apr_pollfd_t *descriptor)</div></div>
<div class="ttc" id="agroup__apr__time_html_gaae2129185a395cc393f76fabf4f43e47"><div class="ttname"><a href="group__apr__time.html#gaae2129185a395cc393f76fabf4f43e47">apr_interval_time_t</a></div><div class="ttdeci">apr_int64_t apr_interval_time_t</div><div class="ttdef"><b>Definition:</b> apr_time.h:56</div></div>
<div class="ttc" id="aapr_8h_html"><div class="ttname"><a href="apr_8h.html">apr.h</a></div><div class="ttdoc">APR Platform Definitions.</div></div>
<div class="ttc" id="agroup__apr__poll_html_ga76c33736268d57fca503790711d6d04e"><div class="ttname"><a href="group__apr__poll.html#ga76c33736268d57fca503790711d6d04e">apr_pollcb_create</a></div><div class="ttdeci">apr_status_t apr_pollcb_create(apr_pollcb_t **pollcb, apr_uint32_t size, apr_pool_t *p, apr_uint32_t flags)</div></div>
<div class="ttc" id="astructapr__pollfd__t_html"><div class="ttname"><a href="structapr__pollfd__t.html">apr_pollfd_t</a></div><div class="ttdef"><b>Definition:</b> apr_poll.h:108</div></div>
<div class="ttc" id="agroup__apr__poll_html_ggabe6f1238ea45e9425fa052e2788e4a29aa6613bebee1abb348da2a153f91c738e"><div class="ttname"><a href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29aa6613bebee1abb348da2a153f91c738e">APR_POLLSET_SELECT</a></div><div class="ttdeci">@ APR_POLLSET_SELECT</div><div class="ttdef"><b>Definition:</b> apr_poll.h:82</div></div>
<div class="ttc" id="agroup__apr__platform_html_gad7b91b811a172bfa802603c2fb688f98"><div class="ttname"><a href="group__apr__platform.html#gad7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a></div><div class="ttdeci">#define APR_DECLARE(type)</div><div class="ttdef"><b>Definition:</b> apr.h:480</div></div>
<div class="ttc" id="agroup__apr__file__io_html_gaa46e4763ac375ea3c7a43ba6f6099e22"><div class="ttname"><a href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a></div><div class="ttdeci">struct apr_file_t apr_file_t</div><div class="ttdef"><b>Definition:</b> apr_file_io.h:188</div></div>
<div class="ttc" id="astructapr__pollfd__t_html_adae68586ed671472590efe8770de38cc"><div class="ttname"><a href="structapr__pollfd__t.html#adae68586ed671472590efe8770de38cc">apr_pollfd_t::p</a></div><div class="ttdeci">apr_pool_t * p</div><div class="ttdef"><b>Definition:</b> apr_poll.h:109</div></div>
<div class="ttc" id="agroup__apr__poll_html_ggabe6f1238ea45e9425fa052e2788e4a29aec66f6da923595ff0a6fa20f4bc41e46"><div class="ttname"><a href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29aec66f6da923595ff0a6fa20f4bc41e46">APR_POLLSET_PORT</a></div><div class="ttdeci">@ APR_POLLSET_PORT</div><div class="ttdef"><b>Definition:</b> apr_poll.h:84</div></div>
<div class="ttc" id="agroup__apr__network__io_html_ga49262b223e7434746e1f1737659aa2c3"><div class="ttname"><a href="group__apr__network__io.html#ga49262b223e7434746e1f1737659aa2c3">apr_socket_t</a></div><div class="ttdeci">struct apr_socket_t apr_socket_t</div><div class="ttdef"><b>Definition:</b> apr_network_io.h:219</div></div>
<div class="ttc" id="astructapr__pollfd__t_html_a01220e7a71963456461baa40b2a05716"><div class="ttname"><a href="structapr__pollfd__t.html#a01220e7a71963456461baa40b2a05716">apr_pollfd_t::client_data</a></div><div class="ttdeci">void * client_data</div><div class="ttdef"><b>Definition:</b> apr_poll.h:114</div></div>
<div class="ttc" id="aapr__file__io_8h_html"><div class="ttname"><a href="apr__file__io_8h.html">apr_file_io.h</a></div><div class="ttdoc">APR File I/O Handling.</div></div>
<div class="ttc" id="agroup__apr__poll_html_ggabe6f1238ea45e9425fa052e2788e4a29aa8c0b4c036644ea4518f8d7c2fd4fe8e"><div class="ttname"><a href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29aa8c0b4c036644ea4518f8d7c2fd4fe8e">APR_POLLSET_POLL</a></div><div class="ttdeci">@ APR_POLLSET_POLL</div><div class="ttdef"><b>Definition:</b> apr_poll.h:86</div></div>
<div class="ttc" id="agroup__apr__poll_html_gad1d8a1ccd14952be6da5f272ca8dda76"><div class="ttname"><a href="group__apr__poll.html#gad1d8a1ccd14952be6da5f272ca8dda76">apr_poll</a></div><div class="ttdeci">apr_status_t apr_poll(apr_pollfd_t *aprset, apr_int32_t numsock, apr_int32_t *nsds, apr_interval_time_t timeout)</div></div>
<div class="ttc" id="aunionapr__descriptor_html_a39a15be8be084afadfa173810b346f6c"><div class="ttname"><a href="unionapr__descriptor.html#a39a15be8be084afadfa173810b346f6c">apr_descriptor::s</a></div><div class="ttdeci">apr_socket_t * s</div><div class="ttdef"><b>Definition:</b> apr_poll.h:101</div></div>
<div class="ttc" id="agroup__apr__errno_html_gaf76ee4543247e9fb3f3546203e590a6c"><div class="ttname"><a href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a></div><div class="ttdeci">int apr_status_t</div><div class="ttdef"><b>Definition:</b> apr_errno.h:44</div></div>
<div class="ttc" id="agroup__apr__poll_html_gga0a8549d84c1721788b102a4cc8b4b0f0a8351d461bf66b706232962fd02e84202"><div class="ttname"><a href="group__apr__poll.html#gga0a8549d84c1721788b102a4cc8b4b0f0a8351d461bf66b706232962fd02e84202">APR_POLL_FILE</a></div><div class="ttdeci">@ APR_POLL_FILE</div><div class="ttdef"><b>Definition:</b> apr_poll.h:94</div></div>
<div class="ttc" id="agroup__apr__poll_html_gacfc4c9e2dd39423b6a29b3a2aacb9bf1"><div class="ttname"><a href="group__apr__poll.html#gacfc4c9e2dd39423b6a29b3a2aacb9bf1">apr_pollcb_wakeup</a></div><div class="ttdeci">apr_status_t apr_pollcb_wakeup(apr_pollcb_t *pollcb)</div></div>
<div class="ttc" id="agroup__apr__poll_html_ga942ebbcc17d27911da86e1bd5c7a592e"><div class="ttname"><a href="group__apr__poll.html#ga942ebbcc17d27911da86e1bd5c7a592e">apr_pollset_method_name</a></div><div class="ttdeci">const char * apr_pollset_method_name(apr_pollset_t *pollset)</div></div>
<div class="ttc" id="aapr__pools_8h_html"><div class="ttname"><a href="apr__pools_8h.html">apr_pools.h</a></div><div class="ttdoc">APR memory allocation.</div></div>
<div class="ttc" id="agroup__apr__poll_html_ga4ca4056a19daee8fe94ddba100fe2326"><div class="ttname"><a href="group__apr__poll.html#ga4ca4056a19daee8fe94ddba100fe2326">apr_pollset_create</a></div><div class="ttdeci">apr_status_t apr_pollset_create(apr_pollset_t **pollset, apr_uint32_t size, apr_pool_t *p, apr_uint32_t flags)</div></div>
<div class="ttc" id="agroup__apr__poll_html_gga0a8549d84c1721788b102a4cc8b4b0f0a413b387c7fe1ca7b096d46dfd9942fe5"><div class="ttname"><a href="group__apr__poll.html#gga0a8549d84c1721788b102a4cc8b4b0f0a413b387c7fe1ca7b096d46dfd9942fe5">APR_POLL_LASTDESC</a></div><div class="ttdeci">@ APR_POLL_LASTDESC</div><div class="ttdef"><b>Definition:</b> apr_poll.h:95</div></div>
<div class="ttc" id="agroup__apr__poll_html_ga1dcd8c87e233dbf105e83d50ef601f55"><div class="ttname"><a href="group__apr__poll.html#ga1dcd8c87e233dbf105e83d50ef601f55">apr_pollcb_cb_t</a></div><div class="ttdeci">apr_status_t(* apr_pollcb_cb_t)(void *baton, apr_pollfd_t *descriptor)</div><div class="ttdef"><b>Definition:</b> apr_poll.h:401</div></div>
<div class="ttc" id="astructapr__pollfd__t_html_ad63baa71bb91f80513d33482e28fb967"><div class="ttname"><a href="structapr__pollfd__t.html#ad63baa71bb91f80513d33482e28fb967">apr_pollfd_t::desc</a></div><div class="ttdeci">apr_descriptor desc</div><div class="ttdef"><b>Definition:</b> apr_poll.h:113</div></div>
<div class="ttc" id="agroup__apr__poll_html_gabe6f1238ea45e9425fa052e2788e4a29"><div class="ttname"><a href="group__apr__poll.html#gabe6f1238ea45e9425fa052e2788e4a29">apr_pollset_method_e</a></div><div class="ttdeci">apr_pollset_method_e</div><div class="ttdef"><b>Definition:</b> apr_poll.h:80</div></div>
<div class="ttc" id="agroup__apr__poll_html_ga5d64867d7a3abd53d3765b4b47cf774f"><div class="ttname"><a href="group__apr__poll.html#ga5d64867d7a3abd53d3765b4b47cf774f">apr_poll_method_defname</a></div><div class="ttdeci">const char * apr_poll_method_defname(void)</div></div>
<div class="ttc" id="agroup__apr__poll_html_gga0a8549d84c1721788b102a4cc8b4b0f0a3629c5b3166fde91792f2f913fbd72f0"><div class="ttname"><a href="group__apr__poll.html#gga0a8549d84c1721788b102a4cc8b4b0f0a3629c5b3166fde91792f2f913fbd72f0">APR_POLL_SOCKET</a></div><div class="ttdeci">@ APR_POLL_SOCKET</div><div class="ttdef"><b>Definition:</b> apr_poll.h:93</div></div>
<div class="ttc" id="agroup__apr__pools_html_gaf137f28edcf9a086cd6bc36c20d7cdfb"><div class="ttname"><a href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a></div><div class="ttdeci">struct apr_pool_t apr_pool_t</div><div class="ttdef"><b>Definition:</b> apr_pools.h:60</div></div>
<div class="ttc" id="aapr__inherit_8h_html"><div class="ttname"><a href="apr__inherit_8h.html">apr_inherit.h</a></div><div class="ttdoc">APR File Handle Inheritance Helpers.</div></div>
<div class="ttc" id="agroup__apr__poll_html_ga6b31d7b3a7b2d356370403dd2b79ecf3"><div class="ttname"><a href="group__apr__poll.html#ga6b31d7b3a7b2d356370403dd2b79ecf3">apr_pollset_poll</a></div><div class="ttdeci">apr_status_t apr_pollset_poll(apr_pollset_t *pollset, apr_interval_time_t timeout, apr_int32_t *num, const apr_pollfd_t **descriptors)</div></div>
<div class="ttc" id="agroup__apr__poll_html_ggabe6f1238ea45e9425fa052e2788e4a29ae68b155914b79d4a58519675dfc24d94"><div class="ttname"><a href="group__apr__poll.html#ggabe6f1238ea45e9425fa052e2788e4a29ae68b155914b79d4a58519675dfc24d94">APR_POLLSET_DEFAULT</a></div><div class="ttdeci">@ APR_POLLSET_DEFAULT</div><div class="ttdef"><b>Definition:</b> apr_poll.h:81</div></div>
<div class="ttc" id="agroup__apr__poll_html_ga489123191ad62119d111a23b3eb9f97f"><div class="ttname"><a href="group__apr__poll.html#ga489123191ad62119d111a23b3eb9f97f">apr_pollcb_method_name</a></div><div class="ttdeci">const char * apr_pollcb_method_name(apr_pollcb_t *pollcb)</div></div>
<div class="ttc" id="agroup__apr__poll_html_ga4ec50bf9a11c6b60927c51b81412f5b9"><div class="ttname"><a href="group__apr__poll.html#ga4ec50bf9a11c6b60927c51b81412f5b9">apr_pollset_add</a></div><div class="ttdeci">apr_status_t apr_pollset_add(apr_pollset_t *pollset, const apr_pollfd_t *descriptor)</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
AnonSec - 2021 | Recode By D7net