Fix build with BUILT_IN_PLUGINS=1
[babeltrace.git] / plugins / ctf / lttng-live / viewer-connection.h
index da49e349e6d05885a56fb1588841efda08898989..db9554d749d612f991a2215227ea6ebdf8694185 100644 (file)
 #define LTTNG_LIVE_MAJOR                       2
 #define LTTNG_LIVE_MINOR                       4
 
+struct lttng_live_component;
+
 struct bt_live_viewer_connection {
        struct bt_object obj;
 
-       FILE *error_fp;
-
        GString *url;
 
-       char relay_hostname[MAXNAMLEN];
-       char target_hostname[MAXNAMLEN];
-       char session_name[MAXNAMLEN];
+       GString *relay_hostname;
+       GString *target_hostname;
+       GString *session_name;
+
        int control_sock;
        int port;
 
        int32_t major;
        int32_t minor;
+
+       struct lttng_live_component *lttng_live;
 };
 
 struct packet_index_time {
@@ -74,7 +77,7 @@ struct packet_index {
 };
 
 struct bt_live_viewer_connection *
-       bt_live_viewer_connection_create(const char *url, FILE *error_fp);
+       bt_live_viewer_connection_create(const char *url, struct lttng_live_component *lttng_live);
 
 void bt_live_viewer_connection_destroy(struct bt_live_viewer_connection *conn);
 
This page took 0.025105 seconds and 4 git commands to generate.