1 /* @(#)crc16.h	1.3 02/03/04 Copyright 1998-2002 J. Schilling */
2 /*
3  *	Q-subchannel CRC definitions
4  *
5  *	Copyright (c) 1998-2002 J. Schilling
6  */
7 /*
8  * The contents of this file are subject to the terms of the
9  * Common Development and Distribution License, Version 1.0 only
10  * (the "License").  You may not use this file except in compliance
11  * with the License.
12  *
13  * See the file CDDL.Schily.txt in this distribution for details.
14  *
15  * When distributing Covered Code, include this CDDL HEADER in each
16  * file and include the License file CDDL.Schily.txt from this distribution.
17  */
18 
19 #ifndef	_CRC16_H
20 #define	_CRC16_H
21 
22 extern	UInt16_t	calcCRC		__PR((Uchar *buf, Uint bsize));
23 extern	UInt16_t	fillcrc		__PR((Uchar *buf, Uint bsize));
24 extern	UInt16_t	flip_crc_error_corr __PR((Uchar *b, Uint bsize, Uint p_crc));
25 
26 #endif
27