sessiond: propagate the use of ltt_session::locked_ref
[lttng-tools.git] / src / bin / lttng-sessiond / utils.hpp
index 83117f426f46dff1b606e2bf7ef12c5876a98553..2f9bf8e62d302fca85ab449d0c56e3872482de95 100644 (file)
@@ -8,8 +8,9 @@
 #ifndef _LTT_UTILS_H
 #define _LTT_UTILS_H
 
+#include "session.hpp"
+
 struct lttng_ht;
-struct ltt_session;
 struct consumer_output;
 
 const char *get_home_dir();
@@ -19,7 +20,7 @@ int loglevels_match(int a_loglevel_type,
                    int b_loglevel_type,
                    int b_loglevel_value,
                    int loglevel_all_type);
-const char *session_get_base_path(const struct ltt_session *session);
+const char *session_get_base_path(const ltt_session::locked_ref& session);
 const char *consumer_output_get_base_path(const struct consumer_output *output);
 
 #endif /* _LTT_UTILS_H */
This page took 0.022459 seconds and 4 git commands to generate.