struct lttng_condition;
struct lttng_evaluation;
+struct lttng_notification;
+/*
+ * The notification retains ownership of both the condition and evaluation.
+ * Destroying the notification will also destroy the notification and evaluation
+ * objects.
+ */
extern struct lttng_condition *lttng_notification_get_condition(
struct lttng_notification *notification);
-extern struct lttng_evaluation *
-lttng_notification_get_evaluation(struct lttng_notification *notification);
+extern struct lttng_evaluation *lttng_notification_get_evaluation(
+ struct lttng_notification *notification);
extern void lttng_notification_destroy(struct lttng_notification *notification);