tap-driver.sh: flush stdout after each test result
[babeltrace.git] / plugins / text / dmesg / dmesg.h
index f9fab1bc24a9156e63d3af77a2e6671ef6a63f0d..6e75ea44c3f9b7196e178eb638ed6380d9e92476 100644 (file)
  */
 
 #include <stdbool.h>
-#include <babeltrace/babeltrace-internal.h>
-#include <babeltrace/babeltrace.h>
+#include <babeltrace2/babeltrace-internal.h>
+#include <babeltrace2/babeltrace.h>
 
 BT_HIDDEN
-enum bt_self_component_status dmesg_init(
-               struct bt_self_component_source *self_comp,
-               const struct bt_value *params, void *init_method_data);
+bt_self_component_status dmesg_init(
+               bt_self_component_source *self_comp,
+               const bt_value *params, void *init_method_data);
 
 BT_HIDDEN
-void dmesg_finalize(struct bt_self_component_source *self_comp);
+void dmesg_finalize(bt_self_component_source *self_comp);
 
 BT_HIDDEN
-enum bt_self_notification_iterator_status dmesg_notif_iter_init(
-               struct bt_self_notification_iterator *self_notif_iter,
-               struct bt_self_component_source *self_comp,
-               struct bt_self_component_port_output *self_port);
+bt_self_message_iterator_status dmesg_msg_iter_init(
+               bt_self_message_iterator *self_msg_iter,
+               bt_self_component_source *self_comp,
+               bt_self_component_port_output *self_port);
 
 BT_HIDDEN
-void dmesg_notif_iter_finalize(
-               struct bt_self_notification_iterator *self_notif_iter);
+void dmesg_msg_iter_finalize(
+               bt_self_message_iterator *self_msg_iter);
 
 BT_HIDDEN
-enum bt_self_notification_iterator_status dmesg_notif_iter_next(
-               struct bt_self_notification_iterator *self_notif_iter,
-               bt_notification_array notifs, uint64_t capacity,
+bt_self_message_iterator_status dmesg_msg_iter_next(
+               bt_self_message_iterator *self_msg_iter,
+               bt_message_array_const msgs, uint64_t capacity,
                uint64_t *count);
 
+BT_HIDDEN
+bt_bool dmesg_msg_iter_can_seek_beginning(
+               bt_self_message_iterator *message_iterator);
+
+BT_HIDDEN
+bt_self_message_iterator_status dmesg_msg_iter_seek_beginning(
+               bt_self_message_iterator *message_iterator);
+
 #endif /* BABELTRACE_PLUGIN_TEXT_DMESG_DMESG_H */
This page took 0.076494 seconds and 4 git commands to generate.