Modified: apr/site/trunk/docs/docs/apr-util/apr__anylock_8h-source.html URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr-util/apr__anylock_8h-source.html?view=diff&r1=151767&r2=151768 ============================================================================== --- apr/site/trunk/docs/docs/apr-util/apr__anylock_8h-source.html (original) +++ apr/site/trunk/docs/docs/apr-util/apr__anylock_8h-source.html Mon Feb 7 15:10:17 2005 @@ -3,127 +3,128 @@ <title>Apache Portable Runtime Utility Library: include/apr_anylock.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> -<!-- Generated by Doxygen 1.3.8 --> +<!-- Generated by Doxygen 1.3.7 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div> -<h1>include/apr_anylock.h</h1><a href="apr__anylock_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 -00020 <span class="preprocessor">#ifndef APR_ANYLOCK_H</span> -00021 <span class="preprocessor"></span><span class="preprocessor">#define APR_ANYLOCK_H</span> -00022 <span class="preprocessor"></span> -00023 <span class="preprocessor">#include "apr_proc_mutex.h"</span> -00024 <span class="preprocessor">#include "apr_thread_mutex.h"</span> -00025 <span class="preprocessor">#include "apr_thread_rwlock.h"</span> -00026 -<a name="l00028"></a><a class="code" href="structapr__anylock__t.html">00028</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapr__anylock__t.html">apr_anylock_t</a> { -<a name="l00030"></a><a class="code" href="structapr__anylock__t.html#w5">00030</a> <span class="keyword">enum</span> <a class="code" href="structapr__anylock__t.html#w5">tm_lock</a> { -00031 <a class="code" href="structapr__anylock__t.html#w5w0">apr_anylock_none</a>, -00032 <a class="code" href="structapr__anylock__t.html#w5w1">apr_anylock_procmutex</a>, -00033 <a class="code" href="structapr__anylock__t.html#w5w2">apr_anylock_threadmutex</a>, -00034 <a class="code" href="structapr__anylock__t.html#w5w3">apr_anylock_readlock</a>, -00035 <a class="code" href="structapr__anylock__t.html#w5w4">apr_anylock_writelock</a> -00036 } type; -<a name="l00038"></a><a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html">00038</a> <span class="keyword">union </span><a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html">apr_anylock_u_t</a> { -<a name="l00039"></a><a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html#o0">00039</a> apr_proc_mutex_t *<a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html#o0">pm</a>; -00040 <span class="preprocessor">#if APR_HAS_THREADS</span> -<a name="l00041"></a><a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html#o1">00041</a> <span class="preprocessor"></span> apr_thread_mutex_t *<a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html#o1">tm</a>; -<a name="l00042"></a><a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html#o2">00042</a> apr_thread_rwlock_t *<a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html#o2">rw</a>; -00043 <span class="preprocessor">#endif</span> -00044 <span class="preprocessor"></span> } <a class="code" href="structapr__anylock__t.html#o1">lock</a>; -00045 } <a class="code" href="structapr__anylock__t.html">apr_anylock_t</a>; -00046 -00047 <span class="preprocessor">#if APR_HAS_THREADS</span> -00048 <span class="preprocessor"></span> -<a name="l00050"></a><a class="code" href="apr__anylock_8h.html#a0">00050</a> <span class="preprocessor">#define APR_ANYLOCK_LOCK(lck) \</span> -00051 <span class="preprocessor"> (((lck)->type == apr_anylock_none) \</span> -00052 <span class="preprocessor"> ? APR_SUCCESS \</span> -00053 <span class="preprocessor"> : (((lck)->type == apr_anylock_threadmutex) \</span> -00054 <span class="preprocessor"> ? apr_thread_mutex_lock((lck)->lock.tm) \</span> -00055 <span class="preprocessor"> : (((lck)->type == apr_anylock_procmutex) \</span> -00056 <span class="preprocessor"> ? apr_proc_mutex_lock((lck)->lock.pm) \</span> -00057 <span class="preprocessor"> : (((lck)->type == apr_anylock_readlock) \</span> -00058 <span class="preprocessor"> ? apr_thread_rwlock_rdlock((lck)->lock.rw) \</span> -00059 <span class="preprocessor"> : (((lck)->type == apr_anylock_writelock) \</span> -00060 <span class="preprocessor"> ? apr_thread_rwlock_wrlock((lck)->lock.rw) \</span> -00061 <span class="preprocessor"> : APR_EINVAL)))))</span> -00062 <span class="preprocessor"></span> -00063 <span class="preprocessor">#else </span><span class="comment">/* APR_HAS_THREADS */</span> -00064 -00065 <span class="preprocessor">#define APR_ANYLOCK_LOCK(lck) \</span> -00066 <span class="preprocessor"> (((lck)->type == apr_anylock_none) \</span> -00067 <span class="preprocessor"> ? APR_SUCCESS \</span> -00068 <span class="preprocessor"> : (((lck)->type == apr_anylock_procmutex) \</span> -00069 <span class="preprocessor"> ? apr_proc_mutex_lock((lck)->lock.pm) \</span> -00070 <span class="preprocessor"> : APR_EINVAL))</span> -00071 <span class="preprocessor"></span> -00072 <span class="preprocessor">#endif </span><span class="comment">/* APR_HAS_THREADS */</span> -00073 -00074 <span class="preprocessor">#if APR_HAS_THREADS</span> -00075 <span class="preprocessor"></span> -<a name="l00077"></a><a class="code" href="apr__anylock_8h.html#a1">00077</a> <span class="preprocessor">#define APR_ANYLOCK_TRYLOCK(lck) \</span> -00078 <span class="preprocessor"> (((lck)->type == apr_anylock_none) \</span> -00079 <span class="preprocessor"> ? APR_SUCCESS \</span> -00080 <span class="preprocessor"> : (((lck)->type == apr_anylock_threadmutex) \</span> -00081 <span class="preprocessor"> ? apr_thread_mutex_trylock((lck)->lock.tm) \</span> -00082 <span class="preprocessor"> : (((lck)->type == apr_anylock_procmutex) \</span> -00083 <span class="preprocessor"> ? apr_proc_mutex_trylock((lck)->lock.pm) \</span> -00084 <span class="preprocessor"> : (((lck)->type == apr_anylock_readlock) \</span> -00085 <span class="preprocessor"> ? apr_thread_rwlock_tryrdlock((lck)->lock.rw) \</span> -00086 <span class="preprocessor"> : (((lck)->type == apr_anylock_writelock) \</span> -00087 <span class="preprocessor"> ? apr_thread_rwlock_trywrlock((lck)->lock.rw) \</span> -00088 <span class="preprocessor"> : APR_EINVAL)))))</span> -00089 <span class="preprocessor"></span> -00090 <span class="preprocessor">#else </span><span class="comment">/* APR_HAS_THREADS */</span> -00091 -00092 <span class="preprocessor">#define APR_ANYLOCK_TRYLOCK(lck) \</span> -00093 <span class="preprocessor"> (((lck)->type == apr_anylock_none) \</span> -00094 <span class="preprocessor"> ? APR_SUCCESS \</span> -00095 <span class="preprocessor"> : (((lck)->type == apr_anylock_procmutex) \</span> -00096 <span class="preprocessor"> ? apr_proc_mutex_trylock((lck)->lock.pm) \</span> -00097 <span class="preprocessor"> : APR_EINVAL))</span> -00098 <span class="preprocessor"></span> -00099 <span class="preprocessor">#endif </span><span class="comment">/* APR_HAS_THREADS */</span> -00100 -00101 <span class="preprocessor">#if APR_HAS_THREADS</span> -00102 <span class="preprocessor"></span> -<a name="l00104"></a><a class="code" href="apr__anylock_8h.html#a2">00104</a> <span class="preprocessor">#define APR_ANYLOCK_UNLOCK(lck) \</span> -00105 <span class="preprocessor"> (((lck)->type == apr_anylock_none) \</span> -00106 <span class="preprocessor"> ? APR_SUCCESS \</span> -00107 <span class="preprocessor"> : (((lck)->type == apr_anylock_threadmutex) \</span> -00108 <span class="preprocessor"> ? apr_thread_mutex_unlock((lck)->lock.tm) \</span> -00109 <span class="preprocessor"> : (((lck)->type == apr_anylock_procmutex) \</span> -00110 <span class="preprocessor"> ? apr_proc_mutex_unlock((lck)->lock.pm) \</span> -00111 <span class="preprocessor"> : ((((lck)->type == apr_anylock_readlock) || \</span> -00112 <span class="preprocessor"> ((lck)->type == apr_anylock_writelock)) \</span> -00113 <span class="preprocessor"> ? apr_thread_rwlock_unlock((lck)->lock.rw) \</span> -00114 <span class="preprocessor"> : APR_EINVAL))))</span> -00115 <span class="preprocessor"></span> -00116 <span class="preprocessor">#else </span><span class="comment">/* APR_HAS_THREADS */</span> -00117 -00118 <span class="preprocessor">#define APR_ANYLOCK_UNLOCK(lck) \</span> -00119 <span class="preprocessor"> (((lck)->type == apr_anylock_none) \</span> -00120 <span class="preprocessor"> ? APR_SUCCESS \</span> -00121 <span class="preprocessor"> : (((lck)->type == apr_anylock_procmutex) \</span> -00122 <span class="preprocessor"> ? apr_proc_mutex_unlock((lck)->lock.pm) \</span> -00123 <span class="preprocessor"> : APR_EINVAL))</span> -00124 <span class="preprocessor"></span> -00125 <span class="preprocessor">#endif </span><span class="comment">/* APR_HAS_THREADS */</span> -00126 -00127 <span class="preprocessor">#endif </span><span class="comment">/* !APR_ANYLOCK_H */</span> -</div></pre><hr size="1"><address style="align: right;"><small>Generated on Wed Sep 1 21:35:50 2004 for Apache Portable Runtime Utility Library by +<h1>include/apr_anylock.h</h1><a href="apr__anylock_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 +00021 <span class="preprocessor">#ifndef APR_ANYLOCK_H</span> +00022 <span class="preprocessor"></span><span class="preprocessor">#define APR_ANYLOCK_H</span> +00023 <span class="preprocessor"></span> +00024 <span class="preprocessor">#include "apr_proc_mutex.h"</span> +00025 <span class="preprocessor">#include "apr_thread_mutex.h"</span> +00026 <span class="preprocessor">#include "apr_thread_rwlock.h"</span> +00027 +<a name="l00029"></a><a class="code" href="structapr__anylock__t.html">00029</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapr__anylock__t.html">apr_anylock_t</a> { +<a name="l00031"></a><a class="code" href="structapr__anylock__t.html#w5">00031</a> <span class="keyword">enum</span> <a class="code" href="structapr__anylock__t.html#w5">tm_lock</a> { +00032 <a class="code" href="structapr__anylock__t.html#w5w0">apr_anylock_none</a>, +00033 <a class="code" href="structapr__anylock__t.html#w5w1">apr_anylock_procmutex</a>, +00034 <a class="code" href="structapr__anylock__t.html#w5w2">apr_anylock_threadmutex</a>, +00035 <a class="code" href="structapr__anylock__t.html#w5w3">apr_anylock_readlock</a>, +00036 <a class="code" href="structapr__anylock__t.html#w5w4">apr_anylock_writelock</a> +00037 } type; +<a name="l00039"></a><a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html">00039</a> <span class="keyword">union </span><a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html">apr_anylock_u_t</a> { +<a name="l00040"></a><a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html#o0">00040</a> apr_proc_mutex_t *<a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html#o0">pm</a>; +00041 <span class="preprocessor">#if APR_HAS_THREADS</span> +<a name="l00042"></a><a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html#o1">00042</a> <span class="preprocessor"></span> apr_thread_mutex_t *<a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html#o1">tm</a>; +<a name="l00043"></a><a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html#o2">00043</a> apr_thread_rwlock_t *<a class="code" href="unionapr__anylock__t_1_1apr__anylock__u__t.html#o2">rw</a>; +00044 <span class="preprocessor">#endif</span> +00045 <span class="preprocessor"></span> } <a class="code" href="structapr__anylock__t.html#o1">lock</a>; +00046 } <a class="code" href="structapr__anylock__t.html">apr_anylock_t</a>; +00047 +00048 <span class="preprocessor">#if APR_HAS_THREADS</span> +00049 <span class="preprocessor"></span> +<a name="l00051"></a><a class="code" href="apr__anylock_8h.html#a0">00051</a> <span class="preprocessor">#define APR_ANYLOCK_LOCK(lck) \</span> +00052 <span class="preprocessor"> (((lck)->type == apr_anylock_none) \</span> +00053 <span class="preprocessor"> ? APR_SUCCESS \</span> +00054 <span class="preprocessor"> : (((lck)->type == apr_anylock_threadmutex) \</span> +00055 <span class="preprocessor"> ? apr_thread_mutex_lock((lck)->lock.tm) \</span> +00056 <span class="preprocessor"> : (((lck)->type == apr_anylock_procmutex) \</span> +00057 <span class="preprocessor"> ? apr_proc_mutex_lock((lck)->lock.pm) \</span> +00058 <span class="preprocessor"> : (((lck)->type == apr_anylock_readlock) \</span> +00059 <span class="preprocessor"> ? apr_thread_rwlock_rdlock((lck)->lock.rw) \</span> +00060 <span class="preprocessor"> : (((lck)->type == apr_anylock_writelock) \</span> +00061 <span class="preprocessor"> ? apr_thread_rwlock_wrlock((lck)->lock.rw) \</span> +00062 <span class="preprocessor"> : APR_EINVAL)))))</span> +00063 <span class="preprocessor"></span> +00064 <span class="preprocessor">#else </span><span class="comment">/* APR_HAS_THREADS */</span> +00065 +00066 <span class="preprocessor">#define APR_ANYLOCK_LOCK(lck) \</span> +00067 <span class="preprocessor"> (((lck)->type == apr_anylock_none) \</span> +00068 <span class="preprocessor"> ? APR_SUCCESS \</span> +00069 <span class="preprocessor"> : (((lck)->type == apr_anylock_procmutex) \</span> +00070 <span class="preprocessor"> ? apr_proc_mutex_lock((lck)->lock.pm) \</span> +00071 <span class="preprocessor"> : APR_EINVAL))</span> +00072 <span class="preprocessor"></span> +00073 <span class="preprocessor">#endif </span><span class="comment">/* APR_HAS_THREADS */</span> +00074 +00075 <span class="preprocessor">#if APR_HAS_THREADS</span> +00076 <span class="preprocessor"></span> +<a name="l00078"></a><a class="code" href="apr__anylock_8h.html#a1">00078</a> <span class="preprocessor">#define APR_ANYLOCK_TRYLOCK(lck) \</span> +00079 <span class="preprocessor"> (((lck)->type == apr_anylock_none) \</span> +00080 <span class="preprocessor"> ? APR_SUCCESS \</span> +00081 <span class="preprocessor"> : (((lck)->type == apr_anylock_threadmutex) \</span> +00082 <span class="preprocessor"> ? apr_thread_mutex_trylock((lck)->lock.tm) \</span> +00083 <span class="preprocessor"> : (((lck)->type == apr_anylock_procmutex) \</span> +00084 <span class="preprocessor"> ? apr_proc_mutex_trylock((lck)->lock.pm) \</span> +00085 <span class="preprocessor"> : (((lck)->type == apr_anylock_readlock) \</span> +00086 <span class="preprocessor"> ? apr_thread_rwlock_tryrdlock((lck)->lock.rw) \</span> +00087 <span class="preprocessor"> : (((lck)->type == apr_anylock_writelock) \</span> +00088 <span class="preprocessor"> ? apr_thread_rwlock_trywrlock((lck)->lock.rw) \</span> +00089 <span class="preprocessor"> : APR_EINVAL)))))</span> +00090 <span class="preprocessor"></span> +00091 <span class="preprocessor">#else </span><span class="comment">/* APR_HAS_THREADS */</span> +00092 +00093 <span class="preprocessor">#define APR_ANYLOCK_TRYLOCK(lck) \</span> +00094 <span class="preprocessor"> (((lck)->type == apr_anylock_none) \</span> +00095 <span class="preprocessor"> ? APR_SUCCESS \</span> +00096 <span class="preprocessor"> : (((lck)->type == apr_anylock_procmutex) \</span> +00097 <span class="preprocessor"> ? apr_proc_mutex_trylock((lck)->lock.pm) \</span> +00098 <span class="preprocessor"> : APR_EINVAL))</span> +00099 <span class="preprocessor"></span> +00100 <span class="preprocessor">#endif </span><span class="comment">/* APR_HAS_THREADS */</span> +00101 +00102 <span class="preprocessor">#if APR_HAS_THREADS</span> +00103 <span class="preprocessor"></span> +<a name="l00105"></a><a class="code" href="apr__anylock_8h.html#a2">00105</a> <span class="preprocessor">#define APR_ANYLOCK_UNLOCK(lck) \</span> +00106 <span class="preprocessor"> (((lck)->type == apr_anylock_none) \</span> +00107 <span class="preprocessor"> ? APR_SUCCESS \</span> +00108 <span class="preprocessor"> : (((lck)->type == apr_anylock_threadmutex) \</span> +00109 <span class="preprocessor"> ? apr_thread_mutex_unlock((lck)->lock.tm) \</span> +00110 <span class="preprocessor"> : (((lck)->type == apr_anylock_procmutex) \</span> +00111 <span class="preprocessor"> ? apr_proc_mutex_unlock((lck)->lock.pm) \</span> +00112 <span class="preprocessor"> : ((((lck)->type == apr_anylock_readlock) || \</span> +00113 <span class="preprocessor"> ((lck)->type == apr_anylock_writelock)) \</span> +00114 <span class="preprocessor"> ? apr_thread_rwlock_unlock((lck)->lock.rw) \</span> +00115 <span class="preprocessor"> : APR_EINVAL))))</span> +00116 <span class="preprocessor"></span> +00117 <span class="preprocessor">#else </span><span class="comment">/* APR_HAS_THREADS */</span> +00118 +00119 <span class="preprocessor">#define APR_ANYLOCK_UNLOCK(lck) \</span> +00120 <span class="preprocessor"> (((lck)->type == apr_anylock_none) \</span> +00121 <span class="preprocessor"> ? APR_SUCCESS \</span> +00122 <span class="preprocessor"> : (((lck)->type == apr_anylock_procmutex) \</span> +00123 <span class="preprocessor"> ? apr_proc_mutex_unlock((lck)->lock.pm) \</span> +00124 <span class="preprocessor"> : APR_EINVAL))</span> +00125 <span class="preprocessor"></span> +00126 <span class="preprocessor">#endif </span><span class="comment">/* APR_HAS_THREADS */</span> +00127 +00128 <span class="preprocessor">#endif </span><span class="comment">/* !APR_ANYLOCK_H */</span> +</div></pre><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 7 13:19:18 2005 for Apache Portable Runtime Utility Library 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-util/apr__anylock_8h.html URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr-util/apr__anylock_8h.html?view=diff&r1=151767&r2=151768 ============================================================================== --- apr/site/trunk/docs/docs/apr-util/apr__anylock_8h.html (original) +++ apr/site/trunk/docs/docs/apr-util/apr__anylock_8h.html Mon Feb 7 15:10:17 2005 @@ -1,11 +1,12 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> -<title>Apache Portable Runtime Utility Library: include/apr_anylock.h File Reference</title> +<title>Apache Portable Runtime Utility Library: apr_anylock.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> -<!-- Generated by Doxygen 1.3.8 --> +<!-- Generated by Doxygen 1.3.7 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div> -<h1>include/apr_anylock.h File Reference</h1>APR-Util transparent any lock flavor wrapper. <a href="#_details">More...</a> +<h1>include/apr_anylock.h File Reference</h1>APR-Util transparent any lock flavor wrapper. +<a href="#_details">More...</a> <p> <code>#include "apr_proc_mutex.h"</code><br> <code>#include "apr_thread_mutex.h"</code><br> @@ -174,8 +175,8 @@ Structure that may contain any APR lock type </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Sep 1 21:35:50 2004 for Apache Portable Runtime Utility Library by +<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 7 13:19:18 2005 for Apache Portable Runtime Utility Library 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-util/apr__base64_8h-source.html URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr-util/apr__base64_8h-source.html?view=diff&r1=151767&r2=151768 ============================================================================== --- apr/site/trunk/docs/docs/apr-util/apr__base64_8h-source.html (original) +++ apr/site/trunk/docs/docs/apr-util/apr__base64_8h-source.html Mon Feb 7 15:10:17 2005 @@ -3,72 +3,73 @@ <title>Apache Portable Runtime Utility Library: include/apr_base64.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> -<!-- Generated by Doxygen 1.3.8 --> +<!-- Generated by Doxygen 1.3.7 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div> -<h1>include/apr_base64.h</h1><a href="apr__base64_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"> * The apr_vsnprintf/apr_snprintf functions are based on, and used with the</span> -00015 <span class="comment"> * permission of, the SIO stdio-replacement strx_* functions by Panos</span> -00016 <span class="comment"> * Tsirigotis <[EMAIL PROTECTED]> for xinetd.</span> -00017 <span class="comment"> */</span> -00018 -00023 <span class="preprocessor">#ifndef APR_BASE64_H</span> -00024 <span class="preprocessor"></span><span class="preprocessor">#define APR_BASE64_H</span> -00025 <span class="preprocessor"></span> -00026 <span class="preprocessor">#include "apu.h"</span> -00027 <span class="preprocessor">#include "apr_general.h"</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> -00032 <span class="preprocessor"></span> -00039 <span class="comment">/* Simple BASE64 encode/decode functions.</span> -00040 <span class="comment"> * </span> -00041 <span class="comment"> * As we might encode binary strings, hence we require the length of</span> -00042 <span class="comment"> * the incoming plain source. And return the length of what we decoded.</span> -00043 <span class="comment"> *</span> -00044 <span class="comment"> * The decoding function takes any non valid char (i.e. whitespace, \0</span> -00045 <span class="comment"> * or anything non A-Z,0-9 etc as terminal.</span> -00046 <span class="comment"> * </span> -00047 <span class="comment"> * plain strings/binary sequences are not assumed '\0' terminated. Encoded</span> -00048 <span class="comment"> * strings are neither. But probably should.</span> -00049 <span class="comment"> *</span> -00050 <span class="comment"> */</span> -00051 -00058 APU_DECLARE(<span class="keywordtype">int</span>) apr_base64_encode_len(<span class="keywordtype">int</span> len); -00059 -00067 APU_DECLARE(<span class="keywordtype">int</span>) apr_base64_encode(<span class="keywordtype">char</span> * coded_dst, const <span class="keywordtype">char</span> *plain_src, -00068 <span class="keywordtype">int</span> len_plain_src); -00069 -00077 APU_DECLARE(<span class="keywordtype">int</span>) apr_base64_encode_binary(<span class="keywordtype">char</span> * coded_dst, -00078 const <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *plain_src, -00079 <span class="keywordtype">int</span> len_plain_src); -00080 -00086 APU_DECLARE(<span class="keywordtype">int</span>) apr_base64_decode_len(const <span class="keywordtype">char</span> * coded_src); -00087 -00094 APU_DECLARE(<span class="keywordtype">int</span>) apr_base64_decode(<span class="keywordtype">char</span> * plain_dst, const <span class="keywordtype">char</span> *coded_src); -00095 -00102 APU_DECLARE(<span class="keywordtype">int</span>) apr_base64_decode_binary(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * plain_dst, -00103 const <span class="keywordtype">char</span> *coded_src); -00104 -00106 #ifdef __cplusplus -00107 } -00108 #endif -00109 -00110 #endif <span class="comment">/* !APR_BASE64_H */</span> -</div></pre><hr size="1"><address style="align: right;"><small>Generated on Wed Sep 1 21:35:50 2004 for Apache Portable Runtime Utility Library by +<h1>include/apr_base64.h</h1><a href="apr__base64_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"> * The apr_vsnprintf/apr_snprintf functions are based on, and used with the</span> +00016 <span class="comment"> * permission of, the SIO stdio-replacement strx_* functions by Panos</span> +00017 <span class="comment"> * Tsirigotis <[EMAIL PROTECTED]> for xinetd.</span> +00018 <span class="comment"> */</span> +00019 +00024 <span class="preprocessor">#ifndef APR_BASE64_H</span> +00025 <span class="preprocessor"></span><span class="preprocessor">#define APR_BASE64_H</span> +00026 <span class="preprocessor"></span> +00027 <span class="preprocessor">#include "apu.h"</span> +00028 <span class="preprocessor">#include "apr_general.h"</span> +00029 +00030 <span class="preprocessor">#ifdef __cplusplus</span> +00031 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> { +00032 <span class="preprocessor">#endif</span> +00033 <span class="preprocessor"></span> +00040 <span class="comment">/* Simple BASE64 encode/decode functions.</span> +00041 <span class="comment"> * </span> +00042 <span class="comment"> * As we might encode binary strings, hence we require the length of</span> +00043 <span class="comment"> * the incoming plain source. And return the length of what we decoded.</span> +00044 <span class="comment"> *</span> +00045 <span class="comment"> * The decoding function takes any non valid char (i.e. whitespace, \0</span> +00046 <span class="comment"> * or anything non A-Z,0-9 etc as terminal.</span> +00047 <span class="comment"> * </span> +00048 <span class="comment"> * plain strings/binary sequences are not assumed '\0' terminated. Encoded</span> +00049 <span class="comment"> * strings are neither. But probably should.</span> +00050 <span class="comment"> *</span> +00051 <span class="comment"> */</span> +00052 +00059 APU_DECLARE(<span class="keywordtype">int</span>) apr_base64_encode_len(<span class="keywordtype">int</span> len); +00060 +00068 APU_DECLARE(<span class="keywordtype">int</span>) apr_base64_encode(<span class="keywordtype">char</span> * coded_dst, const <span class="keywordtype">char</span> *plain_src, +00069 <span class="keywordtype">int</span> len_plain_src); +00070 +00078 APU_DECLARE(<span class="keywordtype">int</span>) apr_base64_encode_binary(<span class="keywordtype">char</span> * coded_dst, +00079 const <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *plain_src, +00080 <span class="keywordtype">int</span> len_plain_src); +00081 +00087 APU_DECLARE(<span class="keywordtype">int</span>) apr_base64_decode_len(const <span class="keywordtype">char</span> * coded_src); +00088 +00095 APU_DECLARE(<span class="keywordtype">int</span>) apr_base64_decode(<span class="keywordtype">char</span> * plain_dst, const <span class="keywordtype">char</span> *coded_src); +00096 +00103 APU_DECLARE(<span class="keywordtype">int</span>) apr_base64_decode_binary(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * plain_dst, +00104 const <span class="keywordtype">char</span> *coded_src); +00105 +00107 #ifdef __cplusplus +00108 } +00109 #endif +00110 +00111 #endif <span class="comment">/* !APR_BASE64_H */</span> +</div></pre><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 7 13:19:18 2005 for Apache Portable Runtime Utility Library 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-util/apr__base64_8h.html URL: http://svn.apache.org/viewcvs/apr/site/trunk/docs/docs/apr-util/apr__base64_8h.html?view=diff&r1=151767&r2=151768 ============================================================================== --- apr/site/trunk/docs/docs/apr-util/apr__base64_8h.html (original) +++ apr/site/trunk/docs/docs/apr-util/apr__base64_8h.html Mon Feb 7 15:10:17 2005 @@ -1,11 +1,12 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> -<title>Apache Portable Runtime Utility Library: include/apr_base64.h File Reference</title> +<title>Apache Portable Runtime Utility Library: apr_base64.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> -<!-- Generated by Doxygen 1.3.8 --> +<!-- Generated by Doxygen 1.3.7 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div> -<h1>include/apr_base64.h File Reference</h1>APR-UTIL Base64 Encoding. <a href="#_details">More...</a> +<h1>include/apr_base64.h File Reference</h1>APR-UTIL Base64 Encoding. +<a href="#_details">More...</a> <p> <code>#include "apu.h"</code><br> <code>#include "apr_general.h"</code><br> @@ -30,8 +31,8 @@ <hr><a name="_details"></a><h2>Detailed Description</h2> APR-UTIL Base64 Encoding. <p> -<hr size="1"><address style="align: right;"><small>Generated on Wed Sep 1 21:35:50 2004 for Apache Portable Runtime Utility Library by +<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 7 13:19:18 2005 for Apache Portable Runtime Utility Library 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>