Port: Use LTTNG_NAME_MAX instead of NAME_MAX
[lttng-tools.git] / src / common / sessiond-comm / relayd.h
index 3df68682a60c8fc9038dd71f10567062dc4031d1..1152d28e907676aa6e06ed046ae62c5e5da977df 100644 (file)
@@ -26,7 +26,7 @@
 
 #include <lttng/lttng.h>
 #include <common/defaults.h>
-#include <common/index/lttng-index.h>
+#include <common/index/ctf-index.h>
 #include <config.h>
 
 #define RELAYD_VERSION_COMM_MAJOR             VERSION_MAJOR
@@ -164,4 +164,14 @@ struct lttcomm_relayd_index {
        uint64_t stream_id;
 } LTTNG_PACKED;
 
+/*
+ * Create session in 2.4 adds additionnal parameters for live reading.
+ */
+struct lttcomm_relayd_create_session_2_4 {
+       char session_name[LTTNG_NAME_MAX];
+       char hostname[HOST_NAME_MAX];
+       uint32_t live_timer;
+       uint32_t snapshot;
+} LTTNG_PACKED;
+
 #endif /* _RELAYD_COMM */
This page took 0.02518 seconds and 5 git commands to generate.