lib: remove bt_graph_interrupt, add bt_graph_borrow_default_interrupter
[babeltrace.git] / include / babeltrace2 / graph / self-message-iterator.h
index d7f7b5eece35bf24ea9fdfff57e778e84a3ac5db..9aaa2767159918a63a4995e11c684dbd54e880a4 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef BABELTRACE_GRAPH_SELF_MESSAGE_ITERATOR_H
-#define BABELTRACE_GRAPH_SELF_MESSAGE_ITERATOR_H
+#ifndef BABELTRACE2_GRAPH_SELF_MESSAGE_ITERATOR_H
+#define BABELTRACE2_GRAPH_SELF_MESSAGE_ITERATOR_H
 
 /*
- * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
+ * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
  * SOFTWARE.
  */
 
-/* For bt_self_component, bt_self_message_iterator, bt_self_port_output */
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+extern bt_bool bt_self_message_iterator_is_interrupted(
+               const bt_self_message_iterator *message_iterator);
+
 extern bt_self_component *
 bt_self_message_iterator_borrow_component(
                bt_self_message_iterator *message_iterator);
 
-extern bt_self_port_output *
+extern bt_self_component_port_output *
 bt_self_message_iterator_borrow_port(
                bt_self_message_iterator *message_iterator);
 
@@ -45,8 +51,12 @@ extern void bt_self_message_iterator_set_data(
 extern void *bt_self_message_iterator_get_data(
                const bt_self_message_iterator *message_iterator);
 
+extern void bt_self_message_iterator_configuration_set_can_seek_forward(
+               bt_self_message_iterator_configuration *config,
+               bt_bool can_seek_forward);
+
 #ifdef __cplusplus
 }
 #endif
 
-#endif /* BABELTRACE_GRAPH_SELF_MESSAGE_ITERATOR_H */
+#endif /* BABELTRACE2_GRAPH_SELF_MESSAGE_ITERATOR_H */
This page took 0.03154 seconds and 4 git commands to generate.