summaryrefslogtreecommitdiff
path: root/hash/crc32.h
diff options
context:
space:
mode:
authorzyp <zyp@localhost>2006-01-26 20:07:15 +0100
committerzyp <zyp@localhost>2006-01-26 20:07:15 +0100
commit21559e9f4bd58b1504cc0fda7b0dceee0c833862 (patch)
tree119240a883b5bda7e4c11f60dc39206e87b1e04f /hash/crc32.h
[project @ zyp-20060126190715-557e941315671b81]
[project @ 18] Moved disccat and pyanidb to the right location. Added pyqtmpc and ophidia.
Diffstat (limited to 'hash/crc32.h')
-rw-r--r--hash/crc32.h11
1 files changed, 11 insertions, 0 deletions
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_