2022-03-05 12:44:06 +02:00
|
|
|
#ifndef __INC_CRC32_H__
|
|
|
|
#define __INC_CRC32_H__
|
|
|
|
|
2022-03-12 11:39:41 +02:00
|
|
|
typedef unsigned int crc_t;
|
2022-03-05 12:44:06 +02:00
|
|
|
|
|
|
|
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
|