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=3ca7263e388b9c904092de56b51b1868fcc92510;hp=fc184e97dc74d4844b6741a90af8d8fe0cb805eb;hb=0a6518b0685cb9e07cf156a4c882dc6ec40db35a;hpb=4c80d9a2ff26498f74b0731f11f33f1fd593ff8f 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 */