- typedef struct lttng_event_rule *(*event_rule_create)(void);
- typedef enum lttng_event_rule_status (
- *event_rule_set_name_pattern)(struct lttng_event_rule * rule, const char *pattern);
- typedef enum lttng_event_rule_status (
- *event_rule_set_filter)(struct lttng_event_rule * rule, const char *expression);
- typedef enum lttng_event_rule_status (*event_rule_add_name_pattern_exclusion)(
- struct lttng_event_rule * rule, const char *exclusion);
+ using event_rule_create = struct lttng_event_rule *(*) ();
+ using event_rule_set_name_pattern =
+ enum lttng_event_rule_status (*)(struct lttng_event_rule *, const char *);
+ using event_rule_set_filter =
+ enum lttng_event_rule_status (*)(struct lttng_event_rule *, const char *);
+ using event_rule_add_name_pattern_exclusion =
+ enum lttng_event_rule_status (*)(struct lttng_event_rule *, const char *);