forked from metin2/server
14 lines
346 B
C
14 lines
346 B
C
#ifndef __INC_CRC32_H__
|
|
#define __INC_CRC32_H__
|
|
|
|
typedef unsigned int 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
|