2012-11-29 14:20:08 +01:00
|
|
|
#ifndef CRC64_H
|
|
|
|
#define CRC64_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2019-02-15 16:55:40 -05:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-11-29 14:20:08 +01:00
|
|
|
uint64_t crc64(uint64_t crc, const unsigned char *s, uint64_t l);
|
|
|
|
|
2014-11-12 21:58:57 -05:00
|
|
|
#ifdef REDIS_TEST
|
|
|
|
int crc64Test(int argc, char *argv[]);
|
|
|
|
#endif
|
|
|
|
|
2019-02-15 16:55:40 -05:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2012-11-29 14:20:08 +01:00
|
|
|
#endif
|