bt_graph_connect() -> bt_graph_connect_ports()
[babeltrace.git] / lib / component / graph.c
index 7f0a4258dca9457d1353987cbc2c6aa012c4fbe4..1fb465ae094eae9510c97e553f9ae776766026f6 100644 (file)
@@ -145,7 +145,7 @@ error:
        goto end;
 }
 
-struct bt_connection *bt_graph_connect(struct bt_graph *graph,
+struct bt_connection *bt_graph_connect_ports(struct bt_graph *graph,
                struct bt_port *upstream_port,
                struct bt_port *downstream_port)
 {
@@ -473,8 +473,8 @@ enum bt_graph_status bt_graph_add_component_as_sibling(struct bt_graph *graph,
                                goto error_disconnect;
                        }
 
-                       new_connection = bt_graph_connect(graph, upstream_port,
-                                       new_port);
+                       new_connection = bt_graph_connect_ports(graph,
+                               upstream_port, new_port);
                        if (!new_connection) {
                                goto error_disconnect;
                        }
@@ -510,8 +510,8 @@ enum bt_graph_status bt_graph_add_component_as_sibling(struct bt_graph *graph,
                                goto error_disconnect;
                        }
 
-                       new_connection = bt_graph_connect(graph, new_port,
-                                       downstream_port);
+                       new_connection = bt_graph_connect_ports(graph,
+                               new_port, downstream_port);
                        if (!new_connection) {
                                goto error_disconnect;
                        }
This page took 0.026003 seconds and 4 git commands to generate.