lib: Make graph listeners return an error status
[babeltrace.git] / include / babeltrace / graph / component-internal.h
index d5555f1a8fe1c80cfb6ecf9c92e637bd2be70f15..452e6c5aa5c9bbb735ed22a86b44d8cf65dfa530 100644 (file)
@@ -116,14 +116,14 @@ struct bt_port_output *bt_component_borrow_output_port_by_name(
                struct bt_component *comp, const char *name);
 
 BT_HIDDEN
-struct bt_port_input *bt_component_add_input_port(
+enum bt_self_component_status bt_component_add_input_port(
                struct bt_component *component, const char *name,
-               void *user_data);
+               void *user_data, struct bt_port **port);
 
 BT_HIDDEN
-struct bt_port_output *bt_component_add_output_port(
+enum bt_self_component_status bt_component_add_output_port(
                struct bt_component *component, const char *name,
-               void *user_data);
+               void *user_data, struct bt_port **port);
 
 BT_HIDDEN
 void bt_component_remove_port(struct bt_component *component,
This page took 0.023427 seconds and 4 git commands to generate.