Fix: src.ctf.lttng-live: emitting stream end msg with no stream
[babeltrace.git] / include / babeltrace2 / trace-ir / stream-const.h
index 9607ef412bf681ed590e6228f95e35feaaf32e7a..bf8098303815e591dacad30909f7cb013790cc82 100644 (file)
@@ -1,9 +1,8 @@
-#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>
- * Copyright 2013, 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
  */
 
-/* For bt_trace, bt_stream, bt_stream_class */
-#include <babeltrace2/types.h>
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
 
 #include <stdint.h>
 
+#include <babeltrace2/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-typedef enum bt_stream_status {
-       BT_STREAM_STATUS_OK = 0,
-       BT_STREAM_STATUS_NOMEM = -12,
-} bt_stream_status;
+extern const bt_value *bt_stream_borrow_user_attributes_const(
+               const bt_stream *stream);
 
 extern const bt_stream_class *bt_stream_borrow_class_const(
                const bt_stream *stream);
@@ -72,4 +69,4 @@ extern void bt_stream_put_ref(const bt_stream *stream);
 }
 #endif
 
-#endif /* BABELTRACE_TRACE_IR_STREAM_CONST_H */
+#endif /* BABELTRACE2_TRACE_IR_STREAM_CONST_H */
This page took 0.02436 seconds and 4 git commands to generate.