-/**
-@name Creation and parent access functions
-@{
-*/
-
-/**
-@brief Creates a default CTF IR event class named \p nameĀ.
-
-On success, the context and payload field types are empty structure
-field types. You can modify those default field types after the
-event class is created with
-bt_event_class_set_context_field_type() and
-bt_event_class_set_payload_field_type().
-
-Upon creation, the event class's ID is <em>not set</em>. You
-can set it to a specific value with bt_event_class_set_id(). If it
-is still unset when you call bt_stream_class_add_event_class(), then
-the stream class assigns a unique ID to this event class before
-freezing it.
-
-The created event class's log level is initially set to
-#BT_EVENT_CLASS_LOG_LEVEL_UNSPECIFIED and it has no Eclipse Modeling
-Framework URI.
-
-@param[in] name Name of the event class to create (copied on success).
-@returns Created event class, or \c NULL on error.
-
-@prenotnull{name}
-@postsuccessrefcountret1
-*/
-extern struct bt_event_class *bt_event_class_create(const char *name);
-
-/**
-@brief Returns the parent CTF IR stream class of the CTF IR event
- class \p event_class.
-
-It is possible that the event class was not added to a stream class
-yet, in which case this function returns \c NULL. You can add an
-event class to a stream class with
-bt_stream_class_add_event_class().
-
-@param[in] event_class Event class of which to get the parent
- stream class.
-@returns Parent stream class of \p event_class,
- or \c NULL if \p event_class was not
- added to a stream class yet or on error.
-
-@prenotnull{event_class}
-@postrefcountsame{event_class}
-@postsuccessrefcountretinc
-
-@sa bt_stream_class_add_event_class(): Add an event class to
- a stream class.
-*/
-extern struct bt_stream_class *bt_event_class_get_stream_class(
- struct bt_event_class *event_class);
-
-/** @} */
-
-/**
-@name Attribute functions
-@{
-*/
-
-/**
-@brief Returns the name of the CTF IR event class \p event_class.
-
-On success, \p event_class remains the sole owner of the returned
-string.
-
-@param[in] event_class Event class of which to get the name.
-@returns Name of event class \p event_class, or
- \c NULL on error.
-
-@prenotnull{event_class}
-@postrefcountsame{event_class}
-*/
-extern const char *bt_event_class_get_name(
- struct bt_event_class *event_class);
-
-/**
-@brief Returns the numeric ID of the CTF IR event class \p event_class.
-
-@param[in] event_class Event class of which to get the numeric ID.
-@returns ID of event class \p event_class, or a
- negative value on error.
-
-@prenotnull{event_class}
-@postrefcountsame{event_class}
-
-@sa bt_event_class_set_id(): Sets the numeric ID of a given
- event class.
-*/
-extern int64_t bt_event_class_get_id(
- struct bt_event_class *event_class);
-
-/**
-@brief Sets the numeric ID of the CTF IR event class
- \p event_class to \p id.
-
-\p id must be unique amongst the IDs of all the event classes
-of the stream class to which you eventually add \p event_class.
-
-@param[in] event_class Event class of which to set the numeric ID.
-@param[in] id ID of the event class.
-@returns 0 on success, or a negative value on error.
-
-@prenotnull{event_class}
-@prehot{event_class}
-@pre \p id is lesser than or equal to 9223372036854775807 (\c INT64_MAX).
-@postrefcountsame{event_class}
-
-@sa bt_event_class_get_id(): Returns the numeric ID of a given
- event class.
-*/
-extern int bt_event_class_set_id(
- struct bt_event_class *event_class, uint64_t id);
-
-/**
-@brief Returns the log level of the CTF IR event class \p event_class.