X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=plugins%2Futils%2Fdummy%2Fdummy.h;h=d6a9bd127e19955c0d3f72ccbb811c58bf11cc05;hb=7b53201cfb06ec02f4203e28458dfbcf53d87988;hp=0468bc01f9ab84da2da598efd8265887441fbe39;hpb=e0831b38938074ba6094cf1fc96c2fbe4bee0c09;p=babeltrace.git diff --git a/plugins/utils/dummy/dummy.h b/plugins/utils/dummy/dummy.h index 0468bc01..d6a9bd12 100644 --- a/plugins/utils/dummy/dummy.h +++ b/plugins/utils/dummy/dummy.h @@ -25,19 +25,29 @@ #include #include +#include #include struct dummy { - struct bt_notification_iterator *notif_iter; - bool error; + struct bt_self_component_port_input_notification_iterator *notif_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 +enum bt_self_component_status dummy_init( + struct bt_self_component_sink *component, + const struct bt_value *params, void *init_method_data); + +BT_HIDDEN +void dummy_finalize(struct bt_self_component_sink *component); + +BT_HIDDEN +enum bt_self_component_status dummy_port_connected( + struct bt_self_component_sink *comp, + struct bt_self_component_port_input *self_port, + const struct bt_port_output *other_port); + +BT_HIDDEN +enum bt_self_component_status dummy_consume( + struct bt_self_component_sink *component); #endif /* BABELTRACE_PLUGINS_UTILS_DUMMY_H */