121caff8ce136dcc6a29c736b1ca213779c031c1
[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.2  2001/11/27 22:01:28  short
19   :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Tue Nov 27 22:58 CET 2001
20
21   Revision 1.2  2001/11/27 12:19:01  pkot
22   Cleanup, indentation, ANSI complaint preprocesor symbols (Jan Kratochvil, me)
23
24   Revision 1.1  2001/02/21 19:57:11  chris
25   More fiddling with the directory layout
26
27
28 */
29
30 #ifndef __data_rlp_crc24_h
31 #define __data_rlp_crc24_h
32
33 #ifndef __misc_h
34 #  include    "misc.h"
35 #endif
36
37 /* Prototypes for functions */
38
39 void RLP_CalculateCRC24Checksum(u8 *data, int length, u8 *crc);
40 bool RLP_CheckCRC24FCS(u8 *data, int length);
41
42 #endif