/**
* Component private data deallocation function type.
*
- * @param data Component private data
+ * @param component Component instance
*/
-typedef void (*bt_component_destroy_cb)(void *data);
+typedef void (*bt_component_destroy_cb)(struct bt_component *component);
/**
* Component initialization function type.
/**
* Notification handling function type.
*
+ * A reference must be taken on the notification if the component has to
+ * keep ownership of the notification beyond the invocation of the callback.
+ *
* @param sink Sink component instance
- * @param notificattion Notification to handle
+ * @param notification Notification to handle
* @returns One of #bt_component_status values
*/
typedef enum bt_component_status (*bt_component_sink_handle_notification_cb)(