diff options
Diffstat (limited to 'inc/lib/hash.h')
-rw-r--r-- | inc/lib/hash.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/inc/lib/hash.h b/inc/lib/hash.h new file mode 100644 index 0000000..7cfad83 --- /dev/null +++ b/inc/lib/hash.h @@ -0,0 +1,14 @@ +// Copyright (c) 2023, Marvin Borner <dev@marvinborner.de> +// SPDX-License-Identifier: MIT + +#ifndef SHARING_HASH_H +#define SHARING_HASH_H + +#include <stdint.h> +#include <stddef.h> + +typedef uint64_t hash_t; + +hash_t hash(void *data, size_t len, uint64_t seed); + +#endif |