Lely core libraries  2.3.4
crc.h
Go to the documentation of this file.
1 
22 #ifndef LELY_CO_CRC_H_
23 #define LELY_CO_CRC_H_
24 
25 #include <lely/co/co.h>
26 
27 #include <stddef.h>
28 #include <stdint.h>
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
48 uint_least16_t co_crc(uint_least16_t crc, const uint_least8_t *bp, size_t n);
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif // !LELY_CO_CRC_H_
co_crc
uint_least16_t co_crc(uint_least16_t crc, const uint_least8_t *bp, size_t n)
Computes a CRC-16 checksum.
Definition: crc.c:28
co.h
stdint.h
stddef.h