notification: add trigger accessor to lttng_notification
[lttng-tools.git] / src / common / notification.c
index c640b9e7535fe78643a7602453b927523af33f6d..2c4e052b1d0d14c577594a964e4e4d08a4eba022 100644 (file)
@@ -177,3 +177,9 @@ const struct lttng_evaluation *lttng_notification_get_evaluation(
 {
        return notification ? notification->evaluation : NULL;
 }
+
+const struct lttng_trigger *lttng_notification_get_trigger(
+               struct lttng_notification *notification)
+{
+       return notification ? notification->trigger : NULL;
+}
This page took 0.022696 seconds and 4 git commands to generate.