From 21559e9f4bd58b1504cc0fda7b0dceee0c833862 Mon Sep 17 00:00:00 2001 From: zyp Date: Thu, 26 Jan 2006 19:07:15 +0000 Subject: [project @ zyp-20060126190715-557e941315671b81] [project @ 18] Moved disccat and pyanidb to the right location. Added pyqtmpc and ophidia. --- hash/crc32.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 hash/crc32.h (limited to 'hash/crc32.h') diff --git a/hash/crc32.h b/hash/crc32.h new file mode 100644 index 0000000..646ccce --- /dev/null +++ b/hash/crc32.h @@ -0,0 +1,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_ -- cgit v1.2.3