aboutsummaryrefslogtreecommitdiff
path: root/inc/hash.h
blob: 35da312bea7a51a3e1b9a636af07d635a66ef8d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2023, Marvin Borner <dev@marvinborner.de>
// SPDX-License-Identifier: MIT

#ifndef BLOC_HASH_H
#define BLOC_HASH_H

#include <stdint.h>
#include <stddef.h>

typedef uint64_t hash_t;

hash_t hash(const void *key, int len, uint64_t seed);

#endif