#include <babeltrace/plugin/plugin-dev.h>
#include <babeltrace/graph/component.h>
#include <babeltrace/graph/private-component.h>
+#include <babeltrace/graph/private-component-sink.h>
#include <babeltrace/graph/private-port.h>
#include <babeltrace/graph/port.h>
#include <babeltrace/graph/private-connection.h>
goto end;
}
+ ret = bt_private_component_sink_add_input_private_port(component,
+ "in", NULL, NULL);
+ if (ret != BT_COMPONENT_STATUS_OK) {
+ goto end;
+ }
+
dummy->iterators = g_ptr_array_new_with_free_func(
(GDestroyNotify) bt_put);
if (!dummy->iterators) {
connection = bt_private_port_get_private_connection(self_port);
assert(connection);
iterator = bt_private_connection_create_notification_iterator(
- connection);
+ connection, NULL);
if (!iterator) {
dummy->error = true;
goto end;