X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Fust-fd.h;h=85038231588d4a3207d265635f9dafa8256649b7;hb=d6fbc3fd938da93b77edd5033af0f2591eb8a806;hp=eb9c525cbe80af985b5b3d020b1c5ac15c16ea44;hpb=fca97dfd73a96bbf964c39e7f3a21fe70cccee96;p=lttng-ust.git diff --git a/src/common/ust-fd.h b/src/common/ust-fd.h index eb9c525c..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_fixup_fd_tracker_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 */