X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Fust-fd.h;h=032cac538412d620b379cd77bfcaf6f76ea06885;hb=52a20dc78a372394471e3394a8d335ef00cebad3;hp=7cbcf47c8ba0ebb0a4a41262535b85fcd3699d95;hpb=16adecf1f2e80025667ed53f4905e725894f076a;p=lttng-ust.git diff --git a/include/ust-fd.h b/include/ust-fd.h index 7cbcf47c..032cac53 100644 --- a/include/ust-fd.h +++ b/include/ust-fd.h @@ -24,6 +24,8 @@ * These declarations should NOT be considered stable API. */ +#include + void lttng_ust_init_fd_tracker(void); void lttng_ust_add_fd_to_tracker(int fd); void lttng_ust_delete_fd_from_tracker(int fd); @@ -31,6 +33,7 @@ void lttng_ust_lock_fd_tracker(void); 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)); #endif /* _LTTNG_UST_FD_H */