crc.h
dda9dab1
 
 #ifndef _CRC_H_
 #define _CRC_H_
 
84bd6ec2
 #include "str.h"
 
fa377d6b
 #define CRC16_LEN	4
 
dda9dab1
 extern unsigned long int crc_32_tab[];
 extern unsigned short int ccitt_tab[];
 extern unsigned short int crc_16_tab[];
 
272bfd2b
 
 unsigned short crcitt_string_ex( char *s, int len, register unsigned short ccitt);
fa377d6b
 unsigned short crcitt_string( char *s, int len );
 void crcitt_string_array( char *dst, str src[], int size );
 
1aedf95f
 void crc32_uint (str *source_string, unsigned int *hash_ret);
 
84bd6ec2
 #endif /* _CRC_H_ */
dda9dab1