summaryrefslogtreecommitdiff
path: root/src/sha1_lookup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sha1_lookup.h')
-rw-r--r--src/sha1_lookup.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sha1_lookup.h b/src/sha1_lookup.h
new file mode 100644
index 000000000..5caa2f5ed
--- /dev/null
+++ b/src/sha1_lookup.h
@@ -0,0 +1,12 @@
+#ifndef INCLUDE_sha1_lookup_h__
+#define INCLUDE_sha1_lookup_h__
+
+#include <stdlib.h>
+
+int sha1_entry_pos(const void *table,
+ size_t elem_size,
+ size_t key_offset,
+ unsigned lo, unsigned hi, unsigned nr,
+ const unsigned char *key);
+
+#endif