X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Findex.h;h=3ca7263e388b9c904092de56b51b1868fcc92510;hb=51a9e1c7f7fd48e2b53e258aee269a69cb8b59d3;hp=fc184e97dc74d4844b6741a90af8d8fe0cb805eb;hpb=1c20f0e29cbf8627bfb1ff444572d52d6655c4e2;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/index.h b/src/bin/lttng-relayd/index.h index fc184e97d..3ca7263e3 100644 --- a/src/bin/lttng-relayd/index.h +++ b/src/bin/lttng-relayd/index.h @@ -47,14 +47,12 @@ struct relay_index { struct relay_index *relay_index_create(uint64_t stream_id, uint64_t net_seq_num); -struct relay_index *relay_index_find(uint64_t stream_id, - uint64_t net_seq_num, struct lttng_ht *ht); -void relay_index_add(struct relay_index *index, struct lttng_ht *ht, - struct relay_index **_index); -int relay_index_write(int fd, struct relay_index *index, struct lttng_ht *ht); +struct relay_index *relay_index_find(uint64_t stream_id, uint64_t net_seq_num); +void relay_index_add(struct relay_index *index, struct relay_index **_index); +int relay_index_write(int fd, struct relay_index *index); void relay_index_free(struct relay_index *index); void relay_index_free_safe(struct relay_index *index); -void relay_index_delete(struct relay_index *index, struct lttng_ht *ht); -void relay_index_destroy_by_stream_id(uint64_t stream_id, struct lttng_ht *ht); +void relay_index_delete(struct relay_index *index); +void relay_index_destroy_by_stream_id(uint64_t stream_id); #endif /* _RELAY_INDEX_H */