struct bt_component;
struct bt_notification;
-/**
- * Process one event, consuming from sources as needed.
- *
- * @param component Component instance
- * @returns One of #bt_component_status values
- */
-extern
-enum bt_component_status bt_component_sink_consume(
- struct bt_component *component);
-
-extern int bt_component_sink_get_input_port_count(
- struct bt_component *component);
+extern enum bt_component_status bt_component_sink_get_input_port_count(
+ struct bt_component *component, uint64_t *count);
extern struct bt_port *bt_component_sink_get_input_port(
struct bt_component *component, const char *name);
extern struct bt_port *bt_component_sink_get_input_port_at_index(
struct bt_component *component, int index);
-
-/* Only allowed during the sink's initialization. */
-extern struct bt_port *bt_component_sink_add_input_port(
- struct bt_component *component, const char *name);
-/* Only allowed during the sink's initialization. */
-extern enum bt_component_status bt_component_sink_remove_input_port(
- struct bt_component *component, const char *name);
extern struct bt_port *bt_component_sink_get_default_input_port(
struct bt_component *component);