bin: compile lttng-sessiond as C++
[lttng-tools.git] / src / common / hashtable / utils.h
CommitLineData
819dc7d4 1/*
ab5be9fa 2 * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
819dc7d4 3 *
ab5be9fa 4 * SPDX-License-Identifier: GPL-2.0-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
7966af57
SM
13#ifdef __cplusplus
14extern "C" {
15#endif
16
bcd52dd9
JG
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);
819dc7d4 25
7966af57
SM
26#ifdef __cplusplus
27}
28#endif
29
bec39940 30#endif /* _LTT_HT_UTILS_H */
This page took 0.057437 seconds and 4 git commands to generate.