+/*
+ * Takes ownership of the payload if present.
+ */
+LTTNG_HIDDEN
+struct lttng_trigger_notification *lttng_trigger_notification_create(
+ uint64_t id,
+ enum lttng_domain_type domain,
+ char *payload,
+ size_t payload_size);
+
+LTTNG_HIDDEN
+void lttng_trigger_notification_destroy(
+ struct lttng_trigger_notification *trigger_notification);
+