Fix: src.ctf.lttng-live: emitting stream end msg with no stream
[babeltrace.git] / include / babeltrace2 / graph / message-stream-end-const.h
index f4cabd3b212313293e263d9d34a0115f20c3b747..b822e3bb2c001267ee2c97ccff64dd3612d225c5 100644 (file)
@@ -1,9 +1,8 @@
-#ifndef BABELTRACE_GRAPH_MESSAGE_STREAM_BEGINNING_END_H
-#define BABELTRACE_GRAPH_MESSAGE_STREAM_BEGINNING_END_H
+#ifndef BABELTRACE2_GRAPH_MESSAGE_STREAM_END_CONST_H
+#define BABELTRACE2_GRAPH_MESSAGE_STREAM_END_CONST_H
 
 /*
- * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
- * Copyright 2016 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
  * SOFTWARE.
  */
 
-/* For bt_message, bt_clock_snapshot, bt_stream */
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <babeltrace2/types.h>
+#include <babeltrace2/graph/message-stream-const.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -34,8 +37,16 @@ extern "C" {
 extern const bt_stream *bt_message_stream_end_borrow_stream_const(
                const bt_message *message);
 
+extern bt_message_stream_clock_snapshot_state
+bt_message_stream_end_borrow_default_clock_snapshot_const(
+               const bt_message *message, const bt_clock_snapshot **snapshot);
+
+extern const bt_clock_class *
+bt_message_stream_end_borrow_stream_class_default_clock_class_const(
+               const bt_message *msg);
+
 #ifdef __cplusplus
 }
 #endif
 
-#endif /* BABELTRACE_GRAPH_MESSAGE_STREAM_BEGINNING_END_H */
+#endif /* BABELTRACE2_GRAPH_MESSAGE_STREAM_END_CONST_H */
This page took 0.023664 seconds and 4 git commands to generate.