root/src/tool/grfio.h @ 16

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
7void grfio_init(char*);                 // GRFIO Initialize
8void grfio_final(void);                 // GRFIO Finalize
9void* grfio_reads(char*,int*);  // GRFIO data file read & size get
10char *grfio_find_file(char *fname);
11
12#define grfio_read(fn) grfio_reads(fn, NULL)
13
14int grfio_size(char*);                  // GRFIO data file size get
15unsigned long grfio_crc32(const unsigned char *buf, unsigned int len);
16
17int decode_zip(unsigned char *dest, unsigned long* destLen, const unsigned char* source, unsigned long sourceLen);
18int encode_zip(unsigned char *dest, unsigned long* destLen, const unsigned char* source, unsigned long sourceLen);
19
20#endif /* _GRFIO_H_ */
Note: See TracBrowser for help on using the browser.