text output
[babeltrace.git] / include / babeltrace / ctf / types.h
index 121beda575c401939248bc171673a60eb30ff074..2396c4ff5b6f2261f5e8b7205be98944ad348c74 100644 (file)
@@ -20,6 +20,9 @@
  */
 
 #include <babeltrace/types.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
 #include <sys/mman.h>
 #include <errno.h>
 #include <stdint.h>
@@ -60,15 +63,6 @@ struct ctf_stream_pos *ctf_pos(struct stream_pos *pos)
        return container_of(pos, struct ctf_stream_pos, parent);
 }
 
-/*
- * IMPORTANT: All lengths (len) and offsets (start, end) are expressed in bits,
- *            *not* in bytes.
- *
- * All write primitives, as well as read for dynamically sized entities, can
- * receive a NULL ptr/dest parameter. In this case, no write is performed, but
- * the size is returned.
- */
-
 void ctf_integer_read(struct stream_pos *pos, struct definition *definition);
 void ctf_integer_write(struct stream_pos *pos, struct definition *definition);
 void ctf_float_read(struct stream_pos *pos, struct definition *definition);
@@ -84,7 +78,7 @@ void ctf_sequence_rw(struct stream_pos *pos, struct definition *definition);
 
 void ctf_move_pos_slow(struct ctf_stream_pos *pos, size_t offset);
 
-void ctf_init_pos(struct ctf_stream_pos *pos, int fd);
+void ctf_init_pos(struct ctf_stream_pos *pos, int fd, int open_flags);
 void ctf_fini_pos(struct ctf_stream_pos *pos);
 
 /*
This page took 0.023899 seconds and 4 git commands to generate.