-struct bt_live_viewer_connection *
- bt_live_viewer_connection_create(const char *url, FILE *error_fp);
+struct live_viewer_connection * live_viewer_connection_create(
+ const char *url, bool in_query,
+ struct lttng_live_msg_iter *lttng_live_msg_iter);