*/
#include "trimmer.h"
-#include <babeltrace/component/notification/notification.h>
-#include <babeltrace/component/notification/iterator.h>
-#include <babeltrace/component/private-component.h>
-#include <babeltrace/component/private-port.h>
+#include <babeltrace/graph/notification.h>
+#include <babeltrace/graph/notification-iterator.h>
+#include <babeltrace/graph/private-component.h>
+#include <babeltrace/graph/private-port.h>
struct trimmer_iterator {
/* Input iterator associated with this output iterator. */
struct bt_notification_iterator *input_iterator;
+ struct bt_notification *current_notification;
+ FILE *err;
+ /* Map between reader and writer packets. */
+ GHashTable *packet_map;
};
BT_HIDDEN
struct bt_notification_iterator_next_return trimmer_iterator_next(
struct bt_private_notification_iterator *iterator);
-BT_HIDDEN
-enum bt_notification_iterator_status trimmer_iterator_seek_time(
- struct bt_private_notification_iterator *iterator,
- int64_t time);
-
#endif /* BABELTRACE_PLUGIN_TRIMMER_ITERATOR_H */