diff options
author | eathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-11 20:50:17 +0000 |
---|---|---|
committer | eathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-11 20:50:17 +0000 |
commit | d187830a9f19239d7f43729a51198ed9dd8c176f (patch) | |
tree | d58cedc92584ef5e9580c38d95a3070703a1a0f5 /src/common/grfio.h | |
parent | 6ab4ccb4d3d6cb959776d4800bcd5e92b3dd7ac2 (diff) | |
download | hercules-d187830a9f19239d7f43729a51198ed9dd8c176f.tar.gz hercules-d187830a9f19239d7f43729a51198ed9dd8c176f.tar.bz2 hercules-d187830a9f19239d7f43729a51198ed9dd8c176f.tar.xz hercules-d187830a9f19239d7f43729a51198ed9dd8c176f.zip |
* Merged changes up to eAthena 15024.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15064 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/grfio.h')
-rw-r--r-- | src/common/grfio.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/common/grfio.h b/src/common/grfio.h index 0fc9f958d..c5a56a14e 100644 --- a/src/common/grfio.h +++ b/src/common/grfio.h @@ -4,16 +4,13 @@ #ifndef _GRFIO_H_ #define _GRFIO_H_ -void grfio_init(char*); // GRFIO Initialize -void grfio_final(void); // GRFIO Finalize -void* grfio_reads(char*,int*); // GRFIO data file read & size get -char *grfio_find_file(char *fname); - +void grfio_init(const char* fname); +void grfio_final(void); +void* grfio_reads(const char* fname, int* size); +char* grfio_find_file(const char* fname); #define grfio_read(fn) grfio_reads(fn, NULL) -int grfio_size(char*); // GRFIO data file size get unsigned long grfio_crc32(const unsigned char *buf, unsigned int len); - int decode_zip(void* dest, unsigned long* destLen, const void* source, unsigned long sourceLen); int encode_zip(void* dest, unsigned long* destLen, const void* source, unsigned long sourceLen); |