lib: pass config objects to component init methods
[babeltrace.git] / src / plugins / utils / dummy / dummy.h
index ea44ecb90d98fde9a1d0834827531c6894825d8d..7801294f751c306869b3fcb6ea6d4e904f3c0cf0 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,19 +33,20 @@ struct dummy {
 };
 
 BT_HIDDEN
-bt_self_component_status dummy_init(
+bt_component_class_init_method_status dummy_init(
                bt_self_component_sink *component,
+               bt_self_component_sink_configuration *config,
                const bt_value *params, void *init_method_data);
 
 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.025834 seconds and 4 git commands to generate.