X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Findex%2Findex.h;h=a7e6aee07a046a2b7b097f76f0a920dcf2bc1ac8;hb=790c779e5d45e5ea024c221e60d3dd2277a7b7b9;hp=58f2ac70add96ac8eb5be5195bff1773683c8a2c;hpb=309167d2a6f59d0c8cbf64eb23ba912cdea76a34;p=lttng-tools.git diff --git a/src/common/index/index.h b/src/common/index/index.h index 58f2ac70a..a7e6aee07 100644 --- a/src/common/index/index.h +++ b/src/common/index/index.h @@ -21,10 +21,12 @@ #include -#include "lttng-index.h" +#include "ctf-index.h" int index_create_file(char *path_name, char *stream_name, int uid, int gid, uint64_t size, uint64_t count); -int index_write(int fd, struct lttng_packet_index *index, size_t len); +ssize_t index_write(int fd, struct ctf_packet_index *index, size_t len); +int index_open(const char *path_name, const char *channel_name, + uint64_t tracefile_count, uint64_t tracefile_count_current); #endif /* _INDEX_H */