lib: Add functions to borrow specialized component classes from specialized components
[babeltrace.git] / include / babeltrace / graph / message-event-const.h
index 8d0d6fc1a50d993e8eaf1b261d271e3140d677bc..4c611925874a31255bff826696d4ab17ddfcf35c 100644 (file)
  * SOFTWARE.
  */
 
-/* For bt_message, bt_event */
+/* For bt_bool, bt_message, bt_event. bt_clock_class, bt_clock_snapshot */
 #include <babeltrace/types.h>
 
+/* For bt_clock_snapshot_state */
+#include <babeltrace/trace-ir/clock-snapshot-const.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -34,6 +37,14 @@ extern "C" {
 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);
+
+extern const bt_clock_class *
+bt_message_event_borrow_stream_class_default_clock_class_const(
+               const bt_message *msg);
+
 #ifdef __cplusplus
 }
 #endif
This page took 0.023125 seconds and 4 git commands to generate.