X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=plugins%2Futils%2Fdummy%2Fdummy.h;h=d6a9bd127e19955c0d3f72ccbb811c58bf11cc05;hb=7b53201cfb06ec02f4203e28458dfbcf53d87988;hp=2fcf34be97651b809a4e135921f4f7ff4d6aaa31;hpb=e0dfa761f98d627ba5083e99f23d40528b2c4f14;p=babeltrace.git diff --git a/plugins/utils/dummy/dummy.h b/plugins/utils/dummy/dummy.h index 2fcf34be..d6a9bd12 100644 --- a/plugins/utils/dummy/dummy.h +++ b/plugins/utils/dummy/dummy.h @@ -23,6 +23,31 @@ * SOFTWARE. */ -enum bt_component_status dummy_consume(struct bt_component *component); +#include +#include +#include +#include + +struct dummy { + struct bt_self_component_port_input_notification_iterator *notif_iter; +}; + +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 */