X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Findex.h;fp=src%2Fbin%2Flttng-relayd%2Findex.h;h=8466e91a468b501cc7bc14ac2a2aaeac0f1e87a2;hp=08388c001872a221cbdd6f42960513619ca42759;hb=c35f9726a22f1d93e14589688d830efccda196f3;hpb=7fd975c523ee6e0bb45dcb13b7308b8d9d6406ba diff --git a/src/bin/lttng-relayd/index.h b/src/bin/lttng-relayd/index.h index 08388c001..8466e91a4 100644 --- a/src/bin/lttng-relayd/index.h +++ b/src/bin/lttng-relayd/index.h @@ -29,6 +29,8 @@ #include "stream-fd.h" struct relay_stream; +struct relay_connection; +struct lttcomm_relayd_index; struct relay_index { /* @@ -76,5 +78,8 @@ void relay_index_close_all(struct relay_stream *stream); void relay_index_close_partial_fd(struct relay_stream *stream); uint64_t relay_index_find_last(struct relay_stream *stream); int relay_index_switch_all_files(struct relay_stream *stream); +int relay_index_set_control_data(struct relay_index *index, + const struct lttcomm_relayd_index *data, + unsigned int minor_version); #endif /* _RELAY_INDEX_H */