Handle negative time and offset from Epoch
[babeltrace.git] / include / babeltrace / ctf-ir / stream.h
index b38d80d43a1777a5d268664029582cb48d967ce5..18f86a7c0949ca10e550d29a8443c616723b3aaa 100644 (file)
@@ -31,6 +31,7 @@
  */
 
 #include <babeltrace/ctf-ir/stream-class.h>
+#include <stdint.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -168,9 +169,9 @@ extern struct bt_ctf_field *bt_ctf_stream_get_event_header(
  *
  * 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.
@@ -218,6 +219,8 @@ extern int bt_ctf_stream_flush(struct bt_ctf_stream *stream);
  * 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
This page took 0.02529 seconds and 4 git commands to generate.