bin: compile lttng-sessiond as C++
[lttng-tools.git] / src / common / relayd / relayd.h
index 1fbe22676445ed8defb5d3299a3219858a3579f1..6053be796b0024277674fa0b5064e75a32e53572 100644 (file)
 #include <common/trace-chunk.h>
 #include <common/dynamic-array.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct relayd_stream_rotation_position {
        uint64_t stream_id;
        /*
@@ -77,4 +81,8 @@ int relayd_get_configuration(struct lttcomm_relayd_sock *sock,
                uint64_t query_flags,
                uint64_t *result_flags);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _RELAYD_H */
This page took 0.022937 seconds and 4 git commands to generate.