Cleanup: src.ctf.lttng-live: add missing `#include <stdint.h>`
[babeltrace.git] / src / plugins / ctf / lttng-live / viewer-connection.h
index daa138a2e83b9f5b7c553393c8f7e1961ebfd7c4..ca5883e840491bc7ae6b9a95442a37abb2056536 100644 (file)
  */
 
 #include <stdbool.h>
+#include <stdint.h>
 #include <stdio.h>
+
 #include <glib.h>
 
+#include <babeltrace2/babeltrace.h>
+
 #include "common/macros.h"
 #include "compat/socket.h"
 
-/*
- * FIXME: This is an internal Babeltrace library header; it is not meant
- * to be generic as it is now. Make sure this included code does not
- * log because it won't find our local log level.
- */
-#define BT_OBJECT_DONT_LOG
-#include "lib/object.h"
-
 #define LTTNG_DEFAULT_NETWORK_VIEWER_PORT      5344
 
 #define LTTNG_LIVE_MAJOR                       2
@@ -46,9 +42,9 @@
 struct lttng_live_component;
 
 struct live_viewer_connection {
-       bt_object obj;
        bt_logging_level log_level;
        bt_self_component *self_comp;
+       bt_self_component_class *self_comp_class;
 
        GString *url;
 
@@ -88,6 +84,8 @@ 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,
+               bt_self_component *self_comp,
+               bt_self_component_class *self_comp_class,
                bt_logging_level log_level);
 
 void live_viewer_connection_destroy(
This page took 0.023635 seconds and 4 git commands to generate.