X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Findex.h;h=42d7a5343daf560a505423f72bc4b72469346537;hb=0d3cdb1c0cd27ac6255e31eb891b1cdf7c8ec80f;hp=80fe86ab024f8e668e51a1553d52385e1c666ad2;hpb=d1de950db2f48a6a2a00557cd8987198274e0e2b;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/index.h b/src/bin/lttng-relayd/index.h index 80fe86ab0..42d7a5343 100644 --- a/src/bin/lttng-relayd/index.h +++ b/src/bin/lttng-relayd/index.h @@ -22,10 +22,11 @@ #include #include +#include #include -#include +#include "index-file.h" #include "stream-fd.h" struct relay_stream; @@ -43,7 +44,7 @@ struct relay_index { * index file on which to write the index data. May differ from * stream->index_file due to tracefile rotation. */ - struct lttng_index_file *index_file; + struct relay_index_file *index_file; /* Index packet data. This is the data that is written on disk. */ struct ctf_packet_index index_data; @@ -65,7 +66,7 @@ struct relay_index *relay_index_get_by_id_or_create(struct relay_stream *stream, uint64_t net_seq_num); void relay_index_put(struct relay_index *index); int relay_index_set_file(struct relay_index *index, - struct lttng_index_file *index_file, + struct relay_index_file *index_file, uint64_t data_offset); int relay_index_set_data(struct relay_index *index, const struct ctf_packet_index *data);