/home/dko/projects/mobilec/trunk/src/security/xyssl-0.7/include/xyssl/base64.h

Go to the documentation of this file.
00001 /* SVN FILE INFO
00002  * $Revision: 174 $ : Last Committed Revision
00003  * $Date: 2008-06-24 10:50:29 -0700 (Tue, 24 Jun 2008) $ : Last Committed Date */
00007 #ifndef _BASE64_H
00008 #define _BASE64_H
00009 
00010 #ifdef __cplusplus
00011 extern "C" {
00012 #endif
00013 
00014 #define ERR_BASE64_BUFFER_TOO_SMALL             0x0010
00015 #define ERR_BASE64_INVALID_CHARACTER            0x0012
00016 
00032 int base64_encode( unsigned char *dst, int *dlen,
00033                    unsigned char *src, int  slen );
00034 
00051 int base64_decode( unsigned char *dst, int *dlen,
00052                    unsigned char *src, int  slen );
00053 
00059 int base64_self_test( int verbose );
00060 
00061 #ifdef __cplusplus
00062 }
00063 #endif
00064 
00065 #endif /* base64.h */

Generated on Tue Jul 1 15:29:58 2008 for Mobile-C by  doxygen 1.5.4