diff options
Diffstat (limited to 'libbcachefs/thread_with_file.h')
-rw-r--r-- | libbcachefs/thread_with_file.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbcachefs/thread_with_file.h b/libbcachefs/thread_with_file.h index 1d63d14d..72497b92 100644 --- a/libbcachefs/thread_with_file.h +++ b/libbcachefs/thread_with_file.h @@ -71,7 +71,9 @@ int bch2_run_thread_with_stdio(struct thread_with_stdio *, int bch2_run_thread_with_stdout(struct thread_with_stdio *, const struct thread_with_stdio_ops *); int bch2_stdio_redirect_read(struct stdio_redirect *, char *, size_t); -int bch2_stdio_redirect_readline(struct stdio_redirect *, char *, size_t); + +int bch2_stdio_redirect_readline_timeout(struct stdio_redirect *, darray_char *, unsigned long); +int bch2_stdio_redirect_readline(struct stdio_redirect *, darray_char *); __printf(3, 0) ssize_t bch2_stdio_redirect_vprintf(struct stdio_redirect *, bool, const char *, va_list); __printf(3, 4) ssize_t bch2_stdio_redirect_printf(struct stdio_redirect *, bool, const char *, ...); |