summaryrefslogtreecommitdiff
path: root/lib/base64.h
blob: 0f5e4983282e70242e5ed642b6aeecdee84bc311 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef NULLMAILER_BASE64__H__
#define NULLMAILER_BASE64__H__

#include "mystring/mystring.h"

extern void base64_encode(const mystring& in, mystring& out);
extern void base64_encode_chunk(const unsigned char bin[3], unsigned len,
				char encoded[4]);

#endif // NULLMAILER_BASE64__H__