|
a/libupnpp/base64.cxx |
|
b/libupnpp/base64.cxx |
|
... |
|
... |
12 |
* You should have received a copy of the GNU General Public License
|
12 |
* You should have received a copy of the GNU General Public License
|
13 |
* along with this program; if not, write to the
|
13 |
* along with this program; if not, write to the
|
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#include <stdio.h>
|
17 |
#include "base64.hxx"
|
18 |
|
18 |
|
19 |
#include <sys/types.h>
|
19 |
#include <ctype.h> // for isspace
|
20 |
#include <cstring>
|
20 |
#include <stdio.h> // for fprintf, stderr
|
21 |
#include <string>
|
21 |
#include <string> // for string
|
|
|
22 |
|
22 |
using std::string;
|
23 |
using std::string;
|
23 |
|
|
|
24 |
#include "base64.hxx"
|
|
|
25 |
|
24 |
|
26 |
namespace UPnPP {
|
25 |
namespace UPnPP {
|
27 |
|
26 |
|
28 |
#undef DEBUG_BASE64
|
27 |
#undef DEBUG_BASE64
|
29 |
#ifdef DEBUG_BASE64
|
28 |
#ifdef DEBUG_BASE64
|