-#ifndef BABELTRACE_TRACE_IR_STREAM_CLASS_CONST_H
-#define BABELTRACE_TRACE_IR_STREAM_CLASS_CONST_H
+#ifndef BABELTRACE2_TRACE_IR_STREAM_CLASS_CONST_H
+#define BABELTRACE2_TRACE_IR_STREAM_CLASS_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
+
#include <stdint.h>
/*
extern "C" {
#endif
-typedef enum bt_stream_class_status {
- BT_STREAM_CLASS_STATUS_OK = 0,
- BT_STREAM_CLASS_STATUS_NOMEM = -12,
-} bt_stream_class_status;
-
extern const bt_trace_class *bt_stream_class_borrow_trace_class_const(
const bt_stream_class *stream_class);
extern bt_bool bt_stream_class_assigns_automatic_stream_id(
const bt_stream_class *stream_class);
+extern bt_bool bt_stream_class_supports_packets(
+ const bt_stream_class *stream_class);
+
extern bt_bool bt_stream_class_packets_have_beginning_default_clock_snapshot(
const bt_stream_class *stream_class);
}
#endif
-#endif /* BABELTRACE_TRACE_IR_STREAM_CLASS_CONST_H */
+#endif /* BABELTRACE2_TRACE_IR_STREAM_CLASS_CONST_H */