Rename <babeltrace/component/...> -> <babeltrace/graph/...>
[babeltrace.git] / plugins / utils / dummy / dummy.c
index 3487b6e7837c1a1d07e3e1b1f72caa2a1ba09e70..df4b5a3b936e11a7491888b4d0bc7ca94fbb1e54 100644 (file)
  */
 
 #include <babeltrace/plugin/plugin-dev.h>
-#include <babeltrace/component/component.h>
-#include <babeltrace/component/private-component.h>
-#include <babeltrace/component/private-port.h>
-#include <babeltrace/component/private-connection.h>
-#include <babeltrace/component/component-sink.h>
-#include <babeltrace/component/notification/iterator.h>
-#include <babeltrace/component/notification/notification.h>
+#include <babeltrace/graph/component.h>
+#include <babeltrace/graph/private-component.h>
+#include <babeltrace/graph/private-port.h>
+#include <babeltrace/graph/port.h>
+#include <babeltrace/graph/private-connection.h>
+#include <babeltrace/graph/component-sink.h>
+#include <babeltrace/graph/notification-iterator.h>
+#include <babeltrace/graph/notification.h>
 #include <plugins-common.h>
 #include <assert.h>
 #include "dummy.h"
@@ -41,7 +42,7 @@ void destroy_private_dummy_data(struct dummy *dummy)
        g_free(dummy);
 }
 
-void dummy_destroy(struct bt_private_component *component)
+void dummy_finalize(struct bt_private_component *component)
 {
        struct dummy *dummy;
 
@@ -82,7 +83,8 @@ error:
 
 enum bt_component_status dummy_accept_port_connection(
                struct bt_private_component *component,
-               struct bt_private_port *self_port)
+               struct bt_private_port *self_port,
+               struct bt_port *other_port)
 {
        enum bt_component_status ret = BT_COMPONENT_STATUS_OK;
        struct dummy *dummy;
This page took 0.024615 seconds and 4 git commands to generate.