X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Futils%2Fdummy%2Fdummy.h;h=dfe21d18f21306f3f5a3284db3843a9c96313b7b;hb=68b66a256a54d32992dfefeaad11eea88b7df234;hp=0468bc01f9ab84da2da598efd8265887441fbe39;hpb=9d408fcae74602e3591f66623ceb85f482d948ed;p=babeltrace.git diff --git a/plugins/utils/dummy/dummy.h b/plugins/utils/dummy/dummy.h index 0468bc01..dfe21d18 100644 --- a/plugins/utils/dummy/dummy.h +++ b/plugins/utils/dummy/dummy.h @@ -24,20 +24,28 @@ */ #include -#include +#include +#include #include struct dummy { - struct bt_notification_iterator *notif_iter; - bool error; + 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_finalize(struct bt_private_component *component); -void dummy_port_connected(struct bt_private_component *component, - struct bt_private_port *self_port, - struct bt_port *other_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 */