projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow a component to remove a port and any user to disconnect one
[babeltrace.git]
/
include
/
babeltrace
/
component
/
connection-internal.h
diff --git
a/include/babeltrace/component/connection-internal.h
b/include/babeltrace/component/connection-internal.h
index d2f51ca0252ffda4276558e3b7f008714b8594ef..74144cd5d3eb4b7c582950e8528085fdf817dd61 100644
(file)
--- a/
include/babeltrace/component/connection-internal.h
+++ b/
include/babeltrace/component/connection-internal.h
@@
-44,13
+44,18
@@
struct bt_connection {
* components.
*/
/* Downstream port. */
* components.
*/
/* Downstream port. */
- struct bt_port *
input
_port;
+ struct bt_port *
downstream
_port;
/* Upstream 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,
};
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 */
#endif /* BABELTRACE_COMPONENT_CONNECTION_INTERNAL_H */
This page took
0.023397 seconds
and
4
git commands to generate.