This commit was manufactured by cvs2svn to create branch 'uc'.
[gnokii.git] / include / data / rlp-crc24.h
diff --git a/include/data/rlp-crc24.h b/include/data/rlp-crc24.h
new file mode 100644 (file)
index 0000000..6789510
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+
+  $Id$
+
+  G N O K I I
+
+  A Linux/Unix toolset and driver for Nokia mobile phones.
+
+  Released under the terms of the GNU GPL, see file COPYING for more details.
+
+  Header file for CRC24 (aka FCS) implementation in RLP.
+
+*/
+
+#ifndef __data_rlp_crc24_h
+#define __data_rlp_crc24_h
+
+#ifndef __misc_h
+  #include    "misc.h"
+#endif
+
+/* Prototypes for functions */
+
+void RLP_CalculateCRC24Checksum(u8 *data, int length, u8 *crc);
+bool RLP_CheckCRC24FCS(u8 *data, int length);
+
+#endif