These are needed to build some lttng-tools binary as C++ programs.
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Iba97d9cc52f86fd01cc24111c53a85340595e4c4
#include <stdint.h>
#include <stddef.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Set each callback for the trace clock override, and then enable the
* override. Those functions return negative error values on error, 0 on
*/
int lttng_ust_enable_trace_clock_override(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LTTNG_UST_CLOCK_H */
#error "LTTNG_PACKED should be defined"
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef LTTNG_UST_UUID_LEN
#define LTTNG_UST_UUID_LEN 16
#endif
enum ustctl_channel_header header_type,
int ret_code); /* return code. 0 ok, negative error */
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _LTTNG_UST_CTL_H */