- struct lttng_event_context *ctx, char *channel_name);
-int context_ust_add(struct ltt_ust_session *usess, int domain,
- struct lttng_event_context *ctx, char *channel_name);
+ const struct lttng_event_context *ctx, char *channel_name);
+int context_ust_add(struct ltt_ust_session *usess,
+ enum lttng_domain_type domain,
+ const struct lttng_event_context *ctx,
+ char *channel_name);