diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-07-25 00:19:33 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-07-25 00:19:33 +0000 |
commit | cf471fa3f8b7aec3d44db4515536c78098a6011a (patch) | |
tree | 7a876b4cd15b4ab2a0b2f133fb1cfccfbee725d9 /src/utils/base64.h | |
parent | b54666222ca5020438aa9151a51a295269b1b319 (diff) | |
download | manaserv-cf471fa3f8b7aec3d44db4515536c78098a6011a.tar.gz manaserv-cf471fa3f8b7aec3d44db4515536c78098a6011a.tar.bz2 manaserv-cf471fa3f8b7aec3d44db4515536c78098a6011a.tar.xz manaserv-cf471fa3f8b7aec3d44db4515536c78098a6011a.zip |
Added modified Map, MapReader, ResourceManager classes and base64 functions
from client to server. Nothing tested yet, just made sure it still compiled.
Diffstat (limited to 'src/utils/base64.h')
-rw-r--r-- | src/utils/base64.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/utils/base64.h b/src/utils/base64.h new file mode 100644 index 00000000..5b275c45 --- /dev/null +++ b/src/utils/base64.h @@ -0,0 +1,44 @@ +/* + +----------------------------------------------------------------------+ + | 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) | + +----------------------------------------------------------------------+ + */ +/* $Id$ */ + +#ifndef _TMW_BASE64_H +#define _TMW_BASE64_H + +extern unsigned char *php_base64_encode(const unsigned char *, int, int *); +extern unsigned char *php_base64_decode(const unsigned char *, int, int *); + +#endif /* _TMW_BASE64_H */ + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + */ |