Revision 1, 0.8 kB
(checked in by jinshiro, 17 years ago)
|
|
Line | |
---|
1 | // Copyright (c) Athena Dev Teams - Licensed under GNU GPL |
---|
2 | // For more information, see LICENCE in the main folder |
---|
3 | |
---|
4 | #ifndef _GRFIO_H_ |
---|
5 | #define _GRFIO_H_ |
---|
6 | |
---|
7 | void grfio_init(char*); // GRFIO Initialize |
---|
8 | void grfio_final(void); // GRFIO Finalize |
---|
9 | void* grfio_reads(char*,int*); // GRFIO data file read & size get |
---|
10 | char *grfio_find_file(char *fname); |
---|
11 | |
---|
12 | #define grfio_read(fn) grfio_reads(fn, NULL) |
---|
13 | |
---|
14 | int grfio_size(char*); // GRFIO data file size get |
---|
15 | unsigned long grfio_crc32(const unsigned char *buf, unsigned int len); |
---|
16 | |
---|
17 | int decode_zip(unsigned char *dest, unsigned long* destLen, const unsigned char* source, unsigned long sourceLen); |
---|
18 | int encode_zip(unsigned char *dest, unsigned long* destLen, const unsigned char* source, unsigned long sourceLen); |
---|
19 | |
---|
20 | #endif /* _GRFIO_H_ */ |
---|