#include <babeltrace/plugin/component-internal.h>
#include <babeltrace/plugin/component-class-internal.h>
#include <babeltrace/plugin/plugin-system.h>
+#include <babeltrace/plugin/input.h>
struct bt_value;
struct bt_component_class parent;
};
-typedef uint32_t notification_mask_t;
+//typedef uint32_t notification_mask_t;
+
struct bt_component_sink {
struct bt_component parent;
-
- /* Component implementation callbacks */
- bt_component_sink_handle_notification_cb handle_notification;
- notification_mask_t registered_notifications_mask;
+ bt_component_sink_consume_cb consume;
+ bt_component_sink_add_iterator_cb add_iterator;
+ struct component_input input;
+/* notification_mask_t registered_notifications_mask;*/
};
/**