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