Fix: report truncated files while reading
[babeltrace.git] / include / babeltrace / ctf / types.h
index 59ce99811f73993457ffdd9aacff7d2d73e1b691..0bc003c8f8f6b65706436902d33d57b01feb92d9 100644 (file)
@@ -92,6 +92,7 @@ struct ctf_stream_pos {
 
        int dummy;              /* dummy position, for length calculation */
        struct bt_stream_callbacks *cb; /* Callbacks registered for iterator. */
+       size_t file_length;     /* length of backing file, in bytes. */
        void *priv;
 };
 
This page took 0.023372 seconds and 4 git commands to generate.