-/*
- * bt_ctf_trace_set_environment_field: sets an environment field to the
- * trace.
- *
- * Sets an environment field to the trace. The name parameter is
- * copied, whereas the value parameter's reference count is incremented
- * (if the function succeeds).
- *
- * If a value exists in the environment for the specified name, it is
- * replaced by the new value.
- *
- * The value parameter _must_ be either an integer value object or a
- * string value object. Other object types are not supported.
- *
- * @param trace Trace instance.
- * @param name Name of the environment field (will be copied).
- * @param value Value of the environment field.
- *
- * Returns 0 on success, a negative value on error.
- */
-extern int bt_ctf_trace_set_environment_field(
- struct bt_ctf_trace *trace, const char *name,
- struct bt_value *value);