Rename bt_X_from_private_X() -> bt_X_from_private()
[babeltrace.git] / lib / graph / connection.c
index 32146b132c8f86626958d6ebf03a4d442090ed40..6c41f4c96bb6d7f9ef825724e6d93a0e6eb8b64f 100644 (file)
@@ -116,10 +116,10 @@ void bt_connection_parent_is_owner(struct bt_object *obj)
        bt_connection_try_remove_from_graph(connection);
 }
 
-struct bt_connection *bt_connection_from_private_connection(
+struct bt_connection *bt_connection_from_private(
                struct bt_private_connection *private_connection)
 {
-       return bt_get(bt_connection_from_private(private_connection));
+       return bt_get(bt_connection_borrow_from_private(private_connection));
 }
 
 BT_HIDDEN
@@ -301,7 +301,7 @@ bt_private_connection_create_notification_iterator(
                goto end;
        }
 
-       connection = bt_connection_from_private(private_connection);
+       connection = bt_connection_borrow_from_private(private_connection);
 
        if (bt_graph_is_canceled(bt_connection_borrow_graph(connection))) {
                BT_LOGW("Cannot create notification iterator from connection: "
This page took 0.023382 seconds and 4 git commands to generate.