31 #ifndef _CMIME_BASE64_H
32 #define _CMIME_BASE64_H
char * cmime_base64_encode_string(const char *source)
Encode string to base64.
Definition: cmime_base64.c:122
char * cmime_base64_decode_string(const char *source)
Decode base64 string.
Definition: cmime_base64.c:156
void cmime_base64_decode_block(unsigned char in[4], unsigned char out[3])
Decode 4 byte base64 block.
Definition: cmime_base64.c:45
void cmime_base64_decode_file(FILE *infile, FILE *outfile)
Decode complete file from base64 and write to file pointer.
Definition: cmime_base64.c:89
void cmime_base64_encode_block(unsigned char in[3], unsigned char out[4], int len)
Encode 3byte block to base64.
Definition: cmime_base64.c:38
void cmime_base64_encode_file(FILE *infile, FILE *outfile, int linelen)
Encode complete file to base64 and write to file pointer.
Definition: cmime_base64.c:51