Fix: src.ctf.lttng-live: emitting stream end msg with no stream
[babeltrace.git] / include / babeltrace2 / trace-ir / stream-class-const.h
index 8687c9852273a61dae66e49dd93edfa8a8a264fa..7a7077b946d3acdc8a6e504c656ab48daf7b3c1e 100644 (file)
@@ -1,9 +1,8 @@
-#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>
- * Copyright 2014 Jérémie Galarneau <jeremie.galarneau@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
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  * SOFTWARE.
- *
- * The Common Trace Format (CTF) Specification is available at
- * http://www.efficios.com/ctf
  */
 
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <stdint.h>
 
-/*
- * For bt_bool, bt_trace_class, bt_stream_class, bt_event_class,
- * bt_stream_class
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+extern const bt_value *bt_stream_class_borrow_user_attributes_const(
+               const bt_stream_class *stream_class);
+
 extern const bt_trace_class *bt_stream_class_borrow_trace_class_const(
                const bt_stream_class *stream_class);
 
@@ -51,6 +50,9 @@ extern bt_bool bt_stream_class_assigns_automatic_event_class_id(
 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);
 
@@ -116,4 +118,4 @@ extern void bt_stream_class_put_ref(const bt_stream_class *stream_class);
 }
 #endif
 
-#endif /* BABELTRACE_TRACE_IR_STREAM_CLASS_CONST_H */
+#endif /* BABELTRACE2_TRACE_IR_STREAM_CLASS_CONST_H */
This page took 0.024268 seconds and 4 git commands to generate.