summaryrefslogtreecommitdiff
path: root/gnu/dist/postfix/src/util/base64_code.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/dist/postfix/src/util/base64_code.h')
-rw-r--r--gnu/dist/postfix/src/util/base64_code.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/dist/postfix/src/util/base64_code.h b/gnu/dist/postfix/src/util/base64_code.h
new file mode 100644
index 00000000000..d018947e1c1
--- /dev/null
+++ b/gnu/dist/postfix/src/util/base64_code.h
@@ -0,0 +1,36 @@
+#ifndef _BASE64_CODE_H_INCLUDED_
+#define _BASE64_CODE_H_INCLUDED_
+
+/*++
+/* NAME
+/* base64_code 3h
+/* SUMMARY
+/* encode/decode data, base 64 style
+/* SYNOPSIS
+/* #include <base64_code.h>
+/* DESCRIPTION
+/* .nf
+
+ /*
+ * Utility library.
+ */
+#include <vstring.h>
+
+ /*
+ * External interface.
+ */
+extern VSTRING *base64_encode(VSTRING *, const char *, int);
+extern VSTRING *base64_decode(VSTRING *, const char *, int);
+
+/* LICENSE
+/* .ad
+/* .fi
+/* The Secure Mailer license must be distributed with this software.
+/* AUTHOR(S)
+/* Wietse Venema
+/* IBM T.J. Watson Research
+/* P.O. Box 704
+/* Yorktown Heights, NY 10598, USA
+/*--*/
+
+#endif