crc.h
dda9dab1
 /* $Id$*/
 
 #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[];
 
fa377d6b
 unsigned short crcitt_string( char *s, int len );
 void crcitt_string_array( char *dst, str src[], int size );
 
84bd6ec2
 #endif /* _CRC_H_ */
dda9dab1