-#ifndef BABELTRACE_COMPONENT_NOTIFICATION_EVENT_INTERNAL_H
-#define BABELTRACE_COMPONENT_NOTIFICATION_EVENT_INTERNAL_H
+#ifndef BABELTRACE_GRAPH_NOTIFICATION_EVENT_INTERNAL_H
+#define BABELTRACE_GRAPH_NOTIFICATION_EVENT_INTERNAL_H
/*
* BabelTrace - Plug-in Event Notification internal
* SOFTWARE.
*/
+#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/assert-internal.h>
#ifdef __cplusplus
extern "C" {
struct bt_notification_event {
struct bt_notification parent;
- struct bt_ctf_event *event;
+ struct bt_event *event;
};
+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
-#endif /* BABELTRACECOMPONENTPLUGIN_NOTIFICATION_EVENT_INTERNAL_H */
+#endif /* BABELTRACE_GRAPH_NOTIFICATION_EVENT_INTERNAL_H */