2 * Copyright (C) 2011 EfficiOS Inc.
4 * SPDX-License-Identifier: LGPL-2.1-only
8 #ifndef _LTT_HT_UTILS_H
9 #define _LTT_HT_UTILS_H
13 unsigned long hash_key_ulong(const void *_key, unsigned long seed);
14 unsigned long hash_key_u64(const void *_key, unsigned long seed);
15 unsigned long hash_key_str(const void *key, unsigned long seed);
16 unsigned long hash_key_two_u64(const void *key, unsigned long seed);
17 int hash_match_key_ulong(const void *key1, const void *key2);
18 int hash_match_key_u64(const void *key1, const void *key2);
19 int hash_match_key_str(const void *key1, const void *key2);
20 int hash_match_key_two_u64(const void *key1, const void *key2);
22 #endif /* _LTT_HT_UTILS_H */