1 #ifndef _base64_h
2 #define _base64_h
3 /*
4  *  This file is part of libESMTP, a library for submission of RFC 2822
5  *  formatted electronic mail messages using the SMTP protocol described
6  *  in RFC 2821.
7  *
8  *  Copyright (C) 2001,2002  Brian Stafford  <brian@stafford.uklinux.net>
9  *
10  *  This library is free software; you can redistribute it and/or
11  *  modify it under the terms of the GNU Lesser General Public
12  *  License as published by the Free Software Foundation; either
13  *  version 2.1 of the License, or (at your option) any later version.
14  *
15  *  This library is distributed in the hope that it will be useful,
16  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  *  Lesser General Public License for more details.
19  *
20  *  You should have received a copy of the GNU Lesser General Public
21  *  License along with this library; if not, write to the Free Software
22  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23  */
24 
25 int b64_decode (void *dst, int dstlen, const char *src, int srclen);
26 int b64_encode (char *dst, int dstlen, const void *src, int srclen);
27 
28 #endif
29