lib: strictly type function return status enumerations
[babeltrace.git] / include / babeltrace2 / graph / self-component-filter.h
index 1f25d8a15894d4dc97ba5c7835e2265327f9b9d7..c36e0564950f759f3419081c4f78ad93812f7d4f 100644 (file)
@@ -26,7 +26,7 @@
 
 #include <stdint.h>
 
-/* For bt_self_component_status */
+/* For bt_self_component_*_status */
 #include <babeltrace2/graph/self-component.h>
 
 /*
@@ -65,10 +65,10 @@ bt_self_component_filter_borrow_output_port_by_index(
                bt_self_component_filter *self_component,
                uint64_t index);
 
-extern bt_self_component_status
+extern bt_self_component_add_port_status
 bt_self_component_filter_add_output_port(
                bt_self_component_filter *self_component,
-               const char *name, void *data,
+               const char *name, void *user_data,
                bt_self_component_port_output **self_component_port);
 
 extern bt_self_component_port_input *
@@ -81,10 +81,10 @@ bt_self_component_filter_borrow_input_port_by_index(
                bt_self_component_filter *self_component,
                uint64_t index);
 
-extern bt_self_component_status
+extern bt_self_component_add_port_status
 bt_self_component_filter_add_input_port(
                bt_self_component_filter *self_component,
-               const char *name, void *data,
+               const char *name, void *user_data,
                bt_self_component_port_input **self_component_port);
 
 #ifdef __cplusplus
This page took 0.023729 seconds and 4 git commands to generate.