+/**
+@brief Sets the stream event header field of the CTF IR event
+ \p event to \p header.
+
+The field type of \p header, as returned by bt_ctf_field_get_type(),
+\em must be equivalent to the field type returned by
+bt_ctf_stream_class_get_event_header_type() for the parent stream class
+of \p event.
+
+@param[in] event Event of which to set the stream event header
+ field.
+@param[in] header Stream event header field.
+@returns 0 on success, or a negative value on error.
+
+@prenotnull{event}
+@prenotnull{header}
+@prehot{event}
+@pre \p header has a field type equivalent to the field type returned by
+ bt_ctf_stream_class_get_event_header_type() for the parent
+ stream class of \p event.
+@postrefcountsame{event}
+@postsuccessrefcountinc{header}
+
+@sa bt_ctf_event_get_header(): Returns the stream event header field
+ of a given event.
+*/
+extern int bt_ctf_event_set_header(struct bt_ctf_event *event,
+ struct bt_ctf_field *header);
+
+/**
+@brief Returns the stream event context field of the CTF IR event
+ \p event.
+
+@param[in] event Event of which to get the stream event context
+ field.
+@returns Stream event context field of \p event,
+ or \c NULL if the stream event context
+ field is not set or on error.
+
+@prenotnull{event}
+@postrefcountsame{event}
+@postsuccessrefcountretinc
+
+@sa bt_ctf_event_set_stream_event_context(): Sets the stream event
+ context field of a given event.
+*/
+extern struct bt_ctf_field *bt_ctf_event_get_stream_event_context(
+ struct bt_ctf_event *event);
+
+/**
+@brief Sets the stream event context field of the CTF IR event
+ \p event to \p context.
+
+The field type of \p context, as returned by bt_ctf_field_get_type(),
+\em must be equivalent to the field type returned by
+bt_ctf_stream_class_get_event_context_type() for the parent stream class
+of \p event.
+
+@param[in] event Event of which to set the stream event context
+ field.
+@param[in] context Stream event context field.
+@returns 0 on success, or a negative value on error.
+
+@prenotnull{event}
+@prenotnull{context}
+@prehot{event}
+@pre \p context has a field type equivalent to the field type returned
+ by bt_ctf_stream_class_get_event_context_type() for the parent
+ stream class of \p event.
+@postrefcountsame{event}
+@postsuccessrefcountinc{context}
+
+@sa bt_ctf_event_get_stream_event_context(): Returns the stream event
+ context field of a given event.
+*/
+extern int bt_ctf_event_set_stream_event_context(struct bt_ctf_event *event,
+ struct bt_ctf_field *context);
+
+/**
+@brief Returns the event context field of the CTF IR event
+ \p event.
+
+@param[in] event Event of which to get the event context
+ field.
+@returns Event context field of \p event, or \c NULL if
+ the event context field is not set or on error.
+
+@prenotnull{event}
+@postrefcountsame{event}
+@postsuccessrefcountretinc
+
+@sa bt_ctf_event_set_event_context(): Sets the event context field of a
+ given event.
+*/
+extern struct bt_ctf_field *bt_ctf_event_get_event_context(
+ struct bt_ctf_event *event);
+
+/**
+@brief Sets the event context field of the CTF IR event
+ \p event to \p context.
+
+The field type of \p context, as returned by bt_ctf_field_get_type(),
+\em must be equivalent to the field type returned by
+bt_ctf_event_class_get_context_type() for the parent event class
+of \p event.
+
+@param[in] event Event of which to set the event context field.
+@param[in] context Event context field.
+@returns 0 on success, or a negative value on error.
+
+@prenotnull{event}
+@prenotnull{context}
+@prehot{event}
+@pre \p context has a field type equivalent to the field type returned
+ by bt_ctf_event_class_get_context_type() for the parent
+ event class of \p event.
+@postrefcountsame{event}
+@postsuccessrefcountinc{context}
+
+@sa bt_ctf_event_get_event_context(): Returns the event context field of
+ a given event.
+*/
+extern int bt_ctf_event_set_event_context(struct bt_ctf_event *event,
+ struct bt_ctf_field *context);
+
+/**
+@brief Returns the event payload field of the CTF IR event
+ \p event.
+
+@param[in] event Event of which to get the event payload
+ field.
+@returns Event payload field of \p event, or \c NULL if
+ the event payload field is not set or on error.
+
+@prenotnull{event}
+@postrefcountsame{event}
+@postsuccessrefcountretinc
+
+@sa bt_ctf_event_set_payload_field(): Sets the event payload field of a
+ given event.
+*/