#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);