notification_send callback takes const event_notifier parameter
[lttng-ust.git] / include / lttng / ust-events.h
index 2232212fed73f7a55ff71a717b2bcbd0e0a2c5a9..95b4698de089bb08440687bbcb226f7ca461bcd2 100644 (file)
@@ -349,7 +349,7 @@ struct lttng_ust_event_common {
 
        int enabled;
        int eval_filter;                                /* Need to evaluate filters */
-       int (*run_filter)(struct lttng_ust_event_common *event,
+       int (*run_filter)(const struct lttng_ust_event_common *event,
                const char *stack_data,
                void *filter_ctx);
 
@@ -422,7 +422,7 @@ struct lttng_ust_event_notifier {
        struct lttng_ust_event_notifier_private *priv;  /* Private event notifier interface */
 
        int eval_capture;                               /* Need to evaluate capture */
-       void (*notification_send)(struct lttng_ust_event_notifier *event_notifier,
+       void (*notification_send)(const struct lttng_ust_event_notifier *event_notifier,
                const char *stack_data,
                struct lttng_ust_notification_ctx *notif_ctx);
 
This page took 0.023476 seconds and 4 git commands to generate.