-
- it_ret = bt_notification_iterator_set_destroy_cb(iterator,
- trimmer_iterator_destroy);
- if (it_ret) {
- ret = BT_COMPONENT_STATUS_ERROR;
- goto end;
- }
-
- it_ret = bt_notification_iterator_set_next_cb(iterator,
- trimmer_iterator_next);
- if (it_ret) {
- ret = BT_COMPONENT_STATUS_ERROR;
- goto end;
- }
-
- it_ret = bt_notification_iterator_set_get_cb(iterator,
- trimmer_iterator_get);
- if (it_ret) {
- ret = BT_COMPONENT_STATUS_ERROR;
- goto end;
- }
-
- it_ret = bt_notification_iterator_set_seek_time_cb(iterator,
- trimmer_iterator_seek_time);
- if (it_ret) {
- ret = BT_COMPONENT_STATUS_ERROR;
- goto end;
- }