+ printf(" Connections:\n");
+
+ for (i = 0; i < cfg->cmd_data.convert.connections->len; i++) {
+ struct bt_config_connection *cfg_connection =
+ g_ptr_array_index(cfg->cmd_data.convert.connections,
+ i);
+
+ printf(" %s%s%s -> %s%s%s\n",
+ cfg_connection->src_instance_name->str,
+ cfg_connection->src_port_name->len > 0 ? "." : "",
+ cfg_connection->src_port_name->str,
+ cfg_connection->dst_instance_name->str,
+ cfg_connection->dst_port_name->len > 0 ? "." : "",
+ cfg_connection->dst_port_name->str);
+ }