summaryrefslogtreecommitdiff
path: root/src/crc64.h
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2012-11-29 14:20:08 +0100
committerantirez <antirez@gmail.com>2012-11-29 14:20:08 +0100
commit2f62c9663ca48b647d71f21d0cdf499346457f0f (patch)
treec783d2cf7653eccfb108521eae0b3c6ab5ae780d /src/crc64.h
parentb1b602a92887f271db3101d67e0319ce31fa68b3 (diff)
downloadredis-2f62c9663ca48b647d71f21d0cdf499346457f0f.tar.gz
Introduced the Build ID in INFO and --version output.
The idea is to be able to identify a build in a unique way, so for instance after a bug report we can recognize that the build is the one of a popular Linux distribution and perform the debugging in the same environment.
Diffstat (limited to 'src/crc64.h')
-rw-r--r--src/crc64.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/crc64.h b/src/crc64.h
new file mode 100644
index 000000000..ab375d3f4
--- /dev/null
+++ b/src/crc64.h
@@ -0,0 +1,8 @@
+#ifndef CRC64_H
+#define CRC64_H
+
+#include <stdint.h>
+
+uint64_t crc64(uint64_t crc, const unsigned char *s, uint64_t l);
+
+#endif