44f80ce4fb2b65a585f59626d3ba20e470208d3c
[lttng-tools.git] / src / common / hashtable / utils.h
1 /*
2 * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 */
7
8 #ifndef _LTT_HT_UTILS_H
9 #define _LTT_HT_UTILS_H
10
11 #include <stdint.h>
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 unsigned long hash_key_ulong(const void *_key, unsigned long seed);
18 unsigned long hash_key_u64(const void *_key, unsigned long seed);
19 unsigned long hash_key_str(const void *key, unsigned long seed);
20 unsigned long hash_key_two_u64(const void *key, unsigned long seed);
21 int hash_match_key_ulong(const void *key1, const void *key2);
22 int hash_match_key_u64(const void *key1, const void *key2);
23 int hash_match_key_str(const void *key1, const void *key2);
24 int hash_match_key_two_u64(const void *key1, const void *key2);
25
26 #ifdef __cplusplus
27 }
28 #endif
29
30 #endif /* _LTT_HT_UTILS_H */
This page took 0.033226 seconds and 3 git commands to generate.