crc64.c modified for incremental computation.

This commit is contained in:
antirez
2012-04-09 12:20:47 +02:00
parent 5a181d43cb
commit 88c1d9550d
2 changed files with 3 additions and 4 deletions

View File

@ -827,7 +827,7 @@ extern dictType hashDictType;
long long ustime(void);
long long mstime(void);
void getRandomHexChars(char *p, unsigned int len);
uint64_t crc64(const unsigned char *s, uint64_t l);
uint64_t crc64(uint64_t crc, const unsigned char *s, uint64_t l);
void exitFromChild(int retcode);
/* networking.c -- Networking and Client related operations */