PolarSSL

polarssl/base64.h

Go to the documentation of this file.
00001 
00025 #ifndef POLARSSL_BASE64_H
00026 #define POLARSSL_BASE64_H
00027 
00028 #define POLARSSL_ERR_BASE64_BUFFER_TOO_SMALL               0x0010
00029 #define POLARSSL_ERR_BASE64_INVALID_CHARACTER              0x0012
00030 
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034 
00050 int base64_encode( unsigned char *dst, int *dlen,
00051                    const unsigned char *src, int  slen );
00052 
00069 int base64_decode( unsigned char *dst, int *dlen,
00070                    const unsigned char *src, int  slen );
00071 
00077 int base64_self_test( int verbose );
00078 
00079 #ifdef __cplusplus
00080 }
00081 #endif
00082 
00083 #endif /* base64.h */
 All Classes Files Functions Variables Defines