Commit | Line | Data |
---|---|---|
e98a976a FD |
1 | /* |
2 | * Copyright (C) 2020 Francis Deslauriers <francis.deslauriers@efficios.com> | |
3 | * | |
4 | * SPDX-License-Identifier: LGPL-2.1-only | |
5 | * | |
6 | */ | |
7 | ||
8 | #ifndef LTTNG_SESSIOND_CONDITION_INTERNAL_H | |
9 | #define LTTNG_SESSIOND_CONDITION_INTERNAL_H | |
10 | ||
11 | #include <lttng/condition/condition.h> | |
12 | ||
7966af57 SM |
13 | #ifdef __cplusplus |
14 | extern "C" { | |
15 | #endif | |
16 | ||
e98a976a FD |
17 | /* |
18 | * The lttng_condition hashing code is kept in this file (rather than | |
19 | * condition.c) since it makes use of GPLv2 code (hashtable utils), which we | |
20 | * don't want to link in liblttng-ctl. | |
21 | */ | |
22 | unsigned long lttng_condition_hash(const struct lttng_condition *condition); | |
23 | ||
091fa780 FD |
24 | struct lttng_condition *lttng_condition_copy( |
25 | const struct lttng_condition *condition); | |
7966af57 SM |
26 | |
27 | #ifdef __cplusplus | |
28 | } | |
29 | #endif | |
30 | ||
e98a976a | 31 | #endif /* LTTNG_SESSIOND_CONDITION_INTERNAL_H */ |