Cleanup: add `#include <stdbool.h>` whenever `bool` type is used
[babeltrace.git] / src / plugins / ctf / lttng-live / viewer-connection.h
index be6dc5a194ba1c7f1eb81482ed0ae18ceee0b93d..daa138a2e83b9f5b7c553393c8f7e1961ebfd7c4 100644 (file)
@@ -23,6 +23,7 @@
  * SOFTWARE.
  */
 
+#include <stdbool.h>
 #include <stdio.h>
 #include <glib.h>
 
@@ -45,8 +46,9 @@
 struct lttng_live_component;
 
 struct live_viewer_connection {
-       bt_logging_level log_level;
        bt_object obj;
+       bt_logging_level log_level;
+       bt_self_component *self_comp;
 
        GString *url;
 
@@ -85,12 +87,13 @@ struct packet_index {
 
 struct live_viewer_connection * live_viewer_connection_create(
                const char *url, bool in_query,
-               struct lttng_live_msg_iter *lttng_live_msg_iter);
+               struct lttng_live_msg_iter *lttng_live_msg_iter,
+               bt_logging_level log_level);
 
 void live_viewer_connection_destroy(
                struct live_viewer_connection *conn);
 
-bt_query_status live_viewer_connection_list_sessions(
+bt_component_class_query_method_status live_viewer_connection_list_sessions(
                struct live_viewer_connection *viewer_connection,
                const bt_value **user_result);
 
This page took 0.023712 seconds and 4 git commands to generate.