home *** CD-ROM | disk | FTP | other *** search
- /* TCHK 2.1 - Howard Kapustein's Turbo C library 6-6-89 */
- /* Copyright (C) 1988,1989 Howard Kapustein. All rights reserved. */
-
- /* comm.h - header file for COMM.C - Communications routines */
-
- #ifndef COMM_HEADER
- #define COMM_HEADER 1
-
- /* function prototypes */
- unsigned CRC16_block(char *b, int size); /* calculate CRC-16 of a block */
- unsigned CRC16update(char c, unsigned crc); /* update a CRC-16 */
- unsigned CRC16tupdate(char c, unsigned crc);/* table driven update of a CRC-16 */
- unsigned char Checksum_block(char *b, int size); /* calculate checksum of a block */
- unsigned long CRC32tupdate(char c, unsigned long crc); /* table driven update of a CRC-32 */
-
- #endif /* COMM_HEADER */
-