lib: notification iterator: transfer a batch of notifications
[babeltrace.git] / include / babeltrace / graph / notification-iterator-internal.h
index dd80a5192b595f1199415df706ce6c057f87bde2..2cfad159836e00dab62b653c9038c9895127078d 100644 (file)
@@ -86,6 +86,7 @@ enum bt_private_connection_notification_iterator_state {
 struct bt_notification_iterator {
        struct bt_object base;
        enum bt_notification_iterator_type type;
+       GPtrArray *notifs;
 };
 
 struct bt_notification_iterator_private_connection {
@@ -124,8 +125,11 @@ struct bt_notification_iterator_output_port {
        struct bt_graph *graph; /* Owned by this */
        struct bt_component *colander; /* Owned by this */
 
-       /* Only used temporarily: should always be NULL */
-       struct bt_notification *notif;
+       /*
+        * Only used temporarily as a bridge between a colander sink and
+        * the user.
+        */
+       uint64_t count;
 };
 
 static inline
This page took 0.023344 seconds and 4 git commands to generate.