summaryrefslogtreecommitdiff
path: root/qcom/qrtr/src/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'qcom/qrtr/src/hash.h')
-rw-r--r--qcom/qrtr/src/hash.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/qcom/qrtr/src/hash.h b/qcom/qrtr/src/hash.h
new file mode 100644
index 0000000..5b004b5
--- /dev/null
+++ b/qcom/qrtr/src/hash.h
@@ -0,0 +1,12 @@
+#ifndef _HASH_H_
+#define _HASH_H_
+
+#include <stdint.h>
+
+unsigned int hash_mem(const void *data, unsigned int len);
+unsigned int hash_string(const char *value);
+unsigned int hash_u32(uint32_t value);
+unsigned int hash_u64(uint64_t value);
+unsigned int hash_pointer(void *value);
+
+#endif