futriix/src/crc64.h
John Sully ea6a0f214b Merge tag '6.2.2' into unstable
Former-commit-id: 93ebb31b17adec5d406d2e30a5b9ea71c07fce5c
2021-05-21 05:54:39 +00:00

22 lines
299 B
C

#ifndef CRC64_H
#define CRC64_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
void crc64_init(void);
uint64_t crc64(uint64_t crc, const unsigned char *s, uint64_t l);
#ifdef REDIS_TEST
int crc64Test(int argc, char *argv[], int accurate);
#endif
#ifdef __cplusplus
}
#endif
#endif