]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/crc32.h
ADD: `lf cotag` - added first try at basic functionality to read samples from Cotag...
[proxmark3-svn] / common / crc32.h
index 0dd2a3287923ab8633d03fc6bbffb940b99d4fc6..a21b741e3ac0f559a989deb9906c215e58ed9a58 100644 (file)
@@ -9,7 +9,18 @@
 #ifndef __CRC32_H
 #define __CRC32_H
 
 #ifndef __CRC32_H
 #define __CRC32_H
 
-void                   crc32 (const uint8_t *data, const size_t len, uint8_t *crc);
-void                   crc32_append (uint8_t *data, const size_t len);
+#include <stdint.h>
+#include <stddef.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void crc32_ex(const uint8_t *data, const size_t len, uint8_t *crc);
+void crc32_append (uint8_t *data, const size_t len);
+
+#ifdef __cplusplus
+}
+#endif
 
 #endif
 
 #endif
Impressum, Datenschutz