lib: simplify the public notification iterator interfaces
[babeltrace.git] / plugins / utils / dummy / dummy.c
index 0535b95806cf4762b6159f00deaaeb76631c08a9..5109259eff34033d172c923f8b8e707baa03d41b 100644 (file)
@@ -121,7 +121,8 @@ enum bt_component_status dummy_consume(struct bt_private_component *component)
        }
 
        /* Consume one notification  */
-       it_ret = bt_notification_iterator_next(dummy->notif_iter);
+       it_ret = bt_private_connection_notification_iterator_next(
+               dummy->notif_iter, &notif);
        switch (it_ret) {
        case BT_NOTIFICATION_ITERATOR_STATUS_ERROR:
                ret = BT_COMPONENT_STATUS_ERROR;
This page took 0.024292 seconds and 4 git commands to generate.