summaryrefslogtreecommitdiffstats
path: root/src/utils/include/crc32c.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/include/crc32c.h')
-rw-r--r--src/utils/include/crc32c.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/utils/include/crc32c.h b/src/utils/include/crc32c.h
new file mode 100644
index 0000000..1c50839
--- /dev/null
+++ b/src/utils/include/crc32c.h
@@ -0,0 +1,9 @@
+#ifndef UL_NG_CRC32C_H
+#define UL_NG_CRC32C_H
+
+#include <sys/types.h>
+#include <stdint.h>
+
+extern uint32_t crc32c(uint32_t crc, const void *buf, size_t size);
+
+#endif /* UL_NG_CRC32C_H */