X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fust-fd.h;h=85038231588d4a3207d265635f9dafa8256649b7;hb=HEAD;hp=b6a078bf836b52b52ddf1dfb13c9a4f81fcb7778;hpb=a9fd951a21f28704ffdfd4217766f725a217208b;p=lttng-ust.git diff --git a/src/common/ust-fd.h b/src/common/ust-fd.h index b6a078bf..85038231 100644 --- a/src/common/ust-fd.h +++ b/src/common/ust-fd.h @@ -25,7 +25,7 @@ void lttng_ust_unlock_fd_tracker(void); int lttng_ust_safe_close_fd(int fd, int (*close_cb)(int)); int lttng_ust_safe_fclose_stream(FILE *stream, int (*fclose_cb)(FILE *stream)); int lttng_ust_safe_closefrom_fd(int lowfd, int (*close_cb)(int)); - -void lttng_ust_fd_tracker_alloc_tls(void); +int lttng_ust_safe_close_range_fd(unsigned int first, unsigned int last, int flags, + int (*close_range_cb)(unsigned int, unsigned int, int)); #endif /* _LTTNG_UST_FD_H */