-static inline
-struct bt_ctf_packet *bt_notification_packet_begin_borrow_packet(
- struct bt_notification *notif)
-{
- struct bt_notification_packet_begin *notif_packet_begin =
- container_of(notif,
- struct bt_notification_packet_begin, parent);
+BT_HIDDEN
+struct bt_notification *bt_notification_packet_begin_new(
+ struct bt_graph *graph);
+BT_HIDDEN
+void bt_notification_packet_begin_recycle(struct bt_notification *notif);