diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-01-10 15:31:01 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-01-10 23:51:44 -0800 |
commit | b384a96e4a0692d8ed01d4ddf34ccba204e3d7f6 (patch) | |
tree | 851a488f77fb07d9999e721624c939b14e58cfbc /src/til_jenkins.h | |
parent | 19966a5cb3a8d9cf8edbae225953da042dadfa96 (diff) |
til_jenkins: add a rudimentary hash function
Presently just for hashing paths and names
Diffstat (limited to 'src/til_jenkins.h')
-rw-r--r-- | src/til_jenkins.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/til_jenkins.h b/src/til_jenkins.h new file mode 100644 index 0000000..02d5015 --- /dev/null +++ b/src/til_jenkins.h @@ -0,0 +1,9 @@ +#ifndef _TIL_JENKINS_H +#define _TIL_JENKINS_H + +#include <stddef.h> +#include <stdint.h> + +uint32_t til_jenkins(const uint8_t *key, size_t length); + +#endif |