lib: use object pool for event and packet notifications
[babeltrace.git] / include / babeltrace / graph / notification-event-internal.h
index a5dea56ff60c7cb0811eb0d3aaab2d0c58a4ee37..436477b3b85bd50456e3a9c94ef68a8f91052c29 100644 (file)
@@ -28,6 +28,7 @@
  */
 
 #include <babeltrace/compiler-internal.h>
+#include <babeltrace/ctf-ir/event-class.h>
 #include <babeltrace/ctf-ir/event.h>
 #include <babeltrace/graph/notification-internal.h>
 #include <babeltrace/graph/clock-class-priority-map.h>
@@ -43,6 +44,15 @@ struct bt_notification_event {
        struct bt_clock_class_priority_map *cc_prio_map;
 };
 
+BT_HIDDEN
+struct bt_notification *bt_notification_event_new(struct bt_graph *graph);
+
+BT_HIDDEN
+void bt_notification_event_recycle(struct bt_notification *notif);
+
+BT_HIDDEN
+void bt_notification_event_destroy(struct bt_notification *notif);
+
 #ifdef __cplusplus
 }
 #endif
This page took 0.032784 seconds and 4 git commands to generate.