forked from metin2/server
14 lines
347 B
C
14 lines
347 B
C
|
#ifndef __INC_CRC32_H__
|
||
|
#define __INC_CRC32_H__
|
||
|
|
||
|
typedef unsigned long crc_t;
|
||
|
|
||
|
crc_t GetCRC32(const char * buffer, size_t count);
|
||
|
crc_t GetCaseCRC32(const char * buffer, size_t count);
|
||
|
crc_t GetFastHash(const char * key, size_t len);
|
||
|
|
||
|
/*#define CRC32(buf) GetCRC32(buf, strlen(buf))
|
||
|
#define CRC32CASE(buf) GetCaseCRC32(buf, strlen(buf))*/
|
||
|
|
||
|
#endif
|