bin: compile lttng-sessiond as C++
[lttng-tools.git] / include / lttng / session-descriptor-internal.h
index f438d4812ff66a643d365626a383d2eae40eb789..97628bb881c4c2f2a21491f81216323af7006108 100644 (file)
 #include <common/buffer-view.h>
 #include <stdbool.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Note that these enums are used as part of the lttnctl protocol. */
 enum lttng_session_descriptor_type {
        LTTNG_SESSION_DESCRIPTOR_TYPE_UNKNOWN = -1,
@@ -81,4 +85,8 @@ int lttng_session_descriptor_assign(
                struct lttng_session_descriptor *dst_descriptor,
                const struct lttng_session_descriptor *src_descriptor);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* LTTNG_SESSION_DESCRIPTOR_INTERNAL_H */
This page took 0.023047 seconds and 4 git commands to generate.