lib: strictly type function return status enumerations
[babeltrace.git] / src / plugins / utils / dummy / dummy.h
index ea44ecb90d98fde9a1d0834827531c6894825d8d..c5ab55ae24df94df1327bfef2ef2fc919e2246c8 100644 (file)
@@ -25,7 +25,7 @@
 
 #include <glib.h>
 #include <babeltrace2/babeltrace.h>
-#include "common/babeltrace.h"
+#include "common/macros.h"
 #include <stdbool.h>
 
 struct dummy {
@@ -33,7 +33,7 @@ struct dummy {
 };
 
 BT_HIDDEN
-bt_self_component_status dummy_init(
+bt_component_class_init_method_status dummy_init(
                bt_self_component_sink *component,
                const bt_value *params, void *init_method_data);
 
@@ -41,11 +41,11 @@ BT_HIDDEN
 void dummy_finalize(bt_self_component_sink *component);
 
 BT_HIDDEN
-bt_self_component_status dummy_graph_is_configured(
+bt_component_class_sink_graph_is_configured_method_status dummy_graph_is_configured(
                bt_self_component_sink *comp);
 
 BT_HIDDEN
-bt_self_component_status dummy_consume(
+bt_component_class_sink_consume_method_status dummy_consume(
                bt_self_component_sink *component);
 
 #endif /* BABELTRACE_PLUGINS_UTILS_DUMMY_H */
This page took 0.028301 seconds and 4 git commands to generate.