X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Fust-fd.h;h=327a5f95086520d17576d61911c6c14885202d7a;hb=48a143c09cc97bf7a2ace811277e7d60b294b5f6;hp=7cbcf47c8ba0ebb0a4a41262535b85fcd3699d95;hpb=6548fca464f68be5ded73be6b9a479daf08e62d6;p=lttng-ust.git diff --git a/include/ust-fd.h b/include/ust-fd.h index 7cbcf47c..327a5f95 100644 --- a/include/ust-fd.h +++ b/include/ust-fd.h @@ -24,13 +24,17 @@ * 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); +int lttng_ust_add_fd_to_tracker(int fd); void lttng_ust_delete_fd_from_tracker(int fd); void lttng_ust_lock_fd_tracker(void); void lttng_ust_unlock_fd_tracker(void); +void lttng_ust_fd_tracker_register_thread(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 */