lib: compile liblttng-ctl as C++
[lttng-tools.git] / src / bin / lttng-consumerd / lttng-consumerd.h
CommitLineData
5dc18550 1/*
ab5be9fa
MJ
2 * Copyright (C) 2011 Julien Desfossez <julien.desfossez@polymtl.ca>
3 * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
5dc18550 4 *
ab5be9fa 5 * SPDX-License-Identifier: GPL-2.0-only
5dc18550 6 *
5dc18550
DG
7 */
8
3bd1e081
MD
9#ifndef _LTTNG_CONSUMERD_H
10#define _LTTNG_CONSUMERD_H
5dc18550 11
748b7b07
MD
12
13#define NR_LTTNG_CONSUMER_READY 1
14extern int lttng_consumer_ready;
15
44cdb3a2 16extern const char *tracing_group_name;
6c71277b 17
657d1bf1 18/*
4bd69c5f
SM
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.
657d1bf1 22 */
4bd69c5f
SM
23extern "C" LTTNG_EXPORT
24enum lttng_consumer_type lttng_consumer_get_type();
5c635c72 25
3bd1e081 26#endif /* _LTTNG_CONSUMERD_H */
This page took 0.057427 seconds and 4 git commands to generate.