summaryrefslogtreecommitdiff
path: root/os/include/hash-djb2.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/include/hash-djb2.h')
-rw-r--r--os/include/hash-djb2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/os/include/hash-djb2.h b/os/include/hash-djb2.h
new file mode 100644
index 0000000..413222e
--- /dev/null
+++ b/os/include/hash-djb2.h
@@ -0,0 +1,8 @@
+#ifndef __HASH_DJB2_H__
+#define __HASH_DJB2_H__
+
+#include <unistd.h>
+
+uint32_t hash_djb2(const uint8_t * str, ssize_t max);
+
+#endif