lttng-live: handle EINTR and graph cancelation
[babeltrace.git] / plugins / ctf / lttng-live / viewer-connection.h
index 822c17ed3b874820aa6dc29a06fa3736e3e9c3e0..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;
 
        GString *relay_hostname;
@@ -53,6 +53,8 @@ struct bt_live_viewer_connection {
 
        int32_t major;
        int32_t minor;
+
+       struct lttng_live_component *lttng_live;
 };
 
 struct packet_index_time {
@@ -75,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.024586 seconds and 4 git commands to generate.