inet/zz_base64.h

Go to the documentation of this file.
00001 /* libzzinet
00002  *
00003  * This program is distributed under the GNU General Public License, version 2.
00004  * A copy of this license is included with this source.
00005  *
00006  * Copyright 2000-2006, Toni Thomsson <toni@tonjac.org> 
00007 */
00008 
00009 #ifndef zz_base64_h
00010 #define zz_base64_h
00011 
00012 #include <assert.h>
00013 
00014 #include <ctype.h>
00015 #include <string.h> 
00016 #include <zz_export.h>
00017 
00023 class ZZ_API CzzBase64
00024 {
00025 public:
00026 
00027         ~CzzBase64();
00028 
00037         static int encode (char *dst, int dstlen, const unsigned char *src, int srclen);
00038         
00047     static int decode (unsigned char *dst, int dstlen, const char *src, int srclen);
00048 
00049 protected:
00050 private:
00051         CzzBase64();
00052 };
00053 
00054 #endif // zz_base64_h

Generated on Thu Sep 21 21:45:42 2006 for tonjac.org MINI/C++ library by  doxygen 1.4.6-NO