Rename __LTTNG_COMPOUND_LITERAL to LTTNG_UST_COMPOUND_LITERAL
[lttng-ust.git] / include / lttng / ust-events.h
index 2232212fed73f7a55ff71a717b2bcbd0e0a2c5a9..63a6f1585e7ee940e0e038affda218a7ba2295c0 100644 (file)
@@ -117,7 +117,7 @@ struct lttng_ust_type_integer {
 };
 
 #define lttng_ust_type_integer_define(_type, _byte_order, _base)       \
-       ((struct lttng_ust_type_common *) __LTTNG_COMPOUND_LITERAL(struct lttng_ust_type_integer, { \
+       ((struct lttng_ust_type_common *) LTTNG_UST_COMPOUND_LITERAL(struct lttng_ust_type_integer, { \
                .parent = {                                             \
                        .type = lttng_ust_type_integer,                 \
                },                                                      \
@@ -148,7 +148,7 @@ struct lttng_ust_type_float {
                : 0))
 
 #define lttng_ust_type_float_define(_type)                             \
-       ((struct lttng_ust_type_common *) __LTTNG_COMPOUND_LITERAL(struct lttng_ust_type_float, { \
+       ((struct lttng_ust_type_common *) LTTNG_UST_COMPOUND_LITERAL(struct lttng_ust_type_float, { \
                .parent = {                                             \
                        .type = lttng_ust_type_float,                   \
                },                                                      \
@@ -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.024268 seconds and 4 git commands to generate.