Visibility hidden by default
[babeltrace.git] / src / lib / graph / connection.c
index c470994ee4c963fc57b136065355fecfd42a2b8e..bb53dd094c12a728004a3ea37cd0a5982510c91e 100644 (file)
@@ -97,7 +97,6 @@ void parent_is_owner(struct bt_object *obj)
        try_remove_connection_from_graph(connection);
 }
 
-BT_HIDDEN
 struct bt_connection *bt_connection_create(struct bt_graph *graph,
                struct bt_port *upstream_port,
                struct bt_port *downstream_port)
@@ -139,7 +138,6 @@ end:
        return connection;
 }
 
-BT_HIDDEN
 void bt_connection_end(struct bt_connection *conn, bool try_remove_from_graph)
 {
        struct bt_port *downstream_port = conn->downstream_port;
@@ -212,21 +210,22 @@ void bt_connection_end(struct bt_connection *conn, bool try_remove_from_graph)
        }
 }
 
+BT_EXPORT
 const struct bt_port_output *bt_connection_borrow_upstream_port_const(
                const struct bt_connection *connection)
 {
-       BT_ASSERT_PRE_DEV_NON_NULL(connection, "Connection");
+       BT_ASSERT_PRE_DEV_CONN_NON_NULL(connection);
        return (void *) connection->upstream_port;
 }
 
+BT_EXPORT
 const struct bt_port_input *bt_connection_borrow_downstream_port_const(
                const struct bt_connection *connection)
 {
-       BT_ASSERT_PRE_DEV_NON_NULL(connection, "Connection");
+       BT_ASSERT_PRE_DEV_CONN_NON_NULL(connection);
        return (void *) connection->downstream_port;
 }
 
-BT_HIDDEN
 void bt_connection_remove_iterator(struct bt_connection *conn,
                struct bt_message_iterator *iterator)
 {
@@ -236,11 +235,13 @@ void bt_connection_remove_iterator(struct bt_connection *conn,
        try_remove_connection_from_graph(conn);
 }
 
+BT_EXPORT
 void bt_connection_get_ref(const struct bt_connection *connection)
 {
        bt_object_get_ref(connection);
 }
 
+BT_EXPORT
 void bt_connection_put_ref(const struct bt_connection *connection)
 {
        bt_object_put_ref(connection);
This page took 0.023421 seconds and 4 git commands to generate.