Trace IR and notification APIs: split into private and public APIs
[babeltrace.git] / lib / graph / notification / notification.c
index f049118c5e00895599478980e0f77a5acc6edd19..e6b6af52995be9174177c65c278bf6a17e83ae5f 100644 (file)
@@ -27,6 +27,7 @@
 #define BT_LOG_TAG "NOTIF"
 #include <babeltrace/lib-logging-internal.h>
 
+#include <babeltrace/graph/private-notification.h>
 #include <babeltrace/graph/notification-internal.h>
 #include <babeltrace/graph/graph-internal.h>
 #include <babeltrace/assert-internal.h>
@@ -74,3 +75,9 @@ void bt_notification_unlink_graph(struct bt_notification *notif)
        BT_ASSERT(notif);
        notif->graph = NULL;
 }
+
+struct bt_notification *bt_notification_borrow_from_private(
+               struct bt_private_notification *priv_notif)
+{
+       return (void *) priv_notif;
+}
This page took 0.022925 seconds and 4 git commands to generate.