bt_notification_event_create(): validate and freeze event
[babeltrace.git] / include / babeltrace / ctf-ir / event-internal.h
index 85fea18cd4817c5ae70127e0fe8cf4ef2ae0b43d..c47e61f047066b25672ae983212e25179fe4dba6 100644 (file)
@@ -64,6 +64,14 @@ int bt_ctf_event_serialize(struct bt_ctf_event *event,
 BT_HIDDEN
 void bt_ctf_event_freeze(struct bt_ctf_event *event);
 
+BT_HIDDEN
+static inline struct bt_ctf_packet *bt_ctf_event_borrow_packet(
+               struct bt_ctf_event *event)
+{
+       assert(event);
+       return event->packet;
+}
+
 static inline
 struct bt_ctf_event_class *bt_ctf_event_borrow_event_class(
                struct bt_ctf_event *event)
This page took 0.024611 seconds and 4 git commands to generate.