bin: compile lttng-sessiond as C++
[lttng-tools.git] / src / common / trace-chunk.h
index 4e4440b6afc19db02a810e7181183147305b1fc6..9bb4f3708319ea03f46a47532da772315f5f73d3 100644 (file)
 #include <stddef.h>
 #include <stdint.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * A trace chunk is a group of directories and files forming a (or a set of)
  * complete and independant trace(s). For instance, a trace archive chunk,
@@ -182,4 +186,8 @@ bool lttng_trace_chunk_get(struct lttng_trace_chunk *chunk);
 
 void lttng_trace_chunk_put(struct lttng_trace_chunk *chunk);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* LTTNG_TRACE_CHUNK_H */
This page took 0.02365 seconds and 4 git commands to generate.