Collect useless graph's connections
[babeltrace.git] / include / babeltrace / graph / graph-internal.h
index 85c196be6e2bf4793d09da989f7b9b96b80b6307..405b8c38e2659d7b7f5d6238e0afa204a64afe2f 100644 (file)
@@ -55,6 +55,8 @@ struct bt_graph {
        /* Queue of pointers (weak references) to sink bt_components. */
        GQueue *sinks_to_consume;
 
+       bt_bool canceled;
+
        struct {
                GArray *port_added;
                GArray *port_removed;
@@ -81,4 +83,8 @@ void bt_graph_notify_ports_disconnected(struct bt_graph *graph,
                struct bt_port *upstream_port,
                struct bt_port *downstream_port);
 
+BT_HIDDEN
+void bt_graph_remove_connection(struct bt_graph *graph,
+               struct bt_connection *connection);
+
 #endif /* BABELTRACE_COMPONENT_COMPONENT_GRAPH_INTERNAL_H */
This page took 0.022975 seconds and 4 git commands to generate.