bin: compile lttng-sessiond as C++
[lttng-tools.git] / src / bin / lttng-sessiond / condition-internal.h
CommitLineData
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
14extern "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 */
22unsigned long lttng_condition_hash(const struct lttng_condition *condition);
23
091fa780
FD
24struct 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 */
This page took 0.027072 seconds and 4 git commands to generate.