X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fgraph-internal.h;h=85c196be6e2bf4793d09da989f7b9b96b80b6307;hb=f345f8bb507db96ad6f068f404603f6390fa34ce;hp=e8e9e7f6e3f1d03d325aa5de35a829f2e99e3e2f;hpb=2038affbfc70dbebc19cd8f3f6e2708259e8109d;p=babeltrace.git diff --git a/include/babeltrace/graph/graph-internal.h b/include/babeltrace/graph/graph-internal.h index e8e9e7f6..85c196be 100644 --- a/include/babeltrace/graph/graph-internal.h +++ b/include/babeltrace/graph/graph-internal.h @@ -58,8 +58,8 @@ struct bt_graph { struct { GArray *port_added; GArray *port_removed; - GArray *port_connected; - GArray *port_disconnected; + GArray *ports_connected; + GArray *ports_disconnected; } listeners; }; @@ -71,11 +71,14 @@ void bt_graph_notify_port_removed(struct bt_graph *graph, struct bt_component *comp, struct bt_port *port); BT_HIDDEN -void bt_graph_notify_port_connected(struct bt_graph *graph, - struct bt_port *port); +void bt_graph_notify_ports_connected(struct bt_graph *graph, + struct bt_port *upstream_port, struct bt_port *downstream_port); BT_HIDDEN -void bt_graph_notify_port_disconnected(struct bt_graph *graph, - struct bt_component *comp, struct bt_port *port); +void bt_graph_notify_ports_disconnected(struct bt_graph *graph, + struct bt_component *upstream_comp, + struct bt_component *downstream_comp, + struct bt_port *upstream_port, + struct bt_port *downstream_port); #endif /* BABELTRACE_COMPONENT_COMPONENT_GRAPH_INTERNAL_H */