-#ifndef BABELTRACE_GRAPH_MESSAGE_STREAM_BEGINNING_CONST_H
-#define BABELTRACE_GRAPH_MESSAGE_STREAM_BEGINNING_CONST_H
+#ifndef BABELTRACE2_GRAPH_MESSAGE_STREAM_BEGINNING_CONST_H
+#define BABELTRACE2_GRAPH_MESSAGE_STREAM_BEGINNING_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" {
extern const bt_stream *bt_message_stream_beginning_borrow_stream_const(
const bt_message *message);
+extern bt_message_stream_clock_snapshot_state
+bt_message_stream_beginning_borrow_default_clock_snapshot_const(
+ const bt_message *message, const bt_clock_snapshot **snapshot);
+
+extern const bt_clock_class *
+bt_message_stream_beginning_borrow_stream_class_default_clock_class_const(
+ const bt_message *msg);
+
#ifdef __cplusplus
}
#endif
-#endif /* BABELTRACE_GRAPH_MESSAGE_STREAM_BEGINNING_CONST_H */
+#endif /* BABELTRACE2_GRAPH_MESSAGE_STREAM_BEGINNING_CONST_H */