summaryrefslogtreecommitdiff
path: root/crc32c.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2017-09-26 14:43:17 -0700
committerdormando <dormando@rydia.net>2017-11-28 14:18:05 -0800
commitf593a59bce69f917514ef6213cf565c71bddcf8c (patch)
tree4a5dc07433e97b089f46a913b5367aa5d52c059a /crc32c.h
parente6239a905d072e837baa8aa425ca0ccee2fc3e01 (diff)
downloadmemcached-f593a59bce69f917514ef6213cf565c71bddcf8c.tar.gz
external storage base commit
been squashing reorganizing, and pulling code off to go upstream ahead of merging the whole branch.
Diffstat (limited to 'crc32c.h')
-rw-r--r--crc32c.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/crc32c.h b/crc32c.h
new file mode 100644
index 0000000..8b030de
--- /dev/null
+++ b/crc32c.h
@@ -0,0 +1,9 @@
+#ifndef CRC32C_H
+#define CRC32C_H
+
+typedef uint32_t (*crc_func)(uint32_t crc, const void *buf, size_t len);
+crc_func crc32c;
+
+void crc32c_init(void);
+
+#endif /* CRC32C_H */