Build CTF stream indexes from LTTng index files
[babeltrace.git] / plugins / ctf / fs / data-stream.h
index 6e7d0e728bff8a48c6c9c5ff9af2dc3540c7f30b..11c149ccd90d8fd7ce0d1e185c10e20ef7b0f8ef 100644 (file)
 #include <babeltrace/ctf-ir/trace.h>
 
 #include "../common/notif-iter/notif-iter.h"
+#include "lttng-index.h"
+
+struct ctf_fs_component;
+struct ctf_fs_file;
+struct ctf_fs_stream;
+
+struct index_entry {
+       uint64_t offset; /* in bytes. */
+       uint64_t packet_size; /* in bytes. */
+       /* relative to the packet context field's mapped clock. */
+       uint64_t timestamp_begin, timestamp_end;
+};
+
+struct index {
+        struct {
+               unsigned int major, minor;
+       } version;
+       GArray *entries; /* Array of struct index_entry. */
+};
 
 BT_HIDDEN
 struct ctf_fs_stream *ctf_fs_stream_create(
This page took 0.0356 seconds and 4 git commands to generate.