tap-driver.sh: flush stdout after each test result
[babeltrace.git] / plugins / utils / dummy / dummy.h
index 77e25111c9d573e4afd7c74e3652511f28f1b881..dfe21d18f21306f3f5a3284db3843a9c96313b7b 100644 (file)
  */
 
 #include <glib.h>
-#include <babeltrace/graph/private-component.h>
-#include <babeltrace/graph/private-port.h>
-#include <babeltrace/graph/port.h>
+#include <babeltrace2/babeltrace.h>
+#include <babeltrace2/babeltrace-internal.h>
+#include <stdbool.h>
 
 struct dummy {
-       GPtrArray *iterators;
+       bt_self_component_port_input_message_iterator *msg_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_accept_port_connection(
-               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
+bt_self_component_status dummy_init(
+               bt_self_component_sink *component,
+               const bt_value *params, void *init_method_data);
+
+BT_HIDDEN
+void dummy_finalize(bt_self_component_sink *component);
+
+BT_HIDDEN
+bt_self_component_status dummy_graph_is_configured(
+               bt_self_component_sink *comp);
+
+BT_HIDDEN
+bt_self_component_status dummy_consume(
+               bt_self_component_sink *component);
 
 #endif /* BABELTRACE_PLUGINS_UTILS_DUMMY_H */
This page took 0.039342 seconds and 4 git commands to generate.