/* Copyright 1997, 1998, 1999 University Corporation for Atmospheric Research This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Author: Louis H. Estey Date: June 1999 part of the BINEX source code release, see also: http://www.unavco.ucar.edu/software/binex */ #ifndef _CRC_H #define _CRC_H #if KR_C /* K&R C function prototypes: */ extern unsigned char cks08 (); extern unsigned short crc16 (); extern unsigned long crc32 (); #else /* ANSI C function prototypes: */ extern unsigned char cks08 (unsigned char *, unsigned char *, unsigned long, unsigned long); extern unsigned short crc16 (unsigned char *, unsigned char *, unsigned long, unsigned long); extern unsigned long crc32 (unsigned char *, unsigned char *, unsigned long, unsigned long); #endif #endif