Visibility: split graph API into public and private interfaces
[babeltrace.git] / include / babeltrace / component / component-sink.h
index 659bce5b1be9f25a1ffbf54528183aa931297ebd..924f8c7470f1bbd77a58efadd3fc7c21ff4b9acf 100644 (file)
@@ -36,29 +36,12 @@ extern "C" {
 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);
 
This page took 0.023745 seconds and 4 git commands to generate.