diff options
Diffstat (limited to 'sap/crc16.h')
-rw-r--r-- | sap/crc16.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sap/crc16.h b/sap/crc16.h new file mode 100644 index 0000000..f6591e9 --- /dev/null +++ b/sap/crc16.h @@ -0,0 +1,9 @@ +#ifndef CRC16_H +#define CRC16_H + +#include <stddef.h> +#include <stdint.h> + +uint16_t crc16(uint16_t crc, const uint8_t *buf, size_t len); + +#endif // CRC16_H |