-#define BT_PLUGIN_SINK_COMPONENT_CLASS_ENTRY(_name, _init, _fini, _hd_notif) \
- bt_component_factory_register_sink_component_class(factory, \
- _name, _init, _fini, _hd_notif);
+enum bt_component_status bt_component_factory_register_source_component_class(
+ struct bt_component_factory *factory, const char *name,
+ bt_component_init init, bt_component_fini fini,
+ bt_component_source_iterator_create_cb iterator_create_cb);