http://marcin-wiacek.fkn.pl/english/zips/mygnokii.tar.gz
[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   Released under the terms of the GNU GPL, see file COPYING for more details.
10
11   Header file for CRC24 (aka FCS) implementation in RLP.
12
13 */
14
15 #ifndef __data_rlp_crc24_h
16 #define __data_rlp_crc24_h
17
18 #ifndef __misc_h
19   #include    "misc.h"
20 #endif
21
22 /* Prototypes for functions */
23
24 void RLP_CalculateCRC24Checksum(u8 *data, int length, u8 *crc);
25 bool RLP_CheckCRC24FCS(u8 *data, int length);
26
27 #endif