summaryrefslogtreecommitdiff
path: root/src/common/grfio.h
diff options
context:
space:
mode:
authorflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-07-06 19:36:18 +0000
committerflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-07-06 19:36:18 +0000
commit37377cfe2c7a46d23e44d0f67606c360008167b2 (patch)
treebd8ca3767ed8393f54f0a4e4999a080b3ccf608b /src/common/grfio.h
parent39bece2eb2c650540bec4c23801338f4fd7c7291 (diff)
downloadhercules-37377cfe2c7a46d23e44d0f67606c360008167b2.tar.gz
hercules-37377cfe2c7a46d23e44d0f67606c360008167b2.tar.bz2
hercules-37377cfe2c7a46d23e44d0f67606c360008167b2.tar.xz
hercules-37377cfe2c7a46d23e44d0f67606c360008167b2.zip
* Merged decode_zip/encode_zip from eapp's grfio to replace our direct use of zlib's uncompress/compress.
* Fixed strict-aliasing warning in mapcache's GetFloat. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14888 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/grfio.h')
-rw-r--r--src/common/grfio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/grfio.h b/src/common/grfio.h
index 5d46771b9..d0baa6609 100644
--- a/src/common/grfio.h
+++ b/src/common/grfio.h
@@ -14,4 +14,7 @@ char *grfio_find_file(char *fname);
int grfio_size(char*); // GRFIO data file size get
unsigned long grfio_crc32(const unsigned char *buf, unsigned int len);
+int decode_zip(unsigned char* dest, unsigned long* destLen, const unsigned char* source, unsigned long sourceLen);
+int encode_zip(unsigned char* dest, unsigned long* destLen, const unsigned char* source, unsigned long sourceLen);
+
#endif /* _GRFIO_H_ */