Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
enum bt_component_status bt_component_sink_validate(
struct bt_component *component);
+/**
+ * Process one event, consuming from sources as needed.
+ *
+ * @param component Component instance
+ * @returns One of #bt_component_status values
+ */
+BT_HIDDEN
+enum bt_component_status bt_component_sink_consume(
+ struct bt_component *component);
+
#endif /* BABELTRACE_COMPONENT_SINK_INTERNAL_H */
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 struct bt_port *bt_component_sink_get_input_port(
return NULL;
}
+BT_HIDDEN
enum bt_component_status bt_component_sink_consume(
struct bt_component *component)
{