1 /* $NetBSD: base64_code.h,v 1.1.1.1 2009/06/23 10:08:59 tron Exp $ */ 2 3 #ifndef _BASE64_CODE_H_INCLUDED_ 4 #define _BASE64_CODE_H_INCLUDED_ 5 6 /*++ 7 /* NAME 8 /* base64_code 3h 9 /* SUMMARY 10 /* encode/decode data, base 64 style 11 /* SYNOPSIS 12 /* #include <base64_code.h> 13 /* DESCRIPTION 14 /* .nf 15 16 /* 17 * Utility library. 18 */ 19 #include <vstring.h> 20 21 /* 22 * External interface. 23 */ 24 extern VSTRING *base64_encode(VSTRING *, const char *, ssize_t); 25 extern VSTRING *base64_decode(VSTRING *, const char *, ssize_t); 26 27 /* LICENSE 28 /* .ad 29 /* .fi 30 /* The Secure Mailer license must be distributed with this software. 31 /* AUTHOR(S) 32 /* Wietse Venema 33 /* IBM T.J. Watson Research 34 /* P.O. Box 704 35 /* Yorktown Heights, NY 10598, USA 36 /*--*/ 37 38 #endif 39