Add missing include in component-sink-internal.h
[babeltrace.git] / include / babeltrace / component / component-sink-internal.h
index 81833e66406820d8a9e3d8eb875f618cd8367945..90f6dbc2cf2b94c6cc0ba551bd39412ae399c90a 100644 (file)
@@ -28,6 +28,7 @@
  */
 
 #include <babeltrace/babeltrace-internal.h>
+#include <babeltrace/component/component-sink.h>
 #include <babeltrace/component/component-internal.h>
 #include <babeltrace/component/component-class-internal.h>
 
@@ -62,4 +63,14 @@ BT_HIDDEN
 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 */
This page took 0.023116 seconds and 4 git commands to generate.