Standardize *get_*_count() functions
[babeltrace.git] / include / babeltrace / graph / component-filter.h
index f9e681f39aaec1d2a6d56c2a7a33f5765e921504..557432d87c5e0451d05dbab0b51d76d221553950 100644 (file)
@@ -37,8 +37,8 @@ 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 int64_t bt_component_filter_get_input_port_count(
+               struct bt_component *component);
 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(
@@ -46,8 +46,8 @@ extern struct bt_port *bt_component_filter_get_input_port_at_index(
 extern struct bt_port *bt_component_filter_get_default_input_port(
                struct bt_component *component);
 
-extern enum bt_component_status bt_component_filter_get_output_port_count(
-               struct bt_component *component, uint64_t *count);
+extern int64_t bt_component_filter_get_output_port_count(
+               struct bt_component *component);
 extern struct bt_port *bt_component_filter_get_output_port(
                struct bt_component *component, const char *name);
 extern struct bt_port *bt_component_filter_get_output_port_at_index(
This page took 0.023725 seconds and 4 git commands to generate.