1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-31 06:46:13 +00:00
Files
seafile-server/common/cdc/rabin-checksum.h

11 lines
222 B
C
Raw Normal View History

2016-08-10 14:53:33 +08:00
#ifndef _RABIN_CHECKSUM_H
#define _RABIN_CHECKSUM_H
unsigned int rabin_checksum(char *buf, int len);
unsigned int rabin_rolling_checksum(unsigned int csum, int len, char c1, char c2);
void rabin_init (int len);
#endif