From 464cca35825a02541efd46cfd3af91146c118d01 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 26 May 2023 18:08:09 +0200 Subject: Becoming aggressive --- inc/hash.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 inc/hash.h (limited to 'inc/hash.h') diff --git a/inc/hash.h b/inc/hash.h new file mode 100644 index 0000000..f0bb468 --- /dev/null +++ b/inc/hash.h @@ -0,0 +1,14 @@ +// Copyright (c) 2023, Marvin Borner +// SPDX-License-Identifier: MIT + +#ifndef BLOC_HASH_H +#define BLOC_HASH_H + +#include +#include + +typedef uint64_t hash_t; + +hash_t hash(void *data, size_t len, uint64_t seed); + +#endif -- cgit v1.2.3