Remove the need to implement the notification iterator's "get" method
[babeltrace.git] / plugins / utils / trimmer / iterator.h
index cca226db9b17fd79c518e04d66f1b651a76ebab7..63b34e808d10a7e65b5804dbbfb0649599f6413e 100644 (file)
@@ -36,7 +36,6 @@
 struct trimmer_iterator {
        /* Input iterator associated with this output iterator. */
        struct bt_notification_iterator *input_iterator;
-       struct bt_notification *current_notification;
 };
 
 BT_HIDDEN
@@ -49,11 +48,7 @@ BT_HIDDEN
 void trimmer_iterator_finalize(struct bt_private_notification_iterator *it);
 
 BT_HIDDEN
-struct bt_notification *trimmer_iterator_get(
-               struct bt_private_notification_iterator *iterator);
-
-BT_HIDDEN
-enum bt_notification_iterator_status trimmer_iterator_next(
+struct bt_notification_iterator_next_return trimmer_iterator_next(
                struct bt_private_notification_iterator *iterator);
 
 BT_HIDDEN
This page took 0.02348 seconds and 4 git commands to generate.