lib: graph: add "self" and some "private" APIs
[babeltrace.git] / plugins / utils / dummy / dummy.h
index a03a02746a75a4c3e41c1cee875e9c726fe27558..ffbeb5b746c56c0ffd132499753d1c135ca8eecd 100644 (file)
 
 #include <glib.h>
 #include <babeltrace/babeltrace.h>
+#include <babeltrace/babeltrace-internal.h>
 #include <stdbool.h>
 
 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,
+BT_HIDDEN
+enum bt_self_component_status dummy_init(
+               struct bt_self_component_sink *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
+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 */
This page took 0.023939 seconds and 4 git commands to generate.