diff options
author | zyp <zyp@localhost> | 2006-05-08 14:54:40 +0200 |
---|---|---|
committer | zyp <zyp@localhost> | 2006-05-08 14:54:40 +0200 |
commit | 3a5b32f44a95b989e39273527fc924ad3d32465e (patch) | |
tree | ad977e8cdaf459f5a8b0c08f120a8ed604b5f561 /crc32.h |
[project @ zyp-20060508125440-a3cc6ea65de180a0]
[project @ 23]
Seperated from disccat to a standalone project.
Diffstat (limited to 'crc32.h')
-rw-r--r-- | crc32.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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_ |