]> git.sur5r.net Git - glabels/blob - src/base64.h
Imported Upstream version 2.2.8
[glabels] / src / base64.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
2
3 /*
4  *  (GLABELS) Label and Business Card Creation program for GNOME
5  *
6  *  base64.h:  GLabels base64 encode/decode module
7  *
8  *  Copyright (C)  2003  Jim Evins <evins@snaught.com>
9  *
10  *  This module is based on base64.c from fetchmail:
11  *
12  *  Copyright (C)2002 by Eric S. Raymond.
13  *  Portions are copyrighted by Carl E. Harris and George M. Sipe.
14  *
15  *  This program is free software; you can redistribute it and/or modify
16  *  it under the terms of the GNU General Public License as published by
17  *  the Free Software Foundation; either version 2 of the License, or
18  *  (at your option) any later version.
19  *
20  *  This program is distributed in the hope that it will be useful,
21  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
22  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23  *  GNU General Public License for more details.
24  *
25  *  You should have received a copy of the GNU General Public License
26  *  along with this program; if not, write to the Free Software
27  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
28  */
29 #ifndef __BASE64_H__
30 #define __BASE64_H__
31
32 #include <glib/gtypes.h>
33
34 G_BEGIN_DECLS
35
36 gchar  *gl_base64_encode (const guchar *in,
37                           guint         inlen);
38
39 guchar *gl_base64_decode (const gchar  *in,
40                           guint        *outlen);
41
42 G_END_DECLS
43
44 #endif
45