BT_HIDDEN
enum bt_self_component_status counter_init(
struct bt_self_component_sink *component,
- struct bt_value *params, void *init_method_data);
+ const struct bt_value *params, void *init_method_data);
BT_HIDDEN
void counter_finalize(struct bt_self_component_sink *component);
enum bt_self_component_status counter_port_connected(
struct bt_self_component_sink *component,
struct bt_self_component_port_input *self_port,
- struct bt_port_output *other_port);
+ const struct bt_port_output *other_port);
BT_HIDDEN
enum bt_self_component_status counter_consume(struct bt_self_component_sink *component);