summaryrefslogtreecommitdiff
path: root/qstd/str.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-12-19 19:10:19 +1100
committerquou <quou@disroot.org>2024-12-19 19:10:19 +1100
commit8199bfa31fa59fb060d2939f8612dea575b249d3 (patch)
treea7df820470c4116c290199e4351a73c39f02036a /qstd/str.h
parentd75880e8a6d4af817c464118ce9a43abca8cf3be (diff)
hash function
Diffstat (limited to 'qstd/str.h')
-rw-r--r--qstd/str.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/qstd/str.h b/qstd/str.h
new file mode 100644
index 0000000..f55333e
--- /dev/null
+++ b/qstd/str.h
@@ -0,0 +1,9 @@
+#ifndef str_h
+#define str_h
+
+#include <stddef.h>
+#include <stdint.h>
+
+uint64_t fnv1a64(uint8_t* buf, size_t size);
+
+#endif