#include "ctf-trace.h"
#include "lttng-viewer-abi.h"
#include "stream.h"
+#include "index-file.h"
struct relay_stream;
/* FD from which to read the stream data. */
struct stream_fd *stream_fd;
- /* FD from which to read the index data. */
- struct stream_fd *index_fd;
+ /* index file from which to read the index data. */
+ struct relay_index_file *index_file;
char *path_name;
char *channel_name;