Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > ad1ba1135a9c9eeffc2e538163e00373 > files > 600

libCommonC++2_1.4-devel-1.4.1-1mdv2007.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>GNU CommonC++: url.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.4.6 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="classes.html"><span>Classes</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</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>File&nbsp;Members</span></a></li>
  </ul></div>
<h1>url.h</h1><a href="url_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2001-2005 Open Source Telecom Corporation.</span>
<a name="l00002"></a>00002 <span class="comment">//</span>
<a name="l00003"></a>00003 <span class="comment">// This program is free software; you can redistribute it and/or modify</span>
<a name="l00004"></a>00004 <span class="comment">// it under the terms of the GNU General Public License as published by</span>
<a name="l00005"></a>00005 <span class="comment">// the Free Software Foundation; either version 2 of the License, or</span>
<a name="l00006"></a>00006 <span class="comment">// (at your option) any later version.</span>
<a name="l00007"></a>00007 <span class="comment">// </span>
<a name="l00008"></a>00008 <span class="comment">// This program is distributed in the hope that it will be useful,</span>
<a name="l00009"></a>00009 <span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00010"></a>00010 <span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<a name="l00011"></a>00011 <span class="comment">// GNU General Public License for more details.</span>
<a name="l00012"></a>00012 <span class="comment">// </span>
<a name="l00013"></a>00013 <span class="comment">// You should have received a copy of the GNU General Public License</span>
<a name="l00014"></a>00014 <span class="comment">// along with this program; if not, write to the Free Software</span>
<a name="l00015"></a>00015 <span class="comment">// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</span>
<a name="l00016"></a>00016 <span class="comment">// </span>
<a name="l00017"></a>00017 <span class="comment">// As a special exception, you may use this file as part of a free software</span>
<a name="l00018"></a>00018 <span class="comment">// library without restriction.  Specifically, if other files instantiate</span>
<a name="l00019"></a>00019 <span class="comment">// templates or use macros or inline functions from this file, or you compile</span>
<a name="l00020"></a>00020 <span class="comment">// this file and link it with other files to produce an executable, this</span>
<a name="l00021"></a>00021 <span class="comment">// file does not by itself cause the resulting executable to be covered by</span>
<a name="l00022"></a>00022 <span class="comment">// the GNU General Public License.  This exception does not however    </span>
<a name="l00023"></a>00023 <span class="comment">// invalidate any other reasons why the executable file might be covered by</span>
<a name="l00024"></a>00024 <span class="comment">// the GNU General Public License.    </span>
<a name="l00025"></a>00025 <span class="comment">//</span>
<a name="l00026"></a>00026 <span class="comment">// This exception applies only to the code released under the name GNU</span>
<a name="l00027"></a>00027 <span class="comment">// Common C++.  If you copy code from other releases into a copy of GNU</span>
<a name="l00028"></a>00028 <span class="comment">// Common C++, as the General Public License permits, the exception does</span>
<a name="l00029"></a>00029 <span class="comment">// not apply to the code that you add in this way.  To avoid misleading</span>
<a name="l00030"></a>00030 <span class="comment">// anyone as to the status of such modified files, you must delete</span>
<a name="l00031"></a>00031 <span class="comment">// this exception notice from them.</span>
<a name="l00032"></a>00032 <span class="comment">//</span>
<a name="l00033"></a>00033 <span class="comment">// If you write modifications of your own for GNU Common C++, it is your choice</span>
<a name="l00034"></a>00034 <span class="comment">// whether to permit this exception to apply to your modifications.</span>
<a name="l00035"></a>00035 <span class="comment">// If you do not wish that, delete this exception notice.</span>
<a name="l00036"></a>00036 <span class="comment">//</span>
<a name="l00037"></a>00037 
<a name="l00043"></a>00043 <span class="preprocessor">#ifndef CCXX_URL_H_</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#define CCXX_URL_H_</span>
<a name="l00045"></a>00045 <span class="preprocessor"></span>
<a name="l00046"></a>00046 <span class="preprocessor">#ifndef CCXX_CONFIG_H_</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="code" href="config_8h.html">cc++/config.h</a>&gt;</span>
<a name="l00048"></a>00048 <span class="preprocessor">#endif</span>
<a name="l00049"></a>00049 <span class="preprocessor"></span>
<a name="l00050"></a>00050 <span class="preprocessor">#ifndef CCXX_SOCKET_H_</span>
<a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="code" href="socket_8h.html">cc++/socket.h</a>&gt;</span>
<a name="l00052"></a>00052 <span class="preprocessor">#endif</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span>
<a name="l00054"></a>00054 <span class="preprocessor">#ifndef CCXX_MIME_H_</span>
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="code" href="mime_8h.html">cc++/mime.h</a>&gt;</span>
<a name="l00056"></a>00056 <span class="preprocessor">#endif</span>
<a name="l00057"></a>00057 <span class="preprocessor"></span>
<a name="l00058"></a>00058 <span class="preprocessor">#ifdef  CCXX_NAMESPACES</span>
<a name="l00059"></a>00059 <span class="preprocessor"></span><span class="keyword">namespace </span>ost {
<a name="l00060"></a>00060 <span class="preprocessor">#endif</span>
<a name="l00061"></a>00061 <span class="preprocessor"></span>
<a name="l00068"></a><a class="code" href="classost_1_1_u_r_l_stream.html">00068</a> <span class="keyword">class </span><a class="code" href="config_8h.html#d10ef148ba8327bd530fc6c32c1e181c">__EXPORT</a> URLStream : <span class="keyword">public</span> <a class="code" href="classost_1_1_t_c_p_stream.html">TCPStream</a>
<a name="l00069"></a>00069 {
<a name="l00070"></a>00070 <span class="keyword">public</span>:
<a name="l00074"></a><a class="code" href="classost_1_1_u_r_l_stream.html#3cbe53f1c34d7fdbd73efa61edbf463d">00074</a>         <span class="keyword">typedef</span> <span class="keyword">enum</span>
<a name="l00075"></a>00075         {
<a name="l00076"></a>00076                 errSuccess = 0,
<a name="l00077"></a>00077                 errUnreachable,
<a name="l00078"></a>00078                 errMissing,
<a name="l00079"></a>00079                 errDenied,
<a name="l00080"></a>00080                 errInvalid,
<a name="l00081"></a>00081                 errForbidden,
<a name="l00082"></a>00082                 errUnauthorized,
<a name="l00083"></a>00083                 errRelocated,
<a name="l00084"></a>00084                 errFailure,
<a name="l00085"></a>00085                 errTimeout,
<a name="l00086"></a>00086                 errInterface
<a name="l00087"></a>00087         } Error;
<a name="l00088"></a>00088 
<a name="l00092"></a><a class="code" href="classost_1_1_u_r_l_stream.html#0c2c4056104cc9cfb500d7be3a791279">00092</a>         <span class="keyword">typedef</span> <span class="keyword">enum</span>
<a name="l00093"></a>00093         {
<a name="l00094"></a>00094                 authAnonymous = 0,
<a name="l00095"></a>00095                 authBasic
<a name="l00096"></a>00096         } Authentication;
<a name="l00097"></a>00097 
<a name="l00101"></a><a class="code" href="classost_1_1_u_r_l_stream.html#29c5e2bbdebac341382d346331fff074">00101</a>         <span class="keyword">typedef</span> <span class="keyword">enum</span>
<a name="l00102"></a>00102         {
<a name="l00103"></a>00103                 encodingBinary = 0,
<a name="l00104"></a>00104                 encodingChunked
<a name="l00105"></a>00105         } Encoding;
<a name="l00106"></a>00106 
<a name="l00110"></a><a class="code" href="classost_1_1_u_r_l_stream.html#63b25c99eb1c2813d92f52b15be7368a">00110</a>         <span class="keyword">typedef</span> <span class="keyword">enum</span>
<a name="l00111"></a>00111         {
<a name="l00112"></a>00112                 methodHttpGet,
<a name="l00113"></a>00113                 methodHttpPut,
<a name="l00114"></a>00114                 methodHttpPost,
<a name="l00115"></a>00115                 methodHttpPostMultipart,
<a name="l00116"></a>00116                 methodFtpGet,
<a name="l00117"></a>00117                 methodFtpPut,
<a name="l00118"></a>00118                 methodFileGet,
<a name="l00119"></a>00119                 methodFilePut
<a name="l00120"></a>00120         } Method;
<a name="l00121"></a>00121 
<a name="l00125"></a><a class="code" href="classost_1_1_u_r_l_stream.html#368c822b755fd439f9a3293effddab5d">00125</a>         <span class="keyword">typedef</span> <span class="keyword">enum</span>
<a name="l00126"></a>00126         {
<a name="l00127"></a>00127                 protocolHttp1_0,
<a name="l00128"></a>00128                 protocolHttp1_1
<a name="l00129"></a>00129         } Protocol;
<a name="l00130"></a>00130 
<a name="l00131"></a>00131 <span class="keyword">private</span>:
<a name="l00132"></a>00132         <span class="keyword">const</span> <span class="keywordtype">char</span> *agent, *referer, *cookie, *pragma, *user, *password;
<a name="l00133"></a>00133         <span class="keyword">const</span> <span class="keywordtype">char</span> *proxyUser, *proxyPasswd;
<a name="l00134"></a>00134         <span class="keyword">const</span> <span class="keywordtype">char</span> *localif;
<a name="l00135"></a>00135         <a class="code" href="classost_1_1_i_p_v4_host.html">IPV4Host</a> proxyHost;
<a name="l00136"></a>00136 <span class="preprocessor">#ifdef  CCXX_IPV6</span>
<a name="l00137"></a>00137 <span class="preprocessor"></span>        <a class="code" href="classost_1_1_i_p_v6_host.html">IPV6Host</a> v6proxyHost;
<a name="l00138"></a>00138 <span class="preprocessor">#endif</span>
<a name="l00139"></a>00139 <span class="preprocessor"></span>        <a class="code" href="namespaceost.html#3c74a1a40c359fd349f3e3e1b96ebfc7">tpport_t</a> proxyPort;
<a name="l00140"></a>00140         Method urlmethod;
<a name="l00141"></a>00141         Encoding encoding;
<a name="l00142"></a>00142         Protocol protocol;
<a name="l00143"></a>00143         Authentication auth;
<a name="l00144"></a>00144         Authentication proxyAuth;
<a name="l00145"></a>00145         <a class="code" href="thread_8h.html#f412159e5cef839836a5e7b19ee75d1c">timeout_t</a> timeout;
<a name="l00146"></a>00146         <span class="keywordtype">bool</span> persistent;
<a name="l00147"></a>00147         <span class="keywordtype">bool</span> follow;
<a name="l00148"></a>00148         <span class="keywordtype">unsigned</span> chunk;
<a name="l00149"></a>00149 
<a name="l00150"></a>00150         Error getHTTPHeaders();
<a name="l00151"></a>00151         URLStream(<span class="keyword">const</span> URLStream&amp; rhs);
<a name="l00152"></a>00152 
<a name="l00153"></a>00153 <span class="keyword">protected</span>:
<a name="l00154"></a><a class="code" href="classost_1_1_u_r_l_stream.html#8470768c9bdad61e65de940194670932">00154</a>         <a class="code" href="classost_1_1_string.html">ost::String</a> m_host, m_address;
<a name="l00155"></a>00155 
<a name="l00164"></a>00164         <a class="code" href="classost_1_1_u_r_l_stream.html#3cbe53f1c34d7fdbd73efa61edbf463d">Error</a> sendHTTPHeader(<span class="keyword">const</span> <span class="keywordtype">char</span> *url, <span class="keyword">const</span> <span class="keywordtype">char</span> **vars, size_t bufsize);
<a name="l00165"></a>00165 
<a name="l00171"></a>00171         <span class="keywordtype">int</span> underflow(<span class="keywordtype">void</span>);
<a name="l00172"></a>00172 
<a name="l00181"></a>00181         <span class="keyword">virtual</span> <span class="keywordtype">int</span> aRead(<span class="keywordtype">char</span> *buffer, size_t len, <a class="code" href="thread_8h.html#f412159e5cef839836a5e7b19ee75d1c">timeout_t</a> timer);
<a name="l00182"></a>00182 
<a name="l00191"></a>00191         <span class="keyword">virtual</span> <span class="keywordtype">int</span> aWrite(<span class="keywordtype">char</span> *buffer, size_t len, <a class="code" href="thread_8h.html#f412159e5cef839836a5e7b19ee75d1c">timeout_t</a> timer);
<a name="l00192"></a>00192 
<a name="l00199"></a>00199         <span class="keyword">virtual</span> <span class="keywordtype">void</span> httpHeader(<span class="keyword">const</span> <span class="keywordtype">char</span> *header, <span class="keyword">const</span> <span class="keywordtype">char</span> *value);
<a name="l00200"></a>00200 
<a name="l00206"></a>00206         <span class="keyword">virtual</span> <span class="keywordtype">char</span> **extraHeader(<span class="keywordtype">void</span>);
<a name="l00207"></a>00207 
<a name="l00208"></a>00208 <span class="keyword">public</span>:
<a name="l00215"></a>00215         URLStream(Family family = IPV4, <a class="code" href="thread_8h.html#f412159e5cef839836a5e7b19ee75d1c">timeout_t</a> timer = 0);
<a name="l00216"></a>00216 
<a name="l00224"></a>00224         URLStream &amp;getline(<span class="keywordtype">char</span> *buffer, size_t len);
<a name="l00225"></a>00225 
<a name="l00233"></a>00233         <a class="code" href="classost_1_1_u_r_l_stream.html#3cbe53f1c34d7fdbd73efa61edbf463d">Error</a> get(<span class="keyword">const</span> <span class="keywordtype">char</span> *url, size_t buffer = 512);
<a name="l00234"></a>00234 
<a name="l00243"></a>00243         <a class="code" href="classost_1_1_u_r_l_stream.html#3cbe53f1c34d7fdbd73efa61edbf463d">Error</a> get(size_t buffer = 512);         
<a name="l00244"></a>00244 
<a name="l00254"></a>00254         <a class="code" href="classost_1_1_u_r_l_stream.html#3cbe53f1c34d7fdbd73efa61edbf463d">Error</a> submit(<span class="keyword">const</span> <span class="keywordtype">char</span> *url, <span class="keyword">const</span> <span class="keywordtype">char</span> **vars, size_t buffer = 512);
<a name="l00255"></a>00255 
<a name="l00264"></a>00264         <a class="code" href="classost_1_1_u_r_l_stream.html#3cbe53f1c34d7fdbd73efa61edbf463d">Error</a> post(<span class="keyword">const</span> <span class="keywordtype">char</span> *url, <span class="keyword">const</span> <span class="keywordtype">char</span> **vars, size_t buffer = 512);
<a name="l00265"></a>00265 
<a name="l00274"></a>00274         <a class="code" href="classost_1_1_u_r_l_stream.html#3cbe53f1c34d7fdbd73efa61edbf463d">Error</a> post(<span class="keyword">const</span> <span class="keywordtype">char</span> *url, <a class="code" href="classost_1_1_m_i_m_e_multipart_form.html">MIMEMultipartForm</a> &amp;form, size_t buffer = 512);
<a name="l00275"></a>00275 
<a name="l00283"></a>00283         <a class="code" href="classost_1_1_u_r_l_stream.html#3cbe53f1c34d7fdbd73efa61edbf463d">Error</a> head(<span class="keyword">const</span> <span class="keywordtype">char</span> *url, size_t buffer = 512);
<a name="l00284"></a>00284 
<a name="l00288"></a>00288         <span class="keywordtype">void</span> close();
<a name="l00289"></a>00289 
<a name="l00295"></a>00295         <span class="keywordtype">void</span> setReferer(<span class="keyword">const</span> <span class="keywordtype">char</span> *str);
<a name="l00296"></a>00296 
<a name="l00302"></a><a class="code" href="classost_1_1_u_r_l_stream.html#41fe1fab3e180ab32984558452375864">00302</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setHost(<span class="keyword">const</span> <span class="keywordtype">char</span> *str)
<a name="l00303"></a>00303                 {m_host = str;};
<a name="l00304"></a>00304 
<a name="l00310"></a><a class="code" href="classost_1_1_u_r_l_stream.html#de0f87919bff65f5872f79ef1fb9b250">00310</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setAddress(<span class="keyword">const</span> <span class="keywordtype">char</span> *str)
<a name="l00311"></a>00311                 {m_address = str;};
<a name="l00312"></a>00312 
<a name="l00318"></a><a class="code" href="classost_1_1_u_r_l_stream.html#6ab058ec31630125b4d22874f72b2e5e">00318</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setCookie(<span class="keyword">const</span> <span class="keywordtype">char</span> *str)
<a name="l00319"></a>00319                 {cookie = str;};
<a name="l00320"></a>00320 
<a name="l00326"></a><a class="code" href="classost_1_1_u_r_l_stream.html#8471a2d492c4bb37bbb406965b0d19ea">00326</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setUser(<span class="keyword">const</span> <span class="keywordtype">char</span> *str)
<a name="l00327"></a>00327                 {user = str;};
<a name="l00328"></a>00328 
<a name="l00334"></a><a class="code" href="classost_1_1_u_r_l_stream.html#3a85d06cbfa3206b47ba4623051ccf7c">00334</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setPassword(<span class="keyword">const</span> <span class="keywordtype">char</span> *str)
<a name="l00335"></a>00335                 {password = str;};
<a name="l00336"></a>00336 
<a name="l00343"></a>00343         <span class="keywordtype">void</span> setAuthentication(Authentication a, <span class="keyword">const</span> <span class="keywordtype">char</span> *str = NULL);
<a name="l00344"></a>00344 
<a name="l00350"></a><a class="code" href="classost_1_1_u_r_l_stream.html#ab90935c27dd3d5a3987174b085b4769">00350</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setProxyUser(<span class="keyword">const</span> <span class="keywordtype">char</span> *str)
<a name="l00351"></a>00351                 {proxyUser = str;};
<a name="l00352"></a>00352  
<a name="l00358"></a><a class="code" href="classost_1_1_u_r_l_stream.html#14621652a8c864bcebece2155326db3a">00358</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setProxyPassword(<span class="keyword">const</span> <span class="keywordtype">char</span> *str)
<a name="l00359"></a>00359                 {proxyPasswd = str;};
<a name="l00360"></a>00360  
<a name="l00367"></a>00367         <span class="keywordtype">void</span> setProxyAuthentication(Authentication a, <span class="keyword">const</span> <span class="keywordtype">char</span> *str = NULL);
<a name="l00368"></a>00368 
<a name="l00374"></a><a class="code" href="classost_1_1_u_r_l_stream.html#840da2832dc45d5fb500af34d1e7c1d6">00374</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setPragma(<span class="keyword">const</span> <span class="keywordtype">char</span> *str)
<a name="l00375"></a>00375                 {pragma = str;};
<a name="l00376"></a>00376 
<a name="l00383"></a>00383         <span class="keywordtype">void</span> setProxy(<span class="keyword">const</span> <span class="keywordtype">char</span> *host, <a class="code" href="namespaceost.html#3c74a1a40c359fd349f3e3e1b96ebfc7">tpport_t</a> port);
<a name="l00384"></a>00384 
<a name="l00390"></a><a class="code" href="classost_1_1_u_r_l_stream.html#81286e908399824ddc0ddef398850786">00390</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setAgent(<span class="keyword">const</span> <span class="keywordtype">char</span> *str)
<a name="l00391"></a>00391                 {agent = str;};
<a name="l00392"></a>00392 
<a name="l00398"></a><a class="code" href="classost_1_1_u_r_l_stream.html#b1f293e945445bf93183e0670052b00f">00398</a>         <span class="keyword">inline</span> <a class="code" href="classost_1_1_u_r_l_stream.html#63b25c99eb1c2813d92f52b15be7368a">Method</a> getMethod(<span class="keywordtype">void</span>)
<a name="l00399"></a>00399                 {<span class="keywordflow">return</span> urlmethod;};
<a name="l00400"></a>00400 
<a name="l00407"></a><a class="code" href="classost_1_1_u_r_l_stream.html#82863fbf49c6095877c2147a670e3e71">00407</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setTimeout(<a class="code" href="thread_8h.html#f412159e5cef839836a5e7b19ee75d1c">timeout_t</a> to)
<a name="l00408"></a>00408                 {timeout = to;};
<a name="l00409"></a>00409 
<a name="l00416"></a><a class="code" href="classost_1_1_u_r_l_stream.html#9fbf94d5de3e2d293d6ec6101c519055">00416</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setFollow(<span class="keywordtype">bool</span> enable)
<a name="l00417"></a>00417                 {follow = enable;};
<a name="l00418"></a>00418 
<a name="l00424"></a><a class="code" href="classost_1_1_u_r_l_stream.html#ec7ab9ffee3a1efd10209f77de75ab3b">00424</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setProtocol(<a class="code" href="classost_1_1_u_r_l_stream.html#368c822b755fd439f9a3293effddab5d">Protocol</a> pro)
<a name="l00425"></a>00425                 {protocol = pro;};
<a name="l00431"></a><a class="code" href="classost_1_1_u_r_l_stream.html#07915e0717ed8670a4a733bc94e8944c">00431</a>         <span class="keyword">inline</span> <span class="keywordtype">void</span> setLocalInterface(<span class="keyword">const</span> <span class="keywordtype">char</span> *intf) 
<a name="l00432"></a>00432         {localif=intf;} 
<a name="l00433"></a>00433 };
<a name="l00434"></a>00434 
<a name="l00440"></a>00440 <a class="code" href="config_8h.html#d10ef148ba8327bd530fc6c32c1e181c">__EXPORT</a> <span class="keywordtype">char</span>* urlDecode(<span class="keywordtype">char</span> *source, <span class="keywordtype">char</span> *dest = NULL);
<a name="l00441"></a>00441 
<a name="l00448"></a>00448 <a class="code" href="config_8h.html#d10ef148ba8327bd530fc6c32c1e181c">__EXPORT</a> <span class="keywordtype">char</span>* urlEncode(<span class="keyword">const</span> <span class="keywordtype">char</span> *source, <span class="keywordtype">char</span> *dest, size_t size);
<a name="l00449"></a>00449 
<a name="l00460"></a>00460 <a class="code" href="config_8h.html#d10ef148ba8327bd530fc6c32c1e181c">__EXPORT</a> <span class="keywordtype">char</span>* b64Decode(<span class="keywordtype">char</span> *src, <span class="keywordtype">char</span> *dest = NULL);
<a name="l00461"></a>00461 
<a name="l00473"></a>00473 <a class="code" href="config_8h.html#d10ef148ba8327bd530fc6c32c1e181c">__EXPORT</a> <span class="keywordtype">char</span>* b64Encode(<span class="keyword">const</span> <span class="keywordtype">char</span> *source, <span class="keywordtype">char</span> *dest, size_t size);
<a name="l00474"></a>00474 
<a name="l00486"></a>00486 <a class="code" href="config_8h.html#d10ef148ba8327bd530fc6c32c1e181c">__EXPORT</a> size_t b64Encode(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *src, size_t srcsize,
<a name="l00487"></a>00487                <span class="keywordtype">char</span> *dst, size_t dstsize);
<a name="l00488"></a>00488 
<a name="l00498"></a>00498 <a class="code" href="config_8h.html#d10ef148ba8327bd530fc6c32c1e181c">__EXPORT</a> size_t b64Decode(<span class="keyword">const</span> <span class="keywordtype">char</span> *src,
<a name="l00499"></a>00499                 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *dst, size_t dstsize);
<a name="l00500"></a>00500 
<a name="l00506"></a>00506 <a class="code" href="config_8h.html#d10ef148ba8327bd530fc6c32c1e181c">__EXPORT</a> String b64Encode(<span class="keyword">const</span> String&amp; src);
<a name="l00507"></a>00507 
<a name="l00515"></a>00515 <a class="code" href="config_8h.html#d10ef148ba8327bd530fc6c32c1e181c">__EXPORT</a> String b64Decode(<span class="keyword">const</span> String&amp; src);
<a name="l00516"></a>00516 
<a name="l00523"></a>00523 <a class="code" href="config_8h.html#d10ef148ba8327bd530fc6c32c1e181c">__EXPORT</a> String b64Encode(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *src, size_t srcsize);
<a name="l00524"></a>00524 
<a name="l00534"></a>00534 <a class="code" href="config_8h.html#d10ef148ba8327bd530fc6c32c1e181c">__EXPORT</a> size_t b64Decode(<span class="keyword">const</span> String&amp; src,
<a name="l00535"></a>00535                 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *dst, size_t dstsize);
<a name="l00536"></a>00536 
<a name="l00537"></a>00537 
<a name="l00538"></a>00538 <span class="preprocessor">#ifdef  CCXX_NAMESPACES</span>
<a name="l00539"></a>00539 <span class="preprocessor"></span>}
<a name="l00540"></a>00540 <span class="preprocessor">#endif</span>
<a name="l00541"></a>00541 <span class="preprocessor"></span>
<a name="l00542"></a>00542 <span class="preprocessor">#endif</span>
<a name="l00543"></a>00543 <span class="preprocessor"></span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Jun 19 10:50:55 2006 for GNU CommonC++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>