Update: orig2001_11_27_05_17 -> orig2001_11_27_22_58
[gnokii.git] / include / data / rlp-crc24.h
1 /*
2
3   $Id$
4
5   G N O K I I
6
7   A Linux/Unix toolset and driver for Nokia mobile phones.
8
9   Copyright (C) 1999, 2000 Hugh Blemings & Pavel Janík ml.
10
11   Released under the terms of the GNU GPL, see file COPYING for more details.
12
13   This file:  rlp-crc24.h   Version 0.3.1
14
15   Header file for CRC24 (aka FCS) implementation in RLP.
16
17   $Log$
18   Revision 1.1.1.1.12.1  2001/11/27 23:34:48  short
19   Update: orig2001_11_27_05_17 -> orig2001_11_27_22_58
20
21   Revision 1.1.1.1.8.1  2001/11/27 23:06:09  short
22   Update: orig2001_11_27_05_17 -> orig2001_11_27_22_58
23
24   Revision 1.1.1.1.2.1  2001/11/27 22:48:37  short
25   Update: orig2001_11_27_05_17 -> orig2001_11_27_22_58
26
27   Revision 1.1.1.2  2001/11/27 22:01:28  short
28   :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Tue Nov 27 22:58 CET 2001
29
30   Revision 1.2  2001/11/27 12:19:01  pkot
31   Cleanup, indentation, ANSI complaint preprocesor symbols (Jan Kratochvil, me)
32
33   Revision 1.1  2001/02/21 19:57:11  chris
34   More fiddling with the directory layout
35
36
37 */
38
39 #ifndef __data_rlp_crc24_h
40 #define __data_rlp_crc24_h
41
42 #ifndef __misc_h
43 #  include    "misc.h"
44 #endif
45
46 /* Prototypes for functions */
47
48 void RLP_CalculateCRC24Checksum(u8 *data, int length, u8 *crc);
49 bool RLP_CheckCRC24FCS(u8 *data, int length);
50
51 #endif