bin: compile lttng-sessiond as C++
[lttng-tools.git] / src / common / hashtable / utils.h
... / ...
CommitLineData
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
14extern "C" {
15#endif
16
17unsigned long hash_key_ulong(const void *_key, unsigned long seed);
18unsigned long hash_key_u64(const void *_key, unsigned long seed);
19unsigned long hash_key_str(const void *key, unsigned long seed);
20unsigned long hash_key_two_u64(const void *key, unsigned long seed);
21int hash_match_key_ulong(const void *key1, const void *key2);
22int hash_match_key_u64(const void *key1, const void *key2);
23int hash_match_key_str(const void *key1, const void *key2);
24int 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.02292 seconds and 4 git commands to generate.