struct bt_component_source {
struct bt_component parent;
- GPtrArray *output_ports;
};
/**
struct bt_component *bt_component_source_create(
struct bt_component_class *class, struct bt_value *params);
+BT_HIDDEN
+void bt_component_source_destroy(struct bt_component *component);
+
/**
* Validate a source component.
*
enum bt_component_status bt_component_source_validate(
struct bt_component *component);
+/**
+ * Create an iterator on a component instance.
+ *
+ * @param component Component instance
+ * @returns Notification iterator instance
+ */
+BT_HIDDEN
+struct bt_notification_iterator *bt_component_source_create_notification_iterator(
+ struct bt_component *component);
+
+BT_HIDDEN
+struct bt_notification_iterator *bt_component_source_create_notification_iterator_with_init_method_data(
+ struct bt_component *component, void *init_method_data);
+
#endif /* BABELTRACE_COMPONENT_SOURCE_INTERNAL_H */