summaryrefslogtreecommitdiffstats
path: root/include/crc32c.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crc32c.h')
-rw-r--r--include/crc32c.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/crc32c.h b/include/crc32c.h
new file mode 100644
index 0000000..1c50839
--- /dev/null
+++ b/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 */