123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- #ifndef POLARSSL_BASE64_H
- #define POLARSSL_BASE64_H
- #include <string.h>
- #define POLARSSL_ERR_BASE64_BUFFER_TOO_SMALL -0x0010
- #define POLARSSL_ERR_BASE64_INVALID_CHARACTER -0x0012
- #ifdef __cplusplus
- extern "C" {
- #endif
- int base64_encode( unsigned char *dst, size_t *dlen,
- const unsigned char *src, size_t slen );
- int base64_decode( unsigned char *dst, size_t *dlen,
- const unsigned char *src, size_t slen );
- int base64_self_test( int verbose );
- #ifdef __cplusplus
- }
- #endif
- #endif
|