lttng-ctl: Implement the notification interface
[lttng-tools.git] / include / lttng / notification / notification.h
index 2f4cb1d59a9e4dc429264e0bd89ae9137f1e6040..100d0def459a8cf93e47691a0ae38851048b0ab2 100644 (file)
@@ -24,12 +24,18 @@ extern "C" {
 
 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);
 
This page took 0.026783 seconds and 5 git commands to generate.