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 | ||
13 | /* | |
14 | * The lttng_condition hashing code is kept in this file (rather than | |
15 | * condition.c) since it makes use of GPLv2 code (hashtable utils), which we | |
16 | * don't want to link in liblttng-ctl. | |
17 | */ | |
18 | unsigned long lttng_condition_hash(const struct lttng_condition *condition); | |
19 | ||
091fa780 FD |
20 | struct lttng_condition *lttng_condition_copy( |
21 | const struct lttng_condition *condition); | |
e98a976a | 22 | #endif /* LTTNG_SESSIOND_CONDITION_INTERNAL_H */ |