/* For bt_message, bt_event */
#include <babeltrace/types.h>
+/* For bt_clock_snapshot_state */
+#include <babeltrace/trace-ir/clock-snapshot-const.h>
+
#ifdef __cplusplus
extern "C" {
#endif
extern const bt_event *bt_message_event_borrow_event_const(
const bt_message *message);
+extern bt_clock_snapshot_state
+bt_message_event_borrow_default_clock_snapshot_const(
+ const bt_message *msg, const bt_clock_snapshot **snapshot);
+
#ifdef __cplusplus
}
#endif