tap-driver.sh: flush stdout after each test result
[babeltrace.git] / plugins / utils / muxer / muxer.h
index 27bffa9e140aeb80cf8a69489edb12c046d89edc..23ec8c20432691fec524c26d2a3374ab6d935a87 100644 (file)
  */
 
 #include <stdint.h>
-#include <babeltrace/babeltrace.h>
-#include <babeltrace/babeltrace-internal.h>
+#include <babeltrace2/babeltrace.h>
+#include <babeltrace2/babeltrace-internal.h>
 
 BT_HIDDEN
-enum bt_self_component_status muxer_init(
-               struct bt_self_component_filter *self_comp,
-               const struct bt_value *params, void *init_data);
+bt_self_component_status muxer_init(
+               bt_self_component_filter *self_comp,
+               const bt_value *params, void *init_data);
 
 BT_HIDDEN
-void muxer_finalize(struct bt_self_component_filter *self_comp);
+void muxer_finalize(bt_self_component_filter *self_comp);
 
 BT_HIDDEN
-enum bt_self_notification_iterator_status muxer_notif_iter_init(
-               struct bt_self_notification_iterator *self_notif_iter,
-               struct bt_self_component_filter *self_comp,
-               struct bt_self_component_port_output *self_port);
+bt_self_message_iterator_status muxer_msg_iter_init(
+               bt_self_message_iterator *self_msg_iter,
+               bt_self_component_filter *self_comp,
+               bt_self_component_port_output *self_port);
 
 BT_HIDDEN
-void muxer_notif_iter_finalize(
-               struct bt_self_notification_iterator *self_notif_iter);
+void muxer_msg_iter_finalize(
+               bt_self_message_iterator *self_msg_iter);
 
 BT_HIDDEN
-enum bt_self_notification_iterator_status muxer_notif_iter_next(
-               struct bt_self_notification_iterator *self_notif_iter,
-               bt_notification_array notifs, uint64_t capacity,
+bt_self_message_iterator_status muxer_msg_iter_next(
+               bt_self_message_iterator *self_msg_iter,
+               bt_message_array_const msgs, uint64_t capacity,
                uint64_t *count);
 
 BT_HIDDEN
-enum bt_self_component_status muxer_input_port_connected(
-               struct bt_self_component_filter *comp,
-               struct bt_self_component_port_input *self_port,
-               struct bt_port_output *other_port);
+bt_self_component_status muxer_input_port_connected(
+               bt_self_component_filter *comp,
+               bt_self_component_port_input *self_port,
+               const bt_port_output *other_port);
 
 BT_HIDDEN
-void muxer_input_port_disconnected(
-               struct bt_self_component_filter *self_component,
-               struct bt_self_component_port_input *self_port);
+bt_bool muxer_msg_iter_can_seek_beginning(
+               bt_self_message_iterator *message_iterator);
+
+BT_HIDDEN
+bt_self_message_iterator_status muxer_msg_iter_seek_beginning(
+               bt_self_message_iterator *message_iterator);
 
 #endif /* BABELTRACE_PLUGINS_UTILS_MUXER_H */
This page took 0.02406 seconds and 4 git commands to generate.