summaryrefslogtreecommitdiff
path: root/hash/crc32.h
blob: 646ccce7006d7a5667bfe55db622b6c3eb8671e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _CRC32_H_
#define _CRC32_H_

namespace CRC32 {
	extern int* crc_table;
	int* generate_table();
	int reflect(int data, int bits);
	int crc32(int crc, const char* data, int length);
}

#endif // _CRC32_H_