forked from metin2/server
Add project files.
This commit is contained in:
13
game/src/crc32.h
Normal file
13
game/src/crc32.h
Normal file
@ -0,0 +1,13 @@
|
||||
#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
|
Reference in New Issue
Block a user