apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r784636 [22/47] - in /apr/site/trunk/docs/docs: apr-util/trunk/ apr/trunk/
Date Mon, 15 Jun 2009 00:01:47 GMT
Modified: apr/site/trunk/docs/docs/apr/trunk/apr__want_8h-source.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/apr__want_8h-source.html?rev=784636&r1=784635&r2=784636&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/trunk/apr__want_8h-source.html (original)
+++ apr/site/trunk/docs/docs/apr/trunk/apr__want_8h-source.html Mon Jun 15 00:01:38 2009
@@ -1,16 +1,17 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
 <title>Apache Portable Runtime: apr_want.h Source File</title>
-<link href="doxygen.css" rel="stylesheet" type="text/css">
 <link href="tabs.css" rel="stylesheet" type="text/css">
+<link href="doxygen.css" rel="stylesheet" type="text/css">
 </head><body>
-<!-- Generated by Doxygen 1.5.7.1 -->
+<!-- Generated by Doxygen 1.5.8 -->
 <div class="navigation" id="top">
   <div class="tabs">
     <ul>
       <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
       <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
       <li><a href="modules.html"><span>Modules</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
       <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
       <li class="current"><a href="files.html"><span>Files</span></a></li>
       <li><a href="examples.html"><span>Examples</span></a></li>
@@ -150,8 +151,8 @@
 <a name="l00126"></a>00126 <span class="preprocessor"></span>
 <a name="l00127"></a>00127 <span class="comment">/* --------------------------------------------------------------------- */</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 20 16:49:31 2009 for Apache Portable Runtime by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 09:45:28 2009 for Apache Portable Runtime by&nbsp;
 <a href="http://www.doxygen.org/index.html">
-<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.7.1 </small></address>
+<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
 </body>
 </html>

Modified: apr/site/trunk/docs/docs/apr/trunk/apr__want_8h.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/apr__want_8h.html?rev=784636&r1=784635&r2=784636&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/trunk/apr__want_8h.html (original)
+++ apr/site/trunk/docs/docs/apr/trunk/apr__want_8h.html Mon Jun 15 00:01:38 2009
@@ -1,16 +1,17 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
 <title>Apache Portable Runtime: apr_want.h File Reference</title>
-<link href="doxygen.css" rel="stylesheet" type="text/css">
 <link href="tabs.css" rel="stylesheet" type="text/css">
+<link href="doxygen.css" rel="stylesheet" type="text/css">
 </head><body>
-<!-- Generated by Doxygen 1.5.7.1 -->
+<!-- Generated by Doxygen 1.5.8 -->
 <div class="navigation" id="top">
   <div class="tabs">
     <ul>
       <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
       <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
       <li><a href="modules.html"><span>Modules</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
       <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
       <li class="current"><a href="files.html"><span>Files</span></a></li>
       <li><a href="examples.html"><span>Examples</span></a></li>
@@ -54,8 +55,8 @@
 <pre> Note: it is safe to use this in a header (it won't interfere with other
        headers' or source files' use of <a class="el" href="apr__want_8h.html" title="APR Standard Headers Support.">apr_want.h</a>)
  </pre> </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 20 16:49:31 2009 for Apache Portable Runtime by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 09:45:28 2009 for Apache Portable Runtime by&nbsp;
 <a href="http://www.doxygen.org/index.html">
-<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.7.1 </small></address>
+<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
 </body>
 </html>

Added: apr/site/trunk/docs/docs/apr/trunk/apr__xlate_8h-source.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/apr__xlate_8h-source.html?rev=784636&view=auto
==============================================================================
--- apr/site/trunk/docs/docs/apr/trunk/apr__xlate_8h-source.html (added)
+++ apr/site/trunk/docs/docs/apr/trunk/apr__xlate_8h-source.html Mon Jun 15 00:01:38 2009
@@ -0,0 +1,194 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+<title>Apache Portable Runtime: apr_xlate.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css">
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.5.8 -->
+<div class="navigation" id="top">
+  <div class="tabs">
+    <ul>
+      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
+      <li><a href="modules.html"><span>Modules</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li><a href="examples.html"><span>Examples</span></a></li>
+    </ul>
+  </div>
+  <div class="tabs">
+    <ul>
+      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
+      <li><a href="globals.html"><span>Globals</span></a></li>
+    </ul>
+  </div>
+<h1>apr_xlate.h</h1><a href="apr__xlate_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Licensed to the Apache Software Foundation (ASF) under one or more</span>
+<a name="l00002"></a>00002 <span class="comment"> * contributor license agreements.  See the NOTICE file distributed with</span>
+<a name="l00003"></a>00003 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
+<a name="l00004"></a>00004 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
+<a name="l00005"></a>00005 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
+<a name="l00006"></a>00006 <span class="comment"> * the License.  You may obtain a copy of the License at</span>
+<a name="l00007"></a>00007 <span class="comment"> *</span>
+<a name="l00008"></a>00008 <span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span>
+<a name="l00009"></a>00009 <span class="comment"> *</span>
+<a name="l00010"></a>00010 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
+<a name="l00011"></a>00011 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
+<a name="l00012"></a>00012 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
+<a name="l00013"></a>00013 <span class="comment"> * See the License for the specific language governing permissions and</span>
+<a name="l00014"></a>00014 <span class="comment"> * limitations under the License.</span>
+<a name="l00015"></a>00015 <span class="comment"> */</span>
+<a name="l00016"></a>00016 
+<a name="l00017"></a>00017 <span class="preprocessor">#ifndef APR_XLATE_H</span>
+<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define APR_XLATE_H</span>
+<a name="l00019"></a>00019 <span class="preprocessor"></span>
+<a name="l00020"></a>00020 <span class="preprocessor">#include "apu.h"</span>
+<a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="apr__pools_8h.html" title="APR memory allocation.">apr_pools.h</a>"</span>
+<a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="apr__errno_8h.html" title="APR Error Codes.">apr_errno.h</a>"</span>
+<a name="l00023"></a>00023 
+<a name="l00024"></a>00024 <span class="preprocessor">#ifdef __cplusplus</span>
+<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
+<a name="l00026"></a>00026 <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span>
+<a name="l00027"></a>00027 <span class="comment"></span>
+<a name="l00028"></a>00028 <span class="comment">/**</span>
+<a name="l00029"></a>00029 <span class="comment"> * @file apr_xlate.h</span>
+<a name="l00030"></a>00030 <span class="comment"> * @brief APR I18N translation library</span>
+<a name="l00031"></a>00031 <span class="comment"> */</span>
+<a name="l00032"></a>00032 <span class="comment"></span>
+<a name="l00033"></a>00033 <span class="comment">/**</span>
+<a name="l00034"></a>00034 <span class="comment"> * @defgroup APR_XLATE I18N translation library</span>
+<a name="l00035"></a>00035 <span class="comment"> * @ingroup APR</span>
+<a name="l00036"></a>00036 <span class="comment"> * @{</span>
+<a name="l00037"></a>00037 <span class="comment"> */</span><span class="comment"></span>
+<a name="l00038"></a>00038 <span class="comment">/** Opaque translation buffer */</span>
+<a name="l00039"></a><a class="code" href="group___a_p_r___x_l_a_t_e.html#g069dabbadc30e3a4157c38104a250e77">00039</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group___a_p_r___x_l_a_t_e.html#g069dabbadc30e3a4157c38104a250e77">apr_xlate_t</a>            <a class="code" href="group___a_p_r___x_l_a_t_e.html#g069dabbadc30e3a4157c38104a250e77">apr_xlate_t</a>;
+<a name="l00040"></a>00040 <span class="comment"></span>
+<a name="l00041"></a>00041 <span class="comment">/**</span>
+<a name="l00042"></a>00042 <span class="comment"> * Set up for converting text from one charset to another.</span>
+<a name="l00043"></a>00043 <span class="comment"> * @param convset The handle to be filled in by this function</span>
+<a name="l00044"></a>00044 <span class="comment"> * @param topage The name of the target charset</span>
+<a name="l00045"></a>00045 <span class="comment"> * @param frompage The name of the source charset</span>
+<a name="l00046"></a>00046 <span class="comment"> * @param pool The pool to use</span>
+<a name="l00047"></a>00047 <span class="comment"> * @remark</span>
+<a name="l00048"></a>00048 <span class="comment"> *  Specify APR_DEFAULT_CHARSET for one of the charset</span>
+<a name="l00049"></a>00049 <span class="comment"> *  names to indicate the charset of the source code at</span>
+<a name="l00050"></a>00050 <span class="comment"> *  compile time.  This is useful if there are literal</span>
+<a name="l00051"></a>00051 <span class="comment"> *  strings in the source code which must be translated</span>
+<a name="l00052"></a>00052 <span class="comment"> *  according to the charset of the source code.</span>
+<a name="l00053"></a>00053 <span class="comment"> *  APR_DEFAULT_CHARSET is not useful if the source code</span>
+<a name="l00054"></a>00054 <span class="comment"> *  of the caller was not encoded in the same charset as</span>
+<a name="l00055"></a>00055 <span class="comment"> *  APR at compile time.</span>
+<a name="l00056"></a>00056 <span class="comment"> *</span>
+<a name="l00057"></a>00057 <span class="comment"> * @remark</span>
+<a name="l00058"></a>00058 <span class="comment"> *  Specify APR_LOCALE_CHARSET for one of the charset</span>
+<a name="l00059"></a>00059 <span class="comment"> *  names to indicate the charset of the current locale.</span>
+<a name="l00060"></a>00060 <span class="comment"> *</span>
+<a name="l00061"></a>00061 <span class="comment"> * @remark</span>
+<a name="l00062"></a>00062 <span class="comment"> *  Return APR_EINVAL if unable to procure a convset, or APR_ENOTIMPL</span>
+<a name="l00063"></a>00063 <span class="comment"> *  if charset transcoding is not available in this instance of</span>
+<a name="l00064"></a>00064 <span class="comment"> *  apr-util at all (i.e., APR_HAS_XLATE is undefined).</span>
+<a name="l00065"></a>00065 <span class="comment"> */</span>
+<a name="l00066"></a>00066 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) apr_xlate_open(<a class="code" href="group___a_p_r___x_l_a_t_e.html#g069dabbadc30e3a4157c38104a250e77">apr_xlate_t</a> **convset, 
+<a name="l00067"></a>00067                                          const <span class="keywordtype">char</span> *topage, 
+<a name="l00068"></a>00068                                          const <span class="keywordtype">char</span> *frompage, 
+<a name="l00069"></a>00069                                          <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
+<a name="l00070"></a>00070 <span class="comment"></span>
+<a name="l00071"></a>00071 <span class="comment">/** </span>
+<a name="l00072"></a>00072 <span class="comment"> * This is to indicate the charset of the sourcecode at compile time</span>
+<a name="l00073"></a>00073 <span class="comment"> * names to indicate the charset of the source code at</span>
+<a name="l00074"></a>00074 <span class="comment"> * compile time.  This is useful if there are literal</span>
+<a name="l00075"></a>00075 <span class="comment"> * strings in the source code which must be translated</span>
+<a name="l00076"></a>00076 <span class="comment"> * according to the charset of the source code.</span>
+<a name="l00077"></a>00077 <span class="comment"> */</span>
+<a name="l00078"></a><a class="code" href="group___a_p_r___x_l_a_t_e.html#g3276c680eb0917ff51ff22c9b9959fa9">00078</a> <span class="preprocessor">#define APR_DEFAULT_CHARSET (const char *)0</span>
+<a name="l00079"></a>00079 <span class="preprocessor"></span><span class="comment">/**</span>
+<a name="l00080"></a>00080 <span class="comment"> * To indicate charset names of the current locale </span>
+<a name="l00081"></a>00081 <span class="comment"> */</span>
+<a name="l00082"></a><a class="code" href="group___a_p_r___x_l_a_t_e.html#g0e46c333fb1c900f0dd4a78664f5a0de">00082</a> <span class="preprocessor">#define APR_LOCALE_CHARSET (const char *)1</span>
+<a name="l00083"></a>00083 <span class="preprocessor"></span><span class="comment"></span>
+<a name="l00084"></a>00084 <span class="comment">/**</span>
+<a name="l00085"></a>00085 <span class="comment"> * Find out whether or not the specified conversion is single-byte-only.</span>
+<a name="l00086"></a>00086 <span class="comment"> * @param convset The handle allocated by apr_xlate_open, specifying the </span>
+<a name="l00087"></a>00087 <span class="comment"> *                parameters of conversion</span>
+<a name="l00088"></a>00088 <span class="comment"> * @param onoff Output: whether or not the conversion is single-byte-only</span>
+<a name="l00089"></a>00089 <span class="comment"> * @remark</span>
+<a name="l00090"></a>00090 <span class="comment"> *  Return APR_ENOTIMPL if charset transcoding is not available</span>
+<a name="l00091"></a>00091 <span class="comment"> *  in this instance of apr-util (i.e., APR_HAS_XLATE is undefined).</span>
+<a name="l00092"></a>00092 <span class="comment"> */</span>
+<a name="l00093"></a>00093 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) apr_xlate_sb_get(<a class="code" href="group___a_p_r___x_l_a_t_e.html#g069dabbadc30e3a4157c38104a250e77">apr_xlate_t</a> *convset, <span class="keywordtype">int</span> *onoff);
+<a name="l00094"></a>00094 <span class="comment"></span>
+<a name="l00095"></a>00095 <span class="comment">/**</span>
+<a name="l00096"></a>00096 <span class="comment"> * Convert a buffer of text from one codepage to another.</span>
+<a name="l00097"></a>00097 <span class="comment"> * @param convset The handle allocated by apr_xlate_open, specifying </span>
+<a name="l00098"></a>00098 <span class="comment"> *                the parameters of conversion</span>
+<a name="l00099"></a>00099 <span class="comment"> * @param inbuf The address of the source buffer</span>
+<a name="l00100"></a>00100 <span class="comment"> * @param inbytes_left Input: the amount of input data to be translated</span>
+<a name="l00101"></a>00101 <span class="comment"> *                     Output: the amount of input data not yet translated    </span>
+<a name="l00102"></a>00102 <span class="comment"> * @param outbuf The address of the destination buffer</span>
+<a name="l00103"></a>00103 <span class="comment"> * @param outbytes_left Input: the size of the output buffer</span>
+<a name="l00104"></a>00104 <span class="comment"> *                      Output: the amount of the output buffer not yet used</span>
+<a name="l00105"></a>00105 <span class="comment"> * @remark</span>
+<a name="l00106"></a>00106 <span class="comment"> * Returns APR_ENOTIMPL if charset transcoding is not available</span>
+<a name="l00107"></a>00107 <span class="comment"> * in this instance of apr-util (i.e., APR_HAS_XLATE is undefined).</span>
+<a name="l00108"></a>00108 <span class="comment"> * Returns APR_INCOMPLETE if the input buffer ends in an incomplete</span>
+<a name="l00109"></a>00109 <span class="comment"> * multi-byte character.</span>
+<a name="l00110"></a>00110 <span class="comment"> *</span>
+<a name="l00111"></a>00111 <span class="comment"> * To correctly terminate the output buffer for some multi-byte</span>
+<a name="l00112"></a>00112 <span class="comment"> * character set encodings, a final call must be made to this function</span>
+<a name="l00113"></a>00113 <span class="comment"> * after the complete input string has been converted, passing</span>
+<a name="l00114"></a>00114 <span class="comment"> * the inbuf and inbytes_left parameters as NULL.  (Note that this</span>
+<a name="l00115"></a>00115 <span class="comment"> * mode only works from version 1.1.0 onwards)</span>
+<a name="l00116"></a>00116 <span class="comment"> */</span>
+<a name="l00117"></a>00117 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) apr_xlate_conv_buffer(<a class="code" href="group___a_p_r___x_l_a_t_e.html#g069dabbadc30e3a4157c38104a250e77">apr_xlate_t</a> *convset, 
+<a name="l00118"></a>00118                                                 const <span class="keywordtype">char</span> *inbuf, 
+<a name="l00119"></a>00119                                                 apr_size_t *inbytes_left, 
+<a name="l00120"></a>00120                                                 <span class="keywordtype">char</span> *outbuf,
+<a name="l00121"></a>00121                                                 apr_size_t *outbytes_left);
+<a name="l00122"></a>00122 
+<a name="l00123"></a>00123 <span class="comment">/* @see apr_file_io.h the comment in apr_file_io.h about this hack */</span>
+<a name="l00124"></a>00124 <span class="preprocessor">#ifdef APR_NOT_DONE_YET</span>
+<a name="l00125"></a>00125 <span class="preprocessor"></span><span class="comment">/**</span>
+<a name="l00126"></a>00126 <span class="comment"> * The purpose of apr_xlate_conv_char is to translate one character</span>
+<a name="l00127"></a>00127 <span class="comment"> * at a time.  This needs to be written carefully so that it works</span>
+<a name="l00128"></a>00128 <span class="comment"> * with double-byte character sets. </span>
+<a name="l00129"></a>00129 <span class="comment"> * @param convset The handle allocated by apr_xlate_open, specifying the</span>
+<a name="l00130"></a>00130 <span class="comment"> *                parameters of conversion</span>
+<a name="l00131"></a>00131 <span class="comment"> * @param inchar The character to convert</span>
+<a name="l00132"></a>00132 <span class="comment"> * @param outchar The converted character</span>
+<a name="l00133"></a>00133 <span class="comment"> */</span>
+<a name="l00134"></a>00134 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) apr_xlate_conv_char(<a class="code" href="group___a_p_r___x_l_a_t_e.html#g069dabbadc30e3a4157c38104a250e77">apr_xlate_t</a> *convset, 
+<a name="l00135"></a>00135                                               <span class="keywordtype">char</span> inchar, <span class="keywordtype">char</span> outchar);
+<a name="l00136"></a>00136 <span class="preprocessor">#endif</span>
+<a name="l00137"></a>00137 <span class="preprocessor"></span><span class="comment"></span>
+<a name="l00138"></a>00138 <span class="comment">/**</span>
+<a name="l00139"></a>00139 <span class="comment"> * Convert a single-byte character from one charset to another.</span>
+<a name="l00140"></a>00140 <span class="comment"> * @param convset The handle allocated by apr_xlate_open, specifying the </span>
+<a name="l00141"></a>00141 <span class="comment"> *                parameters of conversion</span>
+<a name="l00142"></a>00142 <span class="comment"> * @param inchar The single-byte character to convert.</span>
+<a name="l00143"></a>00143 <span class="comment"> * @warning This only works when converting between single-byte character sets.</span>
+<a name="l00144"></a>00144 <span class="comment"> *          -1 will be returned if the conversion can't be performed.</span>
+<a name="l00145"></a>00145 <span class="comment"> */</span>
+<a name="l00146"></a>00146 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(apr_int32_t) apr_xlate_conv_byte(<a class="code" href="group___a_p_r___x_l_a_t_e.html#g069dabbadc30e3a4157c38104a250e77">apr_xlate_t</a> *convset, 
+<a name="l00147"></a>00147                                              <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> inchar);
+<a name="l00148"></a>00148 <span class="comment"></span>
+<a name="l00149"></a>00149 <span class="comment">/**</span>
+<a name="l00150"></a>00150 <span class="comment"> * Close a codepage translation handle.</span>
+<a name="l00151"></a>00151 <span class="comment"> * @param convset The codepage translation handle to close</span>
+<a name="l00152"></a>00152 <span class="comment"> * @remark</span>
+<a name="l00153"></a>00153 <span class="comment"> *  Return APR_ENOTIMPL if charset transcoding is not available</span>
+<a name="l00154"></a>00154 <span class="comment"> *  in this instance of apr-util (i.e., APR_HAS_XLATE is undefined).</span>
+<a name="l00155"></a>00155 <span class="comment"> */</span>
+<a name="l00156"></a>00156 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) apr_xlate_close(<a class="code" href="group___a_p_r___x_l_a_t_e.html#g069dabbadc30e3a4157c38104a250e77">apr_xlate_t</a> *convset);
+<a name="l00157"></a>00157 <span class="comment"></span>
+<a name="l00158"></a>00158 <span class="comment">/** @} */</span>
+<a name="l00159"></a>00159 <span class="preprocessor">#ifdef __cplusplus</span>
+<a name="l00160"></a>00160 <span class="preprocessor"></span>}
+<a name="l00161"></a>00161 <span class="preprocessor">#endif</span>
+<a name="l00162"></a>00162 <span class="preprocessor"></span>
+<a name="l00163"></a>00163 <span class="preprocessor">#endif  </span><span class="comment">/* ! APR_XLATE_H */</span>
+</pre></div></div>
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 09:45:28 2009 for Apache Portable Runtime by&nbsp;
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
+</body>
+</html>

Added: apr/site/trunk/docs/docs/apr/trunk/apr__xlate_8h.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/apr__xlate_8h.html?rev=784636&view=auto
==============================================================================
--- apr/site/trunk/docs/docs/apr/trunk/apr__xlate_8h.html (added)
+++ apr/site/trunk/docs/docs/apr/trunk/apr__xlate_8h.html Mon Jun 15 00:01:38 2009
@@ -0,0 +1,87 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+<title>Apache Portable Runtime: apr_xlate.h File Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css">
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.5.8 -->
+<div class="navigation" id="top">
+  <div class="tabs">
+    <ul>
+      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
+      <li><a href="modules.html"><span>Modules</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li><a href="examples.html"><span>Examples</span></a></li>
+    </ul>
+  </div>
+  <div class="tabs">
+    <ul>
+      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
+      <li><a href="globals.html"><span>Globals</span></a></li>
+    </ul>
+  </div>
+</div>
+<div class="contents">
+<h1>apr_xlate.h File Reference</h1>APR I18N translation library.  
+<a href="#_details">More...</a>
+<p>
+<code>#include &quot;apu.h&quot;</code><br>
+<code>#include &quot;<a class="el" href="apr__pools_8h-source.html">apr_pools.h</a>&quot;</code><br>
+<code>#include &quot;<a class="el" href="apr__errno_8h-source.html">apr_errno.h</a>&quot;</code><br>
+
+<p>
+<a href="apr__xlate_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
+<tr><td></td></tr>
+<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___x_l_a_t_e.html#g3276c680eb0917ff51ff22c9b9959fa9">APR_DEFAULT_CHARSET</a>&nbsp;&nbsp;&nbsp;(const char *)0</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___x_l_a_t_e.html#g0e46c333fb1c900f0dd4a78664f5a0de">APR_LOCALE_CHARSET</a>&nbsp;&nbsp;&nbsp;(const char *)1</td></tr>
+
+<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef struct <a class="el" href="group___a_p_r___x_l_a_t_e.html#g069dabbadc30e3a4157c38104a250e77">apr_xlate_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___x_l_a_t_e.html#g069dabbadc30e3a4157c38104a250e77">apr_xlate_t</a></td></tr>
+
+<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___x_l_a_t_e.html#g4757f7c9805448839cd650261a82fab7">APU_DECLARE</a> (<a class="el" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) apr_xlate_open(<a class="el" href="group___a_p_r___x_l_a_t_e.html#g069dabbadc30e3a4157c38104a250e77">apr_xlate_t</a> **convset</td></tr>
+
+<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g9d36953130bf2d9095b125ce6612746b"></a><!-- doxytag: member="apr_xlate.h::topage" ref="g9d36953130bf2d9095b125ce6612746b" args="" -->
+const char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>topage</b></td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g532ae81fc0f00b2b4aa36337c714d832"></a><!-- doxytag: member="apr_xlate.h::frompage" ref="g532ae81fc0f00b2b4aa36337c714d832" args="" -->
+const char const char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>frompage</b></td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gbb3cd978f04c73d0b763c391e9bfde73"></a><!-- doxytag: member="apr_xlate.h::pool" ref="gbb3cd978f04c73d0b763c391e9bfde73" args="" -->
+const char const char <a class="el" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>pool</b></td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gfda021030ce868252ad6ee38170db18f"></a><!-- doxytag: member="apr_xlate.h::onoff" ref="gfda021030ce868252ad6ee38170db18f" args="" -->
+int *&nbsp;</td><td class="memItemRight" valign="bottom"><b>onoff</b></td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gc9a519725a53acc7c9eb4e05a500e089"></a><!-- doxytag: member="apr_xlate.h::inbuf" ref="gc9a519725a53acc7c9eb4e05a500e089" args="" -->
+const char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>inbuf</b></td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g2f86284c0e279b847a1319f2074262bf"></a><!-- doxytag: member="apr_xlate.h::inbytes_left" ref="g2f86284c0e279b847a1319f2074262bf" args="" -->
+const char apr_size_t *&nbsp;</td><td class="memItemRight" valign="bottom"><b>inbytes_left</b></td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gc9a480cdf87742a4e756521e92b30e4d"></a><!-- doxytag: member="apr_xlate.h::outbuf" ref="gc9a480cdf87742a4e756521e92b30e4d" args="" -->
+const char apr_size_t char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>outbuf</b></td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g52d059f5a291f7a81d4403229554cf57"></a><!-- doxytag: member="apr_xlate.h::outbytes_left" ref="g52d059f5a291f7a81d4403229554cf57" args="" -->
+const char apr_size_t char <br class="typebreak">
+apr_size_t *&nbsp;</td><td class="memItemRight" valign="bottom"><b>outbytes_left</b></td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g02341e1af7e26952bd04043006f39259"></a><!-- doxytag: member="apr_xlate.h::inchar" ref="g02341e1af7e26952bd04043006f39259" args="" -->
+unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><b>inchar</b></td></tr>
+
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+APR I18N translation library. 
+<p>
+</div>
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 09:45:28 2009 for Apache Portable Runtime by&nbsp;
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
+</body>
+</html>

Added: apr/site/trunk/docs/docs/apr/trunk/apr__xml_8h-source.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/apr__xml_8h-source.html?rev=784636&view=auto
==============================================================================
--- apr/site/trunk/docs/docs/apr/trunk/apr__xml_8h-source.html (added)
+++ apr/site/trunk/docs/docs/apr/trunk/apr__xml_8h-source.html Mon Jun 15 00:01:38 2009
@@ -0,0 +1,387 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+<title>Apache Portable Runtime: apr_xml.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css">
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.5.8 -->
+<div class="navigation" id="top">
+  <div class="tabs">
+    <ul>
+      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
+      <li><a href="modules.html"><span>Modules</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li><a href="examples.html"><span>Examples</span></a></li>
+    </ul>
+  </div>
+  <div class="tabs">
+    <ul>
+      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
+      <li><a href="globals.html"><span>Globals</span></a></li>
+    </ul>
+  </div>
+<h1>apr_xml.h</h1><a href="apr__xml_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Licensed to the Apache Software Foundation (ASF) under one or more</span>
+<a name="l00002"></a>00002 <span class="comment"> * contributor license agreements.  See the NOTICE file distributed with</span>
+<a name="l00003"></a>00003 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
+<a name="l00004"></a>00004 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
+<a name="l00005"></a>00005 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
+<a name="l00006"></a>00006 <span class="comment"> * the License.  You may obtain a copy of the License at</span>
+<a name="l00007"></a>00007 <span class="comment"> *</span>
+<a name="l00008"></a>00008 <span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span>
+<a name="l00009"></a>00009 <span class="comment"> *</span>
+<a name="l00010"></a>00010 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
+<a name="l00011"></a>00011 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
+<a name="l00012"></a>00012 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
+<a name="l00013"></a>00013 <span class="comment"> * See the License for the specific language governing permissions and</span>
+<a name="l00014"></a>00014 <span class="comment"> * limitations under the License.</span>
+<a name="l00015"></a>00015 <span class="comment"> */</span><span class="comment"></span>
+<a name="l00016"></a>00016 <span class="comment">/**</span>
+<a name="l00017"></a>00017 <span class="comment"> * @file apr_xml.h</span>
+<a name="l00018"></a>00018 <span class="comment"> * @brief APR-UTIL XML Library</span>
+<a name="l00019"></a>00019 <span class="comment"> */</span>
+<a name="l00020"></a>00020 <span class="preprocessor">#ifndef APR_XML_H</span>
+<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define APR_XML_H</span>
+<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="comment"></span>
+<a name="l00023"></a>00023 <span class="comment">/**</span>
+<a name="l00024"></a>00024 <span class="comment"> * @defgroup APR_Util_XML XML </span>
+<a name="l00025"></a>00025 <span class="comment"> * @ingroup APR_Util</span>
+<a name="l00026"></a>00026 <span class="comment"> * @{</span>
+<a name="l00027"></a>00027 <span class="comment"> */</span>
+<a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="apr__pools_8h.html" title="APR memory allocation.">apr_pools.h</a>"</span>
+<a name="l00029"></a>00029 <span class="preprocessor">#include "<a class="code" href="apr__tables_8h.html" title="APR Table library.">apr_tables.h</a>"</span>
+<a name="l00030"></a>00030 <span class="preprocessor">#include "<a class="code" href="apr__file__io_8h.html" title="APR File I/O Handling.">apr_file_io.h</a>"</span>
+<a name="l00031"></a>00031 
+<a name="l00032"></a>00032 <span class="preprocessor">#include "apu.h"</span>
+<a name="l00033"></a>00033 <span class="preprocessor">#if APR_CHARSET_EBCDIC</span>
+<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="apr__xlate_8h.html" title="APR I18N translation library.">apr_xlate.h</a>"</span>
+<a name="l00035"></a>00035 <span class="preprocessor">#endif</span>
+<a name="l00036"></a>00036 <span class="preprocessor"></span>
+<a name="l00037"></a>00037 <span class="preprocessor">#ifdef __cplusplus</span>
+<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
+<a name="l00039"></a>00039 <span class="preprocessor">#endif</span>
+<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="comment"></span>
+<a name="l00041"></a>00041 <span class="comment">/**</span>
+<a name="l00042"></a>00042 <span class="comment"> * @package Apache XML library</span>
+<a name="l00043"></a>00043 <span class="comment"> */</span>
+<a name="l00044"></a>00044 
+<a name="l00045"></a>00045 <span class="comment">/* -------------------------------------------------------------------- */</span>
+<a name="l00046"></a>00046 
+<a name="l00047"></a>00047 <span class="comment">/* ### these will need to move at some point to a more logical spot */</span>
+<a name="l00048"></a>00048 <span class="comment"></span>
+<a name="l00049"></a>00049 <span class="comment">/** @see apr_text */</span>
+<a name="l00050"></a><a class="code" href="group___a_p_r___util___x_m_l.html#gfddd251818de0015559bc174f81fd743">00050</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapr__text.html">apr_text</a> <a class="code" href="structapr__text.html">apr_text</a>;
+<a name="l00051"></a>00051 <span class="comment"></span>
+<a name="l00052"></a>00052 <span class="comment">/** Structure to keep a linked list of pieces of text */</span>
+<a name="l00053"></a><a class="code" href="structapr__text.html">00053</a> <span class="keyword">struct </span><a class="code" href="structapr__text.html">apr_text</a> {<span class="comment"></span>
+<a name="l00054"></a>00054 <span class="comment">    /** The current piece of text */</span>
+<a name="l00055"></a><a class="code" href="structapr__text.html#37a262695c36f740a7777ea9dd0b699d">00055</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapr__text.html#37a262695c36f740a7777ea9dd0b699d">text</a>;<span class="comment"></span>
+<a name="l00056"></a>00056 <span class="comment">    /** a pointer to the next piece of text */</span>
+<a name="l00057"></a><a class="code" href="structapr__text.html#af1b48e3f3085522fe7355e7d8893111">00057</a>     <span class="keyword">struct </span><a class="code" href="structapr__text.html">apr_text</a> *<a class="code" href="structapr__text.html#af1b48e3f3085522fe7355e7d8893111">next</a>;
+<a name="l00058"></a>00058 };
+<a name="l00059"></a>00059 <span class="comment"></span>
+<a name="l00060"></a>00060 <span class="comment">/** @see apr_text_header */</span>
+<a name="l00061"></a><a class="code" href="group___a_p_r___util___x_m_l.html#gafc6d5ebd59b64a27146cf938a4086e0">00061</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapr__text__header.html">apr_text_header</a> <a class="code" href="structapr__text__header.html">apr_text_header</a>;
+<a name="l00062"></a>00062 <span class="comment"></span>
+<a name="l00063"></a>00063 <span class="comment">/** A list of pieces of text */</span>
+<a name="l00064"></a><a class="code" href="structapr__text__header.html">00064</a> <span class="keyword">struct </span><a class="code" href="structapr__text__header.html">apr_text_header</a> {<span class="comment"></span>
+<a name="l00065"></a>00065 <span class="comment">    /** The first piece of text in the list */</span>
+<a name="l00066"></a><a class="code" href="structapr__text__header.html#6db03d272f5e56058c84e10e49624c0b">00066</a>     <a class="code" href="structapr__text.html">apr_text</a> *<a class="code" href="structapr__text__header.html#6db03d272f5e56058c84e10e49624c0b">first</a>;<span class="comment"></span>
+<a name="l00067"></a>00067 <span class="comment">    /** The last piece of text in the list */</span>
+<a name="l00068"></a><a class="code" href="structapr__text__header.html#3ebe57b46d323b8cefaba1e114acf09e">00068</a>     <a class="code" href="structapr__text.html">apr_text</a> *<a class="code" href="structapr__text__header.html#3ebe57b46d323b8cefaba1e114acf09e">last</a>;
+<a name="l00069"></a>00069 };
+<a name="l00070"></a>00070 <span class="comment"></span>
+<a name="l00071"></a>00071 <span class="comment">/**</span>
+<a name="l00072"></a>00072 <span class="comment"> * Append a piece of text to the end of a list</span>
+<a name="l00073"></a>00073 <span class="comment"> * @param p The pool to allocate out of</span>
+<a name="l00074"></a>00074 <span class="comment"> * @param hdr The text header to append to</span>
+<a name="l00075"></a>00075 <span class="comment"> * @param text The new text to append</span>
+<a name="l00076"></a>00076 <span class="comment"> */</span>
+<a name="l00077"></a>00077 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<span class="keywordtype">void</span>) apr_text_append(<a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p, <a class="code" href="structapr__text__header.html">apr_text_header</a> *hdr,
+<a name="l00078"></a>00078                                   const <span class="keywordtype">char</span> *text);
+<a name="l00079"></a>00079 
+<a name="l00080"></a>00080 
+<a name="l00081"></a>00081 <span class="comment">/* --------------------------------------------------------------------</span>
+<a name="l00082"></a>00082 <span class="comment">**</span>
+<a name="l00083"></a>00083 <span class="comment">** XML PARSING</span>
+<a name="l00084"></a>00084 <span class="comment">*/</span>
+<a name="l00085"></a>00085 
+<a name="l00086"></a>00086 <span class="comment">/*</span>
+<a name="l00087"></a>00087 <span class="comment">** Qualified namespace values</span>
+<a name="l00088"></a>00088 <span class="comment">**</span>
+<a name="l00089"></a>00089 <span class="comment">** APR_XML_NS_DAV_ID</span>
+<a name="l00090"></a>00090 <span class="comment">**    We always insert the "DAV:" namespace URI at the head of the</span>
+<a name="l00091"></a>00091 <span class="comment">**    namespace array. This means that it will always be at ID==0,</span>
+<a name="l00092"></a>00092 <span class="comment">**    making it much easier to test for.</span>
+<a name="l00093"></a>00093 <span class="comment">**</span>
+<a name="l00094"></a>00094 <span class="comment">** APR_XML_NS_NONE</span>
+<a name="l00095"></a>00095 <span class="comment">**    This special ID is used for two situations:</span>
+<a name="l00096"></a>00096 <span class="comment">**</span>
+<a name="l00097"></a>00097 <span class="comment">**    1) The namespace prefix begins with "xml" (and we do not know</span>
+<a name="l00098"></a>00098 <span class="comment">**       what it means). Namespace prefixes with "xml" (any case) as</span>
+<a name="l00099"></a>00099 <span class="comment">**       their first three characters are reserved by the XML Namespaces</span>
+<a name="l00100"></a>00100 <span class="comment">**       specification for future use. mod_dav will pass these through</span>
+<a name="l00101"></a>00101 <span class="comment">**       unchanged. When this identifier is used, the prefix is LEFT in</span>
+<a name="l00102"></a>00102 <span class="comment">**       the element/attribute name. Downstream processing should not</span>
+<a name="l00103"></a>00103 <span class="comment">**       prepend another prefix.</span>
+<a name="l00104"></a>00104 <span class="comment">**</span>
+<a name="l00105"></a>00105 <span class="comment">**    2) The element/attribute does not have a namespace.</span>
+<a name="l00106"></a>00106 <span class="comment">**</span>
+<a name="l00107"></a>00107 <span class="comment">**       a) No prefix was used, and a default namespace has not been</span>
+<a name="l00108"></a>00108 <span class="comment">**          defined.</span>
+<a name="l00109"></a>00109 <span class="comment">**       b) No prefix was used, and the default namespace was specified</span>
+<a name="l00110"></a>00110 <span class="comment">**          to mean "no namespace". This is done with a namespace</span>
+<a name="l00111"></a>00111 <span class="comment">**          declaration of:  xmlns=""</span>
+<a name="l00112"></a>00112 <span class="comment">**          (this declaration is typically used to override a previous</span>
+<a name="l00113"></a>00113 <span class="comment">**          specification for the default namespace)</span>
+<a name="l00114"></a>00114 <span class="comment">**</span>
+<a name="l00115"></a>00115 <span class="comment">**       In these cases, we need to record that the elem/attr has no</span>
+<a name="l00116"></a>00116 <span class="comment">**       namespace so that we will not attempt to prepend a prefix.</span>
+<a name="l00117"></a>00117 <span class="comment">**       All namespaces that are used will have a prefix assigned to</span>
+<a name="l00118"></a>00118 <span class="comment">**       them -- mod_dav will never set or use the default namespace</span>
+<a name="l00119"></a>00119 <span class="comment">**       when generating XML. This means that "no prefix" will always</span>
+<a name="l00120"></a>00120 <span class="comment">**       mean "no namespace".</span>
+<a name="l00121"></a>00121 <span class="comment">**</span>
+<a name="l00122"></a>00122 <span class="comment">**    In both cases, the XML generation will avoid prepending a prefix.</span>
+<a name="l00123"></a>00123 <span class="comment">**    For the first case, this means the original prefix/name will be</span>
+<a name="l00124"></a>00124 <span class="comment">**    inserted into the output stream. For the latter case, it means</span>
+<a name="l00125"></a>00125 <span class="comment">**    the name will have no prefix, and since we never define a default</span>
+<a name="l00126"></a>00126 <span class="comment">**    namespace, this means it will have no namespace.</span>
+<a name="l00127"></a>00127 <span class="comment">**</span>
+<a name="l00128"></a>00128 <span class="comment">** Note: currently, mod_dav understands the "xmlns" prefix and the</span>
+<a name="l00129"></a>00129 <span class="comment">**     "xml:lang" attribute. These are handled specially (they aren't</span>
+<a name="l00130"></a>00130 <span class="comment">**     left within the XML tree), so the APR_XML_NS_NONE value won't ever</span>
+<a name="l00131"></a>00131 <span class="comment">**     really apply to these values.</span>
+<a name="l00132"></a>00132 <span class="comment">*/</span>
+<a name="l00133"></a><a class="code" href="group___a_p_r___util___x_m_l.html#gd856851edabebf42e4150597c6f9d2c2">00133</a> <span class="preprocessor">#define APR_XML_NS_DAV_ID       0       </span><span class="comment">/**&lt; namespace ID for "DAV:" */</span>
+<a name="l00134"></a><a class="code" href="group___a_p_r___util___x_m_l.html#g2eed42f7f5e2b1932141f6bb5594b042">00134</a> <span class="preprocessor">#define APR_XML_NS_NONE         -10     </span><span class="comment">/**&lt; no namespace for this elem/attr */</span>
+<a name="l00135"></a>00135 
+<a name="l00136"></a><a class="code" href="group___a_p_r___util___x_m_l.html#g949c1a93de86c67576a0f2f225208447">00136</a> <span class="preprocessor">#define APR_XML_NS_ERROR_BASE   -100    </span><span class="comment">/**&lt; used only during processing */</span>
+<a name="l00137"></a>00137 <span class="comment">/** Is this namespace an error? */</span>
+<a name="l00138"></a><a class="code" href="group___a_p_r___util___x_m_l.html#g65029fb8740ec9eb85562df1300d125f">00138</a> <span class="preprocessor">#define APR_XML_NS_IS_ERROR(e)  ((e) &lt;= APR_XML_NS_ERROR_BASE)</span>
+<a name="l00139"></a>00139 <span class="preprocessor"></span><span class="comment"></span>
+<a name="l00140"></a>00140 <span class="comment">/** @see apr_xml_attr */</span>
+<a name="l00141"></a><a class="code" href="group___a_p_r___util___x_m_l.html#g4889d4d353f0ea0dabae2d5ae58dd07e">00141</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapr__xml__attr.html">apr_xml_attr</a> <a class="code" href="structapr__xml__attr.html">apr_xml_attr</a>;<span class="comment"></span>
+<a name="l00142"></a>00142 <span class="comment">/** @see apr_xml_elem */</span>
+<a name="l00143"></a><a class="code" href="group___a_p_r___util___x_m_l.html#g31390d11ec04137c925ddf43c2223270">00143</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapr__xml__elem.html">apr_xml_elem</a> <a class="code" href="structapr__xml__elem.html">apr_xml_elem</a>;<span class="comment"></span>
+<a name="l00144"></a>00144 <span class="comment">/** @see apr_xml_doc */</span>
+<a name="l00145"></a><a class="code" href="group___a_p_r___util___x_m_l.html#g98eba70878b9460f2530e7a21bb6ae74">00145</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapr__xml__doc.html">apr_xml_doc</a> <a class="code" href="structapr__xml__doc.html">apr_xml_doc</a>;
+<a name="l00146"></a>00146 <span class="comment"></span>
+<a name="l00147"></a>00147 <span class="comment">/** apr_xml_attr: holds a parsed XML attribute */</span>
+<a name="l00148"></a><a class="code" href="structapr__xml__attr.html">00148</a> <span class="keyword">struct </span><a class="code" href="structapr__xml__attr.html">apr_xml_attr</a> {<span class="comment"></span>
+<a name="l00149"></a>00149 <span class="comment">    /** attribute name */</span>
+<a name="l00150"></a><a class="code" href="structapr__xml__attr.html#2ac25d74e3fd8a521b70af15ae8c1257">00150</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapr__xml__attr.html#2ac25d74e3fd8a521b70af15ae8c1257">name</a>;<span class="comment"></span>
+<a name="l00151"></a>00151 <span class="comment">    /** index into namespace array */</span>
+<a name="l00152"></a><a class="code" href="structapr__xml__attr.html#d08daf8b0b47796aae04b6aeaa332bc2">00152</a>     <span class="keywordtype">int</span> <a class="code" href="structapr__xml__attr.html#d08daf8b0b47796aae04b6aeaa332bc2">ns</a>;
+<a name="l00153"></a>00153 <span class="comment"></span>
+<a name="l00154"></a>00154 <span class="comment">    /** attribute value */</span>
+<a name="l00155"></a><a class="code" href="structapr__xml__attr.html#12f0f611e426fe83704de92b3b11d2e3">00155</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapr__xml__attr.html#12f0f611e426fe83704de92b3b11d2e3">value</a>;
+<a name="l00156"></a>00156 <span class="comment"></span>
+<a name="l00157"></a>00157 <span class="comment">    /** next attribute */</span>
+<a name="l00158"></a><a class="code" href="structapr__xml__attr.html#89a314d3136128eb2a37146ddb30da4f">00158</a>     <span class="keyword">struct </span><a class="code" href="structapr__xml__attr.html">apr_xml_attr</a> *<a class="code" href="structapr__xml__attr.html#89a314d3136128eb2a37146ddb30da4f">next</a>;
+<a name="l00159"></a>00159 };
+<a name="l00160"></a>00160 <span class="comment"></span>
+<a name="l00161"></a>00161 <span class="comment">/** apr_xml_elem: holds a parsed XML element */</span>
+<a name="l00162"></a><a class="code" href="structapr__xml__elem.html">00162</a> <span class="keyword">struct </span><a class="code" href="structapr__xml__elem.html">apr_xml_elem</a> {<span class="comment"></span>
+<a name="l00163"></a>00163 <span class="comment">    /** element name */</span>
+<a name="l00164"></a><a class="code" href="structapr__xml__elem.html#5b2fb684a9cfb244f88ad88f539fe3d6">00164</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapr__xml__elem.html#5b2fb684a9cfb244f88ad88f539fe3d6">name</a>;<span class="comment"></span>
+<a name="l00165"></a>00165 <span class="comment">    /** index into namespace array */</span>
+<a name="l00166"></a><a class="code" href="structapr__xml__elem.html#613ea31964572df7b41f5a9da8d0982e">00166</a>     <span class="keywordtype">int</span> <a class="code" href="structapr__xml__elem.html#613ea31964572df7b41f5a9da8d0982e">ns</a>;<span class="comment"></span>
+<a name="l00167"></a>00167 <span class="comment">    /** xml:lang for attrs/contents */</span>
+<a name="l00168"></a><a class="code" href="structapr__xml__elem.html#9a48a384f579816f62a7369aeb8b1a0c">00168</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapr__xml__elem.html#9a48a384f579816f62a7369aeb8b1a0c">lang</a>;
+<a name="l00169"></a>00169 <span class="comment"></span>
+<a name="l00170"></a>00170 <span class="comment">    /** cdata right after start tag */</span>
+<a name="l00171"></a><a class="code" href="structapr__xml__elem.html#732e8acd00e43330674fde57ef87163f">00171</a>     <a class="code" href="structapr__text__header.html">apr_text_header</a> <a class="code" href="structapr__xml__elem.html#732e8acd00e43330674fde57ef87163f">first_cdata</a>;<span class="comment"></span>
+<a name="l00172"></a>00172 <span class="comment">    /** cdata after MY end tag */</span>
+<a name="l00173"></a><a class="code" href="structapr__xml__elem.html#8d64c5343354e34c1cc7ac67f51cc89a">00173</a>     <a class="code" href="structapr__text__header.html">apr_text_header</a> <a class="code" href="structapr__xml__elem.html#8d64c5343354e34c1cc7ac67f51cc89a">following_cdata</a>;
+<a name="l00174"></a>00174 <span class="comment"></span>
+<a name="l00175"></a>00175 <span class="comment">    /** parent element */</span>
+<a name="l00176"></a><a class="code" href="structapr__xml__elem.html#0fd30b383f2659a9ef245c2e99cb707d">00176</a>     <span class="keyword">struct </span><a class="code" href="structapr__xml__elem.html">apr_xml_elem</a> *<a class="code" href="structapr__xml__elem.html#0fd30b383f2659a9ef245c2e99cb707d">parent</a>;        <span class="comment"></span>
+<a name="l00177"></a>00177 <span class="comment">    /** next (sibling) element */</span>
+<a name="l00178"></a><a class="code" href="structapr__xml__elem.html#8687253d504b1c1363c47117611042ac">00178</a>     <span class="keyword">struct </span><a class="code" href="structapr__xml__elem.html">apr_xml_elem</a> *<a class="code" href="structapr__xml__elem.html#8687253d504b1c1363c47117611042ac">next</a>;  <span class="comment"></span>
+<a name="l00179"></a>00179 <span class="comment">    /** first child element */</span>
+<a name="l00180"></a><a class="code" href="structapr__xml__elem.html#620a28337f36592d4cb1f6dd3d2e97e0">00180</a>     <span class="keyword">struct </span><a class="code" href="structapr__xml__elem.html">apr_xml_elem</a> *<a class="code" href="structapr__xml__elem.html#620a28337f36592d4cb1f6dd3d2e97e0">first_child</a>;<span class="comment"></span>
+<a name="l00181"></a>00181 <span class="comment">    /** first attribute */</span>
+<a name="l00182"></a><a class="code" href="structapr__xml__elem.html#a9c71585c0b2a32269852047aebdd61c">00182</a>     <span class="keyword">struct </span><a class="code" href="structapr__xml__attr.html">apr_xml_attr</a> *<a class="code" href="structapr__xml__elem.html#a9c71585c0b2a32269852047aebdd61c">attr</a>;          
+<a name="l00183"></a>00183 
+<a name="l00184"></a>00184     <span class="comment">/* used only during parsing */</span><span class="comment"></span>
+<a name="l00185"></a>00185 <span class="comment">    /** last child element */</span>
+<a name="l00186"></a><a class="code" href="structapr__xml__elem.html#d4f49811fc36f2377c72ac2c19e57abd">00186</a>     <span class="keyword">struct </span><a class="code" href="structapr__xml__elem.html">apr_xml_elem</a> *<a class="code" href="structapr__xml__elem.html#d4f49811fc36f2377c72ac2c19e57abd">last_child</a>;<span class="comment"></span>
+<a name="l00187"></a>00187 <span class="comment">    /** namespaces scoped by this elem */</span>
+<a name="l00188"></a><a class="code" href="structapr__xml__elem.html#ddfd70c22965dca4f7574639424a0c32">00188</a>     <span class="keyword">struct </span>apr_xml_ns_scope *<a class="code" href="structapr__xml__elem.html#ddfd70c22965dca4f7574639424a0c32">ns_scope</a>;
+<a name="l00189"></a>00189 
+<a name="l00190"></a>00190     <span class="comment">/* used by modules during request processing */</span><span class="comment"></span>
+<a name="l00191"></a>00191 <span class="comment">    /** Place for modules to store private data */</span>
+<a name="l00192"></a><a class="code" href="structapr__xml__elem.html#0bc4296aedb5d047325f86080604d939">00192</a>     <span class="keywordtype">void</span> *<a class="code" href="structapr__xml__elem.html#0bc4296aedb5d047325f86080604d939">priv</a>;
+<a name="l00193"></a>00193 };
+<a name="l00194"></a>00194 <span class="comment"></span>
+<a name="l00195"></a>00195 <span class="comment">/** Is this XML element empty? */</span>
+<a name="l00196"></a><a class="code" href="group___a_p_r___util___x_m_l.html#ga5792e7a2aa38dc98a93b0762c98441f">00196</a> <span class="preprocessor">#define APR_XML_ELEM_IS_EMPTY(e) ((e)-&gt;first_child == NULL &amp;&amp; \</span>
+<a name="l00197"></a>00197 <span class="preprocessor">                                  (e)-&gt;first_cdata.first == NULL)</span>
+<a name="l00198"></a>00198 <span class="preprocessor"></span><span class="comment"></span>
+<a name="l00199"></a>00199 <span class="comment">/** apr_xml_doc: holds a parsed XML document */</span>
+<a name="l00200"></a><a class="code" href="structapr__xml__doc.html">00200</a> <span class="keyword">struct </span><a class="code" href="structapr__xml__doc.html">apr_xml_doc</a> {<span class="comment"></span>
+<a name="l00201"></a>00201 <span class="comment">    /** root element */</span>
+<a name="l00202"></a><a class="code" href="structapr__xml__doc.html#9385ccf062ed6997d2d59d80cda28a71">00202</a>     <a class="code" href="structapr__xml__elem.html">apr_xml_elem</a> *<a class="code" href="structapr__xml__doc.html#9385ccf062ed6997d2d59d80cda28a71">root</a>; <span class="comment"></span>
+<a name="l00203"></a>00203 <span class="comment">    /** array of namespaces used */</span>
+<a name="l00204"></a><a class="code" href="structapr__xml__doc.html#6aee4d0e4516c9b8191ad734c2748d39">00204</a>     <a class="code" href="structapr__array__header__t.html">apr_array_header_t</a> *<a class="code" href="structapr__xml__doc.html#6aee4d0e4516c9b8191ad734c2748d39">namespaces</a>;
+<a name="l00205"></a>00205 };
+<a name="l00206"></a>00206 <span class="comment"></span>
+<a name="l00207"></a>00207 <span class="comment">/** Opaque XML parser structure */</span>
+<a name="l00208"></a><a class="code" href="group___a_p_r___util___x_m_l.html#gb08a1c255615afda782318811a5053d9">00208</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group___a_p_r___util___x_m_l.html#gb08a1c255615afda782318811a5053d9">apr_xml_parser</a> <a class="code" href="group___a_p_r___util___x_m_l.html#gb08a1c255615afda782318811a5053d9">apr_xml_parser</a>;
+<a name="l00209"></a>00209 <span class="comment"></span>
+<a name="l00210"></a>00210 <span class="comment">/**</span>
+<a name="l00211"></a>00211 <span class="comment"> * Create an XML parser</span>
+<a name="l00212"></a>00212 <span class="comment"> * @param pool The pool for allocating the parser and the parse results.</span>
+<a name="l00213"></a>00213 <span class="comment"> * @return The new parser.</span>
+<a name="l00214"></a>00214 <span class="comment"> */</span>
+<a name="l00215"></a>00215 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<a class="code" href="group___a_p_r___util___x_m_l.html#gb08a1c255615afda782318811a5053d9">apr_xml_parser</a> *) apr_xml_parser_create(<a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
+<a name="l00216"></a>00216 <span class="comment"></span>
+<a name="l00217"></a>00217 <span class="comment">/**</span>
+<a name="l00218"></a>00218 <span class="comment"> * Parse a File, producing a xml_doc</span>
+<a name="l00219"></a>00219 <span class="comment"> * @param p      The pool for allocating the parse results.</span>
+<a name="l00220"></a>00220 <span class="comment"> * @param parser A pointer to *parser (needed so calling function can get</span>
+<a name="l00221"></a>00221 <span class="comment"> *               errors), will be set to NULL on successfull completion.</span>
+<a name="l00222"></a>00222 <span class="comment"> * @param ppdoc  A pointer to *apr_xml_doc (which has the parsed results in it)</span>
+<a name="l00223"></a>00223 <span class="comment"> * @param xmlfd  A file to read from.</span>
+<a name="l00224"></a>00224 <span class="comment"> * @param buffer_length Buffer length which would be suitable </span>
+<a name="l00225"></a>00225 <span class="comment"> * @return Any errors found during parsing.</span>
+<a name="l00226"></a>00226 <span class="comment"> */</span>
+<a name="l00227"></a>00227 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) apr_xml_parse_file(<a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p,
+<a name="l00228"></a>00228                                              <a class="code" href="group___a_p_r___util___x_m_l.html#gb08a1c255615afda782318811a5053d9">apr_xml_parser</a> **parser,
+<a name="l00229"></a>00229                                              <a class="code" href="structapr__xml__doc.html">apr_xml_doc</a> **ppdoc,
+<a name="l00230"></a>00230                                              <a class="code" href="group__apr__file__io.html#ga46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> *xmlfd,
+<a name="l00231"></a>00231                                              apr_size_t buffer_length);
+<a name="l00232"></a>00232 
+<a name="l00233"></a>00233 <span class="comment"></span>
+<a name="l00234"></a>00234 <span class="comment">/**</span>
+<a name="l00235"></a>00235 <span class="comment"> * Feed input into the parser</span>
+<a name="l00236"></a>00236 <span class="comment"> * @param parser The XML parser for parsing this data.</span>
+<a name="l00237"></a>00237 <span class="comment"> * @param data The data to parse.</span>
+<a name="l00238"></a>00238 <span class="comment"> * @param len The length of the data.</span>
+<a name="l00239"></a>00239 <span class="comment"> * @return Any errors found during parsing.</span>
+<a name="l00240"></a>00240 <span class="comment"> * @remark Use apr_xml_parser_geterror() to get more error information.</span>
+<a name="l00241"></a>00241 <span class="comment"> */</span>
+<a name="l00242"></a>00242 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) apr_xml_parser_feed(<a class="code" href="group___a_p_r___util___x_m_l.html#gb08a1c255615afda782318811a5053d9">apr_xml_parser</a> *parser,
+<a name="l00243"></a>00243                                               const <span class="keywordtype">char</span> *data,
+<a name="l00244"></a>00244                                               apr_size_t len);
+<a name="l00245"></a>00245 <span class="comment"></span>
+<a name="l00246"></a>00246 <span class="comment">/**</span>
+<a name="l00247"></a>00247 <span class="comment"> * Terminate the parsing and return the result</span>
+<a name="l00248"></a>00248 <span class="comment"> * @param parser The XML parser for parsing this data.</span>
+<a name="l00249"></a>00249 <span class="comment"> * @param pdoc The resulting parse information. May be NULL to simply</span>
+<a name="l00250"></a>00250 <span class="comment"> *             terminate the parsing without fetching the info.</span>
+<a name="l00251"></a>00251 <span class="comment"> * @return Any errors found during the final stage of parsing.</span>
+<a name="l00252"></a>00252 <span class="comment"> * @remark Use apr_xml_parser_geterror() to get more error information.</span>
+<a name="l00253"></a>00253 <span class="comment"> */</span>
+<a name="l00254"></a>00254 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) apr_xml_parser_done(<a class="code" href="group___a_p_r___util___x_m_l.html#gb08a1c255615afda782318811a5053d9">apr_xml_parser</a> *parser,
+<a name="l00255"></a>00255                                               <a class="code" href="structapr__xml__doc.html">apr_xml_doc</a> **pdoc);
+<a name="l00256"></a>00256 <span class="comment"></span>
+<a name="l00257"></a>00257 <span class="comment">/**</span>
+<a name="l00258"></a>00258 <span class="comment"> * Fetch additional error information from the parser.</span>
+<a name="l00259"></a>00259 <span class="comment"> * @param parser The XML parser to query for errors.</span>
+<a name="l00260"></a>00260 <span class="comment"> * @param errbuf A buffer for storing error text.</span>
+<a name="l00261"></a>00261 <span class="comment"> * @param errbufsize The length of the error text buffer.</span>
+<a name="l00262"></a>00262 <span class="comment"> * @return The error buffer</span>
+<a name="l00263"></a>00263 <span class="comment"> */</span>
+<a name="l00264"></a>00264 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<span class="keywordtype">char</span> *) apr_xml_parser_geterror(<a class="code" href="group___a_p_r___util___x_m_l.html#gb08a1c255615afda782318811a5053d9">apr_xml_parser</a> *parser,
+<a name="l00265"></a>00265                                             <span class="keywordtype">char</span> *errbuf,
+<a name="l00266"></a>00266                                             apr_size_t errbufsize);
+<a name="l00267"></a>00267 
+<a name="l00268"></a>00268 <span class="comment"></span>
+<a name="l00269"></a>00269 <span class="comment">/**</span>
+<a name="l00270"></a>00270 <span class="comment"> * Converts an XML element tree to flat text </span>
+<a name="l00271"></a>00271 <span class="comment"> * @param p The pool to allocate out of</span>
+<a name="l00272"></a>00272 <span class="comment"> * @param elem The XML element to convert</span>
+<a name="l00273"></a>00273 <span class="comment"> * @param style How to covert the XML.  One of:</span>
+<a name="l00274"></a>00274 <span class="comment"> * &lt;PRE&gt;</span>
+<a name="l00275"></a>00275 <span class="comment"> *     APR_XML_X2T_FULL                start tag, contents, end tag </span>
+<a name="l00276"></a>00276 <span class="comment"> *     APR_XML_X2T_INNER               contents only </span>
+<a name="l00277"></a>00277 <span class="comment"> *     APR_XML_X2T_LANG_INNER          xml:lang + inner contents </span>
+<a name="l00278"></a>00278 <span class="comment"> *     APR_XML_X2T_FULL_NS_LANG        FULL + ns defns + xml:lang </span>
+<a name="l00279"></a>00279 <span class="comment"> * &lt;/PRE&gt;</span>
+<a name="l00280"></a>00280 <span class="comment"> * @param namespaces The namespace of the current XML element</span>
+<a name="l00281"></a>00281 <span class="comment"> * @param ns_map Namespace mapping</span>
+<a name="l00282"></a>00282 <span class="comment"> * @param pbuf Buffer to put the converted text into</span>
+<a name="l00283"></a>00283 <span class="comment"> * @param psize Size of the converted text</span>
+<a name="l00284"></a>00284 <span class="comment"> */</span>
+<a name="l00285"></a>00285 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<span class="keywordtype">void</span>) apr_xml_to_text(<a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p, const <a class="code" href="structapr__xml__elem.html">apr_xml_elem</a> *elem,
+<a name="l00286"></a>00286                                   <span class="keywordtype">int</span> style, <a class="code" href="structapr__array__header__t.html">apr_array_header_t</a> *namespaces,
+<a name="l00287"></a>00287                                   <span class="keywordtype">int</span> *ns_map, const <span class="keywordtype">char</span> **pbuf,
+<a name="l00288"></a>00288                                   apr_size_t *psize);
+<a name="l00289"></a>00289 
+<a name="l00290"></a>00290 <span class="comment">/* style argument values: */</span>
+<a name="l00291"></a><a class="code" href="group___a_p_r___util___x_m_l.html#geb48abf8de020df9bad57cfc7ca35747">00291</a> <span class="preprocessor">#define APR_XML_X2T_FULL         0      </span><span class="comment">/**&lt; start tag, contents, end tag */</span>
+<a name="l00292"></a><a class="code" href="group___a_p_r___util___x_m_l.html#g715a5e536efbfa24854531008cf4bdce">00292</a> <span class="preprocessor">#define APR_XML_X2T_INNER        1      </span><span class="comment">/**&lt; contents only */</span>
+<a name="l00293"></a><a class="code" href="group___a_p_r___util___x_m_l.html#g4cd40106902732169b8fe7579ba2e67c">00293</a> <span class="preprocessor">#define APR_XML_X2T_LANG_INNER   2      </span><span class="comment">/**&lt; xml:lang + inner contents */</span>
+<a name="l00294"></a><a class="code" href="group___a_p_r___util___x_m_l.html#g7b2cd4c48940cd95a56ace294a94d938">00294</a> <span class="preprocessor">#define APR_XML_X2T_FULL_NS_LANG 3      </span><span class="comment">/**&lt; FULL + ns defns + xml:lang */</span>
+<a name="l00295"></a>00295 <span class="comment"></span>
+<a name="l00296"></a>00296 <span class="comment">/**</span>
+<a name="l00297"></a>00297 <span class="comment"> * empty XML element</span>
+<a name="l00298"></a>00298 <span class="comment"> * @param p The pool to allocate out of</span>
+<a name="l00299"></a>00299 <span class="comment"> * @param elem The XML element to empty</span>
+<a name="l00300"></a>00300 <span class="comment"> * @return the string that was stored in the XML element</span>
+<a name="l00301"></a>00301 <span class="comment"> */</span>
+<a name="l00302"></a>00302 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *) apr_xml_empty_elem(<a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p,
+<a name="l00303"></a>00303                                              const <a class="code" href="structapr__xml__elem.html">apr_xml_elem</a> *elem);
+<a name="l00304"></a>00304 <span class="comment"></span>
+<a name="l00305"></a>00305 <span class="comment">/**</span>
+<a name="l00306"></a>00306 <span class="comment"> * quote an XML string</span>
+<a name="l00307"></a>00307 <span class="comment"> * Replace '&lt;', '&gt;', and '&amp;' with '&amp;lt;', '&amp;gt;', and '&amp;amp;'.</span>
+<a name="l00308"></a>00308 <span class="comment"> * @param p The pool to allocate out of</span>
+<a name="l00309"></a>00309 <span class="comment"> * @param s The string to quote</span>
+<a name="l00310"></a>00310 <span class="comment"> * @param quotes If quotes is true, then replace '"' with '&amp;quot;'.</span>
+<a name="l00311"></a>00311 <span class="comment"> * @return The quoted string</span>
+<a name="l00312"></a>00312 <span class="comment"> * @note If the string does not contain special characters, it is not</span>
+<a name="l00313"></a>00313 <span class="comment"> * duplicated into the pool and the original string is returned.</span>
+<a name="l00314"></a>00314 <span class="comment"> */</span>
+<a name="l00315"></a>00315 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(const <span class="keywordtype">char</span> *) apr_xml_quote_string(<a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p, const <span class="keywordtype">char</span> *s,
+<a name="l00316"></a>00316                                                <span class="keywordtype">int</span> quotes);
+<a name="l00317"></a>00317 <span class="comment"></span>
+<a name="l00318"></a>00318 <span class="comment">/**</span>
+<a name="l00319"></a>00319 <span class="comment"> * Quote an XML element</span>
+<a name="l00320"></a>00320 <span class="comment"> * @param p The pool to allocate out of</span>
+<a name="l00321"></a>00321 <span class="comment"> * @param elem The element to quote</span>
+<a name="l00322"></a>00322 <span class="comment"> */</span>
+<a name="l00323"></a>00323 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<span class="keywordtype">void</span>) apr_xml_quote_elem(<a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p, <a class="code" href="structapr__xml__elem.html">apr_xml_elem</a> *elem);
+<a name="l00324"></a>00324 
+<a name="l00325"></a>00325 <span class="comment">/* manage an array of unique URIs: apr_xml_insert_uri() and APR_XML_URI_ITEM() */</span>
+<a name="l00326"></a>00326 <span class="comment"></span>
+<a name="l00327"></a>00327 <span class="comment">/**</span>
+<a name="l00328"></a>00328 <span class="comment"> * return the URI's (existing) index, or insert it and return a new index </span>
+<a name="l00329"></a>00329 <span class="comment"> * @param uri_array array to insert into</span>
+<a name="l00330"></a>00330 <span class="comment"> * @param uri The uri to insert</span>
+<a name="l00331"></a>00331 <span class="comment"> * @return int The uri's index</span>
+<a name="l00332"></a>00332 <span class="comment"> */</span>
+<a name="l00333"></a>00333 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<span class="keywordtype">int</span>) apr_xml_insert_uri(<a class="code" href="structapr__array__header__t.html">apr_array_header_t</a> *uri_array,
+<a name="l00334"></a>00334                                     const <span class="keywordtype">char</span> *uri);
+<a name="l00335"></a>00335 <span class="comment"></span>
+<a name="l00336"></a>00336 <span class="comment">/** Get the URI item for this XML element */</span>
+<a name="l00337"></a><a class="code" href="group___a_p_r___util___x_m_l.html#gf31ae94be9e1db1ee0175f7c0c40e3a7">00337</a> <span class="preprocessor">#define APR_XML_GET_URI_ITEM(ary, i) (((const char * const *)(ary)-&gt;elts)[i])</span>
+<a name="l00338"></a>00338 <span class="preprocessor"></span>
+<a name="l00339"></a>00339 <span class="preprocessor">#if APR_CHARSET_EBCDIC</span>
+<a name="l00340"></a>00340 <span class="preprocessor"></span><span class="comment">/**</span>
+<a name="l00341"></a>00341 <span class="comment"> * Convert parsed tree in EBCDIC </span>
+<a name="l00342"></a>00342 <span class="comment"> * @param p The pool to allocate out of</span>
+<a name="l00343"></a>00343 <span class="comment"> * @param pdoc The apr_xml_doc to convert.</span>
+<a name="l00344"></a>00344 <span class="comment"> * @param xlate The translation handle to use.</span>
+<a name="l00345"></a>00345 <span class="comment"> * @return Any errors found during conversion.</span>
+<a name="l00346"></a>00346 <span class="comment"> */</span>
+<a name="l00347"></a>00347 <a class="code" href="group___a_p_r___util___base64.html#gf43a293bb29d7041e6c85e90b967715f">APU_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) apr_xml_parser_convert_doc(<a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p,
+<a name="l00348"></a>00348                                                      <a class="code" href="structapr__xml__doc.html">apr_xml_doc</a> *pdoc,
+<a name="l00349"></a>00349                                                      <a class="code" href="group___a_p_r___x_l_a_t_e.html#g069dabbadc30e3a4157c38104a250e77">apr_xlate_t</a> *convset);
+<a name="l00350"></a>00350 <span class="preprocessor">#endif</span>
+<a name="l00351"></a>00351 <span class="preprocessor"></span>
+<a name="l00352"></a>00352 <span class="preprocessor">#ifdef __cplusplus</span>
+<a name="l00353"></a>00353 <span class="preprocessor"></span>}
+<a name="l00354"></a>00354 <span class="preprocessor">#endif</span>
+<a name="l00355"></a>00355 <span class="preprocessor"></span><span class="comment">/** @} */</span>
+<a name="l00356"></a>00356 <span class="preprocessor">#endif </span><span class="comment">/* APR_XML_H */</span>
+</pre></div></div>
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 09:45:28 2009 for Apache Portable Runtime by&nbsp;
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
+</body>
+</html>



Mime
View raw message