16 #ifndef __BASE64_H_INCLUDED__
17 #define __BASE64_H_INCLUDED__
26 int base64_needed_encoded_length(
int length_of_data);
31 int base64_encode_max_arg_length(
void);
36 int base64_needed_decoded_length(
int length_of_encoded_data);
41 int base64_decode_max_arg_length();
46 int base64_encode(
const void *src,
size_t src_len,
char *dst);
51 int base64_decode(
const char *src,
size_t src_len,
52 void *dst,
const char **end_ptr,
int flags);
55 #define MY_BASE64_DECODE_ALLOW_MULTIPLE_CHUNKS 1