Adjust the relayd protocol on version check
[lttng-tools.git] / src / bin / lttng-sessiond / session.h
index 167ea9c058afa2fac651e1fedc886e7009526aca..a56473783fb7d5f8f93ef11f50a40f628eaf35e5 100644 (file)
@@ -21,7 +21,8 @@
 #include <urcu/list.h>
 
 #include "trace-kernel.h"
-#include "trace-ust.h"
+
+struct ltt_ust_session;
 
 /*
  * Tracing session list
@@ -82,6 +83,12 @@ struct ltt_session {
         * copied into those sessions.
         */
        struct consumer_output *consumer;
+
+       /* Did a start command occured before the kern/ust session creation? */
+       unsigned int started;
+       /* Procotol version to use with the relayd */
+       uint32_t major;
+       uint32_t minor;
 };
 
 /* Prototypes */
@@ -96,4 +103,6 @@ void session_unlock_list(void);
 struct ltt_session *session_find_by_name(char *name);
 struct ltt_session_list *session_get_list(void);
 
+int session_access_ok(struct ltt_session *session, uid_t uid, gid_t gid);
+
 #endif /* _LTT_SESSION_H */
This page took 0.023267 seconds and 4 git commands to generate.