2 * Copyright (C) 2020 Francis Deslauriers <francis.deslauriers@efficios.com>
4 * SPDX-License-Identifier: LGPL-2.1-only
8 #ifndef LTTNG_SESSIOND_CONDITION_INTERNAL_H
9 #define LTTNG_SESSIOND_CONDITION_INTERNAL_H
11 #include <lttng/condition/condition.h>
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.
18 unsigned long lttng_condition_hash(const struct lttng_condition *condition);
20 struct lttng_condition *lttng_condition_copy(
21 const struct lttng_condition *condition);
23 #endif /* LTTNG_SESSIOND_CONDITION_INTERNAL_H */