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

Go to the documentation of this file.
00001 
00004 #ifndef _BASE64_H
00005 #define _BASE64_H
00006 
00007 #ifdef __cplusplus
00008 extern "C" {
00009 #endif
00010 
00011 #define ERR_BASE64_BUFFER_TOO_SMALL             0x0010
00012 #define ERR_BASE64_INVALID_CHARACTER            0x0012
00013 
00029 int base64_encode( unsigned char *dst, int *dlen,
00030                    unsigned char *src, int  slen );
00031 
00048 int base64_decode( unsigned char *dst, int *dlen,
00049                    unsigned char *src, int  slen );
00050 
00056 int base64_self_test( int verbose );
00057 
00058 #ifdef __cplusplus
00059 }
00060 #endif
00061 
00062 #endif /* base64.h */

Generated on Fri May 16 14:49:55 2008 for Mobile-C by  doxygen 1.5.4