Commit | Line | Data |
---|---|---|
819dc7d4 | 1 | /* |
21cf9b6b | 2 | * Copyright (C) 2011 EfficiOS Inc. |
819dc7d4 | 3 | * |
c922647d | 4 | * SPDX-License-Identifier: LGPL-2.1-only |
819dc7d4 | 5 | * |
819dc7d4 DG |
6 | */ |
7 | ||
bec39940 DG |
8 | #ifndef _LTT_HT_UTILS_H |
9 | #define _LTT_HT_UTILS_H | |
819dc7d4 | 10 | |
bec39940 | 11 | #include <stdint.h> |
819dc7d4 | 12 | |
bcd52dd9 JG |
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); | |
819dc7d4 | 21 | |
bec39940 | 22 | #endif /* _LTT_HT_UTILS_H */ |