bin: compile lttng-relayd as a C++
[lttng-tools.git] / src / common / index / index.h
index 25ecc1975d2c38701ea7f50f0ab8fd896fae05d5..c7bc656823b9138fbd15827c273a8cec82e2a3bd 100644 (file)
 #include <common/fs-handle.h>
 #include <common/trace-chunk.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct lttng_index_file {
        struct fs_handle *file;
        uint32_t major;
@@ -52,4 +56,8 @@ int lttng_index_file_read(const struct lttng_index_file *index_file,
 void lttng_index_file_get(struct lttng_index_file *index_file);
 void lttng_index_file_put(struct lttng_index_file *index_file);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _INDEX_H */
This page took 0.02292 seconds and 4 git commands to generate.