lib: compile liblttng-ctl as C++
[lttng-tools.git] / src / bin / lttng-consumerd / lttng-consumerd.h
1 /*
2 * Copyright (C) 2011 Julien Desfossez <julien.desfossez@polymtl.ca>
3 * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
4 *
5 * SPDX-License-Identifier: GPL-2.0-only
6 *
7 */
8
9 #ifndef _LTTNG_CONSUMERD_H
10 #define _LTTNG_CONSUMERD_H
11
12
13 #define NR_LTTNG_CONSUMER_READY 1
14 extern int lttng_consumer_ready;
15
16 extern const char *tracing_group_name;
17
18 /*
19 * This function is dlsym-ed from a test, so needs to be exported. Making it
20 * have a C linkage name makes it easier, as it avoids having to look up a
21 * mangled name.
22 */
23 extern "C" LTTNG_EXPORT
24 enum lttng_consumer_type lttng_consumer_get_type();
25
26 #endif /* _LTTNG_CONSUMERD_H */
This page took 0.032112 seconds and 5 git commands to generate.