X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fcondition-internal.h;fp=src%2Fbin%2Flttng-sessiond%2Fcondition-internal.h;h=2863f7bd8d37d87c19688f1442d77e0665519ddc;hb=e98a976a8b6dbd488b1277a48e7775c76df6c79f;hp=0000000000000000000000000000000000000000;hpb=e275709f247fab1faef9a8c06e23d8b1e00e291c;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/condition-internal.h b/src/bin/lttng-sessiond/condition-internal.h new file mode 100644 index 000000000..2863f7bd8 --- /dev/null +++ b/src/bin/lttng-sessiond/condition-internal.h @@ -0,0 +1,20 @@ +/* + * Copyright (C) 2020 Francis Deslauriers + * + * SPDX-License-Identifier: LGPL-2.1-only + * + */ + +#ifndef LTTNG_SESSIOND_CONDITION_INTERNAL_H +#define LTTNG_SESSIOND_CONDITION_INTERNAL_H + +#include + +/* + * The lttng_condition hashing code is kept in this file (rather than + * condition.c) since it makes use of GPLv2 code (hashtable utils), which we + * don't want to link in liblttng-ctl. + */ +unsigned long lttng_condition_hash(const struct lttng_condition *condition); + +#endif /* LTTNG_SESSIOND_CONDITION_INTERNAL_H */