]> git.rkrishnan.org Git - dttsp.git/blob - jDttSP/crc16.h
Initial revision
[dttsp.git] / jDttSP / crc16.h
1 /* crc16.h */
2
3 /* CCITT 16-bit CRC table and calculation function header */
4
5 /* $Id$ */
6
7 /****************************************************************************
8  * @format.tab-size 4           (Plain Text/Source Code File Header)
9  * @format.use-tabs true        (see http://www.synchro.net/ptsc_hdr.html)
10  *
11  * Copyright 2003 Rob Swindell - http://www.synchro.net/copyright.html
12  *
13  * This program is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU General Public License
15  * as published by the Free Software Foundation; either version 2
16  * of the License, or (at your option) any later version.
17  * See the GNU General Public License for more details: gpl.txt or
18  * http://www.fsf.org/copyleft/gpl.html
19  *
20  * Anonymous FTP access to the most recent released source is available at
21  * ftp://vert.synchro.net, ftp://cvs.synchro.net and ftp://ftp.synchro.net
22  *
23  * Anonymous CVS access to the development source and modification history
24  * is available at cvs.synchro.net:/cvsroot/sbbs, example:
25  * cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs login
26  *     (just hit return, no password is necessary)
27  * cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs checkout src
28  *
29  * For Synchronet coding style and modification guidelines, see
30  * http://www.synchro.net/source.html
31  *
32  * You are encouraged to submit any modifications (preferably in Unix diff
33  * format) via e-mail to mods@synchro.net
34  *
35  * Note: If this box doesn't appear square, then you need to fix your tabs.
36  ****************************************************************************/
37 /* modifications for DttSP
38    Copyright (C) 2004 by Frank Brickle, AB2KT and Bob McGwier, N4HY
39    who can be reached by email at
40    ab2kt@arrl.net
41    or
42    rwmcgwier@comcast.net
43
44    or by paper mail at
45
46    The DTTS Microwave Society
47    6 Kathleen Place
48    Bridgewater, NJ 08807 */
49
50 #ifndef _crc16_h
51 #define _crc16_h
52
53 #include <fromsys.h>
54
55 extern unsigned short crc16(char *data, unsigned long len);
56
57 #endif