apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r151768 [33/47] - in apr/site/trunk/docs/docs/apr: ./ iconv/ util/
Date Mon, 07 Feb 2005 23:12:18 GMT
Modified: apr/site/trunk/docs/docs/apr/apr__shm_8h-source.html
URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr/apr__shm_8h-source.html?view=diff&r1=151767&r2=151768
==============================================================================
--- apr/site/trunk/docs/docs/apr/apr__shm_8h-source.html (original)
+++ apr/site/trunk/docs/docs/apr/apr__shm_8h-source.html Mon Feb  7 15:10:17 2005
@@ -3,148 +3,150 @@
 <title>Apache Portable Runtime: apr_shm.h Source File</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 </head><body>
-<!-- Generated by Doxygen 1.3.8 -->
+<!-- Generated by Doxygen 1.3.7 -->
 <div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a>
| <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a>
| <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex"
href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a>
| <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
-<h1>apr_shm.h</h1><a href="apr__shm_8h.html">Go to the documentation of
this file.</a><pre class="fragment"><div>00001 <span class="comment">/*
Copyright 2000-2004 The Apache Software Foundation</span>
-00002 <span class="comment"> *</span>
-00003 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the
"License");</span>
-00004 <span class="comment"> * you may not use this file except in compliance with
the License.</span>
-00005 <span class="comment"> * You may obtain a copy of the License at</span>
-00006 <span class="comment"> *</span>
-00007 <span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span>
-00008 <span class="comment"> *</span>
-00009 <span class="comment"> * Unless required by applicable law or agreed to in writing,
software</span>
-00010 <span class="comment"> * distributed under the License is distributed on an "AS
IS" BASIS,</span>
-00011 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
express or implied.</span>
-00012 <span class="comment"> * See the License for the specific language governing
permissions and</span>
-00013 <span class="comment"> * limitations under the License.</span>
-00014 <span class="comment"> */</span>
-00015 
-00016 <span class="preprocessor">#ifndef APR_SHM_H</span>
-00017 <span class="preprocessor"></span><span class="preprocessor">#define
APR_SHM_H</span>
-00018 <span class="preprocessor"></span><span class="comment"></span>
-00019 <span class="comment">/**</span>
-00020 <span class="comment"> * @file apr_shm.h</span>
-00021 <span class="comment"> * @brief APR Shared Memory Routines</span>
-00022 <span class="comment"> */</span>
-00023 
-00024 <span class="preprocessor">#include "apr.h"</span>
-00025 <span class="preprocessor">#include "<a class="code" href="apr__pools_8h.html">apr_pools.h</a>"</span>
-00026 <span class="preprocessor">#include "<a class="code" href="apr__errno_8h.html">apr_errno.h</a>"</span>
-00027 
-00028 <span class="preprocessor">#ifdef __cplusplus</span>
-00029 <span class="preprocessor"></span><span class="keyword">extern</span>
<span class="stringliteral">"C"</span> {
-00030 <span class="preprocessor">#endif </span><span class="comment">/*
__cplusplus */</span>
-00031 <span class="comment"></span>
-00032 <span class="comment">/**</span>
-00033 <span class="comment"> * @defgroup apr_shm Shared Memory Routines</span>
-00034 <span class="comment"> * @ingroup APR </span>
-00035 <span class="comment"> * @{</span>
-00036 <span class="comment"> */</span>
-00037 <span class="comment"></span>
-00038 <span class="comment">/**</span>
-00039 <span class="comment"> * Private, platform-specific data struture representing
a shared memory</span>
-00040 <span class="comment"> * segment.</span>
-00041 <span class="comment"> */</span>
-<a name="l00042"></a><a class="code" href="group__apr__shm.html#ga0">00042</a>
<span class="keyword">typedef</span> <span class="keyword">struct </span><a
class="code" href="group__apr__shm.html#ga0">apr_shm_t</a> <a class="code" href="group__apr__shm.html#ga0">apr_shm_t</a>;
-00043 <span class="comment"></span>
-00044 <span class="comment">/**</span>
-00045 <span class="comment"> * Create and make accessable a shared memory segment.</span>
-00046 <span class="comment"> * @param m The shared memory structure to create.</span>
-00047 <span class="comment"> * @param reqsize The desired size of the segment.</span>
-00048 <span class="comment"> * @param filename The file to use for shared memory on
platforms that</span>
-00049 <span class="comment"> *        require it.</span>
-00050 <span class="comment"> * @param pool the pool from which to allocate the shared
memory</span>
-00051 <span class="comment"> *        structure.</span>
-00052 <span class="comment"> * @remark A note about Anonymous vs. Named shared memory
segments:</span>
-00053 <span class="comment"> *         Not all plaforms support anonymous shared memory
segments, but in</span>
-00054 <span class="comment"> *         some cases it is prefered over other types of
shared memory</span>
-00055 <span class="comment"> *         implementations. Passing a NULL 'file' parameter
to this function</span>
-00056 <span class="comment"> *         will cause the subsystem to use anonymous shared
memory segments.</span>
-00057 <span class="comment"> *         If such a system is not available, APR_ENOTIMPL
is returned.</span>
-00058 <span class="comment"> * @remark A note about allocation sizes:</span>
-00059 <span class="comment"> *         On some platforms it is necessary to store some
metainformation</span>
-00060 <span class="comment"> *         about the segment within the actual segment.
In order to supply</span>
-00061 <span class="comment"> *         the caller with the requested size it may be
necessary for the</span>
-00062 <span class="comment"> *         implementation to request a slightly greater
segment length</span>
-00063 <span class="comment"> *         from the subsystem. In all cases, the apr_shm_baseaddr_get()</span>
-00064 <span class="comment"> *         function will return the first usable byte of
memory.</span>
-00065 <span class="comment"> * </span>
-00066 <span class="comment"> */</span>
-00067 APR_DECLARE(<a class="code" href="group__apr__errno.html#ga0">apr_status_t</a>)
apr_shm_create(apr_shm_t **m,
-00068                                          apr_size_t reqsize,
-00069                                          const <span class="keywordtype">char</span>
*filename,
-00070                                          <a class="code" href="group__apr__pools.html#ga0">apr_pool_t</a>
*pool);
-00071 <span class="comment"></span>
-00072 <span class="comment">/**</span>
-00073 <span class="comment"> * Remove shared memory segment associated with a filename.</span>
-00074 <span class="comment"> * @param filename The filename associated with shared-memory
segment which</span>
-00075 <span class="comment"> *        needs to be removed</span>
-00076 <span class="comment"> * @param pool The pool used for file operations</span>
-00077 <span class="comment"> * @remark This function is only supported on platforms
which support</span>
-00078 <span class="comment"> * name-based shared memory segments, and will return APR_ENOTIMPL
on</span>
-00079 <span class="comment"> * platforms without such support.</span>
-00080 <span class="comment"> */</span>
-00081 APR_DECLARE(<a class="code" href="group__apr__errno.html#ga0">apr_status_t</a>)
apr_shm_remove(const <span class="keywordtype">char</span> *filename,
-00082                                          <a class="code" href="group__apr__pools.html#ga0">apr_pool_t</a>
*pool);
-00083 <span class="comment"></span>
-00084 <span class="comment">/**</span>
-00085 <span class="comment"> * Destroy a shared memory segment and associated memory.</span>
-00086 <span class="comment"> * @param m The shared memory segment structure to destroy.</span>
-00087 <span class="comment"> */</span>
-00088 APR_DECLARE(<a class="code" href="group__apr__errno.html#ga0">apr_status_t</a>)
apr_shm_destroy(apr_shm_t *m);
-00089 <span class="comment"></span>
-00090 <span class="comment">/**</span>
-00091 <span class="comment"> * Attach to a shared memory segment that was created</span>
-00092 <span class="comment"> * by another process.</span>
-00093 <span class="comment"> * @param m The shared memory structure to create.</span>
-00094 <span class="comment"> * @param filename The file used to create the original
segment.</span>
-00095 <span class="comment"> *        (This MUST match the original filename.)</span>
-00096 <span class="comment"> * @param pool the pool from which to allocate the shared
memory</span>
-00097 <span class="comment"> *        structure for this process.</span>
-00098 <span class="comment"> */</span>
-00099 APR_DECLARE(<a class="code" href="group__apr__errno.html#ga0">apr_status_t</a>)
apr_shm_attach(apr_shm_t **m,
-00100                                          const <span class="keywordtype">char</span>
*filename,
-00101                                          <a class="code" href="group__apr__pools.html#ga0">apr_pool_t</a>
*pool);
-00102 <span class="comment"></span>
-00103 <span class="comment">/**</span>
-00104 <span class="comment"> * Detach from a shared memory segment without destroying
it.</span>
-00105 <span class="comment"> * @param m The shared memory structure representing the
segment</span>
-00106 <span class="comment"> *        to detach from.</span>
-00107 <span class="comment"> */</span>
-00108 APR_DECLARE(<a class="code" href="group__apr__errno.html#ga0">apr_status_t</a>)
apr_shm_detach(apr_shm_t *m);
-00109 <span class="comment"></span>
-00110 <span class="comment">/**</span>
-00111 <span class="comment"> * Retrieve the base address of the shared memory segment.</span>
-00112 <span class="comment"> * NOTE: This address is only usable within the callers
address</span>
-00113 <span class="comment"> * space, since this API does not guarantee that other
attaching</span>
-00114 <span class="comment"> * processes will maintain the same address mapping.</span>
-00115 <span class="comment"> * @param m The shared memory segment from which to retrieve</span>
-00116 <span class="comment"> *        the base address.</span>
-00117 <span class="comment"> */</span>
-00118 APR_DECLARE(<span class="keywordtype">void</span> *) apr_shm_baseaddr_get(const
apr_shm_t *m);
-00119 <span class="comment"></span>
-00120 <span class="comment">/**</span>
-00121 <span class="comment"> * Retrieve the length of a shared memory segment in bytes.</span>
-00122 <span class="comment"> * @param m The shared memory segment from which to retrieve</span>
-00123 <span class="comment"> *        the segment length.</span>
-00124 <span class="comment"> */</span>
-00125 APR_DECLARE(apr_size_t) apr_shm_size_get(const apr_shm_t *m);
-00126 <span class="comment"></span>
-00127 <span class="comment">/**</span>
-00128 <span class="comment"> * Get the pool used by this shared memory segment.</span>
-00129 <span class="comment"> */</span>
-00130 APR_POOL_DECLARE_ACCESSOR(shm);
-00131 <span class="comment"></span>
-00132 <span class="comment">/** @} */</span> 
-00133 
-00134 #ifdef __cplusplus
-00135 }
-00136 #endif
-00137 
-00138 #endif  <span class="comment">/* APR_SHM_T */</span>
-</div></pre><hr size="1"><address style="align: right;"><small>Generated
on Wed Sep 1 21:36:05 2004 for Apache Portable Runtime by
+<h1>apr_shm.h</h1><a href="apr__shm_8h.html">Go to the documentation of
this file.</a><pre class="fragment"><div>00001 <span class="comment">/*
Copyright 2000-2005 The Apache Software Foundation or its licensors, as</span>
+00002 <span class="comment"> * applicable.</span>
+00003 <span class="comment"> *</span>
+00004 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the
"License");</span>
+00005 <span class="comment"> * you may not use this file except in compliance with
the License.</span>
+00006 <span class="comment"> * You may obtain a copy of the License at</span>
+00007 <span class="comment"> *</span>
+00008 <span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span>
+00009 <span class="comment"> *</span>
+00010 <span class="comment"> * Unless required by applicable law or agreed to in writing,
software</span>
+00011 <span class="comment"> * distributed under the License is distributed on an "AS
IS" BASIS,</span>
+00012 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
express or implied.</span>
+00013 <span class="comment"> * See the License for the specific language governing
permissions and</span>
+00014 <span class="comment"> * limitations under the License.</span>
+00015 <span class="comment"> */</span>
+00016 
+00017 <span class="preprocessor">#ifndef APR_SHM_H</span>
+00018 <span class="preprocessor"></span><span class="preprocessor">#define
APR_SHM_H</span>
+00019 <span class="preprocessor"></span><span class="comment"></span>
+00020 <span class="comment">/**</span>
+00021 <span class="comment"> * @file apr_shm.h</span>
+00022 <span class="comment"> * @brief APR Shared Memory Routines</span>
+00023 <span class="comment"> */</span>
+00024 
+00025 <span class="preprocessor">#include "apr.h"</span>
+00026 <span class="preprocessor">#include "<a class="code" href="apr__pools_8h.html">apr_pools.h</a>"</span>
+00027 <span class="preprocessor">#include "<a class="code" href="apr__errno_8h.html">apr_errno.h</a>"</span>
+00028 
+00029 <span class="preprocessor">#ifdef __cplusplus</span>
+00030 <span class="preprocessor"></span><span class="keyword">extern</span>
<span class="stringliteral">"C"</span> {
+00031 <span class="preprocessor">#endif </span><span class="comment">/*
__cplusplus */</span>
+00032 <span class="comment"></span>
+00033 <span class="comment">/**</span>
+00034 <span class="comment"> * @defgroup apr_shm Shared Memory Routines</span>
+00035 <span class="comment"> * @ingroup APR </span>
+00036 <span class="comment"> * @{</span>
+00037 <span class="comment"> */</span>
+00038 <span class="comment"></span>
+00039 <span class="comment">/**</span>
+00040 <span class="comment"> * Private, platform-specific data struture representing
a shared memory</span>
+00041 <span class="comment"> * segment.</span>
+00042 <span class="comment"> */</span>
+<a name="l00043"></a><a class="code" href="group__apr__shm.html#ga0">00043</a>
<span class="keyword">typedef</span> <span class="keyword">struct </span><a
class="code" href="group__apr__shm.html#ga0">apr_shm_t</a> <a class="code" href="group__apr__shm.html#ga0">apr_shm_t</a>;
+00044 <span class="comment"></span>
+00045 <span class="comment">/**</span>
+00046 <span class="comment"> * Create and make accessable a shared memory segment.</span>
+00047 <span class="comment"> * @param m The shared memory structure to create.</span>
+00048 <span class="comment"> * @param reqsize The desired size of the segment.</span>
+00049 <span class="comment"> * @param filename The file to use for shared memory on
platforms that</span>
+00050 <span class="comment"> *        require it.</span>
+00051 <span class="comment"> * @param pool the pool from which to allocate the shared
memory</span>
+00052 <span class="comment"> *        structure.</span>
+00053 <span class="comment"> * @remark A note about Anonymous vs. Named shared memory
segments:</span>
+00054 <span class="comment"> *         Not all plaforms support anonymous shared memory
segments, but in</span>
+00055 <span class="comment"> *         some cases it is prefered over other types of
shared memory</span>
+00056 <span class="comment"> *         implementations. Passing a NULL 'file' parameter
to this function</span>
+00057 <span class="comment"> *         will cause the subsystem to use anonymous shared
memory segments.</span>
+00058 <span class="comment"> *         If such a system is not available, APR_ENOTIMPL
is returned.</span>
+00059 <span class="comment"> * @remark A note about allocation sizes:</span>
+00060 <span class="comment"> *         On some platforms it is necessary to store some
metainformation</span>
+00061 <span class="comment"> *         about the segment within the actual segment.
In order to supply</span>
+00062 <span class="comment"> *         the caller with the requested size it may be
necessary for the</span>
+00063 <span class="comment"> *         implementation to request a slightly greater
segment length</span>
+00064 <span class="comment"> *         from the subsystem. In all cases, the apr_shm_baseaddr_get()</span>
+00065 <span class="comment"> *         function will return the first usable byte of
memory.</span>
+00066 <span class="comment"> * </span>
+00067 <span class="comment"> */</span>
+00068 APR_DECLARE(apr_status_t) apr_shm_create(apr_shm_t **m,
+00069                                          apr_size_t reqsize,
+00070                                          const <span class="keywordtype">char</span>
*filename,
+00071                                          apr_pool_t *pool);
+00072 <span class="comment"></span>
+00073 <span class="comment">/**</span>
+00074 <span class="comment"> * Remove shared memory segment associated with a filename.</span>
+00075 <span class="comment"> * @param filename The filename associated with shared-memory
segment which</span>
+00076 <span class="comment"> *        needs to be removed</span>
+00077 <span class="comment"> * @param pool The pool used for file operations</span>
+00078 <span class="comment"> * @remark This function is only supported on platforms
which support</span>
+00079 <span class="comment"> * name-based shared memory segments, and will return APR_ENOTIMPL
on</span>
+00080 <span class="comment"> * platforms without such support.</span>
+00081 <span class="comment"> */</span>
+00082 APR_DECLARE(apr_status_t) apr_shm_remove(const <span class="keywordtype">char</span>
*filename,
+00083                                          apr_pool_t *pool);
+00084 <span class="comment"></span>
+00085 <span class="comment">/**</span>
+00086 <span class="comment"> * Destroy a shared memory segment and associated memory.</span>
+00087 <span class="comment"> * @param m The shared memory segment structure to destroy.</span>
+00088 <span class="comment"> */</span>
+00089 APR_DECLARE(apr_status_t) apr_shm_destroy(apr_shm_t *m);
+00090 <span class="comment"></span>
+00091 <span class="comment">/**</span>
+00092 <span class="comment"> * Attach to a shared memory segment that was created</span>
+00093 <span class="comment"> * by another process.</span>
+00094 <span class="comment"> * @param m The shared memory structure to create.</span>
+00095 <span class="comment"> * @param filename The file used to create the original
segment.</span>
+00096 <span class="comment"> *        (This MUST match the original filename.)</span>
+00097 <span class="comment"> * @param pool the pool from which to allocate the shared
memory</span>
+00098 <span class="comment"> *        structure for this process.</span>
+00099 <span class="comment"> */</span>
+00100 APR_DECLARE(apr_status_t) apr_shm_attach(apr_shm_t **m,
+00101                                          const <span class="keywordtype">char</span>
*filename,
+00102                                          apr_pool_t *pool);
+00103 <span class="comment"></span>
+00104 <span class="comment">/**</span>
+00105 <span class="comment"> * Detach from a shared memory segment without destroying
it.</span>
+00106 <span class="comment"> * @param m The shared memory structure representing the
segment</span>
+00107 <span class="comment"> *        to detach from.</span>
+00108 <span class="comment"> */</span>
+00109 APR_DECLARE(apr_status_t) apr_shm_detach(apr_shm_t *m);
+00110 <span class="comment"></span>
+00111 <span class="comment">/**</span>
+00112 <span class="comment"> * Retrieve the base address of the shared memory segment.</span>
+00113 <span class="comment"> * NOTE: This address is only usable within the callers
address</span>
+00114 <span class="comment"> * space, since this API does not guarantee that other
attaching</span>
+00115 <span class="comment"> * processes will maintain the same address mapping.</span>
+00116 <span class="comment"> * @param m The shared memory segment from which to retrieve</span>
+00117 <span class="comment"> *        the base address.</span>
+00118 <span class="comment"> * @return address, aligned by APR_ALIGN_DEFAULT.</span>
+00119 <span class="comment"> */</span>
+00120 APR_DECLARE(<span class="keywordtype">void</span> *) apr_shm_baseaddr_get(const
apr_shm_t *m);
+00121 <span class="comment"></span>
+00122 <span class="comment">/**</span>
+00123 <span class="comment"> * Retrieve the length of a shared memory segment in bytes.</span>
+00124 <span class="comment"> * @param m The shared memory segment from which to retrieve</span>
+00125 <span class="comment"> *        the segment length.</span>
+00126 <span class="comment"> */</span>
+00127 APR_DECLARE(apr_size_t) apr_shm_size_get(const apr_shm_t *m);
+00128 <span class="comment"></span>
+00129 <span class="comment">/**</span>
+00130 <span class="comment"> * Get the pool used by this shared memory segment.</span>
+00131 <span class="comment"> */</span>
+00132 APR_POOL_DECLARE_ACCESSOR(shm);
+00133 <span class="comment"></span>
+00134 <span class="comment">/** @} */</span> 
+00135 
+00136 #ifdef __cplusplus
+00137 }
+00138 #endif
+00139 
+00140 #endif  <span class="comment">/* APR_SHM_T */</span>
+</div></pre><hr size="1"><address style="align: right;"><small>Generated
on Mon Feb 7 13:18:25 2005 for Apache Portable Runtime by
 <a href="http://www.doxygen.org/index.html">
-<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
 </body>
 </html>

Modified: apr/site/trunk/docs/docs/apr/apr__shm_8h.html
URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr/apr__shm_8h.html?view=diff&r1=151767&r2=151768
==============================================================================
--- apr/site/trunk/docs/docs/apr/apr__shm_8h.html (original)
+++ apr/site/trunk/docs/docs/apr/apr__shm_8h.html Mon Feb  7 15:10:17 2005
@@ -3,9 +3,10 @@
 <title>Apache Portable Runtime: apr_shm.h File Reference</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 </head><body>
-<!-- Generated by Doxygen 1.3.8 -->
+<!-- Generated by Doxygen 1.3.7 -->
 <div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a>
| <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a>
| <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex"
href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a>
| <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
-<h1>apr_shm.h File Reference</h1>APR Shared Memory Routines. <a href="#_details">More...</a>
+<h1>apr_shm.h File Reference</h1>APR Shared Memory Routines.  
+<a href="#_details">More...</a>
 <p>
 <code>#include "apr.h"</code><br>
 <code>#include "<a class="el" href="apr__pools_8h-source.html">apr_pools.h</a>"</code><br>
@@ -38,8 +39,8 @@
 <hr><a name="_details"></a><h2>Detailed Description</h2>
 APR Shared Memory Routines. 
 <p>
-<hr size="1"><address style="align: right;"><small>Generated on Wed Sep
1 21:36:05 2004 for Apache Portable Runtime by
+<hr size="1"><address style="align: right;"><small>Generated on Mon Feb
7 13:18:25 2005 for Apache Portable Runtime by
 <a href="http://www.doxygen.org/index.html">
-<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
 </body>
 </html>

Modified: apr/site/trunk/docs/docs/apr/apr__signal_8h-source.html
URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr/apr__signal_8h-source.html?view=diff&r1=151767&r2=151768
==============================================================================
--- apr/site/trunk/docs/docs/apr/apr__signal_8h-source.html (original)
+++ apr/site/trunk/docs/docs/apr/apr__signal_8h-source.html Mon Feb  7 15:10:17 2005
@@ -3,118 +3,119 @@
 <title>Apache Portable Runtime: apr_signal.h Source File</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 </head><body>
-<!-- Generated by Doxygen 1.3.8 -->
+<!-- Generated by Doxygen 1.3.7 -->
 <div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a>
| <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a>
| <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex"
href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a>
| <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
-<h1>apr_signal.h</h1><a href="apr__signal_8h.html">Go to the documentation
of this file.</a><pre class="fragment"><div>00001 <span class="comment">/*
Copyright 2000-2004 The Apache Software Foundation</span>
-00002 <span class="comment"> *</span>
-00003 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the
"License");</span>
-00004 <span class="comment"> * you may not use this file except in compliance with
the License.</span>
-00005 <span class="comment"> * You may obtain a copy of the License at</span>
-00006 <span class="comment"> *</span>
-00007 <span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span>
-00008 <span class="comment"> *</span>
-00009 <span class="comment"> * Unless required by applicable law or agreed to in writing,
software</span>
-00010 <span class="comment"> * distributed under the License is distributed on an "AS
IS" BASIS,</span>
-00011 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
express or implied.</span>
-00012 <span class="comment"> * See the License for the specific language governing
permissions and</span>
-00013 <span class="comment"> * limitations under the License.</span>
-00014 <span class="comment"> */</span>
-00015 
-00016 <span class="preprocessor">#ifndef APR_SIGNAL_H</span>
-00017 <span class="preprocessor"></span><span class="preprocessor">#define
APR_SIGNAL_H</span>
-00018 <span class="preprocessor"></span><span class="comment"></span>
-00019 <span class="comment">/**</span>
-00020 <span class="comment"> * @file apr_signal.h </span>
-00021 <span class="comment"> * @brief APR Signal Handling</span>
-00022 <span class="comment"> */</span>
-00023 
-00024 <span class="preprocessor">#include "apr.h"</span>
-00025 <span class="preprocessor">#include "<a class="code" href="apr__pools_8h.html">apr_pools.h</a>"</span>
-00026 
-00027 <span class="preprocessor">#if APR_HAVE_SIGNAL_H</span>
-00028 <span class="preprocessor"></span><span class="preprocessor">#include
&lt;signal.h&gt;</span>
-00029 <span class="preprocessor">#endif</span>
-00030 <span class="preprocessor"></span>
-00031 <span class="preprocessor">#ifdef __cplusplus</span>
-00032 <span class="preprocessor"></span><span class="keyword">extern</span>
<span class="stringliteral">"C"</span> {
-00033 <span class="preprocessor">#endif </span><span class="comment">/*
__cplusplus */</span>
-00034 <span class="comment"></span>
-00035 <span class="comment">/**</span>
-00036 <span class="comment"> * @defgroup apr_signal Handling</span>
-00037 <span class="comment"> * @ingroup APR </span>
-00038 <span class="comment"> * @{</span>
-00039 <span class="comment"> */</span>
-00040 
-00041 <span class="preprocessor">#if APR_HAVE_SIGACTION || defined(DOXYGEN)</span>
-00042 <span class="preprocessor"></span>
-00043 <span class="preprocessor">#if defined(DARWIN) &amp;&amp; !defined(__cplusplus)
&amp;&amp; !defined(_ANSI_SOURCE)</span>
-00044 <span class="preprocessor"></span><span class="comment">/* work around
Darwin header file bugs</span>
-00045 <span class="comment"> *   http://www.opensource.apple.com/bugs/X/BSD%20Kernel/2657228.html</span>
-00046 <span class="comment"> */</span>
-00047 <span class="preprocessor">#undef SIG_DFL</span>
-00048 <span class="preprocessor"></span><span class="preprocessor">#undef
SIG_IGN</span>
-00049 <span class="preprocessor"></span><span class="preprocessor">#undef
SIG_ERR</span>
-00050 <span class="preprocessor"></span><span class="preprocessor">#define
SIG_DFL (void (*)(int))0</span>
-00051 <span class="preprocessor"></span><span class="preprocessor">#define
SIG_IGN (void (*)(int))1</span>
-00052 <span class="preprocessor"></span><span class="preprocessor">#define
SIG_ERR (void (*)(int))-1</span>
-00053 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
-00054 <span class="preprocessor"></span><span class="comment"></span>
-00055 <span class="comment">/** Function prototype for signal handlers */</span>
-<a name="l00056"></a><a class="code" href="group__apr__signal.html#ga0">00056</a>
<span class="keyword">typedef</span> <span class="keywordtype">void</span>
<a class="code" href="group__apr__signal.html#ga0">apr_sigfunc_t</a>(<span
class="keywordtype">int</span>);
-00057 <span class="comment"></span>
-00058 <span class="comment">/**</span>
-00059 <span class="comment"> * Set the signal handler function for a given signal</span>
-00060 <span class="comment"> * @param signo The signal (eg... SIGWINCH)</span>
-00061 <span class="comment"> * @param func the function to get called</span>
-00062 <span class="comment"> */</span>
-00063 APR_DECLARE(<a class="code" href="group__apr__signal.html#ga0">apr_sigfunc_t</a>
*) apr_signal(<span class="keywordtype">int</span> signo, <a class="code" href="group__apr__signal.html#ga0">apr_sigfunc_t</a>
* func);
-00064 
-00065 #if defined(SIG_IGN) &amp;&amp; !defined(SIG_ERR)
-00066 #define SIG_ERR ((<a class="code" href="group__apr__signal.html#ga0">apr_sigfunc_t</a>
*) -1)
-00067 #endif
-00068 
-00069 #else <span class="comment">/* !APR_HAVE_SIGACTION */</span>
-00070 #define apr_signal(a, b) signal(a, b)
-00071 #endif
-00072 
-00073 <span class="comment"></span>
-00074 <span class="comment">/**</span>
-00075 <span class="comment"> * Get the description for a specific signal number</span>
-00076 <span class="comment"> * @param signum The signal number</span>
-00077 <span class="comment"> * @return The description of the signal</span>
-00078 <span class="comment"> */</span>
-00079 APR_DECLARE(const <span class="keywordtype">char</span> *) apr_signal_description_get(<span
class="keywordtype">int</span> signum);
-00080 <span class="comment"></span>
-00081 <span class="comment">/**</span>
-00082 <span class="comment"> * APR-private function for initializing the signal package</span>
-00083 <span class="comment"> * @internal</span>
-00084 <span class="comment"> * @param pglobal The internal, global pool</span>
-00085 <span class="comment"> */</span>
-00086 <span class="keywordtype">void</span> apr_signal_init(<a class="code"
href="group__apr__pools.html#ga0">apr_pool_t</a> *pglobal);
-00087 <span class="comment"></span>
-00088 <span class="comment">/**</span>
-00089 <span class="comment"> * Block the delivery of a particular signal</span>
-00090 <span class="comment"> * @param signum The signal number</span>
-00091 <span class="comment"> * @return status</span>
-00092 <span class="comment"> */</span>
-00093 APR_DECLARE(<a class="code" href="group__apr__errno.html#ga0">apr_status_t</a>)
apr_signal_block(<span class="keywordtype">int</span> signum);
-00094 <span class="comment"></span>
-00095 <span class="comment">/**</span>
-00096 <span class="comment"> * Enable the delivery of a particular signal</span>
-00097 <span class="comment"> * @param signum The signal number</span>
-00098 <span class="comment"> * @return status</span>
-00099 <span class="comment"> */</span>
-00100 APR_DECLARE(<a class="code" href="group__apr__errno.html#ga0">apr_status_t</a>)
apr_signal_unblock(<span class="keywordtype">int</span> signum);
-00101 <span class="comment"></span>
-00102 <span class="comment">/** @} */</span>
-00103 
-00104 #ifdef __cplusplus
-00105 }
-00106 #endif <span class="comment">/* __cplusplus */</span>
-00107 
-00108 #endif <span class="comment">/* APR_SIGNAL_H */</span>
-</div></pre><hr size="1"><address style="align: right;"><small>Generated
on Wed Sep 1 21:36:05 2004 for Apache Portable Runtime by
+<h1>apr_signal.h</h1><a href="apr__signal_8h.html">Go to the documentation
of this file.</a><pre class="fragment"><div>00001 <span class="comment">/*
Copyright 2000-2005 The Apache Software Foundation or its licensors, as</span>
+00002 <span class="comment"> * applicable.</span>
+00003 <span class="comment"> *</span>
+00004 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the
"License");</span>
+00005 <span class="comment"> * you may not use this file except in compliance with
the License.</span>
+00006 <span class="comment"> * You may obtain a copy of the License at</span>
+00007 <span class="comment"> *</span>
+00008 <span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span>
+00009 <span class="comment"> *</span>
+00010 <span class="comment"> * Unless required by applicable law or agreed to in writing,
software</span>
+00011 <span class="comment"> * distributed under the License is distributed on an "AS
IS" BASIS,</span>
+00012 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
express or implied.</span>
+00013 <span class="comment"> * See the License for the specific language governing
permissions and</span>
+00014 <span class="comment"> * limitations under the License.</span>
+00015 <span class="comment"> */</span>
+00016 
+00017 <span class="preprocessor">#ifndef APR_SIGNAL_H</span>
+00018 <span class="preprocessor"></span><span class="preprocessor">#define
APR_SIGNAL_H</span>
+00019 <span class="preprocessor"></span><span class="comment"></span>
+00020 <span class="comment">/**</span>
+00021 <span class="comment"> * @file apr_signal.h </span>
+00022 <span class="comment"> * @brief APR Signal Handling</span>
+00023 <span class="comment"> */</span>
+00024 
+00025 <span class="preprocessor">#include "apr.h"</span>
+00026 <span class="preprocessor">#include "<a class="code" href="apr__pools_8h.html">apr_pools.h</a>"</span>
+00027 
+00028 <span class="preprocessor">#if APR_HAVE_SIGNAL_H</span>
+00029 <span class="preprocessor"></span><span class="preprocessor">#include
&lt;signal.h&gt;</span>
+00030 <span class="preprocessor">#endif</span>
+00031 <span class="preprocessor"></span>
+00032 <span class="preprocessor">#ifdef __cplusplus</span>
+00033 <span class="preprocessor"></span><span class="keyword">extern</span>
<span class="stringliteral">"C"</span> {
+00034 <span class="preprocessor">#endif </span><span class="comment">/*
__cplusplus */</span>
+00035 <span class="comment"></span>
+00036 <span class="comment">/**</span>
+00037 <span class="comment"> * @defgroup apr_signal Handling</span>
+00038 <span class="comment"> * @ingroup APR </span>
+00039 <span class="comment"> * @{</span>
+00040 <span class="comment"> */</span>
+00041 
+00042 <span class="preprocessor">#if APR_HAVE_SIGACTION || defined(DOXYGEN)</span>
+00043 <span class="preprocessor"></span>
+00044 <span class="preprocessor">#if defined(DARWIN) &amp;&amp; !defined(__cplusplus)
&amp;&amp; !defined(_ANSI_SOURCE)</span>
+00045 <span class="preprocessor"></span><span class="comment">/* work around
Darwin header file bugs</span>
+00046 <span class="comment"> *   http://www.opensource.apple.com/bugs/X/BSD%20Kernel/2657228.html</span>
+00047 <span class="comment"> */</span>
+00048 <span class="preprocessor">#undef SIG_DFL</span>
+00049 <span class="preprocessor"></span><span class="preprocessor">#undef
SIG_IGN</span>
+00050 <span class="preprocessor"></span><span class="preprocessor">#undef
SIG_ERR</span>
+00051 <span class="preprocessor"></span><span class="preprocessor">#define
SIG_DFL (void (*)(int))0</span>
+00052 <span class="preprocessor"></span><span class="preprocessor">#define
SIG_IGN (void (*)(int))1</span>
+00053 <span class="preprocessor"></span><span class="preprocessor">#define
SIG_ERR (void (*)(int))-1</span>
+00054 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
+00055 <span class="preprocessor"></span><span class="comment"></span>
+00056 <span class="comment">/** Function prototype for signal handlers */</span>
+<a name="l00057"></a><a class="code" href="group__apr__signal.html#ga0">00057</a>
<span class="keyword">typedef</span> <span class="keywordtype">void</span>
<a class="code" href="group__apr__signal.html#ga0">apr_sigfunc_t</a>(<span
class="keywordtype">int</span>);
+00058 <span class="comment"></span>
+00059 <span class="comment">/**</span>
+00060 <span class="comment"> * Set the signal handler function for a given signal</span>
+00061 <span class="comment"> * @param signo The signal (eg... SIGWINCH)</span>
+00062 <span class="comment"> * @param func the function to get called</span>
+00063 <span class="comment"> */</span>
+00064 APR_DECLARE(apr_sigfunc_t *) apr_signal(<span class="keywordtype">int</span>
signo, apr_sigfunc_t * func);
+00065 
+00066 #if defined(SIG_IGN) &amp;&amp; !defined(SIG_ERR)
+00067 #define SIG_ERR ((apr_sigfunc_t *) -1)
+00068 #endif
+00069 
+00070 #else <span class="comment">/* !APR_HAVE_SIGACTION */</span>
+00071 #define apr_signal(a, b) signal(a, b)
+00072 #endif
+00073 
+00074 <span class="comment"></span>
+00075 <span class="comment">/**</span>
+00076 <span class="comment"> * Get the description for a specific signal number</span>
+00077 <span class="comment"> * @param signum The signal number</span>
+00078 <span class="comment"> * @return The description of the signal</span>
+00079 <span class="comment"> */</span>
+00080 APR_DECLARE(const <span class="keywordtype">char</span> *) apr_signal_description_get(<span
class="keywordtype">int</span> signum);
+00081 <span class="comment"></span>
+00082 <span class="comment">/**</span>
+00083 <span class="comment"> * APR-private function for initializing the signal package</span>
+00084 <span class="comment"> * @internal</span>
+00085 <span class="comment"> * @param pglobal The internal, global pool</span>
+00086 <span class="comment"> */</span>
+00087 <span class="keywordtype">void</span> apr_signal_init(apr_pool_t *pglobal);
+00088 <span class="comment"></span>
+00089 <span class="comment">/**</span>
+00090 <span class="comment"> * Block the delivery of a particular signal</span>
+00091 <span class="comment"> * @param signum The signal number</span>
+00092 <span class="comment"> * @return status</span>
+00093 <span class="comment"> */</span>
+00094 APR_DECLARE(apr_status_t) apr_signal_block(<span class="keywordtype">int</span>
signum);
+00095 <span class="comment"></span>
+00096 <span class="comment">/**</span>
+00097 <span class="comment"> * Enable the delivery of a particular signal</span>
+00098 <span class="comment"> * @param signum The signal number</span>
+00099 <span class="comment"> * @return status</span>
+00100 <span class="comment"> */</span>
+00101 APR_DECLARE(apr_status_t) apr_signal_unblock(<span class="keywordtype">int</span>
signum);
+00102 <span class="comment"></span>
+00103 <span class="comment">/** @} */</span>
+00104 
+00105 #ifdef __cplusplus
+00106 }
+00107 #endif <span class="comment">/* __cplusplus */</span>
+00108 
+00109 #endif <span class="comment">/* APR_SIGNAL_H */</span>
+</div></pre><hr size="1"><address style="align: right;"><small>Generated
on Mon Feb 7 13:18:25 2005 for Apache Portable Runtime by
 <a href="http://www.doxygen.org/index.html">
-<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
 </body>
 </html>

Modified: apr/site/trunk/docs/docs/apr/apr__signal_8h.html
URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr/apr__signal_8h.html?view=diff&r1=151767&r2=151768
==============================================================================
--- apr/site/trunk/docs/docs/apr/apr__signal_8h.html (original)
+++ apr/site/trunk/docs/docs/apr/apr__signal_8h.html Mon Feb  7 15:10:17 2005
@@ -3,9 +3,10 @@
 <title>Apache Portable Runtime: apr_signal.h File Reference</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 </head><body>
-<!-- Generated by Doxygen 1.3.8 -->
+<!-- Generated by Doxygen 1.3.7 -->
 <div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a>
| <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a>
| <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex"
href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a>
| <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
-<h1>apr_signal.h File Reference</h1>APR Signal Handling. <a href="#_details">More...</a>
+<h1>apr_signal.h File Reference</h1>APR Signal Handling.  
+<a href="#_details">More...</a>
 <p>
 <code>#include "apr.h"</code><br>
 <code>#include "<a class="el" href="apr__pools_8h-source.html">apr_pools.h</a>"</code><br>
@@ -31,8 +32,8 @@
 <hr><a name="_details"></a><h2>Detailed Description</h2>
 APR Signal Handling. 
 <p>
-<hr size="1"><address style="align: right;"><small>Generated on Wed Sep
1 21:36:05 2004 for Apache Portable Runtime by
+<hr size="1"><address style="align: right;"><small>Generated on Mon Feb
7 13:18:25 2005 for Apache Portable Runtime by
 <a href="http://www.doxygen.org/index.html">
-<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
 </body>
 </html>



Mime
View raw message