|
a/src/utils/base64.cpp |
|
b/src/utils/base64.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: base64.cpp,v 1.6 2006-02-01 07:14:45 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: base64.cpp,v 1.7 2007-12-13 06:58:22 dockes Exp $ (C) 2005 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
/*
|
4 |
/*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* This program is free software; you can redistribute it and/or modify
|
6 |
* it under the terms of the GNU General Public License as published by
|
6 |
* it under the terms of the GNU General Public License as published by
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
17 |
* Free Software Foundation, Inc.,
|
17 |
* Free Software Foundation, Inc.,
|
18 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
18 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
19 |
*/
|
19 |
*/
|
20 |
|
20 |
|
21 |
#include <sys/types.h>
|
21 |
#include <sys/types.h>
|
22 |
|
22 |
#include <cstring>
|
23 |
#include <string>
|
23 |
#include <string>
|
|
|
24 |
|
24 |
#ifndef NO_NAMESPACES
|
25 |
#ifndef NO_NAMESPACES
|
25 |
using std::string;
|
26 |
using std::string;
|
26 |
#endif /* NO_NAMESPACES */
|
27 |
#endif /* NO_NAMESPACES */
|
27 |
|
28 |
|
28 |
//#define DEBUG_BASE64
|
29 |
//#define DEBUG_BASE64
|