lib: Add functions to borrow specialized component classes from specialized components
[babeltrace.git] / include / babeltrace / graph / message-packet-beginning-const.h
index 780671134e12c97dc9fda3c6c5b5daaa333f5eb1..a7cc1348a5cadd56f18c0d7079c04be67a775823 100644 (file)
  * SOFTWARE.
  */
 
-/* For bt_message, bt_packet */
+/* For bt_message, bt_packet, bt_clock_snapshot, bt_clock_class */
 #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_packet *bt_message_packet_beginning_borrow_packet_const(
                const bt_message *message);
 
+extern bt_clock_snapshot_state
+bt_message_packet_beginning_borrow_default_clock_snapshot_const(
+               const bt_message *msg, const bt_clock_snapshot **snapshot);
+
+extern const bt_clock_class *
+bt_message_packet_beginning_borrow_stream_class_default_clock_class_const(
+               const bt_message *msg);
+
 #ifdef __cplusplus
 }
 #endif
This page took 0.027019 seconds and 4 git commands to generate.