}
static
-struct bt_notification_iterator_next_return src_iter_next(
- struct bt_private_notification_iterator *priv_iterator)
+struct bt_notification_iterator_next_method_return src_iter_next(
+ struct bt_private_connection_private_notification_iterator *priv_iterator)
{
- struct bt_notification_iterator_next_return ret = {
+ struct bt_notification_iterator_next_method_return ret = {
.status = BT_NOTIFICATION_ITERATOR_STATUS_ERROR,
};
int ret;
assert(graph);
- ret = bt_graph_add_port_added_listener(graph, graph_port_added, NULL);
+ ret = bt_graph_add_port_added_listener(graph, graph_port_added, NULL,
+ NULL);
assert(ret >= 0);
ret = bt_graph_add_port_removed_listener(graph, graph_port_removed,
- NULL);
+ NULL, NULL);
assert(ret >= 0);
- ret = bt_graph_add_ports_connected_listener(graph, graph_ports_connected,
- NULL);
+ ret = bt_graph_add_ports_connected_listener(graph,
+ graph_ports_connected, NULL, NULL);
assert(ret >= 0);
ret = bt_graph_add_ports_disconnected_listener(graph,
- graph_ports_disconnected, NULL);
+ graph_ports_disconnected, NULL, NULL);
assert(ret >= 0);
return graph;
}