Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 42b8e67cd59abacb81e11c7ba39524d1 > files > 135

apr-api-docs-1.4.2-1.fc15.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Apache Portable Runtime: apr_xml.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Apache Portable Runtime</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>apr_xml.h</h1>  </div>
</div>
<div class="contents">
<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 &quot;License&quot;); 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 &quot;AS IS&quot; 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 &quot;<a class="code" href="apr__pools_8h.html" title="APR memory allocation.">apr_pools.h</a>&quot;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &quot;<a class="code" href="apr__tables_8h.html" title="APR Table library.">apr_tables.h</a>&quot;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &quot;<a class="code" href="apr__file__io_8h.html" title="APR File I/O Handling.">apr_file_io.h</a>&quot;</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="preprocessor">#include &quot;apu.h&quot;</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 &quot;<a class="code" href="apr__xlate_8h.html" title="APR I18N translation library.">apr_xlate.h</a>&quot;</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">&quot;C&quot;</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#gafddd251818de0015559bc174f81fd743">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#a37a262695c36f740a7777ea9dd0b699d">00055</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapr__text.html#a37a262695c36f740a7777ea9dd0b699d">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#aaf1b48e3f3085522fe7355e7d8893111">00057</a>     <span class="keyword">struct </span><a class="code" href="structapr__text.html">apr_text</a> *<a class="code" href="structapr__text.html#aaf1b48e3f3085522fe7355e7d8893111">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#gaafc6d5ebd59b64a27146cf938a4086e0">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#a6db03d272f5e56058c84e10e49624c0b">00066</a>     <a class="code" href="structapr__text.html">apr_text</a> *<a class="code" href="structapr__text__header.html#a6db03d272f5e56058c84e10e49624c0b">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#a3ebe57b46d323b8cefaba1e114acf09e">00068</a>     <a class="code" href="structapr__text.html">apr_text</a> *<a class="code" href="structapr__text__header.html#a3ebe57b46d323b8cefaba1e114acf09e">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 APU_DECLARE(<span class="keywordtype">void</span>) <a class="code" href="group___a_p_r___util___x_m_l.html#gaf63dcaeeda623045860396304007aa49">apr_text_append</a>(<a class="code" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">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 &quot;DAV:&quot; 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 &quot;xml&quot; (and we do not know</span>
<a name="l00098"></a>00098 <span class="comment">**       what it means). Namespace prefixes with &quot;xml&quot; (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 &quot;no namespace&quot;. This is done with a namespace</span>
<a name="l00111"></a>00111 <span class="comment">**          declaration of:  xmlns=&quot;&quot;</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 &quot;no prefix&quot; will always</span>
<a name="l00120"></a>00120 <span class="comment">**       mean &quot;no namespace&quot;.</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 &quot;xmlns&quot; prefix and the</span>
<a name="l00129"></a>00129 <span class="comment">**     &quot;xml:lang&quot; attribute. These are handled specially (they aren&#39;t</span>
<a name="l00130"></a>00130 <span class="comment">**     left within the XML tree), so the APR_XML_NS_NONE value won&#39;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#gad856851edabebf42e4150597c6f9d2c2">00133</a> <span class="preprocessor">#define APR_XML_NS_DAV_ID       0       </span><span class="comment">/**&lt; namespace ID for &quot;DAV:&quot; */</span>
<a name="l00134"></a><a class="code" href="group___a_p_r___util___x_m_l.html#ga2eed42f7f5e2b1932141f6bb5594b042">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#ga949c1a93de86c67576a0f2f225208447">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#ga65029fb8740ec9eb85562df1300d125f">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#ga4889d4d353f0ea0dabae2d5ae58dd07e">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#ga31390d11ec04137c925ddf43c2223270">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#ga98eba70878b9460f2530e7a21bb6ae74">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#a2ac25d74e3fd8a521b70af15ae8c1257">00150</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapr__xml__attr.html#a2ac25d74e3fd8a521b70af15ae8c1257">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#ad08daf8b0b47796aae04b6aeaa332bc2">00152</a>     <span class="keywordtype">int</span> <a class="code" href="structapr__xml__attr.html#ad08daf8b0b47796aae04b6aeaa332bc2">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#a12f0f611e426fe83704de92b3b11d2e3">00155</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapr__xml__attr.html#a12f0f611e426fe83704de92b3b11d2e3">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#a89a314d3136128eb2a37146ddb30da4f">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#a89a314d3136128eb2a37146ddb30da4f">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#a5b2fb684a9cfb244f88ad88f539fe3d6">00164</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapr__xml__elem.html#a5b2fb684a9cfb244f88ad88f539fe3d6">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#a613ea31964572df7b41f5a9da8d0982e">00166</a>     <span class="keywordtype">int</span> <a class="code" href="structapr__xml__elem.html#a613ea31964572df7b41f5a9da8d0982e">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#a9a48a384f579816f62a7369aeb8b1a0c">00168</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapr__xml__elem.html#a9a48a384f579816f62a7369aeb8b1a0c">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#a732e8acd00e43330674fde57ef87163f">00171</a>     <a class="code" href="structapr__text__header.html">apr_text_header</a> <a class="code" href="structapr__xml__elem.html#a732e8acd00e43330674fde57ef87163f">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#a8d64c5343354e34c1cc7ac67f51cc89a">00173</a>     <a class="code" href="structapr__text__header.html">apr_text_header</a> <a class="code" href="structapr__xml__elem.html#a8d64c5343354e34c1cc7ac67f51cc89a">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#a0fd30b383f2659a9ef245c2e99cb707d">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#a0fd30b383f2659a9ef245c2e99cb707d">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#a8687253d504b1c1363c47117611042ac">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#a8687253d504b1c1363c47117611042ac">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#a620a28337f36592d4cb1f6dd3d2e97e0">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#a620a28337f36592d4cb1f6dd3d2e97e0">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#aa9c71585c0b2a32269852047aebdd61c">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#aa9c71585c0b2a32269852047aebdd61c">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#ad4f49811fc36f2377c72ac2c19e57abd">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#ad4f49811fc36f2377c72ac2c19e57abd">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#addfd70c22965dca4f7574639424a0c32">00188</a>     <span class="keyword">struct </span>apr_xml_ns_scope *<a class="code" href="structapr__xml__elem.html#addfd70c22965dca4f7574639424a0c32">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#a0bc4296aedb5d047325f86080604d939">00192</a>     <span class="keywordtype">void</span> *<a class="code" href="structapr__xml__elem.html#a0bc4296aedb5d047325f86080604d939">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#gaa5792e7a2aa38dc98a93b0762c98441f">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#a9385ccf062ed6997d2d59d80cda28a71">00202</a>     <a class="code" href="structapr__xml__elem.html">apr_xml_elem</a> *<a class="code" href="structapr__xml__doc.html#a9385ccf062ed6997d2d59d80cda28a71">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#a6aee4d0e4516c9b8191ad734c2748d39">00204</a>     <a class="code" href="structapr__array__header__t.html">apr_array_header_t</a> *<a class="code" href="structapr__xml__doc.html#a6aee4d0e4516c9b8191ad734c2748d39">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#gab08a1c255615afda782318811a5053d9">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#gab08a1c255615afda782318811a5053d9">apr_xml_parser</a> <a class="code" href="group___a_p_r___util___x_m_l.html#gab08a1c255615afda782318811a5053d9">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 APU_DECLARE(<a class="code" href="group___a_p_r___util___x_m_l.html#gab08a1c255615afda782318811a5053d9">apr_xml_parser</a> *) <a class="code" href="group___a_p_r___util___x_m_l.html#ga438b6b9f15ecd8c22a602c9d5f87bd5c">apr_xml_parser_create</a>(<a class="code" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">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 successful 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 APU_DECLARE(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group___a_p_r___util___x_m_l.html#gad65e09202d9f2eb46cb1d681d7005076">apr_xml_parse_file</a>(<a class="code" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p,
<a name="l00228"></a>00228                                              <a class="code" href="group___a_p_r___util___x_m_l.html#gab08a1c255615afda782318811a5053d9">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#gaa46e4763ac375ea3c7a43ba6f6099e22">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 APU_DECLARE(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group___a_p_r___util___x_m_l.html#ga8b1f79c70267b30bc56a69df0b7d05ca">apr_xml_parser_feed</a>(<a class="code" href="group___a_p_r___util___x_m_l.html#gab08a1c255615afda782318811a5053d9">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 APU_DECLARE(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group___a_p_r___util___x_m_l.html#ga69d883e7fcaf0f98d6df69d7ff3ba523">apr_xml_parser_done</a>(<a class="code" href="group___a_p_r___util___x_m_l.html#gab08a1c255615afda782318811a5053d9">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 APU_DECLARE(<span class="keywordtype">char</span> *) <a class="code" href="group___a_p_r___util___x_m_l.html#gade6ff47b3d0b714e2b61bc1845b47743">apr_xml_parser_geterror</a>(<a class="code" href="group___a_p_r___util___x_m_l.html#gab08a1c255615afda782318811a5053d9">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 APU_DECLARE(<span class="keywordtype">void</span>) <a class="code" href="group___a_p_r___util___x_m_l.html#ga4485edce130dc1e9a3da3a633a75ffb3">apr_xml_to_text</a>(<a class="code" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">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#gaeb48abf8de020df9bad57cfc7ca35747">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#ga715a5e536efbfa24854531008cf4bdce">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#ga4cd40106902732169b8fe7579ba2e67c">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#ga7b2cd4c48940cd95a56ace294a94d938">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 APU_DECLARE(<span class="keyword">const</span> <span class="keywordtype">char</span> *) <a class="code" href="group___a_p_r___util___x_m_l.html#gabb75f025859b605f28394f82154f7847">apr_xml_empty_elem</a>(<a class="code" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">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 &#39;&lt;&#39;, &#39;&gt;&#39;, and &#39;\&amp;&#39; with &#39;\&amp;lt;&#39;, &#39;\&amp;gt;&#39;, and &#39;\&amp;amp;&#39;.</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 &#39;&amp;quot;&#39; with &#39;\&amp;quot;&#39;.</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 APU_DECLARE(const <span class="keywordtype">char</span> *) <a class="code" href="group___a_p_r___util___x_m_l.html#ga084970837d60613476e8ac1abd7651f0">apr_xml_quote_string</a>(<a class="code" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">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 APU_DECLARE(<span class="keywordtype">void</span>) <a class="code" href="group___a_p_r___util___x_m_l.html#ga709c6294a67b450459669e3be45a9aba">apr_xml_quote_elem</a>(<a class="code" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">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&#39;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&#39;s index</span>
<a name="l00332"></a>00332 <span class="comment"> */</span>
<a name="l00333"></a>00333 APU_DECLARE(<span class="keywordtype">int</span>) <a class="code" href="group___a_p_r___util___x_m_l.html#ga25a4f0e204fc99ce5000221befc55847">apr_xml_insert_uri</a>(<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#gaf31ae94be9e1db1ee0175f7c0c40e3a7">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 APU_DECLARE(<a class="code" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) apr_xml_parser_convert_doc(<a class="code" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">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#ga069dabbadc30e3a4157c38104a250e77">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>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Generated on Tue Feb 8 2011 for Apache Portable Runtime by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>