Fix: sessiond: notification: use after free of trigger object
[lttng-tools.git] / src / bin / lttng-sessiond / condition-internal.h
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
20 struct lttng_condition *lttng_condition_copy(
21 const struct lttng_condition *condition);
22 #endif /* LTTNG_SESSIOND_CONDITION_INTERNAL_H */
This page took 0.032381 seconds and 4 git commands to generate.