summaryrefslogtreecommitdiff
path: root/lib/base64.h
diff options
context:
space:
mode:
authorDavid Bremner <bremner@debian.org>2017-11-11 08:46:16 -0400
committerDavid Bremner <bremner@debian.org>2017-11-11 08:46:16 -0400
commitddd3f417602bdd5fd55b741900f9450402c6ad02 (patch)
tree541c8e8e99eff11f58504975dc782d7ee931598b /lib/base64.h
Import nullmailer_2.1.orig.tar.gz
[dgit import orig nullmailer_2.1.orig.tar.gz]
Diffstat (limited to 'lib/base64.h')
-rw-r--r--lib/base64.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/base64.h b/lib/base64.h
new file mode 100644
index 0000000..0f5e498
--- /dev/null
+++ b/lib/base64.h
@@ -0,0 +1,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__