*/
#include <babeltrace/ctf-ir/stream-class.h>
+#include <stdint.h>
#ifdef __cplusplus
extern "C" {
*
* Returns a field instance on success, NULL on error.
*/
-extern int bt_ctf_stream_set_event_context(
+extern int bt_ctf_stream_set_event_header(
struct bt_ctf_stream *stream,
- struct bt_ctf_field *event_context);
+ struct bt_ctf_field *event_header);
/*
* bt_ctf_stream_get_event_context: get a stream's event context.
* bt_ctf_stream_get and bt_ctf_stream_put: increment and decrement the
* stream's reference count.
*
+ * You may also use bt_ctf_get() and bt_ctf_put() with stream objects.
+ *
* These functions ensure that the stream won't be destroyed while it
* is in use. The same number of get and put (plus one extra put to
* release the initial reference done at creation) have to be done to