lib: use object pool for event and packet notifications
[babeltrace.git] / include / babeltrace / graph / notification-packet-internal.h
index 467d08615092c7afa7edcb26641eb53b7b38dcfe..639925b43add25018974a2bdc5e9f1420e1ad784 100644 (file)
@@ -42,4 +42,22 @@ struct bt_notification_packet_end {
        struct bt_packet *packet;
 };
 
+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);
+
+BT_HIDDEN
+void bt_notification_packet_begin_destroy(struct bt_notification *notif);
+
+BT_HIDDEN
+struct bt_notification *bt_notification_packet_end_new(struct bt_graph *graph);
+
+BT_HIDDEN
+void bt_notification_packet_end_recycle(struct bt_notification *notif);
+
+BT_HIDDEN
+void bt_notification_packet_end_destroy(struct bt_notification *notif);
+
 #endif /* BABELTRACE_GRAPH_NOTIFICATION_PACKET_INTERNAL_H */
This page took 0.024831 seconds and 4 git commands to generate.