Remove default port API
[babeltrace.git] / include / babeltrace / graph / component-filter.h
index f9e681f39aaec1d2a6d56c2a7a33f5765e921504..26ebf15772a0d201967ce96604bb81a098e15a72 100644 (file)
@@ -37,23 +37,19 @@ extern "C" {
 struct bt_port;
 struct bt_component;
 
-extern enum bt_component_status bt_component_filter_get_input_port_count(
-               struct bt_component *component, uint64_t *count);
-extern struct bt_port *bt_component_filter_get_input_port(
-               struct bt_component *component, const char *name);
-extern struct bt_port *bt_component_filter_get_input_port_at_index(
-               struct bt_component *component, int index);
-extern struct bt_port *bt_component_filter_get_default_input_port(
+extern int64_t bt_component_filter_get_input_port_count(
                struct bt_component *component);
-
-extern enum bt_component_status bt_component_filter_get_output_port_count(
-               struct bt_component *component, uint64_t *count);
-extern struct bt_port *bt_component_filter_get_output_port(
+extern struct bt_port *bt_component_filter_get_input_port_by_name(
                struct bt_component *component, const char *name);
-extern struct bt_port *bt_component_filter_get_output_port_at_index(
-               struct bt_component *component, int index);
-extern struct bt_port *bt_component_filter_get_default_output_port(
+extern struct bt_port *bt_component_filter_get_input_port_by_index(
+               struct bt_component *component, uint64_t index);
+
+extern int64_t bt_component_filter_get_output_port_count(
                struct bt_component *component);
+extern struct bt_port *bt_component_filter_get_output_port_by_name(
+               struct bt_component *component, const char *name);
+extern struct bt_port *bt_component_filter_get_output_port_by_index(
+               struct bt_component *component, uint64_t index);
 
 #ifdef __cplusplus
 }
This page took 0.023218 seconds and 4 git commands to generate.