<!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 Utility Library: include/apr_xlate.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.4 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</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 Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <h1>include/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 "apr_pools.h"</span> <a name="l00022"></a>00022 <span class="preprocessor">#include "apr_errno.h"</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 <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 <a name="l00066"></a>00066 <a class="code" href="group___a_p_r___util.html#g408498ed57031391c19bf360cc61733a">APU_DECLARE</a>(apr_status_t) <a class="code" href="group___a_p_r___x_l_a_t_e.html#gb7d55348056d7e4cadbc35cfb8e1e624">apr_xlate_open</a>(<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 apr_pool_t *pool); <a name="l00070"></a>00070 <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> <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> <a name="l00093"></a>00093 <a class="code" href="group___a_p_r___util.html#g408498ed57031391c19bf360cc61733a">APU_DECLARE</a>(apr_status_t) <a class="code" href="group___a_p_r___x_l_a_t_e.html#g578875b2e6b2a19f8466b80e0768792e">apr_xlate_sb_get</a>(<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 <a name="l00117"></a>00117 <a class="code" href="group___a_p_r___util.html#g408498ed57031391c19bf360cc61733a">APU_DECLARE</a>(apr_status_t) <a class="code" href="group___a_p_r___x_l_a_t_e.html#gb92a20b644aa78ca94c6147b254a54f1">apr_xlate_conv_buffer</a>(<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> <a name="l00134"></a>00134 <a class="code" href="group___a_p_r___util.html#g408498ed57031391c19bf360cc61733a">APU_DECLARE</a>(apr_status_t) 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> <a name="l00146"></a>00146 <a class="code" href="group___a_p_r___util.html#g408498ed57031391c19bf360cc61733a">APU_DECLARE</a>(apr_int32_t) <a class="code" href="group___a_p_r___x_l_a_t_e.html#g90173cefe2dee6e5032ff17b15fea14b">apr_xlate_conv_byte</a>(<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 <a name="l00156"></a>00156 <a class="code" href="group___a_p_r___util.html#g408498ed57031391c19bf360cc61733a">APU_DECLARE</a>(apr_status_t) <a class="code" href="group___a_p_r___x_l_a_t_e.html#g2f88b0f72cd2512b8002344308480a8f">apr_xlate_close</a>(<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 <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><hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 24 02:22:55 2008 for Apache Portable Runtime Utility Library by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address> </body> </html>