X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fcomponent%2Fconnection-internal.h;h=74144cd5d3eb4b7c582950e8528085fdf817dd61;hb=72b913fbad1753b5b122bfb54c1e7936eaf9d0ef;hp=d2f51ca0252ffda4276558e3b7f008714b8594ef;hpb=6fbd4105b92d0da8b3c5818a5b7c5b07850f4a01;p=babeltrace.git diff --git a/include/babeltrace/component/connection-internal.h b/include/babeltrace/component/connection-internal.h index d2f51ca0..74144cd5 100644 --- a/include/babeltrace/component/connection-internal.h +++ b/include/babeltrace/component/connection-internal.h @@ -44,13 +44,18 @@ struct bt_connection { * components. */ /* Downstream port. */ - struct bt_port *input_port; + struct bt_port *downstream_port; /* Upstream port. */ - struct bt_port *output_port; + struct bt_port *upstream_port; }; BT_HIDDEN struct bt_connection *bt_connection_create(struct bt_graph *graph, - struct bt_port *upstream, struct bt_port *downstream); + struct bt_port *upstream_port, + struct bt_port *downstream_port); + +BT_HIDDEN +void bt_connection_disconnect_ports(struct bt_connection *conn, + struct bt_component *comp); #endif /* BABELTRACE_COMPONENT_CONNECTION_INTERNAL_H */