-#ifndef BABELTRACE_TRACE_IR_STREAM_CONST_H
-#define BABELTRACE_TRACE_IR_STREAM_CONST_H
+#ifndef BABELTRACE2_TRACE_IR_STREAM_CONST_H
+#define BABELTRACE2_TRACE_IR_STREAM_CONST_H
/*
* Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
* http://www.efficios.com/ctf
*/
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
/* For bt_trace, bt_stream, bt_stream_class */
#include <babeltrace2/types.h>
extern "C" {
#endif
-typedef enum bt_stream_status {
- BT_STREAM_STATUS_OK = 0,
- BT_STREAM_STATUS_NOMEM = -12,
-} bt_stream_status;
-
extern const bt_stream_class *bt_stream_borrow_class_const(
const bt_stream *stream);
}
#endif
-#endif /* BABELTRACE_TRACE_IR_STREAM_CONST_H */
+#endif /* BABELTRACE2_TRACE_IR_STREAM_CONST_H */