summaryrefslogtreecommitdiff
path: root/src/common/grfio.h
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-01 07:26:09 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-01 07:26:09 +0000
commit77d43dcefbbfbcbaf2b1cd1f5da2017673c1b5dc (patch)
tree844a5a04a4fdb4110594507f2ed4335c8c2ee796 /src/common/grfio.h
parentf1fd1e277edb4eec67380e378e486fe2756dbb7e (diff)
downloadhercules-77d43dcefbbfbcbaf2b1cd1f5da2017673c1b5dc.tar.gz
hercules-77d43dcefbbfbcbaf2b1cd1f5da2017673c1b5dc.tar.bz2
hercules-77d43dcefbbfbcbaf2b1cd1f5da2017673c1b5dc.tar.xz
hercules-77d43dcefbbfbcbaf2b1cd1f5da2017673c1b5dc.zip
* Removed functions 'decode_zip' (ancient) and 'encode_zip' (from r824) from grfio. These were outdated copies of zlib's 'uncompress' and 'compress' respectively (related r1530 and r5152).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14808 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/grfio.h')
-rw-r--r--src/common/grfio.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/grfio.h b/src/common/grfio.h
index 57439b16d..d5334ccf3 100644
--- a/src/common/grfio.h
+++ b/src/common/grfio.h
@@ -4,6 +4,8 @@
#ifndef _GRFIO_H_
#define _GRFIO_H_
+#include <zlib.h>
+
void grfio_init(char*); // GRFIO Initialize
void grfio_final(void); // GRFIO Finalize
void* grfio_reads(char*,int*); // GRFIO data file read & size get
@@ -14,7 +16,4 @@ 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_ */