summaryrefslogtreecommitdiff
path: root/tmxcopy/base64.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-02-02 02:59:55 +0200
committerAndrei Karas <akaras@inbox.ru>2011-02-02 02:59:55 +0200
commit30ede65e73a18ed774ebd5671c4244fc763481d1 (patch)
tree51c841d17c3db16c7cda8f9f2e28c8520caa70cd /tmxcopy/base64.h
parentf36332ff10ab2eedac1138c7b2739b709f94173c (diff)
downloadtools-30ede65e73a18ed774ebd5671c4244fc763481d1.tar.gz
tools-30ede65e73a18ed774ebd5671c4244fc763481d1.tar.bz2
tools-30ede65e73a18ed774ebd5671c4244fc763481d1.tar.xz
tools-30ede65e73a18ed774ebd5671c4244fc763481d1.zip
Add moved tools from manaplus. http://www.gitorious.org/manaplus/
Diffstat (limited to 'tmxcopy/base64.h')
-rw-r--r--tmxcopy/base64.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/tmxcopy/base64.h b/tmxcopy/base64.h
new file mode 100644
index 0000000..92c2301
--- /dev/null
+++ b/tmxcopy/base64.h
@@ -0,0 +1,36 @@
+/*
+ +----------------------------------------------------------------------+
+ | PHP HTML Embedded Scripting Language Version 3.0 |
+ +----------------------------------------------------------------------+
+ | Copyright (c) 1997,1998 PHP Development Team (See Credits file) |
+ +----------------------------------------------------------------------+
+ | This program is free software; you can redistribute it and/or modify |
+ | it under the terms of one of the following licenses: |
+ | |
+ | A) the GNU General Public License as published by the Free Software |
+ | Foundation; either version 2 of the License, or (at your option) |
+ | any later version. |
+ | |
+ | B) the PHP License as published by the PHP Development Team and |
+ | included in the distribution in the file: LICENSE |
+ | |
+ | This program is distributed in the hope that it will be useful, |
+ | but WITHOUT ANY WARRANTY; without even the implied warranty of |
+ | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
+ | GNU General Public License for more details. |
+ | |
+ | You should have received a copy of both licenses referred to here. |
+ | If you did not, or have any questions about PHP licensing, please |
+ | contact core@php.net. |
+ +----------------------------------------------------------------------+
+ | Author: Jim Winstead (jimw@php.net) |
+ +----------------------------------------------------------------------+
+ */
+
+#ifndef BASE64_H
+#define BASE64_H
+
+extern unsigned char *php3_base64_encode(const unsigned char *, int, int *);
+extern unsigned char *php3_base64_decode(const unsigned char *, int, int *);
+
+#endif /* BASE64_H */