X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Futils%2Fdummy%2Fdummy.h;h=06fcc0e82cd1928ea350f289aa61b694fcba272a;hb=05e2128659970c32648a01255ed870449f05d518;hp=a03a02746a75a4c3e41c1cee875e9c726fe27558;hpb=bf55043c2e742cafb86d3a3404d0d35c4cf294a3;p=babeltrace.git diff --git a/plugins/utils/dummy/dummy.h b/plugins/utils/dummy/dummy.h index a03a0274..06fcc0e8 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; + 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); -enum bt_component_status 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, + 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 */