X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Futils%2Fdummy%2Fdummy.h;h=dfe21d18f21306f3f5a3284db3843a9c96313b7b;hb=68b66a256a54d32992dfefeaad11eea88b7df234;hp=4800d4ff3066f909a1635dd55cd1d8fd7443dd95;hpb=890882eff34b4cba6f08a25f8ca56866c20b3fbe;p=babeltrace.git diff --git a/plugins/utils/dummy/dummy.h b/plugins/utils/dummy/dummy.h index 4800d4ff..dfe21d18 100644 --- a/plugins/utils/dummy/dummy.h +++ b/plugins/utils/dummy/dummy.h @@ -24,19 +24,28 @@ */ #include -#include -#include +#include +#include +#include struct dummy { - GPtrArray *iterators; + bt_self_component_port_input_message_iterator *msg_iter; }; -enum bt_component_status dummy_init(struct bt_private_component *component, - struct bt_value *params, void *init_method_data); -void dummy_destroy(struct bt_private_component *component); -enum bt_component_status dummy_accept_port_connection( - struct bt_private_component *component, - struct bt_private_port *own_port); -enum bt_component_status dummy_consume(struct bt_private_component *component); +BT_HIDDEN +bt_self_component_status dummy_init( + bt_self_component_sink *component, + 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_self_component_sink *comp); + +BT_HIDDEN +bt_self_component_status dummy_consume( + bt_self_component_sink *component); #endif /* BABELTRACE_PLUGINS_UTILS_DUMMY_H */